arch/alpha/kernel/core_marvel.c
620
unsigned long function;
arch/alpha/kernel/core_marvel.c
631
register unsigned long __r16 __asm__("$16") = rtc_access->function;
arch/alpha/kernel/core_marvel.c
661
rtc_access.function = 0x48 + !write; /* GET/PUT_TOY */
arch/arm/include/asm/linkage.h
9
.type name, %function; \
arch/m68k/mac/macboing.c
254
mac_sound_timer.function = mac_quadra_ring_bell;
arch/mips/include/asm/asm.h
48
.type symbol, @function; \
arch/mips/include/asm/asm.h
61
.type symbol, @function; \
arch/mips/include/asm/asm.h
70
#define END(function) \
arch/mips/include/asm/asm.h
72
.end function; \
arch/mips/include/asm/asm.h
73
.size function, .-function
arch/mips/include/asm/asm.h
87
.type symbol, @function; \
arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_pci.h
19
extern void cs5536_pci_conf_write4(int function, int reg, u32 value);
arch/mips/include/asm/mach-loongson2ef/cs5536/cs5536_pci.h
20
extern u32 cs5536_pci_conf_read4(int function, int reg);
arch/mips/include/asm/octeon/cvmx-pow.h
1311
static inline void __cvmx_pow_warn_if_pending_switch(const char *function)
arch/mips/include/asm/octeon/cvmx-pow.h
1316
pr_warn("%s called with tag switch in progress\n", function);
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
55
void cs5536_pci_conf_write4(int function, int reg, u32 value)
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
57
if ((function <= CS5536_FUNC_START) || (function >= CS5536_FUNC_END))
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
62
if (vsm_conf_write[function] != NULL)
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
63
vsm_conf_write[function](reg, value);
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
69
u32 cs5536_pci_conf_read4(int function, int reg)
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
73
if ((function <= CS5536_FUNC_START) || (function >= CS5536_FUNC_END))
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
80
if (vsm_conf_read[function] != NULL)
arch/mips/loongson2ef/common/cs5536/cs5536_pci.c
81
data = vsm_conf_read[function](reg);
arch/mips/pci/ops-bonito64.c
34
int function = PCI_FUNC(devfn);
arch/mips/pci/ops-bonito64.c
42
addr = (1 << (device + ID_SEL_BEGIN)) | (function << 8) | reg;
arch/mips/pci/ops-bonito64.c
46
addr = (busnum << 16) | (device << 11) | (function << 8) | reg;
arch/mips/pci/ops-loongson2.c
42
int function = PCI_FUNC(devfn);
arch/mips/pci/ops-loongson2.c
60
*data = cs5536_pci_conf_read4(function, reg);
arch/mips/pci/ops-loongson2.c
63
cs5536_pci_conf_write4(function, reg, *data);
arch/mips/pci/ops-loongson2.c
73
addr = (1 << (device + ID_SEL_BEGIN)) | (function << 8) | reg;
arch/mips/pci/ops-loongson2.c
77
addr = (busnum << 16) | (device << 11) | (function << 8) | reg;
arch/mips/pci/pci-alchemy.c
104
unsigned int function = PCI_FUNC(dev_fn);
arch/mips/pci/pci-alchemy.c
135
offset = (function << 8) | (where & ~0x3);
arch/mips/pic32/pic32mzda/early_pin.c
123
void pic32_pps_input(int function, int pin)
arch/mips/pic32/pic32mzda/early_pin.c
129
if (input_pin_reg[i].function == function) {
arch/mips/pic32/pic32mzda/early_pin.c
253
void pic32_pps_output(int function, int pin)
arch/mips/pic32/pic32mzda/early_pin.c
260
__raw_writel(function,
arch/mips/pic32/pic32mzda/early_pin.c
67
int function;
arch/mips/pic32/pic32mzda/early_pin.h
230
void pic32_pps_input(int function, int pin);
arch/mips/pic32/pic32mzda/early_pin.h
231
void pic32_pps_output(int function, int pin);
arch/parisc/kernel/firmware.c
101
long real64_call(unsigned long function, ...);
arch/parisc/kernel/firmware.c
103
long real32_call(unsigned long function, ...);
arch/powerpc/include/asm/ppc-pci.h
57
int eeh_pci_enable(struct eeh_pe *pe, int function);
arch/powerpc/include/asm/ppc_asm.h
217
.type name,@function; \
arch/powerpc/include/asm/ppc_asm.h
226
.type name,@function; \
arch/powerpc/include/asm/ppc_asm.h
251
.type GLUE(.,name),@function; \
arch/powerpc/include/asm/vdso.h
29
.type name,@function; \
arch/powerpc/include/asm/vdso.h
42
.type name,@function; \
arch/powerpc/kernel/eeh.c
615
int eeh_pci_enable(struct eeh_pe *pe, int function)
arch/powerpc/kernel/eeh.c
624
switch (function) {
arch/powerpc/kernel/eeh.c
638
__func__, function);
arch/powerpc/kernel/eeh.c
662
rc = eeh_ops->set_option(pe, function);
arch/powerpc/kernel/eeh.c
666
__func__, function, pe->phb->global_number,
arch/powerpc/platforms/powermac/feature.c
120
feature_call function;
arch/powerpc/platforms/powermac/feature.c
2375
for (i=0; pmac_mb.features[i].function; i++)
arch/powerpc/platforms/powermac/feature.c
2377
func = pmac_mb.features[i].function;
arch/powerpc/platforms/powermac/feature.c
2381
for (i=0; any_features[i].function; i++)
arch/powerpc/platforms/powermac/feature.c
2383
func = any_features[i].function;
arch/s390/appldata/appldata.h
46
extern int appldata_diag(char record_nr, u16 function, unsigned long buffer,
arch/s390/appldata/appldata_base.c
136
int appldata_diag(char record_nr, u16 function, unsigned long buffer,
arch/s390/appldata/appldata_base.c
149
rc = appldata_asm(parm_list, id, function,
arch/s390/appldata/appldata_base.c
404
appldata_timer.function = appldata_timer_function;
arch/s390/include/asm/appldata.h
25
u8 function;
arch/s390/include/asm/appldata.h
55
parm_list->function = fn;
arch/s390/include/asm/nospec-insn.h
25
.type \name,@function
arch/s390/include/asm/pci.h
109
struct zpci_dev *function[ZPCI_FUNCTIONS_PER_BUS];
arch/s390/include/asm/pci.h
296
return zbus->function[pdev->devfn];
arch/s390/include/asm/vtimer.h
18
void (*function)(unsigned long);
arch/s390/kernel/vtime.c
289
timer->function(timer->data);
arch/s390/kernel/vtime.c
303
timer->function = NULL;
arch/s390/kernel/vtime.c
365
BUG_ON(!timer->function);
arch/s390/kvm/kvm-s390.c
337
unsigned long function = (unsigned long)nr | 0x100;
arch/s390/kvm/kvm-s390.c
346
: [function] "d" (function)
arch/s390/pci/pci_bus.c
140
zdev = zbus->function[devfn];
arch/s390/pci/pci_bus.c
389
if (zbus->function[zdev->devfn]) {
arch/s390/pci/pci_bus.c
394
zbus->function[zdev->devfn] = zdev;
arch/s390/pci/pci_bus.c
405
zbus->function[zdev->devfn] = NULL;
arch/s390/pci/pci_bus.c
481
zbus->function[zdev->devfn] = NULL;
arch/s390/pci/pci_bus.h
54
return (devfn >= ZPCI_FUNCTIONS_PER_BUS) ? NULL : zbus->function[devfn];
arch/s390/pci/pci_iov.c
98
zdev = zbus->function[i];
arch/x86/hyperv/irqdomain.c
134
dev_id.pci.bdf.function = PCI_FUNC(data.rid);
arch/x86/include/asm/cpuid/api.h
167
static __always_inline bool cpuid_function_is_indexed(u32 function)
arch/x86/include/asm/cpuid/api.h
169
switch (function) {
arch/x86/include/asm/cpuid/api.h
191
#define for_each_possible_cpuid_base_hypervisor(function) \
arch/x86/include/asm/cpuid/api.h
192
for (function = 0x40000000; function < 0x40010000; function += 0x100)
arch/x86/include/asm/idtentry.h
462
void idt_install_sysvec(unsigned int n, const void *function);
arch/x86/include/asm/idtentry.h
463
void fred_install_sysvec(unsigned int vector, const idtentry_t function);
arch/x86/include/asm/idtentry.h
465
#define sysvec_install(vector, function) { \
arch/x86/include/asm/idtentry.h
467
fred_install_sysvec(vector, function); \
arch/x86/include/asm/idtentry.h
469
idt_install_sysvec(vector, asm_##function); \
arch/x86/include/asm/setup_data.h
17
unsigned long function;
arch/x86/include/asm/uv/bios.h
119
u64 (__efiapi *function)(enum uv_bios_cmd, ...);
arch/x86/include/uapi/asm/kvm.h
236
__u32 function;
arch/x86/include/uapi/asm/kvm.h
252
__u32 function;
arch/x86/include/uapi/asm/sgx.h
184
__u32 function;
arch/x86/include/uapi/asm/sgx.h
234
unsigned long rdx, unsigned int function,
arch/x86/kernel/hpet.c
143
static void _hpet_print_config(const char *function, int line)
arch/x86/kernel/hpet.c
147
pr_info("%s(%d):\n", function, line);
arch/x86/kernel/idt.c
346
void __init idt_install_sysvec(unsigned int n, const void *function)
arch/x86/kernel/idt.c
355
set_intr_gate(n, function);
arch/x86/kvm/cpuid.c
108
if (e->function != function)
arch/x86/kvm/cpuid.c
130
WARN_ON_ONCE(cpuid_function_is_indexed(function));
arch/x86/kvm/cpuid.c
1328
u32 function, u32 index)
arch/x86/kvm/cpuid.c
1336
entry->function = function;
arch/x86/kvm/cpuid.c
1338
switch (function & 0xC0000000) {
arch/x86/kvm/cpuid.c
1352
if (function > READ_ONCE(max_cpuid_80000000))
arch/x86/kvm/cpuid.c
1361
cpuid_count(entry->function, entry->index,
arch/x86/kvm/cpuid.c
1364
if (cpuid_function_is_indexed(function))
arch/x86/kvm/cpuid.c
1375
entry->function = func;
arch/x86/kvm/cpuid.c
1416
static inline int __do_cpuid_func(struct kvm_cpuid_array *array, u32 function)
arch/x86/kvm/cpuid.c
1426
entry = do_host_cpuid(array, function, 0);
arch/x86/kvm/cpuid.c
1430
switch (function) {
arch/x86/kvm/cpuid.c
1465
entry = do_host_cpuid(array, function, i);
arch/x86/kvm/cpuid.c
1485
entry = do_host_cpuid(array, function, 1);
arch/x86/kvm/cpuid.c
1495
entry = do_host_cpuid(array, function, 2);
arch/x86/kvm/cpuid.c
1549
entry = do_host_cpuid(array, function, 1);
arch/x86/kvm/cpuid.c
1573
entry = do_host_cpuid(array, function, i);
arch/x86/kvm/cpuid.c
1612
entry = do_host_cpuid(array, function, 1);
arch/x86/kvm/cpuid.c
1634
if (!do_host_cpuid(array, function, i))
arch/x86/kvm/cpuid.c
1646
if (!do_host_cpuid(array, function, i))
arch/x86/kvm/cpuid.c
1660
entry = do_host_cpuid(array, function, 1);
arch/x86/kvm/cpuid.c
1693
entry = do_host_cpuid(array, function, 1);
arch/x86/kvm/cpuid.c
196
if (e2[i].function != orig->function ||
arch/x86/kvm/cpuid.c
2051
u32 function = *fn_ptr;
arch/x86/kvm/cpuid.c
2061
if (function >= 0x40000000 && function <= 0x4fffffff)
arch/x86/kvm/cpuid.c
2062
class = kvm_find_cpuid_entry(vcpu, function & 0xffffff00);
arch/x86/kvm/cpuid.c
2063
else if (function >= 0xc0000000)
arch/x86/kvm/cpuid.c
2066
class = kvm_find_cpuid_entry(vcpu, function & 0x80000000);
arch/x86/kvm/cpuid.c
2068
if (class && function <= class->eax)
arch/x86/kvm/cpuid.c
2090
u32 orig_function = *eax, function = *eax, index = *ecx;
arch/x86/kvm/cpuid.c
2097
entry = kvm_find_cpuid_entry_index(vcpu, function, index);
arch/x86/kvm/cpuid.c
2101
entry = get_out_of_range_cpuid_entry(vcpu, &function, index);
arch/x86/kvm/cpuid.c
2110
if (function == 7 && index == 0) {
arch/x86/kvm/cpuid.c
2116
} else if (function == 0x80000007) {
arch/x86/kvm/cpuid.c
2120
kvm_xen_is_tsc_leaf(vcpu, function)) {
arch/x86/kvm/cpuid.c
2145
if (function == 0xb || function == 0x1f) {
arch/x86/kvm/cpuid.c
2146
entry = kvm_find_cpuid_entry_index(vcpu, function, 1);
arch/x86/kvm/cpuid.c
395
if (!cpuid.function)
arch/x86/kvm/cpuid.c
398
entry = kvm_find_cpuid_entry_index(vcpu, cpuid.function, cpuid.index);
arch/x86/kvm/cpuid.c
402
cpuid_func_emulated(&emulated, cpuid.function, true);
arch/x86/kvm/cpuid.c
612
e2[i].function = e[i].function;
arch/x86/kvm/cpuid.c
685
base = cpuid.function & 0xffff0000;
arch/x86/kvm/cpuid.c
689
if (cpuid_eax(base) < cpuid.function)
arch/x86/kvm/cpuid.c
692
cpuid_count(cpuid.function, cpuid.index,
arch/x86/kvm/cpuid.c
88
struct kvm_cpuid_entry2 *entries, int nent, u32 function, u64 index)
arch/x86/kvm/cpuid.h
125
entry = kvm_find_cpuid_entry_index(vcpu, cpuid.function, cpuid.index);
arch/x86/kvm/cpuid.h
23
int nent, u32 function, u64 index);
arch/x86/kvm/cpuid.h
37
u32 function, u32 index)
arch/x86/kvm/cpuid.h
40
function, index);
arch/x86/kvm/cpuid.h
44
u32 function)
arch/x86/kvm/cpuid.h
47
function, KVM_CPUID_INDEX_NOT_SIGNIFICANT);
arch/x86/kvm/hyperv.c
2774
{ .function = HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS },
arch/x86/kvm/hyperv.c
2775
{ .function = HYPERV_CPUID_INTERFACE },
arch/x86/kvm/hyperv.c
2776
{ .function = HYPERV_CPUID_VERSION },
arch/x86/kvm/hyperv.c
2777
{ .function = HYPERV_CPUID_FEATURES },
arch/x86/kvm/hyperv.c
2778
{ .function = HYPERV_CPUID_ENLIGHTMENT_INFO },
arch/x86/kvm/hyperv.c
2779
{ .function = HYPERV_CPUID_IMPLEMENT_LIMITS },
arch/x86/kvm/hyperv.c
2780
{ .function = HYPERV_CPUID_SYNDBG_VENDOR_AND_MAX_FUNCTIONS },
arch/x86/kvm/hyperv.c
2781
{ .function = HYPERV_CPUID_SYNDBG_INTERFACE },
arch/x86/kvm/hyperv.c
2782
{ .function = HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES },
arch/x86/kvm/hyperv.c
2783
{ .function = HYPERV_CPUID_NESTED_FEATURES },
arch/x86/kvm/hyperv.c
2800
switch (ent->function) {
arch/x86/kvm/reverse_cpuid.h
131
BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0);
arch/x86/kvm/reverse_cpuid.h
80
u32 function;
arch/x86/kvm/svm/pmu.c
191
BUILD_BUG_ON(x86_feature_cpuid(X86_FEATURE_PERFMON_V2).function != 0x80000022 ||
arch/x86/kvm/trace.h
229
TP_PROTO(unsigned int function, unsigned int index, unsigned long rax,
arch/x86/kvm/trace.h
232
TP_ARGS(function, index, rax, rbx, rcx, rdx, found, used_max_basic),
arch/x86/kvm/trace.h
235
__field( unsigned int, function )
arch/x86/kvm/trace.h
246
__entry->function = function;
arch/x86/kvm/trace.h
257
__entry->function, __entry->index, __entry->rax,
arch/x86/kvm/vmx/nested.c
6172
u32 function = kvm_rax_read(vcpu);
arch/x86/kvm/vmx/nested.c
6189
if (WARN_ON_ONCE((function > 63) || !nested_cpu_has_vmfunc(vmcs12))) {
arch/x86/kvm/vmx/nested.c
6194
if (!(vmcs12->vm_function_control & BIT_ULL(function)))
arch/x86/kvm/vmx/nested.c
6197
switch (function) {
arch/x86/kvm/vmx/tdx.c
128
return entry->function == 7 && entry->index == 0 &&
arch/x86/kvm/vmx/tdx.c
139
return entry->function == 7 && entry->index == 0 &&
arch/x86/kvm/vmx/tdx.c
168
entry->function = (u32)td_conf->cpuid_config_leaves[idx];
arch/x86/kvm/vmx/tdx.c
183
if (entry->function == 0x80000008)
arch/x86/kvm/vmx/tdx.c
2299
tmp.function, tmp.index);
arch/x86/kvm/vmx/tdx.c
2318
if (tmp.function == 0x80000008)
arch/x86/kvm/vmx/tdx.c
2638
out->function = leaf;
arch/x86/kvm/xen.h
181
static inline bool kvm_xen_is_tsc_leaf(struct kvm_vcpu *vcpu, u32 function)
arch/x86/kvm/xen.h
53
static inline bool kvm_xen_is_tsc_leaf(struct kvm_vcpu *vcpu, u32 function)
arch/x86/kvm/xen.h
57
function <= vcpu->arch.xen.cpuid.limit &&
arch/x86/kvm/xen.h
58
function == (vcpu->arch.xen.cpuid.base | XEN_CPUID_LEAF(3));
arch/x86/pci/common.c
662
(PCI_FUNC(dev->devfn) == rom->function) &&
arch/x86/platform/uv/bios_uv.c
29
if (!tab || !tab->function)
arch/x86/platform/uv/bios_uv.c
35
ret = efi_call_virt_pointer(tab, function, (u64)which, a1, a2, a3, a4, a5);
block/partitions/ldm.c
41
void _ldm_printk(const char *level, const char *function, const char *fmt, ...)
block/partitions/ldm.c
51
printk("%s%s(): %pV\n", level, function, &vaf);
drivers/acpi/acpi_dbg.c
385
acpi_osd_exec_callback function = NULL;
drivers/acpi/acpi_dbg.c
389
if (acpi_aml_io.function) {
drivers/acpi/acpi_dbg.c
391
function = acpi_aml_io.function;
drivers/acpi/acpi_dbg.c
396
if (function)
drivers/acpi/acpi_dbg.c
397
function(context);
drivers/acpi/acpi_dbg.c
418
static int acpi_aml_create_thread(acpi_osd_exec_callback function, void *context)
drivers/acpi/acpi_dbg.c
423
acpi_aml_io.function = function;
drivers/acpi/acpi_dbg.c
57
acpi_osd_exec_callback function;
drivers/acpi/acpi_extlog.c
156
pcie_err->device_id.function);
drivers/acpi/acpi_ffh.c
27
acpi_ffh_address_space_setup(acpi_handle region_handle, u32 function,
drivers/acpi/acpi_ffh.c
35
acpi_ffh_address_space_handler(u32 function, acpi_physical_address addr,
drivers/acpi/acpi_ipmi.c
524
acpi_ipmi_space_handler(u32 function, acpi_physical_address address,
drivers/acpi/acpi_ipmi.c
540
if ((function & ACPI_IO_MASK) == ACPI_READ)
drivers/acpi/acpi_pcc.c
49
acpi_pcc_address_space_setup(acpi_handle region_handle, u32 function,
drivers/acpi/acpi_pcc.c
96
acpi_pcc_address_space_handler(u32 function, acpi_physical_address addr,
drivers/acpi/acpica/acevents.h
178
u32 function,
drivers/acpi/acpica/acevents.h
192
acpi_adr_space_type space_id, u32 function);
drivers/acpi/acpica/acevents.h
195
acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function);
drivers/acpi/acpica/acevents.h
202
u32 function,
drivers/acpi/acpica/acevents.h
208
u32 function,
drivers/acpi/acpica/acevents.h
213
u32 function,
drivers/acpi/acpica/acevents.h
218
u32 function,
drivers/acpi/acpica/acevents.h
223
u32 function,
drivers/acpi/acpica/acevents.h
228
u32 function,
drivers/acpi/acpica/acevents.h
233
u32 function,
drivers/acpi/acpica/acinterp.h
489
acpi_ex_system_memory_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
497
acpi_ex_system_io_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
504
acpi_ex_pci_config_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
511
acpi_ex_cmos_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
518
acpi_ex_pci_bar_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
525
acpi_ex_embedded_controller_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
533
acpi_ex_sm_bus_space_handler(u32 function,
drivers/acpi/acpica/acinterp.h
540
acpi_ex_data_table_space_handler(u32 function,
drivers/acpi/acpica/aclocal.h
398
u32 function;
drivers/acpi/acpica/evregion.c
106
u32 function,
drivers/acpi/acpica/evregion.c
295
status = handler(function, address, bit_width, value, context,
drivers/acpi/acpica/evregion.c
557
acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
drivers/acpi/acpica/evregion.c
603
if ((function == ACPI_REG_CONNECT &&
drivers/acpi/acpica/evregion.c
605
(function == ACPI_REG_DISCONNECT &&
drivers/acpi/acpica/evregion.c
639
args[1] = acpi_ut_create_integer_object((u64)function);
drivers/acpi/acpica/evregion.c
659
if (function == ACPI_REG_CONNECT) {
drivers/acpi/acpica/evregion.c
691
acpi_adr_space_type space_id, u32 function)
drivers/acpi/acpica/evregion.c
711
info.function = function;
drivers/acpi/acpica/evregion.c
800
status = acpi_ev_execute_reg_method(obj_desc, info->function);
drivers/acpi/acpica/evrgnini.c
104
if (function == ACPI_REGION_DEACTIVATE) {
drivers/acpi/acpica/evrgnini.c
132
u32 function,
drivers/acpi/acpica/evrgnini.c
160
if (function == ACPI_REGION_DEACTIVATE) {
drivers/acpi/acpica/evrgnini.c
267
pci_id->function = ACPI_LOWORD(ACPI_LODWORD(pci_value));
drivers/acpi/acpica/evrgnini.c
35
u32 function,
drivers/acpi/acpica/evrgnini.c
374
u32 function,
drivers/acpi/acpica/evrgnini.c
401
u32 function,
drivers/acpi/acpica/evrgnini.c
428
u32 function,
drivers/acpi/acpica/evrgnini.c
437
if (function == ACPI_REGION_DEACTIVATE) {
drivers/acpi/acpica/evrgnini.c
45
if (function == ACPI_REGION_DEACTIVATE) {
drivers/acpi/acpica/evrgnini.c
478
u32 function,
drivers/acpi/acpica/evrgnini.c
483
if (function == ACPI_REGION_DEACTIVATE) {
drivers/acpi/acpica/evrgnini.c
99
u32 function,
drivers/acpi/acpica/exfldio.c
199
u32 field_datum_byte_offset, u64 *value, u32 function)
drivers/acpi/acpica/exfldio.c
227
if ((function & ACPI_IO_MASK) == ACPI_READ) {
drivers/acpi/acpica/exfldio.c
247
function, region_offset,
drivers/acpi/acpica/exregion.c
181
bit_width, function, ACPI_FORMAT_UINT64(address)));
drivers/acpi/acpica/exregion.c
191
switch (function) {
drivers/acpi/acpica/exregion.c
283
acpi_ex_system_io_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
296
bit_width, function, ACPI_FORMAT_UINT64(address)));
drivers/acpi/acpica/exregion.c
300
switch (function) {
drivers/acpi/acpica/exregion.c
343
acpi_ex_pci_config_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
35
acpi_ex_system_memory_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
373
function, bit_width, pci_id->segment, pci_id->bus,
drivers/acpi/acpica/exregion.c
374
pci_id->device, pci_id->function, pci_register));
drivers/acpi/acpica/exregion.c
376
switch (function) {
drivers/acpi/acpica/exregion.c
421
acpi_ex_cmos_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
454
acpi_ex_pci_bar_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
487
acpi_ex_data_table_space_handler(u32 function,
drivers/acpi/acpica/exregion.c
506
switch (function) {
drivers/acpi/acpica/exserial.c
141
u32 function;
drivers/acpi/acpica/exserial.c
162
function = ACPI_READ | (obj_desc->field.attribute << 16);
drivers/acpi/acpica/exserial.c
168
function = ACPI_READ;
drivers/acpi/acpica/exserial.c
195
function = ACPI_READ | (accessor_type << 16);
drivers/acpi/acpica/exserial.c
201
function = ACPI_READ;
drivers/acpi/acpica/exserial.c
207
function = ACPI_READ;
drivers/acpi/acpica/exserial.c
230
pointer), function);
drivers/acpi/acpica/exserial.c
262
u32 function;
drivers/acpi/acpica/exserial.c
297
function = ACPI_WRITE | (obj_desc->field.attribute << 16);
drivers/acpi/acpica/exserial.c
303
function = ACPI_WRITE;
drivers/acpi/acpica/exserial.c
323
function = ACPI_WRITE | (accessor_type << 16);
drivers/acpi/acpica/exserial.c
329
function = ACPI_WRITE;
drivers/acpi/acpica/exserial.c
335
function = ACPI_WRITE;
drivers/acpi/acpica/exserial.c
363
status = acpi_ex_access_region(obj_desc, 0, (u64 *)buffer, function);
drivers/acpi/acpica/hwpci.c
218
pci_id->function));
drivers/acpi/acpica/hwpci.c
244
pci_id->function, status, bus_number, is_bridge));
drivers/acpi/acpica/hwpci.c
329
pci_id->function = ACPI_LOWORD(ACPI_LODWORD(return_value));
drivers/acpi/acpica/utxface.c
204
acpi_install_initialization_handler(acpi_init_handler handler, u32 function)
drivers/acpi/apei/ghes.c
652
pcie_err->device_id.function);
drivers/acpi/ec.c
1343
acpi_ec_space_handler(u32 function, acpi_physical_address address,
drivers/acpi/ec.c
1355
if (function != ACPI_READ && function != ACPI_WRITE)
drivers/acpi/ec.c
1374
result = (function == ACPI_READ) ?
drivers/acpi/osl.c
1099
acpi_osd_exec_callback function, void *context)
drivers/acpi/osl.c
1106
function, context));
drivers/acpi/osl.c
1109
ret = acpi_debugger_create_thread(function, context);
drivers/acpi/osl.c
1130
dpc->function = function;
drivers/acpi/osl.c
1388
acpi_status acpi_os_signal(u32 function, void *info)
drivers/acpi/osl.c
1392
switch (function) {
drivers/acpi/osl.c
48
acpi_osd_exec_callback function;
drivers/acpi/osl.c
846
PCI_DEVFN(pci_id->device, pci_id->function),
drivers/acpi/osl.c
874
PCI_DEVFN(pci_id->device, pci_id->function),
drivers/acpi/osl.c
885
dpc->function(dpc->context);
drivers/acpi/osl.c
924
int acpi_debugger_create_thread(acpi_osd_exec_callback function, void *context)
drivers/acpi/osl.c
945
ret = func(function, context);
drivers/acpi/pmic/intel_pmic.c
107
u32 function, u64 *value)
drivers/acpi/pmic/intel_pmic.c
109
return function == ACPI_READ ?
drivers/acpi/pmic/intel_pmic.c
114
u32 function, u64 *value)
drivers/acpi/pmic/intel_pmic.c
118
if (function == ACPI_READ)
drivers/acpi/pmic/intel_pmic.c
136
int bit, u32 function, u64 *value)
drivers/acpi/pmic/intel_pmic.c
144
if (function == ACPI_READ)
drivers/acpi/pmic/intel_pmic.c
169
static acpi_status intel_pmic_thermal_handler(u32 function,
drivers/acpi/pmic/intel_pmic.c
188
result = pmic_thermal_temp(opregion, reg, function, value64);
drivers/acpi/pmic/intel_pmic.c
190
result = pmic_thermal_aux(opregion, reg, function, value64);
drivers/acpi/pmic/intel_pmic.c
193
function, value64);
drivers/acpi/pmic/intel_pmic.c
209
static acpi_status intel_pmic_regs_handler(u32 function,
drivers/acpi/pmic/intel_pmic.c
216
if (function == ACPI_WRITE) {
drivers/acpi/pmic/intel_pmic.c
241
if (function == ACPI_READ && address == 3) {
drivers/acpi/pmic/intel_pmic.c
50
static acpi_status intel_pmic_power_handler(u32 function,
drivers/acpi/pmic/intel_pmic.c
62
if (function == ACPI_WRITE && !(*value64 == 0 || *value64 == 1))
drivers/acpi/pmic/intel_pmic.c
72
result = function == ACPI_READ ?
drivers/acpi/pmic/intel_pmic_xpower.c
331
static acpi_status intel_xpower_pmic_gpio_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
271
static acpi_status tps68470_pmic_common_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
293
if (function == ACPI_WRITE && *value > bitmask)
drivers/acpi/pmic/tps68470_pmic.c
298
ret = (function == ACPI_READ) ?
drivers/acpi/pmic/tps68470_pmic.c
307
static acpi_status tps68470_pmic_cfreq_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
313
return tps68470_pmic_common_handler(function, address, bits, value,
drivers/acpi/pmic/tps68470_pmic.c
321
static acpi_status tps68470_pmic_clk_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
326
return tps68470_pmic_common_handler(function, address, bits, value,
drivers/acpi/pmic/tps68470_pmic.c
334
static acpi_status tps68470_pmic_vrval_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
340
return tps68470_pmic_common_handler(function, address, bits, value,
drivers/acpi/pmic/tps68470_pmic.c
348
static acpi_status tps68470_pmic_pwr_handler(u32 function,
drivers/acpi/pmic/tps68470_pmic.c
358
if (function == ACPI_WRITE &&
drivers/acpi/pmic/tps68470_pmic.c
363
return tps68470_pmic_common_handler(function, address, bits, value,
drivers/acpi/prmt.c
302
static acpi_status acpi_platformrt_space_handler(u32 function,
drivers/acpi/utils.c
740
acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function)
drivers/acpi/utils.c
748
params[1].integer.value = function;
drivers/acpi/x86/cmos_rtc.c
27
static acpi_status acpi_cmos_rtc_space_handler(u32 function,
drivers/acpi/x86/cmos_rtc.c
41
if (function == ACPI_WRITE) {
drivers/acpi/x86/cmos_rtc.c
48
if (function == ACPI_READ) {
drivers/auxdisplay/panel.c
1358
if (scan_timer.function)
drivers/auxdisplay/panel.c
1656
if (scan_timer.function)
drivers/auxdisplay/panel.c
1677
if (scan_timer.function)
drivers/base/power/main.c
2295
void __suspend_report_result(const char *function, struct device *dev, void *fn, int ret)
drivers/base/power/main.c
2298
dev_err(dev, "%s(): %ps returns %d\n", function, fn, ret);
drivers/base/power/wakeup.c
515
return ws->timer.function != pm_wakeup_timer_fn;
drivers/block/aoe/aoecmd.c
1415
d->timer.function = rexmit_timer;
drivers/block/drbd/drbd_int.h
167
int (*function) (struct drbd_thread *);
drivers/block/drbd/drbd_main.c
314
retval = thi->function(thi);
drivers/block/drbd/drbd_main.c
358
thi->function = func;
drivers/block/floppy.c
1047
void (*function)(void))
drivers/block/floppy.c
1058
fd_timer_fn = function;
drivers/block/floppy.c
1487
void (*function)(void);
drivers/block/floppy.c
1501
function = floppy_start;
drivers/block/floppy.c
1503
function = setup_rw_floppy;
drivers/block/floppy.c
1506
if (fd_wait_for_completion(ready_date, function))
drivers/block/floppy.c
1897
static int start_motor(void (*function)(void))
drivers/block/floppy.c
1922
function);
drivers/block/swim3.c
367
fs->timeout.function = proc;
drivers/bus/vexpress-config.c
295
u32 function, device;
drivers/bus/vexpress-config.c
297
function = be32_to_cpup(val++);
drivers/bus/vexpress-config.c
302
function, device);
drivers/bus/vexpress-config.c
307
func->template[i] |= SYS_CFGCTRL_FUNC(function);
drivers/counter/104-quad-8.c
324
enum counter_function *const function)
drivers/counter/104-quad-8.c
328
*function = COUNTER_FUNCTION_PULSE_DIRECTION;
drivers/counter/104-quad-8.c
331
*function = COUNTER_FUNCTION_QUADRATURE_X1_A;
drivers/counter/104-quad-8.c
334
*function = COUNTER_FUNCTION_QUADRATURE_X2_A;
drivers/counter/104-quad-8.c
337
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/104-quad-8.c
347
enum counter_function *function)
drivers/counter/104-quad-8.c
355
retval = quad8_function_get(priv, count->id, function);
drivers/counter/104-quad-8.c
364
enum counter_function function)
drivers/counter/104-quad-8.c
373
switch (function) {
drivers/counter/104-quad-8.c
447
enum counter_function function;
drivers/counter/104-quad-8.c
464
err = quad8_function_get(priv, count->id, &function);
drivers/counter/104-quad-8.c
478
switch (function) {
drivers/counter/ftm-quaddec.c
192
enum counter_function *function)
drivers/counter/ftm-quaddec.c
194
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/i8254.c
86
enum counter_function *const function)
drivers/counter/i8254.c
88
*function = COUNTER_FUNCTION_DECREASE;
drivers/counter/intel-qep.c
126
enum counter_function *function)
drivers/counter/intel-qep.c
128
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/interrupt-cnt.c
123
enum counter_function *function)
drivers/counter/interrupt-cnt.c
125
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/microchip-tcb-capture.c
101
switch (function) {
drivers/counter/microchip-tcb-capture.c
76
enum counter_function *function)
drivers/counter/microchip-tcb-capture.c
81
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/microchip-tcb-capture.c
83
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/microchip-tcb-capture.c
90
enum counter_function function)
drivers/counter/rz-mtu3-cnt.c
203
enum counter_function *function)
drivers/counter/rz-mtu3-cnt.c
213
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/rz-mtu3-cnt.c
216
*function = COUNTER_FUNCTION_PULSE_DIRECTION;
drivers/counter/rz-mtu3-cnt.c
219
*function = COUNTER_FUNCTION_QUADRATURE_X2_B;
drivers/counter/rz-mtu3-cnt.c
233
enum counter_function *function)
drivers/counter/rz-mtu3-cnt.c
243
ret = rz_mtu3_count_function_read_helper(ch, counter, function);
drivers/counter/rz-mtu3-cnt.c
251
enum counter_function function)
drivers/counter/rz-mtu3-cnt.c
262
switch (function) {
drivers/counter/rz-mtu3-cnt.c
637
enum counter_function function;
drivers/counter/rz-mtu3-cnt.c
646
ret = rz_mtu3_count_function_read_helper(ch, counter, &function);
drivers/counter/rz-mtu3-cnt.c
665
switch (function) {
drivers/counter/stm32-lptimer-cnt.c
164
enum counter_function *function)
drivers/counter/stm32-lptimer-cnt.c
169
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/stm32-lptimer-cnt.c
174
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/stm32-lptimer-cnt.c
183
enum counter_function function)
drivers/counter/stm32-lptimer-cnt.c
190
switch (function) {
drivers/counter/stm32-lptimer-cnt.c
286
enum counter_function function;
drivers/counter/stm32-lptimer-cnt.c
289
err = stm32_lptim_cnt_function_read(counter, count, &function);
drivers/counter/stm32-lptimer-cnt.c
293
switch (function) {
drivers/counter/stm32-lptimer-cnt.c
330
enum counter_function function;
drivers/counter/stm32-lptimer-cnt.c
336
err = stm32_lptim_cnt_function_read(counter, count, &function);
drivers/counter/stm32-lptimer-cnt.c
341
if (function != COUNTER_FUNCTION_INCREASE
drivers/counter/stm32-timer-cnt.c
101
*function = COUNTER_FUNCTION_QUADRATURE_X2_B;
drivers/counter/stm32-timer-cnt.c
104
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/stm32-timer-cnt.c
113
enum counter_function function)
drivers/counter/stm32-timer-cnt.c
118
switch (function) {
drivers/counter/stm32-timer-cnt.c
358
enum counter_function function;
drivers/counter/stm32-timer-cnt.c
361
err = stm32_count_function_read(counter, count, &function);
drivers/counter/stm32-timer-cnt.c
365
switch (function) {
drivers/counter/stm32-timer-cnt.c
86
enum counter_function *function)
drivers/counter/stm32-timer-cnt.c
95
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/stm32-timer-cnt.c
98
*function = COUNTER_FUNCTION_QUADRATURE_X2_A;
drivers/counter/ti-ecap-capture.c
191
enum counter_function *function)
drivers/counter/ti-ecap-capture.c
193
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/ti-eqep.c
165
enum counter_function *function)
drivers/counter/ti-eqep.c
174
*function = COUNTER_FUNCTION_QUADRATURE_X4;
drivers/counter/ti-eqep.c
177
*function = COUNTER_FUNCTION_PULSE_DIRECTION;
drivers/counter/ti-eqep.c
180
*function = COUNTER_FUNCTION_INCREASE;
drivers/counter/ti-eqep.c
183
*function = COUNTER_FUNCTION_DECREASE;
drivers/counter/ti-eqep.c
192
enum counter_function function)
drivers/counter/ti-eqep.c
197
switch (function) {
drivers/counter/ti-eqep.c
225
enum counter_function function;
drivers/counter/ti-eqep.c
229
err = ti_eqep_function_read(counter, count, &function);
drivers/counter/ti-eqep.c
233
switch (function) {
drivers/cpufreq/speedstep-smi.c
104
u32 function = GET_SPEEDSTEP_FREQS;
drivers/cpufreq/speedstep-smi.c
125
"b" (function),
drivers/cpufreq/speedstep-smi.c
152
unsigned int function = SET_SPEEDSTEP_STATE;
drivers/cpufreq/speedstep-smi.c
192
: "a" (command), "b" (function), "c" (state),
drivers/cpufreq/speedstep-smi.c
65
u32 function = GET_SPEEDSTEP_OWNER;
drivers/cpufreq/speedstep-smi.c
81
: "a" (command), "b" (function), "c" (0), "d" (smi_port),
drivers/crypto/ccp/ccp-dev-v3.c
301
| (op->u.ecc.function << REQ1_ECC_FUNCTION_SHIFT)
drivers/crypto/ccp/ccp-dev-v5.c
161
#define CCP5_CMD_FUNCTION(p) (CCP5_CMD_DW0(p).function)
drivers/crypto/ccp/ccp-dev-v5.c
280
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
296
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
297
CCP_AES_ENCRYPT(&function) = op->u.aes.action;
drivers/crypto/ccp/ccp-dev-v5.c
298
CCP_AES_MODE(&function) = op->u.aes.mode;
drivers/crypto/ccp/ccp-dev-v5.c
299
CCP_AES_TYPE(&function) = op->u.aes.type;
drivers/crypto/ccp/ccp-dev-v5.c
300
CCP_AES_SIZE(&function) = op->u.aes.size;
drivers/crypto/ccp/ccp-dev-v5.c
302
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
325
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
341
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
342
CCP_XTS_TYPE(&function) = op->u.xts.type;
drivers/crypto/ccp/ccp-dev-v5.c
343
CCP_XTS_ENCRYPT(&function) = op->u.xts.action;
drivers/crypto/ccp/ccp-dev-v5.c
344
CCP_XTS_SIZE(&function) = op->u.xts.unit_size;
drivers/crypto/ccp/ccp-dev-v5.c
345
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
368
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
383
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
384
CCP_SHA_TYPE(&function) = op->u.sha.type;
drivers/crypto/ccp/ccp-dev-v5.c
385
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
409
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
425
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
426
CCP_DES3_ENCRYPT(&function) = op->u.des3.action;
drivers/crypto/ccp/ccp-dev-v5.c
427
CCP_DES3_MODE(&function) = op->u.des3.mode;
drivers/crypto/ccp/ccp-dev-v5.c
428
CCP_DES3_TYPE(&function) = op->u.des3.type;
drivers/crypto/ccp/ccp-dev-v5.c
429
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
452
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
467
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
468
CCP_RSA_SIZE(&function) = (op->u.rsa.mod_size + 7) >> 3;
drivers/crypto/ccp/ccp-dev-v5.c
469
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
494
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
511
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
512
CCP_PT_BYTESWAP(&function) = op->u.passthru.byte_swap;
drivers/crypto/ccp/ccp-dev-v5.c
513
CCP_PT_BITWISE(&function) = op->u.passthru.bit_mod;
drivers/crypto/ccp/ccp-dev-v5.c
514
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev-v5.c
555
union ccp_function function;
drivers/crypto/ccp/ccp-dev-v5.c
570
function.raw = 0;
drivers/crypto/ccp/ccp-dev-v5.c
571
function.ecc.mode = op->u.ecc.function;
drivers/crypto/ccp/ccp-dev-v5.c
572
CCP5_CMD_FUNCTION(&desc) = function.raw;
drivers/crypto/ccp/ccp-dev.h
528
enum ccp_ecc_function function;
drivers/crypto/ccp/ccp-dev.h
585
unsigned int function:15;
drivers/crypto/ccp/ccp-ops.c
2185
if (ecc->function != CCP_ECC_FUNCTION_MINV_384BIT)
drivers/crypto/ccp/ccp-ops.c
2226
if (ecc->function != CCP_ECC_FUNCTION_MINV_384BIT) {
drivers/crypto/ccp/ccp-ops.c
2252
op.u.ecc.function = cmd->u.ecc.function;
drivers/crypto/ccp/ccp-ops.c
2294
if (ecc->function == CCP_ECC_FUNCTION_PADD_384BIT) {
drivers/crypto/ccp/ccp-ops.c
2305
if (ecc->function == CCP_ECC_FUNCTION_PMUL_384BIT)
drivers/crypto/ccp/ccp-ops.c
2358
if (ecc->function == CCP_ECC_FUNCTION_PADD_384BIT) {
drivers/crypto/ccp/ccp-ops.c
2382
if (ecc->function == CCP_ECC_FUNCTION_PMUL_384BIT) {
drivers/crypto/ccp/ccp-ops.c
2410
op.u.ecc.function = cmd->u.ecc.function;
drivers/crypto/ccp/ccp-ops.c
2460
switch (ecc->function) {
drivers/crypto/nx/nx.c
282
void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function)
drivers/crypto/nx/nx.c
288
nx_ctx->op.flags = function;
drivers/crypto/nx/nx.c
296
nx_ctx->op_aead.flags = function;
drivers/crypto/nx/nx.h
160
void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function);
drivers/cxl/core/ras.c
70
data->prot_err.agent_addr.function);
drivers/edac/i7core_edac.c
279
#define PCI_DESCR(device, function, device_id) \
drivers/edac/i7core_edac.c
281
.func = (function), \
drivers/firewire/sbp2.c
550
int generation, int function,
drivers/firewire/sbp2.c
558
if (function == SBP2_LOGOUT_REQUEST && fw_device_is_shutdown(device))
drivers/firewire/sbp2.c
577
MANAGEMENT_ORB_FUNCTION(function) |
drivers/firewire/sbp2.c
587
if (function == SBP2_LOGIN_REQUEST) {
drivers/firmware/edd.c
151
info->params.interface_path.pci.function,
drivers/firmware/edd.c
657
info->params.interface_path.pci.function));
drivers/firmware/efi/cper.c
479
pcie->device_id.device, pcie->device_id.function);
drivers/firmware/efi/cper_cxl.c
52
prot_err->agent_addr.function);
drivers/firmware/efi/libstub/x86-stub.c
96
&rom->device, &rom->function);
drivers/firmware/efi/stmm/mm_communication.h
120
size_t function;
drivers/firmware/efi/stmm/tee_stmm_efi.c
186
var_hdr->function = func;
drivers/gpib/common/gpib_os.c
105
board->timer.function = watchdog_timeout;
drivers/gpib/common/gpib_os.c
156
board->pseudo_irq.timer.function = pseudo_irq_handler;
drivers/gpio/gpio-max7360.c
159
if (plat_data->function == MAX7360_GPIO_PORT) {
drivers/gpio/gpio-max7360.c
213
if (plat_data->function == MAX7360_GPIO_PORT) {
drivers/gpio/gpio-max7360.c
28
unsigned int function;
drivers/gpio/gpio-max7360.c
31
static struct max7360_gpio_plat_data max7360_gpio_port_plat = { .function = MAX7360_GPIO_PORT };
drivers/gpio/gpio-max7360.c
32
static struct max7360_gpio_plat_data max7360_gpio_col_plat = { .function = MAX7360_GPIO_COL };
drivers/gpio/gpiolib-acpi-core.c
1071
acpi_gpio_adr_space_handler(u32 function, acpi_physical_address address,
drivers/gpio/gpiolib-acpi-core.c
1097
function == ACPI_WRITE)) {
drivers/gpio/gpiolib-acpi-core.c
1127
function == ACPI_READ) {
drivers/gpio/gpiolib-acpi-core.c
1170
if (function == ACPI_WRITE) {
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
148
int function,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
161
atif_arg_elements[0].integer.value = function;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
542
int function,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
554
atcs_arg_elements[0].integer.value = function;
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
102
static union acpi_object *amdgpu_atpx_call(acpi_handle handle, int function,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
114
atpx_arg_elements[0].integer.value = function;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
644
TP_PROTO(bool begin, const char *function, const int line, const int recursion_depth),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
645
TP_ARGS(begin, function, line, recursion_depth),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
649
__field(const char *, function)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
655
__entry->function = function;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
662
__entry->function,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
668
TP_PROTO(const struct optc *optc_state, int instance, bool lock, const char *function, const int line),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
669
TP_ARGS(optc_state, instance, lock, function, line),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
672
__field(const char *, function)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
690
__entry->function = function;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
712
__entry->function,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
731
TP_PROTO(void *function, u32 user_brightness, u32 converted_brightness, bool aux, bool ac),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
732
TP_ARGS(function, user_brightness, converted_brightness, aux, ac),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
734
__field(void *, function)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
741
__entry->function = function;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
748
(void *)__entry->function,
drivers/gpu/drm/amd/display/dc/dc_trace.h
41
#define TRACE_DCN_FPU(begin, function, line, ref_count) \
drivers/gpu/drm/amd/display/dc/dc_trace.h
42
trace_dcn_fpu(begin, function, line, ref_count)
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
125
uint32_t function : 3;
drivers/gpu/drm/i915/display/intel_opregion.c
275
static int check_swsci_function(struct intel_display *display, u32 function)
drivers/gpu/drm/i915/display/intel_opregion.c
288
main_function = (function & SWSCI_SCIC_MAIN_FUNCTION_MASK) >>
drivers/gpu/drm/i915/display/intel_opregion.c
290
sub_function = (function & SWSCI_SCIC_SUB_FUNCTION_MASK) >>
drivers/gpu/drm/i915/display/intel_opregion.c
308
u32 function, u32 parm, u32 *parm_out)
drivers/gpu/drm/i915/display/intel_opregion.c
316
ret = check_swsci_function(display, function);
drivers/gpu/drm/i915/display/intel_opregion.c
342
scic = function | SWSCI_SCIC_INDICATOR;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/gsp.h
798
NvU32 function;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
108
u32 function;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
253
if (rpc->function != NV_VGPU_MSG_FUNCTION_CONTINUATION_RECORD) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
446
msg->function, msg->length, msg->length - sizeof(*msg),
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
477
if (fn && rpc->function == fn) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
497
if (ntfy->fn == rpc->function) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
582
u32 fn = rpc->function;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
586
nvkm_trace(&gsp->subdev, "rpc fn:%d len:0x%x/0x%zx\n", rpc->function,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
624
rpc->function = fn;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
644
const u32 fn = rpc->function;
drivers/gpu/drm/omapdrm/dss/dsi.c
1303
if (dsi->lanes[t].function == functions[i])
drivers/gpu/drm/omapdrm/dss/dsi.c
1435
in_use[i] = dsi->lanes[i].function != DSI_LANE_UNUSED;
drivers/gpu/drm/omapdrm/dss/dsi.c
1475
if (dsi->lanes[i].function != DSI_LANE_UNUSED)
drivers/gpu/drm/omapdrm/dss/dsi.c
2954
lanes[i].function = DSI_LANE_UNUSED;
drivers/gpu/drm/omapdrm/dss/dsi.c
2983
lanes[lane].function = functions[i / 2];
drivers/gpu/drm/omapdrm/dss/dsi.h
252
enum dsi_lane_function function;
drivers/gpu/drm/radeon/radeon_acpi.c
112
static union acpi_object *radeon_atif_call(acpi_handle handle, int function,
drivers/gpu/drm/radeon/radeon_acpi.c
124
atif_arg_elements[0].integer.value = function;
drivers/gpu/drm/radeon/radeon_acpi.c
434
static union acpi_object *radeon_atcs_call(acpi_handle handle, int function,
drivers/gpu/drm/radeon/radeon_acpi.c
446
atcs_arg_elements[0].integer.value = function;
drivers/gpu/drm/radeon/radeon_atpx_handler.c
106
atpx_arg_elements[0].integer.value = function;
drivers/gpu/drm/radeon/radeon_atpx_handler.c
94
static union acpi_object *radeon_atpx_call(acpi_handle handle, int function,
drivers/gpu/drm/tegra/dpaux.c
326
static int tegra_dpaux_pad_config(struct tegra_dpaux *dpaux, unsigned function)
drivers/gpu/drm/tegra/dpaux.c
330
switch (function) {
drivers/gpu/drm/tegra/dpaux.c
415
unsigned int function)
drivers/gpu/drm/tegra/dpaux.c
417
return tegra_dpaux_functions[function];
drivers/gpu/drm/tegra/dpaux.c
421
unsigned int function,
drivers/gpu/drm/tegra/dpaux.c
432
unsigned int function, unsigned int group)
drivers/gpu/drm/tegra/dpaux.c
436
return tegra_dpaux_pad_config(dpaux, function);
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
1438
uint16 function;
drivers/gpu/drm/xe/xe_configfs.c
1000
PCI_FUNC(PCI_DEVFN(slot, function)));
drivers/gpu/drm/xe/xe_configfs.c
1004
pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
drivers/gpu/drm/xe/xe_configfs.c
1008
if (!pdev && function)
drivers/gpu/drm/xe/xe_configfs.c
1015
if (PCI_DEVFN(slot, function) != pdev->devfn) {
drivers/gpu/drm/xe/xe_configfs.c
1017
vfnumber = PCI_DEVFN(slot, function) - pdev->devfn;
drivers/gpu/drm/xe/xe_configfs.c
337
unsigned int domain, bus, slot, function;
drivers/gpu/drm/xe/xe_configfs.c
345
if (sscanf(name, "%x:%x:%x.%x", &domain, &bus, &slot, &function) != 4)
drivers/gpu/drm/xe/xe_configfs.c
348
pdev = pci_get_domain_bus_and_slot(domain, bus, PCI_DEVFN(slot, function));
drivers/gpu/drm/xe/xe_configfs.c
985
unsigned int domain, bus, slot, function;
drivers/gpu/drm/xe/xe_configfs.c
994
ret = sscanf(name, "%x:%x:%x.%x", &domain, &bus, &slot, &function);
drivers/gpu/drm/xe/xe_configfs.c
999
PCI_SLOT(PCI_DEVFN(slot, function)),
drivers/gpu/drm/xe/xe_pmu.c
403
PMU_FORMAT_ATTR(function, "config:44-59");
drivers/hid/hid-logitech-hidpp.c
2132
u8 function;
drivers/hid/hid-logitech-hidpp.c
2134
function = report->fap.funcindex_clientid;
drivers/hid/hid-logitech-hidpp.c
2138
!(function == EVENT_SOLAR_BATTERY_BROADCAST ||
drivers/hid/hid-logitech-hidpp.c
2139
function == EVENT_SOLAR_BATTERY_LIGHT_MEASURE ||
drivers/hid/hid-logitech-hidpp.c
2140
function == EVENT_SOLAR_CHECK_LIGHT_BUTTON))
drivers/hid/hid-logitech-hidpp.c
2145
switch (function) {
drivers/hid/surface-hid/surface_kbd.c
255
shid->uid.function = 0;
drivers/hwmon/adt7475.c
1503
const char *function;
drivers/hwmon/adt7475.c
1507
ret = device_property_read_string(&client->dev, propname, &function);
drivers/hwmon/adt7475.c
1514
if (!strcmp("pwm2", function))
drivers/hwmon/adt7475.c
1516
else if (!strcmp("smbalert#", function))
drivers/hwmon/adt7475.c
1529
const char *function;
drivers/hwmon/adt7475.c
1533
ret = device_property_read_string(&client->dev, propname, &function);
drivers/hwmon/adt7475.c
1541
if (!strcmp("tach4", function))
drivers/hwmon/adt7475.c
1543
else if (!strcmp("therm#", function))
drivers/hwmon/adt7475.c
1545
else if (!strcmp("smbalert#", function))
drivers/hwmon/adt7475.c
1547
else if (!strcmp("gpio", function))
drivers/hwtracing/coresight/coresight-sysfs.c
145
const char *function)
drivers/hwtracing/coresight/coresight-sysfs.c
153
dev_err(&csdev->dev, "wrong device type in %s\n", function);
drivers/hwtracing/coresight/coresight-sysfs.c
161
dev_err(&csdev->dev, "wrong device subtype in %s\n", function);
drivers/i2c/busses/i2c-i801.c
1461
i801_acpi_io_handler(u32 function, acpi_physical_address address, u32 bits,
drivers/i2c/busses/i2c-i801.c
1488
if ((function & ACPI_IO_MASK) == ACPI_READ)
drivers/i2c/i2c-core-acpi.c
666
i2c_acpi_space_handler(u32 function, acpi_physical_address command,
drivers/i2c/i2c-core-acpi.c
677
u32 accessor_type = function >> 16;
drivers/i2c/i2c-core-acpi.c
678
u8 action = function & ACPI_IO_MASK;
drivers/iio/pressure/abp2030pa.c
511
data->outmin = abp2_func_spec[data->function].output_min;
drivers/iio/pressure/abp2030pa.c
512
data->outmax = abp2_func_spec[data->function].output_max;
drivers/iio/pressure/abp2030pa.h
52
enum abp2_func_id function;
drivers/iio/pressure/hsc030pa.c
465
&hsc->function);
drivers/iio/pressure/hsc030pa.c
469
if (hsc->function > HSC_FUNCTION_F)
drivers/iio/pressure/hsc030pa.c
472
hsc->function);
drivers/iio/pressure/hsc030pa.c
513
hsc->outmin = hsc_func_spec[hsc->function].output_min;
drivers/iio/pressure/hsc030pa.c
514
hsc->outmax = hsc_func_spec[hsc->function].output_max;
drivers/iio/pressure/hsc030pa.h
54
u32 function;
drivers/iio/pressure/mprls0025pa.c
364
data->function = func - 1;
drivers/iio/pressure/mprls0025pa.c
365
if (data->function > MPR_FUNCTION_C)
drivers/iio/pressure/mprls0025pa.c
368
data->function);
drivers/iio/pressure/mprls0025pa.c
401
data->outmin = mpr_func_spec[data->function].output_min;
drivers/iio/pressure/mprls0025pa.c
402
data->outmax = mpr_func_spec[data->function].output_max;
drivers/iio/pressure/mprls0025pa.h
66
enum mpr_func_id function;
drivers/infiniband/hw/hfi1/chip.c
12310
if (dd->synth_stats_timer.function)
drivers/infiniband/hw/hfi1/chip.c
5578
if (dd->rcverr_timer.function)
drivers/infiniband/hw/hfi1/init.c
987
if (ppd->led_override_timer.function) {
drivers/infiniband/hw/hfi1/trace_dbg.h
31
TP_PROTO(const char *function, struct va_format *vaf),
drivers/infiniband/hw/hfi1/trace_dbg.h
32
TP_ARGS(function, vaf),
drivers/infiniband/hw/hfi1/trace_dbg.h
33
TP_STRUCT__entry(__string(function, function)
drivers/infiniband/hw/hfi1/trace_dbg.h
36
TP_fast_assign(__assign_str(function);
drivers/infiniband/hw/hfi1/trace_dbg.h
40
__get_str(function),
drivers/infiniband/hw/hfi1/trace_dbg.h
54
TP_PROTO(const char *function, struct va_format *vaf), \
drivers/infiniband/hw/hfi1/trace_dbg.h
55
TP_ARGS(function, vaf))
drivers/infiniband/sw/rxe/rxe_qp.c
867
if (qp_type(qp) == IB_QPT_RC && qp->retrans_timer.function &&
drivers/infiniband/sw/rxe/rxe_qp.c
868
qp->rnr_nak_timer.function) {
drivers/input/input.c
2246
dev->timer.function = input_repeat_key;
drivers/input/input.c
91
dev->timer.function) {
drivers/input/joystick/maplecontrol.c
174
.function = MAPLE_FUNC_CONTROLLER,
drivers/input/keyboard/maple_keyb.c
136
if (buf[1] == mapledev->function) {
drivers/input/keyboard/maple_keyb.c
221
.function = MAPLE_FUNC_KEYBOARD,
drivers/input/misc/atlas_btns.c
27
u32 function, void *handler_context, void **return_context)
drivers/input/misc/atlas_btns.c
30
(function != ACPI_REGION_DEACTIVATE) ? handler_context : NULL;
drivers/input/misc/atlas_btns.c
35
static acpi_status acpi_atlas_button_handler(u32 function,
drivers/input/misc/atlas_btns.c
42
if (function == ACPI_WRITE) {
drivers/input/misc/atlas_btns.c
53
function, (unsigned long)address, (u32)*value);
drivers/input/mouse/maplemouse.c
131
.function = MAPLE_FUNC_MOUSE,
drivers/iommu/intel/dmar.c
164
info->path[level].function = PCI_FUNC(tmp->devfn);
drivers/iommu/intel/dmar.c
191
path[i].function != info->path[i].function)
drivers/iommu/intel/dmar.c
205
path[0].function == info->path[i].function) {
drivers/iommu/intel/dmar.c
207
bus, path[0].device, path[0].function);
drivers/iommu/intel/dmar.c
754
scope->bus, path->device, path->function);
drivers/iommu/intel/dmar.c
759
path->function);
drivers/iommu/intel/irq_remapping.c
846
bus = read_pci_config_byte(bus, path->device, path->function,
drivers/iommu/intel/irq_remapping.c
866
ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function);
drivers/iommu/intel/irq_remapping.c
891
bus = read_pci_config_byte(bus, path->device, path->function,
drivers/iommu/intel/irq_remapping.c
909
ir_ioapic[free].devfn = PCI_DEVFN(path->device, path->function);
drivers/isdn/hardware/mISDN/hfc_multi.h
152
u_char val, const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
154
u_char val, const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
156
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
158
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
160
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
162
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
164
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi.h
166
const char *function, int line);
drivers/isdn/hardware/mISDN/hfc_multi_8xx.h
20
const char *function, int line)
drivers/isdn/hardware/mISDN/hfc_multi_8xx.h
32
HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfc_multi_8xx.h
44
HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfc_multi_8xx.h
56
HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
277
const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
286
HFC_inb_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
295
HFC_inw_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
304
HFC_wait_pcimem(struct hfc_multi *hc, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
317
const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
327
HFC_inb_regio(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
337
HFC_inw_regio(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
347
HFC_wait_regio(struct hfc_multi *hc, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
360
const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
383
hc->id, reg, regname, val, bits, function, line);
drivers/isdn/hardware/mISDN/hfcmulti.c
387
HFC_inb_debug(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
413
hc->id, reg, regname, val, bits, function, line);
drivers/isdn/hardware/mISDN/hfcmulti.c
417
HFC_inw_debug(struct hfc_multi *hc, u_char reg, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
435
hc->id, reg, regname, val, function, line);
drivers/isdn/hardware/mISDN/hfcmulti.c
439
HFC_wait_debug(struct hfc_multi *hc, const char *function, int line)
drivers/isdn/hardware/mISDN/hfcmulti.c
442
hc->id, function, line);
drivers/isdn/hardware/mISDN/hfcmulti.c
4524
if (dch->timer.function) {
drivers/isdn/hardware/mISDN/hfcmulti.c
4526
dch->timer.function = NULL;
drivers/isdn/hardware/mISDN/hfcpci.c
2067
if (hc->dch.timer.function != NULL) {
drivers/isdn/hardware/mISDN/hfcpci.c
2069
hc->dch.timer.function = NULL;
drivers/isdn/hardware/mISDN/mISDNipac.c
700
if (isac->dch.timer.function != NULL) {
drivers/isdn/hardware/mISDN/mISDNipac.c
702
isac->dch.timer.function = NULL;
drivers/leds/led-core.c
506
ret = fwnode_property_read_string(fwnode, "function", &props->function);
drivers/leds/led-core.c
553
} else if (props.function || props.color_present) {
drivers/leds/led-core.c
559
props.function ?: "", props.func_enum);
drivers/leds/led-core.c
563
props.function ?: "");
drivers/md/dm-integrity.c
714
bool e, const char *function)
drivers/md/dm-integrity.c
722
function, section, offset, ic->journal_sections, limit);
drivers/media/common/saa7146/saa7146_vbi.c
361
vv->vbi_read_timeout.function = vbi_read_timeout;
drivers/media/dvb-core/dvbdev.c
273
entity->function = MEDIA_ENT_F_IO_DTV;
drivers/media/dvb-core/dvbdev.c
346
dvbdev->entity->function = MEDIA_ENT_F_DTV_DEMOD;
drivers/media/dvb-core/dvbdev.c
351
dvbdev->entity->function = MEDIA_ENT_F_TS_DEMUX;
drivers/media/dvb-core/dvbdev.c
357
dvbdev->entity->function = MEDIA_ENT_F_DTV_CA;
drivers/media/dvb-core/dvbdev.c
650
if (entity->function == MEDIA_ENT_F_IO_DTV) {
drivers/media/dvb-core/dvbdev.c
681
switch (entity->function) {
drivers/media/dvb-core/dvbdev.c
722
conn->function = MEDIA_ENT_F_CONN_RF;
drivers/media/dvb-core/dvbdev.c
795
if (entity->function == MEDIA_ENT_F_IO_DTV) {
drivers/media/dvb-frontends/au8522_decoder.c
719
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/dvb-frontends/dib9000.c
1092
switch (f->function) {
drivers/media/dvb-frontends/dibx000_common.h
241
u8 function;
drivers/media/i2c/ad5820.c
318
coil->subdev.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/adp1653.c
504
flash->subdev.entity.function = MEDIA_ENT_F_FLASH;
drivers/media/i2c/adv7180.c
1515
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/adv748x/adv748x-core.c
585
const struct v4l2_subdev_ops *ops, u32 function,
drivers/media/i2c/adv748x/adv748x-core.c
603
sd->entity.function = function;
drivers/media/i2c/adv748x/adv748x.h
426
const struct v4l2_subdev_ops *ops, u32 function,
drivers/media/i2c/adv7511-v4l2.c
1886
sd->entity.function = MEDIA_ENT_F_DV_ENCODER;
drivers/media/i2c/adv7604.c
3674
sd->entity.function = MEDIA_ENT_F_DV_DECODER;
drivers/media/i2c/adv7842.c
3625
sd->entity.function = MEDIA_ENT_F_DV_DECODER;
drivers/media/i2c/ak7375.c
205
ak7375_dev->sd.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/alvium-csi2.c
2290
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ar0521.c
1105
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ccs/ccs-core.c
3019
unsigned short num_pads, u32 function,
drivers/media/i2c/ccs/ccs-core.c
3035
ssd->sd.entity.function = function;
drivers/media/i2c/cx25840/cx25840-core.c
193
if (p[i].function != CX23885_PAD_IRQ_N) {
drivers/media/i2c/cx25840/cx25840-core.c
214
if (p[i].function != CX23885_PAD_GPIO19) {
drivers/media/i2c/cx25840/cx25840-core.c
231
if (p[i].function != CX23885_PAD_GPIO20) {
drivers/media/i2c/cx25840/cx25840-core.c
252
if (p[i].function != CX23885_PAD_GPIO21) {
drivers/media/i2c/cx25840/cx25840-core.c
270
if (p[i].function != CX23885_PAD_GPIO22) {
drivers/media/i2c/cx25840/cx25840-core.c
288
if (p[i].function != CX23885_PAD_GPIO23) {
drivers/media/i2c/cx25840/cx25840-core.c
314
static u8 cx25840_function_to_pad(struct i2c_client *client, u8 function)
drivers/media/i2c/cx25840/cx25840-core.c
316
if (function > CX25840_PAD_VRESET) {
drivers/media/i2c/cx25840/cx25840-core.c
318
(unsigned int)function);
drivers/media/i2c/cx25840/cx25840-core.c
322
return function;
drivers/media/i2c/cx25840/cx25840-core.c
325
static void cx25840_set_invert(u8 *pinctrl3, u8 *voutctrl4, u8 function,
drivers/media/i2c/cx25840/cx25840-core.c
328
switch (function) {
drivers/media/i2c/cx25840/cx25840-core.c
365
if (function != CX25840_PAD_DEFAULT)
drivers/media/i2c/cx25840/cx25840-core.c
3854
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/cx25840/cx25840-core.c
423
p[i].function);
drivers/media/i2c/cx25840/cx25840-core.c
426
p[i].function,
drivers/media/i2c/cx25840/cx25840-core.c
452
p[i].function);
drivers/media/i2c/cx25840/cx25840-core.c
455
p[i].function,
drivers/media/i2c/cx25840/cx25840-core.c
479
switch (p[i].function) {
drivers/media/i2c/cx25840/cx25840-core.c
500
p[i].function)
drivers/media/i2c/ds90ub913.c
747
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/ds90ub953.c
1198
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/ds90ub960.c
4932
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/dw9714.c
204
dw9714_dev->sd.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/dw9719.c
387
dw9719->sd.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/dw9768.c
466
dw9768->sd.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/dw9807-vcm.c
200
dw9807_dev->sd.entity.function = MEDIA_ENT_F_LENS;
drivers/media/i2c/et8ek8/et8ek8_driver.c
1439
sensor->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/gc0308.c
1342
gc0308->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/gc0310.c
729
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/gc05a2.c
1266
gc05a2->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/gc08a3.c
1242
gc08a3->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/gc2145.c
1392
gc2145->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/hi556.c
1391
hi556->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/hi846.c
2098
hi846->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/hi847.c
2903
hi847->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx111.c
1251
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx208.c
985
imx208->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx214.c
1444
imx214->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx219.c
1263
imx219->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx258.c
1481
imx258->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx274.c
2050
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx283.c
1546
imx283->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx290.c
1300
imx290->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx296.c
857
sensor->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx319.c
2429
imx319->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx334.c
1266
imx334->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx335.c
1491
imx335->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx355.c
1809
imx355->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx412.c
1220
imx412->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/imx415.c
1113
sensor->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/isl7998x.c
1348
isl7998x->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/lm3560.c
365
flash->subdev_led[led_no].entity.function = MEDIA_ENT_F_FLASH;
drivers/media/i2c/lm3646.c
286
flash->subdev_led.entity.function = MEDIA_ENT_F_FLASH;
drivers/media/i2c/lt6911uxe.c
631
lt6911uxe->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/max9286.c
1051
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/max96714.c
599
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/max96717.c
692
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/msp3400-driver.c
695
sd->entity.function = MEDIA_ENT_F_IF_AUD_DECODER;
drivers/media/i2c/mt9m001.c
808
mt9m001->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9m111.c
1333
mt9m111->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9m114.c
1405
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9m114.c
2138
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_ISP;
drivers/media/i2c/mt9p031.c
1172
mt9p031->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9v011.c
511
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9v032.c
1179
mt9v032->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/mt9v111.c
1219
mt9v111->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/og01a1b.c
1064
og01a1b->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/og0ve1b.c
749
og0ve1b->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/os05b10.c
1039
os05b10->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov01a10.c
1042
ov01a10->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov02a10.c
928
ov02a10->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov02c10.c
936
ov02c10->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov02e10.c
875
ov02e10->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov08d10.c
1556
ov08d10->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov08x40.c
2321
ov08x->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov13858.c
1703
ov13858->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov13b10.c
1633
ov13b->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2640.c
1237
priv->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2659.c
1491
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2680.c
968
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2685.c
824
ov2685->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2732.c
703
ov2732->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2735.c
1021
ov2735->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov2740.c
1411
ov2740->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov4689.c
967
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5640.c
3929
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5645.c
1118
ov5645->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5647.c
1210
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5648.c
2544
subdev->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5670.c
2730
ov5670->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5675.c
1316
ov5675->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5693.c
1314
ov5693->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov5695.c
1307
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov6211.c
726
ov6211->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov64a40.c
3598
ov64a40->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov7251.c
1704
ov7251->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov7670.c
1952
info->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov772x.c
1506
priv->subdev.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov7740.c
1063
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov8856.c
2425
ov8856->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov8858.c
1914
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov8865.c
3043
subdev->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov9282.c
1396
ov9282->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov9650.c
1524
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/ov9734.c
936
ov9734->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/rdacm20.c
612
dev->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/rdacm21.c
584
dev->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5c73m3/s5c73m3-core.c
1631
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5c73m3/s5c73m3-core.c
1648
oif_sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/i2c/s5k3m5.c
1286
s5k3m5->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5k5baf.c
1884
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5k5baf.c
1899
sd->entity.function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN;
drivers/media/i2c/s5k5baf.c
400
return sd->entity.function == MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5k6a3.c
318
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/s5kjn1.c
1396
s5kjn1->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/saa7115.c
1840
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/st-mipid02.c
852
bridge->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/t4ka3.c
1003
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/tc358743.c
2242
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/tc358746.c
1300
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/i2c/tda1997x.c
2598
sd->entity.function = MEDIA_ENT_F_DV_DECODER;
drivers/media/i2c/thp7312.c
2126
thp7312->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/tvp514x.c
1077
decoder->sd.entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/tvp5150.c
1904
sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/tvp5150.c
2066
tvpc->ent.function = v4l2c->type == V4L2_CONN_SVIDEO ?
drivers/media/i2c/tvp7002.c
1019
device->sd.entity.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/i2c/tw9900.c
704
tw9900->subdev.entity.function = MEDIA_ENT_F_DV_DECODER;
drivers/media/i2c/vd55g1.c
1885
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/vd56g3.c
1401
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/i2c/vgxy61.c
1801
sensor->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/mc/mc-device.c
112
entd->type = ent->function;
drivers/media/mc/mc-device.c
130
if (ent->function < MEDIA_ENT_F_OLD_BASE ||
drivers/media/mc/mc-device.c
131
ent->function > MEDIA_ENT_F_TUNER) {
drivers/media/mc/mc-device.c
134
else if (ent->function != MEDIA_ENT_F_IO_V4L)
drivers/media/mc/mc-device.c
262
kentity.function = entity->function;
drivers/media/mc/mc-device.c
612
if (entity->function == MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN ||
drivers/media/mc/mc-device.c
613
entity->function == MEDIA_ENT_F_UNKNOWN)
drivers/media/mc/mc-entity.c
1207
unsigned function;
drivers/media/mc/mc-entity.c
1220
if (source->function != source_function)
drivers/media/mc/mc-entity.c
1223
if (sink->function != sink_function)
drivers/media/mc/mc-entity.c
1239
function = sink_function;
drivers/media/mc/mc-entity.c
1241
function = source_function;
drivers/media/mc/mc-entity.c
1244
if (entity->function != function)
drivers/media/pci/cx23885/cx23885-cards.c
1968
.function = CX23885_PAD_IR_RX,
drivers/media/pci/cx23885/cx23885-cards.c
1974
.function = CX23885_PAD_IR_TX,
drivers/media/pci/cx23885/cx23885-cards.c
1985
.function = CX23885_PAD_IR_RX,
drivers/media/pci/intel/ipu3/ipu3-cio2.c
1545
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/pci/intel/ipu6/ipu6-isys-subdev.c
339
asd->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/pci/intel/ivsc/mei_csi.c
699
csi->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/pci/saa7134/saa7134-core.c
815
if (entity->function == MEDIA_ENT_F_ATV_DECODER) {
drivers/media/pci/saa7134/saa7134-core.c
831
dev->demod.function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/pci/saa7134/saa7134-core.c
883
ent->function = MEDIA_ENT_F_CONN_COMPOSITE;
drivers/media/pci/saa7134/saa7134-core.c
888
ent->function = MEDIA_ENT_F_CONN_SVIDEO;
drivers/media/pci/saa7134/saa7134-core.c
898
ent->function = MEDIA_ENT_F_CONN_RF;
drivers/media/pci/saa7134/saa7134-core.c
919
ent->function = MEDIA_ENT_F_CONN_RF;
drivers/media/platform/amlogic/c3/isp/c3-isp-core.c
598
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/amlogic/c3/isp/c3-isp-resizer.c
822
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/amlogic/c3/mipi-adapter/c3-mipi-adap.c
639
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/amlogic/c3/mipi-csi2/c3-mipi-csi2.c
615
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/amphion/vpu.h
56
int function;
drivers/media/platform/amphion/vpu_drv.c
128
vpu->encoder.function = MEDIA_ENT_F_PROC_VIDEO_ENCODER;
drivers/media/platform/amphion/vpu_drv.c
130
vpu->decoder.function = MEDIA_ENT_F_PROC_VIDEO_DECODER;
drivers/media/platform/amphion/vpu_v4l2.c
855
ret = v4l2_m2m_register_media_controller(func->m2m_dev, func->vfd, func->function);
drivers/media/platform/arm/mali-c55/mali-c55-isp.c
584
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_ISP;
drivers/media/platform/arm/mali-c55/mali-c55-resizer.c
1071
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/arm/mali-c55/mali-c55-tpg.c
371
sd->entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/platform/broadcom/bcm2835-unicam.c
1510
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/cadence/cdns-csi2rx.c
851
csi2rx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/cadence/cdns-csi2tx.c
602
csi2tx->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/microchip/microchip-csi2dc.c
691
csi2dc->csi2dc_sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/microchip/microchip-isc-base.c
1919
isc->video_dev.entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/platform/microchip/microchip-isc-scaler.c
200
isc->scaler_sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/nxp/imx-mipi-csis.c
1464
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/nxp/imx7-media-csi.c
1945
switch (csi->src_sd->entity.function) {
drivers/media/platform/nxp/imx7-media-csi.c
1967
csi->is_csi2 = pad->entity->function == MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/nxp/imx7-media-csi.c
2174
csi->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c
446
sd->entity.function = MEDIA_ENT_F_VID_MUX;
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
785
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c
778
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
1422
vdev->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/nxp/imx8mq-mipi-csi2.c
871
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/qcom/camss/camss-csid.c
1389
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/qcom/camss/camss-csiphy.c
803
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/qcom/camss/camss-ispif.c
1409
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/qcom/camss/camss-vfe.c
2074
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/qcom/camss/camss.c
4274
if (entity->function == MEDIA_ENT_F_CAM_SENSOR)
drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
1498
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/raspberrypi/rp1-cfe/csi2.c
555
csi2->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/raspberrypi/rp1-cfe/pisp-fe.c
570
fe->sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/renesas/rcar-csi2.c
2599
priv->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/renesas/rcar-isp/csisp.c
528
isp->subdev.entity.function = MEDIA_ENT_F_VID_MUX;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c
964
csi2->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/renesas/rzg2l-cru/rzg2l-ip.c
343
ip->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-subdev.c
330
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/renesas/vsp1/vsp1_entity.c
591
const struct v4l2_subdev_ops *ops, u32 function)
drivers/media/platform/renesas/vsp1/vsp1_entity.c
644
subdev->entity.function = function;
drivers/media/platform/renesas/vsp1/vsp1_entity.h
150
const struct v4l2_subdev_ops *ops, u32 function);
drivers/media/platform/rockchip/rkcif/rkcif-interface.c
370
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c
451
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c
1040
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/rockchip/rkisp1/rkisp1-resizer.c
704
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/samsung/exynos4-is/fimc-capture.c
1783
vfd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/samsung/exynos4-is/fimc-capture.c
1882
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/samsung/exynos4-is/fimc-isp.c
708
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/samsung/exynos4-is/fimc-lite.c
1408
sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/samsung/exynos4-is/mipi-csis.c
852
state->sd.entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/platform/st/stm32/stm32-csi.c
1012
csidev->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c
883
vcap->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-common.c
44
u32 function,
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-common.c
65
sd->entity.function = function;
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-common.h
143
u32 function,
drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c
227
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
798
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
520
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
558
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/synopsys/dw-mipi-csi2rx.c
711
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/ti/cal/cal-camerarx.c
1002
sd->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/ti/omap3isp/ispccdc.c
2678
me->function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_ENC_CONV;
drivers/media/platform/ti/omap3isp/ispccp2.c
1089
me->function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/ti/omap3isp/ispcsi2.c
1254
me->function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/media/platform/ti/omap3isp/isppreview.c
2292
me->function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/platform/ti/omap3isp/ispresizer.c
1741
me->function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/media/platform/ti/omap3isp/ispstat.c
1040
me->function = MEDIA_ENT_F_PROC_VIDEO_STATISTICS;
drivers/media/platform/verisilicon/hantro_drv.c
750
int function, struct video_device *vdev)
drivers/media/platform/verisilicon/hantro_drv.c
756
if (function == MEDIA_ENT_F_IO_V4L) {
drivers/media/platform/verisilicon/hantro_drv.c
767
entity->function = function;
drivers/media/platform/video-mux.c
444
vmux->subdev.entity.function = MEDIA_ENT_F_VID_MUX;
drivers/media/platform/xilinx/xilinx-dma.c
186
if (pad->entity->function != MEDIA_ENT_F_IO_V4L)
drivers/media/radio/radio-sf16fmi.c
248
id_table[i].function, NULL);
drivers/media/rc/ir-sony-decoder.c
121
function = bitrev8((data->bits >> 4) & 0xFE);
drivers/media/rc/ir-sony-decoder.c
130
function = bitrev8((data->bits >> 7) & 0xFE);
drivers/media/rc/ir-sony-decoder.c
139
function = bitrev8((data->bits >> 12) & 0xFE);
drivers/media/rc/ir-sony-decoder.c
148
scancode = device << 16 | subdevice << 8 | function;
drivers/media/rc/ir-sony-decoder.c
39
u8 device, subdevice, function;
drivers/media/test-drivers/vimc/vimc-capture.c
406
vcapture->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/test-drivers/vimc/vimc-common.c
360
u32 function,
drivers/media/test-drivers/vimc/vimc-common.c
374
sd->entity.function = function;
drivers/media/test-drivers/vimc/vimc-common.h
269
u32 function,
drivers/media/test-drivers/vimc/vimc-streamer.c
157
ved->ent->function == MEDIA_ENT_F_CAM_SENSOR) {
drivers/media/tuners/si2157.c
1039
dev->ent.function = MEDIA_ENT_F_TUNER;
drivers/media/usb/au0828/au0828-core.c
225
if (entity->function == MEDIA_ENT_F_AUDIO_MIXER)
drivers/media/usb/au0828/au0828-core.c
227
else if (entity->function == MEDIA_ENT_F_ATV_DECODER)
drivers/media/usb/au0828/au0828-core.c
233
switch (new->function) {
drivers/media/usb/au0828/au0828-core.c
242
if (entity->function == MEDIA_ENT_F_AUDIO_MIXER)
drivers/media/usb/au0828/au0828-core.c
271
switch (owner->function) {
drivers/media/usb/au0828/au0828-core.c
275
if (entity->function == MEDIA_ENT_F_IO_V4L ||
drivers/media/usb/au0828/au0828-core.c
276
entity->function == MEDIA_ENT_F_AUDIO_CAPTURE ||
drivers/media/usb/au0828/au0828-core.c
277
entity->function == MEDIA_ENT_F_IO_VBI)
drivers/media/usb/au0828/au0828-core.c
314
if (entity->function == MEDIA_ENT_F_DTV_DEMOD) {
drivers/media/usb/au0828/au0828-core.c
437
__func__, entity->name, entity->function, ret);
drivers/media/usb/au0828/au0828-core.c
471
if (dev->active_link_owner->function ==
drivers/media/usb/au0828/au0828-core.c
604
switch (entity->function) {
drivers/media/usb/au0828/au0828-video.c
1892
ent->function = MEDIA_ENT_F_CONN_COMPOSITE;
drivers/media/usb/au0828/au0828-video.c
1895
ent->function = MEDIA_ENT_F_CONN_SVIDEO;
drivers/media/usb/au0828/au0828-video.c
1901
ent->function = MEDIA_ENT_F_CONN_RF;
drivers/media/usb/cx231xx/cx231xx-video.c
1000
ent->function = MEDIA_ENT_F_CONN_RF;
drivers/media/usb/cx231xx/cx231xx-video.c
109
if (entity->function == MEDIA_ENT_F_ATV_DECODER) {
drivers/media/usb/cx231xx/cx231xx-video.c
987
ent->function = MEDIA_ENT_F_CONN_COMPOSITE;
drivers/media/usb/cx231xx/cx231xx-video.c
990
ent->function = MEDIA_ENT_F_CONN_SVIDEO;
drivers/media/usb/dvb-usb-v2/mxl111sf.c
890
state->tuner.function = MEDIA_ENT_F_TUNER;
drivers/media/usb/dvb-usb/cxusb-analog.c
1450
{ .pin = CX25840_PIN_DVALID_PRGM0, .function = CX25840_PAD_DEFAULT,
drivers/media/usb/dvb-usb/cxusb-analog.c
1452
{ .pin = CX25840_PIN_PLL_CLK_PRGM7, .function = CX25840_PAD_AUX_PLL },
drivers/media/usb/dvb-usb/cxusb-analog.c
1453
{ .pin = CX25840_PIN_HRESET_PRGM2, .function = CX25840_PAD_ACTIVE,
drivers/media/usb/dvb-usb/dib0700_devices.c
2284
{ .component = BOARD_GPIO_COMPONENT_DEMOD, .function = BOARD_GPIO_FUNCTION_COMPONENT_ON, .mask = 0x10 | 0x21, .direction = 0 & ~0x21, .value = (0x10 & ~0x1) | 0x20 },
drivers/media/usb/dvb-usb/dib0700_devices.c
2285
{ .component = BOARD_GPIO_COMPONENT_DEMOD, .function = BOARD_GPIO_FUNCTION_COMPONENT_OFF, .mask = 0x10 | 0x21, .direction = 0 & ~0x21, .value = 0 | 0x21 },
drivers/media/usb/dvb-usb/dib0700_devices.c
2315
{ .component = BOARD_GPIO_COMPONENT_DEMOD, .function = BOARD_GPIO_FUNCTION_COMPONENT_ON, .mask = 0x10 | 0x21, .direction = 0 & ~0x21, .value = (0x10 & ~0x1) | 0x20 },
drivers/media/usb/dvb-usb/dib0700_devices.c
2316
{ .component = BOARD_GPIO_COMPONENT_DEMOD, .function = BOARD_GPIO_FUNCTION_COMPONENT_OFF, .mask = 0x10 | 0x21, .direction = 0 & ~0x21, .value = 0 | 0x21 },
drivers/media/usb/em28xx/em28xx-video.c
1122
ent->function = MEDIA_ENT_F_CONN_COMPOSITE;
drivers/media/usb/em28xx/em28xx-video.c
1125
ent->function = MEDIA_ENT_F_CONN_SVIDEO;
drivers/media/usb/em28xx/em28xx-video.c
1129
ent->function = MEDIA_ENT_F_CONN_RF;
drivers/media/usb/em28xx/em28xx-video.c
1152
v4l2->decoder->function = MEDIA_ENT_F_ATV_DECODER;
drivers/media/usb/uvc/uvc_driver.c
2192
int function;
drivers/media/usb/uvc/uvc_driver.c
2234
function = intf->intf_assoc->iFunction;
drivers/media/usb/uvc/uvc_driver.c
2236
function = intf->cur_altsetting->desc.iInterface;
drivers/media/usb/uvc/uvc_driver.c
2237
if (function != 0) {
drivers/media/usb/uvc/uvc_driver.c
2242
usb_string(udev, function, dev->name + len,
drivers/media/usb/uvc/uvc_entity.c
110
function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN;
drivers/media/usb/uvc/uvc_entity.c
114
entity->subdev.entity.function = function;
drivers/media/usb/uvc/uvc_entity.c
76
u32 function;
drivers/media/usb/uvc/uvc_entity.c
84
function = MEDIA_ENT_F_VID_MUX;
drivers/media/usb/uvc/uvc_entity.c
89
function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/media/usb/uvc/uvc_entity.c
93
function = MEDIA_ENT_F_CONN_COMPOSITE;
drivers/media/usb/uvc/uvc_entity.c
96
function = MEDIA_ENT_F_CONN_SVIDEO;
drivers/media/usb/uvc/uvc_entity.c
99
function = MEDIA_ENT_F_CAM_SENSOR;
drivers/media/v4l2-core/tuner-core.c
740
t->sd.entity.function = MEDIA_ENT_F_IF_VID_DECODER;
drivers/media/v4l2-core/tuner-core.c
750
t->sd.entity.function = MEDIA_ENT_F_TUNER;
drivers/media/v4l2-core/v4l2-async.c
322
if (sd->entity.function != MEDIA_ENT_F_LENS &&
drivers/media/v4l2-core/v4l2-async.c
323
sd->entity.function != MEDIA_ENT_F_FLASH)
drivers/media/v4l2-core/v4l2-dev.c
207
if (vdev->entity.function != MEDIA_ENT_F_UNKNOWN)
drivers/media/v4l2-core/v4l2-dev.c
830
vdev->entity.function = MEDIA_ENT_F_UNKNOWN;
drivers/media/v4l2-core/v4l2-dev.c
835
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/v4l2-core/v4l2-dev.c
839
vdev->entity.function = MEDIA_ENT_F_IO_VBI;
drivers/media/v4l2-core/v4l2-dev.c
843
vdev->entity.function = MEDIA_ENT_F_IO_SWRADIO;
drivers/media/v4l2-core/v4l2-dev.c
847
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
drivers/media/v4l2-core/v4l2-dev.c
865
if (vdev->entity.function != MEDIA_ENT_F_UNKNOWN) {
drivers/media/v4l2-core/v4l2-dev.c
890
if (vdev->entity.function != MEDIA_ENT_F_UNKNOWN) {
drivers/media/v4l2-core/v4l2-flash-led-class.c
683
sd->entity.function = MEDIA_ENT_F_FLASH;
drivers/media/v4l2-core/v4l2-mc.c
241
switch (entity->function) {
drivers/media/v4l2-core/v4l2-mc.c
37
switch (entity->function) {
drivers/media/v4l2-core/v4l2-mc.c
85
if (entity->function != MEDIA_ENT_F_CAM_SENSOR)
drivers/media/v4l2-core/v4l2-mem2mem.c
1036
struct video_device *vdev, int function)
drivers/media/v4l2-core/v4l2-mem2mem.c
1076
entity->function = function;
drivers/media/v4l2-core/v4l2-mem2mem.c
1095
struct video_device *vdev, int function)
drivers/media/v4l2-core/v4l2-mem2mem.c
1116
MEM2MEM_ENT_TYPE_PROC, vdev, function);
drivers/media/v4l2-core/v4l2-subdev.c
2687
sd->entity.function = MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN;
drivers/message/fusion/mptctl.c
1747
u8 function;
drivers/message/fusion/mptctl.c
1804
function = -1;
drivers/message/fusion/mptctl.c
1809
function = hdr->Function;
drivers/message/fusion/mptctl.c
1817
switch (function) {
drivers/message/fusion/mptctl.c
2202
if (function == MPI_FUNCTION_SCSI_TASK_MGMT)
drivers/message/fusion/mptctl.c
2210
ioc->name, mpt_GetIocState(ioc, 0), function);
drivers/message/fusion/mptctl.c
2211
if (function == MPI_FUNCTION_SCSI_TASK_MGMT)
drivers/message/fusion/mptctl.c
2220
if (function == MPI_FUNCTION_SCSI_TASK_MGMT)
drivers/message/fusion/mptctl.c
466
u8 function = mf->u.hdr.Function;
drivers/message/fusion/mptctl.c
487
if (function == MPI_FUNCTION_SCSI_IO_REQUEST)
drivers/message/fusion/mptctl.c
491
else if (function == MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH)
drivers/message/fusion/mptctl.c
498
if ((function == MPI_FUNCTION_SCSI_IO_REQUEST) ||
drivers/message/fusion/mptctl.c
499
(function == MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH))
drivers/message/fusion/mptsas.c
2821
u8 function;
drivers/message/fusion/mptsas.c
2828
u8 function; /* 0x01 */
drivers/message/fusion/mptsas.c
2910
manufacture_request->function = 1;
drivers/misc/ibmasm/i2o.h
18
u8 function;
drivers/misc/ibmasm/i2o.h
26
.function = 0xFF, \
drivers/mtd/maps/vmu-flash.c
604
test_flash_data = be32_to_cpu(mdev->devinfo.function);
drivers/mtd/maps/vmu-flash.c
792
.function = MAPLE_FUNC_MEMCARD,
drivers/net/ethernet/3com/3c515.c
498
corkscrew_isapnp_adapters[i].function,
drivers/net/ethernet/8390/ne.c
251
isapnp_clone_list[i].function,
drivers/net/ethernet/8390/smc-ultra.c
347
ultra_device_ids[i].function,
drivers/net/ethernet/cavium/liquidio/lio_main.c
875
u8 bus, device, function;
drivers/net/ethernet/cavium/liquidio/lio_main.c
884
function = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/cavium/liquidio/lio_main.c
888
bus, device, function);
drivers/net/ethernet/chelsio/cxgb3/sge.c
3202
if (q->tx_reclaim_timer.function)
drivers/net/ethernet/chelsio/cxgb3/sge.c
3206
if (q->rx_reclaim_timer.function)
drivers/net/ethernet/chelsio/cxgb3/sge.c
3225
if (q->tx_reclaim_timer.function)
drivers/net/ethernet/chelsio/cxgb3/sge.c
3227
if (q->rx_reclaim_timer.function)
drivers/net/ethernet/chelsio/cxgb3/sge.c
656
q->tx_reclaim_timer.function = NULL; /* for t3_stop_sge_timers() */
drivers/net/ethernet/chelsio/cxgb3/sge.c
657
q->rx_reclaim_timer.function = NULL;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
1144
if (adap->flower_stats_timer.function)
drivers/net/ethernet/chelsio/cxgb4/sge.c
4999
if (s->rx_timer.function)
drivers/net/ethernet/chelsio/cxgb4/sge.c
5001
if (s->tx_timer.function)
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2611
if (s->rx_timer.function)
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
2613
if (s->tx_timer.function)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11500
if (hdev->reset_timer.function)
drivers/net/ethernet/huawei/hinic3/hinic3_hw_intf.h
275
u8 function;
drivers/net/ethernet/huawei/hinic3/hinic3_lld.c
367
bdf_info.function = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/i40e/i40e_main.c
16180
if (pf->service_timer.function)
drivers/net/ethernet/intel/ice/ice_main.c
1701
if (pf->serv_tmr.function)
drivers/net/ethernet/mellanox/mlx4/cmd.c
530
ret = mlx4_master_process_vhcr(dev, dev->caps.function, vhcr);
drivers/net/ethernet/mellanox/mlx4/cmd.c
828
out_param = (u64) dev->caps.function | master_addr;
drivers/net/ethernet/mellanox/mlx4/cmd.c
830
in_param = (u64) dev->caps.function | master_addr;
drivers/net/ethernet/mellanox/mlx4/eq.c
229
slave == dev->caps.function ||
drivers/net/ethernet/mellanox/mlx4/eq.c
547
if (!ret && slave != dev->caps.function) {
drivers/net/ethernet/mellanox/mlx4/eq.c
583
if (!ret && slave != dev->caps.function) {
drivers/net/ethernet/mellanox/mlx4/eq.c
702
if (!ret && slave != dev->caps.function) {
drivers/net/ethernet/mellanox/mlx4/eq.c
773
if (i == dev->caps.function)
drivers/net/ethernet/mellanox/mlx4/eq.c
890
if (slave == dev->caps.function)
drivers/net/ethernet/mellanox/mlx4/fw.c
1441
if (!err && dev->caps.function != slave) {
drivers/net/ethernet/mellanox/mlx4/fw.c
1668
dev->caps.function = lg;
drivers/net/ethernet/mellanox/mlx4/fw.c
2243
static int check_qp0_state(struct mlx4_dev *dev, int function, int port)
drivers/net/ethernet/mellanox/mlx4/fw.c
240
func->function = field & 0x7;
drivers/net/ethernet/mellanox/mlx4/fw.c
251
func->bus, func->device, func->function, func->physical_function,
drivers/net/ethernet/mellanox/mlx4/fw.h
161
int function;
drivers/net/ethernet/mellanox/mlx4/mlx4.h
1351
int mlx4_common_set_vlan_fltr(struct mlx4_dev *dev, int function,
drivers/net/ethernet/mellanox/mlx4/mlx4.h
487
u8 function;
drivers/net/ethernet/mellanox/mlx4/port.c
1343
if (slave != dev->caps.function &&
drivers/net/ethernet/mellanox/mlx4/port.c
1502
if (slave != dev->caps.function)
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
3347
slave == dev->caps.function ||
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
659
dev->caps.function != i)
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
663
i = dev->caps.function;
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
102
static struct rb_root *page_root_per_function(struct mlx5_core_dev *dev, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
107
root = xa_load(&dev->priv.page_root_xa, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
115
err = xa_insert(&dev->priv.page_root_xa, function, root, GFP_KERNEL);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
126
static int insert_page(struct mlx5_core_dev *dev, u64 addr, struct page *page, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
135
root = page_root_per_function(dev, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
158
nfp->function = function;
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
171
u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
178
root = xa_load(&dev->priv.page_root_xa, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
222
static int alloc_4k(struct mlx5_core_dev *dev, u64 *addr, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
229
if (iter->function != function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
260
root = xa_load(&dev->priv.page_root_xa, fwp->function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
273
static void free_4k(struct mlx5_core_dev *dev, u64 addr, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
278
fwp = find_fw_page(dev, addr & MLX5_U64_4K_PAGE_MASK, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
292
static int alloc_system_page(struct mlx5_core_dev *dev, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
320
err = insert_page(dev, addr, page, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
357
u32 function = get_function(func_id, ec_function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
377
err = alloc_4k(dev, &addr, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
380
err = alloc_system_page(dev, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
427
free_4k(dev, MLX5_GET64(manage_pages_in, in, pas[i]), function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
438
u32 function = get_function(func_id, ec_function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
444
root = xa_load(&dev->priv.page_root_xa, function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
524
u32 function = get_function(func_id, ec_function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
575
free_4k(dev, MLX5_GET64(manage_pages_out, out, pas[i]), function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
61
u32 function;
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
705
struct rb_root *root, u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
711
u32 ec_function = mlx5_get_ec_function(function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
712
u32 function_id = mlx5_get_func_id(function);
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
92
static u32 mlx5_get_ec_function(u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
94
return function >> 16;
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
97
static u32 mlx5_get_func_id(u32 function)
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
99
return function & 0xffff;
drivers/net/ethernet/micrel/ksz884x.c
3960
void (*function)(struct timer_list *))
drivers/net/ethernet/micrel/ksz884x.c
3964
timer_setup(&info->timer, function, 0);
drivers/net/ethernet/qlogic/qed/qed_l2.c
2781
cb.function = qed_arfs_sp_response_handler;
drivers/net/ethernet/qlogic/qed/qed_sp.h
26
void (*function)(struct qed_hwfn *p_hwfn,
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
77
p_ent->comp_cb.function = NULL;
drivers/net/ethernet/qlogic/qed/qed_spq.c
166
p_ent->comp_cb.function = qed_spq_blocking_cb;
drivers/net/ethernet/qlogic/qed/qed_spq.c
983
p_ent->comp_cb.function, p_ent->comp_cb.cookie);
drivers/net/ethernet/qlogic/qed/qed_spq.c
984
if (found->comp_cb.function)
drivers/net/ethernet/qlogic/qed/qed_spq.c
985
found->comp_cb.function(p_hwfn, found->comp_cb.cookie, p_data,
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1879
u8 *mac, u8 function)
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1881
return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2165
u8 function)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
822
u8 function)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
832
cmd.req.arg[1] = function | BIT_8;
drivers/net/ethernet/ti/tlan.c
1407
if (priv->timer.function == NULL) {
drivers/net/ethernet/ti/tlan.c
1408
priv->timer.function = tlan_timer;
drivers/net/ethernet/ti/tlan.c
1558
if (priv->timer.function == NULL) {
drivers/net/ethernet/ti/tlan.c
1559
priv->timer.function = tlan_timer;
drivers/net/ethernet/ti/tlan.c
1823
priv->timer.function = NULL;
drivers/net/ethernet/ti/tlan.c
1846
if (priv->timer.function == NULL) {
drivers/net/ethernet/ti/tlan.c
255
if (priv->timer.function != NULL &&
drivers/net/ethernet/ti/tlan.c
260
priv->timer.function = tlan_timer;
drivers/net/ethernet/ti/tlan.c
340
if (priv->timer.function != NULL) {
drivers/net/ethernet/ti/tlan.c
342
priv->timer.function = NULL;
drivers/net/hamradio/scc.c
1010
scc->tx_t.function = handler;
drivers/net/hamradio/scc.c
1036
scc->tx_wdog.function = t_busy;
drivers/net/hamradio/scc.c
1052
scc->tx_wdog.function = t_maxkeyup;
drivers/net/hamradio/scc.c
1433
scc->tx_wdog.function = scc_stop_calibrate;
drivers/net/usb/hso.c
299
static void handle_usb_error(int status, const char *function,
drivers/net/usb/hso.c
639
static void handle_usb_error(int status, const char *function,
drivers/net/usb/hso.c
684
function, explanation, status);
drivers/net/wireguard/queueing.c
10
wg_packet_percpu_multicore_worker_alloc(work_func_t function, void *ptr)
drivers/net/wireguard/queueing.c
20
INIT_WORK(&per_cpu_ptr(worker, cpu)->work, function);
drivers/net/wireguard/queueing.c
25
int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
drivers/net/wireguard/queueing.c
35
queue->worker = wg_packet_percpu_multicore_worker_alloc(function, queue);
drivers/net/wireguard/queueing.h
24
int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
drivers/net/wireguard/queueing.h
28
wg_packet_percpu_multicore_worker_alloc(work_func_t function, void *ptr);
drivers/net/wireless/intel/iwlwifi/iwl-debug.c
68
u32 level, bool limit, const char *function,
drivers/net/wireless/intel/iwlwifi/iwl-debug.c
81
dev_printk(KERN_DEBUG, dev, "%s %pV", function, &vaf);
drivers/net/wireless/intel/iwlwifi/iwl-debug.c
83
trace_iwlwifi_dbg(level, function, &vaf);
drivers/net/wireless/intel/iwlwifi/iwl-debug.h
72
u32 level, bool limit, const char *function,
drivers/net/wireless/intel/iwlwifi/iwl-debug.h
77
u32 level, bool limit, const char *function,
drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h
50
TP_PROTO(u32 level, const char *function,
drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h
52
TP_ARGS(level, function, vaf),
drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h
55
__string(function, function)
drivers/net/wireless/intel/iwlwifi/iwl-devtrace-msg.h
60
__assign_str(function);
drivers/net/wireless/marvell/mwifiex/usb.c
1352
if (port->tx_aggr.timer_cnxt.hold_timer.function)
drivers/net/wireless/microchip/wilc1000/sdio.c
104
func->num = cmd->function;
drivers/net/wireless/microchip/wilc1000/sdio.c
242
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
305
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
345
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
385
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
39
u32 function: 3;
drivers/net/wireless/microchip/wilc1000/sdio.c
404
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
434
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
440
cmd.function = 1;
drivers/net/wireless/microchip/wilc1000/sdio.c
47
u32 function: 3;
drivers/net/wireless/microchip/wilc1000/sdio.c
505
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
523
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
557
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
563
cmd.function = 1;
drivers/net/wireless/microchip/wilc1000/sdio.c
632
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
688
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
712
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
727
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
74
func->num = cmd->function;
drivers/net/wireless/microchip/wilc1000/sdio.c
761
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
784
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
814
cmd.function = 1;
drivers/net/wireless/microchip/wilc1000/sdio.c
817
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
867
cmd.function = 0;
drivers/net/wireless/microchip/wilc1000/sdio.c
897
cmd.function = 0;
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
914
u8 function;
drivers/net/wireless/realtek/rtlwifi/wifi.h
241
u8 function;
drivers/net/wireless/realtek/rtw88/fw.h
319
u8 function;
drivers/net/wireless/realtek/rtw88/fw.h
348
u8 function;
drivers/net/wireless/rsi/rsi_91x_sdio.c
144
static void rsi_handle_interrupt(struct sdio_func *function)
drivers/net/wireless/rsi/rsi_91x_sdio.c
146
struct rsi_hw *adapter = sdio_get_drvdata(function);
drivers/net/wireless/rsi/rsi_91x_sdio.c
435
u8 function,
drivers/net/wireless/rsi/rsi_91x_sdio.c
445
if (function == 0)
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
150
u8 function = 0;
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
157
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
173
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
189
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
202
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
213
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
34
u8 function = 0;
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
43
function,
drivers/net/wireless/rsi/rsi_91x_sdio_ops.c
57
function,
drivers/net/wireless/rsi/rsi_sdio.h
129
int rsi_sdio_write_register(struct rsi_hw *adapter, u8 function,
drivers/pci/controller/pci-loongson.c
219
unsigned int function)
drivers/pci/controller/pci-loongson.c
222
(device >= 9 && device <= 20) && (function > 0));
drivers/pci/controller/pci-loongson.c
229
unsigned int function = PCI_FUNC(devfn);
drivers/pci/controller/pci-loongson.c
243
if (!pdev_may_exist(bus, device, function))
drivers/pci/hotplug/acpiphp.h
104
u8 function; /* pci function# */
drivers/pci/hotplug/acpiphp_glue.c
236
int device, function;
drivers/pci/hotplug/acpiphp_glue.c
253
function = adr & 0xffff;
drivers/pci/hotplug/acpiphp_glue.c
263
newfunc->function = function;
drivers/pci/hotplug/acpiphp_glue.c
332
if (pci_bus_read_dev_vendor_id(pbus, PCI_DEVFN(device, function),
drivers/pci/hotplug/acpiphp_glue.c
423
if (PCI_FUNC(dev->devfn) == func->function) {
drivers/pci/hotplug/acpiphp_glue.c
538
func->function));
drivers/pci/hotplug/acpiphp_glue.c
615
PCI_DEVFN(slot->device, func->function),
drivers/pci/hotplug/cpqphp.h
229
u8 function;
drivers/pci/hotplug/cpqphp_core.c
423
u8 function;
drivers/pci/hotplug/cpqphp_core.c
431
function = devfn & 0x7;
drivers/pci/hotplug/cpqphp_core.c
432
dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function);
drivers/pci/hotplug/cpqphp_core.c
434
slot_func = cpqhp_slot_find(bus, device, function);
drivers/pci/hotplug/cpqphp_core.c
450
u8 function;
drivers/pci/hotplug/cpqphp_core.c
458
function = devfn & 0x7;
drivers/pci/hotplug/cpqphp_core.c
459
dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function);
drivers/pci/hotplug/cpqphp_core.c
461
slot_func = cpqhp_slot_find(bus, device, function);
drivers/pci/hotplug/cpqphp_core.c
467
slot_func->function = function;
drivers/pci/hotplug/cpqphp_core.c
482
u8 function;
drivers/pci/hotplug/cpqphp_core.c
490
function = devfn & 0x7;
drivers/pci/hotplug/cpqphp_core.c
491
dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function);
drivers/pci/hotplug/cpqphp_core.c
493
slot_func = cpqhp_slot_find(bus, device, function);
drivers/pci/hotplug/cpqphp_ctrl.c
1505
rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR_ID, &temp_register);
drivers/pci/hotplug/cpqphp_ctrl.c
1706
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1973
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2003
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2045
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_ctrl.c
2213
u8 temp_byte, function, max_functions, stop_it;
drivers/pci/hotplug/cpqphp_ctrl.c
2224
rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte);
drivers/pci/hotplug/cpqphp_ctrl.c
2235
function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2254
function++;
drivers/pci/hotplug/cpqphp_ctrl.c
2261
while ((function < max_functions) && (!stop_it)) {
drivers/pci/hotplug/cpqphp_ctrl.c
2262
pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID);
drivers/pci/hotplug/cpqphp_ctrl.c
2265
function++;
drivers/pci/hotplug/cpqphp_ctrl.c
2275
new_slot->function = function;
drivers/pci/hotplug/cpqphp_ctrl.c
2283
} while (function < max_functions);
drivers/pci/hotplug/cpqphp_ctrl.c
2338
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_ctrl.c
2519
new_slot->function = 0;
drivers/pci/hotplug/cpqphp_nvram.c
423
u8 bus, device, function;
drivers/pci/hotplug/cpqphp_nvram.c
463
function = p_ev_ctrl->function;
drivers/pci/hotplug/cpqphp_nvram.c
467
(function != PCI_FUNC(ctrl->pci_dev->devfn))) {
drivers/pci/hotplug/cpqphp_nvram.c
493
function = p_ev_ctrl->function;
drivers/pci/hotplug/cpqphp_nvram.c
67
u8 function;
drivers/pci/hotplug/cpqphp_pci.c
1034
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
121
dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
1261
while (func && (func->function != (dev_func & 0x07))) {
drivers/pci/hotplug/cpqphp_pci.c
302
int function;
drivers/pci/hotplug/cpqphp_pci.c
340
new_slot->function = 0;
drivers/pci/hotplug/cpqphp_pci.c
362
function = 0;
drivers/pci/hotplug/cpqphp_pci.c
370
rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_SECONDARY_BUS, &secondary_bus);
drivers/pci/hotplug/cpqphp_pci.c
389
(new_slot->function != (u8) function))
drivers/pci/hotplug/cpqphp_pci.c
401
new_slot->function = (u8) function;
drivers/pci/hotplug/cpqphp_pci.c
406
devfn = (new_slot->device << 3) | new_slot->function;
drivers/pci/hotplug/cpqphp_pci.c
411
rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, function), cloop << 2, (u32 *) &(new_slot->config_space[cloop]));
drivers/pci/hotplug/cpqphp_pci.c
418
function++;
drivers/pci/hotplug/cpqphp_pci.c
425
while ((function < max_functions) && (!stop_it)) {
drivers/pci/hotplug/cpqphp_pci.c
426
rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_VENDOR_ID, &ID);
drivers/pci/hotplug/cpqphp_pci.c
428
function++;
drivers/pci/hotplug/cpqphp_pci.c
431
rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), 0x0B, &class_code);
drivers/pci/hotplug/cpqphp_pci.c
435
rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_HEADER_TYPE, &header_type);
drivers/pci/hotplug/cpqphp_pci.c
442
} while (function < max_functions);
drivers/pci/hotplug/cpqphp_pci.c
466
int function = 0;
drivers/pci/hotplug/cpqphp_pci.c
486
while (function < max_functions) {
drivers/pci/hotplug/cpqphp_pci.c
489
pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_SECONDARY_BUS, &secondary_bus);
drivers/pci/hotplug/cpqphp_pci.c
506
pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), cloop << 2, (u32 *) &(new_slot->config_space[cloop]));
drivers/pci/hotplug/cpqphp_pci.c
508
function++;
drivers/pci/hotplug/cpqphp_pci.c
515
while ((function < max_functions) && (!stop_it)) {
drivers/pci/hotplug/cpqphp_pci.c
516
pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_VENDOR_ID, &ID);
drivers/pci/hotplug/cpqphp_pci.c
519
function++;
drivers/pci/hotplug/cpqphp_pci.c
521
pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code);
drivers/pci/hotplug/cpqphp_pci.c
522
pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), PCI_HEADER_TYPE, &header_type);
drivers/pci/hotplug/cpqphp_pci.c
560
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
705
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
83
func->function));
drivers/pci/hotplug/cpqphp_pci.c
89
num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/cpqphp_pci.c
95
func->function));
drivers/pci/hotplug/cpqphp_pci.c
952
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
988
dbg("bus = %x, device = %x, function = %x\n", func->bus, func->device, func->function);
drivers/pci/hotplug/ibmphp.h
679
u8 function;
drivers/pci/hotplug/ibmphp_core.c
1014
function = 0x00;
drivers/pci/hotplug/ibmphp_core.c
1017
function++);
drivers/pci/hotplug/ibmphp_core.c
539
static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function)
drivers/pci/hotplug/ibmphp_core.c
549
(func_cur->function == function))
drivers/pci/hotplug/ibmphp_core.c
594
func->device, func->function);
drivers/pci/hotplug/ibmphp_core.c
673
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
681
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
686
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
897
u8 function;
drivers/pci/hotplug/ibmphp_pci.c
1051
u8 device, function;
drivers/pci/hotplug/ibmphp_pci.c
1077
for (function = 0; function < 8; function++) {
drivers/pci/hotplug/ibmphp_pci.c
1078
devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_pci.c
1128
debug("count %d device %x function %x wants %x resources\n", count, device, function, bar[count]);
drivers/pci/hotplug/ibmphp_pci.c
1182
static int unconfigure_boot_device(u8 busno, u8 device, u8 function)
drivers/pci/hotplug/ibmphp_pci.c
1213
devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_pci.c
1225
debug("busno, device, function %x %x %x\n", busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
1303
static int unconfigure_boot_bridge(u8 busno, u8 device, u8 function)
drivers/pci/hotplug/ibmphp_pci.c
1320
devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_pci.c
1422
u8 function;
drivers/pci/hotplug/ibmphp_pci.c
143
function = 0x8;
drivers/pci/hotplug/ibmphp_pci.c
1434
for (function = 0x0; function < 0x08; function++) {
drivers/pci/hotplug/ibmphp_pci.c
1435
devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_pci.c
1457
err("The device %x function %x is VGA compatible and is not supported for hot removing. Please choose another device.\n", device, function);
drivers/pci/hotplug/ibmphp_pci.c
1460
err("The device %x function %x is not supported for hot removing. Please choose another device.\n", device, function);
drivers/pci/hotplug/ibmphp_pci.c
1466
rc = unconfigure_boot_device(busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
1469
device, function, busno);
drivers/pci/hotplug/ibmphp_pci.c
1472
function = 0x8;
drivers/pci/hotplug/ibmphp_pci.c
1475
rc = unconfigure_boot_device(busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
1478
device, function, busno);
drivers/pci/hotplug/ibmphp_pci.c
1485
err("This device %x function %x is not PCI-to-PCI bridge, and is not supported for hot-removing. Please try another card.\n", device, function);
drivers/pci/hotplug/ibmphp_pci.c
1488
rc = unconfigure_boot_bridge(busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
1494
function = 0x8;
drivers/pci/hotplug/ibmphp_pci.c
1499
err("This device %x function %x is not PCI-to-PCI bridge, and is not supported for hot-removing. Please try another card.\n", device, function);
drivers/pci/hotplug/ibmphp_pci.c
1502
rc = unconfigure_boot_bridge(busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
257
cur_func->busno, device, function);
drivers/pci/hotplug/ibmphp_pci.c
292
function = 0x8;
drivers/pci/hotplug/ibmphp_pci.c
352
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
394
io[count]->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
401
func->busno, func->device, func->function, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
431
func->function);
drivers/pci/hotplug/ibmphp_pci.c
495
func->function);
drivers/pci/hotplug/ibmphp_pci.c
579
devfn = PCI_DEVFN(func->function, func->device);
drivers/pci/hotplug/ibmphp_pci.c
660
func->function);
drivers/pci/hotplug/ibmphp_pci.c
691
func->function);
drivers/pci/hotplug/ibmphp_pci.c
73
u8 function;
drivers/pci/hotplug/ibmphp_pci.c
746
func->function);
drivers/pci/hotplug/ibmphp_pci.c
815
io->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
836
mem->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
857
pfmem->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
92
for (function = 0x00; function < 0x08; function++) {
drivers/pci/hotplug/ibmphp_pci.c
93
unsigned int devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_pci.c
96
cur_func->function = function;
drivers/pci/hotplug/ibmphp_pci.c
99
cur_func->busno, cur_func->device, cur_func->function);
drivers/pci/hotplug/ibmphp_res.c
1908
u8 sec_busno, device, function, hdr_type, start_io_address, end_io_address;
drivers/pci/hotplug/ibmphp_res.c
1928
for (function = 0x00; function < 0x08; function++) {
drivers/pci/hotplug/ibmphp_res.c
1929
devfn = PCI_DEVFN(device, function);
drivers/pci/hotplug/ibmphp_res.c
1938
function = 0x8;
drivers/pci/hotplug/ibmphp_res.c
1943
function = 0x8;
drivers/pci/hotplug/ibmphp_res.c
2003
io->devfunc = ((device << 3) | (function & 0x7));
drivers/pci/hotplug/ibmphp_res.c
2051
mem->devfunc = ((device << 3) | (function & 0x7));
drivers/pci/hotplug/ibmphp_res.c
2102
pfmem->devfunc = ((device << 3) | (function & 0x7));
drivers/pcmcia/cistpl.c
446
int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/cistpl.c
463
if (pccard_get_next_tuple(s, function, tuple) == 0) {
drivers/pcmcia/cistpl.c
465
if (pccard_get_next_tuple(s, function, tuple) != 0)
drivers/pcmcia/cistpl.c
471
return pccard_get_next_tuple(s, function, tuple);
drivers/pcmcia/cistpl.c
521
int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/cistpl.c
594
if (function == BIND_FN_ALL) {
drivers/pcmcia/cistpl.c
604
tuple->LinkOffset += function * 5;
drivers/pcmcia/cs_internal.h
159
int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/cs_internal.h
166
int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/cs_internal.h
169
int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/ds.c
100
__u8 func_id, function, device_no;
drivers/pcmcia/ds.c
1031
static DEVICE_ATTR_RO(function);
drivers/pcmcia/ds.c
106
&match_flags, &manf_id, &card_id, &func_id, &function, &device_no,
drivers/pcmcia/ds.c
119
dynid->id.function = function;
drivers/pcmcia/ds.c
480
unsigned int function)
drivers/pcmcia/ds.c
489
pr_debug("adding device to %d, function %d\n", s->sock, function);
drivers/pcmcia/ds.c
500
if ((p_dev->device_no >= 2) && (function == 0))
drivers/pcmcia/ds.c
508
p_dev->func = function;
drivers/pcmcia/ds.c
814
if (dev->func != did->function)
drivers/pcmcia/i82365.c
762
if ((dev = pnp_find_dev(NULL, devid->vendor, devid->function, NULL))) {
drivers/pcmcia/pcmcia_cis.c
104
ret = pccard_get_first_tuple(s, function, &tuple);
drivers/pcmcia/pcmcia_cis.c
118
ret = pccard_get_next_tuple(s, function, &tuple);
drivers/pcmcia/pcmcia_cis.c
35
int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/pcmcia/pcmcia_cis.c
49
if (function == BIND_FN_ALL)
drivers/pcmcia/pcmcia_cis.c
51
ret = pccard_get_first_tuple(s, function, &tuple);
drivers/pcmcia/pcmcia_cis.c
82
static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
drivers/phy/marvell/phy-mvebu-cp110-comphy.c
276
static int mvebu_comphy_smc(unsigned long function, unsigned long phys,
drivers/phy/marvell/phy-mvebu-cp110-comphy.c
282
arm_smccc_smc(function, phys, lane, mode, 0, 0, 0, 0, &res);
drivers/phy/tegra/xusb.c
119
const char *function;
drivers/phy/tegra/xusb.c
122
err = of_property_read_string(np, "nvidia,function", &function);
drivers/phy/tegra/xusb.c
126
err = match_string(lane->soc->funcs, lane->soc->num_funcs, function);
drivers/phy/tegra/xusb.c
129
function, np);
drivers/phy/tegra/xusb.c
133
lane->function = err;
drivers/phy/tegra/xusb.c
336
value |= lane->function << soc->shift;
drivers/phy/tegra/xusb.c
392
const char *function)
drivers/phy/tegra/xusb.c
394
const char *func = lane->soc->funcs[lane->function];
drivers/phy/tegra/xusb.c
396
return strcmp(function, func) == 0;
drivers/phy/tegra/xusb.c
424
const char *function)
drivers/phy/tegra/xusb.c
437
if (!tegra_xusb_lane_check(lane, function))
drivers/phy/tegra/xusb.h
143
bool tegra_xusb_lane_check(struct tegra_xusb_lane *lane, const char *function);
drivers/phy/tegra/xusb.h
306
const char *function);
drivers/phy/tegra/xusb.h
51
unsigned int function;
drivers/pinctrl/actions/pinctrl-owl.c
145
unsigned int function)
drivers/pinctrl/actions/pinctrl-owl.c
149
return pctrl->soc->functions[function].name;
drivers/pinctrl/actions/pinctrl-owl.c
153
unsigned int function,
drivers/pinctrl/actions/pinctrl-owl.c
159
*groups = pctrl->soc->functions[function].groups;
drivers/pinctrl/actions/pinctrl-owl.c
160
*num_groups = pctrl->soc->functions[function].ngroups;
drivers/pinctrl/actions/pinctrl-owl.c
166
int function,
drivers/pinctrl/actions/pinctrl-owl.c
175
if (g->funcs[id] == function)
drivers/pinctrl/actions/pinctrl-owl.c
193
unsigned int function,
drivers/pinctrl/actions/pinctrl-owl.c
203
if (get_group_mfp_mask_val(g, function, &mask, &val))
drivers/pinctrl/aspeed/pinctrl-aspeed.c
151
if (strcmp((*exprs)->function, name) == 0)
drivers/pinctrl/aspeed/pinctrl-aspeed.c
205
return expr->function;
drivers/pinctrl/aspeed/pinctrl-aspeed.c
223
int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/aspeed/pinctrl-aspeed.c
231
&pdata->pinmux.functions[function];
drivers/pinctrl/aspeed/pinctrl-aspeed.c
282
expr->function);
drivers/pinctrl/aspeed/pinctrl-aspeed.c
360
!strcmp(expr->signal, expr->function);
drivers/pinctrl/aspeed/pinctrl-aspeed.c
55
unsigned int function)
drivers/pinctrl/aspeed/pinctrl-aspeed.c
59
return pdata->pinmux.functions[function].name;
drivers/pinctrl/aspeed/pinctrl-aspeed.c
63
unsigned int function,
drivers/pinctrl/aspeed/pinctrl-aspeed.c
69
*groups = pdata->pinmux.functions[function].groups;
drivers/pinctrl/aspeed/pinctrl-aspeed.c
70
*num_groups = pdata->pinmux.functions[function].ngroups;
drivers/pinctrl/aspeed/pinctrl-aspeed.c
81
expr->function);
drivers/pinctrl/aspeed/pinctrl-aspeed.c
99
expr->function);
drivers/pinctrl/aspeed/pinctrl-aspeed.h
95
unsigned int function);
drivers/pinctrl/aspeed/pinctrl-aspeed.h
97
unsigned int function, const char * const **groups,
drivers/pinctrl/aspeed/pinctrl-aspeed.h
99
int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/aspeed/pinmux-aspeed.h
465
const char *function;
drivers/pinctrl/aspeed/pinmux-aspeed.h
523
.function = #func, \
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1628
unsigned int function)
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1632
return pdata->info->functions[function].name;
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1636
unsigned int function,
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1642
*groups = pdata->info->functions[function].groups;
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1643
*num_groups = pdata->info->functions[function].ngroups;
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1649
unsigned int function,
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1653
const struct bcm281xx_pin_function *f = &pdata->info->functions[function];
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1661
__func__, f->name, function, pdata->info->pins[group].name,
drivers/pinctrl/bcm/pinctrl-bcm281xx.c
1674
function << BCM281XX_PIN_REG_F_SEL_SHIFT);
drivers/pinctrl/bcm/pinctrl-bcm2835.c
788
map->data.mux.function = bcm2835_functions[fnum];
drivers/pinctrl/bcm/pinctrl-bcm4908.c
41
unsigned int function;
drivers/pinctrl/bcm/pinctrl-bcm4908.c
436
lsb |= group->pins[i].function << BCM4908_TEST_PORT_LSB_PINMUX_DATA_SHIFT;
drivers/pinctrl/bcm/pinctrl-bcm4908.c
540
const struct bcm4908_pinctrl_function *function = &bcm4908_pinctrl_functions[i];
drivers/pinctrl/bcm/pinctrl-bcm4908.c
543
function->name,
drivers/pinctrl/bcm/pinctrl-bcm4908.c
544
function->groups,
drivers/pinctrl/bcm/pinctrl-bcm4908.c
545
function->num_groups, NULL);
drivers/pinctrl/bcm/pinctrl-ns.c
274
const struct ns_pinctrl_function *function = &ns_pinctrl_functions[i];
drivers/pinctrl/bcm/pinctrl-ns.c
276
if (!(function->chipsets & ns_pinctrl->chipset_flag))
drivers/pinctrl/bcm/pinctrl-ns.c
279
pinmux_generic_add_function(ns_pinctrl->pctldev, function->name,
drivers/pinctrl/bcm/pinctrl-ns.c
280
function->groups,
drivers/pinctrl/bcm/pinctrl-ns.c
281
function->num_groups, NULL);
drivers/pinctrl/berlin/berlin.c
113
unsigned function)
drivers/pinctrl/berlin/berlin.c
117
return pctrl->functions[function].name;
drivers/pinctrl/berlin/berlin.c
121
unsigned function,
drivers/pinctrl/berlin/berlin.c
127
*groups = pctrl->functions[function].groups;
drivers/pinctrl/berlin/berlin.c
128
*ngroups = pctrl->functions[function].ngroups;
drivers/pinctrl/berlin/berlin.c
138
struct berlin_desc_function *function = group->functions;
drivers/pinctrl/berlin/berlin.c
140
while (function->name) {
drivers/pinctrl/berlin/berlin.c
141
if (!strcmp(function->name, fname))
drivers/pinctrl/berlin/berlin.c
142
return function;
drivers/pinctrl/berlin/berlin.c
144
function++;
drivers/pinctrl/berlin/berlin.c
151
unsigned function,
drivers/pinctrl/berlin/berlin.c
156
struct pinfunction *func = pctrl->functions + function;
drivers/pinctrl/berlin/berlin.c
183
struct pinfunction *function = pctrl->functions;
drivers/pinctrl/berlin/berlin.c
185
while (function->name) {
drivers/pinctrl/berlin/berlin.c
186
if (!strcmp(function->name, name)) {
drivers/pinctrl/berlin/berlin.c
187
function->ngroups++;
drivers/pinctrl/berlin/berlin.c
190
function++;
drivers/pinctrl/berlin/berlin.c
193
function->name = name;
drivers/pinctrl/berlin/berlin.c
194
function->ngroups = 1;
drivers/pinctrl/berlin/berlin.c
248
struct pinfunction *function = pctrl->functions;
drivers/pinctrl/berlin/berlin.c
252
while (function->name) {
drivers/pinctrl/berlin/berlin.c
253
if (!strcmp(desc_function->name, function->name)) {
drivers/pinctrl/berlin/berlin.c
257
function++;
drivers/pinctrl/berlin/berlin.c
265
if (!function->groups) {
drivers/pinctrl/berlin/berlin.c
266
function->groups =
drivers/pinctrl/berlin/berlin.c
268
function->ngroups,
drivers/pinctrl/berlin/berlin.c
269
sizeof(*function->groups),
drivers/pinctrl/berlin/berlin.c
271
if (!function->groups) {
drivers/pinctrl/berlin/berlin.c
277
groups = (const char **)function->groups;
drivers/pinctrl/cix/pinctrl-sky1-base.c
301
unsigned int function,
drivers/pinctrl/cix/pinctrl-sky1-base.c
309
ret = sky1_pctrl_is_function_valid(spctl, g->pin, function);
drivers/pinctrl/cix/pinctrl-sky1-base.c
312
function, group);
drivers/pinctrl/cix/pinctrl-sky1-base.c
316
sky1_pmx_set_one_pin(spctl, g->pin, function);
drivers/pinctrl/cix/pinctrl-sky1-base.c
332
unsigned int function,
drivers/pinctrl/cix/pinctrl-sky1-base.c
89
(*map)[*num_maps].data.mux.function = sky1_gpio_functions[fnum];
drivers/pinctrl/core.c
622
const char *function)
drivers/pinctrl/core.c
632
if (gname && !strcmp(function, gname))
drivers/pinctrl/freescale/pinctrl-imx.c
105
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/freescale/pinctrl-imx.c
144
(*map)->data.mux.function, (*map)->data.mux.group, map_num);
drivers/pinctrl/freescale/pinctrl-imx1-core.c
261
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/freescale/pinctrl-imx1-core.c
277
(*map)->data.mux.function, (*map)->data.mux.group, map_num);
drivers/pinctrl/freescale/pinctrl-mxs.c
101
new_map[i].data.mux.function = np->name;
drivers/pinctrl/freescale/pinctrl-mxs.c
173
unsigned function)
drivers/pinctrl/freescale/pinctrl-mxs.c
177
return d->soc->functions[function].name;
drivers/pinctrl/intel/pinctrl-cherryview.c
1565
static acpi_status chv_pinctrl_mmio_access_handler(u32 function,
drivers/pinctrl/intel/pinctrl-cherryview.c
1573
if (function == ACPI_WRITE)
drivers/pinctrl/intel/pinctrl-cherryview.c
1575
else if (function == ACPI_READ)
drivers/pinctrl/intel/pinctrl-cherryview.c
656
unsigned int function, unsigned int group)
drivers/pinctrl/intel/pinctrl-intel.c
410
const char *intel_get_function_name(struct pinctrl_dev *pctldev, unsigned int function)
drivers/pinctrl/intel/pinctrl-intel.c
414
return pctrl->soc->functions[function].func.name;
drivers/pinctrl/intel/pinctrl-intel.c
418
int intel_get_function_groups(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/intel/pinctrl-intel.c
423
*groups = pctrl->soc->functions[function].func.groups;
drivers/pinctrl/intel/pinctrl-intel.c
424
*ngroups = pctrl->soc->functions[function].func.ngroups;
drivers/pinctrl/intel/pinctrl-intel.c
430
unsigned int function, unsigned int group)
drivers/pinctrl/intel/pinctrl-intel.h
288
const char *intel_get_function_name(struct pinctrl_dev *pctldev, unsigned int function);
drivers/pinctrl/intel/pinctrl-intel.h
289
int intel_get_function_groups(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/intel/pinctrl-lynxpoint.c
299
unsigned int function, unsigned int group)
drivers/pinctrl/intel/pinctrl-tangier.c
197
unsigned int function)
drivers/pinctrl/intel/pinctrl-tangier.c
201
return tp->functions[function].func.name;
drivers/pinctrl/intel/pinctrl-tangier.c
205
unsigned int function,
drivers/pinctrl/intel/pinctrl-tangier.c
211
*groups = tp->functions[function].func.groups;
drivers/pinctrl/intel/pinctrl-tangier.c
212
*ngroups = tp->functions[function].func.ngroups;
drivers/pinctrl/intel/pinctrl-tangier.c
217
unsigned int function,
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
516
(*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum];
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
691
unsigned function,
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
743
unsigned function,
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
751
ret = mtk_pctrl_is_function_valid(pctl, g->pin, function);
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
754
function, group);
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
758
desc = mtk_pctrl_find_function_by_pin(pctl, g->pin, function);
drivers/pinctrl/mediatek/pinctrl-paris.c
429
(*map)[*num_maps].data.mux.function = mtk_gpio_functions[fnum];
drivers/pinctrl/mediatek/pinctrl-paris.c
732
unsigned function,
drivers/pinctrl/mediatek/pinctrl-paris.c
745
unsigned function,
drivers/pinctrl/mediatek/pinctrl-paris.c
754
ret = mtk_pctrl_is_function_valid(hw, grp->pin, function);
drivers/pinctrl/mediatek/pinctrl-paris.c
757
function, group);
drivers/pinctrl/mediatek/pinctrl-paris.c
761
desc_func = mtk_pctrl_find_function_by_pin(hw, grp->pin, function);
drivers/pinctrl/microchip/pinctrl-mpfs-iomux0.c
190
const struct mpfs_iomux0_function *function;
drivers/pinctrl/microchip/pinctrl-mpfs-iomux0.c
193
function = &mpfs_iomux0_functions[fsel];
drivers/pinctrl/microchip/pinctrl-mpfs-iomux0.c
196
function->name, group->mask, group->setting);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
186
static int mpfs_pinctrl_function_map(const char *function)
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
191
if (!strcmp(function, mpfs_pinctrl_function_names[i]))
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
304
static int mpfs_pinctrl_set_pin_func(struct mpfs_pinctrl *pctrl, u8 pin, u8 function)
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
313
func = function << offset;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
340
int function;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
342
function = mpfs_pinctrl_function_map(functions[i]);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
343
if (function < 0) {
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
345
return function;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
348
mpfs_pinctrl_set_pin_func(pctrl, group->grp.pins[i], function);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
52
u8 function;
drivers/pinctrl/microchip/pinctrl-pic64gx-gpio2.c
280
const struct pic64gx_gpio2_function *function;
drivers/pinctrl/microchip/pinctrl-pic64gx-gpio2.c
283
function = &pic64gx_gpio2_functions[fsel];
drivers/pinctrl/microchip/pinctrl-pic64gx-gpio2.c
286
function->name, group->mask, group->setting);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
412
const char *function;
drivers/pinctrl/mvebu/pinctrl-mvebu.c
419
ret = of_property_read_string(np, "marvell,function", &function);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
447
if (!mvebu_pinctrl_find_setting_by_name(pctl, grp, function)) {
drivers/pinctrl/mvebu/pinctrl-mvebu.c
449
function, group);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
455
(*map)[n].data.mux.function = function;
drivers/pinctrl/nomadik/pinctrl-abx500.c
552
unsigned function)
drivers/pinctrl/nomadik/pinctrl-abx500.c
556
return pct->soc->functions[function].name;
drivers/pinctrl/nomadik/pinctrl-abx500.c
560
unsigned function,
drivers/pinctrl/nomadik/pinctrl-abx500.c
566
*groups = pct->soc->functions[function].groups;
drivers/pinctrl/nomadik/pinctrl-abx500.c
567
*num_groups = pct->soc->functions[function].ngroups;
drivers/pinctrl/nomadik/pinctrl-abx500.c
572
static int abx500_pmx_set(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/nomadik/pinctrl-abx500.c
693
const char *function)
drivers/pinctrl/nomadik/pinctrl-abx500.c
700
(*map)[*num_maps].data.mux.function = function;
drivers/pinctrl/nomadik/pinctrl-abx500.c
750
const char *function = NULL;
drivers/pinctrl/nomadik/pinctrl-abx500.c
755
ret = of_property_read_string(np, "function", &function);
drivers/pinctrl/nomadik/pinctrl-abx500.c
770
num_maps, group, function);
drivers/pinctrl/nomadik/pinctrl-nomadik.c
592
const char *function)
drivers/pinctrl/nomadik/pinctrl-nomadik.c
599
(*map)[*num_maps].data.mux.function = function;
drivers/pinctrl/nomadik/pinctrl-nomadik.c
749
const char *function = NULL;
drivers/pinctrl/nomadik/pinctrl-nomadik.c
755
ret = of_property_read_string(np, "function", &function);
drivers/pinctrl/nomadik/pinctrl-nomadik.c
771
group, function);
drivers/pinctrl/nomadik/pinctrl-nomadik.c
852
unsigned int function)
drivers/pinctrl/nomadik/pinctrl-nomadik.c
856
return npct->soc->functions[function].name;
drivers/pinctrl/nomadik/pinctrl-nomadik.c
860
unsigned int function,
drivers/pinctrl/nomadik/pinctrl-nomadik.c
866
*groups = npct->soc->functions[function].groups;
drivers/pinctrl/nomadik/pinctrl-nomadik.c
867
*num_groups = npct->soc->functions[function].ngroups;
drivers/pinctrl/nomadik/pinctrl-nomadik.c
872
static int nmk_pmx_set(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-ma35.c
219
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/nuvoton/pinctrl-ma35.c
231
(*map)->data.mux.function, (*map)->data.mux.group, map_num);
drivers/pinctrl/nuvoton/pinctrl-ma35.c
260
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-ma35.c
266
*groups = npctl->functions[function].groups;
drivers/pinctrl/nuvoton/pinctrl-ma35.c
267
*num_groups = npctl->functions[function].ngroups;
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1583
unsigned int function)
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1585
return npcm7xx_funcs[function].name;
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1589
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1593
*ngroups = npcm7xx_funcs[function].ngroups;
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1594
*groups = npcm7xx_funcs[function].groups;
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1600
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
1605
dev_dbg(npcm->dev, "set_mux: %d, %d[%s]\n", function, group,
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
1991
unsigned int function)
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
1993
return npcm8xx_funcs[function].name;
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
1997
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
2001
*ngroups = npcm8xx_funcs[function].ngroups;
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
2002
*groups = npcm8xx_funcs[function].groups;
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
2008
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
877
unsigned int function)
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
879
return wpcm450_funcs[function].name;
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
883
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
887
*ngroups = wpcm450_funcs[function].ngroups;
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
888
*groups = wpcm450_funcs[function].groups;
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
894
unsigned int function,
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
900
wpcm450_groups[group].npins, function);
drivers/pinctrl/pinconf-generic.c
394
const char *function;
drivers/pinctrl/pinconf-generic.c
418
ret = of_property_read_string(np, "function", &function);
drivers/pinctrl/pinconf-generic.c
424
function = NULL;
drivers/pinctrl/pinconf-generic.c
435
if (function != NULL)
drivers/pinctrl/pinconf-generic.c
448
if (function) {
drivers/pinctrl/pinconf-generic.c
451
function);
drivers/pinctrl/pinctrl-amd.c
1077
static int amd_set_mux(struct pinctrl_dev *pctrldev, unsigned int function, unsigned int group)
drivers/pinctrl/pinctrl-amd.c
1088
if (strcmp(gpio_dev->groups[group].name, pmx_functions[function].groups[index]))
drivers/pinctrl/pinctrl-amd.c
1091
if (readb(gpio_dev->iomux_base + pmx_functions[function].index) ==
drivers/pinctrl/pinctrl-amd.c
1094
pmx_functions[function].index);
drivers/pinctrl/pinctrl-amd.c
1098
writeb(index, gpio_dev->iomux_base + pmx_functions[function].index);
drivers/pinctrl/pinctrl-amd.c
1100
if (index != (readb(gpio_dev->iomux_base + pmx_functions[function].index) &
drivers/pinctrl/pinctrl-amd.c
1103
pmx_functions[function].index);
drivers/pinctrl/pinctrl-artpec6.c
638
unsigned int function)
drivers/pinctrl/pinctrl-artpec6.c
640
return artpec6_pmx_functions[function].name;
drivers/pinctrl/pinctrl-artpec6.c
644
unsigned int function,
drivers/pinctrl/pinctrl-artpec6.c
648
*groups = artpec6_pmx_functions[function].groups;
drivers/pinctrl/pinctrl-artpec6.c
649
*num_groups = artpec6_pmx_functions[function].num_groups;
drivers/pinctrl/pinctrl-artpec6.c
654
unsigned int function, unsigned int group,
drivers/pinctrl/pinctrl-artpec6.c
670
if (!strcmp(artpec6_pmx_get_fname(pctldev, function), "gpio")) {
drivers/pinctrl/pinctrl-artpec6.c
692
unsigned int function,
drivers/pinctrl/pinctrl-artpec6.c
698
artpec6_pmx_get_fname(pctldev, function),
drivers/pinctrl/pinctrl-artpec6.c
701
artpec6_pmx_select_func(pctldev, function, group, true);
drivers/pinctrl/pinctrl-as3722.c
203
unsigned function)
drivers/pinctrl/pinctrl-as3722.c
207
return as_pci->functions[function].name;
drivers/pinctrl/pinctrl-as3722.c
211
unsigned function, const char * const **groups,
drivers/pinctrl/pinctrl-as3722.c
216
*groups = as_pci->functions[function].groups;
drivers/pinctrl/pinctrl-as3722.c
217
*num_groups = as_pci->functions[function].ngroups;
drivers/pinctrl/pinctrl-as3722.c
221
static int as3722_pinctrl_set(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/pinctrl-as3722.c
226
u8 val = AS3722_GPIO_IOSF_VAL(as_pci->functions[function].mux_option);
drivers/pinctrl/pinctrl-as3722.c
230
__func__, group, function, val);
drivers/pinctrl/pinctrl-as3722.c
239
as_pci->gpio_control[group].io_function = function;
drivers/pinctrl/pinctrl-at91-pio4.c
706
unsigned int function,
drivers/pinctrl/pinctrl-at91-pio4.c
714
atmel_functions[function], atmel_pioctrl->groups[group].name);
drivers/pinctrl/pinctrl-at91-pio4.c
719
conf |= (function & ATMEL_PIO_CFGR_FUNC_MASK);
drivers/pinctrl/pinctrl-at91.c
326
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/pinctrl-at91.c
341
(*map)->data.mux.function, (*map)->data.mux.group, map_num);
drivers/pinctrl/pinctrl-axp209.c
271
unsigned int function, unsigned int group)
drivers/pinctrl/pinctrl-axp209.c
277
if (function <= AXP20X_FUNC_GPIO_IN)
drivers/pinctrl/pinctrl-axp209.c
279
pctl->funcs[function].muxval);
drivers/pinctrl/pinctrl-axp209.c
281
if (function == AXP20X_FUNC_LDO)
drivers/pinctrl/pinctrl-axp209.c
295
if (function == AXP20X_FUNC_LDO)
drivers/pinctrl/pinctrl-axp209.c
298
return axp20x_pmx_set(pctldev, group, pctl->funcs[function].muxval);
drivers/pinctrl/pinctrl-bm1880.c
984
unsigned int function,
drivers/pinctrl/pinctrl-bm1880.c
989
const struct bm1880_pinmux_function *func = &pctrl->funcs[function];
drivers/pinctrl/pinctrl-eic7700.c
566
struct pinfunction *function = &pc->functions[selector];
drivers/pinctrl/pinctrl-eic7700.c
575
function->ngroups++;
drivers/pinctrl/pinctrl-eic7700.c
585
struct pinfunction *function = &pc->functions[selector];
drivers/pinctrl/pinctrl-eic7700.c
587
function->name = function_names[selector];
drivers/pinctrl/pinctrl-eic7700.c
588
function->groups = groups;
drivers/pinctrl/pinctrl-eic7700.c
589
groups += function->ngroups;
drivers/pinctrl/pinctrl-eic7700.c
592
function->ngroups = 0;
drivers/pinctrl/pinctrl-eic7700.c
603
struct pinfunction *function = &pc->functions[selector];
drivers/pinctrl/pinctrl-eic7700.c
612
((const char **)function->groups)[function->ngroups++] = desc->name;
drivers/pinctrl/pinctrl-k210.c
704
unsigned int function,
drivers/pinctrl/pinctrl-k210.c
711
k210_pinmux_set_pin_function(pctldev, group, function);
drivers/pinctrl/pinctrl-k230.c
226
new_map[idx].data.mux.function = np_config->name;
drivers/pinctrl/pinctrl-lantiq.c
77
const char *function;
drivers/pinctrl/pinctrl-lantiq.c
92
ret = of_property_read_string(np, "lantiq,function", &function);
drivers/pinctrl/pinctrl-lantiq.c
96
(*map)->name = function;
drivers/pinctrl/pinctrl-lantiq.c
98
(*map)->data.mux.function = function;
drivers/pinctrl/pinctrl-lpc18xx.c
1136
unsigned function)
drivers/pinctrl/pinctrl-lpc18xx.c
1138
return lpc18xx_function_names[function];
drivers/pinctrl/pinctrl-lpc18xx.c
1142
unsigned function,
drivers/pinctrl/pinctrl-lpc18xx.c
1148
*groups = scu->func[function].groups;
drivers/pinctrl/pinctrl-lpc18xx.c
1149
*num_groups = scu->func[function].ngroups;
drivers/pinctrl/pinctrl-lpc18xx.c
1154
static int lpc18xx_pmx_set(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/pinctrl-lpc18xx.c
1164
if (function == FUNC_USB1)
drivers/pinctrl/pinctrl-lpc18xx.c
1171
if (function == FUNC_I2C0)
drivers/pinctrl/pinctrl-lpc18xx.c
1177
if (function == FUNC_ADC && (pin->analog & LPC18XX_ANALOG_PIN)) {
drivers/pinctrl/pinctrl-lpc18xx.c
1194
if (function == FUNC_DAC && (pin->analog & LPC18XX_ANALOG_PIN)) {
drivers/pinctrl/pinctrl-lpc18xx.c
1205
if (function == pin->functions[func])
drivers/pinctrl/pinctrl-lpc18xx.c
1219
lpc18xx_function_names[function]);
drivers/pinctrl/pinctrl-lpc18xx.c
1275
static bool lpc18xx_valid_pin_function(unsigned pin, unsigned function)
drivers/pinctrl/pinctrl-lpc18xx.c
1280
if (function == FUNC_DAC && p->analog == DAC)
drivers/pinctrl/pinctrl-lpc18xx.c
1283
if (function == FUNC_ADC && p->analog)
drivers/pinctrl/pinctrl-lpc18xx.c
1286
if (function == FUNC_I2C0 && p->type == TYPE_I2C0)
drivers/pinctrl/pinctrl-lpc18xx.c
1289
if (function == FUNC_USB1 && p->type == TYPE_USB1)
drivers/pinctrl/pinctrl-lpc18xx.c
1293
if (function == p->functions[i])
drivers/pinctrl/pinctrl-max77620.c
218
unsigned int function)
drivers/pinctrl/pinctrl-max77620.c
222
return mpci->functions[function].name;
drivers/pinctrl/pinctrl-max77620.c
226
unsigned int function,
drivers/pinctrl/pinctrl-max77620.c
232
*groups = mpci->functions[function].groups;
drivers/pinctrl/pinctrl-max77620.c
233
*num_groups = mpci->functions[function].ngroups;
drivers/pinctrl/pinctrl-max77620.c
239
unsigned int function, unsigned int group)
drivers/pinctrl/pinctrl-max77620.c
245
if (function == MAX77620_PINMUX_GPIO) {
drivers/pinctrl/pinctrl-max77620.c
247
} else if (function == mpci->pin_groups[group].alt_option) {
drivers/pinctrl/pinctrl-max77620.c
251
group, function);
drivers/pinctrl/pinctrl-microchip-sgpio.c
430
unsigned int function)
drivers/pinctrl/pinctrl-microchip-sgpio.c
436
unsigned int function,
drivers/pinctrl/pinctrl-ocelot.c
1474
unsigned int function)
drivers/pinctrl/pinctrl-ocelot.c
1476
return ocelot_function_names[function];
drivers/pinctrl/pinctrl-ocelot.c
1480
unsigned int function,
drivers/pinctrl/pinctrl-ocelot.c
1486
*groups = info->func[function].groups;
drivers/pinctrl/pinctrl-ocelot.c
1487
*num_groups = info->func[function].ngroups;
drivers/pinctrl/pinctrl-ocelot.c
1493
unsigned int pin, unsigned int function)
drivers/pinctrl/pinctrl-ocelot.c
1499
if (function == p->functions[i])
drivers/pinctrl/pinctrl-ocelot.c
1502
if (function == p->a_functions[i])
drivers/pinctrl/pinctrl-palmas.c
656
unsigned function)
drivers/pinctrl/pinctrl-palmas.c
660
return pci->functions[function].name;
drivers/pinctrl/pinctrl-palmas.c
664
unsigned function, const char * const **groups,
drivers/pinctrl/pinctrl-palmas.c
669
*groups = pci->functions[function].groups;
drivers/pinctrl/pinctrl-palmas.c
670
*num_groups = pci->functions[function].ngroups;
drivers/pinctrl/pinctrl-palmas.c
675
unsigned function,
drivers/pinctrl/pinctrl-palmas.c
686
if (function <= PALMAS_PINMUX_OPTION3) {
drivers/pinctrl/pinctrl-palmas.c
687
if (!g->opt[function]) {
drivers/pinctrl/pinctrl-palmas.c
689
g->name, function);
drivers/pinctrl/pinctrl-palmas.c
692
i = function;
drivers/pinctrl/pinctrl-palmas.c
697
if (g->opt[i]->mux_opt == function)
drivers/pinctrl/pinctrl-palmas.c
702
g->name, function);
drivers/pinctrl/pinctrl-rk805.c
434
unsigned int function)
drivers/pinctrl/pinctrl-rk805.c
438
return pci->functions[function].name;
drivers/pinctrl/pinctrl-rk805.c
442
unsigned int function,
drivers/pinctrl/pinctrl-rk805.c
448
*groups = pci->functions[function].groups;
drivers/pinctrl/pinctrl-rk805.c
449
*num_groups = pci->functions[function].ngroups;
drivers/pinctrl/pinctrl-rk805.c
476
unsigned int function,
drivers/pinctrl/pinctrl-rk805.c
480
int mux = pci->functions[function].mux_option;
drivers/pinctrl/pinctrl-rockchip.c
432
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/pinctrl-rockchip.c
447
(*map)->data.mux.function, (*map)->data.mux.group, map_num);
drivers/pinctrl/pinctrl-rp1.c
1131
map->data.mux.function = rp1_func_names[func].name;
drivers/pinctrl/pinctrl-rp1.c
1185
const char *function = NULL;
drivers/pinctrl/pinctrl-rp1.c
1199
of_property_read_string(np, "function", &function);
drivers/pinctrl/pinctrl-rp1.c
1205
if (!function && !funcs && !num_configs && !pulls) {
drivers/pinctrl/pinctrl-rp1.c
1231
if (function || num_funcs)
drivers/pinctrl/pinctrl-rp1.c
1254
} else if (function) {
drivers/pinctrl/pinctrl-rp1.c
1258
function);
drivers/pinctrl/pinctrl-single.c
1013
struct pcs_function *function = NULL;
drivers/pinctrl/pinctrl-single.c
1071
fsel = pcs_add_function(pcs, &function, np->name, vals, found,
drivers/pinctrl/pinctrl-single.c
1086
(*map)->data.mux.function = np->name;
drivers/pinctrl/pinctrl-single.c
1088
if (PCS_HAS_PINCONF && function) {
drivers/pinctrl/pinctrl-single.c
1089
res = pcs_parse_pinconf(pcs, np, function, map);
drivers/pinctrl/pinctrl-single.c
1128
struct pcs_function *function = NULL;
drivers/pinctrl/pinctrl-single.c
1221
fsel = pcs_add_function(pcs, &function, np->name, vals, found,
drivers/pinctrl/pinctrl-single.c
1234
(*map)->data.mux.function = np->name;
drivers/pinctrl/pinctrl-single.c
339
const struct function_desc *function;
drivers/pinctrl/pinctrl-single.c
347
function = pinmux_generic_get_function(pctldev, fselector);
drivers/pinctrl/pinctrl-single.c
348
if (!function)
drivers/pinctrl/pinctrl-single.c
350
*func = function->data;
drivers/pinctrl/pinctrl-single.c
363
const struct function_desc *function;
drivers/pinctrl/pinctrl-single.c
371
function = pinmux_generic_get_function(pctldev, fselector);
drivers/pinctrl/pinctrl-single.c
372
if (!function)
drivers/pinctrl/pinctrl-single.c
374
func = function->data;
drivers/pinctrl/pinctrl-single.c
790
struct pcs_function *function;
drivers/pinctrl/pinctrl-single.c
793
function = devm_kzalloc(pcs->dev, sizeof(*function), GFP_KERNEL);
drivers/pinctrl/pinctrl-single.c
794
if (!function)
drivers/pinctrl/pinctrl-single.c
797
function->vals = vals;
drivers/pinctrl/pinctrl-single.c
798
function->nvals = nvals;
drivers/pinctrl/pinctrl-single.c
799
function->name = name;
drivers/pinctrl/pinctrl-single.c
803
function);
drivers/pinctrl/pinctrl-single.c
805
devm_kfree(pcs->dev, function);
drivers/pinctrl/pinctrl-single.c
808
*fcn = function;
drivers/pinctrl/pinctrl-st.c
1004
function = st_pctl_get_pin_function(pc, offset);
drivers/pinctrl/pinctrl-st.c
1005
if (function)
drivers/pinctrl/pinctrl-st.c
1006
snprintf(f, 10, "Alt Fn %u", function);
drivers/pinctrl/pinctrl-st.c
417
int pin_id, int function)
drivers/pinctrl/pinctrl-st.c
429
val |= function << offset;
drivers/pinctrl/pinctrl-st.c
733
unsigned int function;
drivers/pinctrl/pinctrl-st.c
738
function = st_pctl_get_pin_function(&pc, offset);
drivers/pinctrl/pinctrl-st.c
739
if (function) {
drivers/pinctrl/pinctrl-st.c
835
new_map[0].data.mux.function = parent->name;
drivers/pinctrl/pinctrl-st.c
849
(*map)->data.mux.function, grp->name, map_num);
drivers/pinctrl/pinctrl-st.c
994
unsigned int function;
drivers/pinctrl/pinctrl-th1520.c
524
map[nmaps].data.mux.function = funcname;
drivers/pinctrl/pinctrl-tps6594.c
416
unsigned int function, unsigned int group)
drivers/pinctrl/pinctrl-tps6594.c
419
u8 muxval = pinctrl->funcs[function].muxval;
drivers/pinctrl/pinctrl-utils.c
48
const char *function)
drivers/pinctrl/pinctrl-utils.c
55
(*map)[*num_maps].data.mux.function = function;
drivers/pinctrl/pinctrl-utils.h
23
const char *function);
drivers/pinctrl/pinctrl-zynq.c
890
unsigned int function,
drivers/pinctrl/pinctrl-zynq.c
896
const struct zynq_pinmux_function *func = &pctrl->funcs[function];
drivers/pinctrl/pinctrl-zynq.c
902
if (function == ZYNQ_PMUX_sdio0_cd || function == ZYNQ_PMUX_sdio0_wp ||
drivers/pinctrl/pinctrl-zynq.c
903
function == ZYNQ_PMUX_sdio1_cd ||
drivers/pinctrl/pinctrl-zynq.c
904
function == ZYNQ_PMUX_sdio1_wp) {
drivers/pinctrl/pinctrl-zynqmp.c
213
unsigned int function,
drivers/pinctrl/pinctrl-zynqmp.c
222
ret = zynqmp_pm_pinctrl_set_function(pins[i], function);
drivers/pinctrl/pinmux.c
349
const char *function)
drivers/pinctrl/pinmux.c
359
if (fname && !strcmp(function, fname))
drivers/pinctrl/pinmux.c
383
ret = pinmux_func_name_to_selector(pctldev, map->data.mux.function);
drivers/pinctrl/pinmux.c
386
map->data.mux.function);
drivers/pinctrl/pinmux.c
395
map->data.mux.function);
drivers/pinctrl/pinmux.c
401
map->data.mux.function);
drivers/pinctrl/pinmux.c
410
group, map->data.mux.function);
drivers/pinctrl/pinmux.c
69
if (!map->data.mux.function) {
drivers/pinctrl/pinmux.c
693
map->data.mux.function);
drivers/pinctrl/pinmux.c
825
struct function_desc *function;
drivers/pinctrl/pinmux.c
827
function = radix_tree_lookup(&pctldev->pin_function_tree,
drivers/pinctrl/pinmux.c
829
if (!function)
drivers/pinctrl/pinmux.c
832
return function->func->name;
drivers/pinctrl/pinmux.c
848
struct function_desc *function;
drivers/pinctrl/pinmux.c
850
function = radix_tree_lookup(&pctldev->pin_function_tree,
drivers/pinctrl/pinmux.c
852
if (!function) {
drivers/pinctrl/pinmux.c
857
*groups = function->func->groups;
drivers/pinctrl/pinmux.c
858
*ngroups = function->func->ngroups;
drivers/pinctrl/pinmux.c
872
struct function_desc *function;
drivers/pinctrl/pinmux.c
874
function = radix_tree_lookup(&pctldev->pin_function_tree,
drivers/pinctrl/pinmux.c
876
if (!function)
drivers/pinctrl/pinmux.c
879
return function;
drivers/pinctrl/pinmux.c
894
struct function_desc *function;
drivers/pinctrl/pinmux.c
896
function = radix_tree_lookup(&pctldev->pin_function_tree, selector);
drivers/pinctrl/pinmux.c
897
if (!function)
drivers/pinctrl/pinmux.c
900
return function->func->flags & PINFUNCTION_FLAG_GPIO;
drivers/pinctrl/pinmux.c
933
struct function_desc *function;
drivers/pinctrl/pinmux.c
942
function = devm_kzalloc(pctldev->dev, sizeof(*function), GFP_KERNEL);
drivers/pinctrl/pinmux.c
943
if (!function)
drivers/pinctrl/pinmux.c
952
function->func = devm_kmemdup_const(pctldev->dev, func,
drivers/pinctrl/pinmux.c
954
if (!function->func)
drivers/pinctrl/pinmux.c
957
function->data = data;
drivers/pinctrl/pinmux.c
959
error = radix_tree_insert(&pctldev->pin_function_tree, selector, function);
drivers/pinctrl/pinmux.c
979
struct function_desc *function;
drivers/pinctrl/pinmux.c
981
function = radix_tree_lookup(&pctldev->pin_function_tree,
drivers/pinctrl/pinmux.c
983
if (!function)
drivers/pinctrl/pinmux.c
987
devm_kfree(pctldev->dev, function);
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
109
unsigned function)
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
112
struct pinfunction *pf = pctl->functions + function;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
125
unsigned function,
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
130
struct pinfunction *pf = pctl->functions + function;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
138
static int pxa2xx_pmx_set_mux(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
150
df = pxa_desc_by_func_group(pctl, g->name, (pctl->functions + function)->name);
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
100
*num_qgroups = pctrl->data->functions[function].ngroups;
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
105
static int lpi_gpio_set_mux(struct pinctrl_dev *pctldev, unsigned int function,
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
114
if (g->funcs[i] == function)
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
85
unsigned int function)
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
89
return pctrl->data->functions[function].name;
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
93
unsigned int function,
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
99
*groups = pctrl->data->functions[function].groups;
drivers/pinctrl/qcom/pinctrl-msm.c
155
unsigned function,
drivers/pinctrl/qcom/pinctrl-msm.c
173
if (g->funcs[i] == function)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
175
unsigned int function;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
290
unsigned function)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
292
return pmic_gpio_functions[function];
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
296
unsigned function,
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
305
static int pmic_gpio_set_mux(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
313
if (function > PMIC_GPIO_FUNC_INDEX_DTEST4) {
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
314
pr_err("function: %d is not defined\n", function);
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
324
if (function == PMIC_GPIO_FUNC_INDEX_FUNC3 ||
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
325
function == PMIC_GPIO_FUNC_INDEX_FUNC4) {
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
329
if (function >= PMIC_GPIO_FUNC_INDEX_DTEST1)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
330
function -= (PMIC_GPIO_FUNC_INDEX_DTEST1 -
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
334
pad->function = function;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
359
val |= pad->function
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
367
val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
635
val |= pad->function
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
643
val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
663
int ret, val, function;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
697
function = pad->function;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
699
pad->function >= PMIC_GPIO_FUNC_INDEX_FUNC3)
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
700
function += PMIC_GPIO_FUNC_INDEX_DTEST1 -
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
709
seq_printf(s, " %-7s", pmic_gpio_functions[function]);
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
896
pad->function = val & PMIC_GPIO_LV_MV_OUTPUT_SOURCE_SEL_MASK;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
912
pad->function = val >> PMIC_GPIO_REG_MODE_FUNCTION_SHIFT;
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
913
pad->function &= PMIC_GPIO_REG_MODE_FUNCTION_MASK;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
137
unsigned int function;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
240
unsigned function)
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
242
return pmic_mpp_functions[function];
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
246
unsigned function,
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
263
switch (pad->function) {
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
302
static int pmic_mpp_set_mux(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
312
pad->function = function;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
543
seq_printf(s, " %-7s", pmic_mpp_functions[pad->function]);
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
698
pad->function = PMIC_MPP_DIGITAL;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
703
pad->function = PMIC_MPP_DIGITAL;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
708
pad->function = PMIC_MPP_DIGITAL;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
713
pad->function = PMIC_MPP_ANALOG;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
718
pad->function = PMIC_MPP_ANALOG;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
723
pad->function = PMIC_MPP_ANALOG;
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
728
pad->function = PMIC_MPP_SINK;
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
207
unsigned function)
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
209
return pm8xxx_gpio_functions[function];
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
213
unsigned function,
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
225
unsigned function,
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
232
pin->function = function;
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
233
val = pin->function << 1;
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
425
val = pin->function << 1;
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
570
seq_printf(s, " %-7s", pm8xxx_gpio_functions[pin->function]);
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
646
pin->function = (val >> 1) & 0x7;
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c
85
u8 function;
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
284
unsigned function)
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
286
return pm8xxx_mpp_functions[function];
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
290
unsigned function,
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
302
unsigned function,
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
308
pin->mode = function;
drivers/pinctrl/realtek/pinctrl-rtd.c
194
unsigned int function, unsigned int group)
drivers/pinctrl/realtek/pinctrl-rtd.c
203
func_name = data->info->functions[function].name;
drivers/pinctrl/renesas/core.c
361
in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function);
drivers/pinctrl/renesas/pfc-emev2.c
1652
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a73a4.c
2598
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7740.c
3531
.function = { PINMUX_FUNCTION_BEGIN,
drivers/pinctrl/renesas/pfc-r8a77470.c
3532
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7778.c
3094
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7779.c
4359
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7790.c
6145
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7790.c
6168
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7791.c
6892
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7791.c
6915
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7791.c
6938
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7791.c
6963
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7792.c
3123
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7794.c
5845
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7794.c
5868
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77951.c
6146
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77951.c
6171
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7796.c
6098
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7796.c
6123
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a7796.c
6150
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77965.c
6339
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77965.c
6364
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77970.c
2544
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77980.c
3061
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77990.c
5296
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77990.c
5321
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a77995.c
3179
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a779a0.c
4366
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a779f0.c
2086
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a779g0.c
4417
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-r8a779h0.c
4100
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7203.c
1565
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7264.c
2119
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7269.c
2837
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh73a0.c
4156
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7720.c
1189
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7722.c
1691
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7723.c
1889
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7724.c
2164
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7734.c
2395
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7757.c
2207
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7785.c
1246
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-sh7786.c
797
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pfc-shx3.c
548
.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
drivers/pinctrl/renesas/pinctrl-rza1.c
1073
(*map)->data.mux.function = np->name;
drivers/pinctrl/renesas/pinctrl-rza2.c
406
(*map)->data.mux.function = np->name;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
791
maps[idx].data.mux.function = name;
drivers/pinctrl/renesas/pinctrl-rzt2h.c
376
maps[idx].data.mux.function = name;
drivers/pinctrl/renesas/pinctrl-rzv2m.c
350
maps[idx].data.mux.function = name;
drivers/pinctrl/renesas/pinctrl.c
109
const char *function = NULL;
drivers/pinctrl/renesas/pinctrl.c
121
ret = of_property_read_string(np, "function", &function);
drivers/pinctrl/renesas/pinctrl.c
131
if (!function && num_configs == 0) {
drivers/pinctrl/renesas/pinctrl.c
165
if (function)
drivers/pinctrl/renesas/pinctrl.c
181
if (function) {
drivers/pinctrl/renesas/pinctrl.c
184
maps[idx].data.mux.function = function;
drivers/pinctrl/renesas/sh_pfc.h
269
struct pinmux_range function;
drivers/pinctrl/samsung/pinctrl-samsung.c
102
const char *function)
drivers/pinctrl/samsung/pinctrl-samsung.c
109
(*map)[*num_maps].data.mux.function = function;
drivers/pinctrl/sophgo/pinctrl-sophgo-common.c
173
map[nmaps].data.mux.function = np->name;
drivers/pinctrl/spacemit/pinctrl-k1.c
557
map[nmaps].data.mux.function = np->name;
drivers/pinctrl/spear/pinctrl-spear.c
155
const char *function, *group;
drivers/pinctrl/spear/pinctrl-spear.c
160
ret = of_property_read_string(np, "st,function", &function);
drivers/pinctrl/spear/pinctrl-spear.c
181
of_property_read_string(np, "st,function", &function);
drivers/pinctrl/spear/pinctrl-spear.c
185
(*map)[index].data.mux.function = function;
drivers/pinctrl/spear/pinctrl-spear.c
219
unsigned function)
drivers/pinctrl/spear/pinctrl-spear.c
223
return pmx->machdata->functions[function]->name;
drivers/pinctrl/spear/pinctrl-spear.c
227
unsigned function, const char *const **groups,
drivers/pinctrl/spear/pinctrl-spear.c
232
*groups = pmx->machdata->functions[function]->groups;
drivers/pinctrl/spear/pinctrl-spear.c
233
*ngroups = pmx->machdata->functions[function]->ngroups;
drivers/pinctrl/spear/pinctrl-spear.c
239
unsigned function, unsigned group, bool enable)
drivers/pinctrl/spear/pinctrl-spear.c
272
static int spear_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned function,
drivers/pinctrl/spear/pinctrl-spear.c
275
return spear_pinctrl_endisable(pctldev, function, group, true);
drivers/pinctrl/sprd/pinctrl-sprd.c
255
const char *function;
drivers/pinctrl/sprd/pinctrl-sprd.c
274
ret = of_property_read_string(np, "function", &function);
drivers/pinctrl/sprd/pinctrl-sprd.c
279
function = NULL;
drivers/pinctrl/sprd/pinctrl-sprd.c
292
if (function != NULL)
drivers/pinctrl/sprd/pinctrl-sprd.c
302
if (function) {
drivers/pinctrl/sprd/pinctrl-sprd.c
305
grp->name, function);
drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c
563
map[nmaps].data.mux.function = np->name;
drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
195
map[nmaps].data.mux.function = np->name;
drivers/pinctrl/stm32/pinctrl-stm32.c
1004
ret = stm32_pctrl_is_function_valid(pctl, g->pin, function);
drivers/pinctrl/stm32/pinctrl-stm32.c
1014
if (function == STM32_PIN_RSVD) {
drivers/pinctrl/stm32/pinctrl-stm32.c
1022
mode = stm32_gpio_get_mode(function);
drivers/pinctrl/stm32/pinctrl-stm32.c
1023
alt = stm32_gpio_get_alt(function);
drivers/pinctrl/stm32/pinctrl-stm32.c
191
static inline u32 stm32_gpio_get_mode(u32 function)
drivers/pinctrl/stm32/pinctrl-stm32.c
193
switch (function) {
drivers/pinctrl/stm32/pinctrl-stm32.c
205
static inline u32 stm32_gpio_get_alt(u32 function)
drivers/pinctrl/stm32/pinctrl-stm32.c
207
switch (function) {
drivers/pinctrl/stm32/pinctrl-stm32.c
211
return function - 1;
drivers/pinctrl/stm32/pinctrl-stm32.c
748
(*map)[*num_maps].data.mux.function = stm32_gpio_functions[fnum];
drivers/pinctrl/stm32/pinctrl-stm32.c
923
unsigned function,
drivers/pinctrl/stm32/pinctrl-stm32.c
993
unsigned function,
drivers/pinctrl/sunplus/sppctl.c
911
(*map)[i].data.mux.function = sppctl_list_funcs[pin_func].name;
drivers/pinctrl/sunplus/sppctl.c
915
(*map)[i].data.mux.function);
drivers/pinctrl/sunplus/sppctl.c
927
(*map)[*num_maps].data.mux.function = s_f;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
335
const char *function;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
339
ret = of_property_read_string(node, "function", &function);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
341
return function;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
344
ret = of_property_read_string(node, "allwinner,function", &function);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
346
return function;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
437
const char *function, *pin_prop;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
445
function = sunxi_pctrl_parse_function_prop(node);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
446
if (!function) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
488
function)) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
490
function, group);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
496
(*map)[i].data.mux.function = function;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
804
unsigned function)
drivers/pinctrl/sunxi/pinctrl-sunxi.c
808
return pctl->functions[function].name;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
812
unsigned function,
drivers/pinctrl/sunxi/pinctrl-sunxi.c
818
*groups = pctl->functions[function].groups;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
819
*num_groups = pctl->functions[function].ngroups;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
844
unsigned function,
drivers/pinctrl/sunxi/pinctrl-sunxi.c
849
struct sunxi_pinctrl_function *func = pctl->functions + function;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
161
const char *function, *group;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
166
err = of_property_read_string(np, "nvidia,function", &function);
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
171
function = NULL;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
191
if (function)
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
209
if (function) {
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
212
function);
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
274
unsigned int function)
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
278
return padctl->soc->functions[function].name;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
282
unsigned int function,
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
288
*num_groups = padctl->soc->functions[function].num_groups;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
289
*groups = padctl->soc->functions[function].groups;
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
295
unsigned int function,
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c
306
if (lane->funcs[i] == function)
drivers/pinctrl/tegra/pinctrl-tegra.c
110
const char *function;
drivers/pinctrl/tegra/pinctrl-tegra.c
119
ret = of_property_read_string(np, "nvidia,function", &function);
drivers/pinctrl/tegra/pinctrl-tegra.c
125
function = NULL;
drivers/pinctrl/tegra/pinctrl-tegra.c
144
if (function != NULL)
drivers/pinctrl/tegra/pinctrl-tegra.c
161
if (function) {
drivers/pinctrl/tegra/pinctrl-tegra.c
164
function);
drivers/pinctrl/tegra/pinctrl-tegra.c
230
unsigned function)
drivers/pinctrl/tegra/pinctrl-tegra.c
234
return pmx->functions[function].name;
drivers/pinctrl/tegra/pinctrl-tegra.c
238
unsigned function,
drivers/pinctrl/tegra/pinctrl-tegra.c
244
*groups = pmx->functions[function].groups;
drivers/pinctrl/tegra/pinctrl-tegra.c
245
*num_groups = pmx->functions[function].ngroups;
drivers/pinctrl/tegra/pinctrl-tegra.c
251
unsigned function,
drivers/pinctrl/tegra/pinctrl-tegra.c
265
if (g->funcs[i] == function)
drivers/pinctrl/visconti/pinctrl-common.c
221
unsigned int function, unsigned int group)
drivers/pinctrl/visconti/pinctrl-common.c
224
const struct visconti_pin_function *func = &priv->devdata->functions[function];
drivers/pinctrl/visconti/pinctrl-common.c
231
function, func->name, group, grp->name);
drivers/pinctrl/vt8500/pinctrl-wmt.c
228
map->data.mux.function = wmt_functions[fnum];
drivers/platform/surface/aggregator/bus.c
201
if ((id->match_flags & SSAM_MATCH_FUNCTION) && id->function != uid.function)
drivers/platform/surface/aggregator/bus.c
224
id->function == 0 &&
drivers/platform/surface/aggregator/bus.c
29
sdev->uid.instance, sdev->uid.function);
drivers/platform/surface/aggregator/bus.c
408
uid->function = fn;
drivers/platform/surface/aggregator/bus.c
48
sdev->uid.function);
drivers/platform/surface/aggregator/bus.c
99
sdev->uid.instance, sdev->uid.function);
drivers/platform/surface/surface3_power.c
374
mshw0011_space_handler(u32 function, acpi_physical_address command,
drivers/platform/surface/surface3_power.c
385
u32 accessor_type = function >> 16;
drivers/platform/surface/surface_acpi_notify.c
634
static acpi_status san_opreg_handler(u32 function, acpi_physical_address command,
drivers/platform/surface/surface_acpi_notify.c
640
int accessor_type = (function & 0xFFFF0000) >> 16;
drivers/platform/x86/acer-wmi.c
217
u8 function;
drivers/platform/x86/acer-wmi.c
2491
switch (return_value.function) {
drivers/platform/x86/acer-wmi.c
2541
return_value.function, return_value.key_num);
drivers/platform/x86/intel/ishtp_eclite.c
203
ecl_opregion_cmd_handler(u32 function, acpi_physical_address address,
drivers/platform/x86/intel/ishtp_eclite.c
214
if (function == ACPI_READ)
drivers/platform/x86/intel/ishtp_eclite.c
253
ecl_opregion_data_handler(u32 function, acpi_physical_address address,
drivers/platform/x86/intel/ishtp_eclite.c
273
if (function == ACPI_READ) {
drivers/platform/x86/intel/ishtp_eclite.c
275
} else if (function == ACPI_WRITE) {
drivers/platform/x86/lenovo/ideapad-laptop.c
946
#define DYTC_SET_COMMAND(function, mode, on) \
drivers/platform/x86/lenovo/ideapad-laptop.c
947
(DYTC_CMD_SET | (function) << DYTC_SET_FUNCTION_BIT | \
drivers/platform/x86/lenovo/thinkpad_acpi.c
10384
#define DYTC_SET_COMMAND(function, mode, on) \
drivers/platform/x86/lenovo/thinkpad_acpi.c
10385
(DYTC_CMD_SET | (function) << DYTC_SET_FUNCTION_BIT | \
drivers/platform/x86/lg-laptop.c
737
static acpi_status lg_laptop_address_space_handler(u32 function, acpi_physical_address address,
drivers/platform/x86/lg-laptop.c
749
switch (function) {
drivers/pnp/isapnp/compat.c
25
unsigned short function, struct pnp_dev *from)
drivers/pnp/isapnp/compat.c
30
pnp_convert_id(id, vendor, function);
drivers/s390/block/dasd_3990_erp.c
1029
erp->function = dasd_3990_erp_com_rej;
drivers/s390/block/dasd_3990_erp.c
107
if (erp->function != dasd_3990_erp_int_req) {
drivers/s390/block/dasd_3990_erp.c
1082
if (erp->function != dasd_3990_erp_bus_out) {
drivers/s390/block/dasd_3990_erp.c
1084
erp->function = dasd_3990_erp_bus_out;
drivers/s390/block/dasd_3990_erp.c
110
erp->function = dasd_3990_erp_int_req;
drivers/s390/block/dasd_3990_erp.c
1118
erp->function = dasd_3990_erp_equip_check;
drivers/s390/block/dasd_3990_erp.c
1171
erp->function = dasd_3990_erp_data_check;
drivers/s390/block/dasd_3990_erp.c
1230
erp->function = dasd_3990_erp_overrun;
drivers/s390/block/dasd_3990_erp.c
1259
erp->function = dasd_3990_erp_inv_format;
drivers/s390/block/dasd_3990_erp.c
1322
erp->function = dasd_3990_erp_env_data;
drivers/s390/block/dasd_3990_erp.c
1446
erp->function = dasd_3990_erp_inspect_alias;
drivers/s390/block/dasd_3990_erp.c
1554
erp->function = dasd_3990_erp_action_10_32;
drivers/s390/block/dasd_3990_erp.c
1597
default_erp->function = dasd_3990_erp_action_1B_32;
drivers/s390/block/dasd_3990_erp.c
1707
erp->function = dasd_3990_erp_action_1B_32;
drivers/s390/block/dasd_3990_erp.c
1878
erp->function = dasd_3990_erp_compound_retry;
drivers/s390/block/dasd_3990_erp.c
1912
erp->function = dasd_3990_erp_compound_path;
drivers/s390/block/dasd_3990_erp.c
1956
erp->function = dasd_3990_erp_compound_code;
drivers/s390/block/dasd_3990_erp.c
1988
erp->function = dasd_3990_erp_compound_config;
drivers/s390/block/dasd_3990_erp.c
2011
if ((erp->function == dasd_3990_erp_compound_retry) &&
drivers/s390/block/dasd_3990_erp.c
2017
if ((erp->function == dasd_3990_erp_compound_path) &&
drivers/s390/block/dasd_3990_erp.c
2023
if ((erp->function == dasd_3990_erp_compound_code) &&
drivers/s390/block/dasd_3990_erp.c
2087
erp->function = dasd_3990_erp_inspect_32;
drivers/s390/block/dasd_3990_erp.c
221
dctl_cqr->function = dasd_3990_erp_DCTL;
drivers/s390/block/dasd_3990_erp.c
2398
erp->function = dasd_3990_erp_add_erp;
drivers/s390/block/dasd_3990_erp.c
2569
if ((erp->function == dasd_3990_erp_bus_out) ||
drivers/s390/block/dasd_3990_erp.c
2570
(erp->function == dasd_3990_erp_action_1) ||
drivers/s390/block/dasd_3990_erp.c
2571
(erp->function == dasd_3990_erp_action_4)) {
drivers/s390/block/dasd_3990_erp.c
2575
} else if (erp->function == dasd_3990_erp_action_1_sec) {
drivers/s390/block/dasd_3990_erp.c
2577
} else if (erp->function == dasd_3990_erp_action_5) {
drivers/s390/block/dasd_3990_erp.c
260
erp->function = dasd_3990_erp_action_1_sec;
drivers/s390/block/dasd_3990_erp.c
2614
((erp->function == dasd_3990_erp_compound_retry) ||
drivers/s390/block/dasd_3990_erp.c
2615
(erp->function == dasd_3990_erp_compound_path) ||
drivers/s390/block/dasd_3990_erp.c
2616
(erp->function == dasd_3990_erp_compound_code) ||
drivers/s390/block/dasd_3990_erp.c
2617
(erp->function == dasd_3990_erp_compound_config))) {
drivers/s390/block/dasd_3990_erp.c
267
erp->function = dasd_3990_erp_action_1;
drivers/s390/block/dasd_3990_erp.c
2686
if (sense && erp->function == dasd_3990_erp_action_4) {
drivers/s390/block/dasd_3990_erp.c
2691
erp->function == dasd_3990_erp_action_1B_32) {
drivers/s390/block/dasd_3990_erp.c
2695
} else if (sense && erp->function == dasd_3990_erp_int_req) {
drivers/s390/block/dasd_3990_erp.c
274
erp->function = dasd_3990_erp_action_1_sec;
drivers/s390/block/dasd_3990_erp.c
306
if (erp->function != dasd_3990_erp_action_4) {
drivers/s390/block/dasd_3990_erp.c
312
erp->function = dasd_3990_erp_action_4;
drivers/s390/block/dasd_3990_erp.c
370
erp->function = dasd_3990_erp_action_5;
drivers/s390/block/dasd_erp.c
127
BUG_ON(cqr->refers == NULL || cqr->function == NULL);
drivers/s390/block/dasd_fba.c
221
if (cqr->function == dasd_default_erp_action)
drivers/s390/block/dasd_fba.c
225
cqr->function);
drivers/s390/block/dasd_int.h
150
void *function; /* originating ERP action */
drivers/s390/char/sclp.c
273
sclp_request_timer.function = cb;
drivers/s390/char/sclp.c
751
sclp_request_timer.function(&sclp_request_timer);
drivers/s390/net/fsm.c
68
tmpl[i].function;
drivers/s390/net/fsm.h
84
fsm_function_t function;
drivers/s390/scsi/zfcp_fsf.c
49
fsf_req->timer.function = zfcp_fsf_request_timeout_handler;
drivers/s390/scsi/zfcp_fsf.c
57
fsf_req->timer.function = zfcp_erp_timeout_handler;
drivers/scsi/aacraid/aachba.c
1517
srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi);
drivers/scsi/aacraid/aachba.c
1718
srb->function = cpu_to_le32(SRBF_ExecuteScsi);
drivers/scsi/aacraid/aacraid.h
1981
__le32 function;
drivers/scsi/aacraid/aacraid.h
2000
u32 function;
drivers/scsi/aacraid/aacraid.h
2348
#define CTL_CODE(function, method) ( \
drivers/scsi/aacraid/aacraid.h
2349
(4<< 16) | ((function) << 2) | (method) \
drivers/scsi/aacraid/commctrl.c
635
srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi); // Force this
drivers/scsi/aacraid/commsup.c
2179
srbcmd->function = cpu_to_le32(SRBF_ExecuteScsi);
drivers/scsi/aha152x.c
3250
(dev=pnp_find_dev(NULL, id_table[i].vendor, id_table[i].function, dev)) ) {
drivers/scsi/aic94xx/aic94xx_dev.c
164
rps_resp->function == SMP_REPORT_PHY_SATA &&
drivers/scsi/aic94xx/aic94xx_hwi.c
1156
ascb->timer.function = asd_ascb_timedout;
drivers/scsi/aic94xx/aic94xx_tmf.c
27
ascb->timer.function = timed_out;
drivers/scsi/be2iscsi/be_main.c
5258
phba->hw_check.function = beiscsi_hw_tpe_check;
drivers/scsi/be2iscsi/be_main.c
5346
phba->hw_check.function = beiscsi_hw_health_check;
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
497
if (csk->retry_timer.function) {
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
499
csk->retry_timer.function = NULL;
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
589
csk->retry_timer.function != act_open_retry_timer) {
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
590
csk->retry_timer.function = act_open_retry_timer;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
1079
csk->retry_timer.function != csk_act_open_retry_timer) {
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
1080
csk->retry_timer.function = csk_act_open_retry_timer;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
932
if (csk->retry_timer.function) {
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
934
csk->retry_timer.function = NULL;
drivers/scsi/dc395x.c
1108
acb->selto_timer.function = selection_timeout_missed;
drivers/scsi/elx/efct/efct_lio.c
695
cmd, se_tmr->function, se_tmr->response);
drivers/scsi/esas2r/atioctl.h
1152
u8 function; /* VDA_FUNC_XXXX */
drivers/scsi/esas2r/atioctl.h
1184
u8 function;
drivers/scsi/esas2r/atioctl.h
614
u32 function;
drivers/scsi/esas2r/atioctl.h
82
u8 function;
drivers/scsi/esas2r/atioctl.h
992
u8 function; /* ATTO_FUNC_XXX */
drivers/scsi/esas2r/atvda.h
1023
u8 function;
drivers/scsi/esas2r/atvda.h
1035
u8 function; /* VDA_FUNC_SCSI */
drivers/scsi/esas2r/atvda.h
1083
u8 function; /* VDA_FUNC_FLASH */
drivers/scsi/esas2r/atvda.h
1106
u8 function; /* VDA_FUNC_DIAG */
drivers/scsi/esas2r/atvda.h
1126
u8 function; /* VDA_FUNC_AE */
drivers/scsi/esas2r/atvda.h
1141
u8 function; /* VDA_FUNC_CLI */
drivers/scsi/esas2r/atvda.h
1153
u8 function; /* VDA_FUNC_IOCTL */
drivers/scsi/esas2r/atvda.h
1182
u8 function; /* VDA_FUNC_CFG */
drivers/scsi/esas2r/atvda.h
1199
u8 function; /* VDA_FUNC_MGT */
drivers/scsi/esas2r/esas2r.h
1092
void esas2r_nuxi_mgt_data(u8 function, void *data);
drivers/scsi/esas2r/esas2r.h
1093
void esas2r_nuxi_cfg_data(u8 function, void *data);
drivers/scsi/esas2r/esas2r.h
1245
vrq->scsi.function = VDA_FUNC_SCSI;
drivers/scsi/esas2r/esas2r_disc.c
1172
if (rq->vrq->scsi.function == VDA_FUNC_SCSI) {
drivers/scsi/esas2r/esas2r_disc.c
924
hi->function = ATTO_FUNC_GET_DEV_ADDR;
drivers/scsi/esas2r/esas2r_flash.c
932
static bool esas2r_flash_access(struct esas2r_adapter *a, u32 function)
drivers/scsi/esas2r/esas2r_flash.c
940
if (function == DRBL_FLASH_REQ)
drivers/scsi/esas2r/esas2r_flash.c
944
esas2r_write_register_dword(a, MU_DOORBELL_IN, function);
drivers/scsi/esas2r/esas2r_flash.c
964
if (doorbell & function)
drivers/scsi/esas2r/esas2r_flash.c
977
if (function == DRBL_FLASH_REQ) {
drivers/scsi/esas2r/esas2r_flash.c
991
if (function == DRBL_FLASH_DONE)
drivers/scsi/esas2r/esas2r_int.c
278
if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) {
drivers/scsi/esas2r/esas2r_int.c
922
if (rq->vrq->scsi.function == VDA_FUNC_FLASH
drivers/scsi/esas2r/esas2r_int.c
937
if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)
drivers/scsi/esas2r/esas2r_io.c
127
if (unlikely(rq->vrq->scsi.function == VDA_FUNC_FLASH
drivers/scsi/esas2r/esas2r_io.c
54
if (rq->vrq->scsi.function == VDA_FUNC_SCSI)
drivers/scsi/esas2r/esas2r_io.c
540
if (rq->vrq->scsi.function == VDA_FUNC_SCSI
drivers/scsi/esas2r/esas2r_io.c
58
} else if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) {
drivers/scsi/esas2r/esas2r_io.c
785
if (rq->vrq->scsi.function == VDA_FUNC_SCSI
drivers/scsi/esas2r/esas2r_io.c
818
if (rq->vrq->scsi.function == VDA_FUNC_SCSI
drivers/scsi/esas2r/esas2r_io.c
87
if (rq->vrq->scsi.function == VDA_FUNC_SCSI) {
drivers/scsi/esas2r/esas2r_ioctl.c
1206
if (ioctl_hba->function == ATTO_FUNC_GET_ADAP_INFO) {
drivers/scsi/esas2r/esas2r_ioctl.c
755
switch (hi->function) {
drivers/scsi/esas2r/esas2r_main.c
1206
if (rq->vrq->scsi.function == VDA_FUNC_SCSI) {
drivers/scsi/esas2r/esas2r_main.c
1314
void esas2r_nuxi_mgt_data(u8 function, void *data)
drivers/scsi/esas2r/esas2r_main.c
1325
switch (function) {
drivers/scsi/esas2r/esas2r_main.c
1427
void esas2r_nuxi_cfg_data(u8 function, void *data)
drivers/scsi/esas2r/esas2r_main.c
1431
switch (function) {
drivers/scsi/esas2r/esas2r_vda.c
276
switch (vi->function) {
drivers/scsi/esas2r/esas2r_vda.c
357
rq->vrq->scsi.function = VDA_FUNC_FLASH;
drivers/scsi/esas2r/esas2r_vda.c
384
rq->vrq->scsi.function = VDA_FUNC_MGT;
drivers/scsi/esas2r/esas2r_vda.c
426
rq->vrq->scsi.function = VDA_FUNC_AE;
drivers/scsi/esas2r/esas2r_vda.c
457
rq->vrq->scsi.function = VDA_FUNC_IOCTL;
drivers/scsi/esas2r/esas2r_vda.c
475
rq->vrq->scsi.function = VDA_FUNC_CFG;
drivers/scsi/esas2r/esas2r_vda.c
77
if (vi->function >= vercnt) {
drivers/scsi/esas2r/esas2r_vda.c
82
if (vi->version > esas2r_vdaioctl_versions[vi->function]) {
drivers/scsi/esas2r/esas2r_vda.c
92
if (vi->function != VDA_FUNC_SCSI)
drivers/scsi/esas2r/esas2r_vda.c
95
rq->vrq->scsi.function = vi->function;
drivers/scsi/esas2r/esas2r_vda.c
99
switch (vi->function) {
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
1345
hisi_hba->timer.function = link_timeout_disable_link;
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
1366
hisi_hba->timer.function = link_timeout_enable_link;
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
1372
hisi_hba->timer.function = link_timeout_disable_link;
drivers/scsi/hpsa.c
9290
cp->function = IOACCEL1_FUNCTION_SCSIIO;
drivers/scsi/hpsa.c
9978
VERIFY_OFFSET(function, 0x03);
drivers/scsi/hpsa_cmd.h
481
u8 function; /* 0x03 */
drivers/scsi/ipr.c
7516
ipr_cmd->timer.function = ipr_reset_timer_done;
drivers/scsi/ipr.c
7601
ipr_cmd->timer.function = ipr_oper_timeout;
drivers/scsi/ipr.c
7671
ipr_cmd->timer.function = ipr_oper_timeout;
drivers/scsi/ipr.c
935
ipr_cmd->timer.function = timeout_func;
drivers/scsi/isci/scu_task_context.h
368
u32 function:8;
drivers/scsi/libfc/fc_fcp.c
1201
fsp->timer.function = fc_fcp_timeout;
drivers/scsi/libfc/fc_fcp.c
1294
fsp->timer.function = fc_lun_reset_send;
drivers/scsi/libfc/fc_fcp.c
1432
fsp->timer.function = fc_fcp_timeout;
drivers/scsi/libsas/sas_expander.c
85
task->slow_task->timer.function = sas_task_internal_timedout;
drivers/scsi/libsas/sas_scsi_host.c
1009
task->slow_task->timer.function = sas_task_internal_timedout;
drivers/scsi/libsas/sas_scsi_host.c
1187
slow->timer.function(&slow->timer);
drivers/scsi/libsas/sas_scsi_host.c
906
task->slow_task->timer.function = sas_task_internal_timedout;
drivers/scsi/lpfc/lpfc_init.c
2525
char *function;
drivers/scsi/lpfc/lpfc_init.c
2568
m.function = "Obsolete, Unsupported Fibre Channel Adapter";
drivers/scsi/lpfc/lpfc_init.c
2579
m.function = "Obsolete, Unsupported Fibre Channel Adapter";
drivers/scsi/lpfc/lpfc_init.c
2776
m.name, m.function,
drivers/scsi/lpfc/lpfc_init.c
2781
m.name, m.bus, m.function);
drivers/scsi/lpfc/lpfc_init.c
2786
m.bus, m.function);
drivers/scsi/megaraid/megaraid_mm.c
705
if (timeout.timer.function) {
drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h
78
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_init.h
24
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_init.h
73
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
10
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
1065
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
1082
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
186
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
200
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
223
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
234
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
262
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
273
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
312
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
326
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
366
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
53
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
761
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
774
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
788
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
802
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
820
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
838
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
857
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
873
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
890
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
909
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
927
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
958
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
985
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_sas.h
21
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_sas.h
37
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_tool.h
20
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_tool.h
37
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_transport.h
366
u8 function;
drivers/scsi/mpi3mr/mpi/mpi30_transport.h
377
u8 function;
drivers/scsi/mpi3mr/mpi3mr_app.c
1846
if (mpi_header->function == MPI3_BSG_FUNCTION_SMP_PASSTHROUGH) {
drivers/scsi/mpi3mr/mpi3mr_app.c
257
diag_buf_post_req.function = MPI3_FUNCTION_DIAG_BUFFER_POST;
drivers/scsi/mpi3mr/mpi3mr_app.c
2576
__func__, __LINE__, mpi_header->function, din_size,
drivers/scsi/mpi3mr/mpi3mr_app.c
2586
__func__, __LINE__, mpi_header->function, din_size);
drivers/scsi/mpi3mr/mpi3mr_app.c
2594
__func__, __LINE__, mpi_header->function, dout_size);
drivers/scsi/mpi3mr/mpi3mr_app.c
2600
if (mpi_header->function == MPI3_BSG_FUNCTION_SMP_PASSTHROUGH) {
drivers/scsi/mpi3mr/mpi3mr_app.c
2692
if (mpi_header->function == MPI3_BSG_FUNCTION_NVME_ENCAPSULATED) {
drivers/scsi/mpi3mr/mpi3mr_app.c
2730
if (mpi_header->function == MPI3_BSG_FUNCTION_SCSI_TASK_MGMT) {
drivers/scsi/mpi3mr/mpi3mr_app.c
2760
if (mpi_header->function == MPI3_BSG_FUNCTION_MGMT_PASSTHROUGH) {
drivers/scsi/mpi3mr/mpi3mr_app.c
2788
if (((mpi_header->function != MPI3_FUNCTION_SCSI_IO) &&
drivers/scsi/mpi3mr/mpi3mr_app.c
2789
(mpi_header->function != MPI3_FUNCTION_NVME_ENCAPSULATED))
drivers/scsi/mpi3mr/mpi3mr_app.c
2796
if (mpi_header->function ==
drivers/scsi/mpi3mr/mpi3mr_app.c
2804
if ((mpi_header->function == MPI3_BSG_FUNCTION_NVME_ENCAPSULATED) ||
drivers/scsi/mpi3mr/mpi3mr_app.c
2805
(mpi_header->function == MPI3_BSG_FUNCTION_SCSI_IO)) {
drivers/scsi/mpi3mr/mpi3mr_app.c
365
diag_buf_manage_req.function = MPI3_FUNCTION_DIAG_BUFFER_MANAGE;
drivers/scsi/mpi3mr/mpi3mr_app.c
954
pel_abort_req.function = MPI3_FUNCTION_PERSISTENT_EVENT_LOG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
2047
delq_req.function = MPI3_FUNCTION_DELETE_REPLY_QUEUE;
drivers/scsi/mpi3mr/mpi3mr_fw.c
2267
create_req.function = MPI3_FUNCTION_CREATE_REPLY_QUEUE;
drivers/scsi/mpi3mr/mpi3mr_fw.c
2395
create_req.function = MPI3_FUNCTION_CREATE_REQUEST_QUEUE;
drivers/scsi/mpi3mr/mpi3mr_fw.c
2725
iou_ctrl.function = MPI3_FUNCTION_IO_UNIT_CONTROL;
drivers/scsi/mpi3mr/mpi3mr_fw.c
2802
ci_upload.function = MPI3_FUNCTION_CI_UPLOAD;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3148
iocfacts_req.function = MPI3_FUNCTION_IOC_FACTS;
drivers/scsi/mpi3mr/mpi3mr_fw.c
333
if (def_reply && def_reply->function ==
drivers/scsi/mpi3mr/mpi3mr_fw.c
3607
iocinit_req.function = MPI3_FUNCTION_IOC_INIT;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3727
evtnotify_req.function = MPI3_FUNCTION_EVENT_NOTIFICATION;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3793
evtack_req.function = MPI3_FUNCTION_EVENT_ACK;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3953
pe_req.function = MPI3_FUNCTION_PORT_ENABLE;
drivers/scsi/mpi3mr/mpi3mr_fw.c
397
if (def_reply->function == MPI3_FUNCTION_SCSI_IO) {
drivers/scsi/mpi3mr/mpi3mr_fw.c
5227
pel_wait.function = MPI3_FUNCTION_PERSISTENT_EVENT_LOG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
5270
pel_getseq_req.function = MPI3_FUNCTION_PERSISTENT_EVENT_LOG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
5742
cfg_req->function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
5932
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
5992
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6051
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6111
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6171
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6231
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6285
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6341
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6397
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6466
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_fw.c
6523
cfg_req.function = MPI3_FUNCTION_CONFIG;
drivers/scsi/mpi3mr/mpi3mr_os.c
2474
iou_ctrl.function = MPI3_FUNCTION_IO_UNIT_CONTROL;
drivers/scsi/mpi3mr/mpi3mr_os.c
2571
tm_req.function = MPI3_FUNCTION_SCSI_TASK_MGMT;
drivers/scsi/mpi3mr/mpi3mr_os.c
2706
evtack_req.function = MPI3_FUNCTION_EVENT_ACK;
drivers/scsi/mpi3mr/mpi3mr_os.c
3989
tm_req.function = MPI3_FUNCTION_SCSI_TASK_MGMT;
drivers/scsi/mpi3mr/mpi3mr_os.c
5238
scsiio_req->function = MPI3_FUNCTION_SCSI_IO;
drivers/scsi/mpi3mr/mpi3mr_transport.c
101
u8 function; /* 0x01 */
drivers/scsi/mpi3mr/mpi3mr_transport.c
173
manufacture_request->function = 1;
drivers/scsi/mpi3mr/mpi3mr_transport.c
180
mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2529
u8 function; /* 0x11 */
drivers/scsi/mpi3mr/mpi3mr_transport.c
2540
u8 function; /* 0x11 */
drivers/scsi/mpi3mr/mpi3mr_transport.c
2606
phy_error_log_request->function = 0x11;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2614
mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2785
u8 function; /* 0x91 */
drivers/scsi/mpi3mr/mpi3mr_transport.c
2802
u8 function; /* 0x11 */
drivers/scsi/mpi3mr/mpi3mr_transport.c
2872
phy_control_request->function = 0x91;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2885
mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2960
mpi_request.function = MPI3_FUNCTION_IO_UNIT_CONTROL;
drivers/scsi/mpi3mr/mpi3mr_transport.c
3301
mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH;
drivers/scsi/mpi3mr/mpi3mr_transport.c
93
u8 function;
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1241
karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn);
drivers/scsi/mpt3sas/mpt3sas_ctl.h
144
uint32_t function:3;
drivers/scsi/mpt3sas/mpt3sas_transport.c
1233
u8 function; /* 0x11 */
drivers/scsi/mpt3sas/mpt3sas_transport.c
1244
u8 function; /* 0x11 */
drivers/scsi/mpt3sas/mpt3sas_transport.c
1325
phy_error_log_request->function = 0x11;
drivers/scsi/mpt3sas/mpt3sas_transport.c
1521
u8 function; /* 0x91 */
drivers/scsi/mpt3sas/mpt3sas_transport.c
1538
u8 function; /* 0x11 */
drivers/scsi/mpt3sas/mpt3sas_transport.c
1616
phy_control_request->function = 0x91;
drivers/scsi/mpt3sas/mpt3sas_transport.c
319
u8 function;
drivers/scsi/mpt3sas/mpt3sas_transport.c
327
u8 function; /* 0x01 */
drivers/scsi/mpt3sas/mpt3sas_transport.c
418
manufacture_request->function = 1;
drivers/scsi/mvsas/mv_sas.c
1821
if (phy->timer.function == NULL) {
drivers/scsi/mvsas/mv_sas.c
1822
phy->timer.function = mvs_sig_time_out;
drivers/scsi/mvsas/mv_sas.c
978
if (phy->timer.function)
drivers/scsi/mvsas/mv_sas.c
980
phy->timer.function = NULL;
drivers/scsi/pmcraid.c
1928
cmd->timer.function = pmcraid_timeout_handler;
drivers/scsi/pmcraid.c
592
cmd->timer.function = pmcraid_bist_done;
drivers/scsi/pmcraid.c
624
cmd->timer.function = pmcraid_reset_alert_done;
drivers/scsi/pmcraid.c
661
cmd->timer.function = pmcraid_reset_alert_done;
drivers/scsi/pmcraid.c
904
cmd->timer.function = timeout_func;
drivers/scsi/qedi/qedi_fw.c
1477
tmf_pdu_header.function = tmf_hdr->flags;
drivers/scsi/qla2xxx/tcm_qla2xxx.c
750
mcmd, se_tmr->function, se_tmr->response);
drivers/scsi/smartpqi/smartpqi.h
1629
u8 function;
drivers/scsi/smartpqi/smartpqi.h
1637
u8 function;
drivers/sh/maple/maple.c
123
unsigned long interval, unsigned long function)
drivers/sh/maple/maple.c
127
dev->function = cpu_to_be32(function);
drivers/sh/maple/maple.c
157
int maple_add_packet(struct maple_device *mdev, u32 function, u32 command,
drivers/sh/maple/maple.c
169
((__be32 *)sendbuf)[0] = cpu_to_be32(function);
drivers/sh/maple/maple.c
320
if (mdev->devinfo.function & cpu_to_be32(maple_drv->function))
drivers/sh/maple/maple.c
334
unsigned long function;
drivers/sh/maple/maple.c
340
memcpy(&mdev->devinfo.function, recvbuf + 4, 4);
drivers/sh/maple/maple.c
363
function = be32_to_cpu(mdev->devinfo.function);
drivers/sh/maple/maple.c
366
mdev->product_name, function, mdev->port, mdev->unit);
drivers/sh/maple/maple.c
368
if (function > 0x200) {
drivers/sh/maple/maple.c
370
function = 0;
drivers/sh/maple/maple.c
384
mdev->unit, function);
drivers/sh/maple/maple.c
387
mdev->function = function;
drivers/sh/maple/maple.c
427
be32_to_cpu(mdev->devinfo.function),
drivers/sh/maple/maple.c
756
if (maple_dev->devinfo.function == 0xFFFFFFFF)
drivers/sh/maple/maple.c
758
else if (maple_dev->devinfo.function &
drivers/sh/maple/maple.c
759
cpu_to_be32(maple_drv->function))
drivers/spi/spi-cs42l43.c
252
u32 function;
drivers/spi/spi-cs42l43.c
258
ret = acpi_get_local_address(handle, &function);
drivers/spi/spi-cs42l43.c
259
if (ret || function != func_smart_amp)
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
817
dev->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c
979
dev->sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
drivers/staging/media/atomisp/pci/atomisp_csi2.c
174
me->function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/media/atomisp/pci/atomisp_subdev.c
822
me->function = MEDIA_ENT_F_PROC_VIDEO_ISP;
drivers/staging/media/atomisp/pci/atomisp_v4l2.c
1025
if (isp->sensor_subdevs[i]->entity.function == MEDIA_ENT_F_PROC_VIDEO_ISP) {
drivers/staging/media/imx/imx-ic-common.c
55
priv->sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_SCALER;
drivers/staging/media/imx/imx-media-csi.c
1924
if (sd->entity.function == MEDIA_ENT_F_VID_MUX)
drivers/staging/media/imx/imx-media-csi.c
2009
priv->sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/staging/media/imx/imx-media-vdic.c
894
priv->sd.entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
drivers/staging/media/imx/imx6-mipi-csi2.c
738
csi2->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/media/ipu3/ipu3-v4l2.c
1108
imgu_sd->subdev.entity.function = MEDIA_ENT_F_PROC_VIDEO_STATISTICS;
drivers/staging/media/ipu7/ipu7-isys-subdev.c
281
asd->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/media/max96712/max96712.c
307
priv->sd.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
517
subdev->entity.function = MEDIA_ENT_F_PROC_VIDEO_ISP;
drivers/staging/media/tegra-video/csi.c
632
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/media/tegra-video/vip.c
171
subdev->entity.function = MEDIA_ENT_F_VID_IF_BRIDGE;
drivers/staging/rtl8723bs/include/rtl8723b_hal.h
47
u8 function; /* Reserved for different FW function indications,
drivers/target/iscsi/iscsi_target.c
1964
u8 function, tcm_function = TMR_UNKNOWN;
drivers/target/iscsi/iscsi_target.c
1968
function = hdr->flags;
drivers/target/iscsi/iscsi_target.c
1972
" 0x%08x, CID: %hu\n", hdr->itt, hdr->cmdsn, function,
drivers/target/iscsi/iscsi_target.c
1975
if ((function != ISCSI_TM_FUNC_ABORT_TASK) &&
drivers/target/iscsi/iscsi_target.c
1976
((function != ISCSI_TM_FUNC_TASK_REASSIGN) &&
drivers/target/iscsi/iscsi_target.c
1982
if ((function == ISCSI_TM_FUNC_TASK_REASSIGN) &&
drivers/target/iscsi/iscsi_target.c
1990
if ((function != ISCSI_TM_FUNC_ABORT_TASK) &&
drivers/target/iscsi/iscsi_target.c
2014
if (function != ISCSI_TM_FUNC_TASK_REASSIGN) {
drivers/target/iscsi/iscsi_target.c
2015
tcm_function = iscsit_convert_tmf(function);
drivers/target/iscsi/iscsi_target.c
2018
" 0x%02x\n", function);
drivers/target/iscsi/iscsi_target.c
2043
if (function != ISCSI_TM_FUNC_TASK_REASSIGN) {
drivers/target/iscsi/iscsi_target.c
2051
switch (function) {
drivers/target/iscsi/iscsi_target.c
2089
" error.\n", function);
drivers/target/iscsi/iscsi_target.c
2094
if ((function != ISCSI_TM_FUNC_TASK_REASSIGN) &&
drivers/target/target_core_tmr.c
205
if (tmr_p->function == TMR_LUN_RESET)
drivers/target/target_core_tmr.c
241
tmr_p->function, tmr_p->response, cmd->t_state);
drivers/target/target_core_tmr.c
29
u8 function,
drivers/target/target_core_tmr.c
44
tmr->function = function;
drivers/target/target_core_transport.c
3170
pfx, target_tmf_name(tmf->function), cmd->tag,
drivers/target/target_core_transport.c
3594
switch (tmr->function) {
drivers/target/target_core_transport.c
3620
tmr->function);
drivers/target/target_core_transport.c
3659
cmd->se_tmr_req->function,
drivers/target/tcm_fc/tfc_cmd.c
400
tmr->function, tmr->response, code);
drivers/tty/serial/8250/8250_core.c
275
up->timer.function = serial8250_backup_timeout;
drivers/tty/serial/8250/8250_core.c
304
up->timer.function = serial8250_timeout;
drivers/tty/serial/xilinx_uartps.c
438
cdns_uart->tx_timer.function = &cdns_rs485_rx_callback;
drivers/usb/atm/ueagle-atm.c
1135
u8 function, u32 address, u16 offset, u32 data)
drivers/usb/atm/ueagle-atm.c
1143
E1_FUNCTION_TYPE(function),
drivers/usb/atm/ueagle-atm.c
1144
E1_FUNCTION_SUBTYPE(function),
drivers/usb/atm/ueagle-atm.c
1150
sc->cmv_dsc.e1.function = function | 0x2;
drivers/usb/atm/ueagle-atm.c
1157
cmv.bFunction = function;
drivers/usb/atm/ueagle-atm.c
1173
u16 function, u16 group, u16 address, u16 offset, u32 data)
drivers/usb/atm/ueagle-atm.c
1183
E4_FUNCTION_TYPE(function), E4_FUNCTION_SUBTYPE(function),
drivers/usb/atm/ueagle-atm.c
1187
sc->cmv_dsc.e4.function = function | (0x1 << 4);
drivers/usb/atm/ueagle-atm.c
1192
cmv.wFunction = cpu_to_be16(function);
drivers/usb/atm/ueagle-atm.c
1850
sc->cmv_dsc.e4.function = E4_MAKEFUNCTION(E4_ADSLDIRECTIVE,
drivers/usb/atm/ueagle-atm.c
1853
sc->cmv_dsc.e1.function = E1_MAKEFUNCTION(E1_ADSLDIRECTIVE,
drivers/usb/atm/ueagle-atm.c
1979
if (cmv->bFunction != dsc->function) {
drivers/usb/atm/ueagle-atm.c
2037
if (be16_to_cpu(cmv->wFunction) != dsc->function)
drivers/usb/atm/ueagle-atm.c
87
u8 function;
drivers/usb/atm/ueagle-atm.c
94
u16 function;
drivers/usb/chipidea/debug.c
43
(ci->driver->function ? ci->driver->function : ""));
drivers/usb/gadget/composite.c
2698
gadget_driver->function = (char *) driver->name;
drivers/usb/gadget/composite.c
311
struct usb_function *function)
drivers/usb/gadget/composite.c
316
function->name, function,
drivers/usb/gadget/composite.c
319
if (!function->set_alt || !function->disable)
drivers/usb/gadget/composite.c
322
function->config = config;
drivers/usb/gadget/composite.c
323
list_add_tail(&function->list, &config->functions);
drivers/usb/gadget/composite.c
325
if (function->bind_deactivated) {
drivers/usb/gadget/composite.c
326
value = usb_function_deactivate(function);
drivers/usb/gadget/composite.c
332
if (function->bind) {
drivers/usb/gadget/composite.c
333
value = function->bind(config, function);
drivers/usb/gadget/composite.c
335
list_del(&function->list);
drivers/usb/gadget/composite.c
336
function->config = NULL;
drivers/usb/gadget/composite.c
346
if (!config->fullspeed && function->fs_descriptors)
drivers/usb/gadget/composite.c
348
if (!config->highspeed && function->hs_descriptors)
drivers/usb/gadget/composite.c
350
if (!config->superspeed && function->ss_descriptors)
drivers/usb/gadget/composite.c
352
if (!config->superspeed_plus && function->ssp_descriptors)
drivers/usb/gadget/composite.c
358
function->name, function, value);
drivers/usb/gadget/composite.c
397
int usb_function_deactivate(struct usb_function *function)
drivers/usb/gadget/composite.c
399
struct usb_composite_dev *cdev = function->config->cdev;
drivers/usb/gadget/composite.c
428
int usb_function_activate(struct usb_function *function)
drivers/usb/gadget/composite.c
430
struct usb_composite_dev *cdev = function->config->cdev;
drivers/usb/gadget/composite.c
476
struct usb_function *function)
drivers/usb/gadget/composite.c
481
config->interface[id] = function;
drivers/usb/gadget/configfs.c
2043
gi->composite.gadget_driver.function = kstrdup(name, GFP_KERNEL);
drivers/usb/gadget/configfs.c
2044
gi->composite.name = gi->composite.gadget_driver.function;
drivers/usb/gadget/configfs.c
2046
if (!gi->composite.gadget_driver.function)
drivers/usb/gadget/configfs.c
407
kfree(gi->composite.gadget_driver.function);
drivers/usb/gadget/function/f_fs.c
2426
ret = config_ep_by_speed(func->gadget, &func->function, ep->ep);
drivers/usb/gadget/function/f_fs.c
3278
if (func->function.ss_descriptors) {
drivers/usb/gadget/function/f_fs.c
3280
func->function.ss_descriptors[(long)valuep] = desc;
drivers/usb/gadget/function/f_fs.c
3281
} else if (func->function.hs_descriptors) {
drivers/usb/gadget/function/f_fs.c
3283
func->function.hs_descriptors[(long)valuep] = desc;
drivers/usb/gadget/function/f_fs.c
3286
func->function.fs_descriptors[(long)valuep] = desc;
drivers/usb/gadget/function/f_fs.c
3375
int id = usb_interface_id(func->conf, &func->function);
drivers/usb/gadget/function/f_fs.c
3425
t = &func->function.os_desc_table[desc->bFirstInterfaceNumber];
drivers/usb/gadget/function/f_fs.c
3439
t = &func->function.os_desc_table[h->interface];
drivers/usb/gadget/function/f_fs.c
3533
func->function.strings = func->ffs->stringtabs;
drivers/usb/gadget/function/f_fs.c
3612
func->function.fs_descriptors = vla_ptr(vlabuf, d, fs_descs);
drivers/usb/gadget/function/f_fs.c
3626
func->function.hs_descriptors = vla_ptr(vlabuf, d, hs_descs);
drivers/usb/gadget/function/f_fs.c
3640
func->function.ss_descriptors = func->function.ssp_descriptors =
drivers/usb/gadget/function/f_fs.c
3667
func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table);
drivers/usb/gadget/function/f_fs.c
3672
desc = func->function.os_desc_table[i].os_desc =
drivers/usb/gadget/function/f_fs.c
3688
func->function.os_desc_n =
drivers/usb/gadget/function/f_fs.c
4098
func->function.fs_descriptors = NULL;
drivers/usb/gadget/function/f_fs.c
4099
func->function.hs_descriptors = NULL;
drivers/usb/gadget/function/f_fs.c
4100
func->function.ss_descriptors = NULL;
drivers/usb/gadget/function/f_fs.c
4101
func->function.ssp_descriptors = NULL;
drivers/usb/gadget/function/f_fs.c
4114
func->function.name = "Function FS Gadget";
drivers/usb/gadget/function/f_fs.c
4116
func->function.bind = ffs_func_bind;
drivers/usb/gadget/function/f_fs.c
4117
func->function.unbind = ffs_func_unbind;
drivers/usb/gadget/function/f_fs.c
4118
func->function.set_alt = ffs_func_set_alt;
drivers/usb/gadget/function/f_fs.c
4119
func->function.get_alt = ffs_func_get_alt;
drivers/usb/gadget/function/f_fs.c
4120
func->function.disable = ffs_func_disable;
drivers/usb/gadget/function/f_fs.c
4121
func->function.setup = ffs_func_setup;
drivers/usb/gadget/function/f_fs.c
4122
func->function.req_match = ffs_func_req_match;
drivers/usb/gadget/function/f_fs.c
4123
func->function.suspend = ffs_func_suspend;
drivers/usb/gadget/function/f_fs.c
4124
func->function.resume = ffs_func_resume;
drivers/usb/gadget/function/f_fs.c
4125
func->function.free_func = ffs_free;
drivers/usb/gadget/function/f_fs.c
4127
return &func->function;
drivers/usb/gadget/function/f_fs.c
84
struct usb_function function;
drivers/usb/gadget/function/f_fs.c
91
return container_of(f, struct ffs_function, function);
drivers/usb/gadget/function/f_loopback.c
236
struct usb_composite_dev *cdev = loop->function.config->cdev;
drivers/usb/gadget/function/f_loopback.c
29
struct usb_function function;
drivers/usb/gadget/function/f_loopback.c
298
cdev = loop->function.config->cdev;
drivers/usb/gadget/function/f_loopback.c
300
VDBG(cdev, "%s disabled\n", loop->function.name);
drivers/usb/gadget/function/f_loopback.c
363
result = config_ep_by_speed(cdev->gadget, &(loop->function), ep);
drivers/usb/gadget/function/f_loopback.c
394
DBG(cdev, "%s enabled\n", loop->function.name);
drivers/usb/gadget/function/f_loopback.c
40
return container_of(f, struct f_loopback, function);
drivers/usb/gadget/function/f_loopback.c
443
loop->function.name = "loopback";
drivers/usb/gadget/function/f_loopback.c
444
loop->function.bind = loopback_bind;
drivers/usb/gadget/function/f_loopback.c
445
loop->function.set_alt = loopback_set_alt;
drivers/usb/gadget/function/f_loopback.c
446
loop->function.disable = loopback_disable;
drivers/usb/gadget/function/f_loopback.c
447
loop->function.strings = loopback_strings;
drivers/usb/gadget/function/f_loopback.c
449
loop->function.free_func = lb_free_func;
drivers/usb/gadget/function/f_loopback.c
451
return &loop->function;
drivers/usb/gadget/function/f_mass_storage.c
2358
rc = config_ep_by_speed(common->gadget, &(fsg->function), fsg->bulk_in);
drivers/usb/gadget/function/f_mass_storage.c
2367
rc = config_ep_by_speed(common->gadget, &(fsg->function),
drivers/usb/gadget/function/f_mass_storage.c
294
struct usb_function function;
drivers/usb/gadget/function/f_mass_storage.c
3142
usb_free_all_descriptors(&fsg->function);
drivers/usb/gadget/function/f_mass_storage.c
324
return container_of(f, struct fsg_dev, function);
drivers/usb/gadget/function/f_mass_storage.c
3549
fsg = container_of(f, struct fsg_dev, function);
drivers/usb/gadget/function/f_mass_storage.c
3573
fsg->function.name = FSG_DRIVER_DESC;
drivers/usb/gadget/function/f_mass_storage.c
3574
fsg->function.bind = fsg_bind;
drivers/usb/gadget/function/f_mass_storage.c
3575
fsg->function.unbind = fsg_unbind;
drivers/usb/gadget/function/f_mass_storage.c
3576
fsg->function.setup = fsg_setup;
drivers/usb/gadget/function/f_mass_storage.c
3577
fsg->function.set_alt = fsg_set_alt;
drivers/usb/gadget/function/f_mass_storage.c
3578
fsg->function.disable = fsg_disable;
drivers/usb/gadget/function/f_mass_storage.c
3579
fsg->function.free_func = fsg_free;
drivers/usb/gadget/function/f_mass_storage.c
3583
return &fsg->function;
drivers/usb/gadget/function/f_phonet.c
400
struct usb_gadget *gadget = fp->function.config->cdev->gadget;
drivers/usb/gadget/function/f_phonet.c
42
struct usb_function function;
drivers/usb/gadget/function/f_phonet.c
58
return container_of(f, struct f_phonet, function);
drivers/usb/gadget/function/f_phonet.c
679
fp->function.name = "phonet";
drivers/usb/gadget/function/f_phonet.c
680
fp->function.bind = pn_bind;
drivers/usb/gadget/function/f_phonet.c
681
fp->function.unbind = pn_unbind;
drivers/usb/gadget/function/f_phonet.c
682
fp->function.set_alt = pn_set_alt;
drivers/usb/gadget/function/f_phonet.c
683
fp->function.get_alt = pn_get_alt;
drivers/usb/gadget/function/f_phonet.c
684
fp->function.disable = pn_disconnect;
drivers/usb/gadget/function/f_phonet.c
685
fp->function.free_func = phonet_free;
drivers/usb/gadget/function/f_phonet.c
688
return &fp->function;
drivers/usb/gadget/function/f_printer.c
101
return container_of(f, struct printer_dev, function);
drivers/usb/gadget/function/f_printer.c
1498
dev->function.name = "printer";
drivers/usb/gadget/function/f_printer.c
1499
dev->function.bind = printer_func_bind;
drivers/usb/gadget/function/f_printer.c
1500
dev->function.setup = printer_func_setup;
drivers/usb/gadget/function/f_printer.c
1501
dev->function.unbind = printer_func_unbind;
drivers/usb/gadget/function/f_printer.c
1502
dev->function.set_alt = printer_func_set_alt;
drivers/usb/gadget/function/f_printer.c
1503
dev->function.disable = printer_func_disable;
drivers/usb/gadget/function/f_printer.c
1504
dev->function.req_match = gprinter_req_match;
drivers/usb/gadget/function/f_printer.c
1505
dev->function.free_func = gprinter_free;
drivers/usb/gadget/function/f_printer.c
1526
return &dev->function;
drivers/usb/gadget/function/f_printer.c
96
struct usb_function function;
drivers/usb/gadget/function/f_sourcesink.c
35
struct usb_function function;
drivers/usb/gadget/function/f_sourcesink.c
473
struct usb_composite_dev *cdev = ss->function.config->cdev;
drivers/usb/gadget/function/f_sourcesink.c
537
cdev = ss->function.config->cdev;
drivers/usb/gadget/function/f_sourcesink.c
56
return container_of(f, struct f_sourcesink, function);
drivers/usb/gadget/function/f_sourcesink.c
629
cdev = ss->function.config->cdev;
drivers/usb/gadget/function/f_sourcesink.c
645
cdev = ss->function.config->cdev;
drivers/usb/gadget/function/f_sourcesink.c
648
VDBG(cdev, "%s disabled\n", ss->function.name);
drivers/usb/gadget/function/f_sourcesink.c
661
result = config_ep_by_speed(cdev->gadget, &(ss->function), ep);
drivers/usb/gadget/function/f_sourcesink.c
679
result = config_ep_by_speed(cdev->gadget, &(ss->function), ep);
drivers/usb/gadget/function/f_sourcesink.c
701
result = config_ep_by_speed(cdev->gadget, &(ss->function), ep);
drivers/usb/gadget/function/f_sourcesink.c
722
result = config_ep_by_speed(cdev->gadget, &(ss->function), ep);
drivers/usb/gadget/function/f_sourcesink.c
739
DBG(cdev, "%s enabled, alt intf %d\n", ss->function.name, alt);
drivers/usb/gadget/function/f_sourcesink.c
867
ss->function.name = "source/sink";
drivers/usb/gadget/function/f_sourcesink.c
868
ss->function.bind = sourcesink_bind;
drivers/usb/gadget/function/f_sourcesink.c
869
ss->function.set_alt = sourcesink_set_alt;
drivers/usb/gadget/function/f_sourcesink.c
870
ss->function.get_alt = sourcesink_get_alt;
drivers/usb/gadget/function/f_sourcesink.c
871
ss->function.disable = sourcesink_disable;
drivers/usb/gadget/function/f_sourcesink.c
872
ss->function.setup = sourcesink_setup;
drivers/usb/gadget/function/f_sourcesink.c
873
ss->function.strings = sourcesink_strings;
drivers/usb/gadget/function/f_sourcesink.c
875
ss->function.free_func = sourcesink_free_func;
drivers/usb/gadget/function/f_sourcesink.c
877
return &ss->function;
drivers/usb/gadget/function/f_tcm.c
1432
cmd->tmr_func = tm_iu->function;
drivers/usb/gadget/function/f_tcm.c
2389
usb_composite_setup_continue(fu->function.config->cdev);
drivers/usb/gadget/function/f_tcm.c
2613
fu->function.name = "Target Function";
drivers/usb/gadget/function/f_tcm.c
2614
fu->function.bind = tcm_bind;
drivers/usb/gadget/function/f_tcm.c
2615
fu->function.unbind = tcm_unbind;
drivers/usb/gadget/function/f_tcm.c
2616
fu->function.set_alt = tcm_set_alt;
drivers/usb/gadget/function/f_tcm.c
2617
fu->function.get_alt = tcm_get_alt;
drivers/usb/gadget/function/f_tcm.c
2618
fu->function.setup = tcm_setup;
drivers/usb/gadget/function/f_tcm.c
2619
fu->function.disable = tcm_disable;
drivers/usb/gadget/function/f_tcm.c
2620
fu->function.free_func = tcm_free;
drivers/usb/gadget/function/f_tcm.c
2626
return &fu->function;
drivers/usb/gadget/function/f_tcm.c
392
struct usb_function *f = &fu->function;
drivers/usb/gadget/function/f_tcm.c
42
return container_of(f, struct f_uas, function);
drivers/usb/gadget/function/f_tcm.c
966
struct usb_function *f = &fu->function;
drivers/usb/gadget/function/tcm.h
124
struct usb_function function;
drivers/usb/gadget/function/tcm.h
16
#define fuas_to_gadget(f) (f->function.config->cdev->gadget)
drivers/usb/gadget/legacy/dbgp.c
410
.function = "dbgp",
drivers/usb/gadget/legacy/inode.c
1747
.function = (char *) driver_desc,
drivers/usb/gadget/legacy/raw_gadget.c
548
dev->driver.function = DRIVER_DESC;
drivers/usb/gadget/udc/core.c
1625
dev_dbg(&udc->dev, "binding gadget driver [%s]\n", driver->function);
drivers/usb/gadget/udc/core.c
1664
driver->function, ret);
drivers/usb/gadget/udc/core.c
1680
dev_dbg(&udc->dev, "unbinding gadget driver [%s]\n", driver->function);
drivers/usb/gadget/udc/core.c
1722
driver->function, ret);
drivers/usb/gadget/udc/core.c
1730
driver->function);
drivers/usb/gadget/udc/core.c
1734
driver->function);
drivers/usb/gadget/udc/core.c
1825
if (drv && drv->function)
drivers/usb/gadget/udc/core.c
1826
rc = scnprintf(buf, PAGE_SIZE, "%s\n", drv->function);
drivers/usb/gadget/udc/core.c
1830
static DEVICE_ATTR_RO(function);
drivers/usb/gadget/udc/core.c
1903
udc->driver->function);
drivers/usb/gadget/udc/dummy_hcd.c
978
if (!dum->driver || !dum->driver->function)
drivers/usb/gadget/udc/dummy_hcd.c
980
return scnprintf(buf, PAGE_SIZE, "%s\n", dum->driver->function);
drivers/usb/gadget/udc/dummy_hcd.c
982
static DEVICE_ATTR_RO(function);
drivers/usb/gadget/udc/net2280.c
1643
if (!dev->driver || !dev->driver->function ||
drivers/usb/gadget/udc/net2280.c
1644
strlen(dev->driver->function) > PAGE_SIZE)
drivers/usb/gadget/udc/net2280.c
1646
return scnprintf(buf, PAGE_SIZE, "%s\n", dev->driver->function);
drivers/usb/gadget/udc/net2280.c
1648
static DEVICE_ATTR_RO(function);
drivers/usb/isp1760/isp1760-udc.c
1291
driver->function);
drivers/usb/isp1760/isp1760-udc.c
1304
driver->function);
drivers/usb/misc/adutux.c
105
static inline void adu_debug_data(struct device *dev, const char *function,
drivers/usb/misc/adutux.c
109
function, size, size, data);
drivers/usb/misc/legousbtower.c
278
const char *function, int size,
drivers/usb/misc/legousbtower.c
282
function, size, size, data);
drivers/usb/mtu3/mtu3_gadget.c
528
dev_dbg(mtu->dev, "bind driver %s\n", driver->function);
drivers/usb/phy/phy-fsl-usb.h
338
void (*function)(unsigned long); /* Timeout function */
drivers/usb/phy/phy-fsl-usb.h
344
(void (*function)(unsigned long), unsigned long expires, unsigned long data)
drivers/usb/phy/phy-fsl-usb.h
351
timer->function = function;
drivers/usb/serial/io_ti.c
1628
int function;
drivers/usb/serial/io_ti.c
1665
function = TIUMP_GET_FUNC_FROM_CODE(data[0]);
drivers/usb/serial/io_ti.c
1667
port_number, function, data[1]);
drivers/usb/serial/io_ti.c
1680
switch (function) {
drivers/usb/serial/ti_usb_3410_5052.c
1107
int function;
drivers/usb/serial/ti_usb_3410_5052.c
1136
function = ti_get_func_from_code(data[0]);
drivers/usb/serial/ti_usb_3410_5052.c
1139
__func__, port_number, function, data[1]);
drivers/usb/serial/ti_usb_3410_5052.c
1153
switch (function) {
drivers/usb/serial/usb-serial.c
1384
#define set_to_generic_if_null(type, function) \
drivers/usb/serial/usb-serial.c
1386
if (!type->function) { \
drivers/usb/serial/usb-serial.c
1387
type->function = usb_serial_generic_##function; \
drivers/usb/serial/usb-serial.c
1388
pr_debug("%s: using generic " #function "\n", \
drivers/usb/storage/realtek_cr.c
141
CHK_BIT((chip)->status[0].function[0], 1)
drivers/usb/storage/realtek_cr.c
143
CHK_BIT((chip)->status[0].function[0], 2)
drivers/usb/storage/realtek_cr.c
145
CHK_BIT((chip)->status[0].function[0], 3)
drivers/usb/storage/realtek_cr.c
147
CHK_BIT((chip)->status[0].function[0], 4)
drivers/usb/storage/realtek_cr.c
149
CHK_BIT((chip)->status[0].function[1], 0)
drivers/usb/storage/realtek_cr.c
151
CHK_BIT((chip)->status[0].function[1], 1)
drivers/usb/storage/realtek_cr.c
471
chip->status[lun].function[0] = buf[14];
drivers/usb/storage/realtek_cr.c
472
chip->status[lun].function[1] = buf[15];
drivers/usb/storage/realtek_cr.c
88
u8 function[2];
drivers/usb/storage/realtek_cr.c
906
status->function[0] = buf[14];
drivers/usb/storage/realtek_cr.c
907
status->function[1] = buf[15];
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
1829
if (dsi->lanes[t].function == functions[i])
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2014
in_use[i] = dsi->lanes[i].function != DSI_LANE_UNUSED;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2055
if (dsi->lanes[i].function != DSI_LANE_UNUSED)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
2117
if (dsi->lanes[i].function == DSI_LANE_UNUSED)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
230
enum dsi_lane_function function;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
3165
if (dsi->lanes[i].function == DSI_LANE_UNUSED)
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
3770
lanes[i].function = DSI_LANE_UNUSED;
drivers/video/fbdev/omap2/omapfb/dss/dsi.c
3799
lanes[lane].function = functions[i / 2];
drivers/virt/vboxguest/vboxguest_core.c
1560
call->function, call->timeout_ms,
drivers/virt/vboxguest/vboxguest_core.c
1565
call->function, call->timeout_ms,
drivers/virt/vboxguest/vboxguest_core.h
210
struct vbg_dev *gdev, u32 requestor, u32 client_id, u32 function,
drivers/virt/vboxguest/vboxguest_utils.c
385
struct vmmdev_hgcm_call *call, u32 client_id, u32 function,
drivers/virt/vboxguest/vboxguest_utils.c
397
call->function = function;
drivers/virt/vboxguest/vboxguest_utils.c
617
u32 function, u32 timeout_ms,
drivers/virt/vboxguest/vboxguest_utils.c
645
hgcm_call_init_call(call, client_id, function, parms, parm_count,
drivers/virt/vboxguest/vboxguest_utils.c
672
struct vbg_dev *gdev, u32 requestor, u32 client_id, u32 function,
drivers/virt/vboxguest/vboxguest_utils.c
714
ret = vbg_hgcm_call(gdev, requestor, client_id, function, timeout_ms,
drivers/virt/vboxguest/vmmdev.h
429
u32 function;
drivers/xen/efi.c
39
.u.efi_runtime_call.function = XEN_EFI_##name, \
fs/adfs/adfs.h
158
void __adfs_error(struct super_block *sb, const char *function,
fs/adfs/super.c
26
void __adfs_error(struct super_block *sb, const char *function, const char *fmt, ...)
fs/adfs/super.c
36
sb->s_id, function ? ": " : "",
fs/adfs/super.c
37
function ? function : "", &vaf);
fs/affs/affs.h
146
extern void affs_error(struct super_block *sb, const char *function,
fs/affs/affs.h
149
extern void affs_warning(struct super_block *sb, const char *function,
fs/affs/amigaffs.c
473
affs_error(struct super_block *sb, const char *function, const char *fmt, ...)
fs/affs/amigaffs.c
481
pr_crit("error (device %s): %s(): %pV\n", sb->s_id, function, &vaf);
fs/affs/amigaffs.c
489
affs_warning(struct super_block *sb, const char *function, const char *fmt, ...)
fs/affs/amigaffs.c
497
pr_warn("(device %s): %s(): %pV\n", sb->s_id, function, &vaf);
fs/btrfs/messages.c
118
void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
fs/btrfs/messages.c
151
sb->s_id, statestr, function, line, error, errstr, &vaf);
fs/btrfs/messages.c
155
sb->s_id, statestr, function, line, error, errstr);
fs/btrfs/messages.c
278
void __btrfs_panic(const struct btrfs_fs_info *fs_info, const char *function,
fs/btrfs/messages.c
295
s_id, function, line, &vaf, error, errstr);
fs/btrfs/messages.c
298
function, line, &vaf, error, errstr);
fs/btrfs/messages.h
171
void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,
fs/btrfs/messages.h
182
void __btrfs_panic(const struct btrfs_fs_info *fs_info, const char *function,
fs/btrfs/transaction.c
2728
const char *function,
fs/btrfs/transaction.c
2740
__btrfs_handle_fs_error(fs_info, function, line, error, NULL);
fs/btrfs/transaction.h
305
const char *function,
fs/btrfs/tree-log.c
172
static void do_abort_log_replay(struct walk_control *wc, const char *function,
fs/btrfs/tree-log.c
214
function, line, btrfs_root_id(wc->root), wc->stage, error, &vaf);
fs/ext2/super.c
49
void ext2_error(struct super_block *sb, const char *function,
fs/ext2/super.c
71
sb->s_id, function, &vaf);
fs/ext4/block_validity.c
349
int ext4_check_blockref(const char *function, unsigned int line,
fs/ext4/block_validity.c
363
ext4_error_inode(inode, function, line, blk,
fs/ext4/dir.c
115
ext4_error_file(filp, function, line, bh->b_blocknr,
fs/ext4/dir.c
121
ext4_error_inode(dir, function, line, bh->b_blocknr,
fs/ext4/dir.c
79
int __ext4_check_dir_entry(const char *function, unsigned int line,
fs/ext4/ext4.h
3068
ext4_iget_flags flags, const char *function,
fs/ext4/ext4.h
3225
void __ext4_warning_inode(const struct inode *inode, const char *function,
fs/ext4/extents.c
455
static int __ext4_ext_check(const char *function, unsigned int line,
fs/ext4/extents.c
505
ext4_error_inode_err(inode, function, line, 0, -err,
fs/ext4/extents.c
551
__read_extent_tree_block(const char *function, unsigned int line,
fs/ext4/extents.c
576
err = __ext4_ext_check(function, line, inode, ext_block_hdr(bh),
fs/ext4/inode.c
5078
const char *function, unsigned int line)
fs/ext4/inode.c
5112
ext4_error_inode(inode, function, line, 0, "%s", err_str);
fs/ext4/inode.c
5136
ext4_iget_flags flags, const char *function,
fs/ext4/inode.c
5157
__ext4_error(sb, function, line, false, EFSCORRUPTED, 0,
fs/ext4/inode.c
5167
ret = check_igot_inode(inode, flags, function, line);
fs/ext4/inode.c
5194
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5219
ext4_error_inode_err(inode, function, line, 0,
fs/ext4/inode.c
5258
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5277
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5290
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5303
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5381
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5411
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5431
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5442
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5467
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5472
ext4_error_inode(inode, function, line, 0,
fs/ext4/inode.c
5480
ret = check_igot_inode(inode, flags, function, line);
fs/ext4/mballoc.c
680
function, file, line, # assert); \
fs/ext4/mballoc.c
704
const char *function, int line)
fs/ext4/mmp.c
119
const char *function, unsigned int line, const char *msg)
fs/ext4/mmp.c
121
__ext4_warning(sb, function, line, "%s", msg);
fs/ext4/mmp.c
122
__ext4_warning(sb, function, line,
fs/ext4/super.c
1008
void __ext4_warning(struct super_block *sb, const char *function,
fs/ext4/super.c
1021
sb->s_id, function, line, &vaf);
fs/ext4/super.c
1025
void __ext4_warning_inode(const struct inode *inode, const char *function,
fs/ext4/super.c
1039
function, line, inode->i_ino, current->comm, &vaf);
fs/ext4/super.c
1043
void __ext4_grp_locked_error(const char *function, unsigned int line,
fs/ext4/super.c
1056
trace_ext4_error(sb, function, line);
fs/ext4/super.c
1062
sb->s_id, function, line, grp);
fs/ext4/super.c
1077
save_error_info(sb, EFSCORRUPTED, ino, block, function,
fs/ext4/super.c
1084
ext4_handle_error(sb, false, EFSCORRUPTED, ino, block, function, line);
fs/ext4/super.c
808
void __ext4_error(struct super_block *sb, const char *function,
fs/ext4/super.c
818
trace_ext4_error(sb, function, line);
fs/ext4/super.c
825
sb->s_id, function, line, current->comm, &vaf);
fs/ext4/super.c
831
ext4_handle_error(sb, force_ro, error, 0, block, function, line);
fs/ext4/super.c
834
void __ext4_error_inode(struct inode *inode, const char *function,
fs/ext4/super.c
844
trace_ext4_error(inode->i_sb, function, line);
fs/ext4/super.c
852
inode->i_sb->s_id, function, line, inode->i_ino,
fs/ext4/super.c
857
inode->i_sb->s_id, function, line, inode->i_ino,
fs/ext4/super.c
866
function, line);
fs/ext4/super.c
869
void __ext4_error_file(struct file *file, const char *function,
fs/ext4/super.c
881
trace_ext4_error(inode->i_sb, function, line);
fs/ext4/super.c
893
inode->i_sb->s_id, function, line, inode->i_ino,
fs/ext4/super.c
899
inode->i_sb->s_id, function, line, inode->i_ino,
fs/ext4/super.c
906
function, line);
fs/ext4/super.c
952
void __ext4_std_error(struct super_block *sb, const char *function,
fs/ext4/super.c
970
sb->s_id, function, line, errstr);
fs/ext4/super.c
975
ext4_handle_error(sb, false, -errno, 0, 0, function, line);
fs/ext4/xattr.c
193
const char *function, unsigned int line)
fs/ext4/xattr.c
293
__ext4_error_inode(inode, function, line, 0, -err,
fs/ext4/xattr.c
298
__ext4_error_inode(inode, function, line, 0, -err,
fs/ext4/xattr.c
305
const char *function, unsigned int line)
fs/ext4/xattr.c
308
bh->b_data, function, line);
fs/ext4/xattr.c
317
void *end, const char *function, unsigned int line)
fs/ext4/xattr.c
320
function, line);
fs/ext4/xattr.h
214
void *end, const char *function, unsigned int line);
fs/gfs2/util.c
271
const char *function, char *file, unsigned int line)
fs/gfs2/util.c
279
assertion, function, file, line);
fs/gfs2/util.c
290
const char *function, char *file, unsigned int line)
fs/gfs2/util.c
300
assertion, function, file, line);
fs/gfs2/util.c
311
function, file, line);
fs/gfs2/util.c
320
void gfs2_consist_i(struct gfs2_sbd *sdp, const char *function,
fs/gfs2/util.c
326
function, file, line);
fs/gfs2/util.c
335
const char *function, char *file, unsigned int line)
fs/gfs2/util.c
345
function, file, line);
fs/gfs2/util.c
355
const char *function, char *file, unsigned int line)
fs/gfs2/util.c
367
function, file, line);
fs/gfs2/util.c
377
const char *function, char *file,
fs/gfs2/util.c
385
function, file, line);
fs/gfs2/util.c
394
u16 type, u16 t, const char *function,
fs/gfs2/util.c
402
function, file, line);
fs/gfs2/util.c
412
void gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file,
fs/gfs2/util.c
418
function, file, line);
fs/gfs2/util.c
427
const char *function, char *file, unsigned int line)
fs/gfs2/util.c
435
(unsigned long long)bh->b_blocknr, function, file, line);
fs/gfs2/util.h
103
const char *function,
fs/gfs2/util.h
109
const char *function,
fs/gfs2/util.h
116
gfs2_meta_check_ii(sdp, bh, function,
fs/gfs2/util.h
121
gfs2_metatype_check_ii(sdp, bh, type, t, function,
fs/gfs2/util.h
141
void gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function,
fs/gfs2/util.h
154
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
40
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
52
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
64
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
71
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
78
const char *function, char *file, unsigned int line);
fs/gfs2/util.h
85
const char *function,
fs/minix/inode.c
29
void __minix_error_inode(struct inode *inode, const char *function,
fs/minix/inode.c
40
inode->i_sb->s_id, function, line, inode->i_ino,
fs/minix/minix.h
46
void __minix_error_inode(struct inode *inode, const char *function,
fs/nilfs2/nilfs.h
330
void __nilfs_error(struct super_block *sb, const char *function,
fs/nilfs2/super.c
123
void __nilfs_error(struct super_block *sb, const char *function,
fs/nilfs2/super.c
136
sb->s_id, function, &vaf);
fs/ocfs2/dlmglue.c
113
const char *function,
fs/ocfs2/dlmglue.c
120
lockres->l_name, function, line);
fs/ocfs2/super.c
2501
int __ocfs2_error(struct super_block *sb, const char *function,
fs/ocfs2/super.c
2514
sb->s_id, function, &vaf);
fs/ocfs2/super.c
2524
void __ocfs2_abort(struct super_block *sb, const char *function,
fs/ocfs2/super.c
2536
sb->s_id, function, &vaf);
fs/ocfs2/super.h
14
int __ocfs2_error(struct super_block *sb, const char *function,
fs/ocfs2/super.h
21
void __ocfs2_abort(struct super_block *sb, const char *function,
fs/udf/super.c
2333
void _udf_err(struct super_block *sb, const char *function,
fs/udf/super.c
2344
pr_err("error (device %s): %s: %pV", sb->s_id, function, &vaf);
fs/udf/super.c
2349
void _udf_warn(struct super_block *sb, const char *function,
fs/udf/super.c
2360
pr_warn("warning (device %s): %s: %pV", sb->s_id, function, &vaf);
fs/udf/udfdecl.h
22
const char *function, const char *fmt, ...);
fs/udf/udfdecl.h
27
const char *function, const char *fmt, ...);
fs/ufs/super.c
272
void ufs_error (struct super_block * sb, const char * function,
fs/ufs/super.c
295
sb->s_id, function, &vaf);
fs/ufs/super.c
301
sb->s_id, function, &vaf);
fs/ufs/super.c
306
void ufs_panic (struct super_block * sb, const char * function,
fs/ufs/super.c
327
sb->s_id, function, &vaf);
fs/ufs/super.c
331
void ufs_warning (struct super_block * sb, const char * function,
fs/ufs/super.c
341
sb->s_id, function, &vaf);
fs/vboxsf/vboxsf_wrappers.c
53
static int vboxsf_call(u32 function, void *parms, u32 parm_count, int *status)
fs/vboxsf/vboxsf_wrappers.c
62
err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
include/acpi/acoutput.h
302
#define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \
include/acpi/acoutput.h
306
function (level, line, filename, modulename, component, __VA_ARGS__); \
include/acpi/acoutput.h
332
#define ACPI_TRACE_ENTRY(name, function, type, param) \
include/acpi/acoutput.h
334
function (ACPI_DEBUG_PARAMETERS, (type) (param))
include/acpi/acoutput.h
377
#define ACPI_TRACE_EXIT(function, type, param) \
include/acpi/acoutput.h
380
function (ACPI_DEBUG_PARAMETERS, _param); \
include/acpi/acoutput.h
386
#define ACPI_TRACE_EXIT(function, type, param) \
include/acpi/acoutput.h
388
function (ACPI_DEBUG_PARAMETERS, (type) (param)); \
include/acpi/acpi_bus.h
51
acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function);
include/acpi/acpiosxf.h
248
acpi_osd_exec_callback function, void *context);
include/acpi/acpiosxf.h
322
acpi_status acpi_os_signal(u32 function, void *info);
include/acpi/acpixf.h
596
(acpi_init_handler handler, u32 function))
include/acpi/actbl1.h
1743
u16 function;
include/acpi/actbl1.h
253
u8 function;
include/acpi/actbl1.h
860
u8 function;
include/acpi/actbl2.h
3634
u8 function;
include/acpi/actbl3.h
385
u8 function;
include/acpi/actypes.h
1067
acpi_status (*acpi_init_handler) (acpi_handle object, u32 function);
include/acpi/actypes.h
1093
acpi_status (*acpi_adr_space_handler) (u32 function,
include/acpi/actypes.h
1127
u32 function,
include/acpi/actypes.h
1225
u16 function;
include/cxl/event.h
240
u8 function;
include/hyperv/hvhdk_mini.h
466
u8 function : 3;
include/linux/acpi.h
142
int (*create_thread)(acpi_osd_exec_callback function, void *context);
include/linux/acpi.h
160
int acpi_debugger_create_thread(acpi_osd_exec_callback function, void *context);
include/linux/acpi.h
181
static inline int acpi_debugger_create_thread(acpi_osd_exec_callback function,
include/linux/alarmtimer.h
39
void (*function)(struct alarm *, ktime_t now);
include/linux/alarmtimer.h
46
void (*function)(struct alarm *, ktime_t));
include/linux/atalk.h
77
__be16 function;
include/linux/ccp.h
577
enum ccp_ecc_function function;
include/linux/codetag.h
31
const char *function;
include/linux/codetag.h
71
.function = __func__, \
include/linux/counter.h
335
enum counter_function *function);
include/linux/counter.h
338
enum counter_function function);
include/linux/cper.h
551
u8 function;
include/linux/dmar.h
55
u8 function;
include/linux/dynamic_debug.h
174
.function = __func__, \
include/linux/dynamic_debug.h
22
const char *function;
include/linux/hrtimer.h
191
extern void hrtimer_setup(struct hrtimer *timer, enum hrtimer_restart (*function)(struct hrtimer *),
include/linux/hrtimer.h
194
enum hrtimer_restart (*function)(struct hrtimer *),
include/linux/hrtimer.h
294
enum hrtimer_restart (*function)(struct hrtimer *))
include/linux/hrtimer.h
302
if (WARN_ON_ONCE(!function))
include/linux/hrtimer.h
305
ACCESS_PRIVATE(timer, function) = function;
include/linux/hrtimer_types.h
50
enum hrtimer_restart (*__private function)(struct hrtimer *);
include/linux/isapnp.h
42
{ .vendor = ISAPNP_VENDOR(_va, _vb, _vc), .function = ISAPNP_FUNCTION(_function) }
include/linux/isapnp.h
48
unsigned short vendor, function;
include/linux/isapnp.h
54
.vendor = ISAPNP_VENDOR(_dva, _dvb, _dvc), .function = ISAPNP_FUNCTION(_dfunction)
include/linux/isapnp.h
80
unsigned short function,
include/linux/isapnp.h
94
unsigned short function,
include/linux/leds.h
665
const char *function;
include/linux/maple.h
57
unsigned long function;
include/linux/maple.h
73
unsigned long when, interval, function;
include/linux/maple.h
84
unsigned long function;
include/linux/maple.h
91
unsigned long function);
include/linux/maple.h
95
int maple_add_packet(struct maple_device *mdev, u32 function,
include/linux/mlx4/device.h
1038
return dev->caps.function;
include/linux/mlx4/device.h
536
u32 function;
include/linux/mod_devicetable.h
306
__u8 function;
include/linux/mod_devicetable.h
650
unsigned short vendor, function;
include/linux/mod_devicetable.h
892
__u8 function;
include/linux/net.h
291
#define net_ratelimited_function(function, ...) \
include/linux/net.h
294
function(__VA_ARGS__); \
include/linux/pinctrl/machine.h
35
const char *function;
include/linux/pinctrl/machine.h
95
.function = func, \
include/linux/pm.h
832
extern void __suspend_report_result(const char *function, struct device *dev, void *fn, int ret);
include/linux/qed/iscsi_common.h
579
u8 function;
include/linux/surface_aggregator/device.h
104
.function = __builtin_choose_expr((fun) != SSAM_SSH_FUN_ANY, (fun), 0)
include/linux/surface_aggregator/device.h
60
u8 function;
include/linux/timer.h
58
.function = (_function), \
include/linux/timer_types.h
15
void (*function)(struct timer_list *);
include/linux/typecheck.h
20
#define typecheck_fn(type,function) \
include/linux/typecheck.h
21
({ typeof(type) __tmp = function; \
include/linux/usb/gadget.h
767
char *function;
include/linux/usb/serial.h
388
const char *function, int size,
include/linux/usb/serial.h
392
function, size, size, data);
include/linux/usb/uas.h
62
__u8 function;
include/linux/vbox_utils.h
36
u32 function, u32 timeout_ms,
include/linux/wait.h
1233
#define DEFINE_WAIT_FUNC(name, function) \
include/linux/wait.h
1236
.func = function, \
include/linux/wait.h
1242
#define init_wait_func(wait, function) \
include/linux/wait.h
1245
(wait)->func = function; \
include/media/media-entity.h
353
u32 function;
include/media/v4l2-mem2mem.h
526
struct video_device *vdev, int function);
include/media/v4l2-mem2mem.h
535
struct video_device *vdev, int function)
include/media/v4l2-subdev.h
137
u8 function;
include/pcmcia/device_id.h
113
.function = (mfc), }
include/pcmcia/device_id.h
120
.function = (mfc), }
include/pcmcia/device_id.h
127
.function = (mfc), }
include/pcmcia/device_id.h
135
.function = (mfc), }
include/pcmcia/device_id.h
143
.function = (mfc), }
include/pcmcia/device_id.h
152
.function = (mfc), }
include/pcmcia/device_id.h
255
.function = (mfc), \
include/pcmcia/device_id.h
265
.function = (mfc), \
include/pcmcia/device_id.h
274
.function = (mfc), \
include/rv/automata.h
67
return RV_AUTOMATON_NAME.function[curr_state][event];
include/scsi/sas.h
701
u8 function;
include/scsi/sas.h
709
u8 function;
include/scsi/sas.h
717
u8 function;
include/sound/sdca.h
50
struct sdca_function_desc function[SDCA_MAX_FUNCTION_COUNT];
include/sound/sdca_asoc.h
64
int sdca_asoc_count_component(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_asoc.h
68
int sdca_asoc_populate_dapm(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_asoc.h
72
struct sdca_function_data *function,
include/sound/sdca_asoc.h
74
int sdca_asoc_populate_dais(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_asoc.h
79
struct sdca_function_data *function,
include/sound/sdca_asoc.h
85
struct sdca_function_data *function,
include/sound/sdca_asoc.h
91
struct sdca_function_data *function,
include/sound/sdca_asoc.h
94
struct sdca_function_data *function,
include/sound/sdca_fdl.h
71
int sdca_fdl_sync(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_fdl.h
74
int sdca_reset_function(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_fdl.h
90
struct sdca_function_data *function,
include/sound/sdca_fdl.h
97
struct sdca_function_data *function,
include/sound/sdca_function.h
1456
struct sdca_function_data *function);
include/sound/sdca_function.h
1471
struct sdca_function_data *function,
include/sound/sdca_interrupts.h
44
struct sdca_function_data *function;
include/sound/sdca_interrupts.h
76
struct sdca_function_data *function,
include/sound/sdca_interrupts.h
81
struct sdca_function_data *function,
include/sound/sdca_interrupts.h
83
int sdca_irq_populate(struct sdca_function_data *function,
include/sound/sdca_interrupts.h
87
struct sdca_function_data *function,
include/sound/sdca_interrupts.h
92
void sdca_irq_enable_early(struct sdca_function_data *function,
include/sound/sdca_interrupts.h
94
void sdca_irq_enable(struct sdca_function_data *function,
include/sound/sdca_interrupts.h
96
void sdca_irq_disable(struct sdca_function_data *function,
include/sound/sdca_regmap.h
18
bool sdca_regmap_readable(struct sdca_function_data *function, unsigned int reg);
include/sound/sdca_regmap.h
19
bool sdca_regmap_writeable(struct sdca_function_data *function, unsigned int reg);
include/sound/sdca_regmap.h
20
bool sdca_regmap_volatile(struct sdca_function_data *function, unsigned int reg);
include/sound/sdca_regmap.h
21
bool sdca_regmap_deferrable(struct sdca_function_data *function, unsigned int reg);
include/sound/sdca_regmap.h
22
int sdca_regmap_mbq_size(struct sdca_function_data *function, unsigned int reg);
include/sound/sdca_regmap.h
24
int sdca_regmap_count_constants(struct device *dev, struct sdca_function_data *function);
include/sound/sdca_regmap.h
25
int sdca_regmap_populate_constants(struct device *dev, struct sdca_function_data *function,
include/sound/sdca_regmap.h
29
struct sdca_function_data *function);
include/sound/sdca_regmap.h
31
struct sdca_function_data *function);
include/sound/sdca_ump.h
22
struct sdca_function_data *function,
include/sound/sdca_ump.h
27
struct sdca_function_data *function,
include/sound/sdca_ump.h
33
struct sdca_function_data *function,
include/sound/sdca_ump.h
40
struct sdca_function_data *function,
include/target/target_core_base.h
424
u8 function;
include/trace/events/ext4.h
2655
TP_PROTO(struct super_block *sb, const char *function,
include/trace/events/ext4.h
2658
TP_ARGS(sb, function, line),
include/trace/events/ext4.h
2662
__field( const char *, function )
include/trace/events/ext4.h
2668
__entry->function = function;
include/trace/events/ext4.h
2674
__entry->function, __entry->line)
include/trace/events/sched.h
101
__field( void *, function)
include/trace/events/sched.h
106
__entry->function = work->func;
include/trace/events/sched.h
109
TP_printk("work struct %p: function %ps", __entry->work, __entry->function)
include/trace/events/sched.h
121
TP_PROTO(struct kthread_work *work, kthread_work_func_t function),
include/trace/events/sched.h
123
TP_ARGS(work, function),
include/trace/events/sched.h
127
__field( void *, function)
include/trace/events/sched.h
132
__entry->function = function;
include/trace/events/sched.h
135
TP_printk("work struct %p: function %ps", __entry->work, __entry->function)
include/trace/events/sched.h
73
__field( void *, function)
include/trace/events/sched.h
79
__entry->function = work->func;
include/trace/events/sched.h
84
__entry->work, __entry->function, __entry->worker)
include/trace/events/timer.h
101
__field( void *, function)
include/trace/events/timer.h
108
__entry->function = timer->function;
include/trace/events/timer.h
113
__entry->timer, __entry->function, __entry->now,
include/trace/events/timer.h
231
__field( void *, function )
include/trace/events/timer.h
240
__entry->function = ACCESS_PRIVATE(hrtimer, function);
include/trace/events/timer.h
248
"mode=%s was_armed=%d", __entry->hrtimer, __entry->function,
include/trace/events/timer.h
270
__field( void *, function)
include/trace/events/timer.h
276
__entry->function = ACCESS_PRIVATE(hrtimer, function);
include/trace/events/timer.h
280
__entry->hrtimer, __entry->function,
include/trace/events/timer.h
61
__field( void *, function )
include/trace/events/timer.h
70
__entry->function = timer->function;
include/trace/events/timer.h
78
__entry->timer, __entry->function, __entry->expires,
include/trace/events/workqueue.h
100
TP_printk("work struct %p: function %ps", __entry->work, __entry->function)
include/trace/events/workqueue.h
112
TP_PROTO(struct work_struct *work, work_func_t function),
include/trace/events/workqueue.h
114
TP_ARGS(work, function),
include/trace/events/workqueue.h
118
__field( void *, function)
include/trace/events/workqueue.h
123
__entry->function = function;
include/trace/events/workqueue.h
126
TP_printk("work struct %p: function %ps", __entry->work, __entry->function)
include/trace/events/workqueue.h
32
__field( void *, function)
include/trace/events/workqueue.h
40
__entry->function = work->func;
include/trace/events/workqueue.h
47
__entry->work, __entry->function, __get_str(workqueue),
include/trace/events/workqueue.h
67
__field( void *, function)
include/trace/events/workqueue.h
72
__entry->function = work->func;
include/trace/events/workqueue.h
75
TP_printk("work struct %p function=%ps ", __entry->work, __entry->function)
include/trace/events/workqueue.h
92
__field( void *, function)
include/trace/events/workqueue.h
97
__entry->function = work->func;
include/uapi/linux/edd.h
96
__u8 function;
include/uapi/linux/media.h
301
__u32 function; /* Main function of the entity */
include/uapi/linux/vboxguest.h
149
__u32 function;
include/uapi/scsi/scsi_bsg_mpi3mr.h
464
__u8 function;
include/uapi/scsi/scsi_bsg_mpi3mr.h
480
__u8 function;
include/uapi/scsi/scsi_bsg_mpi3mr.h
504
__u8 function;
include/uapi/scsi/scsi_bsg_mpi3mr.h
533
__u8 function;
include/xen/interface/platform.h
117
uint32_t function;
kernel/kthread.c
1259
WARN_ON_ONCE(timer->function != kthread_delayed_work_timer_fn);
kernel/time/alarmtimer.c
194
if (alarm->function)
kernel/time/alarmtimer.c
195
alarm->function(alarm, base->get_ktime());
kernel/time/alarmtimer.c
316
void (*function)(struct alarm *, ktime_t))
kernel/time/alarmtimer.c
319
alarm->function = function;
kernel/time/alarmtimer.c
331
void (*function)(struct alarm *, ktime_t))
kernel/time/alarmtimer.c
335
__alarm_init(alarm, type, function);
kernel/time/alarmtimer.c
743
void (*function)(struct alarm *, ktime_t))
kernel/time/alarmtimer.c
747
__alarm_init(alarm, type, function);
kernel/time/hrtimer.c
1801
ACCESS_PRIVATE(timer, function) = hrtimer_dummy_timeout;
kernel/time/hrtimer.c
1803
ACCESS_PRIVATE(timer, function) = fn;
kernel/time/hrtimer.c
1819
void hrtimer_setup(struct hrtimer *timer, enum hrtimer_restart (*function)(struct hrtimer *),
kernel/time/hrtimer.c
1823
__hrtimer_setup(timer, function, clock_id, mode);
kernel/time/hrtimer.c
1838
enum hrtimer_restart (*function)(struct hrtimer *),
kernel/time/hrtimer.c
1842
__hrtimer_setup(timer, function, clock_id, mode);
kernel/time/hrtimer.c
1911
fn = ACCESS_PRIVATE(timer, function);
kernel/time/hrtimer.c
385
return ACCESS_PRIVATE((struct hrtimer *)addr, function);
kernel/time/sched_clock.c
218
if (ACCESS_PRIVATE(&sched_clock_timer, function) != NULL) {
kernel/time/timer.c
1057
if (!timer->function)
kernel/time/timer.c
1091
if (!timer->function)
kernel/time/timer.c
1324
if (!timer->function)
kernel/time/timer.c
1383
timer->function = NULL;
kernel/time/timer.c
1464
timer->function = NULL;
kernel/time/timer.c
1784
fn = timer->function;
kernel/time/timer.c
653
void (*function)(struct timer_list *t);
kernel/time/timer.c
659
.function = fn, \
kernel/time/timer.c
677
if (timer_hints[i].function == timer->function) {
kernel/time/timer.c
684
return timer->function;
kernel/time/timer.c
857
timer->function = func;
kernel/time/timer_list.c
49
SEQ_printf(m, " #%d: <%p>, %ps", idx, taddr, ACCESS_PRIVATE(timer, function));
kernel/trace/rv/monitors/nomiss/nomiss.h
47
unsigned char function[state_max_nomiss][event_max_nomiss];
kernel/trace/rv/monitors/nomiss/nomiss.h
74
.function = {
kernel/trace/rv/monitors/nrp/nrp.h
31
unsigned char function[state_max_nrp][event_max_nrp];
kernel/trace/rv/monitors/nrp/nrp.h
49
.function = {
kernel/trace/rv/monitors/opid/opid.h
36
unsigned char function[state_max_opid][event_max_opid];
kernel/trace/rv/monitors/opid/opid.h
53
.function = {
kernel/trace/rv/monitors/sco/sco.h
28
unsigned char function[state_max_sco][event_max_sco];
kernel/trace/rv/monitors/sco/sco.h
43
.function = {
kernel/trace/rv/monitors/scpd/scpd.h
29
unsigned char function[state_max_scpd][event_max_scpd];
kernel/trace/rv/monitors/scpd/scpd.h
45
.function = {
kernel/trace/rv/monitors/snep/snep.h
29
unsigned char function[state_max_snep][event_max_snep];
kernel/trace/rv/monitors/snep/snep.h
45
.function = {
kernel/trace/rv/monitors/snroc/snroc.h
28
unsigned char function[state_max_snroc][event_max_snroc];
kernel/trace/rv/monitors/snroc/snroc.h
43
.function = {
kernel/trace/rv/monitors/sssw/sssw.h
36
unsigned char function[state_max_sssw][event_max_sssw];
kernel/trace/rv/monitors/sssw/sssw.h
59
.function = {
kernel/trace/rv/monitors/stall/stall.h
39
unsigned char function[state_max_stall][event_max_stall];
kernel/trace/rv/monitors/stall/stall.h
59
.function = {
kernel/trace/rv/monitors/sts/sts.h
36
unsigned char function[state_max_sts][event_max_sts];
kernel/trace/rv/monitors/sts/sts.h
59
.function = {
kernel/trace/rv/monitors/wip/wip.h
28
unsigned char function[state_max_wip][event_max_wip];
kernel/trace/rv/monitors/wip/wip.h
43
.function = {
kernel/trace/rv/monitors/wwnr/wwnr.h
28
unsigned char function[state_max_wwnr][event_max_wwnr];
kernel/trace/rv/monitors/wwnr/wwnr.h
43
.function = {
kernel/trace/trace_entries.h
59
FTRACE_ENTRY_REG(function, ftrace_entry,
kernel/trace/trace_events_filter.c
1641
bool function = false;
kernel/trace/trace_events_filter.c
1685
function = true;
kernel/trace/trace_events_filter.c
1719
if (function) {
kernel/workqueue.c
2537
WARN_ON_ONCE(timer->function != delayed_work_timer_fn);
lib/alloc_tag.c
596
tag->ct.function, counter.bytes);
lib/codetag.c
125
ct->modname, ct->function);
lib/codetag.c
128
ct->filename, ct->lineno, ct->function);
lib/dynamic_debug.c
1148
iter->table->mod_name, dp->function,
lib/dynamic_debug.c
144
query->function ?: "",
lib/dynamic_debug.c
221
if (query->function &&
lib/dynamic_debug.c
222
!match_wildcard(query->function, dp->function))
lib/dynamic_debug.c
260
dt->mod_name, dp->function,
lib/dynamic_debug.c
435
rc = check_set(&query->function, arg, "func");
lib/dynamic_debug.c
447
if (check_set(&query->function, fline, "func"))
lib/dynamic_debug.c
57
const char *function;
lib/dynamic_debug.c
843
desc->function);
mm/show_mem.c
454
ct->lineno, ct->modname, ct->function);
mm/show_mem.c
458
ct->lineno, ct->function);
net/9p/trans_usbg.c
121
struct usb_composite_dev *cdev = usb9pfs->function.config->cdev;
net/9p/trans_usbg.c
151
struct usb_composite_dev *cdev = usb9pfs->function.config->cdev;
net/9p/trans_usbg.c
233
struct usb_composite_dev *cdev = usb9pfs->function.config->cdev;
net/9p/trans_usbg.c
279
usb9pfs->function.config->cdev;
net/9p/trans_usbg.c
294
usb9pfs->function.name);
net/9p/trans_usbg.c
334
ret = config_ep_by_speed(cdev->gadget, &usb9pfs->function, ep);
net/9p/trans_usbg.c
369
dev_dbg(&cdev->gadget->dev, "%s enabled\n", usb9pfs->function.name);
net/9p/trans_usbg.c
461
opts = container_of(usb9pfs->function.fi,
net/9p/trans_usbg.c
57
struct usb_function function;
net/9p/trans_usbg.c
62
return container_of(f, struct f_usb9pfs, function);
net/9p/trans_usbg.c
777
usb9pfs->function.name = "usb9pfs";
net/9p/trans_usbg.c
778
usb9pfs->function.bind = usb9pfs_func_bind;
net/9p/trans_usbg.c
779
usb9pfs->function.unbind = usb9pfs_func_unbind;
net/9p/trans_usbg.c
780
usb9pfs->function.set_alt = usb9pfs_set_alt;
net/9p/trans_usbg.c
781
usb9pfs->function.disable = usb9pfs_disable;
net/9p/trans_usbg.c
782
usb9pfs->function.strings = usb9pfs_strings;
net/9p/trans_usbg.c
784
usb9pfs->function.free_func = usb9pfs_free_func;
net/9p/trans_usbg.c
786
return &usb9pfs->function;
net/9p/trans_usbg.c
95
struct usb_composite_dev *cdev = usb9pfs->function.config->cdev;
net/appletalk/aarp.c
144
eah->function = htons(AARP_REQUEST);
net/appletalk/aarp.c
191
eah->function = htons(AARP_REPLY);
net/appletalk/aarp.c
242
eah->function = htons(AARP_PROBE);
net/appletalk/aarp.c
705
__u16 function;
net/appletalk/aarp.c
721
function = ntohs(ea->function);
net/appletalk/aarp.c
724
if (function < AARP_REQUEST || function > AARP_PROBE ||
net/appletalk/aarp.c
764
switch (function) {
net/appletalk/aarp.c
810
if (function == AARP_PROBE) {
net/atm/lec.c
1815
entry->timer.function = lec_arp_expire_arp;
net/atm/lec.c
2006
entry->timer.function = lec_arp_expire_vcc;
net/atm/lec.c
2081
entry->timer.function = lec_arp_expire_vcc;
net/bluetooth/cmtp/capi.c
150
__u16 function, unsigned char *buf, int len)
net/bluetooth/cmtp/capi.c
175
capimsg_setu16(s, 11, function);
net/can/proc.c
232
if (net->can.stattimer.function == can_stat_update) {
net/can/proc.c
289
if (net->can.stattimer.function == can_stat_update) {
net/lapb/lapb_timer.c
40
lapb->t1timer.function = lapb_t1timer_expiry;
net/lapb/lapb_timer.c
51
lapb->t2timer.function = lapb_t2timer_expiry;
net/netfilter/nf_conntrack_expect.c
664
if (expect->timeout.function)
net/netrom/af_netrom.c
284
sk->sk_timer.function = nr_destroy_timer;
net/netrom/nr_timer.c
45
sk->sk_timer.function = nr_heartbeat_expiry;
net/rose/rose_link.c
37
neigh->ftimer.function = rose_ftimer_expiry;
net/rose/rose_link.c
48
neigh->t0timer.function = rose_t0timer_expiry;
net/rose/rose_timer.c
36
sk->sk_timer.function = rose_heartbeat_expiry;
net/rose/rose_timer.c
48
rose->timer.function = rose_timer_expiry;
net/rose/rose_timer.c
60
rose->timer.function = rose_timer_expiry;
net/rose/rose_timer.c
72
rose->timer.function = rose_timer_expiry;
net/rose/rose_timer.c
84
rose->timer.function = rose_timer_expiry;
net/rose/rose_timer.c
97
rose->idletimer.function = rose_idletimer_expiry;
net/sunrpc/svc_xprt.c
760
if (serv->sv_temptimer.function == NULL) {
net/sunrpc/svc_xprt.c
762
serv->sv_temptimer.function = svc_age_temp_xprts;
net/x25/af_x25.c
401
sk->sk_timer.function = x25_destroy_timer;
net/x25/x25_timer.c
34
sk->sk_timer.function = x25_heartbeat_expiry;
scripts/gcc-plugins/gcc-generate-gimple-pass.h
100
virtual unsigned int execute(function *) { return _EXECUTE(); }
scripts/gcc-plugins/gcc-generate-gimple-pass.h
94
virtual bool gate(function *) { return _GATE(); }
scripts/gcc-plugins/gcc-generate-ipa-pass.h
172
virtual bool gate(function *) { return _GATE(); }
scripts/gcc-plugins/gcc-generate-ipa-pass.h
177
virtual unsigned int execute(function *) { return _EXECUTE(); }
scripts/gcc-plugins/gcc-generate-rtl-pass.h
100
virtual unsigned int execute(function *) { return _EXECUTE(); }
scripts/gcc-plugins/gcc-generate-rtl-pass.h
94
virtual bool gate(function *) { return _GATE(); }
scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
100
virtual unsigned int execute(function *) { return _EXECUTE(); }
scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
94
virtual bool gate(function *) { return _GATE(); }
scripts/kconfig/preprocess.c
194
static const struct function function_table[] = {
scripts/kconfig/preprocess.c
208
const struct function *f;
scripts/mod/devicetable-offsets.c
179
DEVID_FIELD(isapnp_device_id, function);
scripts/mod/devicetable-offsets.c
263
DEVID_FIELD(ssam_device_id, function);
scripts/mod/devicetable-offsets.c
83
DEVID_FIELD(pcmcia_device_id, function);
scripts/mod/file2alias.c
1313
DEF_FIELD(symval, ssam_device_id, function);
scripts/mod/file2alias.c
1317
ADD(alias, "f", match_flags & SSAM_MATCH_FUNCTION, function);
scripts/mod/file2alias.c
610
DEF_FIELD(symval, pcmcia_device_id, function);
scripts/mod/file2alias.c
621
function);
scripts/mod/file2alias.c
975
DEF_FIELD(symval, isapnp_device_id, function);
scripts/mod/file2alias.c
980
(function >> 4) & 0x0f, function & 0x0f,
scripts/mod/file2alias.c
981
(function >> 12) & 0x0f, (function >> 8) & 0x0f);
security/smack/smack.h
260
const char *function;
security/smack/smack.h
476
a->a.smack_audit_data->function = func;
security/smack/smack_access.c
324
ad->smack_audit_data->function,
security/smack/smack_access.c
366
if (sad->function == NULL)
security/smack/smack_access.c
367
sad->function = "unknown";
security/tomoyo/common.h
1096
void tomoyo_warn_oom(const char *function);
security/tomoyo/memory.c
17
void tomoyo_warn_oom(const char *function)
security/tomoyo/memory.c
24
pr_warn("ERROR: Out of memory at %s.\n", function);
sound/pci/ac97/ac97_proc.c
24
int header = 0, function;
sound/pci/ac97/ac97_proc.c
36
for (function = 0; function < 12; ++function) {
sound/pci/ac97/ac97_proc.c
37
snd_ac97_write(ac97, AC97_FUNC_SELECT, function << 1);
sound/pci/ac97/ac97_proc.c
47
function_names[function],
sound/pci/asihpi/hpi6000.c
1740
if ((phm->function == HPI_ISTREAM_GROUP_ADD)
sound/pci/asihpi/hpi6000.c
1741
|| (phm->function == HPI_OSTREAM_GROUP_ADD)) {
sound/pci/asihpi/hpi6000.c
1763
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
210
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
225
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
262
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
280
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
300
switch (phm->function) {
sound/pci/asihpi/hpi6000.c
328
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpi6000.c
337
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpi6000.c
345
if (phm->function != HPI_SUBSYS_CREATE_ADAPTER)
sound/pci/asihpi/hpi6000.c
346
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpi6000.c
532
hm.function = HPI_ADAPTER_GET_INFO;
sound/pci/asihpi/hpi6205.c
1023
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi6205.c
1191
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi6205.c
1240
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi6205.c
2156
if (phm->function == HPI_ADAPTER_CLOSE) {
sound/pci/asihpi/hpi6205.c
2199
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
224
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
241
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
274
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
297
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
341
switch (phm->function) {
sound/pci/asihpi/hpi6205.c
375
&& (phm->function != HPI_ADAPTER_DEBUG_READ)) {
sound/pci/asihpi/hpi6205.c
377
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpi6205.c
380
phm->function);
sound/pci/asihpi/hpi6205.c
385
if (phm->function != HPI_SUBSYS_CREATE_ADAPTER)
sound/pci/asihpi/hpi6205.c
440
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpi6205.c
634
hm.function = HPI_ADAPTER_GET_INFO;
sound/pci/asihpi/hpi6205.c
737
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi6205.c
906
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi6205.c
954
u16 function = phm->function;
sound/pci/asihpi/hpi6205.c
956
phm->function = HPI_OSTREAM_SET_FORMAT;
sound/pci/asihpi/hpi6205.c
958
phm->function = function;
sound/pci/asihpi/hpi6205.c
978
hpi_init_response(phr, phm->object, phm->function, 0);
sound/pci/asihpi/hpi_internal.h
1003
u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
sound/pci/asihpi/hpi_internal.h
1054
u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
sound/pci/asihpi/hpi_internal.h
1065
u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
sound/pci/asihpi/hpi_internal.h
992
u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
sound/pci/asihpi/hpicmn.c
50
if (phr->function != phm->function) {
sound/pci/asihpi/hpicmn.c
52
phr->function);
sound/pci/asihpi/hpicmn.c
523
phr->function = phm->function;
sound/pci/asihpi/hpicmn.c
672
hpi_init_response(phr, HPI_OBJ_SUBSYSTEM, phm->function, 0);
sound/pci/asihpi/hpicmn.c
674
switch (phm->function) {
sound/pci/asihpi/hpidebug.c
41
phm->adapter_index, phm->obj_index, phm->function,
sound/pci/asihpi/hpimsginit.c
103
u16 object, u16 function)
sound/pci/asihpi/hpimsginit.c
106
(void)function;
sound/pci/asihpi/hpimsginit.c
116
u16 function)
sound/pci/asihpi/hpimsginit.c
118
hpi_init_messageV1(phm, msg_size, object, function);
sound/pci/asihpi/hpimsginit.c
119
hpi_init_responseV1(phr, res_size, object, function);
sound/pci/asihpi/hpimsginit.c
28
u16 function)
sound/pci/asihpi/hpimsginit.c
47
phm->function = function;
sound/pci/asihpi/hpimsginit.c
56
void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
sound/pci/asihpi/hpimsginit.c
72
phr->function = function;
sound/pci/asihpi/hpimsginit.c
79
struct hpi_response *phr, u16 object, u16 function)
sound/pci/asihpi/hpimsginit.c
81
hpi_init_message(phm, object, function);
sound/pci/asihpi/hpimsginit.c
84
hpi_init_response(phr, object, function,
sound/pci/asihpi/hpimsginit.c
89
u16 object, u16 function)
sound/pci/asihpi/hpimsginit.c
96
phm->function = function;
sound/pci/asihpi/hpimsginit.h
22
void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
sound/pci/asihpi/hpimsginit.h
26
struct hpi_response *phr, u16 object, u16 function);
sound/pci/asihpi/hpimsginit.h
29
u16 object, u16 function);
sound/pci/asihpi/hpimsginit.h
33
u16 function);
sound/pci/asihpi/hpimsgx.c
152
phm->adapter_index, phm->function);
sound/pci/asihpi/hpimsgx.c
154
switch (phm->function) {
sound/pci/asihpi/hpimsgx.c
200
hpi_init_response(phr, HPI_OBJ_SUBSYSTEM, phm->function,
sound/pci/asihpi/hpimsgx.c
209
switch (phm->function) {
sound/pci/asihpi/hpimsgx.c
237
switch (phm->function) {
sound/pci/asihpi/hpimsgx.c
254
hpi_init_response(phr, HPI_OBJ_OSTREAM, phm->function,
sound/pci/asihpi/hpimsgx.c
259
switch (phm->function) {
sound/pci/asihpi/hpimsgx.c
276
hpi_init_response(phr, HPI_OBJ_ISTREAM, phm->function,
sound/pci/asihpi/hpimsgx.c
281
switch (phm->function) {
sound/pci/asihpi/hpimsgx.c
305
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpimsgx.c
312
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpimsgx.c
68
hpi_init_response(phr, phm->object, phm->function,
sound/pci/asihpi/hpimsgx.c
700
hpi_init_response(&hr, phm->object, phm->function,
sound/pci/asihpi/hpimsgx.c
760
hm.function = HPI_OSTREAM_HOSTBUFFER_FREE;
sound/pci/asihpi/hpimsgx.c
763
hm.function = HPI_OSTREAM_GROUP_RESET;
sound/pci/asihpi/hpimsgx.c
784
hm.function = HPI_ISTREAM_HOSTBUFFER_FREE;
sound/pci/asihpi/hpimsgx.c
787
hm.function = HPI_ISTREAM_GROUP_RESET;
sound/pci/asihpi/hpioctl.c
157
switch (hm->h.function) {
sound/pci/asihpi/hpioctl.c
163
hr->h.function = hm->h.function;
sound/pci/asihpi/hpioctl.c
188
hm->h.function, HPI_ERROR_BAD_ADAPTER_NUMBER);
sound/pci/asihpi/hpioctl.c
205
switch (hm->h.function) {
sound/pci/asihpi/hpioctl.c
242
if (hm->h.function == HPI_ISTREAM_READ)
sound/soc/codecs/tas2783-sdw.c
1297
if (peripheral->sdca_data.function[i].type ==
sound/soc/codecs/tas2783-sdw.c
1315
&peripheral->sdca_data.function[i],
sound/soc/sdca/sdca_asoc.c
1002
mc->rreg = SDW_SDCA_CTL(function->desc->adr, entity->id,
sound/soc/sdca/sdca_asoc.c
104
for (i = 0; i < function->num_entities - 1; i++) {
sound/soc/sdca/sdca_asoc.c
105
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_asoc.c
1079
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1085
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_asoc.c
1086
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_asoc.c
1102
ret = populate_control(dev, function, entity,
sound/soc/sdca/sdca_asoc.c
1186
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1261
int sdca_asoc_populate_dais(struct device *dev, struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1268
for (i = 0, j = 0; i < function->num_entities - 1; i++) {
sound/soc/sdca/sdca_asoc.c
1269
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_asoc.c
1298
ret = populate_rate_format(dev, function, entity, stream);
sound/soc/sdca/sdca_asoc.c
1329
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1341
ret = sdca_asoc_count_component(dev, function, &num_widgets, &num_routes,
sound/soc/sdca/sdca_asoc.c
1362
ret = sdca_asoc_populate_dapm(dev, function, widgets, routes);
sound/soc/sdca/sdca_asoc.c
1366
ret = sdca_asoc_populate_controls(dev, function, controls);
sound/soc/sdca/sdca_asoc.c
1370
ret = sdca_asoc_populate_dais(dev, function, dais, ops);
sound/soc/sdca/sdca_asoc.c
1401
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1409
struct sdca_entity *entity = &function->entities[dai->id];
sound/soc/sdca/sdca_asoc.c
1434
cluster = sdca_id_find_cluster(dev, function, clusterid);
sound/soc/sdca/sdca_asoc.c
1496
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1499
struct sdca_entity *entity = &function->entities[dai->id];
sound/soc/sdca/sdca_asoc.c
1527
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, sel, 0);
sound/soc/sdca/sdca_asoc.c
1558
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1573
cluster = sdca_id_find_cluster(dev, function, cluster_id);
sound/soc/sdca/sdca_asoc.c
1579
unsigned int reg = SDW_SDCA_CTL(function->desc->adr,
sound/soc/sdca/sdca_asoc.c
1601
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1619
unsigned int reg = SDW_SDCA_CTL(function->desc->adr,
sound/soc/sdca/sdca_asoc.c
1641
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1658
unsigned int reg = SDW_SDCA_CTL(function->desc->adr,
sound/soc/sdca/sdca_asoc.c
1694
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
1699
struct sdca_entity *entity = &function->entities[dai->id];
sound/soc/sdca/sdca_asoc.c
1708
ret = set_cluster(dev, regmap, function, entity, channels);
sound/soc/sdca/sdca_asoc.c
1723
ret = set_clock(dev, regmap, function, entity->iot.clock, rate);
sound/soc/sdca/sdca_asoc.c
1728
ret = set_usage(dev, regmap, function, entity, usage_sel, rate, width);
sound/soc/sdca/sdca_asoc.c
188
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
253
soc_enum->reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, 0);
sound/soc/sdca/sdca_asoc.c
281
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
299
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
331
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
419
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
452
(*widget)->reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, 0);
sound/soc/sdca/sdca_asoc.c
472
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
531
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
558
soc_enum->reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, 0);
sound/soc/sdca/sdca_asoc.c
582
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
599
return entity_parse_su_device(dev, function, entity, widget, route);
sound/soc/sdca/sdca_asoc.c
605
return entity_parse_su_class(dev, function, entity, control, widget, route);
sound/soc/sdca/sdca_asoc.c
609
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
690
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
724
int sdca_asoc_populate_dapm(struct device *dev, struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
731
for (i = 0; i < function->num_entities - 1; i++) {
sound/soc/sdca/sdca_asoc.c
732
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_asoc.c
740
ret = entity_early_parse_ge(dev, function, entity);
sound/soc/sdca/sdca_asoc.c
749
for (i = 0; i < function->num_entities - 1; i++) {
sound/soc/sdca/sdca_asoc.c
750
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_asoc.c
757
ret = entity_parse_it(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
760
ret = entity_parse_ot(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
763
ret = entity_parse_pde(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
766
ret = entity_parse_su(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
769
ret = entity_parse_mu(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
772
ret = entity_parse_cs(dev, function, entity, &widget, &route);
sound/soc/sdca/sdca_asoc.c
781
ret = entity_parse_simple(dev, function, entity, &widget,
sound/soc/sdca/sdca_asoc.c
785
ret = entity_parse_simple(dev, function, entity, &widget,
sound/soc/sdca/sdca_asoc.c
789
ret = entity_parse_simple(dev, function, entity, &widget,
sound/soc/sdca/sdca_asoc.c
793
ret = entity_parse_simple(dev, function, entity, &widget,
sound/soc/sdca/sdca_asoc.c
92
int sdca_asoc_count_component(struct device *dev, struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
966
struct sdca_function_data *function,
sound/soc/sdca/sdca_asoc.c
99
*num_widgets = function->num_entities - 1;
sound/soc/sdca/sdca_asoc.c
997
mc->reg = SDW_SDCA_CTL(function->desc->adr, entity->id,
sound/soc/sdca/sdca_class_function.c
101
return sdca_regmap_mbq_size(drv->function, reg);
sound/soc/sdca/sdca_class_function.c
109
return sdca_regmap_deferrable(drv->function, reg);
sound/soc/sdca/sdca_class_function.c
124
return sdca_asoc_set_constraints(drv->dev, drv->regmap, drv->function,
sound/soc/sdca/sdca_class_function.c
148
ret = sdca_asoc_get_port(drv->dev, drv->regmap, drv->function, dai);
sound/soc/sdca/sdca_class_function.c
160
return sdca_asoc_hw_params(drv->dev, drv->regmap, drv->function,
sound/soc/sdca/sdca_class_function.c
198
return sdca_irq_populate(drv->function, component, core->irq_info);
sound/soc/sdca/sdca_class_function.c
206
sdca_irq_cleanup(component->dev, drv->function, core->irq_info);
sound/soc/sdca/sdca_class_function.c
232
ret = sdca_reset_function(drv->dev, drv->function, drv->regmap);
sound/soc/sdca/sdca_class_function.c
241
drv->function);
sound/soc/sdca/sdca_class_function.c
251
unsigned int reg = SDW_SDCA_CTL(drv->function->desc->adr,
sound/soc/sdca/sdca_class_function.c
270
ret = sdca_irq_populate_early(drv->dev, drv->regmap, drv->function,
sound/soc/sdca/sdca_class_function.c
275
ret = sdca_fdl_sync(drv->dev, drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
279
ret = sdca_regmap_write_defaults(drv->dev, drv->regmap, drv->function);
sound/soc/sdca/sdca_class_function.c
333
desc = &data->function[i];
sound/soc/sdca/sdca_class_function.c
343
drv->function = &core->functions[i];
sound/soc/sdca/sdca_class_function.c
345
ret = sdca_parse_function(dev, core->sdw, desc, drv->function);
sound/soc/sdca/sdca_class_function.c
349
ndefaults = sdca_regmap_count_constants(dev, drv->function);
sound/soc/sdca/sdca_class_function.c
357
ret = sdca_regmap_populate_constants(dev, drv->function, defaults);
sound/soc/sdca/sdca_class_function.c
36
struct sdca_function_data *function;
sound/soc/sdca/sdca_class_function.c
369
if (drv->function->busy_max_delay) {
sound/soc/sdca/sdca_class_function.c
370
mbq_config->timeout_us = drv->function->busy_max_delay;
sound/soc/sdca/sdca_class_function.c
371
mbq_config->retry_us = umax(drv->function->busy_max_delay / 10,
sound/soc/sdca/sdca_class_function.c
389
ret = sdca_asoc_populate_component(dev, drv->function, cmp_drv,
sound/soc/sdca/sdca_class_function.c
424
sdca_irq_cleanup(drv->dev, drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
454
unsigned int reg = SDW_SDCA_CTL(drv->function->desc->adr,
sound/soc/sdca/sdca_class_function.c
469
sdca_irq_enable_early(drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
471
ret = sdca_fdl_sync(drv->dev, drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
475
sdca_irq_enable(drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
515
sdca_irq_disable(drv->function, drv->core->irq_info);
sound/soc/sdca/sdca_class_function.c
59
return sdca_regmap_writeable(drv->function, reg);
sound/soc/sdca/sdca_class_function.c
67
return sdca_regmap_readable(drv->function, reg);
sound/soc/sdca/sdca_class_function.c
75
return sdca_regmap_volatile(drv->function, reg);
sound/soc/sdca/sdca_device.c
72
if (slave->sdca_data.function[i].type == SDCA_FUNCTION_TYPE_SMART_MIC)
sound/soc/sdca/sdca_fdl.c
133
if (interrupt->function != function ||
sound/soc/sdca/sdca_fdl.c
197
struct sdca_fdl_data *fdl_data = &interrupt->function->fdl_data;
sound/soc/sdca/sdca_fdl.c
269
interrupt->function, interrupt->entity,
sound/soc/sdca/sdca_fdl.c
280
struct sdca_fdl_data *fdl_data = &interrupt->function->fdl_data;
sound/soc/sdca/sdca_fdl.c
287
SDW_SDCA_CTL(interrupt->function->desc->adr, xu->id,
sound/soc/sdca/sdca_fdl.c
337
sdca_reset_function(dev, interrupt->function, interrupt->function_regmap);
sound/soc/sdca/sdca_fdl.c
36
int sdca_reset_function(struct device *dev, struct sdca_function_data *function,
sound/soc/sdca/sdca_fdl.c
39
unsigned int reg = SDW_SDCA_CTL(function->desc->adr,
sound/soc/sdca/sdca_fdl.c
407
interrupt->function, interrupt->entity,
sound/soc/sdca/sdca_fdl.c
415
reg = SDW_SDCA_CTL(interrupt->function->desc->adr,
sound/soc/sdca/sdca_fdl.c
441
interrupt->function,
sound/soc/sdca/sdca_fdl.c
470
sdca_reset_function(dev, interrupt->function, interrupt->function_regmap);
sound/soc/sdca/sdca_fdl.c
53
poll_us = umin(function->reset_max_delay >> 4, 1000);
sound/soc/sdca/sdca_fdl.c
56
function->reset_max_delay);
sound/soc/sdca/sdca_fdl.c
74
int sdca_fdl_sync(struct device *dev, struct sdca_function_data *function,
sound/soc/sdca/sdca_fdl.c
91
if (interrupt->function != function ||
sound/soc/sdca/sdca_function_device.c
102
sdca_data->function[i].func_dev = func_dev;
sound/soc/sdca/sdca_function_device.c
115
sdca_dev_unregister(sdca_data->function[i].func_dev);
sound/soc/sdca/sdca_function_device.c
52
sdev->function.desc = function_desc;
sound/soc/sdca/sdca_function_device.c
98
&sdca_data->function[i]);
sound/soc/sdca/sdca_function_device.h
9
struct sdca_function_data function;
sound/soc/sdca/sdca_functions.c
1528
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
1595
function->num_entities = num_entities + 1;
sound/soc/sdca/sdca_functions.c
1596
function->entities = entities;
sound/soc/sdca/sdca_functions.c
1601
static struct sdca_entity *find_sdca_entity_by_label(struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
1607
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_functions.c
1608
entity = &function->entities[i];
sound/soc/sdca/sdca_functions.c
1615
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_functions.c
1616
entity = &function->entities[i];
sound/soc/sdca/sdca_functions.c
162
sdca_data->function[function_index].adr = addr;
sound/soc/sdca/sdca_functions.c
1625
static struct sdca_entity *find_sdca_entity_by_id(struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
163
sdca_data->function[function_index].type = function_type;
sound/soc/sdca/sdca_functions.c
1630
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_functions.c
1631
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_functions.c
164
sdca_data->function[function_index].name = function_name;
sound/soc/sdca/sdca_functions.c
1641
struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
165
sdca_data->function[function_index].node = function_node;
sound/soc/sdca/sdca_functions.c
1664
clock_entity = find_sdca_entity_by_label(function, clock_label);
sound/soc/sdca/sdca_functions.c
1681
struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
1717
managed[i] = find_sdca_entity_by_id(function, managed_list[i]);
sound/soc/sdca/sdca_functions.c
1734
struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
1747
managed = find_sdca_entity_by_id(function, affected->id);
sound/soc/sdca/sdca_functions.c
1770
struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
1782
ret = find_sdca_entity_connection_iot(dev, function,
sound/soc/sdca/sdca_functions.c
1786
ret = find_sdca_entity_connection_pde(dev, function,
sound/soc/sdca/sdca_functions.c
1790
ret = find_sdca_entity_connection_ge(dev, function,
sound/soc/sdca/sdca_functions.c
1849
connected_entity = find_sdca_entity_by_label(function, connected_label);
sound/soc/sdca/sdca_functions.c
1873
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
1878
for (i = 0; i < function->num_entities - 1; i++) {
sound/soc/sdca/sdca_functions.c
1879
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_functions.c
1896
ret = find_sdca_entity_connection(dev, function, entity_node, entity);
sound/soc/sdca/sdca_functions.c
2003
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
202
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
2058
function->num_clusters = num_clusters;
sound/soc/sdca/sdca_functions.c
2059
function->clusters = clusters;
sound/soc/sdca/sdca_functions.c
2066
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
2147
function->fdl_data.swft = sdw->sdca_data.swft;
sound/soc/sdca/sdca_functions.c
2148
function->fdl_data.num_sets = num_sets;
sound/soc/sdca/sdca_functions.c
2149
function->fdl_data.sets = sets;
sound/soc/sdca/sdca_functions.c
2165
struct sdca_function_data *function)
sound/soc/sdca/sdca_functions.c
2170
function->desc = function_desc;
sound/soc/sdca/sdca_functions.c
2175
function->busy_max_delay = tmp;
sound/soc/sdca/sdca_functions.c
2181
function->reset_max_delay = 100000;
sound/soc/sdca/sdca_functions.c
2183
function->reset_max_delay = tmp;
sound/soc/sdca/sdca_functions.c
2187
function->desc->node, function->desc->name,
sound/soc/sdca/sdca_functions.c
2188
function->busy_max_delay, function->reset_max_delay);
sound/soc/sdca/sdca_functions.c
2190
ret = find_sdca_init_table(dev, function_desc->node, function);
sound/soc/sdca/sdca_functions.c
2194
ret = find_sdca_entities(dev, sdw, function_desc->node, function);
sound/soc/sdca/sdca_functions.c
2198
ret = find_sdca_connections(dev, function_desc->node, function);
sound/soc/sdca/sdca_functions.c
2202
ret = find_sdca_clusters(dev, function_desc->node, function);
sound/soc/sdca/sdca_functions.c
2206
ret = find_sdca_filesets(dev, sdw, function_desc->node, function);
sound/soc/sdca/sdca_functions.c
2310
struct sdca_function_data *function,
sound/soc/sdca/sdca_functions.c
2315
for (i = 0; i < function->num_clusters; i++) {
sound/soc/sdca/sdca_functions.c
2316
struct sdca_cluster *cluster = &function->clusters[i];
sound/soc/sdca/sdca_functions.c
2322
dev_err(dev, "%s: cluster %#x: missing\n", function->desc->name, id);
sound/soc/sdca/sdca_functions.c
240
function->num_init_table = num_init_writes;
sound/soc/sdca/sdca_functions.c
241
function->init_table = init_write;
sound/soc/sdca/sdca_hid.c
141
interrupt->function, interrupt->entity,
sound/soc/sdca/sdca_hid.c
148
interrupt->function, interrupt->entity,
sound/soc/sdca/sdca_hid.c
155
interrupt->function, interrupt->entity,
sound/soc/sdca/sdca_interrupts.c
107
reg = SDW_SDCA_CTL(interrupt->function->desc->adr, interrupt->entity->id,
sound/soc/sdca/sdca_interrupts.c
366
struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
378
name = kasprintf(GFP_KERNEL, "%s %s %s", function->desc->name,
sound/soc/sdca/sdca_interrupts.c
390
interrupt->function = function;
sound/soc/sdca/sdca_interrupts.c
430
struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
437
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_interrupts.c
438
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_interrupts.c
455
function, entity,
sound/soc/sdca/sdca_interrupts.c
494
int sdca_irq_populate(struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
503
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_interrupts.c
504
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_interrupts.c
520
function, entity, control,
sound/soc/sdca/sdca_interrupts.c
575
struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
585
if (interrupt->function != function || !interrupt->irq)
sound/soc/sdca/sdca_interrupts.c
640
static void irq_enable_flags(struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
648
if (!interrupt->irq || interrupt->function != function)
sound/soc/sdca/sdca_interrupts.c
674
void sdca_irq_enable_early(struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
677
irq_enable_flags(function, info, true);
sound/soc/sdca/sdca_interrupts.c
686
void sdca_irq_enable(struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
689
irq_enable_flags(function, info, false);
sound/soc/sdca/sdca_interrupts.c
698
void sdca_irq_disable(struct sdca_function_data *function,
sound/soc/sdca/sdca_interrupts.c
706
if (!interrupt->irq || interrupt->function != function)
sound/soc/sdca/sdca_jack.c
198
reg = SDW_SDCA_CTL(interrupt->function->desc->adr, interrupt->entity->id,
sound/soc/sdca/sdca_jack.c
64
reg = SDW_SDCA_CTL(interrupt->function->desc->adr, interrupt->entity->id,
sound/soc/sdca/sdca_jack.c
73
reg = SDW_SDCA_CTL(interrupt->function->desc->adr, interrupt->entity->id,
sound/soc/sdca/sdca_regmap.c
102
bool sdca_regmap_writeable(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
109
control = function_find_control(function, reg);
sound/soc/sdca/sdca_regmap.c
139
bool sdca_regmap_volatile(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
146
control = function_find_control(function, reg);
sound/soc/sdca/sdca_regmap.c
161
bool sdca_regmap_deferrable(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
168
control = function_find_control(function, reg);
sound/soc/sdca/sdca_regmap.c
183
int sdca_regmap_mbq_size(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
190
control = function_find_control(function, reg);
sound/soc/sdca/sdca_regmap.c
21
function_find_entity(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
212
struct sdca_function_data *function)
sound/soc/sdca/sdca_regmap.c
217
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_regmap.c
218
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_regmap.c
247
struct sdca_function_data *function,
sound/soc/sdca/sdca_regmap.c
25
for (i = 0; i < function->num_entities; i++)
sound/soc/sdca/sdca_regmap.c
252
for (i = 0, k = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_regmap.c
253
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_regmap.c
26
if (SDW_SDCA_CTL_ENT(reg) == function->entities[i].id)
sound/soc/sdca/sdca_regmap.c
266
consts[k].reg = SDW_SDCA_CTL(function->desc->adr,
sound/soc/sdca/sdca_regmap.c
27
return &function->entities[i];
sound/soc/sdca/sdca_regmap.c
284
struct sdca_function_data *function,
sound/soc/sdca/sdca_regmap.c
302
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, cn);
sound/soc/sdca/sdca_regmap.c
345
struct sdca_function_data *function)
sound/soc/sdca/sdca_regmap.c
350
for (i = 0; i < function->num_entities; i++) {
sound/soc/sdca/sdca_regmap.c
351
struct sdca_entity *entity = &function->entities[i];
sound/soc/sdca/sdca_regmap.c
356
ret = populate_control_defaults(dev, regmap, function,
sound/soc/sdca/sdca_regmap.c
368
struct sdca_function_data *function)
sound/soc/sdca/sdca_regmap.c
370
struct sdca_init_write *init = function->init_table;
sound/soc/sdca/sdca_regmap.c
373
for (i = 0; i < function->num_init_table; i++) {
sound/soc/sdca/sdca_regmap.c
46
function_find_control(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
50
entity = function_find_entity(function, reg);
sound/soc/sdca/sdca_regmap.c
64
bool sdca_regmap_readable(struct sdca_function_data *function, unsigned int reg)
sound/soc/sdca/sdca_regmap.c
71
control = function_find_control(function, reg);
sound/soc/sdca/sdca_ump.c
109
struct sdca_function_data *function,
sound/soc/sdca/sdca_ump.c
120
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, offset_sel, 0);
sound/soc/sdca/sdca_ump.c
136
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, length_sel, 0);
sound/soc/sdca/sdca_ump.c
190
struct sdca_function_data *function,
sound/soc/sdca/sdca_ump.c
229
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, offset_sel, 0);
sound/soc/sdca/sdca_ump.c
237
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, length_sel, 0);
sound/soc/sdca/sdca_ump.c
31
struct sdca_function_data *function,
sound/soc/sdca/sdca_ump.c
38
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, 0);
sound/soc/sdca/sdca_ump.c
67
struct sdca_function_data *function,
sound/soc/sdca/sdca_ump.c
74
reg = SDW_SDCA_CTL(function->desc->adr, entity->id, control->sel, 0);
sound/soc/sdw_utils/soc_sdw_rt_dmic.c
62
if (sdw_peripheral->sdca_data.function[i].type ==
sound/soc/sdw_utils/soc_sdw_utils.c
1664
int dai_type = asoc_sdw_get_dai_type(slave->sdca_data.function[i].type);
sound/soc/sdw_utils/soc_sdw_utils.c
1668
dai_type, slave->sdca_data.function[i].name);
sound/soc/sof/intel/hda.c
1147
if (dai_type == asoc_sdw_get_dai_type(sdw_device->sdca_data.function[i].type))
sound/usb/media.c
196
mctl->media_entity.function = MEDIA_ENT_F_AUDIO_MIXER;
sound/usb/media.c
59
mctl->media_entity.function = MEDIA_ENT_F_AUDIO_PLAYBACK;
sound/usb/media.c
64
mctl->media_entity.function = MEDIA_ENT_F_AUDIO_CAPTURE;
sound/usb/media.c
92
switch (entity->function) {
tools/arch/x86/include/uapi/asm/kvm.h
236
__u32 function;
tools/arch/x86/include/uapi/asm/kvm.h
252
__u32 function;
tools/perf/bench/mem-functions.c
194
const struct function *r = &info->functions[r_idx];
tools/perf/bench/mem-functions.c
326
static int do_memcpy(const struct function *r, struct bench_params *p,
tools/perf/bench/mem-functions.c
391
struct function memcpy_functions[] = {
tools/perf/bench/mem-functions.c
426
static int do_memset(const struct function *r, struct bench_params *p,
tools/perf/bench/mem-functions.c
454
static const struct function memset_functions[] = {
tools/perf/bench/mem-functions.c
497
static int do_mmap(const struct function *r, struct bench_params *p,
tools/perf/bench/mem-functions.c
534
static const struct function mmap_functions[] = {
tools/perf/bench/mem-functions.c
89
const struct function *functions;
tools/perf/bench/mem-functions.c
90
int (*do_op)(const struct function *r, struct bench_params *p,
tools/perf/util/addr2line.c
156
char **function,
tools/perf/util/addr2line.c
171
if (function != NULL)
tools/perf/util/addr2line.c
172
zfree(function);
tools/perf/util/addr2line.c
237
if (function != NULL)
tools/perf/util/addr2line.c
238
*function = strdup(strim(line));
tools/perf/util/addr2line.c
264
if (function != NULL)
tools/perf/util/addr2line.c
265
zfree(function);
tools/perf/util/addr2line.c
274
const char *function,
tools/perf/util/addr2line.c
278
struct symbol *inline_sym = new_inline_sym(dso, sym, function);
tools/perf/util/bpf_skel/kwork_trace.bpf.c
345
unsigned long long func_addr = (unsigned long long)ctx->function;
tools/perf/util/bpf_skel/kwork_trace.bpf.c
375
unsigned long long func_addr = (unsigned long long)ctx->function;
tools/perf/util/bpf_skel/vmlinux/vmlinux.h
140
void *function;
tools/perf/util/bpf_skel/vmlinux/vmlinux.h
147
void *function;
tools/perf/util/evsel.c
1021
bool function = evsel__is_function_event(evsel);
tools/perf/util/evsel.c
1052
if (!function) {
tools/perf/util/evsel.c
1074
if (function) {
tools/perf/util/probe-event.c
1048
if (!lr->function)
tools/perf/util/probe-event.c
1052
return snprintf(sbuf, size, "function: %s, file:%s, line: %d", lr->function, lr->file, lr->start);
tools/perf/util/probe-event.c
1054
return snprintf(sbuf, size, "function: %s, line:%d", lr->function, lr->start);
tools/perf/util/probe-event.c
1123
if (lr->function)
tools/perf/util/probe-event.c
1124
fprintf(stdout, "<%s@%s:%d>\n", lr->function, lr->path,
tools/perf/util/probe-event.c
1321
zfree(&lr->function);
tools/perf/util/probe-event.c
1442
lr->function = strdup_esq(buf);
tools/perf/util/probe-event.c
1443
if (!lr->function && !lr->file) {
tools/perf/util/probe-event.c
1451
lr->function = strdup_esq(buf);
tools/perf/util/probe-event.c
1539
if (asprintf(&pev->point.function, "%%%s", pev->event) < 0)
tools/perf/util/probe-event.c
1590
pp->function = tmp;
tools/perf/util/probe-event.c
1602
pp->abs_address = strtoull(pp->function, &tmp, 0);
tools/perf/util/probe-event.c
1686
if (!pp->line && !pp->lazy_line && pp->file && !pp->function) {
tools/perf/util/probe-event.c
1692
if (pp->offset && !pp->function) {
tools/perf/util/probe-event.c
1704
pp->function, pp->file, pp->line, pp->offset, pp->retprobe,
tools/perf/util/probe-event.c
1842
if (!pev->event && pev->point.function && pev->point.line
tools/perf/util/probe-event.c
1844
if (asprintf(&pev->event, "%s_L%d", pev->point.function,
tools/perf/util/probe-event.c
2078
if (pp->function) {
tools/perf/util/probe-event.c
2079
if (strbuf_addstr(&buf, pp->function) < 0)
tools/perf/util/probe-event.c
2098
if (!err && !pp->function && pp->line)
tools/perf/util/probe-event.c
2314
pp->function = strdup(sym->name);
tools/perf/util/probe-event.c
2315
ret = pp->function ? 0 : -ENOMEM;
tools/perf/util/probe-event.c
2340
pp->function = strdup(tp->symbol);
tools/perf/util/probe-event.c
2346
pp->function = strdup(buf);
tools/perf/util/probe-event.c
2349
if (pp->function == NULL)
tools/perf/util/probe-event.c
2432
dst->function = strdup_or_goto(src->function, out_err);
tools/perf/util/probe-event.c
260
zfree(&pp->function);
tools/perf/util/probe-event.c
2917
if (pev->point.function &&
tools/perf/util/probe-event.c
2918
(strncmp(pev->point.function, "0x", 2) != 0) &&
tools/perf/util/probe-event.c
2919
!strisglob(pev->point.function))
tools/perf/util/probe-event.c
2920
event = pev->point.function;
tools/perf/util/probe-event.c
3146
num_matched_functions = find_probe_functions(map, pp->function, syms);
tools/perf/util/probe-event.c
3156
pr_err("Failed to find symbol %s in %s\n", pp->function,
tools/perf/util/probe-event.c
3300
if (!(pev->point.function && !strncmp(pev->point.function, "0x", 2)))
tools/perf/util/probe-event.c
409
if (!pp->function || pp->file)
tools/perf/util/probe-event.c
417
map__for_each_symbol_by_name(map, pp->function, sym, idx) {
tools/perf/util/probe-event.c
423
pp->function);
tools/perf/util/probe-event.c
433
pp->function, address);
tools/perf/util/probe-event.c
471
struct perf_probe_point pp = { .function = lr->function,
tools/perf/util/probe-event.c
484
lr->function = result.function;
tools/perf/util/probe-event.h
112
char *function; /* Function name */
tools/perf/util/probe-event.h
69
char *function; /* Function name */
tools/perf/util/probe-finder.c
1009
if (strisglob(pp->function) && param->retval >= 0) {
tools/perf/util/probe-finder.c
1026
char *function;
tools/perf/util/probe-finder.c
1042
if (die_match_name(param->sp_die, param->function)) {
tools/perf/util/probe-finder.c
1075
if (pp->function && !strisglob(pp->function)) {
tools/perf/util/probe-finder.c
1077
.function = pp->function,
tools/perf/util/probe-finder.c
1112
if (pp->function)
tools/perf/util/probe-finder.c
1292
pp->retprobe, pp->function, &tev->point);
tools/perf/util/probe-finder.c
1523
pp->retprobe, pp->function, &vl->point);
tools/perf/util/probe-finder.c
1691
ppt->function = strdup(func);
tools/perf/util/probe-finder.c
1692
if (ppt->function == NULL) {
tools/perf/util/probe-finder.c
1700
zfree(&ppt->function);
tools/perf/util/probe-finder.c
1795
if (die_match_name(sp_die, lr->function) && die_is_func_def(sp_die)) {
tools/perf/util/probe-finder.c
1835
if (lr->function) {
tools/perf/util/probe-finder.c
1837
.function = lr->function, .file = lr->file,
tools/perf/util/probe-finder.c
1871
if (lr->function)
tools/perf/util/probe-finder.c
535
const char *function,
tools/perf/util/probe-finder.c
574
" has no return point.\n", function,
tools/perf/util/probe-finder.c
575
function);
tools/perf/util/probe-finder.c
641
const char *function;
tools/perf/util/probe-finder.c
662
if (fsp->function) {
tools/perf/util/probe-finder.c
663
if (die_match_name(fn_die, fsp->function)) {
tools/perf/util/probe-finder.c
695
.function = pf->pev->point.function,
tools/perf/util/probe-finder.c
730
if (pf->pev->point.function) {
tools/perf/util/probe-finder.c
734
&& die_match_name(&die_mem, pf->pev->point.function)
tools/perf/util/probe-finder.c
899
if (!pp->function || pp->line || pp->retprobe || pp->lazy_line ||
tools/perf/util/probe-finder.c
962
!die_match_name(sp_die, pp->function))
tools/power/acpi/os_specific/service_layers/osunixxf.c
1211
acpi_status acpi_os_signal(u32 function, void *info)
tools/power/acpi/os_specific/service_layers/osunixxf.c
1214
switch (function) {
tools/power/acpi/os_specific/service_layers/osunixxf.c
1270
acpi_osd_exec_callback function, void *context)
tools/power/acpi/os_specific/service_layers/osunixxf.c
1276
pthread_create(&thread, NULL, (PTHREAD_CALLBACK) function, context);
tools/power/acpi/os_specific/service_layers/osunixxf.c
1291
acpi_osd_exec_callback function, void *context)
tools/power/acpi/os_specific/service_layers/osunixxf.c
1294
function(context);
tools/testing/radix-tree/maple.c
34347
void *(*function)(void *);
tools/testing/radix-tree/maple.c
34378
function = rcu_reader_fwd;
tools/testing/radix-tree/maple.c
34380
function = rcu_reader_rev;
tools/testing/radix-tree/maple.c
34383
if (pthread_create(&readers[i], NULL, *function,
tools/testing/radix-tree/maple.c
34567
void *(*function)(void *);
tools/testing/radix-tree/maple.c
34575
function = rcu_loop;
tools/testing/radix-tree/maple.c
34577
function = rcu_val;
tools/testing/radix-tree/maple.c
34579
if (pthread_create(&readers[i], NULL, *function, vals)) {
tools/testing/radix-tree/maple.c
34664
void *(*function)(void *);
tools/testing/radix-tree/maple.c
34673
function = rcu_loop;
tools/testing/radix-tree/maple.c
34675
function = rcu_val;
tools/testing/radix-tree/maple.c
34677
if (pthread_create(&readers[i], NULL, *function, vals)) {
tools/testing/selftests/arm64/bti/assembler.h
22
.type \name, @function
tools/testing/selftests/arm64/fp/assembler.h
31
.macro function name
tools/testing/selftests/arm64/fp/assembler.h
33
.type \name, @function
tools/testing/selftests/arm64/fp/assembler.h
45
function \name
tools/testing/selftests/kvm/include/x86/processor.h
1001
return max_leaf >= property.function;
tools/testing/selftests/kvm/include/x86/processor.h
1058
uint32_t function,
tools/testing/selftests/kvm/include/x86/processor.h
1066
function, index);
tools/testing/selftests/kvm/include/x86/processor.h
1070
uint32_t function)
tools/testing/selftests/kvm/include/x86/processor.h
1072
return __vcpu_get_cpuid_entry(vcpu, function, 0);
tools/testing/selftests/kvm/include/x86/processor.h
1103
void vcpu_clear_cpuid_entry(struct kvm_vcpu *vcpu, uint32_t function);
tools/testing/selftests/kvm/include/x86/processor.h
111
u32 function;
tools/testing/selftests/kvm/include/x86/processor.h
1110
entry = __vcpu_get_cpuid_entry(vcpu, feature.function, feature.index);
tools/testing/selftests/kvm/include/x86/processor.h
119
.function = fn, \
tools/testing/selftests/kvm/include/x86/processor.h
241
u32 function;
tools/testing/selftests/kvm/include/x86/processor.h
250
.function = fn, \
tools/testing/selftests/kvm/include/x86/processor.h
657
static inline void __cpuid(uint32_t function, uint32_t index,
tools/testing/selftests/kvm/include/x86/processor.h
661
*eax = function;
tools/testing/selftests/kvm/include/x86/processor.h
673
static inline void cpuid(uint32_t function,
tools/testing/selftests/kvm/include/x86/processor.h
677
return __cpuid(function, 0, eax, ebx, ecx, edx);
tools/testing/selftests/kvm/include/x86/processor.h
720
static inline uint32_t __this_cpu_has(uint32_t function, uint32_t index,
tools/testing/selftests/kvm/include/x86/processor.h
725
__cpuid(function, index,
tools/testing/selftests/kvm/include/x86/processor.h
734
return __this_cpu_has(feature.function, feature.index,
tools/testing/selftests/kvm/include/x86/processor.h
740
return __this_cpu_has(property.function, property.index,
tools/testing/selftests/kvm/include/x86/processor.h
748
switch (property.function & 0xc0000000) {
tools/testing/selftests/kvm/include/x86/processor.h
761
return max_leaf >= property.function;
tools/testing/selftests/kvm/include/x86/processor.h
950
uint32_t function, uint32_t index);
tools/testing/selftests/kvm/include/x86/processor.h
988
switch (property.function & 0xc0000000) {
tools/testing/selftests/kvm/lib/x86/hyperv.c
46
if (cpuid_sys->entries[i].function >= 0x40000000 &&
tools/testing/selftests/kvm/lib/x86/hyperv.c
47
cpuid_sys->entries[i].function < 0x40000100)
tools/testing/selftests/kvm/lib/x86/processor.c
1022
entry = __vcpu_get_cpuid_entry(vcpu, property.function, property.index);
tools/testing/selftests/kvm/lib/x86/processor.c
1033
void vcpu_clear_cpuid_entry(struct kvm_vcpu *vcpu, uint32_t function)
tools/testing/selftests/kvm/lib/x86/processor.c
1035
struct kvm_cpuid_entry2 *entry = vcpu_get_cpuid_entry(vcpu, function);
tools/testing/selftests/kvm/lib/x86/processor.c
1051
entry = __vcpu_get_cpuid_entry(vcpu, feature.function, feature.index);
tools/testing/selftests/kvm/lib/x86/processor.c
1326
uint32_t function, uint32_t index)
tools/testing/selftests/kvm/lib/x86/processor.c
1331
if (cpuid->entries[i].function == function &&
tools/testing/selftests/kvm/lib/x86/processor.c
1336
TEST_FAIL("CPUID function 0x%x index 0x%x not found ", function, index);
tools/testing/selftests/kvm/lib/x86/processor.c
907
uint32_t function, uint32_t index,
tools/testing/selftests/kvm/lib/x86/processor.c
921
if (entry->function == function && entry->index == index)
tools/testing/selftests/kvm/lib/x86/processor.c
931
return __kvm_cpu_has(cpuid, feature.function, feature.index,
tools/testing/selftests/kvm/lib/x86/processor.c
938
return __kvm_cpu_has(cpuid, property.function, property.index,
tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c
40
unsigned long function = nr | 0x100;
tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c
49
: [function] "d" (function)
tools/testing/selftests/kvm/x86/cpuid_test.c
101
i, e1->function, e1->index, e1->flags,
tools/testing/selftests/kvm/x86/cpuid_test.c
102
e2->function, e2->index, e2->flags);
tools/testing/selftests/kvm/x86/cpuid_test.c
112
e1->function, e1->index,
tools/testing/selftests/kvm/x86/cpuid_test.c
33
__cpuid(guest_cpuid->entries[i].function,
tools/testing/selftests/kvm/x86/cpuid_test.c
64
switch (entry->function) {
tools/testing/selftests/kvm/x86/cpuid_test.c
98
TEST_ASSERT(e1->function == e2->function &&
tools/testing/selftests/kvm/x86/cr4_cpuid_sync_test.c
27
[KVM_CPUID_EAX] = X86_FEATURE_OSXSAVE.function,
tools/testing/selftests/kvm/x86/hyperv_cpuid.c
46
TEST_ASSERT((entry->function >= 0x40000000) &&
tools/testing/selftests/kvm/x86/hyperv_cpuid.c
47
(entry->function <= 0x40000082),
tools/testing/selftests/kvm/x86/hyperv_cpuid.c
49
entry->function);
tools/testing/selftests/kvm/x86/hyperv_cpuid.c
60
switch (entry->function) {
tools/testing/selftests/kvm/x86/vmx_pmu_caps_test.c
205
vcpu_clear_cpuid_entry(vcpu, X86_PROPERTY_PMU_VERSION.function);
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
108
nxhandle->function = function;
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
47
int function;
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
88
void *nx_function_begin(int function, int pri)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
94
if (function != NX_FUNC_COMP_GZIP) {
tools/testing/selftests/powerpc/nx-gzip/include/nx.h
31
void *nx_function_begin(int function, int pri);
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
149
int (*function)(void);
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
155
.function = open_close,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
159
.function = get_splpar,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
163
.function = get_bad_parameter,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
167
.function = check_efault_get,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
171
.function = check_efault_set,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
175
.function = set_hmc0,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
179
.function = set_with_ro_fd,
tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c
191
if (test_harness(t->function, t->description))
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
301
int (*function)(void);
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
307
.function = dev_papr_vpd_open_close,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
311
.function = dev_papr_vpd_unterm_loc_code,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
315
.function = dev_papr_vpd_null_handle,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
319
.function = dev_papr_vpd_get_handle_all,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
323
.function = papr_vpd_close_handle_without_reading,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
327
.function = dev_papr_vpd_get_handle_byte_at_a_time,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
331
.function = papr_vpd_reread,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
335
.function = papr_vpd_system_loc_code,
tools/testing/selftests/powerpc/papr_vpd/papr_vpd.c
347
if (test_harness(t->function, t->description))
tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h
217
.type name,@function; \
tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h
226
.type name,@function; \
tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h
251
.type GLUE(.,name),@function; \
tools/testing/selftests/sgx/main.c
1040
EXPECT_EQ(self->run.function, ERESUME);
tools/testing/selftests/sgx/main.c
1777
EXPECT_EQ(self->run.function, ERESUME);
tools/testing/selftests/sgx/main.c
1907
EXPECT_EQ(self->run.function, ERESUME);
tools/testing/selftests/sgx/main.c
276
EXPECT_EQ((run)->function, EEXIT); \
tools/testing/selftests/sgx/main.c
277
if ((run)->function != EEXIT) \
tools/testing/selftests/sgx/main.c
485
ASSERT_EQ(self->run.function, EEXIT);
tools/testing/selftests/sgx/main.c
904
EXPECT_EQ(self->run.function, ERESUME);
tools/testing/selftests/sgx/main.h
43
int sgx_enter_enclave(void *rdi, void *rsi, long rdx, u32 function, void *r8, void *r9,
tools/testing/selftests/x86/sysret_ss_attrs.c
36
extern unsigned long call32_from_64(void *stack, void (*function)(void));
tools/testing/selftests/x86/test_syscall_vdso.c
114
extern unsigned long call64_from_32(void (*function)(void));
tools/tracing/rtla/src/timerlat_aa.c
486
const char *function;
tools/tracing/rtla/src/timerlat_aa.c
505
function = tep_find_function(taa_ctx->tool->trace.tep, caller[i]);
tools/tracing/rtla/src/timerlat_aa.c
506
if (!function) {
tools/tracing/rtla/src/timerlat_aa.c
516
14, spaces, function);