Symbol: func
arch/alpha/include/asm/smp.h
54
#define smp_call_function_on_cpu(func,info,wait,cpu) ({ 0; })
arch/alpha/kernel/smc37c669.c
1056
unsigned int func
arch/alpha/kernel/smc37c669.c
1061
unsigned int func,
arch/alpha/kernel/smc37c669.c
1084
unsigned int func
arch/alpha/kernel/smc37c669.c
1227
unsigned int __init SMC37c669_enable_device ( unsigned int func )
arch/alpha/kernel/smc37c669.c
1234
switch ( func ) {
arch/alpha/kernel/smc37c669.c
1247
SMC37c669_xlate_irq( local_config[ func ].irq )
arch/alpha/kernel/smc37c669.c
1255
base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3;
arch/alpha/kernel/smc37c669.c
1276
SMC37c669_xlate_irq( local_config[ func ].irq )
arch/alpha/kernel/smc37c669.c
1284
base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3;
arch/alpha/kernel/smc37c669.c
1306
SMC37c669_xlate_drq( local_config[ func ].drq )
arch/alpha/kernel/smc37c669.c
1321
SMC37c669_xlate_irq( local_config[ func ].irq )
arch/alpha/kernel/smc37c669.c
1332
base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2;
arch/alpha/kernel/smc37c669.c
1354
SMC37c669_xlate_drq( local_config[ func ].drq )
arch/alpha/kernel/smc37c669.c
1369
SMC37c669_xlate_irq( local_config[ func ].irq )
arch/alpha/kernel/smc37c669.c
1380
base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4;
arch/alpha/kernel/smc37c669.c
1396
ide_addr.by_field.addr9_4 = local_config[ func ].port2 >> 4;
arch/alpha/kernel/smc37c669.c
1406
ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4;
arch/alpha/kernel/smc37c669.c
1455
unsigned int __init SMC37c669_disable_device ( unsigned int func )
arch/alpha/kernel/smc37c669.c
1463
switch ( func ) {
arch/alpha/kernel/smc37c669.c
1670
unsigned int func,
arch/alpha/kernel/smc37c669.c
1680
if ( ( cp = SMC37c669_get_config ( func ) ) != NULL ) {
arch/alpha/kernel/smc37c669.c
1697
if ( SMC37c669_is_device_enabled( func ) ) {
arch/alpha/kernel/smc37c669.c
1698
SMC37c669_enable_device( func );
arch/alpha/kernel/smc37c669.c
1736
static unsigned int __init SMC37c669_is_device_enabled ( unsigned int func )
arch/alpha/kernel/smc37c669.c
1746
switch ( func ) {
arch/alpha/kernel/smc37c669.c
1836
unsigned int func,
arch/alpha/kernel/smc37c669.c
1846
if ( ( cp = SMC37c669_get_config( func ) ) != NULL ) {
arch/alpha/kernel/smc37c669.c
2202
static struct DEVICE_CONFIG * __init SMC37c669_get_config( unsigned int func )
arch/alpha/kernel/smc37c669.c
2206
switch ( func ) {
arch/alpha/kernel/smc37c669.c
870
unsigned int func
arch/alpha/kernel/smc37c669.c
874
unsigned int func
arch/alpha/kernel/smc37c669.c
878
unsigned int func,
arch/alpha/math-emu/math.c
104
unsigned long fa, fb, fc, func, mode, src;
arch/alpha/math-emu/math.c
113
func = (insn >> 5) & 0xf;
arch/alpha/math-emu/math.c
133
switch (func) {
arch/alpha/math-emu/math.c
160
if ((func & ~3) == FOP_FNC_CMPxUN) {
arch/alpha/math-emu/math.c
178
&& ((func & 3) >= 2
arch/alpha/math-emu/math.c
183
switch (func) {
arch/alpha/math-emu/math.c
195
switch (func) {
arch/alpha/math-emu/math.c
247
switch (func) {
arch/arm/boot/dts/microchip/sama5d2-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
arch/arm/boot/dts/microchip/sama5d2-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
arch/arm/boot/dts/microchip/sama7d65-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
arch/arm/boot/dts/microchip/sama7d65-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
arch/arm/boot/dts/microchip/sama7g5-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
arch/arm/boot/dts/microchip/sama7g5-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
arch/arm/include/asm/kgdb.h
105
#define CFI_END_FRAME(func) __CFI_END_FRAME(_PC, _SPT, func)
arch/arm/kernel/ftrace.c
122
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/arm/kernel/ftrace.c
129
new = ftrace_call_replace(pc, (unsigned long)func, true);
arch/arm/kernel/ftrace.c
136
new = ftrace_call_replace(pc, (unsigned long)func, true);
arch/arm/kernel/ftrace.c
282
void (*func) (void), bool enable)
arch/arm/kernel/ftrace.c
284
unsigned long caller_fn = (unsigned long) func;
arch/arm/mach-orion5x/pci.c
223
#define PCI_CONF_FUNC(func) (((func) & 0x3) << 8)
arch/arm/mach-orion5x/pci.c
273
static int orion5x_pci_hw_rd_conf(int bus, int dev, u32 func,
arch/arm/mach-orion5x/pci.c
281
PCI_CONF_FUNC(func) | PCI_CONF_ADDR_EN, PCI_CONF_ADDR);
arch/arm/mach-orion5x/pci.c
295
static int orion5x_pci_hw_wr_conf(int bus, int dev, u32 func,
arch/arm/mach-orion5x/pci.c
305
PCI_CONF_FUNC(func) | PCI_CONF_ADDR_EN, PCI_CONF_ADDR);
arch/arm/mach-orion5x/pci.c
396
int bus_nr, func, reg;
arch/arm/mach-orion5x/pci.c
400
func = PCI_CONF_FUNC_STAT_CMD;
arch/arm/mach-orion5x/pci.c
402
orion5x_pci_hw_rd_conf(bus_nr, 0, func, reg, 4, &val);
arch/arm/mach-orion5x/pci.c
404
orion5x_pci_hw_wr_conf(bus_nr, 0, func, reg, 4, val | 0x7);
arch/arm/mach-orion5x/pci.c
427
u32 func = PCI_CONF_FUNC_BAR_CS(cs->cs_index);
arch/arm/mach-orion5x/pci.c
435
orion5x_pci_hw_rd_conf(bus, 0, func, reg, 4, &val);
arch/arm/mach-orion5x/pci.c
437
orion5x_pci_hw_wr_conf(bus, 0, func, reg, 4, val);
arch/arm/mach-orion5x/pci.c
443
orion5x_pci_hw_wr_conf(bus, 0, func, reg, 4, 0);
arch/arm/mach-qcom/platsmp.c
316
static int qcom_boot_secondary(unsigned int cpu, int (*func)(unsigned int))
arch/arm/mach-qcom/platsmp.c
321
ret = func(cpu);
arch/arm/mach-versatile/spc.c
347
static int ve_spc_read_sys_cfg(int func, int offset, uint32_t *data)
arch/arm/mach-versatile/spc.c
358
writel(SYSCFG_START | func | offset >> 2, info->baseaddr + COMMS);
arch/arm/net/bpf_jit_32.c
2056
const u32 func = (u32)__bpf_call_base + (u32)imm;
arch/arm/net/bpf_jit_32.c
2064
emit_a32_mov_i(tmp[1], func, ctx);
arch/arm/probes/kprobes/test-core.c
289
static int call_test_func(long (*func)(long, long), bool check_test_regs)
arch/arm/probes/kprobes/test-core.c
296
ret = (*func)(FUNC_ARG1, FUNC_ARG2);
arch/arm/probes/kprobes/test-core.c
332
static int test_kprobe(long (*func)(long, long))
arch/arm/probes/kprobes/test-core.c
336
the_kprobe.addr = (kprobe_opcode_t *)func;
arch/arm/probes/kprobes/test-core.c
343
ret = call_test_func(func, true);
arch/arm/probes/kprobes/test-core.c
358
if (!call_test_func(func, false))
arch/arm/probes/kprobes/test-core.c
382
static int test_kretprobe(long (*func)(long, long))
arch/arm/probes/kprobes/test-core.c
386
the_kretprobe.kp.addr = (kprobe_opcode_t *)func;
arch/arm/probes/kprobes/test-core.c
393
ret = call_test_func(func, true);
arch/arm/probes/kprobes/test-core.c
404
if (!call_test_func(func, false))
arch/arm/probes/kprobes/test-core.c
414
static int run_api_tests(long (*func)(long, long))
arch/arm/probes/kprobes/test-core.c
419
ret = test_kprobe(func);
arch/arm/probes/kprobes/test-core.c
424
ret = test_kretprobe(func);
arch/arm/vfp/vfp.h
245
#define vfp_single_normaliseround(sd,vsd,fpscr,except,func) __vfp_single_normaliseround(sd,vsd,fpscr,except)
arch/arm/vfp/vfp.h
248
u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char *func);
arch/arm/vfp/vfp.h
343
u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func);
arch/arm/vfp/vfpdouble.c
195
pr_debug("VFP: %s: d(d%d)=%016llx exceptions=%08x\n", func,
arch/arm/vfp/vfpdouble.c
70
u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func)
arch/arm/vfp/vfpdouble.c
851
vfp_double_multiply_accumulate(int dd, int dn, int dm, u32 fpscr, u32 negate, char *func)
arch/arm/vfp/vfpdouble.c
876
return vfp_double_normaliseround(dd, &vdd, fpscr, exceptions, func);
arch/arm/vfp/vfpsingle.c
201
pr_debug("VFP: %s: d(s%d)=%08x exceptions=%08x\n", func,
arch/arm/vfp/vfpsingle.c
69
#define vfp_single_normaliseround(sd,vsd,fpscr,except,func) __vfp_single_normaliseround(sd,vsd,fpscr,except)
arch/arm/vfp/vfpsingle.c
72
u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char *func)
arch/arm/vfp/vfpsingle.c
895
vfp_single_multiply_accumulate(int sd, int sn, s32 m, u32 fpscr, u32 negate, char *func)
arch/arm/vfp/vfpsingle.c
925
return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, func);
arch/arm64/include/asm/exception.h
52
void (*func)(struct pt_regs *));
arch/arm64/include/asm/static_call.h
22
#define ARCH_DEFINE_STATIC_CALL_TRAMP(name, func) \
arch/arm64/include/asm/static_call.h
23
__ARCH_DEFINE_STATIC_CALL_TRAMP(STATIC_CALL_TRAMP_STR(name), #func)
arch/arm64/kernel/asm-offsets.c
180
DEFINE(FTRACE_OPS_FUNC, offsetof(struct ftrace_ops, func));
arch/arm64/kernel/ftrace.c
242
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/arm64/kernel/ftrace.c
255
new = aarch64_insn_gen_branch_imm(pc, (unsigned long)func,
arch/arm64/kernel/machine_kexec.c
32
static void _kexec_image_info(const char *func, int line,
arch/arm64/kernel/machine_kexec.c
35
kexec_dprintk("%s:%d:\n", func, line);
arch/arm64/kernel/patching.c
107
static void *__text_poke(text_poke_f func, void *addr, void *src, size_t len)
arch/arm64/kernel/patching.c
123
func(waddr, src, patched, size);
arch/arm64/kernel/static_call.c
11
if (!func)
arch/arm64/kernel/static_call.c
12
func = __static_call_return0;
arch/arm64/kernel/static_call.c
20
ret = aarch64_insn_write_literal_u64((void *)literal, (u64)func);
arch/arm64/kernel/static_call.c
6
void arch_static_call_transform(void *site, void *tramp, void *func, bool tail)
arch/arm64/kernel/topology.c
400
int counters_read_on_cpu(int cpu, smp_call_func_t func, u64 *val)
arch/arm64/kernel/topology.c
418
func(val);
arch/arm64/kernel/topology.c
420
smp_call_function_single(cpu, func, val, 1);
arch/arm64/kvm/hyp/nvhe/mem_protect.c
220
void (*func)(void *addr, size_t size))
arch/arm64/kvm/hyp/nvhe/mem_protect.c
235
func(map, map_size);
arch/arm64/kvm/hyp/nvhe/sys_regs.c
39
#define __MAX_FEAT_FUNC(id, fld, max, func, sgn) \
arch/arm64/kvm/hyp/nvhe/sys_regs.c
45
.vm_supported = func, \
arch/arm64/kvm/hyp/nvhe/sys_regs.c
48
#define MAX_FEAT_FUNC(id, fld, max, func) \
arch/arm64/kvm/hyp/nvhe/sys_regs.c
49
__MAX_FEAT_FUNC(id, fld, max, func, id##_##fld##_SIGNED)
arch/csky/include/asm/smp.h
20
void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq);
arch/csky/include/asm/traps.h
38
#define VEC_INIT(i, func) \
arch/csky/include/asm/traps.h
40
vec_base[i] = (void *)func; \
arch/csky/kernel/ftrace.c
127
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/csky/kernel/ftrace.c
130
(unsigned long)func, true, true);
arch/csky/kernel/ftrace.c
133
(unsigned long)func, true, true);
arch/csky/kernel/smp.c
79
void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq)
arch/csky/kernel/smp.c
84
send_arch_ipi = func;
arch/loongarch/kernel/ftrace_dyn.c
137
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/loongarch/kernel/ftrace_dyn.c
143
new = larch_insn_gen_bl(pc, (unsigned long)func);
arch/loongarch/kernel/ftrace_dyn.c
260
unsigned long pc, func;
arch/loongarch/kernel/ftrace_dyn.c
264
func = (unsigned long)&ftrace_graph_caller;
arch/loongarch/kernel/ftrace_dyn.c
267
branch = larch_insn_gen_b(pc, func);
arch/loongarch/kernel/process.c
375
csd->func = handle_backtrace;
arch/loongarch/kernel/unwind_orc.c
370
unsigned long func;
arch/loongarch/kernel/unwind_orc.c
376
func = (unsigned long)exception_table[type];
arch/loongarch/kernel/unwind_orc.c
379
func = (unsigned long)handle_vint;
arch/loongarch/kernel/unwind_orc.c
382
func = (unsigned long)handle_reserved;
arch/loongarch/kernel/unwind_orc.c
386
ra = func + offset;
arch/loongarch/kvm/exit.c
865
unsigned long func = kvm_read_reg(vcpu, LOONGARCH_GPR_A0);
arch/loongarch/kvm/exit.c
867
switch (func) {
arch/loongarch/net/bpf_jit.h
38
#define emit_insn(ctx, func, ...) \
arch/loongarch/net/bpf_jit.h
42
emit_##func(insn, ##__VA_ARGS__); \
arch/microblaze/kernel/ftrace.c
166
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/microblaze/kernel/ftrace.c
169
unsigned int upper = (unsigned int)func;
arch/microblaze/kernel/ftrace.c
170
unsigned int lower = (unsigned int)func;
arch/microblaze/kernel/ftrace.c
178
__func__, (unsigned int)func, (unsigned int)ip, upper, lower);
arch/mips/dec/reset.c
17
noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000);
arch/mips/dec/reset.c
19
func();
arch/mips/include/asm/cacheflush.h
125
unsigned long run_uncached(void *func);
arch/mips/include/asm/mips-r2-to-r6-emul.h
78
int (*func)(struct pt_regs *regs, u32 inst);
arch/mips/include/uapi/asm/inst.h
1053
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
1066
__BITFIELD_FIELD(unsigned int func : 5,
arch/mips/include/uapi/asm/inst.h
1080
__BITFIELD_FIELD(unsigned int func : 3,
arch/mips/include/uapi/asm/inst.h
1087
__BITFIELD_FIELD(unsigned int func : 3,
arch/mips/include/uapi/asm/inst.h
1110
__BITFIELD_FIELD(unsigned int func : 3,
arch/mips/include/uapi/asm/inst.h
684
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
714
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
724
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
735
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
745
__BITFIELD_FIELD(unsigned int func : 4,
arch/mips/include/uapi/asm/inst.h
753
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
763
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
774
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
783
__BITFIELD_FIELD(unsigned int func : 4,
arch/mips/include/uapi/asm/inst.h
794
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
805
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
814
__BITFIELD_FIELD(unsigned int func:7,
arch/mips/include/uapi/asm/inst.h
840
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
851
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
861
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
871
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
883
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
893
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
904
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
914
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
924
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
934
__BITFIELD_FIELD(unsigned int func : 6,
arch/mips/include/uapi/asm/inst.h
950
__BITFIELD_FIELD(unsigned int func : 4,
arch/mips/include/uapi/asm/inst.h
960
__BITFIELD_FIELD(unsigned int func : 11,
arch/mips/include/uapi/asm/inst.h
991
__BITFIELD_FIELD(unsigned int func : 4,
arch/mips/kernel/branch.c
374
if (inst.rr.func == MIPS16e_jr_func) {
arch/mips/kernel/branch.c
434
switch (insn.r_format.func) {
arch/mips/kernel/branch.c
439
if (NO_R6EMU && insn.r_format.func == jr_op)
arch/mips/kernel/ftrace.c
221
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/mips/kernel/ftrace.c
225
new = INSN_JAL((unsigned long)func);
arch/mips/kernel/kprobes.c
32
.func = break_op
arch/mips/kernel/kprobes.c
40
.func = break_op
arch/mips/kernel/mips-r2-to-r6-emul.c
891
for (p = table; p->func; p++) {
arch/mips/kernel/mips-r2-to-r6-emul.c
893
err = (p->func)(regs, inst);
arch/mips/kernel/probes-common.h
21
switch (insn.r_format.func) {
arch/mips/kernel/process.c
184
void *func;
arch/mips/kernel/process.c
209
ip->r_format.func == mm_pool32axf_op &&
arch/mips/kernel/process.c
216
ip->r_format.func == jr_op &&
arch/mips/kernel/process.c
246
switch (ip->mm16_m_format.func) {
arch/mips/kernel/process.c
273
switch (ip->mm_m_format.func) {
arch/mips/kernel/process.c
340
ip->r_format.func != mm_pool32axf_op)
arch/mips/kernel/process.c
350
return ip->r_format.func == jalr_op || ip->r_format.func == jr_op;
arch/mips/kernel/process.c
415
ip = (void *)msk_isa16_mode((ulong)info->func);
arch/mips/kernel/process.c
509
schedule_mfi.func = (void *)addr;
arch/mips/kernel/process.c
609
info.func = (void *)(pc - ofs);
arch/mips/kernel/smp.c
528
static inline void smp_on_other_tlbs(void (*func) (void *info), void *info)
arch/mips/kernel/smp.c
530
smp_call_function(func, info, 1);
arch/mips/kernel/smp.c
533
static inline void smp_on_each_tlb(void (*func) (void *info), void *info)
arch/mips/kernel/smp.c
537
smp_on_other_tlbs(func, info);
arch/mips/kernel/smp.c
538
func(info);
arch/mips/kernel/unaligned.c
1010
switch (insn.mm16_m_format.func) {
arch/mips/kernel/unaligned.c
1276
switch (mips16inst.i64.func) { /* I64/RI64 func field check */
arch/mips/kernel/unaligned.c
1331
if (mips16inst.i8.func != MIPS16e_swrasp_func)
arch/mips/kernel/unaligned.c
166
if (insn.mxu_lx_format.func != mxu_lx_op)
arch/mips/kernel/unaligned.c
206
if (insn.dsp_format.func == lx_op) {
arch/mips/kernel/unaligned.c
237
switch (insn.spec3_format.func) {
arch/mips/kernel/unaligned.c
481
switch (insn.msa_mi10_format.func) {
arch/mips/kernel/unaligned.c
678
switch (insn.mm_x_format.func) {
arch/mips/kernel/unaligned.c
687
switch (insn.mm_m_format.func) {
arch/mips/kernel/unaligned.c
932
switch (insn.mm_m_format.func) {
arch/mips/kernel/unaligned.c
943
switch (insn.mm_x_format.func) {
arch/mips/kernel/uprobes.c
70
switch (inst.r_format.func) {
arch/mips/kvm/emulate.c
63
switch (insn.r_format.func) {
arch/mips/kvm/vz.c
1246
switch (inst.spec3_format.func) {
arch/mips/kvm/vz.c
582
switch (inst.spec3_format.func) {
arch/mips/kvm/vz.c
895
switch (inst.co_format.func) {
arch/mips/lib/uncached.c
38
unsigned long run_uncached(void *func)
arch/mips/lib/uncached.c
41
long lfunc = (long)func, ufunc;
arch/mips/loongson2ef/common/reset.c
22
void (*func)(void);
arch/mips/loongson2ef/common/reset.c
24
func = (void *)ioremap(LOONGSON_BOOT_BASE, 4);
arch/mips/loongson2ef/common/reset.c
31
: [func] "r" (func));
arch/mips/math-emu/cp1emu.c
121
switch (insn.mm_fp0_format.func) {
arch/mips/math-emu/cp1emu.c
130
op = insn.mm_fp0_format.func;
arch/mips/math-emu/cp1emu.c
132
func = madd_s_op;
arch/mips/math-emu/cp1emu.c
134
func = madd_d_op;
arch/mips/math-emu/cp1emu.c
136
func = nmadd_s_op;
arch/mips/math-emu/cp1emu.c
138
func = nmadd_d_op;
arch/mips/math-emu/cp1emu.c
140
func = msub_s_op;
arch/mips/math-emu/cp1emu.c
142
func = msub_d_op;
arch/mips/math-emu/cp1emu.c
144
func = nmsub_s_op;
arch/mips/math-emu/cp1emu.c
146
func = nmsub_d_op;
arch/mips/math-emu/cp1emu.c
152
mips32_insn.fp6_format.func = func;
arch/mips/math-emu/cp1emu.c
155
func = -1; /* Invalid */
arch/mips/math-emu/cp1emu.c
158
func = ldxc1_op;
arch/mips/math-emu/cp1emu.c
160
func = sdxc1_op;
arch/mips/math-emu/cp1emu.c
162
func = lwxc1_op;
arch/mips/math-emu/cp1emu.c
164
func = swxc1_op;
arch/mips/math-emu/cp1emu.c
166
if (func != -1) {
arch/mips/math-emu/cp1emu.c
174
mips32_insn.r_format.func = func;
arch/mips/math-emu/cp1emu.c
194
mips32_insn.fp0_format.func = fmovc_op;
arch/mips/math-emu/cp1emu.c
199
func = -1; /* Invalid */
arch/mips/math-emu/cp1emu.c
201
func = fadd_op;
arch/mips/math-emu/cp1emu.c
203
func = fsub_op;
arch/mips/math-emu/cp1emu.c
205
func = fmul_op;
arch/mips/math-emu/cp1emu.c
207
func = fdiv_op;
arch/mips/math-emu/cp1emu.c
208
if (func != -1) {
arch/mips/math-emu/cp1emu.c
218
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
223
func = -1; /* Invalid */
arch/mips/math-emu/cp1emu.c
225
func = fmovn_op;
arch/mips/math-emu/cp1emu.c
227
func = fmovz_op;
arch/mips/math-emu/cp1emu.c
228
if (func != -1) {
arch/mips/math-emu/cp1emu.c
238
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
259
mips32_insn.r_format.func = movc_op;
arch/mips/math-emu/cp1emu.c
267
func = fcvtd_op;
arch/mips/math-emu/cp1emu.c
270
func = fcvts_op;
arch/mips/math-emu/cp1emu.c
280
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
290
func = fmov_op;
arch/mips/math-emu/cp1emu.c
293
func = fabs_op;
arch/mips/math-emu/cp1emu.c
295
func = fneg_op;
arch/mips/math-emu/cp1emu.c
304
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
317
func = ffloorl_op;
arch/mips/math-emu/cp1emu.c
319
func = ffloor_op;
arch/mips/math-emu/cp1emu.c
321
func = fceill_op;
arch/mips/math-emu/cp1emu.c
323
func = fceil_op;
arch/mips/math-emu/cp1emu.c
325
func = ftruncl_op;
arch/mips/math-emu/cp1emu.c
327
func = ftrunc_op;
arch/mips/math-emu/cp1emu.c
329
func = froundl_op;
arch/mips/math-emu/cp1emu.c
331
func = fround_op;
arch/mips/math-emu/cp1emu.c
333
func = fcvtl_op;
arch/mips/math-emu/cp1emu.c
335
func = fcvtw_op;
arch/mips/math-emu/cp1emu.c
344
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
350
func = frsqrt_op;
arch/mips/math-emu/cp1emu.c
352
func = fsqrt_op;
arch/mips/math-emu/cp1emu.c
354
func = frecip_op;
arch/mips/math-emu/cp1emu.c
363
mips32_insn.fp0_format.func = func;
arch/mips/math-emu/cp1emu.c
390
mips32_insn.fp1_format.func = 0;
arch/mips/math-emu/cp1emu.c
403
mips32_insn.fp0_format.func =
arch/mips/math-emu/cp1emu.c
435
switch (insn.r_format.func) {
arch/mips/math-emu/cp1emu.c
445
if (NO_R6EMU && insn.r_format.func == jr_op)
arch/mips/math-emu/cp1emu.c
86
int func, fmt, op;
arch/mips/mm/c-r4k.c
100
func, info, 1);
arch/mips/mm/c-r4k.c
101
func(info);
arch/mips/mm/c-r4k.c
95
void (*func)(void *info), void *info)
arch/mips/net/bpf_jit_comp.h
90
#define __emit(ctx, func, ...) \
arch/mips/net/bpf_jit_comp.h
94
uasm_i_##func(&p, ##__VA_ARGS__); \
arch/mips/pci/ops-bcm63xx.c
67
unsigned int slot, func, reg;
arch/mips/pci/ops-bcm63xx.c
71
func = PCI_FUNC(devfn);
arch/mips/pci/ops-bcm63xx.c
78
if (func > (MPI_L2PCFG_FUNC_MASK >> MPI_L2PCFG_FUNC_SHIFT))
arch/mips/pci/ops-bcm63xx.c
86
val |= (func << MPI_L2PCFG_FUNC_SHIFT);
arch/mips/pci/ops-rc32434.c
41
#define PCI_CFG_SET(bus, slot, func, off) \
arch/mips/pci/ops-rc32434.c
44
((func)<<8) | (off)))
arch/mips/pci/ops-rc32434.c
51
u8 func = PCI_FUNC(devfn);
arch/mips/pci/ops-rc32434.c
54
PCI_CFG_SET(bus->number, slot, func, where);
arch/mips/pci/pci-ar2315.c
215
int func = PCI_FUNC(devfn);
arch/mips/pci/pci-ar2315.c
217
u32 addr = (1 << (13 + dev)) | (func << 8) | (where & ~3);
arch/mips/pci/pci-mt7620.c
141
u8 func = PCI_FUNC(devfn);
arch/mips/pci/pci-mt7620.c
150
(func << 8) | (where & 0xfc) | 0x80000000;
arch/mips/pci/pci-mt7620.c
173
u8 func = PCI_FUNC(devfn);
arch/mips/pci/pci-mt7620.c
182
(func << 8) | (where & 0xfc) | 0x80000000;
arch/mips/pci/pci-octeon.c
270
pci_addr.s.func = devfn & 0x7;
arch/mips/pci/pci-octeon.c
304
pci_addr.s.func = devfn & 0x7;
arch/mips/pci/pci-octeon.c
55
uint64_t func:3;
arch/mips/pci/pci-rt2880.c
55
unsigned int func, unsigned int where)
arch/mips/pci/pci-rt2880.c
57
return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) |
arch/mips/pci/pci-rt3883.c
102
unsigned func, unsigned reg)
arch/mips/pci/pci-rt3883.c
106
address = rt3883_pci_get_cfgaddr(bus, slot, func, reg);
arch/mips/pci/pci-rt3883.c
115
unsigned func, unsigned reg, u32 val)
arch/mips/pci/pci-rt3883.c
119
address = rt3883_pci_get_cfgaddr(bus, slot, func, reg);
arch/mips/pci/pci-rt3883.c
94
unsigned int func, unsigned int where)
arch/mips/pci/pci-rt3883.c
96
return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) |
arch/mips/pci/pcie-octeon.c
255
pcie_addr.config.func = fn;
arch/mips/pci/pcie-octeon.c
66
uint64_t func:3;
arch/mips/pic32/pic32mzda/config.c
77
void pic32_syskey_unlock_debug(const char *func, const ulong line)
arch/mips/pic32/pic32mzda/config.c
81
pr_debug("%s: called from %s:%lu\n", __func__, func, line);
arch/parisc/include/asm/pdc.h
91
int pdc_sti_call(unsigned long func, unsigned long flags,
arch/parisc/kernel/firmware.c
1429
int pdc_sti_call(unsigned long func, unsigned long flags,
arch/parisc/kernel/firmware.c
1439
retval = real64_call(func, flags, inptr, outputr, glob_cfg);
arch/parisc/kernel/firmware.c
1444
retval = real32_call(func, flags, inptr, outputr, glob_cfg);
arch/parisc/kernel/ftrace.c
96
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/parisc/kernel/ftrace.c
98
ftrace_func = func;
arch/parisc/kernel/inventory.c
497
unsigned int func;
arch/parisc/kernel/inventory.c
508
for (func = 0; func < 16; func++) {
arch/parisc/kernel/inventory.c
510
module_path.path.mod = func;
arch/parisc/kernel/irq.c
446
void call_on_stack(unsigned long p1, void *func, unsigned long new_stack);
arch/parisc/kernel/irq.c
448
static void execute_on_irq_stack(void *func, unsigned long param1)
arch/parisc/kernel/irq.c
465
void (*direct_call)(unsigned long p1) = func;
arch/parisc/kernel/irq.c
474
call_on_stack(param1, func, irq_stack);
arch/parisc/net/bpf_jit_comp32.c
325
static void emit_call_millicode(void *func, const s8 arg0,
arch/parisc/net/bpf_jit_comp32.c
337
func_addr = (uintptr_t) dereference_function_descriptor(func);
arch/parisc/net/bpf_jit_comp32.c
359
static void emit_call_libgcc_ll(void *func, const s8 *arg0,
arch/parisc/net/bpf_jit_comp32.c
376
func_addr = (uintptr_t) dereference_function_descriptor(func);
arch/parisc/net/bpf_jit_comp64.c
505
static void emit_call_libgcc_ll(void *func, const s8 arg0,
arch/parisc/net/bpf_jit_comp64.c
527
func_addr = (uintptr_t) func;
arch/powerpc/include/asm/drmem.h
110
int (*func)(struct drmem_lmb *, const __be32 **, void *));
arch/powerpc/include/asm/drmem.h
116
int (*func)(struct drmem_lmb *, const __be32 **, void *));
arch/powerpc/include/asm/eeh.h
223
int (*err_inject)(struct eeh_pe *pe, int type, int func,
arch/powerpc/include/asm/eeh.h
311
int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func,
arch/powerpc/include/asm/interrupt.h
407
#define DECLARE_INTERRUPT_HANDLER_RAW(func) \
arch/powerpc/include/asm/interrupt.h
408
__visible long func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
433
#define DEFINE_INTERRUPT_HANDLER_RAW(func) \
arch/powerpc/include/asm/interrupt.h
435
____##func(struct pt_regs *regs); \
arch/powerpc/include/asm/interrupt.h
437
interrupt_handler long func(struct pt_regs *regs) \
arch/powerpc/include/asm/interrupt.h
443
ret = ____##func (regs); \
arch/powerpc/include/asm/interrupt.h
447
NOKPROBE_SYMBOL(func); \
arch/powerpc/include/asm/interrupt.h
450
____##func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
456
#define DECLARE_INTERRUPT_HANDLER(func) \
arch/powerpc/include/asm/interrupt.h
457
__visible void func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
468
#define DEFINE_INTERRUPT_HANDLER(func) \
arch/powerpc/include/asm/interrupt.h
469
static __always_inline void ____##func(struct pt_regs *regs); \
arch/powerpc/include/asm/interrupt.h
471
interrupt_handler void func(struct pt_regs *regs) \
arch/powerpc/include/asm/interrupt.h
475
____##func (regs); \
arch/powerpc/include/asm/interrupt.h
479
NOKPROBE_SYMBOL(func); \
arch/powerpc/include/asm/interrupt.h
481
static __always_inline void ____##func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
488
#define DECLARE_INTERRUPT_HANDLER_RET(func) \
arch/powerpc/include/asm/interrupt.h
489
__visible long func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
501
#define DEFINE_INTERRUPT_HANDLER_RET(func) \
arch/powerpc/include/asm/interrupt.h
502
static __always_inline long ____##func(struct pt_regs *regs); \
arch/powerpc/include/asm/interrupt.h
504
interrupt_handler long func(struct pt_regs *regs) \
arch/powerpc/include/asm/interrupt.h
510
ret = ____##func (regs); \
arch/powerpc/include/asm/interrupt.h
516
NOKPROBE_SYMBOL(func); \
arch/powerpc/include/asm/interrupt.h
518
static __always_inline long ____##func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
524
#define DECLARE_INTERRUPT_HANDLER_ASYNC(func) \
arch/powerpc/include/asm/interrupt.h
525
__visible void func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
536
#define DEFINE_INTERRUPT_HANDLER_ASYNC(func) \
arch/powerpc/include/asm/interrupt.h
537
static __always_inline void ____##func(struct pt_regs *regs); \
arch/powerpc/include/asm/interrupt.h
539
interrupt_handler void func(struct pt_regs *regs) \
arch/powerpc/include/asm/interrupt.h
543
____##func (regs); \
arch/powerpc/include/asm/interrupt.h
547
NOKPROBE_SYMBOL(func); \
arch/powerpc/include/asm/interrupt.h
549
static __always_inline void ____##func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
556
#define DECLARE_INTERRUPT_HANDLER_NMI(func) \
arch/powerpc/include/asm/interrupt.h
557
__visible long func(struct pt_regs *regs)
arch/powerpc/include/asm/interrupt.h
569
#define DEFINE_INTERRUPT_HANDLER_NMI(func) \
arch/powerpc/include/asm/interrupt.h
571
____##func(struct pt_regs *regs); \
arch/powerpc/include/asm/interrupt.h
573
interrupt_handler long func(struct pt_regs *regs) \
arch/powerpc/include/asm/interrupt.h
580
ret = ____##func (regs); \
arch/powerpc/include/asm/interrupt.h
586
NOKPROBE_SYMBOL(func); \
arch/powerpc/include/asm/interrupt.h
589
____##func(struct pt_regs *regs)
arch/powerpc/include/asm/opal.h
91
uint32_t func, uint64_t addr, uint64_t mask);
arch/powerpc/include/asm/pmac_pfunc.h
171
struct pmf_function *func;
arch/powerpc/include/asm/pmac_pfunc.h
197
extern void pmf_do_irq(struct pmf_function *func);
arch/powerpc/include/asm/pmac_pfunc.h
243
extern struct pmf_function * pmf_get_function(struct pmf_function *func);
arch/powerpc/include/asm/pmac_pfunc.h
244
extern void pmf_put_function(struct pmf_function *func);
arch/powerpc/include/asm/pmac_pfunc.h
246
extern int pmf_call_one(struct pmf_function *func, struct pmf_args *args);
arch/powerpc/include/asm/pmac_pfunc.h
52
#define PMF_STD_ARGS struct pmf_function *func, void *instdata, \
arch/powerpc/include/asm/pmac_pfunc.h
58
void * (*begin)(struct pmf_function *func, struct pmf_args *args);
arch/powerpc/include/asm/pmac_pfunc.h
59
void (*end)(struct pmf_function *func, void *instdata);
arch/powerpc/include/asm/pmac_pfunc.h
61
int (*irq_enable)(struct pmf_function *func);
arch/powerpc/include/asm/pmac_pfunc.h
62
int (*irq_disable)(struct pmf_function *func);
arch/powerpc/include/asm/static_call.h
25
#define ARCH_DEFINE_STATIC_CALL_TRAMP(name, func) __PPC_SCT(name, "b " #func)
arch/powerpc/include/asm/text-patching.h
169
static inline unsigned long ppc_function_entry(void *func)
arch/powerpc/include/asm/text-patching.h
172
u32 *insn = func;
arch/powerpc/include/asm/text-patching.h
195
return (unsigned long)func;
arch/powerpc/include/asm/text-patching.h
202
return ((struct func_desc *)func)->addr;
arch/powerpc/include/asm/text-patching.h
204
return (unsigned long)func;
arch/powerpc/include/asm/text-patching.h
208
static inline unsigned long ppc_global_function_entry(void *func)
arch/powerpc/include/asm/text-patching.h
212
return (unsigned long)func;
arch/powerpc/include/asm/text-patching.h
215
return ppc_function_entry(func);
arch/powerpc/kernel/asm-offsets.c
681
OFFSET(FTRACE_OPS_FUNC, ftrace_ops, func);
arch/powerpc/kernel/eeh.c
1526
int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func,
arch/powerpc/kernel/eeh.c
1538
if (func < EEH_ERR_FUNC_MIN || func > EEH_ERR_FUNC_MAX)
arch/powerpc/kernel/eeh.c
1541
return eeh_ops->err_inject(pe, type, func, addr, mask);
arch/powerpc/kernel/module_64.c
94
static unsigned long stub_func_addr(func_desc_t func)
arch/powerpc/kernel/module_64.c
96
return func.addr;
arch/powerpc/kernel/rtas.c
1776
static bool block_rtas_call(const struct rtas_function *func, int nargs,
arch/powerpc/kernel/rtas.c
1781
func == &rtas_function_table[RTAS_FNIDX__IBM_PLATFORM_DUMP];
arch/powerpc/kernel/rtas.c
1783
func == &rtas_function_table[RTAS_FNIDX__IBM_CONFIGURE_CONNECTOR];
arch/powerpc/kernel/rtas.c
1789
f = func->filter;
arch/powerpc/kernel/rtas.c
1795
if (IS_ENABLED(CONFIG_CPU_LITTLE_ENDIAN) && func->banned_for_syscall_on_le)
arch/powerpc/kernel/rtas.c
1845
func->name, nargs, current->comm);
arch/powerpc/kernel/rtas.c
1852
const struct rtas_function *func;
arch/powerpc/kernel/rtas.c
1889
func = rtas_token_to_function_untrusted(token);
arch/powerpc/kernel/rtas.c
1890
if (!func)
arch/powerpc/kernel/rtas.c
1896
if (block_rtas_call(func, nargs, &args))
arch/powerpc/kernel/rtas.c
1935
if (func->lock)
arch/powerpc/kernel/rtas.c
1936
mutex_lock(func->lock);
arch/powerpc/kernel/rtas.c
1953
if (func->lock)
arch/powerpc/kernel/rtas.c
1954
mutex_unlock(func->lock);
arch/powerpc/kernel/rtas.c
2005
struct rtas_function *func;
arch/powerpc/kernel/rtas.c
2010
func = __rtas_name_to_function(prop->name);
arch/powerpc/kernel/rtas.c
2011
if (!func)
arch/powerpc/kernel/rtas.c
2014
func->token = be32_to_cpup((__be32 *)prop->value);
arch/powerpc/kernel/rtas.c
2016
pr_debug("function %s has token %u\n", func->name, func->token);
arch/powerpc/kernel/rtas.c
634
const struct rtas_function *func;
arch/powerpc/kernel/rtas.c
637
for_each_rtas_function(func) {
arch/powerpc/kernel/rtas.c
638
const s32 token = func->token;
arch/powerpc/kernel/rtas.c
644
token, (void *)func, GFP_KERNEL));
arch/powerpc/kernel/rtas.c
670
const struct rtas_function *func;
arch/powerpc/kernel/rtas.c
675
func = rtas_token_to_function_untrusted(token);
arch/powerpc/kernel/rtas.c
676
if (func)
arch/powerpc/kernel/rtas.c
677
return func;
arch/powerpc/kernel/rtas.c
683
for_each_rtas_function(func) {
arch/powerpc/kernel/rtas.c
684
if (func->token == token)
arch/powerpc/kernel/rtas.c
685
return func;
arch/powerpc/kernel/rtas.c
704
const struct rtas_function *func = rtas_token_to_function(be32_to_cpu(args->token));
arch/powerpc/kernel/rtas.c
710
if (func->lock)
arch/powerpc/kernel/rtas.c
711
lockdep_assert_held(func->lock);
arch/powerpc/kernel/rtas.c
716
trace_rtas_input(args, func->name);
arch/powerpc/kernel/rtas.c
722
trace_rtas_output(args, func->name);
arch/powerpc/kernel/rtas.c
947
const struct rtas_function *func;
arch/powerpc/kernel/rtas.c
953
func = rtas_name_to_function(service);
arch/powerpc/kernel/rtas.c
954
if (func)
arch/powerpc/kernel/rtas.c
955
return func->token;
arch/powerpc/kernel/static_call.c
10
bool is_ret0 = (func == __static_call_return0);
arch/powerpc/kernel/static_call.c
12
unsigned long _func = (unsigned long)func;
arch/powerpc/kernel/static_call.c
14
bool is_short = is_offset_in_branch_range((long)func - (long)(site ? : tramp));
arch/powerpc/kernel/static_call.c
19
if (!func)
arch/powerpc/kernel/static_call.c
30
if (!func)
arch/powerpc/kernel/static_call.c
41
if (func && !is_short) {
arch/powerpc/kernel/static_call.c
47
if (!func)
arch/powerpc/kernel/static_call.c
63
panic("%s: patching failed %pS at %pS\n", __func__, func, tramp);
arch/powerpc/kernel/static_call.c
7
void arch_static_call_transform(void *site, void *tramp, void *func, bool tail)
arch/powerpc/kernel/trace/ftrace.c
550
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/powerpc/kernel/trace/ftrace.c
564
new = ftrace_create_branch_inst(ip, ppc_function_entry(func), 1);
arch/powerpc/kernel/trace/ftrace.c
571
new = ftrace_create_branch_inst(ip, ppc_function_entry(func), 1);
arch/powerpc/kernel/trace/ftrace_64_pg.c
668
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/powerpc/kernel/trace/ftrace_64_pg.c
675
new = ftrace_call_replace(ip, (unsigned long)func, 1);
arch/powerpc/kernel/trace/ftrace_64_pg.c
682
new = ftrace_call_replace(ip, (unsigned long)func, 1);
arch/powerpc/kvm/book3s_paired_singles.c
493
void (*func)(u64 *fpscr,
arch/powerpc/kvm/book3s_paired_singles.c
513
func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2, &ps0_in3);
arch/powerpc/kvm/book3s_paired_singles.c
530
func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in1, &ps1_in2, &ps1_in3);
arch/powerpc/kvm/book3s_paired_singles.c
541
void (*func)(u64 *fpscr,
arch/powerpc/kvm/book3s_paired_singles.c
562
func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2);
arch/powerpc/kvm/book3s_paired_singles.c
578
func(&vcpu->arch.fp.fpscr, &ps1_out, &ps1_in1, &ps1_in2);
arch/powerpc/kvm/book3s_paired_singles.c
592
void (*func)(u64 *t,
arch/powerpc/kvm/book3s_paired_singles.c
604
func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in);
arch/powerpc/kvm/book3s_paired_singles.c
613
func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in);
arch/powerpc/math-emu/math.c
233
int (*func)(void *, void *, void *, void *);
arch/powerpc/math-emu/math.c
241
case LFS: func = lfs; type = D; break;
arch/powerpc/math-emu/math.c
242
case LFSU: func = lfs; type = DU; break;
arch/powerpc/math-emu/math.c
243
case LFD: func = lfd; type = D; break;
arch/powerpc/math-emu/math.c
244
case LFDU: func = lfd; type = DU; break;
arch/powerpc/math-emu/math.c
245
case STFS: func = stfs; type = D; break;
arch/powerpc/math-emu/math.c
246
case STFSU: func = stfs; type = DU; break;
arch/powerpc/math-emu/math.c
247
case STFD: func = stfd; type = D; break;
arch/powerpc/math-emu/math.c
248
case STFDU: func = stfd; type = DU; break;
arch/powerpc/math-emu/math.c
252
case LFSX: func = lfs; type = XE; break;
arch/powerpc/math-emu/math.c
253
case LFSUX: func = lfs; type = XEU; break;
arch/powerpc/math-emu/math.c
254
case LFDX: func = lfd; type = XE; break;
arch/powerpc/math-emu/math.c
255
case LFDUX: func = lfd; type = XEU; break;
arch/powerpc/math-emu/math.c
256
case STFSX: func = stfs; type = XE; break;
arch/powerpc/math-emu/math.c
257
case STFSUX: func = stfs; type = XEU; break;
arch/powerpc/math-emu/math.c
258
case STFDX: func = stfd; type = XE; break;
arch/powerpc/math-emu/math.c
259
case STFDUX: func = stfd; type = XEU; break;
arch/powerpc/math-emu/math.c
260
case STFIWX: func = stfiwx; type = XE; break;
arch/powerpc/math-emu/math.c
268
case FDIVS: func = fdivs; type = AB; break;
arch/powerpc/math-emu/math.c
269
case FSUBS: func = fsubs; type = AB; break;
arch/powerpc/math-emu/math.c
270
case FADDS: func = fadds; type = AB; break;
arch/powerpc/math-emu/math.c
271
case FSQRTS: func = fsqrts; type = XB; break;
arch/powerpc/math-emu/math.c
272
case FRES: func = fres; type = XB; break;
arch/powerpc/math-emu/math.c
273
case FMULS: func = fmuls; type = AC; break;
arch/powerpc/math-emu/math.c
274
case FRSQRTES: func = frsqrtes;type = XB; break;
arch/powerpc/math-emu/math.c
275
case FMSUBS: func = fmsubs; type = ABC; break;
arch/powerpc/math-emu/math.c
276
case FMADDS: func = fmadds; type = ABC; break;
arch/powerpc/math-emu/math.c
277
case FNMSUBS: func = fnmsubs; type = ABC; break;
arch/powerpc/math-emu/math.c
278
case FNMADDS: func = fnmadds; type = ABC; break;
arch/powerpc/math-emu/math.c
287
case FDIV: func = fdiv; type = AB; break;
arch/powerpc/math-emu/math.c
288
case FSUB: func = fsub; type = AB; break;
arch/powerpc/math-emu/math.c
289
case FADD: func = fadd; type = AB; break;
arch/powerpc/math-emu/math.c
290
case FSQRT: func = fsqrt; type = XB; break;
arch/powerpc/math-emu/math.c
291
case FRE: func = fre; type = XB; break;
arch/powerpc/math-emu/math.c
292
case FSEL: func = fsel; type = ABC; break;
arch/powerpc/math-emu/math.c
293
case FMUL: func = fmul; type = AC; break;
arch/powerpc/math-emu/math.c
294
case FRSQRTE: func = frsqrte; type = XB; break;
arch/powerpc/math-emu/math.c
295
case FMSUB: func = fmsub; type = ABC; break;
arch/powerpc/math-emu/math.c
296
case FMADD: func = fmadd; type = ABC; break;
arch/powerpc/math-emu/math.c
297
case FNMSUB: func = fnmsub; type = ABC; break;
arch/powerpc/math-emu/math.c
298
case FNMADD: func = fnmadd; type = ABC; break;
arch/powerpc/math-emu/math.c
306
case FCMPU: func = fcmpu; type = XCR; break;
arch/powerpc/math-emu/math.c
307
case FRSP: func = frsp; type = XB; break;
arch/powerpc/math-emu/math.c
308
case FCTIW: func = fctiw; type = XB; break;
arch/powerpc/math-emu/math.c
309
case FCTIWZ: func = fctiwz; type = XB; break;
arch/powerpc/math-emu/math.c
310
case FCMPO: func = fcmpo; type = XCR; break;
arch/powerpc/math-emu/math.c
311
case MTFSB1: func = mtfsb1; type = XCRB; break;
arch/powerpc/math-emu/math.c
312
case FNEG: func = fneg; type = XB; break;
arch/powerpc/math-emu/math.c
313
case MCRFS: func = mcrfs; type = XCRL; break;
arch/powerpc/math-emu/math.c
314
case MTFSB0: func = mtfsb0; type = XCRB; break;
arch/powerpc/math-emu/math.c
315
case FMR: func = fmr; type = XB; break;
arch/powerpc/math-emu/math.c
316
case MTFSFI: func = mtfsfi; type = XCRI; break;
arch/powerpc/math-emu/math.c
317
case FNABS: func = fnabs; type = XB; break;
arch/powerpc/math-emu/math.c
318
case FABS: func = fabs; type = XB; break;
arch/powerpc/math-emu/math.c
319
case MFFS: func = mffs; type = X; break;
arch/powerpc/math-emu/math.c
320
case MTFSF: func = mtfsf; type = XFLB; break;
arch/powerpc/math-emu/math.c
435
eflag = func(op0, op1, op2, op3);
arch/powerpc/math-emu/math_efp.c
182
unsigned long type, func, fc, fa, fb, src, speinsn;
arch/powerpc/math-emu/math_efp.c
194
func = speinsn & 0x7ff;
arch/powerpc/math-emu/math_efp.c
234
switch (func) {
arch/powerpc/math-emu/math_efp.c
281
SB_e += (func == EFSCTSF ? 31 : 32);
arch/powerpc/math-emu/math_efp.c
283
(func == EFSCTSF) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
306
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
317
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
365
switch (func) {
arch/powerpc/math-emu/math_efp.c
412
DB_e += (func == EFDCTSF ? 31 : 32);
arch/powerpc/math-emu/math_efp.c
414
(func == EFDCTSF) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
437
((func & 0x1) == 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
448
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
459
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
518
switch (func) {
arch/powerpc/math-emu/math_efp.c
572
SB0_e += (func == EVFSCTSF ? 31 : 32);
arch/powerpc/math-emu/math_efp.c
574
(func == EVFSCTSF) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
580
SB1_e += (func == EVFSCTSF ? 31 : 32);
arch/powerpc/math-emu/math_efp.c
582
(func == EVFSCTSF) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
593
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
600
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
611
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
618
((func & 0x3) != 0) ? 1 : 0);
arch/powerpc/math-emu/math_efp.c
732
unsigned long speinsn, type, fb, fc, fptype, func;
arch/powerpc/math-emu/math_efp.c
739
func = speinsn & 0x7ff;
arch/powerpc/math-emu/math_efp.c
740
type = insn_type(func);
arch/powerpc/math-emu/math_efp.c
761
switch (func) {
arch/powerpc/mm/drmem.c
220
int (*func)(struct drmem_lmb *, const __be32 **, void *))
arch/powerpc/mm/drmem.c
229
ret = func(&lmb, &usm, data);
arch/powerpc/mm/drmem.c
254
int (*func)(struct drmem_lmb *, const __be32 **, void *))
arch/powerpc/mm/drmem.c
275
ret = func(&lmb, &usm, data);
arch/powerpc/mm/drmem.c
286
int (*func)(struct drmem_lmb *, const __be32 **, void *))
arch/powerpc/mm/drmem.c
305
ret = __walk_drmem_v1_lmbs(prop, usm, data, func);
arch/powerpc/mm/drmem.c
310
ret = __walk_drmem_v2_lmbs(prop, usm, data, func);
arch/powerpc/mm/drmem.c
394
int (*func)(struct drmem_lmb *, const __be32 **, void *))
arch/powerpc/mm/drmem.c
415
ret = __walk_drmem_v1_lmbs(prop, usm, data, func);
arch/powerpc/mm/drmem.c
419
ret = __walk_drmem_v2_lmbs(prop, usm, data, func);
arch/powerpc/net/bpf_jit.h
207
int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func);
arch/powerpc/net/bpf_jit_comp32.c
209
int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func)
arch/powerpc/net/bpf_jit_comp32.c
211
s32 rel = (s32)func - (s32)(fimage + ctx->idx);
arch/powerpc/net/bpf_jit_comp32.c
217
EMIT(PPC_RAW_LIS(_R0, IMM_H(func)));
arch/powerpc/net/bpf_jit_comp32.c
218
EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func)));
arch/powerpc/net/bpf_jit_comp64.c
404
int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func)
arch/powerpc/net/bpf_jit_comp64.c
406
unsigned long func_addr = func ? ppc_function_entry((void *)func) : 0;
arch/powerpc/net/bpf_jit_comp64.c
410
if (!func) {
arch/powerpc/net/bpf_jit_comp64.c
453
PPC_LI64(_R12, func);
arch/powerpc/net/bpf_jit_comp64.c
462
pr_err("eBPF: address of %ps out of range of kernel_toc.\n", (void *)func);
arch/powerpc/net/bpf_jit_comp64.c
473
PPC_LI64(bpf_to_ppc(TMP_REG_2), func);
arch/powerpc/net/bpf_jit_comp64.c
486
PPC_LI64(_R12, func);
arch/powerpc/platforms/powermac/feature.c
2371
feature_call func = NULL;
arch/powerpc/platforms/powermac/feature.c
2377
func = pmac_mb.features[i].function;
arch/powerpc/platforms/powermac/feature.c
2380
if (!func)
arch/powerpc/platforms/powermac/feature.c
2383
func = any_features[i].function;
arch/powerpc/platforms/powermac/feature.c
2386
if (!func)
arch/powerpc/platforms/powermac/feature.c
2395
return func(node, param, value);
arch/powerpc/platforms/powermac/low_i2c.c
1235
static void* pmac_i2c_do_begin(struct pmf_function *func, struct pmf_args *args)
arch/powerpc/platforms/powermac/low_i2c.c
1240
bus = pmac_i2c_find_bus(func->node);
arch/powerpc/platforms/powermac/low_i2c.c
1243
func->node);
arch/powerpc/platforms/powermac/low_i2c.c
1248
func->node);
arch/powerpc/platforms/powermac/low_i2c.c
1263
inst->addr = pmac_i2c_get_dev_addr(func->node);
arch/powerpc/platforms/powermac/low_i2c.c
1264
inst->quirks = (int)(long)func->driver_data;
arch/powerpc/platforms/powermac/low_i2c.c
1268
static void pmac_i2c_do_end(struct pmf_function *func, void *instdata)
arch/powerpc/platforms/powermac/pfunc_base.c
148
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
159
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
171
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
182
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
195
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
208
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
221
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
241
struct macio_chip *macio = func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
27
static int macio_do_gpio_irq_enable(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_base.c
29
unsigned int irq = irq_of_parse_and_map(func->node, 0);
arch/powerpc/platforms/powermac/pfunc_base.c
32
return request_irq(irq, macio_gpio_irq, 0, func->node->name, func);
arch/powerpc/platforms/powermac/pfunc_base.c
35
static int macio_do_gpio_irq_disable(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_base.c
37
unsigned int irq = irq_of_parse_and_map(func->node, 0);
arch/powerpc/platforms/powermac/pfunc_base.c
40
free_irq(irq, func);
arch/powerpc/platforms/powermac/pfunc_base.c
46
u8 __iomem *addr = (u8 __iomem *)func->driver_data;
arch/powerpc/platforms/powermac/pfunc_base.c
59
tmp, func->node, addr);
arch/powerpc/platforms/powermac/pfunc_base.c
68
u8 __iomem *addr = (u8 __iomem *)func->driver_data;
arch/powerpc/platforms/powermac/pfunc_core.c
1000
func = __pmf_find_function(target, name, PMF_FLAGS_ON_DEMAND);
arch/powerpc/platforms/powermac/pfunc_core.c
1001
if (func)
arch/powerpc/platforms/powermac/pfunc_core.c
1002
func = pmf_get_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
1004
return func;
arch/powerpc/platforms/powermac/pfunc_core.c
1011
struct pmf_function *func = pmf_find_function(target, name);
arch/powerpc/platforms/powermac/pfunc_core.c
1014
if (func == NULL)
arch/powerpc/platforms/powermac/pfunc_core.c
1017
rc = pmf_call_one(func, args);
arch/powerpc/platforms/powermac/pfunc_core.c
1018
pmf_put_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
131
return handlers->name(cmd->func, cmd->instdata, \
arch/powerpc/platforms/powermac/pfunc_core.c
579
static int pmf_parse_one(struct pmf_function *func,
arch/powerpc/platforms/powermac/pfunc_core.c
587
cmd.cmdptr = func->data;
arch/powerpc/platforms/powermac/pfunc_core.c
588
cmd.cmdend = func->data + func->length;
arch/powerpc/platforms/powermac/pfunc_core.c
589
cmd.func = func;
arch/powerpc/platforms/powermac/pfunc_core.c
595
func->name, func->length,
arch/powerpc/platforms/powermac/pfunc_core.c
631
func->length = cmd.cmdptr - func->data;
arch/powerpc/platforms/powermac/pfunc_core.c
641
struct pmf_function *func = NULL;
arch/powerpc/platforms/powermac/pfunc_core.c
647
func = kzalloc_obj(*func);
arch/powerpc/platforms/powermac/pfunc_core.c
648
if (func == NULL)
arch/powerpc/platforms/powermac/pfunc_core.c
650
kref_init(&func->ref);
arch/powerpc/platforms/powermac/pfunc_core.c
651
INIT_LIST_HEAD(&func->irq_clients);
arch/powerpc/platforms/powermac/pfunc_core.c
652
func->node = dev->node;
arch/powerpc/platforms/powermac/pfunc_core.c
653
func->driver_data = driverdata;
arch/powerpc/platforms/powermac/pfunc_core.c
654
func->name = name;
arch/powerpc/platforms/powermac/pfunc_core.c
655
func->phandle = data[0];
arch/powerpc/platforms/powermac/pfunc_core.c
656
func->flags = data[1];
arch/powerpc/platforms/powermac/pfunc_core.c
659
func->data = data;
arch/powerpc/platforms/powermac/pfunc_core.c
660
func->length = length;
arch/powerpc/platforms/powermac/pfunc_core.c
661
func->dev = dev;
arch/powerpc/platforms/powermac/pfunc_core.c
664
count+1, func->flags, func->phandle, length);
arch/powerpc/platforms/powermac/pfunc_core.c
665
if (pmf_parse_one(func, NULL, NULL, NULL)) {
arch/powerpc/platforms/powermac/pfunc_core.c
666
kfree(func);
arch/powerpc/platforms/powermac/pfunc_core.c
669
length -= func->length;
arch/powerpc/platforms/powermac/pfunc_core.c
670
data = (u32 *)(((u8 *)data) + func->length);
arch/powerpc/platforms/powermac/pfunc_core.c
671
list_add(&func->link, &dev->functions);
arch/powerpc/platforms/powermac/pfunc_core.c
73
struct pmf_function *func;
arch/powerpc/platforms/powermac/pfunc_core.c
749
struct pmf_function *pmf_get_function(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_core.c
751
if (!try_module_get(func->dev->handlers->owner))
arch/powerpc/platforms/powermac/pfunc_core.c
753
kref_get(&func->ref);
arch/powerpc/platforms/powermac/pfunc_core.c
754
return func;
arch/powerpc/platforms/powermac/pfunc_core.c
760
struct pmf_function *func =
arch/powerpc/platforms/powermac/pfunc_core.c
762
pmf_put_device(func->dev);
arch/powerpc/platforms/powermac/pfunc_core.c
763
kfree(func);
arch/powerpc/platforms/powermac/pfunc_core.c
766
static inline void __pmf_put_function(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_core.c
768
kref_put(&func->ref, pmf_release_function);
arch/powerpc/platforms/powermac/pfunc_core.c
771
void pmf_put_function(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_core.c
773
if (func == NULL)
arch/powerpc/platforms/powermac/pfunc_core.c
775
module_put(func->dev->handlers->owner);
arch/powerpc/platforms/powermac/pfunc_core.c
776
__pmf_put_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
797
struct pmf_function *func =
arch/powerpc/platforms/powermac/pfunc_core.c
798
list_entry(dev->functions.next, typeof(*func), link);
arch/powerpc/platforms/powermac/pfunc_core.c
799
list_del(&func->link);
arch/powerpc/platforms/powermac/pfunc_core.c
800
__pmf_put_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
813
struct pmf_function *func, *result = NULL;
arch/powerpc/platforms/powermac/pfunc_core.c
845
list_for_each_entry(func, &dev->functions, link) {
arch/powerpc/platforms/powermac/pfunc_core.c
846
if (name && strcmp(name, func->name))
arch/powerpc/platforms/powermac/pfunc_core.c
848
if (func->phandle && target->phandle != func->phandle)
arch/powerpc/platforms/powermac/pfunc_core.c
850
if ((func->flags & flags) == 0)
arch/powerpc/platforms/powermac/pfunc_core.c
852
result = func;
arch/powerpc/platforms/powermac/pfunc_core.c
866
struct pmf_function *func;
arch/powerpc/platforms/powermac/pfunc_core.c
870
func = __pmf_find_function(target, name, PMF_FLAGS_INT_GEN);
arch/powerpc/platforms/powermac/pfunc_core.c
871
if (func)
arch/powerpc/platforms/powermac/pfunc_core.c
872
func = pmf_get_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
874
if (func == NULL)
arch/powerpc/platforms/powermac/pfunc_core.c
879
if (list_empty(&func->irq_clients))
arch/powerpc/platforms/powermac/pfunc_core.c
880
func->dev->handlers->irq_enable(func);
arch/powerpc/platforms/powermac/pfunc_core.c
884
list_add(&client->link, &func->irq_clients);
arch/powerpc/platforms/powermac/pfunc_core.c
887
client->func = func;
arch/powerpc/platforms/powermac/pfunc_core.c
896
struct pmf_function *func = client->func;
arch/powerpc/platforms/powermac/pfunc_core.c
899
BUG_ON(func == NULL);
arch/powerpc/platforms/powermac/pfunc_core.c
903
client->func = NULL;
arch/powerpc/platforms/powermac/pfunc_core.c
910
if (list_empty(&func->irq_clients))
arch/powerpc/platforms/powermac/pfunc_core.c
911
func->dev->handlers->irq_disable(func);
arch/powerpc/platforms/powermac/pfunc_core.c
913
pmf_put_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
918
void pmf_do_irq(struct pmf_function *func)
arch/powerpc/platforms/powermac/pfunc_core.c
927
list_for_each_entry(client, &func->irq_clients, link) {
arch/powerpc/platforms/powermac/pfunc_core.c
938
int pmf_call_one(struct pmf_function *func, struct pmf_args *args)
arch/powerpc/platforms/powermac/pfunc_core.c
940
struct pmf_device *dev = func->dev;
arch/powerpc/platforms/powermac/pfunc_core.c
944
DBG(" ** pmf_call_one(%pOF/%s) **\n", dev->node, func->name);
arch/powerpc/platforms/powermac/pfunc_core.c
947
instdata = dev->handlers->begin(func, args);
arch/powerpc/platforms/powermac/pfunc_core.c
948
rc = pmf_parse_one(func, dev->handlers, instdata, args);
arch/powerpc/platforms/powermac/pfunc_core.c
950
dev->handlers->end(func, instdata);
arch/powerpc/platforms/powermac/pfunc_core.c
960
struct pmf_function *func, *tmp;
arch/powerpc/platforms/powermac/pfunc_core.c
971
list_for_each_entry_safe(func, tmp, &dev->functions, link) {
arch/powerpc/platforms/powermac/pfunc_core.c
972
if (name && strcmp(name, func->name))
arch/powerpc/platforms/powermac/pfunc_core.c
974
if (phandle && func->phandle && phandle != func->phandle)
arch/powerpc/platforms/powermac/pfunc_core.c
976
if ((func->flags & fflags) == 0)
arch/powerpc/platforms/powermac/pfunc_core.c
978
if (pmf_get_function(func) == NULL)
arch/powerpc/platforms/powermac/pfunc_core.c
981
rc = pmf_call_one(func, args);
arch/powerpc/platforms/powermac/pfunc_core.c
982
pmf_put_function(func);
arch/powerpc/platforms/powermac/pfunc_core.c
996
struct pmf_function *func;
arch/powerpc/platforms/powernv/eeh-powernv.c
1165
static int pnv_eeh_err_inject(struct eeh_pe *pe, int type, int func,
arch/powerpc/platforms/powernv/eeh-powernv.c
1179
if (func < OPAL_ERR_INJECT_FUNC_IOA_LD_MEM_ADDR ||
arch/powerpc/platforms/powernv/eeh-powernv.c
1180
func > OPAL_ERR_INJECT_FUNC_IOA_DMA_WR_TARGET) {
arch/powerpc/platforms/powernv/eeh-powernv.c
1182
__func__, func);
arch/powerpc/platforms/powernv/eeh-powernv.c
1195
type, func, addr, mask);
arch/powerpc/platforms/powernv/eeh-powernv.c
1199
__func__, rc, type, func,
arch/powerpc/platforms/powernv/eeh-powernv.c
71
int pe_no, type, func;
arch/powerpc/platforms/powernv/eeh-powernv.c
86
&pe_no, &type, &func, &addr, &mask);
arch/powerpc/platforms/powernv/eeh-powernv.c
96
ret = eeh_ops->err_inject(pe, type, func, addr, mask);
arch/powerpc/platforms/ps3/interrupt.c
619
const char* func, int line)
arch/powerpc/platforms/ps3/interrupt.c
622
func, line, header, cpu,
arch/powerpc/platforms/ps3/interrupt.c
628
const u64 *p, unsigned cpu, const char* func, int line)
arch/powerpc/platforms/ps3/interrupt.c
631
func, line, header, cpu, p[0], p[1], p[2], p[3]);
arch/powerpc/platforms/ps3/interrupt.c
635
static void _dump_bmp(struct ps3_private* pd, const char* func, int line)
arch/powerpc/platforms/ps3/interrupt.c
640
_dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line);
arch/powerpc/platforms/ps3/interrupt.c
641
_dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line);
arch/powerpc/platforms/ps3/interrupt.c
647
const char* func, int line)
arch/powerpc/platforms/ps3/interrupt.c
652
_dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line);
arch/powerpc/platforms/ps3/mm.c
107
const char *func, int line)
arch/powerpc/platforms/ps3/mm.c
109
DBG("%s:%d: map.total = %llxh\n", func, line, m->total);
arch/powerpc/platforms/ps3/mm.c
110
DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size);
arch/powerpc/platforms/ps3/mm.c
111
DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id);
arch/powerpc/platforms/ps3/mm.c
112
DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size);
arch/powerpc/platforms/ps3/mm.c
113
DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base);
arch/powerpc/platforms/ps3/mm.c
114
DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset);
arch/powerpc/platforms/ps3/mm.c
115
DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size);
arch/powerpc/platforms/ps3/mm.c
349
const char *func, int line)
arch/powerpc/platforms/ps3/mm.c
351
DBG("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id,
arch/powerpc/platforms/ps3/mm.c
353
DBG("%s:%d: page_size %u\n", func, line, r->page_size);
arch/powerpc/platforms/ps3/mm.c
354
DBG("%s:%d: bus_addr %lxh\n", func, line, r->bus_addr);
arch/powerpc/platforms/ps3/mm.c
355
DBG("%s:%d: len %lxh\n", func, line, r->len);
arch/powerpc/platforms/ps3/mm.c
356
DBG("%s:%d: offset %lxh\n", func, line, r->offset);
arch/powerpc/platforms/ps3/mm.c
383
static void _dma_dump_chunk (const struct dma_chunk* c, const char* func,
arch/powerpc/platforms/ps3/mm.c
386
DBG("%s:%d: r.dev %llu:%llu\n", func, line,
arch/powerpc/platforms/ps3/mm.c
388
DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr);
arch/powerpc/platforms/ps3/mm.c
389
DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size);
arch/powerpc/platforms/ps3/mm.c
390
DBG("%s:%d: r.len %lxh\n", func, line, c->region->len);
arch/powerpc/platforms/ps3/mm.c
391
DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset);
arch/powerpc/platforms/ps3/mm.c
392
DBG("%s:%d: c.lpar_addr %lxh\n", func, line, c->lpar_addr);
arch/powerpc/platforms/ps3/mm.c
393
DBG("%s:%d: c.bus_addr %lxh\n", func, line, c->bus_addr);
arch/powerpc/platforms/ps3/mm.c
394
DBG("%s:%d: c.len %lxh\n", func, line, c->len);
arch/powerpc/platforms/ps3/os-area.c
304
static void _dump_header(const struct os_area_header *h, const char *func,
arch/powerpc/platforms/ps3/os-area.c
310
pr_debug("%s:%d: h.magic_num: '%s'\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
312
pr_debug("%s:%d: h.hdr_version: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
314
pr_debug("%s:%d: h.db_area_offset: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
316
pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
318
pr_debug("%s:%d: h.ldr_format: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
320
pr_debug("%s:%d: h.ldr_size: %xh\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
325
static void _dump_params(const struct os_area_params *p, const char *func,
arch/powerpc/platforms/ps3/os-area.c
328
pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag);
arch/powerpc/platforms/ps3/os-area.c
329
pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params);
arch/powerpc/platforms/ps3/os-area.c
330
pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff);
arch/powerpc/platforms/ps3/os-area.c
331
pr_debug("%s:%d: p.av_multi_out %u\n", func, line, p->av_multi_out);
arch/powerpc/platforms/ps3/os-area.c
332
pr_debug("%s:%d: p.ctrl_button: %u\n", func, line, p->ctrl_button);
arch/powerpc/platforms/ps3/os-area.c
333
pr_debug("%s:%d: p.static_ip_addr: %u.%u.%u.%u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
336
pr_debug("%s:%d: p.network_mask: %u.%u.%u.%u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
339
pr_debug("%s:%d: p.default_gateway: %u.%u.%u.%u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
342
pr_debug("%s:%d: p.dns_primary: %u.%u.%u.%u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
345
pr_debug("%s:%d: p.dns_secondary: %u.%u.%u.%u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
524
static void _dump_db(const struct os_area_db *db, const char *func,
arch/powerpc/platforms/ps3/os-area.c
530
pr_debug("%s:%d: db.magic_num: '%s'\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
532
pr_debug("%s:%d: db.version: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
534
pr_debug("%s:%d: db.index_64: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
536
pr_debug("%s:%d: db.count_64: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
538
pr_debug("%s:%d: db.index_32: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
540
pr_debug("%s:%d: db.count_32: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
542
pr_debug("%s:%d: db.index_16: %u\n", func, line,
arch/powerpc/platforms/ps3/os-area.c
544
pr_debug("%s:%d: db.count_16: %u\n", func, line,
arch/powerpc/platforms/ps3/repository.c
24
static void _dump_field(const char *hdr, u64 n, const char *func, int line)
arch/powerpc/platforms/ps3/repository.c
35
pr_devel("%s:%d: %s%016llx : %s\n", func, line, hdr, n, s);
arch/powerpc/platforms/ps3/repository.c
42
u64 n4, const char *func, int line)
arch/powerpc/platforms/ps3/repository.c
44
pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id);
arch/powerpc/platforms/ps3/repository.c
45
_dump_field("n1: ", n1, func, line);
arch/powerpc/platforms/ps3/repository.c
46
_dump_field("n2: ", n2, func, line);
arch/powerpc/platforms/ps3/repository.c
47
_dump_field("n3: ", n3, func, line);
arch/powerpc/platforms/ps3/repository.c
48
_dump_field("n4: ", n4, func, line);
arch/powerpc/platforms/ps3/repository.c
54
u64 v1, u64 v2, const char *func, int line)
arch/powerpc/platforms/ps3/repository.c
56
pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id);
arch/powerpc/platforms/ps3/repository.c
57
_dump_field("n1: ", n1, func, line);
arch/powerpc/platforms/ps3/repository.c
58
_dump_field("n2: ", n2, func, line);
arch/powerpc/platforms/ps3/repository.c
59
_dump_field("n3: ", n3, func, line);
arch/powerpc/platforms/ps3/repository.c
60
_dump_field("n4: ", n4, func, line);
arch/powerpc/platforms/ps3/repository.c
61
pr_devel("%s:%d: v1: %016llx\n", func, line, v1);
arch/powerpc/platforms/ps3/repository.c
62
pr_devel("%s:%d: v2: %016llx\n", func, line, v2);
arch/powerpc/platforms/ps3/spu.c
125
const char* func, int line)
arch/powerpc/platforms/ps3/spu.c
127
pr_debug("%s:%d: spe_id: %xh (%u)\n", func, line, spe_id, spe_id);
arch/powerpc/platforms/ps3/spu.c
128
pr_debug("%s:%d: priv2: %lxh\n", func, line, priv2);
arch/powerpc/platforms/ps3/spu.c
129
pr_debug("%s:%d: problem: %lxh\n", func, line, problem);
arch/powerpc/platforms/ps3/spu.c
130
pr_debug("%s:%d: ls: %lxh\n", func, line, ls);
arch/powerpc/platforms/ps3/spu.c
131
pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow);
arch/powerpc/platforms/ps3/system-bus.c
232
const char* func, int line)
arch/powerpc/platforms/ps3/system-bus.c
234
pr_debug("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id,
arch/powerpc/platforms/ps3/system-bus.c
236
pr_debug("%s:%d: bus_addr %lxh\n", func, line, r->bus_addr);
arch/powerpc/platforms/ps3/system-bus.c
237
pr_debug("%s:%d: len %lxh\n", func, line, r->len);
arch/powerpc/platforms/ps3/system-bus.c
238
pr_debug("%s:%d: lpar_addr %lxh\n", func, line, r->lpar_addr);
arch/powerpc/platforms/pseries/eeh_pseries.c
799
static int pseries_eeh_err_inject(struct eeh_pe *pe, int type, int func,
arch/powerpc/platforms/pseries/eeh_pseries.c
808
switch (func) {
arch/powerpc/platforms/pseries/msi.c
39
static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs)
arch/powerpc/platforms/pseries/msi.c
50
if (func == RTAS_CHANGE_MSI_FN || func == RTAS_CHANGE_MSIX_FN ||
arch/powerpc/platforms/pseries/msi.c
51
func == RTAS_CHANGE_32MSI_FN || func == RTAS_CHANGE_32MSIX_FN)
arch/powerpc/platforms/pseries/msi.c
54
func, num_irqs, seq_num);
arch/powerpc/platforms/pseries/msi.c
58
func, num_irqs, seq_num);
arch/powerpc/platforms/pseries/msi.c
73
func, num_irqs, rtas_ret[0], rc);
arch/powerpc/platforms/pseries/plpks-sysfs.c
17
#define PLPKS_CONFIG_ATTR(name, fmt, func) \
arch/powerpc/platforms/pseries/plpks-sysfs.c
22
return sysfs_emit(buf, fmt, func()); \
arch/powerpc/xmon/xmon.c
3420
callfunc_t func;
arch/powerpc/xmon/xmon.c
3433
func = (callfunc_t) adrs;
arch/powerpc/xmon/xmon.c
3438
ret = func(args[0], args[1], args[2], args[3],
arch/riscv/boot/dts/starfive/jh7110-pinfunc.h
27
#define PINMUX(n, func) ((1 << 10) | (((func) & 0x3) << 8) | ((n) & 0xff))
arch/riscv/include/asm/irq_stack.h
16
void (*func)(struct pt_regs *));
arch/riscv/include/asm/kvm_aia.h
148
{ .base = CSR_SIREG, .count = 1, .func = kvm_riscv_vcpu_aia_rmw_ireg }, \
arch/riscv/include/asm/kvm_aia.h
149
{ .base = CSR_STOPEI, .count = 1, .func = kvm_riscv_vcpu_aia_rmw_topei },
arch/riscv/include/asm/kvm_vcpu_pmu.h
124
{.base = CSR_CYCLE, .count = 3, .func = kvm_riscv_vcpu_pmu_read_legacy },
arch/riscv/include/asm/kvm_vcpu_pmu.h
68
{.base = CSR_CYCLEH, .count = 32, .func = kvm_riscv_vcpu_pmu_read_hpm }, \
arch/riscv/include/asm/kvm_vcpu_pmu.h
69
{.base = CSR_CYCLE, .count = 32, .func = kvm_riscv_vcpu_pmu_read_hpm },
arch/riscv/include/asm/kvm_vcpu_pmu.h
72
{.base = CSR_CYCLE, .count = 32, .func = kvm_riscv_vcpu_pmu_read_hpm },
arch/riscv/kernel/asm-offsets.c
507
DEFINE(FTRACE_OPS_FUNC, offsetof(struct ftrace_ops, func));
arch/riscv/kernel/ftrace.c
178
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/riscv/kernel/ftrace.c
187
WRITE_ONCE(ftrace_call_dest, func);
arch/riscv/kernel/tests/kprobes/test-kprobes.c
16
long (*func)(void);
arch/riscv/kernel/tests/kprobes/test-kprobes.c
35
func = test_kprobes_functions[i];
arch/riscv/kernel/tests/kprobes/test-kprobes.c
36
if (!func)
arch/riscv/kernel/tests/kprobes/test-kprobes.c
38
KUNIT_EXPECT_EQ_MSG(test, KPROBE_TEST_MAGIC, func(), "function %d broken", i);
arch/riscv/kvm/vcpu_insn.c
115
{ .base = CSR_SEED, .count = 1, .func = seed_csr_rmw },
arch/riscv/kvm/vcpu_insn.c
207
if (cfn && cfn->func) {
arch/riscv/kvm/vcpu_insn.c
208
rc = cfn->func(vcpu, csr_num, &val, new_val, wr_mask);
arch/riscv/kvm/vcpu_insn.c
233
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
238
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
243
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
248
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
253
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
258
.func = csr_insn,
arch/riscv/kvm/vcpu_insn.c
263
.func = wfi_insn,
arch/riscv/kvm/vcpu_insn.c
268
.func = wrs_insn,
arch/riscv/kvm/vcpu_insn.c
27
int (*func)(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn);
arch/riscv/kvm/vcpu_insn.c
281
rc = ifn->func(vcpu, run, insn);
arch/riscv/kvm/vcpu_insn.c
97
int (*func)(struct kvm_vcpu *vcpu, unsigned int csr_num,
arch/s390/crypto/hmac_s390.c
103
unsigned long func;
arch/s390/crypto/hmac_s390.c
128
func = final ? CPACF_KLMD_SHA_256 : CPACF_KIMD_SHA_256;
arch/s390/crypto/hmac_s390.c
134
func = final ? CPACF_KLMD_SHA_256 : CPACF_KIMD_SHA_256;
arch/s390/crypto/hmac_s390.c
138
func = final ? CPACF_KLMD_SHA_512 : CPACF_KIMD_SHA_512;
arch/s390/crypto/hmac_s390.c
144
func = final ? CPACF_KLMD_SHA_512 : CPACF_KIMD_SHA_512;
arch/s390/crypto/hmac_s390.c
153
cpacf_klmd(func, &param, in, inlen);
arch/s390/crypto/phmac_s390.c
205
unsigned long func;
arch/s390/crypto/phmac_s390.c
230
func = CPACF_KLMD_SHA_256;
arch/s390/crypto/phmac_s390.c
234
func = CPACF_KLMD_SHA_256;
arch/s390/crypto/phmac_s390.c
238
func = CPACF_KLMD_SHA_512;
arch/s390/crypto/phmac_s390.c
242
func = CPACF_KLMD_SHA_512;
arch/s390/crypto/phmac_s390.c
251
cpacf_klmd(func, &param, in, inlen);
arch/s390/include/asm/cpacf.h
355
static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func)
arch/s390/include/asm/cpacf.h
357
return (mask->bytes[func >> 3] & (0x80 >> (func & 7))) != 0;
arch/s390/include/asm/cpacf.h
361
unsigned int func)
arch/s390/include/asm/cpacf.h
366
return cpacf_test_func(&mask, func);
arch/s390/include/asm/cpacf.h
407
static inline int cpacf_km(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
421
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
439
static inline int cpacf_kmc(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
453
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
468
static inline void cpacf_kimd(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
481
: [fc] "d" (func), [pba] "d" ((unsigned long)(param)),
arch/s390/include/asm/cpacf.h
493
static inline void cpacf_klmd(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
506
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
552
static inline int cpacf_kmac(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
555
return _cpacf_kmac(&func, param, src, src_len);
arch/s390/include/asm/cpacf.h
570
static inline int cpacf_kmctr(unsigned long func, void *param, u8 *dest,
arch/s390/include/asm/cpacf.h
586
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
603
static inline void cpacf_prno(unsigned long func, void *param,
arch/s390/include/asm/cpacf.h
619
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
664
static inline int cpacf_pcc(unsigned long func, void *param)
arch/s390/include/asm/cpacf.h
675
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
690
static inline void cpacf_pckmo(long func, void *param)
arch/s390/include/asm/cpacf.h
697
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/cpacf.h
713
static inline void cpacf_kma(unsigned long func, void *param, u8 *dest,
arch/s390/include/asm/cpacf.h
731
: [fc] "d" (func), [pba] "d" ((unsigned long)param),
arch/s390/include/asm/diag288.h
23
static inline int __diag288(unsigned int func, unsigned int timeout,
arch/s390/include/asm/diag288.h
26
union register_pair r1 = { .even = func, .odd = timeout, };
arch/s390/include/asm/smp.h
46
extern void __noreturn smp_call_ipl_cpu(void (*func)(void *), void *data);
arch/s390/include/asm/timex.h
146
#define ptff(ptff_block, len, func) \
arch/s390/include/asm/timex.h
149
unsigned int reg0 = func; \
arch/s390/kernel/early.c
42
#define __decompressor_handled_param(func, param) \
arch/s390/kernel/early.c
43
static int __init ignore_decompressor_param_##func(char *s) \
arch/s390/kernel/early.c
47
early_param(#param, ignore_decompressor_param_##func)
arch/s390/kernel/ftrace.c
244
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/s390/kernel/ftrace.c
246
ftrace_func = func;
arch/s390/kernel/process.c
53
void (*func)(void *arg);
arch/s390/kernel/process.c
59
func = (void *)regs->gprs[9];
arch/s390/kernel/process.c
60
func((void *)regs->gprs[10]);
arch/s390/kernel/smp.c
288
static void pcpu_start_fn(int cpu, void (*func)(void *), void *data)
arch/s390/kernel/smp.c
294
lc->restart_fn = (unsigned long) func;
arch/s390/kernel/smp.c
305
static void __pcpu_delegate(pcpu_delegate_fn *func, void *data)
arch/s390/kernel/smp.c
307
func(data); /* should not return */
arch/s390/kernel/smp.c
311
pcpu_delegate_fn *func,
arch/s390/kernel/smp.c
322
pcpu_delegate_fn *, func, void *, data);
arch/s390/kernel/smp.c
330
lc->restart_fn = (unsigned long)func;
arch/s390/kernel/smp.c
336
abs_lc->restart_fn = (unsigned long)func;
arch/s390/kernel/smp.c
375
void __noreturn smp_call_ipl_cpu(void (*func)(void *), void *data)
arch/s390/kernel/smp.c
382
pcpu_delegate(ipl_pcpu, 0, func, data, lc->nodat_stack);
arch/s390/lib/test_unwind.c
291
fops->func = test_unwind_ftrace_handler;
arch/s390/mm/extmem.c
134
dcss_diag(int *func, void *parameter,
arch/s390/mm/extmem.c
141
ry = (unsigned long) *func;
arch/s390/net/bpf_jit_comp.c
1769
u64 func;
arch/s390/net/bpf_jit_comp.c
1772
&func, &func_addr_fixed);
arch/s390/net/bpf_jit_comp.c
1808
if ((void *)func == arch_bpf_timed_may_goto) {
arch/s390/net/bpf_jit_comp.c
1817
EMIT6_PCREL_RILB_PTR(0xc0050000, REG_0, (void *)func);
arch/s390/net/bpf_jit_comp.c
1820
EMIT6_PCREL_RILB_PTR(0xc0050000, REG_14, (void *)func);
arch/sh/drivers/pci/ops-sh7786.c
23
int dev, func, type, reg;
arch/sh/drivers/pci/ops-sh7786.c
26
func = PCI_FUNC(devfn);
arch/sh/drivers/pci/ops-sh7786.c
30
if (bus->number > 255 || dev > 31 || func > 7)
arch/sh/drivers/pci/ops-sh7786.c
65
(func << 16) | reg, SH4A_PCIEPAR);
arch/sh/kernel/ftrace.c
222
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/sh/kernel/ftrace.c
228
new = ftrace_call_replace(ip, (unsigned long)func);
arch/sh/kernel/sh_bios.c
25
static inline long sh_bios_call(long func, long arg0, long arg1, long arg2,
arch/sh/kernel/sh_bios.c
28
register long r0 __asm__("r0") = func;
arch/sh/mm/cache.c
39
static inline void cacheop_on_each_cpu(void (*func) (void *info), void *info,
arch/sh/mm/cache.c
52
smp_call_function(func, info, wait);
arch/sh/mm/cache.c
55
func(info);
arch/sparc/include/asm/irq_64.h
44
void (*func)(unsigned int, void *, void *),
arch/sparc/include/asm/memctrl.h
7
int register_dimm_printer(dimm_printer_t func);
arch/sparc/include/asm/memctrl.h
8
void unregister_dimm_printer(dimm_printer_t func);
arch/sparc/include/asm/smp_32.h
57
void (*cross_call)(void *func, cpumask_t mask, unsigned long arg1,
arch/sparc/include/asm/smp_32.h
66
static inline void xc0(void *func)
arch/sparc/include/asm/smp_32.h
68
sparc32_ipi_ops->cross_call(func, *cpu_online_mask, 0, 0, 0, 0);
arch/sparc/include/asm/smp_32.h
71
static inline void xc1(void *func, unsigned long arg1)
arch/sparc/include/asm/smp_32.h
73
sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0);
arch/sparc/include/asm/smp_32.h
75
static inline void xc2(void *func, unsigned long arg1, unsigned long arg2)
arch/sparc/include/asm/smp_32.h
77
sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0);
arch/sparc/include/asm/smp_32.h
80
static inline void xc3(void *func, unsigned long arg1, unsigned long arg2,
arch/sparc/include/asm/smp_32.h
83
sparc32_ipi_ops->cross_call(func, *cpu_online_mask,
arch/sparc/include/asm/smp_32.h
87
static inline void xc4(void *func, unsigned long arg1, unsigned long arg2,
arch/sparc/include/asm/smp_32.h
90
sparc32_ipi_ops->cross_call(func, *cpu_online_mask,
arch/sparc/kernel/ftrace.c
76
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/sparc/kernel/ftrace.c
82
new = ftrace_call_replace(ip, (unsigned long)func);
arch/sparc/kernel/irq_64.c
293
void (*func)(unsigned int, void *, void *),
arch/sparc/kernel/leon_smp.c
362
void *func;
arch/sparc/kernel/leon_smp.c
375
static void leon_cross_call(void *func, cpumask_t mask, unsigned long arg1,
arch/sparc/kernel/leon_smp.c
387
register void *f asm("i0") = func;
arch/sparc/kernel/leon_smp.c
399
"r"(&ccall_info.func));
arch/sparc/kernel/leon_smp.c
447
void (*func)(unsigned long, unsigned long, unsigned long, unsigned long,
arch/sparc/kernel/leon_smp.c
448
unsigned long) = ccall_info.func;
arch/sparc/kernel/leon_smp.c
452
func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4,
arch/sparc/kernel/mdesc.c
1107
static void *mdesc_iterate_over_cpus(void *(*func)(struct mdesc_handle *, u64, int, void *), void *arg, cpumask_t *mask)
arch/sparc/kernel/mdesc.c
1128
ret = func(hp, mp, cpuid, arg);
arch/sparc/kernel/mdesc.c
424
void (*func)(struct mdesc_handle *, u64,
arch/sparc/kernel/mdesc.c
478
func(a, a_node, name);
arch/sparc/kernel/mdesc.c
863
void (*func)(struct mdesc_handle *, u64, int),
arch/sparc/kernel/mdesc.c
877
(*func)(hp, n, val);
arch/sparc/kernel/mdesc.c
879
find_back_node_value(hp, n, srch_val, func, val, depth-1);
arch/sparc/kernel/pci_common.c
265
unsigned int func = PCI_FUNC(devfn);
arch/sparc/kernel/pci_common.c
272
HV_PCI_DEVICE_BUILD(bus, device, func),
arch/sparc/kernel/pci_common.c
298
unsigned int func = PCI_FUNC(devfn);
arch/sparc/kernel/pci_common.c
308
HV_PCI_DEVICE_BUILD(bus, device, func),
arch/sparc/kernel/prom_64.c
436
static void *of_iterate_over_cpus(void *(*func)(struct device_node *, int, int), int arg)
arch/sparc/kernel/prom_64.c
464
ret = func(dp, cpuid, arg);
arch/sparc/kernel/smp_64.c
832
static void smp_cross_call_masked(unsigned long *func, u32 ctx, u64 data1, u64 data2, const cpumask_t *mask)
arch/sparc/kernel/smp_64.c
834
u64 data0 = (((u64)ctx)<<32 | (((u64)func) & 0xffffffff));
arch/sparc/kernel/smp_64.c
840
static void smp_cross_call(unsigned long *func, u32 ctx, u64 data1, u64 data2)
arch/sparc/kernel/smp_64.c
842
smp_cross_call_masked(func, ctx, data1, data2, cpu_online_mask);
arch/sparc/kernel/sun4d_smp.c
271
void *func;
arch/sparc/kernel/sun4d_smp.c
284
static void sun4d_cross_call(void *func, cpumask_t mask, unsigned long arg1,
arch/sparc/kernel/sun4d_smp.c
299
register void *f asm("i0") = func;
arch/sparc/kernel/sun4d_smp.c
311
"r" (&ccall_info.func));
arch/sparc/kernel/sun4d_smp.c
356
void (*func)(unsigned long, unsigned long, unsigned long, unsigned long,
arch/sparc/kernel/sun4d_smp.c
357
unsigned long) = ccall_info.func;
arch/sparc/kernel/sun4d_smp.c
361
func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4,
arch/sparc/kernel/sun4m_smp.c
160
void *func;
arch/sparc/kernel/sun4m_smp.c
173
static void sun4m_cross_call(void *func, cpumask_t mask, unsigned long arg1,
arch/sparc/kernel/sun4m_smp.c
183
ccall_info.func = func;
arch/sparc/kernel/sun4m_smp.c
233
void (*func)(unsigned long, unsigned long, unsigned long, unsigned long,
arch/sparc/kernel/sun4m_smp.c
234
unsigned long) = ccall_info.func;
arch/sparc/kernel/sun4m_smp.c
238
func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4,
arch/sparc/kernel/traps_64.c
161
int register_dimm_printer(dimm_printer_t func)
arch/sparc/kernel/traps_64.c
168
dimm_handler = func;
arch/sparc/kernel/traps_64.c
177
void unregister_dimm_printer(dimm_printer_t func)
arch/sparc/kernel/traps_64.c
182
if (dimm_handler == func)
arch/sparc/net/bpf_jit_comp_32.c
329
u32 temp[8], *prog, *func, seen = 0, pass;
arch/sparc/net/bpf_jit_comp_32.c
593
#define CHOOSE_LOAD_FUNC(K, func) \
arch/sparc/net/bpf_jit_comp_32.c
594
((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset)
arch/sparc/net/bpf_jit_comp_32.c
597
func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_word);
arch/sparc/net/bpf_jit_comp_32.c
600
emit_call(func);
arch/sparc/net/bpf_jit_comp_32.c
603
func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_half);
arch/sparc/net/bpf_jit_comp_32.c
606
func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_byte);
arch/sparc/net/bpf_jit_comp_32.c
609
func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_byte_msh);
arch/sparc/net/bpf_jit_comp_32.c
612
func = bpf_jit_load_word;
arch/sparc/net/bpf_jit_comp_32.c
624
emit_call(func);
arch/sparc/net/bpf_jit_comp_32.c
627
func = bpf_jit_load_half;
arch/sparc/net/bpf_jit_comp_32.c
630
func = bpf_jit_load_byte;
arch/sparc/net/bpf_jit_comp_64.c
1216
u8 *func = ((u8 *)__bpf_call_base) + imm;
arch/sparc/net/bpf_jit_comp_64.c
1220
emit_call((u32 *)func, ctx);
arch/sparc/net/bpf_jit_comp_64.c
244
static void emit_call(u32 *func, struct jit_ctx *ctx)
arch/sparc/net/bpf_jit_comp_64.c
250
off = (void *)func - here;
arch/x86/crypto/ecb_cbc_helpers.h
38
#define ECB_BLOCK(blocks, func) do { \
arch/x86/crypto/ecb_cbc_helpers.h
45
(func)(ctx, dst, src); \
arch/x86/crypto/ecb_cbc_helpers.h
50
#define CBC_ENC_BLOCK(func) do { \
arch/x86/crypto/ecb_cbc_helpers.h
54
(func)(ctx, dst, dst); \
arch/x86/crypto/ecb_cbc_helpers.h
61
#define CBC_DEC_BLOCK(blocks, func) do { \
arch/x86/crypto/ecb_cbc_helpers.h
71
(func)(ctx, dst, src); \
arch/x86/crypto/sm4-avx.h
15
unsigned int bsize, sm4_crypt_func func);
arch/x86/crypto/sm4-avx.h
18
unsigned int bsize, sm4_crypt_func func);
arch/x86/crypto/sm4_aesni_avx_glue.c
125
unsigned int bsize, sm4_crypt_func func)
arch/x86/crypto/sm4_aesni_avx_glue.c
142
func(ctx->rkey_dec, dst, src, walk.iv);
arch/x86/crypto/sm4_aesni_avx_glue.c
190
unsigned int bsize, sm4_crypt_func func)
arch/x86/crypto/sm4_aesni_avx_glue.c
207
func(ctx->rkey_enc, dst, src, walk.iv);
arch/x86/entry/calling.h
433
.macro THUNK name, func
arch/x86/entry/calling.h
469
.macro THUNK name, func, put_ret_addr_in_eax=0
arch/x86/events/core.c
2173
quirk->func();
arch/x86/events/intel/uncore.h
25
#define UNCORE_PCI_DEV_FULL_DATA(dev, func, type, idx) \
arch/x86/events/intel/uncore.h
26
((dev << 24) | (func << 16) | (type << 8) | idx)
arch/x86/events/perf_event.h
1092
.func = func_, \
arch/x86/events/perf_event.h
671
void (*func)(void);
arch/x86/include/asm/alternative.h
117
extern int x86_call_depth_emit_accounting(u8 **pprog, void *func, void *ip);
arch/x86/include/asm/alternative.h
128
void *func, void *ip)
arch/x86/include/asm/alternative.h
305
#define DEFINE_ASM_FUNC(func, instr, sec) \
arch/x86/include/asm/alternative.h
307
".global " #func "\n\t" \
arch/x86/include/asm/alternative.h
308
".type " #func ", @function\n\t" \
arch/x86/include/asm/alternative.h
310
#func ":\n\t" \
arch/x86/include/asm/alternative.h
314
".size " #func ", . - " #func "\n\t" \
arch/x86/include/asm/amd/node.h
25
struct pci_dev *amd_node_get_func(u16 node, u8 func);
arch/x86/include/asm/apm.h
27
static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in,
arch/x86/include/asm/apm.h
45
: "a" (func), "b" (ebx_in), "c" (ecx_in)
arch/x86/include/asm/apm.h
49
static inline bool apm_bios_call_simple_asm(u32 func, u32 ebx_in,
arch/x86/include/asm/apm.h
69
: "a" (func), "b" (ebx_in), "c" (ecx_in)
arch/x86/include/asm/atomic64_32.h
55
: [func] "i" (atomic64_##g##_cx8) \
arch/x86/include/asm/cfi.h
137
extern u32 cfi_get_func_hash(void *func);
arch/x86/include/asm/cfi.h
140
extern int cfi_get_func_arity(void *func);
arch/x86/include/asm/cfi.h
158
static inline int cfi_get_func_arity(void *func)
arch/x86/include/asm/desc.h
80
static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func,
arch/x86/include/asm/desc.h
83
gate->offset_low = (u16) func;
arch/x86/include/asm/desc.h
88
gate->offset_middle = (u16) (func >> 16);
arch/x86/include/asm/desc.h
93
gate->offset_high = (u32) (func >> 32);
arch/x86/include/asm/efi.h
278
#define __efi64_argmap_get_location(protocol, seg, bus, dev, func) \
arch/x86/include/asm/efi.h
280
efi64_zero_upper(dev), efi64_zero_upper(func))
arch/x86/include/asm/efi.h
332
#define __efi64_thunk_map(inst, func, ...) \
arch/x86/include/asm/efi.h
333
efi64_thunk(inst->mixed_mode.func, \
arch/x86/include/asm/efi.h
334
__efi64_argmap(__efi64_argmap_ ## func(__VA_ARGS__), \
arch/x86/include/asm/efi.h
353
#define efi_fn_call(inst, func, ...) \
arch/x86/include/asm/efi.h
354
(efi_is_native() ? (inst)->func(__VA_ARGS__) \
arch/x86/include/asm/efi.h
355
: efi_mixed_call((inst), func, ##__VA_ARGS__))
arch/x86/include/asm/efi.h
357
#define efi_mixed_call(inst, func, ...) \
arch/x86/include/asm/efi.h
358
_Generic(inst->func(__VA_ARGS__), \
arch/x86/include/asm/efi.h
361
__efi64_thunk_map(inst, func, ##__VA_ARGS__)), \
arch/x86/include/asm/efi.h
364
(__typeof__(inst->func(__VA_ARGS__))) \
arch/x86/include/asm/efi.h
365
__efi64_thunk_map(inst, func, ##__VA_ARGS__))
arch/x86/include/asm/idtentry.h
102
__visible noinstr void func(struct pt_regs *regs, \
arch/x86/include/asm/idtentry.h
108
__##func (regs, error_code); \
arch/x86/include/asm/idtentry.h
113
static __always_inline void __##func(struct pt_regs *regs, \
arch/x86/include/asm/idtentry.h
124
#define DECLARE_IDTENTRY_RAW(vector, func) \
arch/x86/include/asm/idtentry.h
125
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
141
#define DEFINE_IDTENTRY_RAW(func) \
arch/x86/include/asm/idtentry.h
142
__visible noinstr void func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
152
#define DEFINE_FREDENTRY_RAW(func) \
arch/x86/include/asm/idtentry.h
153
noinstr void fred_##func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
163
#define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
arch/x86/include/asm/idtentry.h
164
DECLARE_IDTENTRY_ERRORCODE(vector, func)
arch/x86/include/asm/idtentry.h
180
#define DEFINE_IDTENTRY_RAW_ERRORCODE(func) \
arch/x86/include/asm/idtentry.h
181
__visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
arch/x86/include/asm/idtentry.h
191
#define DECLARE_IDTENTRY_IRQ(vector, func) \
arch/x86/include/asm/idtentry.h
192
DECLARE_IDTENTRY_ERRORCODE(vector, func)
arch/x86/include/asm/idtentry.h
206
#define DEFINE_IDTENTRY_IRQ(func) \
arch/x86/include/asm/idtentry.h
207
static void __##func(struct pt_regs *regs, u32 vector); \
arch/x86/include/asm/idtentry.h
209
__visible noinstr void func(struct pt_regs *regs, \
arch/x86/include/asm/idtentry.h
217
run_irq_on_irqstack_cond(__##func, regs, vector); \
arch/x86/include/asm/idtentry.h
222
static noinline void __##func(struct pt_regs *regs, u32 vector)
arch/x86/include/asm/idtentry.h
236
#define DECLARE_IDTENTRY_SYSVEC(vector, func) \
arch/x86/include/asm/idtentry.h
237
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
248
#define DEFINE_IDTENTRY_SYSVEC(func) \
arch/x86/include/asm/idtentry.h
249
static void __##func(struct pt_regs *regs); \
arch/x86/include/asm/idtentry.h
251
static __always_inline void instr_##func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
253
run_sysvec_on_irqstack_cond(__##func, regs); \
arch/x86/include/asm/idtentry.h
256
__visible noinstr void func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
262
instr_##func (regs); \
arch/x86/include/asm/idtentry.h
267
void fred_##func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
269
instr_##func (regs); \
arch/x86/include/asm/idtentry.h
272
static noinline void __##func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
285
#define DEFINE_IDTENTRY_SYSVEC_SIMPLE(func) \
arch/x86/include/asm/idtentry.h
286
static __always_inline void __##func(struct pt_regs *regs); \
arch/x86/include/asm/idtentry.h
288
static __always_inline void instr_##func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
291
__##func (regs); \
arch/x86/include/asm/idtentry.h
295
__visible noinstr void func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
301
instr_##func (regs); \
arch/x86/include/asm/idtentry.h
306
void fred_##func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
308
instr_##func (regs); \
arch/x86/include/asm/idtentry.h
311
static __always_inline void __##func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
326
#define DECLARE_IDTENTRY_XENCB(vector, func) \
arch/x86/include/asm/idtentry.h
327
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
338
#define DECLARE_IDTENTRY_IST(vector, func) \
arch/x86/include/asm/idtentry.h
339
DECLARE_IDTENTRY_RAW(vector, func); \
arch/x86/include/asm/idtentry.h
34
#define DECLARE_IDTENTRY(vector, func) \
arch/x86/include/asm/idtentry.h
340
__visible void noist_##func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
35
asmlinkage void asm_##func(void); \
arch/x86/include/asm/idtentry.h
350
#define DECLARE_IDTENTRY_VC(vector, func) \
arch/x86/include/asm/idtentry.h
351
DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func); \
arch/x86/include/asm/idtentry.h
352
__visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
arch/x86/include/asm/idtentry.h
353
__visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
arch/x86/include/asm/idtentry.h
36
asmlinkage void xen_asm_##func(void); \
arch/x86/include/asm/idtentry.h
361
#define DEFINE_IDTENTRY_IST(func) \
arch/x86/include/asm/idtentry.h
362
DEFINE_IDTENTRY_RAW(func)
arch/x86/include/asm/idtentry.h
37
void fred_##func(struct pt_regs *regs); \
arch/x86/include/asm/idtentry.h
372
#define DEFINE_IDTENTRY_NOIST(func) \
arch/x86/include/asm/idtentry.h
373
DEFINE_IDTENTRY_RAW(noist_##func)
arch/x86/include/asm/idtentry.h
38
__visible void func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
382
#define DECLARE_IDTENTRY_DF(vector, func) \
arch/x86/include/asm/idtentry.h
383
DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func)
arch/x86/include/asm/idtentry.h
391
#define DEFINE_IDTENTRY_DF(func) \
arch/x86/include/asm/idtentry.h
392
DEFINE_IDTENTRY_RAW_ERRORCODE(func)
arch/x86/include/asm/idtentry.h
401
#define DEFINE_IDTENTRY_VC_KERNEL(func) \
arch/x86/include/asm/idtentry.h
402
DEFINE_IDTENTRY_RAW_ERRORCODE(kernel_##func)
arch/x86/include/asm/idtentry.h
411
#define DEFINE_IDTENTRY_VC_USER(func) \
arch/x86/include/asm/idtentry.h
412
DEFINE_IDTENTRY_RAW_ERRORCODE(user_##func)
arch/x86/include/asm/idtentry.h
425
#define DECLARE_IDTENTRY_DF(vector, func) \
arch/x86/include/asm/idtentry.h
426
asmlinkage void asm_##func(void); \
arch/x86/include/asm/idtentry.h
427
__visible void func(struct pt_regs *regs, \
arch/x86/include/asm/idtentry.h
438
#define DEFINE_IDTENTRY_DF(func) \
arch/x86/include/asm/idtentry.h
439
__visible noinstr void func(struct pt_regs *regs, \
arch/x86/include/asm/idtentry.h
477
#define DECLARE_IDTENTRY(vector, func) \
arch/x86/include/asm/idtentry.h
478
idtentry vector asm_##func func has_error_code=0
arch/x86/include/asm/idtentry.h
480
#define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
arch/x86/include/asm/idtentry.h
481
idtentry vector asm_##func func has_error_code=1
arch/x86/include/asm/idtentry.h
484
#define DECLARE_IDTENTRY_SW(vector, func)
arch/x86/include/asm/idtentry.h
486
#define DECLARE_IDTENTRY_RAW(vector, func) \
arch/x86/include/asm/idtentry.h
487
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
489
#define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
arch/x86/include/asm/idtentry.h
490
DECLARE_IDTENTRY_ERRORCODE(vector, func)
arch/x86/include/asm/idtentry.h
493
#define DECLARE_IDTENTRY_IRQ(vector, func) \
arch/x86/include/asm/idtentry.h
494
idtentry_irq vector func
arch/x86/include/asm/idtentry.h
497
#define DECLARE_IDTENTRY_SYSVEC(vector, func) \
arch/x86/include/asm/idtentry.h
498
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
501
# define DECLARE_IDTENTRY_MCE(vector, func) \
arch/x86/include/asm/idtentry.h
502
idtentry_mce_db vector asm_##func func
arch/x86/include/asm/idtentry.h
504
# define DECLARE_IDTENTRY_DEBUG(vector, func) \
arch/x86/include/asm/idtentry.h
505
idtentry_mce_db vector asm_##func func
arch/x86/include/asm/idtentry.h
507
# define DECLARE_IDTENTRY_DF(vector, func) \
arch/x86/include/asm/idtentry.h
508
idtentry_df vector asm_##func func
arch/x86/include/asm/idtentry.h
510
# define DECLARE_IDTENTRY_XENCB(vector, func) \
arch/x86/include/asm/idtentry.h
511
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
513
# define DECLARE_IDTENTRY_VC(vector, func) \
arch/x86/include/asm/idtentry.h
514
idtentry_vc vector asm_##func func
arch/x86/include/asm/idtentry.h
517
# define DECLARE_IDTENTRY_MCE(vector, func) \
arch/x86/include/asm/idtentry.h
518
DECLARE_IDTENTRY(vector, func)
arch/x86/include/asm/idtentry.h
521
# define DECLARE_IDTENTRY_DF(vector, func)
arch/x86/include/asm/idtentry.h
524
# define DECLARE_IDTENTRY_XENCB(vector, func)
arch/x86/include/asm/idtentry.h
529
#define DECLARE_IDTENTRY_NMI(vector, func)
arch/x86/include/asm/idtentry.h
53
#define DEFINE_IDTENTRY(func) \
arch/x86/include/asm/idtentry.h
54
static __always_inline void __##func(struct pt_regs *regs); \
arch/x86/include/asm/idtentry.h
56
__visible noinstr void func(struct pt_regs *regs) \
arch/x86/include/asm/idtentry.h
61
__##func (regs); \
arch/x86/include/asm/idtentry.h
66
static __always_inline void __##func(struct pt_regs *regs)
arch/x86/include/asm/idtentry.h
86
#define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
arch/x86/include/asm/idtentry.h
87
asmlinkage void asm_##func(void); \
arch/x86/include/asm/idtentry.h
88
asmlinkage void xen_asm_##func(void); \
arch/x86/include/asm/idtentry.h
89
__visible void func(struct pt_regs *regs, unsigned long error_code)
arch/x86/include/asm/idtentry.h
98
#define DEFINE_IDTENTRY_ERRORCODE(func) \
arch/x86/include/asm/idtentry.h
99
static __always_inline void __##func(struct pt_regs *regs, \
arch/x86/include/asm/irq_stack.h
118
#define call_on_irqstack(func, asm_call, argconstr...) \
arch/x86/include/asm/irq_stack.h
120
func, asm_call, argconstr)
arch/x86/include/asm/irq_stack.h
123
#define assert_function_type(func, proto) \
arch/x86/include/asm/irq_stack.h
124
static_assert(__builtin_types_compatible_p(typeof(&func), proto))
arch/x86/include/asm/irq_stack.h
132
#define call_on_irqstack_cond(func, regs, asm_call, constr, c_args...) \
arch/x86/include/asm/irq_stack.h
140
func(c_args); \
arch/x86/include/asm/irq_stack.h
150
call_on_irqstack(func, asm_call, constr); \
arch/x86/include/asm/irq_stack.h
176
#define run_sysvec_on_irqstack_cond(func, regs) \
arch/x86/include/asm/irq_stack.h
178
assert_function_type(func, void (*)(struct pt_regs *)); \
arch/x86/include/asm/irq_stack.h
181
call_on_irqstack_cond(func, regs, ASM_CALL_SYSVEC, \
arch/x86/include/asm/irq_stack.h
196
#define run_irq_on_irqstack_cond(func, regs, vector) \
arch/x86/include/asm/irq_stack.h
198
assert_function_type(func, void (*)(struct pt_regs *, u32)); \
arch/x86/include/asm/irq_stack.h
202
call_on_irqstack_cond(func, regs, ASM_CALL_IRQ, \
arch/x86/include/asm/irq_stack.h
224
#define run_sysvec_on_irqstack_cond(func, regs) \
arch/x86/include/asm/irq_stack.h
227
func(regs); \
arch/x86/include/asm/irq_stack.h
232
#define run_irq_on_irqstack_cond(func, regs, vector) \
arch/x86/include/asm/irq_stack.h
235
func(regs, vector); \
arch/x86/include/asm/irq_stack.h
81
#define call_on_stack(stack, func, asm_call, argconstr...) \
arch/x86/include/asm/irq_stack.h
96
: [__func] "i" (func), [tos] "r" (tos) argconstr \
arch/x86/include/asm/kvm_host.h
2012
#define kvm_x86_call(func) static_call(kvm_x86_##func)
arch/x86/include/asm/kvm_host.h
2013
#define kvm_pmu_call(func) static_call(kvm_x86_pmu_##func)
arch/x86/include/asm/kvm_host.h
2015
#define KVM_X86_OP(func) \
arch/x86/include/asm/kvm_host.h
2016
DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func));
arch/x86/include/asm/paravirt-base.h
11
void *func;
arch/x86/include/asm/paravirt_types.h
384
____PVOP_CALL(PVOP_RETVAL(rettype), array, op.func, \
arch/x86/include/asm/paravirt_types.h
388
____PVOP_ALT_CALL(PVOP_RETVAL(rettype), array, op.func, alt, cond, \
arch/x86/include/asm/paravirt_types.h
402
(void)____PVOP_CALL(, array, op.func, \
arch/x86/include/asm/paravirt_types.h
406
(void)____PVOP_ALT_CALL(, array, op.func, alt, cond, \
arch/x86/include/asm/paravirt_types.h
508
#define PV_THUNK_NAME(func) "__raw_callee_save_" #func
arch/x86/include/asm/paravirt_types.h
509
#define __PV_CALLEE_SAVE_REGS_THUNK(func, section) \
arch/x86/include/asm/paravirt_types.h
510
extern typeof(func) __raw_callee_save_##func; \
arch/x86/include/asm/paravirt_types.h
513
".globl " PV_THUNK_NAME(func) ";" \
arch/x86/include/asm/paravirt_types.h
514
".type " PV_THUNK_NAME(func) ", @function;" \
arch/x86/include/asm/paravirt_types.h
516
PV_THUNK_NAME(func) ":" \
arch/x86/include/asm/paravirt_types.h
520
"call " #func ";" \
arch/x86/include/asm/paravirt_types.h
524
".size " PV_THUNK_NAME(func) ", .-" PV_THUNK_NAME(func) ";" \
arch/x86/include/asm/paravirt_types.h
527
#define PV_CALLEE_SAVE_REGS_THUNK(func) \
arch/x86/include/asm/paravirt_types.h
528
__PV_CALLEE_SAVE_REGS_THUNK(func, ".text")
arch/x86/include/asm/paravirt_types.h
531
#define PV_CALLEE_SAVE(func) \
arch/x86/include/asm/paravirt_types.h
532
((struct paravirt_callee_save) { __raw_callee_save_##func })
arch/x86/include/asm/paravirt_types.h
535
#define __PV_IS_CALLEE_SAVE(func) \
arch/x86/include/asm/paravirt_types.h
536
((struct paravirt_callee_save) { func })
arch/x86/include/asm/pci-direct.h
10
extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
arch/x86/include/asm/pci-direct.h
11
extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
arch/x86/include/asm/pci-direct.h
12
extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
arch/x86/include/asm/pci-direct.h
13
extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);
arch/x86/include/asm/pci-direct.h
14
extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
arch/x86/include/asm/pci-direct.h
15
extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
arch/x86/include/asm/static_call.h
46
#define ARCH_DEFINE_STATIC_CALL_TRAMP(name, func) \
arch/x86/include/asm/static_call.h
47
__ARCH_DEFINE_STATIC_CALL_TRAMP(name, ".byte 0xe9; .long " #func " - (. + 4)")
arch/x86/include/asm/static_call.h
68
extern void __static_call_update_early(void *tramp, void *func);
arch/x86/include/asm/static_call.h
77
WRITE_ONCE(STATIC_CALL_KEY(name).func, _func); \
arch/x86/include/asm/tdx.h
111
static __always_inline u64 __seamcall_dirty_cache(sc_func_t func, u64 fn,
arch/x86/include/asm/tdx.h
127
return func(fn, args);
arch/x86/include/asm/tdx.h
130
static __always_inline u64 sc_retry(sc_func_t func, u64 fn,
arch/x86/include/asm/tdx.h
138
ret = __seamcall_dirty_cache(func, fn, args);
arch/x86/include/asm/text-patching.h
167
void int3_emulate_call(struct pt_regs *regs, unsigned long func)
arch/x86/include/asm/text-patching.h
170
int3_emulate_jmp(regs, func);
arch/x86/include/asm/timer.h
15
void paravirt_set_sched_clock(u64 (*func)(void));
arch/x86/kernel/alternative.c
1211
u32 cfi_get_func_hash(void *func)
arch/x86/kernel/alternative.c
1215
func -= cfi_get_offset();
arch/x86/kernel/alternative.c
1218
func += 7;
arch/x86/kernel/alternative.c
1221
func += 1;
arch/x86/kernel/alternative.c
1227
if (get_kernel_nofault(hash, func))
arch/x86/kernel/alternative.c
1233
int cfi_get_func_arity(void *func)
arch/x86/kernel/alternative.c
1241
if (get_kernel_nofault(disp, func - 4))
arch/x86/kernel/alternative.c
1244
target = func + disp;
arch/x86/kernel/alternative.c
2534
static void *__text_poke(text_poke_f func, void *addr, const void *src, size_t len)
arch/x86/kernel/alternative.c
2599
func((u8 *)text_poke_mm_addr + offset_in_page(addr), src, len);
arch/x86/kernel/alternative.c
2627
if (func == text_poke_memcpy) {
arch/x86/kernel/amd_node.c
29
struct pci_dev *amd_node_get_func(u16 node, u8 func)
arch/x86/kernel/amd_node.c
34
return pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(AMD_NODE0_PCI_SLOT + node, func));
arch/x86/kernel/aperture_64.c
140
static u32 __init find_cap(int bus, int slot, int func, int cap)
arch/x86/kernel/aperture_64.c
145
if (!(read_pci_config_16(bus, slot, func, PCI_STATUS) &
arch/x86/kernel/aperture_64.c
149
pos = read_pci_config_byte(bus, slot, func, PCI_CAPABILITY_LIST);
arch/x86/kernel/aperture_64.c
154
id = read_pci_config_byte(bus, slot, func, pos+PCI_CAP_LIST_ID);
arch/x86/kernel/aperture_64.c
159
pos = read_pci_config_byte(bus, slot, func,
arch/x86/kernel/aperture_64.c
166
static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order)
arch/x86/kernel/aperture_64.c
175
pr_info("pci 0000:%02x:%02x:%02x: AGP bridge\n", bus, slot, func);
arch/x86/kernel/aperture_64.c
176
apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14);
arch/x86/kernel/aperture_64.c
179
bus, slot, func);
arch/x86/kernel/aperture_64.c
195
aper_low = read_pci_config(bus, slot, func, 0x10);
arch/x86/kernel/aperture_64.c
196
aper_hi = read_pci_config(bus, slot, func, 0x14);
arch/x86/kernel/aperture_64.c
204
bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1,
arch/x86/kernel/aperture_64.c
208
bus, slot, func, 32 << *order, apsizereg);
arch/x86/kernel/aperture_64.c
213
bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1,
arch/x86/kernel/aperture_64.c
236
int bus, slot, func;
arch/x86/kernel/aperture_64.c
241
for (func = 0; func < 8; func++) {
arch/x86/kernel/aperture_64.c
244
class = read_pci_config(bus, slot, func,
arch/x86/kernel/aperture_64.c
253
cap = find_cap(bus, slot, func,
arch/x86/kernel/aperture_64.c
258
return read_agp(bus, slot, func, cap,
arch/x86/kernel/aperture_64.c
262
type = read_pci_config_byte(bus, slot, func,
arch/x86/kernel/apm_32.c
1036
call.func = APM_FUNC_GET_STATUS;
arch/x86/kernel/apm_32.c
1424
static int check_apm_user(struct apm_user *as, const char *func)
arch/x86/kernel/apm_32.c
1427
pr_err("%s passed bad filp\n", func);
arch/x86/kernel/apm_32.c
560
u32 func;
arch/x86/kernel/apm_32.c
607
apm_bios_call_asm(call->func, call->ebx, call->ecx,
arch/x86/kernel/apm_32.c
688
error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx,
arch/x86/kernel/apm_32.c
713
static int apm_bios_call_simple(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax,
arch/x86/kernel/apm_32.c
719
call.func = func;
arch/x86/kernel/apm_32.c
776
call.func = APM_FUNC_GET_EVENT;
arch/x86/kernel/callthunks.c
301
int x86_call_depth_emit_accounting(u8 **pprog, void *func, void *ip)
arch/x86/kernel/callthunks.c
310
if (func && is_callthunk(func))
arch/x86/kernel/cpu/mce/core.c
1489
static void queue_task_work(struct mce_hw_err *err, char *msg, void (*func)(struct callback_head *))
arch/x86/kernel/cpu/mce/core.c
1500
current->mce_kill_me.func = func;
arch/x86/kernel/early-quirks.c
117
static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
122
b = read_pci_config_byte(num, slot, func, 0xac);
arch/x86/kernel/early-quirks.c
124
write_pci_config_byte(num, slot, func, 0xac, b);
arch/x86/kernel/early-quirks.c
126
d = read_pci_config(num, slot, func, 0x70);
arch/x86/kernel/early-quirks.c
128
write_pci_config(num, slot, func, 0x70, d);
arch/x86/kernel/early-quirks.c
130
d = read_pci_config(num, slot, func, 0x8);
arch/x86/kernel/early-quirks.c
135
static void __init ati_bugs(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
143
d = ati_ixp4x0_rev(num, slot, func);
arch/x86/kernel/early-quirks.c
161
static u32 __init ati_sbx00_rev(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
165
d = read_pci_config(num, slot, func, 0x8);
arch/x86/kernel/early-quirks.c
171
static void __init ati_bugs_contd(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
175
rev = ati_sbx00_rev(num, slot, func);
arch/x86/kernel/early-quirks.c
191
d = read_pci_config(num, slot, func, 0x64);
arch/x86/kernel/early-quirks.c
203
static void __init ati_bugs(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
207
static void __init ati_bugs_contd(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
212
static void __init intel_remapping_check(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
217
device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
arch/x86/kernel/early-quirks.c
218
revision = read_pci_config_byte(num, slot, func, PCI_REVISION_ID);
arch/x86/kernel/early-quirks.c
299
static resource_size_t __init i830_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
305
static resource_size_t __init i845_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
311
static resource_size_t __init i85x_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
317
static resource_size_t __init i865_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
32
static void __init fix_hypertransport_config(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
327
static resource_size_t __init gen3_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
337
bsm = read_pci_config(num, slot, func, INTEL_BSM);
arch/x86/kernel/early-quirks.c
342
static resource_size_t __init gen11_stolen_base(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
347
bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0);
arch/x86/kernel/early-quirks.c
349
bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32;
arch/x86/kernel/early-quirks.c
354
static resource_size_t __init i830_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
375
static resource_size_t __init gen3_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
404
static resource_size_t __init gen6_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
409
gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
arch/x86/kernel/early-quirks.c
41
htcfg = read_pci_config(num, slot, func, 0x68);
arch/x86/kernel/early-quirks.c
415
static resource_size_t __init gen8_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
420
gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
arch/x86/kernel/early-quirks.c
426
static resource_size_t __init chv_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
431
gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
arch/x86/kernel/early-quirks.c
447
static resource_size_t __init gen9_stolen_size(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
452
gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
arch/x86/kernel/early-quirks.c
464
resource_size_t (*stolen_size)(int num, int slot, int func);
arch/x86/kernel/early-quirks.c
465
resource_size_t (*stolen_base)(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
51
write_pci_config(num, slot, func, 0x68, htcfg);
arch/x86/kernel/early-quirks.c
567
intel_graphics_stolen(int num, int slot, int func,
arch/x86/kernel/early-quirks.c
573
size = early_ops->stolen_size(num, slot, func);
arch/x86/kernel/early-quirks.c
574
base = early_ops->stolen_base(num, slot, func, size);
arch/x86/kernel/early-quirks.c
58
static void __init via_bugs(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
592
static void __init intel_graphics_quirks(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
605
device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
arch/x86/kernel/early-quirks.c
615
intel_graphics_stolen(num, slot, func, early_ops);
arch/x86/kernel/early-quirks.c
621
static void __init force_disable_hpet(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
634
static void __init apple_airport_reset(int bus, int slot, int func)
arch/x86/kernel/early-quirks.c
645
pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL);
arch/x86/kernel/early-quirks.c
649
write_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL, pmcsr);
arch/x86/kernel/early-quirks.c
652
pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL);
arch/x86/kernel/early-quirks.c
655
bus, slot, func);
arch/x86/kernel/early-quirks.c
660
addr = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
arch/x86/kernel/early-quirks.c
661
addr |= (u64)read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_1) << 32;
arch/x86/kernel/early-quirks.c
667
bus, slot, func);
arch/x86/kernel/early-quirks.c
696
void (*f)(int num, int slot, int func);
arch/x86/kernel/early-quirks.c
746
static int __init check_dev_quirk(int num, int slot, int func)
arch/x86/kernel/early-quirks.c
755
class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE);
arch/x86/kernel/early-quirks.c
760
vendor = read_pci_config_16(num, slot, func, PCI_VENDOR_ID);
arch/x86/kernel/early-quirks.c
762
device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
arch/x86/kernel/early-quirks.c
773
early_qrk[i].f(num, slot, func);
arch/x86/kernel/early-quirks.c
778
type = read_pci_config_byte(num, slot, func,
arch/x86/kernel/early-quirks.c
782
sec = read_pci_config_byte(num, slot, func, PCI_SECONDARY_BUS);
arch/x86/kernel/early-quirks.c
795
int slot, func;
arch/x86/kernel/early-quirks.c
799
for (func = 0; func < 8; func++) {
arch/x86/kernel/early-quirks.c
801
if (check_dev_quirk(bus, slot, func))
arch/x86/kernel/early-quirks.c
81
static void __init nvidia_bugs(int num, int slot, int func)
arch/x86/kernel/early_printk.c
266
u8 bus, slot, func;
arch/x86/kernel/early_printk.c
297
func = (u8)simple_strtoul(s, &e, 16);
arch/x86/kernel/early_printk.c
307
cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND);
arch/x86/kernel/early_printk.c
308
classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION);
arch/x86/kernel/early_printk.c
309
bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
arch/x86/kernel/early_printk.c
327
write_pci_config(bus, slot, func, PCI_COMMAND,
arch/x86/kernel/early_printk.c
339
write_pci_config(bus, slot, func, PCI_COMMAND,
arch/x86/kernel/ftrace.c
187
int ftrace_update_ftrace_func(ftrace_func_t func)
arch/x86/kernel/ftrace.c
193
new = ftrace_call_replace(ip, (unsigned long)func);
arch/x86/kernel/ftrace.c
197
new = ftrace_call_replace(ip, (unsigned long)func);
arch/x86/kernel/ftrace.c
472
ftrace_func_t func;
arch/x86/kernel/ftrace.c
495
func = ftrace_ops_get_func(ops);
arch/x86/kernel/ftrace.c
499
new = ftrace_call_replace(ip, (unsigned long)func);
arch/x86/kernel/ftrace.c
589
static int ftrace_mod_jmp(unsigned long ip, void *func)
arch/x86/kernel/ftrace.c
593
new = ftrace_jmp_replace(ip, (unsigned long)func);
arch/x86/kernel/irq_32.c
54
static void call_on_stack(void *func, void *stack)
arch/x86/kernel/irq_32.c
60
: [thunk_target] "D" (func)
arch/x86/kernel/kprobes/core.c
513
unsigned long func = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
arch/x86/kernel/kprobes/core.c
515
func += p->ainsn.rel32;
arch/x86/kernel/kprobes/core.c
516
int3_emulate_call(regs, func);
arch/x86/kernel/ldt.c
667
SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr ,
arch/x86/kernel/ldt.c
672
switch (func) {
arch/x86/kernel/paravirt-spinlocks.c
30
return pv_ops_lock.queued_spin_unlock.func ==
arch/x86/kernel/paravirt-spinlocks.c
42
return pv_ops_lock.vcpu_is_preempted.func ==
arch/x86/kernel/static_call.c
100
func = __static_call_return;
arch/x86/kernel/static_call.c
102
func = x86_return_thunk;
arch/x86/kernel/static_call.c
106
__text_gen_insn(buf+1, op, insn+1, func, 5);
arch/x86/kernel/static_call.c
166
void arch_static_call_transform(void *site, void *tramp, void *func, bool tail)
arch/x86/kernel/static_call.c
172
__static_call_transform(tramp, __sc_insn(!func, true), func, false);
arch/x86/kernel/static_call.c
177
__static_call_transform(site, __sc_insn(!func, tail), func, false);
arch/x86/kernel/static_call.c
184
noinstr void __static_call_update_early(void *tramp, void *func)
arch/x86/kernel/static_call.c
188
__text_gen_insn(tramp, JMP32_INSN_OPCODE, tramp, func, JMP32_INSN_SIZE);
arch/x86/kernel/static_call.c
59
void *func, bool modinit)
arch/x86/kernel/static_call.c
71
func = callthunks_translate_call_dest(func);
arch/x86/kernel/static_call.c
72
code = text_gen_insn(CALL_INSN_OPCODE, insn, func);
arch/x86/kernel/static_call.c
73
if (func == &__static_call_return0) {
arch/x86/kernel/static_call.c
77
if (func == &__WARN_trap) {
arch/x86/kernel/static_call.c
88
code = text_gen_insn(JMP32_INSN_OPCODE, insn, func);
arch/x86/kernel/static_call.c
99
if (!func) {
arch/x86/kernel/tsc.c
282
void paravirt_set_sched_clock(u64 (*func)(void))
arch/x86/kernel/tsc.c
284
static_call_update(pv_sched_clock, func);
arch/x86/kernel/tsc.c
290
void paravirt_set_sched_clock(u64 (*func)(void)) { }
arch/x86/kvm/cpuid.c
1370
static int cpuid_func_emulated(struct kvm_cpuid_entry2 *entry, u32 func,
arch/x86/kvm/cpuid.c
1375
entry->function = func;
arch/x86/kvm/cpuid.c
1379
switch (func) {
arch/x86/kvm/cpuid.c
1407
static int __do_cpuid_func_emulated(struct kvm_cpuid_array *array, u32 func)
arch/x86/kvm/cpuid.c
1412
array->nent += cpuid_func_emulated(&array->entries[array->nent], func, false);
arch/x86/kvm/cpuid.c
1913
static int do_cpuid_func(struct kvm_cpuid_array *array, u32 func,
arch/x86/kvm/cpuid.c
1917
return __do_cpuid_func_emulated(array, func);
arch/x86/kvm/cpuid.c
1919
return __do_cpuid_func(array, func);
arch/x86/kvm/cpuid.c
1924
static int get_cpuid_func(struct kvm_cpuid_array *array, u32 func,
arch/x86/kvm/cpuid.c
1930
if (func == CENTAUR_CPUID_SIGNATURE &&
arch/x86/kvm/cpuid.c
1935
r = do_cpuid_func(array, func, type);
arch/x86/kvm/cpuid.c
1940
for (func = func + 1; func <= limit; ++func) {
arch/x86/kvm/cpuid.c
1941
r = do_cpuid_func(array, func, type);
arch/x86/kvm/cpuid.c
372
static int cpuid_func_emulated(struct kvm_cpuid_entry2 *entry, u32 func,
arch/x86/kvm/i8254.c
766
pit->mask_notifier.func = pit_mask_notifier;
arch/x86/kvm/ioapic.c
327
kimn->func(kimn, mask);
arch/x86/kvm/ioapic.h
92
void (*func)(struct kvm_irq_mask_notifier *kimn, bool masked);
arch/x86/kvm/pmu.c
100
WARN_ON(!kvm_pmu_ops.func); __KVM_X86_PMU_OP(func)
arch/x86/kvm/pmu.c
87
#define KVM_X86_PMU_OP(func) \
arch/x86/kvm/pmu.c
88
DEFINE_STATIC_CALL_NULL(kvm_x86_pmu_##func, \
arch/x86/kvm/pmu.c
89
*(((struct kvm_pmu_ops *)0)->func));
arch/x86/kvm/pmu.c
97
#define __KVM_X86_PMU_OP(func) \
arch/x86/kvm/pmu.c
98
static_call_update(kvm_x86_pmu_##func, kvm_pmu_ops.func);
arch/x86/kvm/pmu.c
99
#define KVM_X86_PMU_OP(func) \
arch/x86/kvm/x86.c
10005
#define __KVM_X86_OP(func) \
arch/x86/kvm/x86.c
10006
static_call_update(kvm_x86_##func, kvm_x86_ops.func);
arch/x86/kvm/x86.c
10007
#define KVM_X86_OP(func) \
arch/x86/kvm/x86.c
10008
WARN_ON(!kvm_x86_ops.func); __KVM_X86_OP(func)
arch/x86/kvm/x86.c
10010
#define KVM_X86_OP_OPTIONAL_RET0(func) \
arch/x86/kvm/x86.c
10011
static_call_update(kvm_x86_##func, (void *)kvm_x86_ops.func ? : \
arch/x86/kvm/x86.c
145
#define KVM_X86_OP(func) \
arch/x86/kvm/x86.c
146
DEFINE_STATIC_CALL_NULL(kvm_x86_##func, \
arch/x86/kvm/x86.c
147
*(((struct kvm_x86_ops *)0)->func));
arch/x86/mm/tlb.c
647
next->l1d_flush_kill.func = l1d_flush_force_sigbus;
arch/x86/net/bpf_jit_comp.c
1614
u8 *func;
arch/x86/net/bpf_jit_comp.c
1622
func = (u8 *)clear_bhb_loop;
arch/x86/net/bpf_jit_comp.c
1623
ip += x86_call_depth_emit_accounting(&prog, func, ip);
arch/x86/net/bpf_jit_comp.c
1625
if (emit_call(&prog, func, ip))
arch/x86/net/bpf_jit_comp.c
1726
u8 *func;
arch/x86/net/bpf_jit_comp.c
2445
func = (u8 *) __bpf_call_base + imm32;
arch/x86/net/bpf_jit_comp.c
2456
ip += x86_call_depth_emit_accounting(&prog, func, ip);
arch/x86/net/bpf_jit_comp.c
2457
if (emit_call(&prog, func, ip))
arch/x86/net/bpf_jit_comp.c
3071
static int emit_cond_near_jump(u8 **pprog, void *func, void *ip, u8 jmp_cond)
arch/x86/net/bpf_jit_comp.c
3076
offset = func - (ip + 2 + 4);
arch/x86/net/bpf_jit_comp.c
3078
pr_err("Target %p is out of range\n", func);
arch/x86/net/bpf_jit_comp.c
416
static int emit_call(u8 **prog, void *func, void *ip);
arch/x86/net/bpf_jit_comp.c
559
static int emit_patch(u8 **pprog, void *func, void *ip, u8 opcode)
arch/x86/net/bpf_jit_comp.c
564
offset = func - (ip + X86_PATCH_SIZE);
arch/x86/net/bpf_jit_comp.c
566
pr_err("Target call %p is out of range\n", func);
arch/x86/net/bpf_jit_comp.c
574
static int emit_call(u8 **pprog, void *func, void *ip)
arch/x86/net/bpf_jit_comp.c
576
return emit_patch(pprog, func, ip, 0xE8);
arch/x86/net/bpf_jit_comp.c
579
static int emit_rsb_call(u8 **pprog, void *func, void *ip)
arch/x86/net/bpf_jit_comp.c
581
OPTIMIZER_HIDE_VAR(func);
arch/x86/net/bpf_jit_comp.c
582
ip += x86_call_depth_emit_accounting(pprog, func, ip);
arch/x86/net/bpf_jit_comp.c
583
return emit_patch(pprog, func, ip, 0xE8);
arch/x86/net/bpf_jit_comp.c
586
static int emit_jump(u8 **pprog, void *func, void *ip)
arch/x86/net/bpf_jit_comp.c
588
return emit_patch(pprog, func, ip, 0xE9);
arch/x86/net/bpf_jit_comp32.c
1684
u8 *func;
arch/x86/net/bpf_jit_comp32.c
2106
func = (u8 *) __bpf_call_base + imm32;
arch/x86/net/bpf_jit_comp32.c
2107
jmp_offset = func - (image + addrs[i]);
arch/x86/net/bpf_jit_comp32.c
2111
imm32, func, image);
arch/x86/pci/broadcom_bus.c
18
static void __init cnb20le_res(u8 bus, u8 slot, u8 func)
arch/x86/pci/broadcom_bus.c
27
fbus = read_pci_config_byte(bus, slot, func, 0x44);
arch/x86/pci/broadcom_bus.c
28
lbus = read_pci_config_byte(bus, slot, func, 0x45);
arch/x86/pci/broadcom_bus.c
46
word1 = read_pci_config_16(bus, slot, func, 0xc0);
arch/x86/pci/broadcom_bus.c
47
word2 = read_pci_config_16(bus, slot, func, 0xc2);
arch/x86/pci/broadcom_bus.c
56
word1 = read_pci_config_16(bus, slot, func, 0xc4);
arch/x86/pci/broadcom_bus.c
57
word2 = read_pci_config_16(bus, slot, func, 0xc6);
arch/x86/pci/broadcom_bus.c
66
word1 = read_pci_config_16(bus, slot, func, 0xd0);
arch/x86/pci/broadcom_bus.c
67
word2 = read_pci_config_16(bus, slot, func, 0xd2);
arch/x86/pci/ce4100.c
42
#define DEFINE_REG(device, func, offset, size, init_op, read_op, write_op)\
arch/x86/pci/ce4100.c
43
{ PCI_DEVFN(device, func), offset, init_op, read_op, write_op,\
arch/x86/pci/early.c
11
u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset)
arch/x86/pci/early.c
14
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/early.c
19
u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset)
arch/x86/pci/early.c
22
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/early.c
27
u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset)
arch/x86/pci/early.c
30
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/early.c
35
void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset,
arch/x86/pci/early.c
38
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/early.c
42
void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val)
arch/x86/pci/early.c
44
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/early.c
48
void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val)
arch/x86/pci/early.c
50
outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
arch/x86/pci/mmconfig-shared.c
662
extern int (*arch_apei_filter_addr)(int (*func)(__u64 start, __u64 size,
arch/x86/pci/mmconfig-shared.c
665
static int pci_mmcfg_for_each_region(int (*func)(__u64 start, __u64 size,
arch/x86/pci/mmconfig-shared.c
675
rc = func(cfg->res.start, resource_size(&cfg->res), data);
arch/x86/platform/efi/efi_64.c
468
#define __efi_thunk(func, ...) \
arch/x86/platform/efi/efi_64.c
480
____s = efi64_thunk(efi.runtime->mixed_mode.func, __VA_ARGS__); \
arch/x86/platform/efi/efi_64.c
497
#define efi_thunk(func...) \
arch/x86/platform/efi/efi_64.c
503
__s = __efi_thunk(func); \
arch/x86/virt/vmx/tdx/tdx.c
79
static __always_inline int sc_retry_prerr(sc_func_t func,
arch/x86/virt/vmx/tdx/tdx.c
83
u64 sret = sc_retry(func, fn, args);
arch/x86/xen/enlighten.c
103
void (*func)(void);
arch/x86/xen/enlighten.c
121
func = xen_hypercall_amd;
arch/x86/xen/enlighten.c
123
func = xen_hypercall_intel;
arch/x86/xen/enlighten.c
125
static_call_update_early(xen_hypercall, func);
arch/x86/xen/enlighten.c
129
return func;
arch/x86/xen/enlighten_pv.c
763
#define TRAP_ENTRY(func, ist_ok) { \
arch/x86/xen/enlighten_pv.c
764
.orig = asm_##func, \
arch/x86/xen/enlighten_pv.c
765
.xen = xen_asm_##func, \
arch/x86/xen/enlighten_pv.c
768
#define TRAP_ENTRY_REDIR(func, ist_ok) { \
arch/x86/xen/enlighten_pv.c
769
.orig = asm_##func, \
arch/x86/xen/enlighten_pv.c
770
.xen = xen_asm_xenpv_##func, \
arch/x86/xen/mmu_pv.c
602
void (*func)(struct mm_struct *mm, struct page *,
arch/x86/xen/mmu_pv.c
611
(*func)(mm, pmd_page(pmd[i]), PT_PTE);
arch/x86/xen/mmu_pv.c
616
void (*func)(struct mm_struct *mm, struct page *,
arch/x86/xen/mmu_pv.c
631
(*func)(mm, virt_to_page(pmd), PT_PMD);
arch/x86/xen/mmu_pv.c
632
xen_pmd_walk(mm, pmd, func, last && i == nr - 1, limit);
arch/x86/xen/mmu_pv.c
637
void (*func)(struct mm_struct *mm, struct page *,
arch/x86/xen/mmu_pv.c
649
(*func)(mm, virt_to_page(pud), PT_PUD);
arch/x86/xen/mmu_pv.c
650
xen_pud_walk(mm, pud, func, last, limit);
arch/x86/xen/mmu_pv.c
666
void (*func)(struct mm_struct *mm, struct page *,
arch/x86/xen/mmu_pv.c
695
xen_p4d_walk(mm, p4d, func, i == nr - 1, limit);
arch/x86/xen/mmu_pv.c
700
(*func)(mm, virt_to_page(pgd), PT_PGD);
arch/x86/xen/mmu_pv.c
704
void (*func)(struct mm_struct *mm, struct page *,
arch/x86/xen/mmu_pv.c
708
__xen_pgd_walk(mm, mm->pgd, func, limit);
arch/x86/xen/setup.c
409
unsigned long (*func)(unsigned long start_pfn, unsigned long end_pfn,
arch/x86/xen/setup.c
438
ret_val = func(start_pfn, end_pfn, ret_val);
arch/x86/xen/setup.c
982
static int register_callback(unsigned type, const void *func)
arch/x86/xen/setup.c
986
.address = XEN_CALLBACK(__KERNEL_CS, func),
drivers/accel/ethosu/ethosu_drv.c
174
#define ETHOSU_IOCTL(n, func, flags) \
drivers/accel/ethosu/ethosu_drv.c
175
DRM_IOCTL_DEF_DRV(ETHOSU_##n, ethosu_ioctl_##func, flags)
drivers/accel/habanalabs/common/habanalabs.h
3685
hl_ioctl_t *func;
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1228
[_IOC_NR(ioctl) - HL_COMMAND_START] = {.cmd = ioctl, .func = _func}
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1241
hl_ioctl_t *func;
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1246
func = ioctl->func;
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1248
if (unlikely(!func)) {
drivers/accel/habanalabs/common/habanalabs_ioctl.c
1280
retcode = func(hpriv, kdata);
drivers/accel/ivpu/ivpu_hw_reg_io.h
102
ivpu_dbg(vdev, REG, "%s : %s (0x%08x) RD: 0x%016llx\n", func, name, reg, val);
drivers/accel/ivpu/ivpu_hw_reg_io.h
108
const char *name, const char *func)
drivers/accel/ivpu/ivpu_hw_reg_io.h
110
ivpu_dbg(vdev, REG, "%s : %s (0x%08x) WR: 0x%08x\n", func, name, reg, val);
drivers/accel/ivpu/ivpu_hw_reg_io.h
116
const char *name, const char *func)
drivers/accel/ivpu/ivpu_hw_reg_io.h
118
ivpu_dbg(vdev, REG, "%s : %s (0x%08x) WR: 0x%016llx\n", func, name, reg, val);
drivers/accel/ivpu/ivpu_hw_reg_io.h
125
const char *func)
drivers/accel/ivpu/ivpu_hw_reg_io.h
129
ivpu_dbg(vdev, REG, "%s WR: %s_%d (0x%08x) <= 0x%08x\n", func, name, index, reg, val);
drivers/accel/ivpu/ivpu_hw_reg_io.h
88
const char *name, const char *func)
drivers/accel/ivpu/ivpu_hw_reg_io.h
92
ivpu_dbg(vdev, REG, "%s : %s (0x%08x) RD: 0x%08x\n", func, name, reg, val);
drivers/accel/ivpu/ivpu_hw_reg_io.h
98
const char *name, const char *func)
drivers/accel/rocket/rocket_drv.c
133
#define ROCKET_IOCTL(n, func) \
drivers/accel/rocket/rocket_drv.c
134
DRM_IOCTL_DEF_DRV(ROCKET_##n, rocket_ioctl_##func, 0)
drivers/accessibility/speakup/keyhelp.c
136
u_char func, *kp;
drivers/accessibility/speakup/keyhelp.c
195
func = funcvals[cur_item];
drivers/accessibility/speakup/keyhelp.c
197
if (key_offsets[func] == 0) {
drivers/accessibility/speakup/keyhelp.c
201
p_keys = key_data + key_offsets[func];
drivers/acpi/apei/apei-base.c
196
apei_exec_entry_func_t func,
drivers/acpi/apei/apei-base.c
216
rc = func(ctx, entry, data);
drivers/acpi/apei/apei-base.c
448
int (*arch_apei_filter_addr)(int (*func)(__u64 start, __u64 size,
drivers/acpi/apei/hest.c
137
static int apei_hest_parse(apei_hest_func_t func, void *data)
drivers/acpi/apei/hest.c
168
rc = func(hest_hdr, data);
drivers/acpi/device_pm.c
546
if (adev->wakeup.context.func) {
drivers/acpi/device_pm.c
548
adev->wakeup.context.func,
drivers/acpi/device_pm.c
550
adev->wakeup.context.func(&adev->wakeup.context);
drivers/acpi/device_pm.c
571
void (*func)(struct acpi_device_wakeup_context *context))
drivers/acpi/device_pm.c
575
if (!dev && !func)
drivers/acpi/device_pm.c
591
adev->wakeup.context.func = func;
drivers/acpi/device_pm.c
620
adev->wakeup.context.func = NULL;
drivers/acpi/ec.c
1095
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/ec.c
1100
if (!handle && !func)
drivers/acpi/ec.c
1109
handler->func = func;
drivers/acpi/ec.c
1134
if (remove_all || (handler->func && handler->query_bit == query_bit)) {
drivers/acpi/ec.c
1160
if (handler->func)
drivers/acpi/ec.c
1161
handler->func(handler->data);
drivers/acpi/ec.c
148
acpi_ec_query_func func;
drivers/acpi/internal.h
232
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/internal.h
250
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/nfit/core.c
1743
const u8 func = ND_INTEL_SMART;
drivers/acpi/nfit/core.c
1745
u8 revid = nfit_dsm_revid(nfit_mem->family, func);
drivers/acpi/nfit/core.c
1750
if ((nfit_mem->dsm_mask & (1 << func)) == 0)
drivers/acpi/nfit/core.c
1753
out_obj = acpi_evaluate_dsm_typed(handle, guid, revid, func, &in_obj, ACPI_TYPE_BUFFER);
drivers/acpi/nfit/core.c
3202
unsigned int func;
drivers/acpi/nfit/core.c
3206
func = call_pkg->nd_command;
drivers/acpi/nfit/core.c
3207
if (func > NVDIMM_CMD_MAX ||
drivers/acpi/nfit/core.c
3208
(1 << func) & NVDIMM_INTEL_DENY_CMDMASK)
drivers/acpi/nfit/core.c
383
static u8 nfit_dsm_revid(unsigned family, unsigned func)
drivers/acpi/nfit/core.c
395
if (func > NVDIMM_CMD_MAX)
drivers/acpi/nfit/core.c
397
id = revid_table[family][func];
drivers/acpi/nfit/core.c
403
static bool payload_dumpable(struct nvdimm *nvdimm, unsigned int func)
drivers/acpi/nfit/core.c
408
&& func >= NVDIMM_INTEL_GET_SECURITY_STATE
drivers/acpi/nfit/core.c
409
&& func <= NVDIMM_INTEL_MASTER_SECURE_ERASE)
drivers/acpi/nfit/core.c
459
int func, rc, i;
drivers/acpi/nfit/core.c
472
func = cmd_to_func(nfit_mem, cmd, call_pkg, &family);
drivers/acpi/nfit/core.c
473
if (func < 0)
drivers/acpi/nfit/core.c
474
return func;
drivers/acpi/nfit/core.c
520
(func > NVDIMM_CMD_MAX || !test_bit(func, &dsm_mask)))
drivers/acpi/nfit/core.c
544
dimm_name, cmd, family, func, in_buf.buffer.length);
drivers/acpi/nfit/core.c
545
if (payload_dumpable(nvdimm, func))
drivers/acpi/nfit/core.c
569
revid = nfit_dsm_revid(nfit_mem->family, func);
drivers/acpi/nfit/core.c
572
out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj);
drivers/acpi/nvs.c
52
int acpi_nvs_for_each_region(int (*func)(__u64 start, __u64 size, void *data),
drivers/acpi/nvs.c
59
rc = func(region->phys_start, region->size, data);
drivers/acpi/osl.c
1011
int (*func)(bool, char *, size_t);
drivers/acpi/osl.c
1025
func = acpi_debugger.ops->wait_command_ready;
drivers/acpi/osl.c
1029
ret = func(acpi_gbl_method_executing,
drivers/acpi/osl.c
1042
int (*func)(void);
drivers/acpi/osl.c
1056
func = acpi_debugger.ops->notify_command_complete;
drivers/acpi/osl.c
1060
ret = func();
drivers/acpi/osl.c
1748
void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state,
drivers/acpi/osl.c
1751
__acpi_os_prepare_sleep = func;
drivers/acpi/osl.c
1778
void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state,
drivers/acpi/osl.c
1781
__acpi_os_prepare_extended_sleep = func;
drivers/acpi/osl.c
921
int (*func)(acpi_osd_exec_callback, void *);
drivers/acpi/osl.c
935
func = acpi_debugger.ops->create_thread;
drivers/acpi/osl.c
939
ret = func(function, context);
drivers/acpi/osl.c
951
ssize_t (*func)(const char *);
drivers/acpi/osl.c
965
func = acpi_debugger.ops->write_log;
drivers/acpi/osl.c
969
ret = func(msg);
drivers/acpi/osl.c
981
ssize_t (*func)(char *, size_t);
drivers/acpi/osl.c
995
func = acpi_debugger.ops->read_cmd;
drivers/acpi/osl.c
999
ret = func(buffer, buffer_length);
drivers/acpi/utils.c
771
acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func,
drivers/acpi/utils.c
788
params[2].integer.value = func;
drivers/acpi/utils.c
804
guid, rev, func, ret);
drivers/acpi/x86/s2idle.c
377
static void acpi_sleep_run_lps0_dsm(unsigned int func, unsigned int func_mask, guid_t dsm_guid)
drivers/acpi/x86/s2idle.c
381
if (!(func_mask & (1 << func)))
drivers/acpi/x86/s2idle.c
385
rev_id, func, NULL);
drivers/acpi/x86/s2idle.c
388
lps0_dsm_state = func;
drivers/ata/ahci.c
1523
#define ENCODE_BUSDEVFN(bus, slot, func) \
drivers/ata/ahci.c
1524
(void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func)))
drivers/atm/lanai.c
304
void (*func)(struct lanai_dev *,vci_t vci))
drivers/atm/lanai.c
309
func(lanai, vci);
drivers/base/core.c
4961
#define define_dev_printk_level(func, kern_level) \
drivers/base/core.c
4962
void func(const struct device *dev, const char *fmt, ...) \
drivers/base/core.c
4976
EXPORT_SYMBOL(func);
drivers/base/cpu.c
601
#define CPU_SHOW_VULN_FALLBACK(func) \
drivers/base/cpu.c
602
ssize_t cpu_show_##func(struct device *, \
drivers/base/memory.c
1006
void *arg, walk_memory_blocks_func_t func)
drivers/base/memory.c
1022
ret = func(mem, arg);
drivers/base/memory.c
1031
walk_memory_blocks_func_t func;
drivers/base/memory.c
1040
return cb_data->func(mem, cb_data->arg);
drivers/base/memory.c
1055
int for_each_memory_block(void *arg, walk_memory_blocks_func_t func)
drivers/base/memory.c
1058
.func = func,
drivers/base/memory.c
1205
int walk_dynamic_memory_groups(int nid, walk_memory_groups_func_t func,
drivers/base/memory.c
1220
ret = func(group, arg);
drivers/base/power/main.c
1329
static bool dpm_async_suspend_parent(struct device *dev, async_func_t func)
drivers/base/power/main.c
1345
dpm_async_with_cleanup(dev->parent, func);
drivers/base/power/main.c
1350
static void dpm_async_suspend_superior(struct device *dev, async_func_t func)
drivers/base/power/main.c
1355
if (!dpm_async_suspend_parent(dev, func))
drivers/base/power/main.c
1363
dpm_async_with_cleanup(link->supplier, func);
drivers/base/power/main.c
628
static bool __dpm_async(struct device *dev, async_func_t func)
drivers/base/power/main.c
640
if (async_schedule_dev_nocall(func, dev))
drivers/base/power/main.c
648
static bool dpm_async_fn(struct device *dev, async_func_t func)
drivers/base/power/main.c
652
return __dpm_async(dev, func);
drivers/base/power/main.c
665
static void dpm_async_resume_children(struct device *dev, async_func_t func)
drivers/base/power/main.c
678
device_for_each_child(dev, func, dpm_async_with_cleanup);
drivers/base/power/main.c
681
static void dpm_async_resume_subordinate(struct device *dev, async_func_t func)
drivers/base/power/main.c
686
dpm_async_resume_children(dev, func);
drivers/base/power/main.c
693
dpm_async_with_cleanup(link->consumer, func);
drivers/bcma/driver_pci_host.c
104
addr = (func << 12);
drivers/bcma/driver_pci_host.c
109
addr |= (func << 8);
drivers/bcma/driver_pci_host.c
114
addr = bcma_get_cfgspace_addr(pc, dev, func, off);
drivers/bcma/driver_pci_host.c
149
unsigned int func, unsigned int off,
drivers/bcma/driver_pci_host.c
162
if (func > 1)
drivers/bcma/driver_pci_host.c
169
addr = (func << 12);
drivers/bcma/driver_pci_host.c
174
addr |= (func << 8);
drivers/bcma/driver_pci_host.c
179
addr = bcma_get_cfgspace_addr(pc, dev, func, off);
drivers/bcma/driver_pci_host.c
272
unsigned int func, u8 req_cap_id,
drivers/bcma/driver_pci_host.c
281
bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val,
drivers/bcma/driver_pci_host.c
287
bcma_extpci_read_config(pc, dev, func, PCI_STATUS, &byte_val,
drivers/bcma/driver_pci_host.c
293
bcma_extpci_read_config(pc, dev, func, PCI_CAPABILITY_LIST, &cap_ptr,
drivers/bcma/driver_pci_host.c
300
bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8));
drivers/bcma/driver_pci_host.c
302
bcma_extpci_read_config(pc, dev, func, cap_ptr + 1, &cap_ptr,
drivers/bcma/driver_pci_host.c
306
bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id,
drivers/bcma/driver_pci_host.c
326
bcma_extpci_read_config(pc, dev, func, cap_data, buf,
drivers/bcma/driver_pci_host.c
60
unsigned int func, unsigned int off)
drivers/bcma/driver_pci_host.c
77
addr |= (func << BCMA_CORE_PCI_CFG_FUN_SHIFT);
drivers/bcma/driver_pci_host.c
85
unsigned int func, unsigned int off,
drivers/bcma/driver_pci_host.c
97
if (func > 1)
drivers/block/aoe/aoenet.c
196
.func = aoenet_rcv,
drivers/block/drbd/drbd_bitmap.c
113
static void __bm_print_lock_info(struct drbd_device *device, const char *func)
drivers/block/drbd/drbd_bitmap.c
120
func, b->bm_why ?: "?",
drivers/block/drbd/drbd_main.c
353
int (*func) (struct drbd_thread *), const char *name)
drivers/block/drbd/drbd_main.c
358
thi->function = func;
drivers/block/drbd/drbd_receiver.c
1913
sector_t sector, bool missing_ok, const char *func)
drivers/block/drbd/drbd_receiver.c
1922
drbd_err(device, "%s: failed to find request 0x%lx, sector %llus\n", func,
drivers/block/drbd/drbd_receiver.c
5472
struct rb_root *root, const char *func,
drivers/block/drbd/drbd_receiver.c
5480
req = find_request(device, root, id, sector, missing_ok, func);
drivers/block/drbd/drbd_state.c
1621
#define REMEMBER_STATE_CHANGE(func, arg, type) \
drivers/block/drbd/drbd_state.c
1623
last_func = func; \
drivers/block/floppy.c
1855
pr_info("floppy_work.func=%ps\n", floppy_work.func);
drivers/block/floppy.c
1858
fd_timer.work.func,
drivers/block/floppy.c
1862
fd_timeout.work.func,
drivers/block/floppy.c
626
static inline void debugt(const char *func, const char *msg)
drivers/block/floppy.c
629
pr_info("%s:%s dtime=%lu\n", func, msg, jiffies - debugtimer);
drivers/block/floppy.c
633
static inline void debugt(const char *func, const char *msg) { }
drivers/block/floppy.c
640
static void is_alive(const char *func, const char *message)
drivers/block/floppy.c
645
DPRINT("%s: timeout handler died. %s\n", func, message);
drivers/bluetooth/btmrvl_main.c
576
return device_may_wakeup(&card->func->dev);
drivers/bluetooth/btmrvl_main.c
681
SET_HCIDEV_DEV(hdev, &card->func->dev);
drivers/bluetooth/btmrvl_sdio.c
1004
sdio_writeb(func, reg | 0x3f, card->reg->host_int_rsr, &ret);
drivers/bluetooth/btmrvl_sdio.c
1010
reg = sdio_readb(func, card->reg->card_misc_cfg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1015
sdio_writeb(func, reg | 0x10, card->reg->card_misc_cfg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1022
sdio_set_drvdata(func, card);
drivers/bluetooth/btmrvl_sdio.c
1024
sdio_release_host(func);
drivers/bluetooth/btmrvl_sdio.c
1029
sdio_release_irq(func);
drivers/bluetooth/btmrvl_sdio.c
1032
sdio_disable_func(func);
drivers/bluetooth/btmrvl_sdio.c
1035
sdio_release_host(func);
drivers/bluetooth/btmrvl_sdio.c
1043
if (card && card->func) {
drivers/bluetooth/btmrvl_sdio.c
1044
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1045
sdio_release_irq(card->func);
drivers/bluetooth/btmrvl_sdio.c
1046
sdio_disable_func(card->func);
drivers/bluetooth/btmrvl_sdio.c
1047
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1048
sdio_set_drvdata(card->func, NULL);
drivers/bluetooth/btmrvl_sdio.c
1058
if (!card || !card->func)
drivers/bluetooth/btmrvl_sdio.c
1061
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1067
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1076
if (!card || !card->func)
drivers/bluetooth/btmrvl_sdio.c
1079
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1083
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1099
if (!card || !card->func) {
drivers/bluetooth/btmrvl_sdio.c
1118
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1122
ret = sdio_writesb(card->func, card->ioport, buf,
drivers/bluetooth/btmrvl_sdio.c
1137
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1149
if (!card || !card->func) {
drivers/bluetooth/btmrvl_sdio.c
1159
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1162
fws0 = sdio_readb(card->func, card->reg->card_fw_status0, &ret);
drivers/bluetooth/btmrvl_sdio.c
1200
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1205
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1214
if (!card || !card->func) {
drivers/bluetooth/btmrvl_sdio.c
1219
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1221
sdio_writeb(card->func, HOST_POWER_UP, card->reg->cfg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1223
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1236
u8 loop, func, data;
drivers/bluetooth/btmrvl_sdio.c
1240
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1248
func = loop;
drivers/bluetooth/btmrvl_sdio.c
1252
func = 2;
drivers/bluetooth/btmrvl_sdio.c
1258
func, reg_start, reg_end);
drivers/bluetooth/btmrvl_sdio.c
1260
if (func == 0)
drivers/bluetooth/btmrvl_sdio.c
1261
data = sdio_f0_readb(card->func, reg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1263
data = sdio_readb(card->func, reg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1276
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1288
sdio_writeb(card->func, FW_DUMP_HOST_READY, card->reg->fw_dump_ctrl,
drivers/bluetooth/btmrvl_sdio.c
1297
ctrl_data = sdio_readb(card->func, card->reg->fw_dump_ctrl,
drivers/bluetooth/btmrvl_sdio.c
1311
sdio_writeb(card->func, FW_DUMP_HOST_READY,
drivers/bluetooth/btmrvl_sdio.c
1332
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmrvl_sdio.c
1343
card = sdio_get_drvdata(func);
drivers/bluetooth/btmrvl_sdio.c
1365
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1375
dump_num = sdio_readb(card->func, reg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1393
read_reg = sdio_readb(card->func, reg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1404
sdio_writeb(card->func, FW_DUMP_READ_DONE,
drivers/bluetooth/btmrvl_sdio.c
1442
*dbg_ptr = sdio_readb(card->func, reg, &ret);
drivers/bluetooth/btmrvl_sdio.c
1465
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
1506
dev_coredumpv(&card->func->dev, fw_dump_data, fw_dump_len, GFP_KERNEL);
drivers/bluetooth/btmrvl_sdio.c
1510
static int btmrvl_sdio_probe(struct sdio_func *func,
drivers/bluetooth/btmrvl_sdio.c
1518
id->vendor, id->device, id->class, func->num);
drivers/bluetooth/btmrvl_sdio.c
1520
card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL);
drivers/bluetooth/btmrvl_sdio.c
1524
card->func = func;
drivers/bluetooth/btmrvl_sdio.c
1553
btmrvl_sdio_probe_of(&func->dev, card);
drivers/bluetooth/btmrvl_sdio.c
1584
static void btmrvl_sdio_remove(struct sdio_func *func)
drivers/bluetooth/btmrvl_sdio.c
1588
if (func) {
drivers/bluetooth/btmrvl_sdio.c
1589
card = sdio_get_drvdata(func);
drivers/bluetooth/btmrvl_sdio.c
1610
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmrvl_sdio.c
1616
if (func) {
drivers/bluetooth/btmrvl_sdio.c
1617
pm_flags = sdio_get_host_pm_caps(func);
drivers/bluetooth/btmrvl_sdio.c
1618
BT_DBG("%s: suspend: PM flags = 0x%x", sdio_func_id(func),
drivers/bluetooth/btmrvl_sdio.c
1622
sdio_func_id(func));
drivers/bluetooth/btmrvl_sdio.c
1625
card = sdio_get_drvdata(func);
drivers/bluetooth/btmrvl_sdio.c
1671
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/bluetooth/btmrvl_sdio.c
1680
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmrvl_sdio.c
1686
if (func) {
drivers/bluetooth/btmrvl_sdio.c
1687
pm_flags = sdio_get_host_pm_caps(func);
drivers/bluetooth/btmrvl_sdio.c
1688
BT_DBG("%s: resume: PM flags = 0x%x", sdio_func_id(func),
drivers/bluetooth/btmrvl_sdio.c
1690
card = sdio_get_drvdata(func);
drivers/bluetooth/btmrvl_sdio.c
340
reg = sdio_readb(card->func, card->reg->card_rx_unit, &ret);
drivers/bluetooth/btmrvl_sdio.c
354
fws0 = sdio_readb(card->func, card->reg->card_fw_status0, &ret);
drivers/bluetooth/btmrvl_sdio.c
358
fws1 = sdio_readb(card->func, card->reg->card_fw_status1, &ret);
drivers/bluetooth/btmrvl_sdio.c
372
reg = sdio_readb(card->func, card->reg->card_rx_len, &ret);
drivers/bluetooth/btmrvl_sdio.c
384
sdio_writeb(card->func, mask, card->reg->host_int_mask, &ret);
drivers/bluetooth/btmrvl_sdio.c
399
host_int_mask = sdio_readb(card->func, card->reg->host_int_mask, &ret);
drivers/bluetooth/btmrvl_sdio.c
405
sdio_writeb(card->func, host_int_mask, card->reg->host_int_mask, &ret);
drivers/bluetooth/btmrvl_sdio.c
421
status = sdio_readb(card->func, card->reg->card_status, &ret);
drivers/bluetooth/btmrvl_sdio.c
446
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
448
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
472
&card->func->dev);
drivers/bluetooth/btmrvl_sdio.c
52
struct device *dev = &card->func->dev;
drivers/bluetooth/btmrvl_sdio.c
529
ret = sdio_writesb(card->func, card->ioport, helperbuf,
drivers/bluetooth/btmrvl_sdio.c
544
ret = sdio_writesb(card->func, card->ioport, helperbuf,
drivers/bluetooth/btmrvl_sdio.c
572
&card->func->dev);
drivers/bluetooth/btmrvl_sdio.c
613
base0 = sdio_readb(card->func,
drivers/bluetooth/btmrvl_sdio.c
623
base1 = sdio_readb(card->func,
drivers/bluetooth/btmrvl_sdio.c
677
ret = sdio_writesb(card->func, card->ioport, fwbuf,
drivers/bluetooth/btmrvl_sdio.c
683
sdio_writeb(card->func, HOST_CMD53_FIN,
drivers/bluetooth/btmrvl_sdio.c
712
if (!card || !card->func) {
drivers/bluetooth/btmrvl_sdio.c
753
ret = sdio_readsb(card->func, payload, card->ioport,
drivers/bluetooth/btmrvl_sdio.c
836
sdio_claim_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
848
sdio_release_host(card->func);
drivers/bluetooth/btmrvl_sdio.c
858
ret = sdio_readsb(card->func, adapter->hw_regs, 0, SDIO_BLOCK_SIZE);
drivers/bluetooth/btmrvl_sdio.c
874
*ireg = sdio_readb(card->func, card->reg->host_intstatus, &ret);
drivers/bluetooth/btmrvl_sdio.c
888
sdio_writeb(card->func, ~(*ireg) & (DN_LD_HOST_INT_STATUS |
drivers/bluetooth/btmrvl_sdio.c
900
static void btmrvl_sdio_interrupt(struct sdio_func *func)
drivers/bluetooth/btmrvl_sdio.c
908
card = sdio_get_drvdata(func);
drivers/bluetooth/btmrvl_sdio.c
911
func, card);
drivers/bluetooth/btmrvl_sdio.c
937
struct sdio_func *func;
drivers/bluetooth/btmrvl_sdio.c
941
if (!card || !card->func) {
drivers/bluetooth/btmrvl_sdio.c
947
func = card->func;
drivers/bluetooth/btmrvl_sdio.c
949
sdio_claim_host(func);
drivers/bluetooth/btmrvl_sdio.c
951
ret = sdio_enable_func(func);
drivers/bluetooth/btmrvl_sdio.c
958
ret = sdio_claim_irq(func, btmrvl_sdio_interrupt);
drivers/bluetooth/btmrvl_sdio.c
965
ret = sdio_set_block_size(card->func, SDIO_BLOCK_SIZE);
drivers/bluetooth/btmrvl_sdio.c
972
reg = sdio_readb(func, card->reg->io_port_0, &ret);
drivers/bluetooth/btmrvl_sdio.c
980
reg = sdio_readb(func, card->reg->io_port_1, &ret);
drivers/bluetooth/btmrvl_sdio.c
988
reg = sdio_readb(func, card->reg->io_port_2, &ret);
drivers/bluetooth/btmrvl_sdio.c
996
BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport);
drivers/bluetooth/btmrvl_sdio.c
999
reg = sdio_readb(func, card->reg->host_int_rsr, &ret);
drivers/bluetooth/btmrvl_sdio.h
80
struct sdio_func *func;
drivers/bluetooth/btmtksdio.c
1270
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
1274
sdio_enable_func(bdev->func);
drivers/bluetooth/btmtksdio.c
1278
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
1296
sdio_disable_func(bdev->func);
drivers/bluetooth/btmtksdio.c
1301
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
132
struct sdio_func *func;
drivers/bluetooth/btmtksdio.c
1342
static int btmtksdio_probe(struct sdio_func *func,
drivers/bluetooth/btmtksdio.c
1351
bdev = devm_kzalloc(&func->dev, sizeof(*bdev), GFP_KERNEL);
drivers/bluetooth/btmtksdio.c
1359
bdev->dev = &func->dev;
drivers/bluetooth/btmtksdio.c
1360
bdev->func = func;
drivers/bluetooth/btmtksdio.c
1368
dev_err(&func->dev, "Can't allocate HCI device\n");
drivers/bluetooth/btmtksdio.c
1389
if (device_can_wakeup(func->card->host->parent))
drivers/bluetooth/btmtksdio.c
1395
SET_HCIDEV_DEV(hdev, &func->dev);
drivers/bluetooth/btmtksdio.c
1400
sdio_set_drvdata(func, bdev);
drivers/bluetooth/btmtksdio.c
1404
dev_err(&func->dev, "Can't register HCI device\n");
drivers/bluetooth/btmtksdio.c
1453
static void btmtksdio_remove(struct sdio_func *func)
drivers/bluetooth/btmtksdio.c
1455
struct btmtksdio_dev *bdev = sdio_get_drvdata(func);
drivers/bluetooth/btmtksdio.c
1470
sdio_set_drvdata(func, NULL);
drivers/bluetooth/btmtksdio.c
1477
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmtksdio.c
1481
bdev = sdio_get_drvdata(func);
drivers/bluetooth/btmtksdio.c
1488
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/bluetooth/btmtksdio.c
1499
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmtksdio.c
1502
bdev = sdio_get_drvdata(func);
drivers/bluetooth/btmtksdio.c
1516
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/bluetooth/btmtksdio.c
1520
bdev = sdio_get_drvdata(func);
drivers/bluetooth/btmtksdio.c
281
err = sdio_writesb(bdev->func, MTK_REG_CTDR, skb->data,
drivers/bluetooth/btmtksdio.c
300
return sdio_readl(bdev->func, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
305
return sdio_readl(bdev->func, MTK_REG_PD2HRM0R, NULL);
drivers/bluetooth/btmtksdio.c
310
return sdio_readl(bdev->func, MTK_REG_CHCR, NULL);
drivers/bluetooth/btmtksdio.c
318
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
322
sdio_writel(bdev->func, CSICR_CLR_MBOX_ACK, MTK_REG_CSICR,
drivers/bluetooth/btmtksdio.c
334
sdio_writel(bdev->func, C_FW_OWN_REQ_SET, MTK_REG_CHLPCR, &err);
drivers/bluetooth/btmtksdio.c
342
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
355
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
358
sdio_writel(bdev->func, C_FW_OWN_REQ_CLR, MTK_REG_CHLPCR, &err);
drivers/bluetooth/btmtksdio.c
372
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
467
err = sdio_readsb(bdev->func, skb->data, MTK_REG_CRDR, rx_size);
drivers/bluetooth/btmtksdio.c
556
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
559
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
564
int_status = sdio_readl(bdev->func, MTK_REG_CHISR, NULL);
drivers/bluetooth/btmtksdio.c
575
sdio_writel(bdev->func, int_status, MTK_REG_CHISR, NULL);
drivers/bluetooth/btmtksdio.c
580
sdio_writel(bdev->func, PH2DSM0R_DRIVER_OWN,
drivers/bluetooth/btmtksdio.c
605
rx_size = sdio_readl(bdev->func, MTK_REG_CRPLR, NULL);
drivers/bluetooth/btmtksdio.c
613
if (bdev->func->irq_handler)
drivers/bluetooth/btmtksdio.c
614
sdio_writel(bdev->func, C_INT_EN_SET, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
616
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
621
static void btmtksdio_interrupt(struct sdio_func *func)
drivers/bluetooth/btmtksdio.c
623
struct btmtksdio_dev *bdev = sdio_get_drvdata(func);
drivers/bluetooth/btmtksdio.c
632
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
643
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
645
err = sdio_enable_func(bdev->func);
drivers/bluetooth/btmtksdio.c
656
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, &err);
drivers/bluetooth/btmtksdio.c
660
sdio_writel(bdev->func, 0, MTK_REG_CHIER, &err);
drivers/bluetooth/btmtksdio.c
664
err = sdio_claim_irq(bdev->func, btmtksdio_interrupt);
drivers/bluetooth/btmtksdio.c
668
err = sdio_set_block_size(bdev->func, MTK_SDIO_BLOCK_SIZE);
drivers/bluetooth/btmtksdio.c
675
val = sdio_readl(bdev->func, MTK_REG_CSDIOCSR, &err);
drivers/bluetooth/btmtksdio.c
680
sdio_writel(bdev->func, val, MTK_REG_CSDIOCSR, &err);
drivers/bluetooth/btmtksdio.c
685
val = sdio_readl(bdev->func, MTK_REG_CHCR, &err);
drivers/bluetooth/btmtksdio.c
690
sdio_writel(bdev->func, val, MTK_REG_CHCR, &err);
drivers/bluetooth/btmtksdio.c
695
sdio_writel(bdev->func, RX_DONE_INT | TX_EMPTY | TX_FIFO_OVERFLOW,
drivers/bluetooth/btmtksdio.c
701
sdio_writel(bdev->func, C_INT_EN_SET, MTK_REG_CHLPCR, &err);
drivers/bluetooth/btmtksdio.c
705
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
710
sdio_release_irq(bdev->func);
drivers/bluetooth/btmtksdio.c
713
sdio_disable_func(bdev->func);
drivers/bluetooth/btmtksdio.c
716
sdio_release_host(bdev->func);
drivers/bluetooth/btmtksdio.c
729
sdio_claim_host(bdev->func);
drivers/bluetooth/btmtksdio.c
732
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL);
drivers/bluetooth/btmtksdio.c
734
sdio_release_irq(bdev->func);
drivers/bluetooth/btmtksdio.c
741
sdio_disable_func(bdev->func);
drivers/bluetooth/btmtksdio.c
743
sdio_release_host(bdev->func);
drivers/bluetooth/btsdio.c
107
sdio_release_host(data->func);
drivers/bluetooth/btsdio.c
118
err = sdio_readsb(data->func, hdr, REG_RDAT, 4);
drivers/bluetooth/btsdio.c
137
err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4);
drivers/bluetooth/btsdio.c
160
sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL);
drivers/bluetooth/btsdio.c
165
static void btsdio_interrupt(struct sdio_func *func)
drivers/bluetooth/btsdio.c
167
struct btsdio_data *data = sdio_get_drvdata(func);
drivers/bluetooth/btsdio.c
172
intrd = sdio_readb(func, REG_INTRD, NULL);
drivers/bluetooth/btsdio.c
174
sdio_writeb(func, 0x01, REG_CL_INTRD, NULL);
drivers/bluetooth/btsdio.c
178
sdio_writeb(data->func, 0x01, REG_PC_RRT, NULL);
drivers/bluetooth/btsdio.c
190
sdio_claim_host(data->func);
drivers/bluetooth/btsdio.c
192
err = sdio_enable_func(data->func);
drivers/bluetooth/btsdio.c
196
err = sdio_claim_irq(data->func, btsdio_interrupt);
drivers/bluetooth/btsdio.c
198
sdio_disable_func(data->func);
drivers/bluetooth/btsdio.c
202
if (data->func->class == SDIO_CLASS_BT_B)
drivers/bluetooth/btsdio.c
203
sdio_writeb(data->func, 0x00, REG_MD_SET, NULL);
drivers/bluetooth/btsdio.c
205
sdio_writeb(data->func, 0x01, REG_EN_INTRD, NULL);
drivers/bluetooth/btsdio.c
208
sdio_release_host(data->func);
drivers/bluetooth/btsdio.c
219
sdio_claim_host(data->func);
drivers/bluetooth/btsdio.c
221
sdio_writeb(data->func, 0x00, REG_EN_INTRD, NULL);
drivers/bluetooth/btsdio.c
223
sdio_release_irq(data->func);
drivers/bluetooth/btsdio.c
224
sdio_disable_func(data->func);
drivers/bluetooth/btsdio.c
226
sdio_release_host(data->func);
drivers/bluetooth/btsdio.c
272
static int btsdio_probe(struct sdio_func *func,
drivers/bluetooth/btsdio.c
277
struct sdio_func_tuple *tuple = func->tuples;
drivers/bluetooth/btsdio.c
280
BT_DBG("func %p id %p class 0x%04x", func, id, func->class);
drivers/bluetooth/btsdio.c
290
if (func->vendor == SDIO_VENDOR_ID_BROADCOM &&
drivers/bluetooth/btsdio.c
291
!mmc_card_is_removable(func->card->host)) {
drivers/bluetooth/btsdio.c
292
switch (func->device) {
drivers/bluetooth/btsdio.c
303
data = devm_kzalloc(&func->dev, sizeof(*data), GFP_KERNEL);
drivers/bluetooth/btsdio.c
307
data->func = func;
drivers/bluetooth/btsdio.c
322
SET_HCIDEV_DEV(hdev, &func->dev);
drivers/bluetooth/btsdio.c
329
if (func->vendor == 0x0104 && func->device == 0x00c5)
drivers/bluetooth/btsdio.c
338
sdio_set_drvdata(func, data);
drivers/bluetooth/btsdio.c
343
static void btsdio_remove(struct sdio_func *func)
drivers/bluetooth/btsdio.c
345
struct btsdio_data *data = sdio_get_drvdata(func);
drivers/bluetooth/btsdio.c
348
BT_DBG("func %p", func);
drivers/bluetooth/btsdio.c
356
sdio_set_drvdata(func, NULL);
drivers/bluetooth/btsdio.c
42
struct sdio_func *func;
drivers/bluetooth/btsdio.c
74
err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len);
drivers/bluetooth/btsdio.c
77
sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL);
drivers/bluetooth/btsdio.c
96
sdio_claim_host(data->func);
drivers/bus/vexpress-config.c
158
static int vexpress_syscfg_exec(struct vexpress_syscfg_func *func,
drivers/bus/vexpress-config.c
161
struct vexpress_syscfg *syscfg = func->syscfg;
drivers/bus/vexpress-config.c
166
if (WARN_ON(index >= func->num_templates))
drivers/bus/vexpress-config.c
173
command = func->template[index];
drivers/bus/vexpress-config.c
182
func, command, *data);
drivers/bus/vexpress-config.c
213
dev_dbg(syscfg->dev, "func %p, read data %x\n", func, *data);
drivers/bus/vexpress-config.c
222
struct vexpress_syscfg_func *func = context;
drivers/bus/vexpress-config.c
224
return vexpress_syscfg_exec(func, index, false, val);
drivers/bus/vexpress-config.c
230
struct vexpress_syscfg_func *func = context;
drivers/bus/vexpress-config.c
232
return vexpress_syscfg_exec(func, index, true, &val);
drivers/bus/vexpress-config.c
252
struct vexpress_syscfg_func *func;
drivers/bus/vexpress-config.c
287
func = kzalloc_flex(*func, template, num);
drivers/bus/vexpress-config.c
288
if (!func)
drivers/bus/vexpress-config.c
291
func->syscfg = syscfg;
drivers/bus/vexpress-config.c
292
func->num_templates = num;
drivers/bus/vexpress-config.c
301
func, site, position, dcc,
drivers/bus/vexpress-config.c
304
func->template[i] = SYS_CFGCTRL_DCC(dcc);
drivers/bus/vexpress-config.c
305
func->template[i] |= SYS_CFGCTRL_SITE(site);
drivers/bus/vexpress-config.c
306
func->template[i] |= SYS_CFGCTRL_POSITION(position);
drivers/bus/vexpress-config.c
307
func->template[i] |= SYS_CFGCTRL_FUNC(function);
drivers/bus/vexpress-config.c
308
func->template[i] |= SYS_CFGCTRL_DEVICE(device);
drivers/bus/vexpress-config.c
313
func->regmap = regmap_init(dev, NULL, func,
drivers/bus/vexpress-config.c
316
if (IS_ERR(func->regmap)) {
drivers/bus/vexpress-config.c
317
void *err = func->regmap;
drivers/bus/vexpress-config.c
319
kfree(func);
drivers/bus/vexpress-config.c
323
list_add(&func->list, &syscfg->funcs);
drivers/bus/vexpress-config.c
325
return func->regmap;
drivers/bus/vexpress-config.c
331
struct vexpress_syscfg_func *func, *tmp;
drivers/bus/vexpress-config.c
335
list_for_each_entry_safe(func, tmp, &syscfg->funcs, list) {
drivers/bus/vexpress-config.c
336
if (func->regmap == regmap) {
drivers/bus/vexpress-config.c
338
kfree(func);
drivers/char/hw_random/optee-rng.c
186
inv_arg.func = TA_CMD_GET_RNG_INFO;
drivers/char/hw_random/optee-rng.c
86
inv_arg.func = TA_CMD_GET_ENTROPY;
drivers/char/tpm/tpm_ftpm_tee.c
69
.func = FTPM_OPTEE_TA_SUBMIT_COMMAND,
drivers/char/tpm/tpm_ppi.c
130
int func = TPM_PPI_FN_SUBREQ;
drivers/char/tpm/tpm_ppi.c
143
func = TPM_PPI_FN_SUBREQ2;
drivers/char/tpm/tpm_ppi.c
172
obj = tpm_eval_dsm(chip->acpi_dev_handle, func, ACPI_TYPE_INTEGER,
drivers/char/tpm/tpm_ppi.c
56
tpm_eval_dsm(acpi_handle ppi_handle, int func, acpi_object_type type,
drivers/char/tpm/tpm_ppi.c
61
rev, func, argv4, type);
drivers/char/tpm/tpm_tis_core.c
1030
if (priv->free_irq_work.func)
drivers/clk/imx/clk-scu.c
249
hdr->func = IMX_SC_PM_FUNC_GET_CLOCK_RATE;
drivers/clk/imx/clk-scu.c
321
hdr->func = IMX_SC_PM_FUNC_SET_CLOCK_RATE;
drivers/clk/imx/clk-scu.c
340
hdr->func = IMX_SC_PM_FUNC_GET_CLOCK_PARENT;
drivers/clk/imx/clk-scu.c
367
hdr->func = IMX_SC_PM_FUNC_SET_CLOCK_PARENT;
drivers/clk/imx/clk-scu.c
394
hdr->func = IMX_SC_PM_FUNC_CLOCK_ENABLE;
drivers/clk/renesas/renesas-cpg-mssr.c
701
const char *func, bool set, unsigned long id)
drivers/clk/renesas/renesas-cpg-mssr.c
709
if (func)
drivers/clk/renesas/renesas-cpg-mssr.c
710
dev_dbg(priv->dev, "%s %u%02u\n", func, reg, bit);
drivers/clk/stm32/clk-stm32-core.c
52
if (cfg_clock->func)
drivers/clk/stm32/clk-stm32-core.c
53
hw = (*cfg_clock->func)(dev, data, base, &rlock,
drivers/clk/stm32/clk-stm32-core.h
168
.func = (_register),\
drivers/clk/stm32/clk-stm32-core.h
52
struct clk_hw *(*func)(struct device *dev,
drivers/clk/stm32/clk-stm32mp1.c
1184
.func = _clk_hw_register_gate,\
drivers/clk/stm32/clk-stm32mp1.c
1197
.func = _clk_hw_register_fixed_factor,\
drivers/clk/stm32/clk-stm32mp1.c
1214
.func = _clk_hw_register_divider_table,\
drivers/clk/stm32/clk-stm32mp1.c
1234
.func = _clk_hw_register_mux,\
drivers/clk/stm32/clk-stm32mp1.c
1248
.func = _clk_register_pll,\
drivers/clk/stm32/clk-stm32mp1.c
1261
.func = _clk_register_cktim,\
drivers/clk/stm32/clk-stm32mp1.c
1276
.func = _clk_stm32_register_gate,\
drivers/clk/stm32/clk-stm32mp1.c
1286
.func = _clk_stm32_register_gate,\
drivers/clk/stm32/clk-stm32mp1.c
1383
.func = _clk_stm32_register_composite,\
drivers/clk/stm32/clk-stm32mp1.c
2194
if (cfg->func)
drivers/clk/stm32/clk-stm32mp1.c
2195
hw = (*cfg->func)(dev, clk_data, base, lock, cfg);
drivers/clk/stm32/clk-stm32mp1.c
332
struct clk_hw * (*func)(struct device *dev,
drivers/clk/ti/clk.c
250
ti_of_clk_init_cb_t func;
drivers/clk/ti/clk.c
266
ti_of_clk_init_cb_t func)
drivers/clk/ti/clk.c
276
retry->func = func;
drivers/clk/ti/clk.c
461
retry->func(retry->user, retry->node);
drivers/clk/ti/clock.h
222
ti_of_clk_init_cb_t func);
drivers/clocksource/ingenic-timer.c
122
csd->func = ingenic_per_cpu_event_handler;
drivers/comedi/drivers/addi_apci_3501.c
240
unsigned char func;
drivers/comedi/drivers/addi_apci_3501.c
243
func = apci3501_eeprom_readw(devpriv->amcc, 12 + offset) & 0x3f;
drivers/comedi/drivers/addi_apci_3501.c
246
if (func == EEPROM_ANALOGOUTPUT) {
drivers/cpufreq/acpi-cpufreq.c
296
} func;
drivers/cpufreq/acpi-cpufreq.c
304
cmd->val = cmd->func.read(cmd->reg);
drivers/cpufreq/acpi-cpufreq.c
312
.func.read = data->cpu_freq_read,
drivers/cpufreq/acpi-cpufreq.c
325
cmd->func.write(cmd->reg, cmd->val);
drivers/cpufreq/acpi-cpufreq.c
335
.func.write = data->cpu_freq_write,
drivers/cpufreq/amd-pstate-ut.c
278
int ret = amd_pstate_ut_cases[i].func(i);
drivers/cpufreq/amd-pstate-ut.c
41
int (*func)(u32 index);
drivers/cpufreq/cpufreq_governor.c
387
j_cdbs->update_util.func = NULL;
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h
22
#define OTX2_CPT_RVU_PFFUNC(pdev, pf, func) rvu_make_pcifunc(pdev, pf, func)
drivers/dax/device.c
18
const char *func)
drivers/dax/device.c
30
current->comm, func);
drivers/dax/device.c
38
current->comm, func, start, end,
drivers/dax/device.c
46
current->comm, func);
drivers/dax/device.c
54
const char *func)
drivers/dax/device.c
57
vma->vm_file, func);
drivers/dma-buf/dma-fence.c
383
cur->func(fence, cur);
drivers/dma-buf/dma-fence.c
683
dma_fence_func_t func)
drivers/dma-buf/dma-fence.c
688
if (WARN_ON(!fence || !func))
drivers/dma-buf/dma-fence.c
699
cb->func = func;
drivers/dma-buf/dma-fence.c
821
cb.base.func = dma_fence_default_wait_cb;
drivers/dma-buf/selftest.c
105
err = st->func(data);
drivers/dma-buf/selftest.c
140
err = st->func();
drivers/dma-buf/selftest.c
21
#define selftest(n, f) [__idx_##n] = { .name = #n, .func = f },
drivers/dma-buf/selftest.c
25
int (*func)(void);
drivers/dma-buf/selftest.c
33
#define selftest_0(n, func, id) \
drivers/dma-buf/selftest.c
35
#define selftest(n, func) selftest_0(n, func, param(n))
drivers/dma-buf/selftest.h
12
#define selftest(name, func) int func(void);
drivers/dma-buf/selftest.h
17
int (*func)(void *data);
drivers/dma/idxd/cdev.c
370
const char *func)
drivers/dma/idxd/cdev.c
377
current->comm, func,
drivers/edac/amd64_edac.c
76
u32 *val, const char *func)
drivers/edac/amd64_edac.c
83
func, PCI_FUNC(pdev->devfn), offset);
drivers/edac/amd64_edac.c
89
u32 val, const char *func)
drivers/edac/amd64_edac.c
96
func, PCI_FUNC(pdev->devfn), offset);
drivers/edac/amd64_edac.h
474
u32 *val, const char *func);
drivers/edac/amd64_edac.h
476
u32 val, const char *func);
drivers/edac/i5100_edac.c
629
unsigned func)
drivers/edac/i5100_edac.c
639
if (PCI_FUNC(ret->devfn) == func)
drivers/edac/i7core_edac.c
1350
dev_descr->dev, dev_descr->func,
drivers/edac/i7core_edac.c
1373
bus, dev_descr->dev, dev_descr->func,
drivers/edac/i7core_edac.c
1383
PCI_FUNC(pdev->devfn) != dev_descr->func)) {
drivers/edac/i7core_edac.c
1389
bus, dev_descr->dev, dev_descr->func);
drivers/edac/i7core_edac.c
1398
bus, dev_descr->dev, dev_descr->func,
drivers/edac/i7core_edac.c
1405
dev_descr->func,
drivers/edac/i7core_edac.c
1455
int i, func, slot;
drivers/edac/i7core_edac.c
1465
func = PCI_FUNC(pdev->devfn);
drivers/edac/i7core_edac.c
1468
if (unlikely(func > MAX_MCR_FUNC))
drivers/edac/i7core_edac.c
1470
pvt->pci_mcr[func] = pdev;
drivers/edac/i7core_edac.c
1472
if (unlikely(func > MAX_CHAN_FUNC))
drivers/edac/i7core_edac.c
1474
pvt->pci_ch[slot - 4][func] = pdev;
drivers/edac/i7core_edac.c
1475
} else if (!slot && !func) {
drivers/edac/i7core_edac.c
1522
slot, func);
drivers/edac/i7core_edac.c
230
int func;
drivers/edac/i7core_edac.c
281
.func = (function), \
drivers/edac/sb_edac.c
2947
int dev, func;
drivers/edac/sb_edac.c
2959
func = pdev->devfn & 0x7;
drivers/edac/sb_edac.c
2970
dev, func);
drivers/edac/sb_edac.c
2987
devidx = ((dev-14)*8)+func;
drivers/edac/sb_edac.c
2992
dev, func);
drivers/edac/sb_edac.c
3010
devidx = func-2;
drivers/edac/sb_edac.c
3012
devidx = 3 + (func-2);
drivers/edac/sb_edac.c
3017
dev, func);
drivers/firewire/core-card.c
28
#define define_fw_printk_level(func, kern_level) \
drivers/firewire/core-card.c
29
void func(const struct fw_card *card, const char *fmt, ...) \
drivers/firewire/core.h
171
static inline void fw_iso_context_init_work(struct fw_iso_context *ctx, work_func_t func)
drivers/firewire/core.h
173
INIT_WORK(&ctx->work, func);
drivers/firewire/init_ohci1394_dma.c
244
static inline void __init init_ohci1394_controller(int num, int slot, int func)
drivers/firewire/init_ohci1394_dma.c
250
" at %02x:%02x.%x\n", num, slot, func);
drivers/firewire/init_ohci1394_dma.c
252
ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2))
drivers/firewire/init_ohci1394_dma.c
268
int num, slot, func;
drivers/firewire/init_ohci1394_dma.c
277
for (func = 0; func < 8; func++) {
drivers/firewire/init_ohci1394_dma.c
278
class = read_pci_config(num, slot, func,
drivers/firewire/init_ohci1394_dma.c
286
init_ohci1394_controller(num, slot, func);
drivers/firmware/arm_ffa/driver.c
883
u32 func, src_dst_ids = PACK_TARGET_INFO(dst_id, drv_info->vm_id);
drivers/firmware/arm_ffa/driver.c
885
func = is_bind ? FFA_NOTIFICATION_BIND : FFA_NOTIFICATION_UNBIND;
drivers/firmware/arm_ffa/driver.c
888
.a0 = func, .a1 = src_dst_ids, .a2 = flags,
drivers/firmware/arm_scmi/pinctrl.c
680
struct scmi_function_info *func;
drivers/firmware/arm_scmi/pinctrl.c
686
func = &pi->functions[selector];
drivers/firmware/arm_scmi/pinctrl.c
687
if (func->present)
drivers/firmware/arm_scmi/pinctrl.c
690
ret = scmi_pinctrl_attributes(ph, FUNCTION_TYPE, selector, func->name,
drivers/firmware/arm_scmi/pinctrl.c
691
&func->nr_groups);
drivers/firmware/arm_scmi/pinctrl.c
695
if (!func->nr_groups) {
drivers/firmware/arm_scmi/pinctrl.c
700
func->groups = kmalloc_array(func->nr_groups, sizeof(*func->groups),
drivers/firmware/arm_scmi/pinctrl.c
702
if (!func->groups)
drivers/firmware/arm_scmi/pinctrl.c
706
func->nr_groups, func->groups);
drivers/firmware/arm_scmi/pinctrl.c
708
kfree(func->groups);
drivers/firmware/arm_scmi/pinctrl.c
712
func->present = true;
drivers/firmware/arm_scmi/protocols.h
370
#define DECLARE_SCMI_REGISTER_UNREGISTER(func) \
drivers/firmware/arm_scmi/protocols.h
371
int __init scmi_##func##_register(void); \
drivers/firmware/arm_scmi/protocols.h
372
void __exit scmi_##func##_unregister(void)
drivers/firmware/arm_scmi/transports/optee.c
196
arg.func = PTA_SCMI_CMD_CAPABILITIES;
drivers/firmware/arm_scmi/transports/optee.c
236
arg.func = PTA_SCMI_CMD_GET_CHANNEL;
drivers/firmware/arm_scmi/transports/optee.c
261
.func = PTA_SCMI_CMD_PROCESS_SMT_CHANNEL,
drivers/firmware/arm_scmi/transports/optee.c
284
.func = PTA_SCMI_CMD_PROCESS_MSG_CHANNEL,
drivers/firmware/broadcom/tee_bnxt_fw.c
73
arg->func = cmd;
drivers/firmware/efi/libstub/efistub.h
59
#define efi_fn_call(inst, func, ...) (inst)->func(__VA_ARGS__)
drivers/firmware/efi/libstub/efistub.h
63
#define efi_call_proto(inst, func, ...) ({ \
drivers/firmware/efi/libstub/efistub.h
65
efi_fn_call(__inst, func, __inst, ##__VA_ARGS__); \
drivers/firmware/efi/libstub/efistub.h
67
#define efi_bs_call(func, ...) \
drivers/firmware/efi/libstub/efistub.h
68
efi_fn_call(efi_table_attr(efi_system_table, boottime), func, ##__VA_ARGS__)
drivers/firmware/efi/libstub/efistub.h
69
#define efi_rt_call(func, ...) \
drivers/firmware/efi/libstub/efistub.h
70
efi_fn_call(efi_table_attr(efi_system_table, runtime), func, ##__VA_ARGS__)
drivers/firmware/efi/libstub/efistub.h
71
#define efi_dxe_call(func, ...) \
drivers/firmware/efi/libstub/efistub.h
72
efi_fn_call(efi_dxe_table, func, ##__VA_ARGS__)
drivers/firmware/efi/stmm/tee_stmm_efi.c
158
static void *setup_mm_hdr(u8 **dptr, size_t payload_size, size_t func)
drivers/firmware/efi/stmm/tee_stmm_efi.c
186
var_hdr->function = func;
drivers/firmware/efi/stmm/tee_stmm_efi.c
76
arg.func = PTA_STMM_CMD_COMMUNICATE;
drivers/firmware/google/gsmi.c
190
static int gsmi_exec(u8 func, u8 sub)
drivers/firmware/google/gsmi.c
192
u16 cmd = (sub << 8) | func;
drivers/firmware/imx/imx-scu-irq.c
125
hdr->func = IMX_SC_IRQ_FUNC_STATUS;
drivers/firmware/imx/imx-scu-irq.c
153
hdr->func = IMX_SC_IRQ_FUNC_ENABLE;
drivers/firmware/imx/imx-scu-soc.c
42
hdr->func = IMX_SC_MISC_FUNC_UNIQUE_ID;
drivers/firmware/imx/imx-scu-soc.c
66
hdr->func = IMX_SC_MISC_FUNC_GET_CONTROL;
drivers/firmware/imx/imx-scu.c
173
hdr.func, hdr.size);
drivers/firmware/imx/imx-scu.c
219
saved_func = ((struct imx_sc_rpc_msg *)msg)->func;
drivers/firmware/imx/imx-scu.c
238
ret = hdr->func;
drivers/firmware/imx/misc.c
127
hdr->func = IMX_SC_PM_FUNC_CPU_START;
drivers/firmware/imx/misc.c
59
hdr->func = (uint8_t)IMX_SC_MISC_FUNC_SET_CONTROL;
drivers/firmware/imx/misc.c
91
hdr->func = (uint8_t)IMX_SC_MISC_FUNC_GET_CONTROL;
drivers/firmware/imx/rm.c
31
hdr->func = IMX_SC_RM_FUNC_IS_RESOURCE_OWNED;
drivers/firmware/imx/rm.c
43
return hdr->func;
drivers/firmware/imx/rm.c
76
hdr->func = IMX_SC_RM_FUNC_GET_RESOURCE_OWNER;
drivers/firmware/thead,th1520-aon.c
170
hdr->func = TH1520_AON_PM_FUNC_SET_RESOURCE_POWER_MODE;
drivers/gpio/gpiolib.c
377
static int validate_desc(const struct gpio_desc *desc, const char *func)
drivers/gpio/gpiolib.c
383
pr_warn("%s: invalid GPIO (errorpointer: %pe)\n", func, desc);
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1047
void (*func)(struct amdgpu_device *adev, void *ras_error_status,
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
1061
func(adev, ras_error_status, i);
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
637
void (*func)(struct amdgpu_device *adev, void *ras_error_status,
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
330
man->func = &amdgpu_gtt_mgr_func;
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c
106
man->func = &amdgpu_preempt_mgr_func;
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
430
static int amdgpu_umc_loop_all_aid(struct amdgpu_device *adev, umc_func func,
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
456
ret = func(adev, node_inst, umc_inst, ch_inst, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
470
umc_func func, void *data)
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
478
return amdgpu_umc_loop_all_aid(adev, func, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
482
ret = func(adev, node_inst, umc_inst, ch_inst, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
491
ret = func(adev, 0, umc_inst, ch_inst, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
177
umc_func func, void *data);
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
932
man->func = &amdgpu_vram_mgr_func;
drivers/gpu/drm/amd/amdgpu/atom.c
1088
void (*func) (atom_exec_context *, int *, int);
drivers/gpu/drm/amd/amdgpu/atom.c
1274
opcode_table[op].func(&ectx, &ptr,
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
154
adev->vcn.inst[0].idle_work.work.func = vcn_v1_0_idle_work_handler;
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
309
adev->vcn.inst[j].idle_work.work.func = vcn_v2_5_idle_work_handler;
drivers/gpu/drm/amd/amdgpu/vpe_6_1_fw_if.h
200
#define VPE_CMD_POLL_REGMEM_HEADER_FUNC(func) \
drivers/gpu/drm/amd/amdgpu/vpe_6_1_fw_if.h
201
(((func) & VPE_CMD_POLL_REGMEM_HEADER_FUNC_MASK) << VPE_CMD_POLL_REGMEM_HEADER_FUNC__SHIFT)
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3208
[_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, \
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3335
amdkfd_ioctl_t *func;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3387
func = ioctl->func;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3389
if (unlikely(!func)) {
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
3431
retcode = func(filep, process, kdata);
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
1053
amdkfd_ioctl_t *func;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
603
static int __set_legacy_tf(struct dc_transfer_func *func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
623
res = mod_color_calculate_regamma_params(func, gamma, true, has_rom,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
641
static int __set_output_tf(struct dc_transfer_func *func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
662
if (func->tf == TRANSFER_FUNCTION_LINEAR) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
670
res = mod_color_calculate_degamma_params(NULL, func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
679
res = mod_color_calculate_regamma_params(func, gamma, gamma != NULL,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
699
static int __set_output_tf_32(struct dc_transfer_func *func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
718
if (func->tf == TRANSFER_FUNCTION_LINEAR) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
726
res = mod_color_calculate_degamma_params(NULL, func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
735
res = mod_color_calculate_regamma_params(func, gamma, gamma != NULL,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
793
static int __set_input_tf(struct dc_color_caps *caps, struct dc_transfer_func *func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
810
res = mod_color_calculate_degamma_params(caps, func, gamma, gamma != NULL);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
829
static int __set_input_tf_32(struct dc_color_caps *caps, struct dc_transfer_func *func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
846
res = mod_color_calculate_degamma_params(caps, func, gamma, gamma != NULL);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
715
const char *func)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
725
func,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
76
const char *func, unsigned int line),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
77
TP_ARGS(read_count, write_count, last_read, last_write, func, line),
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
83
__string(func, func)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
91
__assign_str(func);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
97
__get_str(func), __entry->line,
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1002
block_sequence[num_steps].func = CLK_MGR401_UPDATE_SUBVP_HARDMINS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1012
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1021
block_sequence[num_steps].func = CLK_MGR401_UPDATE_UCLK_PSTATE_SUPPORT;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1054
block_sequence[num_steps].func = CLK_MGR401_UPDATE_WAIT_FOR_DMUB_ACK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1058
block_sequence[num_steps].func = CLK_MGR401_INDICATE_DRR_STATUS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1069
block_sequence[num_steps].func = CLK_MGR401_UPDATE_CAB_FOR_UCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1125
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1131
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DTBCLK_DTO;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1151
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK_OPTIMIZED;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1163
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DPPCLK_DTO;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1167
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DENTIST;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1174
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK_OPTIMIZED;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1180
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DPPCLK_DTO;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1189
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK_OPTIMIZED;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1195
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DENTIST;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1202
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DPPCLK_DTO;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
1211
block_sequence[num_steps].func = CLK_MGR401_UPDATE_PSR_WAIT_LOOP;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
655
switch (clk_mgr401->block_sequence[i].func) {
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
809
block_sequence[num_steps].func = CLK_MGR401_UPDATE_NUM_DISPLAYS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
851
block_sequence[num_steps].func = CLK_MGR401_UPDATE_HARDMIN_PPCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
861
block_sequence[num_steps].func = CLK_MGR401_UPDATE_DEEP_SLEEP_DCFCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
878
block_sequence[num_steps].func = CLK_MGR401_UPDATE_WAIT_FOR_DMUB_ACK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
882
block_sequence[num_steps].func = CLK_MGR401_INDICATE_DRR_STATUS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
894
block_sequence[num_steps].func = CLK_MGR401_UPDATE_CAB_FOR_UCLK;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
910
block_sequence[num_steps].func = CLK_MGR401_UPDATE_UCLK_PSTATE_SUPPORT;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
986
block_sequence[num_steps].func = CLK_MGR401_UPDATE_ACTIVE_HARDMINS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
994
block_sequence[num_steps].func = CLK_MGR401_UPDATE_IDLE_HARDMINS;
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.h
98
enum dcn401_clk_mgr_block_sequence_func func;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1338
seq_state->steps[*seq_state->num_steps].func = OPTC_PIPE_CONTROL_LOCK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1353
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_FLIP_CONTROL_GSL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1370
seq_state->steps[*seq_state->num_steps].func = HUBP_PROGRAM_TRIPLEBUFFER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1385
seq_state->steps[*seq_state->num_steps].func = HUBP_UPDATE_PLANE_ADDR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1402
seq_state->steps[*seq_state->num_steps].func = DPP_SET_INPUT_TRANSFER_FUNC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1415
seq_state->steps[*seq_state->num_steps].func = DPP_PROGRAM_GAMUT_REMAP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1427
seq_state->steps[*seq_state->num_steps].func = DPP_PROGRAM_BIAS_AND_SCALE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1440
seq_state->steps[*seq_state->num_steps].func = OPTC_PROGRAM_MANUAL_TRIGGER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1457
seq_state->steps[*seq_state->num_steps].func = DPP_SET_OUTPUT_TRANSFER_FUNC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1474
seq_state->steps[*seq_state->num_steps].func = MPC_UPDATE_VISUAL_CONFIRM;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1491
seq_state->steps[*seq_state->num_steps].func = MPC_POWER_ON_MPC_MEM_PWR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1510
seq_state->steps[*seq_state->num_steps].func = MPC_SET_OUTPUT_CSC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1529
seq_state->steps[*seq_state->num_steps].func = MPC_SET_OCSC_DEFAULT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1546
seq_state->steps[*seq_state->num_steps].func = DMUB_SEND_DMCUB_CMD;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1563
seq_state->steps[*seq_state->num_steps].func = DMUB_SUBVP_SAVE_SURF_ADDR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1578
seq_state->steps[*seq_state->num_steps].func = HUBP_WAIT_FOR_DCC_META_PROP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1591
seq_state->steps[*seq_state->num_steps].func = HUBP_WAIT_PIPE_READ_START;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1604
seq_state->steps[*seq_state->num_steps].func = HWS_APPLY_UPDATE_FLAGS_FOR_PHANTOM;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1621
seq_state->steps[*seq_state->num_steps].func = HWS_UPDATE_PHANTOM_VP_POSITION;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1639
seq_state->steps[*seq_state->num_steps].func = OPTC_SET_ODM_COMBINE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1653
seq_state->steps[*seq_state->num_steps].func = OPTC_SET_ODM_BYPASS;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1685
seq_state->steps[*seq_state->num_steps].func = TG_PROGRAM_GLOBAL_SYNC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1700
seq_state->steps[*seq_state->num_steps].func = TG_WAIT_FOR_STATE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1717
seq_state->steps[*seq_state->num_steps].func = TG_SET_VTG_PARAMS;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1731
seq_state->steps[*seq_state->num_steps].func = TG_SETUP_VERTICAL_INTERRUPT2;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1745
seq_state->steps[*seq_state->num_steps].func = DPP_SET_HDR_MULTIPLIER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1762
seq_state->steps[*seq_state->num_steps].func = HUBP_PROGRAM_DET_SIZE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1774
seq_state->steps[*seq_state->num_steps].func = HUBP_PROGRAM_MCACHE_ID;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1788
seq_state->steps[*seq_state->num_steps].func = HUBBUB_FORCE_PSTATE_CHANGE_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1805
seq_state->steps[*seq_state->num_steps].func = HUBP_PROGRAM_DET_SEGMENTS;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1824
seq_state->steps[*seq_state->num_steps].func = OPP_SET_DYN_EXPANSION;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1841
seq_state->steps[*seq_state->num_steps].func = OPP_PROGRAM_FMT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1852
seq_state->steps[*seq_state->num_steps].func = OPP_PROGRAM_LEFT_EDGE_EXTRA_PIXEL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1870
seq_state->steps[*seq_state->num_steps].func = ABM_SET_PIPE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1885
seq_state->steps[*seq_state->num_steps].func = ABM_SET_LEVEL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1898
seq_state->steps[*seq_state->num_steps].func = TG_ENABLE_CRTC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1915
seq_state->steps[*seq_state->num_steps].func = HUBP_WAIT_FLIP_PENDING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
1932
seq_state->steps[*seq_state->num_steps].func = TG_WAIT_DOUBLE_BUFFER_PENDING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3153
seq_state->steps[*seq_state->num_steps].func = DCCG_SET_DTO_DSCCLK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3165
seq_state->steps[*seq_state->num_steps].func = DSC_CALCULATE_AND_SET_CONFIG;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3177
seq_state->steps[*seq_state->num_steps].func = MPC_REMOVE_MPCC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3189
seq_state->steps[*seq_state->num_steps].func = OPP_SET_MPCC_DISCONNECT_PENDING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3201
seq_state->steps[*seq_state->num_steps].func = HUBP_DISCONNECT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3211
seq_state->steps[*seq_state->num_steps].func = DSC_ENABLE_WITH_OPP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3221
seq_state->steps[*seq_state->num_steps].func = TG_SET_DSC_CONFIG;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3233
seq_state->steps[*seq_state->num_steps].func = DSC_DISCONNECT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3243
seq_state->steps[*seq_state->num_steps].func = DC_SET_OPTIMIZED_REQUIRED;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3254
seq_state->steps[*seq_state->num_steps].func = ABM_SET_IMMEDIATE_DISABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3273
seq_state->steps[*seq_state->num_steps].func = OPP_SET_DISP_PATTERN_GENERATOR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3296
seq_state->steps[*seq_state->num_steps].func = MPC_UPDATE_BLENDING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3317
seq_state->steps[*seq_state->num_steps].func = MPC_INSERT_PLANE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3337
seq_state->steps[*seq_state->num_steps].func = MPC_ASSERT_IDLE_MPCC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3352
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_BLANK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3365
seq_state->steps[*seq_state->num_steps].func = OPP_PROGRAM_BIT_DEPTH_REDUCTION;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3378
seq_state->steps[*seq_state->num_steps].func = DC_IP_REQUEST_CNTL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3390
seq_state->steps[*seq_state->num_steps].func = DWBC_UPDATE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3403
seq_state->steps[*seq_state->num_steps].func = MCIF_WB_CONFIG_BUF;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3416
seq_state->steps[*seq_state->num_steps].func = MCIF_WB_CONFIG_ARB;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3427
seq_state->steps[*seq_state->num_steps].func = MCIF_WB_ENABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3437
seq_state->steps[*seq_state->num_steps].func = MCIF_WB_DISABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3449
seq_state->steps[*seq_state->num_steps].func = MPC_SET_DWB_MUX;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3462
seq_state->steps[*seq_state->num_steps].func = MPC_DISABLE_DWB_MUX;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3474
seq_state->steps[*seq_state->num_steps].func = DWBC_ENABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3485
seq_state->steps[*seq_state->num_steps].func = DWBC_DISABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3496
seq_state->steps[*seq_state->num_steps].func = TG_SET_GSL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3509
seq_state->steps[*seq_state->num_steps].func = TG_SET_GSL_SOURCE_SELECT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3523
seq_state->steps[*seq_state->num_steps].func = HUBP_UPDATE_MALL_SEL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3536
seq_state->steps[*seq_state->num_steps].func = HUBP_PREPARE_SUBVP_BUFFERING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3548
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_BLANK_EN;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3560
seq_state->steps[*seq_state->num_steps].func = HUBP_DISABLE_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3573
seq_state->steps[*seq_state->num_steps].func = HUBBUB_SOFT_RESET;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3586
seq_state->steps[*seq_state->num_steps].func = HUBP_CLK_CNTL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3599
seq_state->steps[*seq_state->num_steps].func = DPP_DPPCLK_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3611
seq_state->steps[*seq_state->num_steps].func = DISABLE_PHANTOM_CRTC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3623
seq_state->steps[*seq_state->num_steps].func = DSC_PG_STATUS;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3636
seq_state->steps[*seq_state->num_steps].func = DSC_WAIT_DISCONNECT_PENDING_CLEAR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3648
seq_state->steps[*seq_state->num_steps].func = DSC_DISABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3661
seq_state->steps[*seq_state->num_steps].func = DCCG_SET_REF_DSCCLK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3675
seq_state->steps[*seq_state->num_steps].func = DPP_ROOT_CLOCK_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3689
seq_state->steps[*seq_state->num_steps].func = DPP_PG_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3703
seq_state->steps[*seq_state->num_steps].func = HUBP_PG_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3715
seq_state->steps[*seq_state->num_steps].func = HUBP_INIT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3725
seq_state->steps[*seq_state->num_steps].func = HUBP_RESET;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3735
seq_state->steps[*seq_state->num_steps].func = DPP_RESET;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3746
seq_state->steps[*seq_state->num_steps].func = OPP_PIPE_CLOCK_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3760
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_VM_SYSTEM_APERTURE_SETTINGS;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3773
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_FLIP_INT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3785
seq_state->steps[*seq_state->num_steps].func = DCCG_UPDATE_DPP_DTO;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3798
seq_state->steps[*seq_state->num_steps].func = HUBP_VTG_SEL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3812
seq_state->steps[*seq_state->num_steps].func = HUBP_SETUP2;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3829
seq_state->steps[*seq_state->num_steps].func = HUBP_SETUP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3844
seq_state->steps[*seq_state->num_steps].func = HUBP_SET_UNBOUNDED_REQUESTING;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3856
seq_state->steps[*seq_state->num_steps].func = HUBP_SETUP_INTERDEPENDENT2;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3869
seq_state->steps[*seq_state->num_steps].func = HUBP_SETUP_INTERDEPENDENT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3888
seq_state->steps[*seq_state->num_steps].func = HUBP_PROGRAM_SURFACE_CONFIG;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3905
seq_state->steps[*seq_state->num_steps].func = DPP_SETUP_DPP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3917
seq_state->steps[*seq_state->num_steps].func = DPP_SET_CURSOR_MATRIX;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3930
seq_state->steps[*seq_state->num_steps].func = DPP_SET_SCALER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3943
seq_state->steps[*seq_state->num_steps].func = HUBP_MEM_PROGRAM_VIEWPORT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3956
seq_state->steps[*seq_state->num_steps].func = ABORT_CURSOR_OFFLOAD_UPDATE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3968
seq_state->steps[*seq_state->num_steps].func = SET_CURSOR_ATTRIBUTE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3980
seq_state->steps[*seq_state->num_steps].func = SET_CURSOR_POSITION;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
3992
seq_state->steps[*seq_state->num_steps].func = SET_CURSOR_SDR_WHITE_LEVEL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4007
seq_state->steps[*seq_state->num_steps].func = PROGRAM_OUTPUT_CSC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4021
seq_state->steps[*seq_state->num_steps].func = PHANTOM_HUBP_POST_ENABLE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4032
seq_state->steps[*seq_state->num_steps].func = UPDATE_FORCE_PSTATE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4043
seq_state->steps[*seq_state->num_steps].func = HUBBUB_APPLY_DEDCN21_147_WA;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4055
seq_state->steps[*seq_state->num_steps].func = HUBBUB_ALLOW_SELF_REFRESH_CONTROL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
4068
seq_state->steps[*seq_state->num_steps].func = TG_GET_FRAME_COUNT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
755
block_sequence[*num_steps].func = HUBP_WAIT_FOR_DCC_META_PROP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
763
block_sequence[*num_steps].func = DMUB_SUBVP_PIPE_CONTROL_LOCK_FAST;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
773
block_sequence[*num_steps].func = DMUB_HW_CONTROL_LOCK_FAST;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
780
block_sequence[*num_steps].func = OPTC_PIPE_CONTROL_LOCK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
788
block_sequence[*num_steps].func = DMUB_SEND_DMCUB_CMD;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
800
block_sequence[*num_steps].func = HUBP_SET_FLIP_CONTROL_GSL;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
807
block_sequence[*num_steps].func = HUBP_PROGRAM_TRIPLEBUFFER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
816
block_sequence[*num_steps].func = DMUB_SUBVP_SAVE_SURF_ADDR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
822
block_sequence[*num_steps].func = HUBP_UPDATE_PLANE_ADDR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
830
block_sequence[*num_steps].func = DPP_SET_INPUT_TRANSFER_FUNC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
836
block_sequence[*num_steps].func = DPP_PROGRAM_GAMUT_REMAP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
841
block_sequence[*num_steps].func = DPP_SETUP_DPP;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
846
block_sequence[*num_steps].func = DPP_PROGRAM_BIAS_AND_SCALE;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
854
block_sequence[*num_steps].func = DPP_SET_OUTPUT_TRANSFER_FUNC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
862
block_sequence[*num_steps].func = MPC_UPDATE_VISUAL_CONFIRM;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
869
block_sequence[*num_steps].func = MPC_POWER_ON_MPC_MEM_PWR;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
877
block_sequence[*num_steps].func = MPC_SET_OUTPUT_CSC;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
884
block_sequence[*num_steps].func = MPC_SET_OCSC_DEFAULT;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
897
block_sequence[*num_steps].func = OPTC_PIPE_CONTROL_LOCK;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
905
block_sequence[*num_steps].func = DMUB_SUBVP_PIPE_CONTROL_LOCK_FAST;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
912
block_sequence[*num_steps].func = DMUB_HW_CONTROL_LOCK_FAST;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
928
block_sequence[*num_steps].func = PROGRAM_CURSOR_UPDATE_NOW;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
933
block_sequence[*num_steps].func = OPTC_PROGRAM_MANUAL_TRIGGER;
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
952
switch (block_sequence[i].func) {
drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h
983
enum block_sequence_func func;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
461
mod_hdcp_action func, uint8_t *flag,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
464
*status = func(hdcp);
drivers/gpu/drm/amd/include/cgs_common.h
159
#define CGS_CALL(func, dev, ...) \
drivers/gpu/drm/amd/include/cgs_common.h
160
(((struct cgs_device *)dev)->ops->func(dev, ##__VA_ARGS__))
drivers/gpu/drm/amd/include/cgs_common.h
161
#define CGS_OS_CALL(func, dev, ...) \
drivers/gpu/drm/amd/include/cgs_common.h
162
(((struct cgs_device *)dev)->os_ops->func(dev, ##__VA_ARGS__))
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
883
pp_tables_hw_clock_info_callback func)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
927
res = func(hwmgr, &ps->hardware, i, pclock_info);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
954
int res = func(hwmgr, &ps->hardware, i, pclock_info);
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.h
45
pp_tables_hw_clock_info_callback func);
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c
247
res = ras_cmd->func(ras_core, cmd, NULL);
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c
347
res = ras_cmd->func(ras_core, cmd, NULL);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.c
459
return ras_cmd->func(ras_core, cmd, data);
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
116
int (*func)(struct ras_core_context *ras_core,
drivers/gpu/drm/drm_flip_work.c
121
work->func(work, task->data);
drivers/gpu/drm/drm_flip_work.c
136
const char *name, drm_flip_func_t func)
drivers/gpu/drm/drm_flip_work.c
142
work->func = func;
drivers/gpu/drm/drm_flip_work.c
74
work->func(work, val);
drivers/gpu/drm/drm_ioctl.c
626
.func = _func, \
drivers/gpu/drm/drm_ioctl.c
787
long drm_ioctl_kernel(struct file *file, drm_ioctl_t *func, void *kdata,
drivers/gpu/drm/drm_ioctl.c
804
return func(dev, kdata, file_priv);
drivers/gpu/drm/drm_ioctl.c
827
drm_ioctl_t *func;
drivers/gpu/drm/drm_ioctl.c
875
func = ioctl->func;
drivers/gpu/drm/drm_ioctl.c
877
if (unlikely(!func)) {
drivers/gpu/drm/drm_ioctl.c
901
retcode = drm_ioctl_kernel(filp, func, kdata, ioctl->flags);
drivers/gpu/drm/drm_probe_helper.c
870
return work && work->func == output_poll_execute;
drivers/gpu/drm/drm_syncobj.c
1144
(!entries[i].fence_cb.func &&
drivers/gpu/drm/drm_syncobj.c
1181
if (entries[i].fence_cb.func)
drivers/gpu/drm/drm_vblank_work.c
268
void (*func)(struct kthread_work *work))
drivers/gpu/drm/drm_vblank_work.c
270
kthread_init_work(&work->base, func);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
477
#define ETNA_IOCTL(n, func, flags) \
drivers/gpu/drm/etnaviv/etnaviv_drv.c
478
DRM_IOCTL_DEF_DRV(ETNAVIV_##n, etnaviv_ioctl_##func, flags)
drivers/gpu/drm/i915/display/intel_bios.c
3817
void (*func)(struct intel_display *display,
drivers/gpu/drm/i915/display/intel_bios.c
3823
func(display, devdata);
drivers/gpu/drm/i915/display/intel_bios.h
103
void (*func)(struct intel_display *display,
drivers/gpu/drm/i915/display/intel_display_device.h
101
func(lunarlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
103
func(battlemage) \
drivers/gpu/drm/i915/display/intel_display_device.h
105
func(pantherlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
106
func(pantherlake_wildcatlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
108
func(novalake)
drivers/gpu/drm/i915/display/intel_display_device.h
129
#define DEV_INFO_DISPLAY_FOR_EACH_FLAG(func) \
drivers/gpu/drm/i915/display/intel_display_device.h
131
func(cursor_needs_physical); \
drivers/gpu/drm/i915/display/intel_display_device.h
132
func(has_cdclk_crawl); \
drivers/gpu/drm/i915/display/intel_display_device.h
133
func(has_cdclk_squash); \
drivers/gpu/drm/i915/display/intel_display_device.h
134
func(has_ddi); \
drivers/gpu/drm/i915/display/intel_display_device.h
135
func(has_dp_mst); \
drivers/gpu/drm/i915/display/intel_display_device.h
136
func(has_dsb); \
drivers/gpu/drm/i915/display/intel_display_device.h
137
func(has_fpga_dbg); \
drivers/gpu/drm/i915/display/intel_display_device.h
138
func(has_gmch); \
drivers/gpu/drm/i915/display/intel_display_device.h
139
func(has_hotplug); \
drivers/gpu/drm/i915/display/intel_display_device.h
140
func(has_hti); \
drivers/gpu/drm/i915/display/intel_display_device.h
141
func(has_ipc); \
drivers/gpu/drm/i915/display/intel_display_device.h
142
func(has_overlay); \
drivers/gpu/drm/i915/display/intel_display_device.h
143
func(has_psr); \
drivers/gpu/drm/i915/display/intel_display_device.h
144
func(has_psr_hw_tracking); \
drivers/gpu/drm/i915/display/intel_display_device.h
145
func(overlay_needs_physical); \
drivers/gpu/drm/i915/display/intel_display_device.h
146
func(supports_tv);
drivers/gpu/drm/i915/display/intel_display_device.h
24
#define INTEL_DISPLAY_PLATFORMS(func) \
drivers/gpu/drm/i915/display/intel_display_device.h
26
func(g4x) /* g45 and gm45 */ \
drivers/gpu/drm/i915/display/intel_display_device.h
27
func(mobile) /* mobile platforms */ \
drivers/gpu/drm/i915/display/intel_display_device.h
28
func(dgfx) /* discrete graphics */ \
drivers/gpu/drm/i915/display/intel_display_device.h
30
func(i830) \
drivers/gpu/drm/i915/display/intel_display_device.h
31
func(i845g) \
drivers/gpu/drm/i915/display/intel_display_device.h
32
func(i85x) \
drivers/gpu/drm/i915/display/intel_display_device.h
33
func(i865g) \
drivers/gpu/drm/i915/display/intel_display_device.h
35
func(i915g) \
drivers/gpu/drm/i915/display/intel_display_device.h
36
func(i915gm) \
drivers/gpu/drm/i915/display/intel_display_device.h
37
func(i945g) \
drivers/gpu/drm/i915/display/intel_display_device.h
38
func(i945gm) \
drivers/gpu/drm/i915/display/intel_display_device.h
39
func(g33) \
drivers/gpu/drm/i915/display/intel_display_device.h
40
func(pineview) \
drivers/gpu/drm/i915/display/intel_display_device.h
42
func(i965g) \
drivers/gpu/drm/i915/display/intel_display_device.h
43
func(i965gm) \
drivers/gpu/drm/i915/display/intel_display_device.h
44
func(g45) \
drivers/gpu/drm/i915/display/intel_display_device.h
45
func(gm45) \
drivers/gpu/drm/i915/display/intel_display_device.h
47
func(ironlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
49
func(sandybridge) \
drivers/gpu/drm/i915/display/intel_display_device.h
51
func(ivybridge) \
drivers/gpu/drm/i915/display/intel_display_device.h
52
func(valleyview) \
drivers/gpu/drm/i915/display/intel_display_device.h
53
func(haswell) \
drivers/gpu/drm/i915/display/intel_display_device.h
54
func(haswell_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
55
func(haswell_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
57
func(broadwell) \
drivers/gpu/drm/i915/display/intel_display_device.h
58
func(broadwell_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
59
func(broadwell_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
60
func(cherryview) \
drivers/gpu/drm/i915/display/intel_display_device.h
62
func(skylake) \
drivers/gpu/drm/i915/display/intel_display_device.h
63
func(skylake_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
64
func(skylake_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
65
func(broxton) \
drivers/gpu/drm/i915/display/intel_display_device.h
66
func(kabylake) \
drivers/gpu/drm/i915/display/intel_display_device.h
67
func(kabylake_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
68
func(kabylake_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
69
func(geminilake) \
drivers/gpu/drm/i915/display/intel_display_device.h
70
func(coffeelake) \
drivers/gpu/drm/i915/display/intel_display_device.h
71
func(coffeelake_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
72
func(coffeelake_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
73
func(cometlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
74
func(cometlake_ult) \
drivers/gpu/drm/i915/display/intel_display_device.h
75
func(cometlake_ulx) \
drivers/gpu/drm/i915/display/intel_display_device.h
77
func(icelake) \
drivers/gpu/drm/i915/display/intel_display_device.h
78
func(icelake_port_f) \
drivers/gpu/drm/i915/display/intel_display_device.h
79
func(jasperlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
80
func(elkhartlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
82
func(tigerlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
83
func(tigerlake_uy) \
drivers/gpu/drm/i915/display/intel_display_device.h
84
func(rocketlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
85
func(dg1) \
drivers/gpu/drm/i915/display/intel_display_device.h
86
func(alderlake_s) \
drivers/gpu/drm/i915/display/intel_display_device.h
87
func(alderlake_s_raptorlake_s) \
drivers/gpu/drm/i915/display/intel_display_device.h
89
func(alderlake_p) \
drivers/gpu/drm/i915/display/intel_display_device.h
90
func(alderlake_p_alderlake_n) \
drivers/gpu/drm/i915/display/intel_display_device.h
91
func(alderlake_p_raptorlake_p) \
drivers/gpu/drm/i915/display/intel_display_device.h
92
func(alderlake_p_raptorlake_u) \
drivers/gpu/drm/i915/display/intel_display_device.h
93
func(dg2) \
drivers/gpu/drm/i915/display/intel_display_device.h
94
func(dg2_g10) \
drivers/gpu/drm/i915/display/intel_display_device.h
95
func(dg2_g11) \
drivers/gpu/drm/i915/display/intel_display_device.h
96
func(dg2_g12) \
drivers/gpu/drm/i915/display/intel_display_device.h
98
func(meteorlake) \
drivers/gpu/drm/i915/display/intel_display_device.h
99
func(meteorlake_u) \
drivers/gpu/drm/i915/display/intel_display_rps.c
71
wait->wait.func = do_rps_boost;
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
285
static void (* const func[])(struct kthread_work *) = {
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
382
for (fn = func; !err && *fn; fn++) {
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
155
cur->func(fence, cur);
drivers/gpu/drm/i915/gt/intel_engine_pm.c
254
cb->func(ERR_PTR(-EAGAIN), cb);
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
29
int (func)(struct intel_gt *gt, u32 val), u32 val)
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
40
ret = func(gt, val);
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
46
ret = func(gt, val);
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
54
u32 (func)(struct intel_gt *gt),
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
68
u32 val = func(gt);
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
84
ret = func(gt);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1886
if (t->func)
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1897
if (t->func) {
drivers/gpu/drm/i915/gt/selftest_reset.c
332
if (t->func)
drivers/gpu/drm/i915/gt/selftest_reset.c
357
if (t->func) {
drivers/gpu/drm/i915/gt/selftest_rps.c
1054
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
1055
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
1095
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
1162
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
1163
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
1247
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
237
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
238
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
364
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
401
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
402
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
501
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
632
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
633
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
737
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
771
saved_work = rps->work.func;
drivers/gpu/drm/i915/gt/selftest_rps.c
772
rps->work.func = dummy_rps_work;
drivers/gpu/drm/i915/gt/selftest_rps.c
875
rps->work.func = saved_work;
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
2686
#define MAKE_CONTEXT_POLICY_ADD(func, id) \
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
2687
static void __guc_context_policy_add_##func(struct context_policy *policy, u32 data) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
78
#define __uc_state_checker(x, func, state, required) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
79
static inline bool intel_uc_##state##_##func(struct intel_uc *uc) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
81
return intel_##func##_is_##required(&uc->x); \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
84
#define uc_state_checkers(x, func) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
85
__uc_state_checker(x, func, supports, supported) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
86
__uc_state_checker(x, func, wants, wanted) \
drivers/gpu/drm/i915/gt/uc/intel_uc.h
87
__uc_state_checker(x, func, uses, used)
drivers/gpu/drm/i915/gvt/handlers.c
3151
gvt_mmio_func func;
drivers/gpu/drm/i915/gvt/handlers.c
3162
func = is_read ? mmio_block->read : mmio_block->write;
drivers/gpu/drm/i915/gvt/handlers.c
3163
if (func)
drivers/gpu/drm/i915/gvt/handlers.c
3164
return func(vgpu, offset, pdata, bytes);
drivers/gpu/drm/i915/gvt/kvmgt.c
1107
int (*func)(struct intel_vgpu *vgpu, unsigned int index,
drivers/gpu/drm/i915/gvt/kvmgt.c
1115
func = intel_vgpu_set_intx_mask;
drivers/gpu/drm/i915/gvt/kvmgt.c
1118
func = intel_vgpu_set_intx_unmask;
drivers/gpu/drm/i915/gvt/kvmgt.c
1121
func = intel_vgpu_set_intx_trigger;
drivers/gpu/drm/i915/gvt/kvmgt.c
1132
func = intel_vgpu_set_msi_trigger;
drivers/gpu/drm/i915/gvt/kvmgt.c
1138
if (!func)
drivers/gpu/drm/i915/gvt/kvmgt.c
1141
return func(vgpu, index, start, count, flags, data);
drivers/gpu/drm/i915/gvt/opregion.c
318
static const char *opregion_func_name(u32 func)
drivers/gpu/drm/i915/gvt/opregion.c
322
switch (func) {
drivers/gpu/drm/i915/gvt/opregion.c
391
u32 func, subfunc;
drivers/gpu/drm/i915/gvt/opregion.c
393
func = GVT_OPREGION_FUNC(scic);
drivers/gpu/drm/i915/gvt/opregion.c
396
if ((func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSDATA &&
drivers/gpu/drm/i915/gvt/opregion.c
398
|| (func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSDATA &&
drivers/gpu/drm/i915/gvt/opregion.c
400
|| (func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSCALLBACKS &&
drivers/gpu/drm/i915/gvt/opregion.c
418
u32 func, subfunc;
drivers/gpu/drm/i915/gvt/opregion.c
451
func = GVT_OPREGION_FUNC(scic);
drivers/gpu/drm/i915/gvt/opregion.c
456
opregion_func_name(func),
drivers/gpu/drm/i915/i915_active.c
664
wb->base.func = barrier_wake;
drivers/gpu/drm/i915/i915_active.c
872
node->base.cb.func = node_retire;
drivers/gpu/drm/i915/i915_active.h
68
active->cb.func = fn ?: i915_active_noop;
drivers/gpu/drm/i915/i915_request.c
213
wrk->func(wrk);
drivers/gpu/drm/i915/i915_selftest.h
63
#define selftest(name, func) int func(void);
drivers/gpu/drm/i915/i915_selftest.h
66
#define selftest(name, func) int func(struct drm_i915_private *i915);
drivers/gpu/drm/i915/i915_selftest.h
72
int (*func)(void *data);
drivers/gpu/drm/i915/i915_sw_fence.c
164
pos->func(pos, TASK_NORMAL, 0, continuation);
drivers/gpu/drm/i915/i915_sw_fence.c
177
pos->func(pos, TASK_NORMAL, wake_flags, &extra);
drivers/gpu/drm/i915/i915_sw_fence.c
294
if (wq->func != i915_sw_fence_wake)
drivers/gpu/drm/i915/i915_sw_fence.c
312
if (wq->func != i915_sw_fence_wake)
drivers/gpu/drm/i915/i915_sw_fence.c
378
wq->func = i915_sw_fence_wake;
drivers/gpu/drm/i915/i915_sw_fence.c
487
dma_fence_func_t func;
drivers/gpu/drm/i915/i915_sw_fence.c
517
func = dma_i915_sw_fence_wake;
drivers/gpu/drm/i915/i915_sw_fence.c
529
func = dma_i915_sw_fence_wake_timer;
drivers/gpu/drm/i915/i915_sw_fence.c
532
ret = dma_fence_add_callback(dma, &cb->base, func);
drivers/gpu/drm/i915/i915_sw_fence.c
536
func(dma, &cb->base);
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
309
man->func = &i915_ttm_buddy_manager_func;
drivers/gpu/drm/i915/intel_device_info.h
144
#define DEV_INFO_FOR_EACH_FLAG(func) \
drivers/gpu/drm/i915/intel_device_info.h
145
func(is_mobile); \
drivers/gpu/drm/i915/intel_device_info.h
146
func(require_force_probe); \
drivers/gpu/drm/i915/intel_device_info.h
147
func(is_dgfx); \
drivers/gpu/drm/i915/intel_device_info.h
149
func(has_64bit_reloc); \
drivers/gpu/drm/i915/intel_device_info.h
150
func(has_64k_pages); \
drivers/gpu/drm/i915/intel_device_info.h
151
func(gpu_reset_clobbers_display); \
drivers/gpu/drm/i915/intel_device_info.h
152
func(has_reset_engine); \
drivers/gpu/drm/i915/intel_device_info.h
153
func(has_3d_pipeline); \
drivers/gpu/drm/i915/intel_device_info.h
154
func(has_flat_ccs); \
drivers/gpu/drm/i915/intel_device_info.h
155
func(has_global_mocs); \
drivers/gpu/drm/i915/intel_device_info.h
156
func(has_gmd_id); \
drivers/gpu/drm/i915/intel_device_info.h
157
func(has_gt_uc); \
drivers/gpu/drm/i915/intel_device_info.h
158
func(has_heci_pxp); \
drivers/gpu/drm/i915/intel_device_info.h
159
func(has_heci_gscfi); \
drivers/gpu/drm/i915/intel_device_info.h
160
func(has_guc_deprivilege); \
drivers/gpu/drm/i915/intel_device_info.h
161
func(has_guc_tlb_invalidation); \
drivers/gpu/drm/i915/intel_device_info.h
162
func(has_l3_ccs_read); \
drivers/gpu/drm/i915/intel_device_info.h
163
func(has_l3_dpf); \
drivers/gpu/drm/i915/intel_device_info.h
164
func(has_llc); \
drivers/gpu/drm/i915/intel_device_info.h
165
func(has_logical_ring_contexts); \
drivers/gpu/drm/i915/intel_device_info.h
166
func(has_logical_ring_elsq); \
drivers/gpu/drm/i915/intel_device_info.h
167
func(has_media_ratio_mode); \
drivers/gpu/drm/i915/intel_device_info.h
168
func(has_mslice_steering); \
drivers/gpu/drm/i915/intel_device_info.h
169
func(has_oa_bpc_reporting); \
drivers/gpu/drm/i915/intel_device_info.h
170
func(has_oa_slice_contrib_limits); \
drivers/gpu/drm/i915/intel_device_info.h
171
func(has_oam); \
drivers/gpu/drm/i915/intel_device_info.h
172
func(has_one_eu_per_fuse_bit); \
drivers/gpu/drm/i915/intel_device_info.h
173
func(has_pxp); \
drivers/gpu/drm/i915/intel_device_info.h
174
func(has_rc6); \
drivers/gpu/drm/i915/intel_device_info.h
175
func(has_rc6p); \
drivers/gpu/drm/i915/intel_device_info.h
176
func(has_rps); \
drivers/gpu/drm/i915/intel_device_info.h
177
func(has_runtime_pm); \
drivers/gpu/drm/i915/intel_device_info.h
178
func(has_snoop); \
drivers/gpu/drm/i915/intel_device_info.h
179
func(has_coherent_ggtt); \
drivers/gpu/drm/i915/intel_device_info.h
180
func(tuning_thread_rr_after_dep); \
drivers/gpu/drm/i915/intel_device_info.h
181
func(unfenced_needs_alignment); \
drivers/gpu/drm/i915/intel_device_info.h
182
func(hws_needs_physical);
drivers/gpu/drm/i915/intel_region_ttm.c
238
ret = man->func->alloc(man, &mock_bo, &place, &res);
drivers/gpu/drm/i915/intel_region_ttm.c
265
man->func->free(man, res);
drivers/gpu/drm/i915/intel_step.h
24
#define STEP_NAME_LIST(func) \
drivers/gpu/drm/i915/intel_step.h
25
func(A0) \
drivers/gpu/drm/i915/intel_step.h
26
func(A1) \
drivers/gpu/drm/i915/intel_step.h
27
func(A2) \
drivers/gpu/drm/i915/intel_step.h
28
func(A3) \
drivers/gpu/drm/i915/intel_step.h
29
func(B0) \
drivers/gpu/drm/i915/intel_step.h
30
func(B1) \
drivers/gpu/drm/i915/intel_step.h
31
func(B2) \
drivers/gpu/drm/i915/intel_step.h
32
func(B3) \
drivers/gpu/drm/i915/intel_step.h
33
func(C0) \
drivers/gpu/drm/i915/intel_step.h
34
func(C1) \
drivers/gpu/drm/i915/intel_step.h
35
func(C2) \
drivers/gpu/drm/i915/intel_step.h
36
func(C3) \
drivers/gpu/drm/i915/intel_step.h
37
func(D0) \
drivers/gpu/drm/i915/intel_step.h
38
func(D1) \
drivers/gpu/drm/i915/intel_step.h
39
func(D2) \
drivers/gpu/drm/i915/intel_step.h
40
func(D3) \
drivers/gpu/drm/i915/intel_step.h
41
func(E0) \
drivers/gpu/drm/i915/intel_step.h
42
func(E1) \
drivers/gpu/drm/i915/intel_step.h
43
func(E2) \
drivers/gpu/drm/i915/intel_step.h
44
func(E3) \
drivers/gpu/drm/i915/intel_step.h
45
func(F0) \
drivers/gpu/drm/i915/intel_step.h
46
func(F1) \
drivers/gpu/drm/i915/intel_step.h
47
func(F2) \
drivers/gpu/drm/i915/intel_step.h
48
func(F3) \
drivers/gpu/drm/i915/intel_step.h
49
func(G0) \
drivers/gpu/drm/i915/intel_step.h
50
func(G1) \
drivers/gpu/drm/i915/intel_step.h
51
func(G2) \
drivers/gpu/drm/i915/intel_step.h
52
func(G3) \
drivers/gpu/drm/i915/intel_step.h
53
func(H0) \
drivers/gpu/drm/i915/intel_step.h
54
func(H1) \
drivers/gpu/drm/i915/intel_step.h
55
func(H2) \
drivers/gpu/drm/i915/intel_step.h
56
func(H3) \
drivers/gpu/drm/i915/intel_step.h
57
func(I0) \
drivers/gpu/drm/i915/intel_step.h
58
func(I1) \
drivers/gpu/drm/i915/intel_step.h
59
func(I2) \
drivers/gpu/drm/i915/intel_step.h
60
func(I3) \
drivers/gpu/drm/i915/intel_step.h
61
func(J0) \
drivers/gpu/drm/i915/intel_step.h
62
func(J1) \
drivers/gpu/drm/i915/intel_step.h
63
func(J2) \
drivers/gpu/drm/i915/intel_step.h
64
func(J3)
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1198
int (*func)(struct i915_address_space *vm,
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1222
err = func(&ppgtt->vm, 0, ppgtt->vm.total, end_time);
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1284
int (*func)(struct i915_address_space *vm,
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1306
err = func(&ggtt->vm, hole_start, hole_end, end_time);
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1461
int (*func)(struct i915_address_space *vm,
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1476
err = func(vm, 0, min(vm->total, limit), end_time);
drivers/gpu/drm/i915/selftests/i915_request.c
1612
static void (* const func[])(struct kthread_work *) = {
drivers/gpu/drm/i915/selftests/i915_request.c
1633
for (fn = func; !err && *fn; fn++) {
drivers/gpu/drm/i915/selftests/i915_request.c
2824
static int (* const func[])(void *arg) = {
drivers/gpu/drm/i915/selftests/i915_request.c
2874
for (fn = func; *fn && !err; fn++) {
drivers/gpu/drm/i915/selftests/i915_request.c
3182
static void (* const func[])(struct kthread_work *) = {
drivers/gpu/drm/i915/selftests/i915_request.c
3201
for (fn = func; *fn; fn++) {
drivers/gpu/drm/i915/selftests/i915_selftest.c
100
#define selftest(n, func) selftest_0(n, func, param(n))
drivers/gpu/drm/i915/selftests/i915_selftest.c
102
#define selftest_0(n, func, id) \
drivers/gpu/drm/i915/selftests/i915_selftest.c
109
#define selftest_0(n, func, id) \
drivers/gpu/drm/i915/selftests/i915_selftest.c
116
#define selftest_0(n, func, id) \
drivers/gpu/drm/i915/selftests/i915_selftest.c
448
err = teardown(st->func(data), data);
drivers/gpu/drm/i915/selftests/igt_live_test.c
17
const char *func,
drivers/gpu/drm/i915/selftests/igt_live_test.c
27
t->func = func;
drivers/gpu/drm/i915/selftests/igt_live_test.c
35
func, name, err);
drivers/gpu/drm/i915/selftests/igt_live_test.c
63
t->func, t->name,
drivers/gpu/drm/i915/selftests/igt_live_test.c
75
t->func, t->name, engine->name,
drivers/gpu/drm/i915/selftests/igt_live_test.h
17
const char *func;
drivers/gpu/drm/i915/selftests/igt_live_test.h
32
const char *func,
drivers/gpu/drm/lima/lima_device.c
33
#define LIMA_IP_DESC(ipname, mst0, mst1, off0, off1, func, irq) \
drivers/gpu/drm/lima/lima_device.c
45
.init = lima_##func##_init, \
drivers/gpu/drm/lima/lima_device.c
46
.fini = lima_##func##_fini, \
drivers/gpu/drm/lima/lima_device.c
47
.resume = lima_##func##_resume, \
drivers/gpu/drm/lima/lima_device.c
48
.suspend = lima_##func##_suspend, \
drivers/gpu/drm/lima/lima_device.h
124
static inline int lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func,
drivers/gpu/drm/lima/lima_device.h
131
if (func(ip))
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
463
void (*func)(void *arg),
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
478
DRMID(phys_enc->parent), func,
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
485
DRMID(phys_enc->parent), func);
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
490
DRMID(phys_enc->parent), func,
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
506
DRMID(phys_enc->parent), func,
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
510
func(phys_enc);
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
517
DRMID(phys_enc->parent), func,
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
524
func, DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx),
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h
331
void (*func)(void *arg),
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h
193
TP_PROTO(uint32_t drm_id, void *func,
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h
195
TP_ARGS(drm_id, func, irq_reg, irq_bit, pp_idx, atomic_cnt),
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h
198
__field( void *, func )
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h
206
__entry->func = func;
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h
213
__entry->drm_id, __entry->func,
drivers/gpu/drm/nouveau/dispnv50/base507c.c
245
if (!wndw->func->ilut) {
drivers/gpu/drm/nouveau/dispnv50/base507c.c
303
base507c_new_(const struct nv50_wndw_func *func, const u32 *format,
drivers/gpu/drm/nouveau/dispnv50/base507c.c
314
ret = nv50_wndw_new_(func, drm->dev, DRM_PLANE_TYPE_PRIMARY,
drivers/gpu/drm/nouveau/dispnv50/core.h
9
const struct nv50_core_func *func;
drivers/gpu/drm/nouveau/dispnv50/core507d.c
157
core507d_new_(const struct nv50_core_func *func, struct nouveau_drm *drm,
drivers/gpu/drm/nouveau/dispnv50/core507d.c
167
core->func = func;
drivers/gpu/drm/nouveau/dispnv50/corec37d.c
108
disp->core->func->caps_class, NULL, 0, &disp->caps);
drivers/gpu/drm/nouveau/dispnv50/crc.c
130
const struct nv50_crc_func *func,
drivers/gpu/drm/nouveau/dispnv50/crc.c
137
while (crc->entry_idx < func->num_entries) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
143
output_crc = func->get_entry(head, &crc->ctx[crc->ctx_idx],
drivers/gpu/drm/nouveau/dispnv50/crc.c
158
const struct nv50_crc_func *func =
drivers/gpu/drm/nouveau/dispnv50/crc.c
159
nv50_disp(head->base.base.dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
163
if (!func)
drivers/gpu/drm/nouveau/dispnv50/crc.c
178
if (crc->ctx_changed && func->ctx_finished(head, ctx)) {
drivers/gpu/drm/nouveau/dispnv50/crc.c
179
nv50_crc_get_entries(head, func, crc->src);
drivers/gpu/drm/nouveau/dispnv50/crc.c
207
nv50_crc_get_entries(head, func, crc->src);
drivers/gpu/drm/nouveau/dispnv50/crc.c
221
const struct nv50_crc_func *func,
drivers/gpu/drm/nouveau/dispnv50/crc.c
229
if (func->ctx_finished(head, ctx)) break;);
drivers/gpu/drm/nouveau/dispnv50/crc.c
296
const struct nv50_crc_func *func =
drivers/gpu/drm/nouveau/dispnv50/crc.c
297
nv50_disp(state->dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
312
nv50_crc_wait_ctx_finished(head, func, ctx);
drivers/gpu/drm/nouveau/dispnv50/crc.c
315
nv50_crc_wait_ctx_finished(head, func, ctx);
drivers/gpu/drm/nouveau/dispnv50/crc.c
456
const struct nv50_crc_func *func = nv50_disp(dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
468
func->set_src(head, outp->outp.or.id, nv50_crc_source_type(outp, asyh->crc.src),
drivers/gpu/drm/nouveau/dispnv50/crc.c
474
const struct nv50_crc_func *func =
drivers/gpu/drm/nouveau/dispnv50/crc.c
475
nv50_disp(head->base.base.dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
477
func->set_src(head, 0, NV50_CRC_SOURCE_TYPE_NONE, NULL);
drivers/gpu/drm/nouveau/dispnv50/crc.c
551
const struct nv50_crc_func *func = nv50_disp(dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
580
func->notifier_len, i);
drivers/gpu/drm/nouveau/dispnv50/crc.c
610
crc->flip_threshold = func->flip_threshold;
drivers/gpu/drm/nouveau/dispnv50/crc.c
667
const struct nv50_crc_func *func =
drivers/gpu/drm/nouveau/dispnv50/crc.c
668
nv50_disp(crtc->dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
675
if (value > func->flip_threshold)
drivers/gpu/drm/nouveau/dispnv50/crc.c
678
value = func->flip_threshold;
drivers/gpu/drm/nouveau/dispnv50/crc.c
714
const struct nv50_crc_func *func =
drivers/gpu/drm/nouveau/dispnv50/crc.c
715
nv50_disp(crtc->dev)->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
718
if (!func || !crtc->debugfs_entry)
drivers/gpu/drm/nouveau/dispnv50/crc.c
729
nv50_crc_init_head(struct nv50_disp *disp, const struct nv50_crc_func *func,
drivers/gpu/drm/nouveau/dispnv50/crc.c
734
crc->flip_threshold = func->flip_threshold;
drivers/gpu/drm/nouveau/dispnv50/crc.c
744
const struct nv50_crc_func *func = disp->core->func->crc;
drivers/gpu/drm/nouveau/dispnv50/crc.c
746
if (!func)
drivers/gpu/drm/nouveau/dispnv50/crc.c
750
nv50_crc_init_head(disp, func, nv50_head(crtc));
drivers/gpu/drm/nouveau/dispnv50/crc.c
79
core->func->crc->set_ctx(head, ctx);
drivers/gpu/drm/nouveau/dispnv50/crc.c
80
core->func->update(core, interlock, false);
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
137
ret = head->func->curs_layout(head, asyw, asyh);
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
145
ret = head->func->curs_format(head, asyw, asyh);
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
170
curs507a_new_(const struct nv50_wimm_func *func, struct nouveau_drm *drm,
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
195
wndw->immd = func;
drivers/gpu/drm/nouveau/dispnv50/disp.c
1057
if (head->func->display_id) {
drivers/gpu/drm/nouveau/dispnv50/disp.c
1059
head->func->display_id(head, msto->display_id);
drivers/gpu/drm/nouveau/dispnv50/disp.c
1082
if (msto->head->func->display_id)
drivers/gpu/drm/nouveau/dispnv50/disp.c
1083
msto->head->func->display_id(msto->head, 0);
drivers/gpu/drm/nouveau/dispnv50/disp.c
1556
core->func->sor->ctrl(core, nv_encoder->outp.or.id, nv_encoder->ctrl, asyh);
drivers/gpu/drm/nouveau/dispnv50/disp.c
1593
if (head->func->display_id)
drivers/gpu/drm/nouveau/dispnv50/disp.c
1594
head->func->display_id(head, 0);
drivers/gpu/drm/nouveau/dispnv50/disp.c
1851
if (head->func->display_id)
drivers/gpu/drm/nouveau/dispnv50/disp.c
1852
head->func->display_id(head, BIT(nv_encoder->outp.id));
drivers/gpu/drm/nouveau/dispnv50/disp.c
1914
disp->core->func->sor->get_caps(disp, nv_encoder, ffs(dcbe->or) - 1);
drivers/gpu/drm/nouveau/dispnv50/disp.c
1976
core->func->pior->ctrl(core, nv_encoder->outp.or.id, ctrl, NULL);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2021
core->func->pior->ctrl(core, nv_encoder->outp.or.id, ctrl, asyh);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2091
disp->core->func->pior->get_caps(disp, nv_encoder, ffs(dcbe->or) - 1);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2122
core->func->ntfy_init(disp->sync, NV50_DISP_CORE_NTFY);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2123
core->func->update(core, interlock, true);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2124
if (core->func->ntfy_wait_done(disp->sync, NV50_DISP_CORE_NTFY,
drivers/gpu/drm/nouveau/dispnv50/disp.c
2162
if (wndw->func->update)
drivers/gpu/drm/nouveau/dispnv50/disp.c
2163
wndw->func->update(wndw, interlock);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2311
core->func->wndw.owner(core);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2368
disp->core->func->update(disp->core, interlock, false);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2575
if (core->assign_windows && core->func->head->static_wndw_map) {
drivers/gpu/drm/nouveau/dispnv50/disp.c
2584
core->func->head->static_wndw_map(head, asyh);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2794
core->func->init(core);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2862
disp->core->func->init(disp->core);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2863
if (disp->core->func->caps_init) {
drivers/gpu/drm/nouveau/dispnv50/disp.c
2864
ret = disp->core->func->caps_init(drm, disp);
drivers/gpu/drm/nouveau/dispnv50/disp.c
488
core->func->dac->ctrl(core, nv_encoder->outp.or.id, ctrl, NULL);
drivers/gpu/drm/nouveau/dispnv50/disp.c
517
core->func->dac->ctrl(core, nv_encoder->outp.or.id, ctrl, asyh);
drivers/gpu/drm/nouveau/dispnv50/disp.c
913
if (msto->head->func->display_id) {
drivers/gpu/drm/nouveau/dispnv50/head.c
239
if (!head->func->ilut_check(size)) {
drivers/gpu/drm/nouveau/dispnv50/head.c
262
if (!head->func->olut_identity) {
drivers/gpu/drm/nouveau/dispnv50/head.c
271
if (!head->func->olut(head, asyh, size)) {
drivers/gpu/drm/nouveau/dispnv50/head.c
328
asyh->set.or = head->func->or != NULL;
drivers/gpu/drm/nouveau/dispnv50/head.c
377
asyh->set.or = head->func->or != NULL;
drivers/gpu/drm/nouveau/dispnv50/head.c
395
if (head->func->core_calc) {
drivers/gpu/drm/nouveau/dispnv50/head.c
396
head->func->core_calc(head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
50
if (clr.olut) head->func->olut_clr(head);
drivers/gpu/drm/nouveau/dispnv50/head.c
51
if (clr.core) head->func->core_clr(head);
drivers/gpu/drm/nouveau/dispnv50/head.c
52
if (clr.curs) head->func->curs_clr(head);
drivers/gpu/drm/nouveau/dispnv50/head.c
58
if (asyh->set.curs ) head->func->curs_set(head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
584
head->func = disp->core->func->head;
drivers/gpu/drm/nouveau/dispnv50/head.c
616
drm_crtc_enable_color_mgmt(crtc, base->func->ilut_size,
drivers/gpu/drm/nouveau/dispnv50/head.c
618
head->func->olut_size);
drivers/gpu/drm/nouveau/dispnv50/head.c
620
if (head->func->olut_set) {
drivers/gpu/drm/nouveau/dispnv50/head.c
64
head->func->olut_set(head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
73
if (asyh->set.view ) head->func->view (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
74
if (asyh->set.mode ) head->func->mode (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
75
if (asyh->set.core ) head->func->core_set(head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
76
if (asyh->set.base ) head->func->base (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
77
if (asyh->set.ovly ) head->func->ovly (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
78
if (asyh->set.dither ) head->func->dither (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
79
if (asyh->set.procamp) head->func->procamp (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.c
81
if (asyh->set.or ) head->func->or (head, asyh);
drivers/gpu/drm/nouveau/dispnv50/head.h
15
const struct nv50_head_func *func;
drivers/gpu/drm/nouveau/dispnv50/oimm507b.c
27
oimm507b_init_(const struct nv50_wimm_func *func, struct nouveau_drm *drm,
drivers/gpu/drm/nouveau/dispnv50/oimm507b.c
44
wndw->immd = func;
drivers/gpu/drm/nouveau/dispnv50/ovly507e.c
144
ovly507e_new_(const struct nv50_wndw_func *func, const u32 *format,
drivers/gpu/drm/nouveau/dispnv50/ovly507e.c
155
ret = nv50_wndw_new_(func, drm->dev, DRM_PLANE_TYPE_OVERLAY,
drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c
68
wimmc37b_init_(const struct nv50_wimm_func *func, struct nouveau_drm *drm,
drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c
85
wndw->immd = func;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
125
return wndw->func->ntfy_wait_begun(disp->sync,
drivers/gpu/drm/nouveau/dispnv50/wndw.c
139
if (clr.sema ) wndw->func-> sema_clr(wndw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
140
if (clr.ntfy ) wndw->func-> ntfy_clr(wndw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
141
if (clr.xlut ) wndw->func-> xlut_clr(wndw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
142
if (clr.csc ) wndw->func-> csc_clr(wndw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
143
if (clr.image) wndw->func->image_clr(wndw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
157
if (asyw->set.sema ) wndw->func->sema_set (wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
158
if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
159
if (asyw->set.image) wndw->func->image_set(wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
167
wndw->func->xlut_set(wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
170
if (asyw->set.csc ) wndw->func->csc_set (wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
171
if (asyw->set.scale) wndw->func->scale_set(wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
172
if (asyw->set.blend) wndw->func->blend_set(wndw, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
195
wndw->func->ntfy_reset(disp->sync, wndw->ntfy);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
206
wndw->func->release(wndw, asyw, asyh);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
327
asyw->set.image = wndw->func->image_set != NULL;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
330
if (wndw->func->scale_set) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
341
if (wndw->func->blend_set) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
370
return wndw->func->acquire(wndw, asyw, asyh);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
398
if (wndw->func->ilut)
drivers/gpu/drm/nouveau/dispnv50/wndw.c
404
if (!ilut && wndw->func->ilut_identity &&
drivers/gpu/drm/nouveau/dispnv50/wndw.c
413
if ((asyw->ilut = wndw->func->ilut ? ilut : NULL)) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
414
wndw->func->ilut(wndw, asyw, drm_color_lut_size(ilut));
drivers/gpu/drm/nouveau/dispnv50/wndw.c
423
if (wndw->func->olut_core &&
drivers/gpu/drm/nouveau/dispnv50/wndw.c
427
if (wndw->func->csc && asyh->state.ctm) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
429
wndw->func->csc(wndw, asyw, ctm);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
479
if (asyw->visible && wndw->func->xlut_set &&
drivers/gpu/drm/nouveau/dispnv50/wndw.c
516
if (wndw->func->image_clr)
drivers/gpu/drm/nouveau/dispnv50/wndw.c
585
if (wndw->func->prepare) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
590
wndw->func->prepare(wndw, asyh, asyw);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
852
nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev,
drivers/gpu/drm/nouveau/dispnv50/wndw.c
868
wndw->func = func;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
896
if (wndw->func->ilut) {
drivers/gpu/drm/nouveau/dispnv50/wndw.c
902
if (wndw->func->blend_set) {
drivers/gpu/drm/nouveau/dispnv50/wndw.h
14
const struct nv50_wndw_func *func;
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
350
wndwc37e_new_(const struct nv50_wndw_func *func, struct nouveau_drm *drm,
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
361
ret = nv50_wndw_new_(func, drm->dev, type, "wndw", index,
drivers/gpu/drm/nouveau/include/nvif/chan.h
27
} *func;
drivers/gpu/drm/nouveau/include/nvif/event.h
14
nvif_event_func func;
drivers/gpu/drm/nouveau/include/nvif/event.h
27
nvif_event_ctor(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func,
drivers/gpu/drm/nouveau/include/nvif/event.h
30
return nvif_event_ctor_(parent, name, handle, func, wait, args, argc, true, event);
drivers/gpu/drm/nouveau/include/nvif/parent.h
11
} *func;
drivers/gpu/drm/nouveau/include/nvif/parent.h
17
parent->func = NULL;
drivers/gpu/drm/nouveau/include/nvif/parent.h
21
nvif_parent_ctor(const struct nvif_parent_func *func, struct nvif_parent *parent)
drivers/gpu/drm/nouveau/include/nvif/parent.h
23
parent->func = func;
drivers/gpu/drm/nouveau/include/nvif/printf.h
10
_p->func->l(_o, "[%s/%08x:%s] "f"\n", _o->client->object.name, _o->handle, _o->name, ##a); \
drivers/gpu/drm/nouveau/include/nvif/user.h
7
const struct nvif_user_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
17
const struct nvkm_device_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/engine.h
12
const struct nvkm_engine_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
10
const struct nvkm_event_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
28
int __nvkm_event_init(const struct nvkm_event_func *func, struct nvkm_subdev *, int types_nr,
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
37
nvkm_event_init(const struct nvkm_event_func *func, struct nvkm_subdev *subdev,
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
42
return __nvkm_event_init(func, subdev, types_nr, index_nr, event);
drivers/gpu/drm/nouveau/include/nvkm/core/event.h
57
nvkm_event_func func;
drivers/gpu/drm/nouveau/include/nvkm/core/falcon.h
102
} *func;
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
15
} *func;
drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h
12
const struct nvkm_gpuobj_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/intr.h
27
} *func;
drivers/gpu/drm/nouveau/include/nvkm/core/intr.h
62
nvkm_inth_func func;
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
23
const struct nvkm_memory_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
60
#define nvkm_memory_target(p) (p)->func->target(p)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
61
#define nvkm_memory_page(p) (p)->func->page(p)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
62
#define nvkm_memory_bar2(p) (p)->func->bar2(p)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
63
#define nvkm_memory_addr(p) (p)->func->addr(p)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
64
#define nvkm_memory_size(p) (p)->func->size(p)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
65
#define nvkm_memory_boot(p,v) (p)->func->boot((p),(v))
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
67
(p)->func->map((p),(o),(vm),(va),(av),(ac))
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
68
#define nvkm_memory_kmap(p,i) ((p)->func->kmap ? (p)->func->kmap((p), (i)) : -ENOSYS)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
73
#define nvkm_kmap(o) (o)->func->acquire(o)
drivers/gpu/drm/nouveau/include/nvkm/core/memory.h
74
#define nvkm_done(o) (o)->func->release(o)
drivers/gpu/drm/nouveau/include/nvkm/core/object.h
11
const struct nvkm_object_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h
12
const struct nvkm_object_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/oproxy.h
8
const struct nvkm_oproxy_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
16
const struct nvkm_subdev_func *func;
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
54
nvkm_subdev_ctor(const struct nvkm_subdev_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h
57
__nvkm_subdev_ctor(func, device, type, inst, subdev);
drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h
8
const struct nvkm_device_tegra_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h
11
const struct nvkm_disp_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h
20
const struct nvkm_dma_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h
9
const struct nvkm_dmaobj_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h
18
const struct nvkm_falcon_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h
13
const struct nvkm_chan_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h
59
const struct nvkm_fifo_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h
7
const struct nvkm_gr_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/nvdec.h
9
const struct nvkm_nvdec_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/nvenc.h
9
const struct nvkm_nvenc_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/sec2.h
9
const struct nvkm_sec2_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/sw.h
7
const struct nvkm_sw_func *func;
drivers/gpu/drm/nouveau/include/nvkm/engine/xtensa.h
8
const struct nvkm_xtensa_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/acr.h
36
const struct nvkm_acr_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/acr.h
73
const struct nvkm_acr_lsf_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
8
const struct nvkm_bar_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h
34
u8 func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h
50
u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line,
drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h
7
const struct nvkm_bus_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h
83
const struct nvkm_clk_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h
8
const struct nvkm_devinit_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h
7
const struct nvkm_fault_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h
136
const struct nvkm_ram_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h
34
const struct nvkm_fb_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/fsp.h
11
const struct nvkm_fsp_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/fuse.h
7
const struct nvkm_fuse_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h
20
const struct nvkm_gpio_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h
29
void nvkm_gpio_reset(struct nvkm_gpio *, u8 func);
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
189
nvkm_gsp_msg_ntfy_func func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
470
nvkm_gsp_event_func func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
479
nvkm_gsp_event_func func, struct nvkm_gsp_event *event)
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
483
return rm->api->device->event.ctor(device, handle, id, func, event);
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
65
const struct nvkm_gsp_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h
16
const struct nvkm_i2c_bus_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h
38
const struct nvkm_i2c_aux_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h
61
const struct nvkm_i2c_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h
8
const struct nvkm_instmem_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h
11
const struct nvkm_ltc_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h
7
const struct nvkm_mc_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
117
const struct nvkm_mmu_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
27
const struct nvkm_vmm_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h
13
const struct nvkm_pci_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h
8
const struct nvkm_pmu_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h
60
const struct nvkm_therm_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h
10
void (*func)(struct nvkm_alarm *);
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h
14
nvkm_alarm_init(struct nvkm_alarm *alarm, void (*func)(struct nvkm_alarm *))
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h
17
alarm->func = func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h
21
const struct nvkm_timer_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
7
const struct nvkm_top_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/vfn.h
7
const struct nvkm_vfn_func *func;
drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h
7
const struct nvkm_volt_func *func;
drivers/gpu/drm/nouveau/nouveau_abi16.c
318
getparam->value = nvkm_device->func->resource_size(nvkm_device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nouveau_acpi.c
130
static int nouveau_dsm(acpi_handle handle, int func, int arg)
drivers/gpu/drm/nouveau/nouveau_acpi.c
140
func, &argv4, ACPI_TYPE_INTEGER);
drivers/gpu/drm/nouveau/nouveau_acpi.c
71
static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result)
drivers/gpu/drm/nouveau/nouveau_acpi.c
88
func, &argv4, ACPI_TYPE_BUFFER);
drivers/gpu/drm/nouveau/nouveau_bo.c
1287
device->func->resource_addr(device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nouveau_bo.c
1378
u32 mappable = device->func->resource_size(device, NVKM_BAR1_FB) >> PAGE_SHIFT;
drivers/gpu/drm/nouveau/nouveau_chan.c
214
args.start = nvkm_device->func->resource_addr(nvkm_device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nouveau_drm.c
1415
nouveau_platform_device_create(const struct nvkm_device_tegra_func *func,
drivers/gpu/drm/nouveau/nouveau_drm.c
1422
err = nvkm_device_tegra_new(func, pdev, nouveau_config, nouveau_debug, pdevice);
drivers/gpu/drm/nouveau/nouveau_drm.c
180
work->func(work);
drivers/gpu/drm/nouveau/nouveau_drv.h
120
void (*func)(struct nouveau_cli_work *);
drivers/gpu/drm/nouveau/nouveau_gem.c
177
work->work.func = nouveau_gem_object_delete_work;
drivers/gpu/drm/nouveau/nouveau_nvif.c
83
if (event->func(event, repv, repc) == NVIF_EVENT_KEEP)
drivers/gpu/drm/nouveau/nouveau_platform.c
28
const struct nvkm_device_tegra_func *func;
drivers/gpu/drm/nouveau/nouveau_platform.c
32
func = of_device_get_match_data(&pdev->dev);
drivers/gpu/drm/nouveau/nouveau_platform.c
34
drm = nouveau_platform_device_create(func, pdev, &device);
drivers/gpu/drm/nouveau/nouveau_ttm.c
189
man->func = &nouveau_vram_manager;
drivers/gpu/drm/nouveau/nouveau_ttm.c
222
const struct ttm_resource_manager_func *func = NULL;
drivers/gpu/drm/nouveau/nouveau_ttm.c
225
func = &nouveau_gart_manager;
drivers/gpu/drm/nouveau/nouveau_ttm.c
227
func = &nv04_gart_manager;
drivers/gpu/drm/nouveau/nouveau_ttm.c
236
man->func = func;
drivers/gpu/drm/nouveau/nouveau_ttm.c
317
arch_io_reserve_memtype_wc(device->func->resource_addr(device, NVKM_BAR1_FB),
drivers/gpu/drm/nouveau/nouveau_ttm.c
318
device->func->resource_size(device, NVKM_BAR1_FB));
drivers/gpu/drm/nouveau/nouveau_ttm.c
326
drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, NVKM_BAR1_FB),
drivers/gpu/drm/nouveau/nouveau_ttm.c
327
device->func->resource_size(device, NVKM_BAR1_FB));
drivers/gpu/drm/nouveau/nouveau_ttm.c
362
arch_io_free_memtype_wc(device->func->resource_addr(device, NVKM_BAR1_FB),
drivers/gpu/drm/nouveau/nouveau_ttm.c
363
device->func->resource_size(device, NVKM_BAR1_FB));
drivers/gpu/drm/nouveau/nvif/chan.c
122
nr += chan->func->gpfifo.post_size;
drivers/gpu/drm/nouveau/nvif/chan.c
125
u32 get = chan->func->push.read_get(chan);
drivers/gpu/drm/nouveau/nvif/chan.c
135
get = chan->func->push.read_get(chan);
drivers/gpu/drm/nouveau/nvif/chan.c
14
if (chan->func->gpfifo.post) {
drivers/gpu/drm/nouveau/nvif/chan.c
15
if (push->end - push->cur < chan->func->gpfifo.post_size)
drivers/gpu/drm/nouveau/nvif/chan.c
157
push->end = push->bgn + free - chan->func->gpfifo.post_size;
drivers/gpu/drm/nouveau/nvif/chan.c
16
push->end = push->cur + chan->func->gpfifo.post_size;
drivers/gpu/drm/nouveau/nvif/chan.c
23
chan->func->gpfifo.push(chan, true, chan->push.addr + (put << 2), cnt << 2, false);
drivers/gpu/drm/nouveau/nvif/chan.c
24
chan->func->gpfifo.kick(chan);
drivers/gpu/drm/nouveau/nvif/chan.c
39
const u32 pbptr = (chan->push.cur - map) + chan->func->gpfifo.post_size;
drivers/gpu/drm/nouveau/nvif/chan.c
42
if (!chan->func->gpfifo.post)
drivers/gpu/drm/nouveau/nvif/chan.c
45
return chan->func->gpfifo.post(chan, gpptr, pbptr);
drivers/gpu/drm/nouveau/nvif/chan.c
51
chan->func->gpfifo.push(chan, false, addr, size, no_prefetch);
drivers/gpu/drm/nouveau/nvif/chan.c
64
if (chan->func->gpfifo.post)
drivers/gpu/drm/nouveau/nvif/chan.c
65
push_nr += chan->func->gpfifo.post_size;
drivers/gpu/drm/nouveau/nvif/chan.c
81
chan->gpfifo.free = chan->func->gpfifo.read_get(chan) - chan->gpfifo.cur - 1;
drivers/gpu/drm/nouveau/nvif/chan.c
96
nvif_chan_gpfifo_ctor(const struct nvif_chan_func *func, void *userd, void *gpfifo, u32 gpfifo_size,
drivers/gpu/drm/nouveau/nvif/chan.c
99
chan->func = func;
drivers/gpu/drm/nouveau/nvif/chan906f.c
49
return chan->func->sem.release(chan, chan->sema.addr,
drivers/gpu/drm/nouveau/nvif/chan906f.c
77
nvif_chan906f_ctor_(const struct nvif_chan_func *func, void *userd, void *gpfifo, u32 gpfifo_size,
drivers/gpu/drm/nouveau/nvif/chan906f.c
81
nvif_chan_gpfifo_ctor(func, userd, gpfifo, gpfifo_size, push, push_addr, push_size, chan);
drivers/gpu/drm/nouveau/nvif/chanc36f.c
21
usermode->func->doorbell(usermode, chan->doorbell_token);
drivers/gpu/drm/nouveau/nvif/conn.c
30
nvif_conn_event_ctor(struct nvif_conn *conn, const char *name, nvif_event_func func, u8 types,
drivers/gpu/drm/nouveau/nvif/conn.c
43
func, true, args, __struct_size(args), false, event);
drivers/gpu/drm/nouveau/nvif/device.c
30
if (!device->user.func) {
drivers/gpu/drm/nouveau/nvif/device.c
38
return device->user.func->time(&device->user);
drivers/gpu/drm/nouveau/nvif/device.c
62
device->user.func = NULL;
drivers/gpu/drm/nouveau/nvif/event.c
57
nvif_event_ctor_(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func,
drivers/gpu/drm/nouveau/nvif/event.c
79
event->func = func;
drivers/gpu/drm/nouveau/nvif/head.c
30
nvif_head_vblank_event_ctor(struct nvif_head *head, const char *name, nvif_event_func func,
drivers/gpu/drm/nouveau/nvif/head.c
34
func, wait, NULL, 0, event);
drivers/gpu/drm/nouveau/nvif/user.c
30
if (device->user.func) {
drivers/gpu/drm/nouveau/nvif/user.c
32
device->user.func = NULL;
drivers/gpu/drm/nouveau/nvif/user.c
42
const struct nvif_user_func *func;
drivers/gpu/drm/nouveau/nvif/user.c
53
if (device->user.func)
drivers/gpu/drm/nouveau/nvif/user.c
67
device->user.func = users[cid].func;
drivers/gpu/drm/nouveau/nvkm/core/engine.c
104
if (engine->func->fini)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
105
return engine->func->fini(engine, suspend);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
116
if (engine->func->init)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
117
ret = engine->func->init(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
129
if (engine->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
130
return engine->func->oneinit(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
139
if (engine->func->preinit)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
140
engine->func->preinit(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
148
if (engine->func->dtor)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
149
return engine->func->dtor(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
165
nvkm_engine_ctor(const struct nvkm_engine_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/core/engine.c
168
engine->func = func;
drivers/gpu/drm/nouveau/nvkm/core/engine.c
182
nvkm_engine_new_(const struct nvkm_engine_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/core/engine.c
188
return nvkm_engine_ctor(func, device, type, inst, enable, *pengine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
33
if (engine->func->chsw_load)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
34
return engine->func->chsw_load(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
41
if (engine->func->reset)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
42
return engine->func->reset(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
77
if (engine->func->tile)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
78
engine->func->tile(engine, region, &fb->tile.region[region]);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
85
if (engine->func->intr)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
86
engine->func->intr(engine);
drivers/gpu/drm/nouveau/nvkm/core/engine.c
94
if (engine->func->info)
drivers/gpu/drm/nouveau/nvkm/core/engine.c
95
return engine->func->info(engine, mthd, data);
drivers/gpu/drm/nouveau/nvkm/core/event.c
146
nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func,
drivers/gpu/drm/nouveau/nvkm/core/event.c
155
ntfy->func = func;
drivers/gpu/drm/nouveau/nvkm/core/event.c
184
ntfy->func(ntfy, ntfy->bits & bits);
drivers/gpu/drm/nouveau/nvkm/core/event.c
201
__nvkm_event_init(const struct nvkm_event_func *func, struct nvkm_subdev *subdev,
drivers/gpu/drm/nouveau/nvkm/core/event.c
208
event->func = func;
drivers/gpu/drm/nouveau/nvkm/core/event.c
36
if (event->func->fini)
drivers/gpu/drm/nouveau/nvkm/core/event.c
37
event->func->fini(event, 1 << type, index);
drivers/gpu/drm/nouveau/nvkm/core/event.c
53
if (event->func->init)
drivers/gpu/drm/nouveau/nvkm/core/event.c
54
event->func->init(event, 1 << type, index);
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
120
switch (fw->func->type) {
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
159
BUG_ON(nvkm_firmware_mem(memory)->func->type != NVKM_FIRMWARE_IMG_DMA);
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
172
if (nvkm_firmware_mem(memory)->device->func->tegra)
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
202
switch (fw->func->type) {
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
226
nvkm_firmware_ctor(const struct nvkm_firmware_func *func, const char *name,
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
229
fw->func = func;
drivers/gpu/drm/nouveau/nvkm/core/firmware.c
234
switch (fw->func->type) {
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
132
gpuobj->func = &nvkm_gpuobj_func;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
158
gpuobj->func = &nvkm_gpuobj_fast;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
160
gpuobj->func = &nvkm_gpuobj_slow;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
190
gpuobj->func = &nvkm_gpuobj_func;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
206
gpuobj->func = &nvkm_gpuobj_heap;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
69
gpuobj->func = &nvkm_gpuobj_heap;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
94
gpuobj->func = &nvkm_gpuobj_heap_fast;
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c
96
gpuobj->func = &nvkm_gpuobj_heap_slow;
drivers/gpu/drm/nouveau/nvkm/core/intr.c
123
if (intr->func->block)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
124
intr->func->block(intr, leaf, mask);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
151
intr->func->rearm(intr);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
160
intr->func->unarm(intr);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
183
if (intr->func->pending(intr))
drivers/gpu/drm/nouveau/nvkm/core/intr.c
201
if (intr->func->reset)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
202
intr->func->reset(intr, inth->leaf, inth->mask);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
203
if (inth->func(inth) == IRQ_HANDLED)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
232
nvkm_intr_add(const struct nvkm_intr_func *func, const struct nvkm_intr_data *data,
drivers/gpu/drm/nouveau/nvkm/core/intr.c
238
intr->func = func;
drivers/gpu/drm/nouveau/nvkm/core/intr.c
277
if (!subdev || !subdev->func->intr)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
329
for (i = 0; intr->func->block && i < intr->leaves; i++) {
drivers/gpu/drm/nouveau/nvkm/core/intr.c
330
intr->func->block(intr, i, ~0);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
331
intr->func->allow(intr, i, intr->mask[i]);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
354
device->intr.irq = device->func->irq(device);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
422
struct nvkm_subdev *subdev, nvkm_inth_func func, struct nvkm_inth *inth)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
438
inth->func = func;
drivers/gpu/drm/nouveau/nvkm/core/intr.c
94
if (intr->func->allow) {
drivers/gpu/drm/nouveau/nvkm/core/intr.c
95
if (intr->func->reset)
drivers/gpu/drm/nouveau/nvkm/core/intr.c
96
intr->func->reset(intr, leaf, mask);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
97
intr->func->allow(intr, leaf, mask);
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
110
if (!parent->func->sclass && !parent->func->uevent) {
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
249
int (*func)(struct nvkm_client *, struct nvkm_object *, void *, u32);
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
278
ret = nvkm_ioctl_v0[type].func(client, object, data, size);
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
44
if ( object->func->uevent &&
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
45
!object->func->uevent(object, NULL, 0, NULL) && index-- == 0) {
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
53
if (object->func->sclass)
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
54
return object->func->sclass(object, index, oclass);
drivers/gpu/drm/nouveau/nvkm/core/memory.c
100
nvkm_memory_ctor(const struct nvkm_memory_func *func,
drivers/gpu/drm/nouveau/nvkm/core/memory.c
103
memory->func = func;
drivers/gpu/drm/nouveau/nvkm/core/memory.c
111
if (!WARN_ON(!memory->func)) {
drivers/gpu/drm/nouveau/nvkm/core/memory.c
112
if (memory->func->dtor)
drivers/gpu/drm/nouveau/nvkm/core/memory.c
113
memory = memory->func->dtor(memory);
drivers/gpu/drm/nouveau/nvkm/core/object.c
104
if (likely(object->func->mthd))
drivers/gpu/drm/nouveau/nvkm/core/object.c
105
return object->func->mthd(object, mthd, data, size);
drivers/gpu/drm/nouveau/nvkm/core/object.c
113
if (likely(object->func->ntfy))
drivers/gpu/drm/nouveau/nvkm/core/object.c
114
return object->func->ntfy(object, mthd, pevent);
drivers/gpu/drm/nouveau/nvkm/core/object.c
122
if (likely(object->func->map))
drivers/gpu/drm/nouveau/nvkm/core/object.c
123
return object->func->map(object, argv, argc, type, addr, size);
drivers/gpu/drm/nouveau/nvkm/core/object.c
130
if (likely(object->func->unmap))
drivers/gpu/drm/nouveau/nvkm/core/object.c
131
return object->func->unmap(object);
drivers/gpu/drm/nouveau/nvkm/core/object.c
139
if (object->func->bind)
drivers/gpu/drm/nouveau/nvkm/core/object.c
140
return object->func->bind(object, gpuobj, align, pgpuobj);
drivers/gpu/drm/nouveau/nvkm/core/object.c
173
if (object->func->fini) {
drivers/gpu/drm/nouveau/nvkm/core/object.c
174
ret = object->func->fini(object, suspend);
drivers/gpu/drm/nouveau/nvkm/core/object.c
187
if (object->func->init) {
drivers/gpu/drm/nouveau/nvkm/core/object.c
188
int rret = object->func->init(object);
drivers/gpu/drm/nouveau/nvkm/core/object.c
208
if (object->func->init) {
drivers/gpu/drm/nouveau/nvkm/core/object.c
209
ret = object->func->init(object);
drivers/gpu/drm/nouveau/nvkm/core/object.c
230
if (object->func->fini)
drivers/gpu/drm/nouveau/nvkm/core/object.c
231
object->func->fini(object, NVKM_POWEROFF);
drivers/gpu/drm/nouveau/nvkm/core/object.c
250
if (object->func->dtor)
drivers/gpu/drm/nouveau/nvkm/core/object.c
251
data = object->func->dtor(object);
drivers/gpu/drm/nouveau/nvkm/core/object.c
262
if (object && !WARN_ON(!object->func)) {
drivers/gpu/drm/nouveau/nvkm/core/object.c
272
nvkm_object_ctor(const struct nvkm_object_func *func,
drivers/gpu/drm/nouveau/nvkm/core/object.c
275
object->func = func;
drivers/gpu/drm/nouveau/nvkm/core/object.c
288
nvkm_object_new_(const struct nvkm_object_func *func,
drivers/gpu/drm/nouveau/nvkm/core/object.c
295
nvkm_object_ctor(func, oclass, *pobject);
drivers/gpu/drm/nouveau/nvkm/core/object.c
30
const struct nvkm_object_func *func)
drivers/gpu/drm/nouveau/nvkm/core/object.c
309
const struct nvkm_object_func *func =
drivers/gpu/drm/nouveau/nvkm/core/object.c
310
oclass->base.func ? oclass->base.func : &nvkm_object_func;
drivers/gpu/drm/nouveau/nvkm/core/object.c
311
return nvkm_object_new_(func, oclass, data, size, pobject);
drivers/gpu/drm/nouveau/nvkm/core/object.c
57
if (unlikely(func && object->func != func))
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
101
if (oproxy->object->func->fini) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
102
ret = oproxy->object->func->fini(oproxy->object, suspend);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
107
if (oproxy->func->fini[1]) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
108
ret = oproxy->func->fini[1](oproxy, suspend);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
122
if (oproxy->func->init[0]) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
123
ret = oproxy->func->init[0](oproxy);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
128
if (oproxy->object->func->init) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
129
ret = oproxy->object->func->init(oproxy->object);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
134
if (oproxy->func->init[1]) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
135
ret = oproxy->func->init[1](oproxy);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
147
if (oproxy->func->dtor[0])
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
148
oproxy->func->dtor[0](oproxy);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
150
if (oproxy->func->dtor[1])
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
151
oproxy->func->dtor[1](oproxy);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
170
nvkm_oproxy_ctor(const struct nvkm_oproxy_func *func,
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
174
oproxy->func = func;
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
178
nvkm_oproxy_new_(const struct nvkm_oproxy_func *func,
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
183
nvkm_oproxy_ctor(func, oclass, *poproxy);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
72
if (!oproxy->object->func->sclass)
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
74
return oproxy->object->func->sclass(oproxy->object, index, oclass);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
83
if (!oproxy->object->func->uevent)
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
86
return oproxy->object->func->uevent(oproxy->object, argv, argc, uevent);
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
95
if (oproxy->func->fini[0]) {
drivers/gpu/drm/nouveau/nvkm/core/oproxy.c
96
ret = oproxy->func->fini[0](oproxy, suspend);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
100
if (subdev->func->preinit) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
101
int ret = subdev->func->preinit(subdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
119
if (!subdev->func->oneinit || subdev->oneinit)
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
124
ret = subdev->func->oneinit(subdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
156
if (subdev->func->init) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
157
ret = subdev->func->init(subdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
233
if (subdev && !WARN_ON(!subdev->func)) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
237
if (subdev->func->dtor)
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
238
*psubdev = subdev->func->dtor(subdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
261
__nvkm_subdev_ctor(const struct nvkm_subdev_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
264
subdev->func = func;
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
280
nvkm_subdev_new_(const struct nvkm_subdev_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
285
nvkm_subdev_ctor(func, device, type, inst, *psubdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
41
if (subdev->func->intr)
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
42
subdev->func->intr(subdev);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
48
if (subdev->func->info)
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
49
return subdev->func->info(subdev, mthd, data);
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
75
if (subdev->func->fini) {
drivers/gpu/drm/nouveau/nvkm/core/subdev.c
76
int ret = subdev->func->fini(subdev, suspend);
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
118
if (uevent->func)
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
119
return uevent->func(uevent->parent, uevent->object.object, bits);
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
126
nvkm_uevent_func func)
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
128
if (WARN_ON(uevent->func))
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
132
uevent->func = func;
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
153
uevent->func = NULL;
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
156
return parent->func->uevent(parent, &args->v0.data, argc - sizeof(args->v0), uevent);
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
31
nvkm_uevent_func func;
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
2933
if (subdev && subdev->func == &nvkm_engine)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
2971
if (device->func->fini)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
2972
device->func->fini(device, suspend);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3003
if (device->func->preinit) {
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3004
ret = device->func->preinit(device);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3054
if (device->func->init) {
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3055
ret = device->func->init(device);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3100
if (device->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3101
*pdevice = device->func->dtor(device);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3141
nvkm_device_ctor(const struct nvkm_device_func *func,
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3157
device->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3169
mmio_base = device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3170
mmio_size = device->func->resource_size(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
117
if (!tdev->func->iommu_bit)
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
149
(1ULL << tdev->func->iommu_bit) >>
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
247
nvkm_device_tegra_new(const struct nvkm_device_tegra_func *func,
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
259
tdev->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
266
if (func->require_vdd) {
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
297
if (func->require_ref_clk)
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
313
ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(tdev->func->iommu_bit));
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
345
nvkm_device_tegra_new(const struct nvkm_device_tegra_func *func,
drivers/gpu/drm/nouveau/nvkm/engine/device/user.c
215
*addr = device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/device/user.c
216
*size = device->func->resource_size(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/device/user.c
286
!(engine->func->base.sclass))
drivers/gpu/drm/nouveau/nvkm/engine/device/user.c
290
index -= engine->func->base.sclass(oclass, index, &sclass);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
107
if (disp->func->fini)
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
108
disp->func->fini(disp, suspend != NVKM_POWEROFF);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
111
if (outp->func->fini)
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
112
outp->func->fini(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
126
if (outp->func->init)
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
127
outp->func->init(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
130
if (disp->func->init) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
131
int ret = disp->func->init(disp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
140
if (ior->func->power)
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
141
ior->func->power(ior, true, true, true, true, true);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
155
if (disp->func->oneinit) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
156
ret = disp->func->oneinit(disp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
212
if (disp->func && disp->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
213
disp->func->dtor(disp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
229
nvkm_disp_new_(const struct nvkm_disp_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
238
disp->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
247
disp->func = NULL;
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
251
if (func->super) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
256
INIT_WORK(&disp->super.work, func->super);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
260
return nvkm_event_init(func->uevent, &disp->engine.subdev, 1, ARRAY_SIZE(disp->chan),
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
44
head->func->vblank_put(head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
53
head->func->vblank_get(head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
87
oclass->base = disp->func->root;
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
98
disp->func->intr(disp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
113
if (chan->func->bind)
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
118
if (sclass->engine && sclass->engine->func->base.sclass) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
119
sclass->engine->func->base.sclass(sclass, index, &oclass);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
135
chan->func->fini(chan);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
136
chan->func->intr(chan, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
145
chan->func->intr(chan, true);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
146
return chan->func->init(chan);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
183
for (i = 0; disp->func->user[i].ctor; i++) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
184
if (disp->func->user[i].base.oclass == oclass->base.oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
185
user = disp->func->user[i].chan;
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
195
if (args->v0.id >= nr || !args->v0.pushbuf != !user->func->push)
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
203
chan->func = user->func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
210
if (chan->func->push) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
211
ret = chan->func->push(chan, args->v0.pushbuf);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
52
const u64 base = device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
55
*addr = base + chan->func->user(chan, size);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
99
object->hash = chan->func->bind(chan, object->oproxy.object, oclass->handle);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.h
68
const struct nvkm_disp_chan_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.h
9
const struct nvkm_disp_chan_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c
48
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c
67
ret = nvkm_gpio_find(gpio, 0, info->hpd, DCB_GPIO_UNUSED, &func);
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c
73
conn->info.hpd = func.line;
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
181
ior->func->dp->drive(ior, i, ocfg.pc, ocfg.dc, ocfg.pe, ocfg.tx_pu);
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
210
outp->ior->func->dp->pattern(outp->ior, pattern);
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
418
ret = ior->func->dp->links(ior, outp->dp.aux);
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
427
ior->func->dp->power(ior, ior->dp.nr);
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
178
.func = &nv50_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
228
.func = &nv50_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
315
.func = &nv50_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
110
mask |= 1 << sor->func->dp->lanes[i];
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
345
.func = &nv50_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
68
const u32 shift = sor->func->dp->lanes[ln] * 8;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
1004
.func = &gf119_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
1122
disp->func->intr_error(disp, chid);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
133
const u32 shift = sor->func->dp->lanes[ln] * 8;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
637
.func = &gf119_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
644
.func = &gf119_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
68
ior->func->hda->device_entry(ior, head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
714
.func = &gf119_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
798
.func = &gf119_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
197
.func = &gf119_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
299
.func = &gf119_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c
38
const u32 shift = sor->func->dp->lanes[ln] * 8;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
141
.func = &gp102_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
74
.func = &gf119_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
81
.func = &gf119_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
88
.func = &gp102_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
96
.func = &gp102_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c
75
.func = &nv50_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
412
.func = &gv100_disp_wimm_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
539
.func = &gv100_disp_wndw_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
605
.func = &gv100_disp_curs_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
788
.func = &gv100_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
808
*addr = 0x640000 + device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c
55
nvkm_head_new_(const struct nvkm_head_func *func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c
61
head->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h
8
const struct nvkm_head_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.c
57
nvkm_ior_new_(const struct nvkm_ior_func *func, struct nvkm_disp *disp,
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.c
63
ior->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h
105
int nvkm_ior_new_(const struct nvkm_ior_func *func, struct nvkm_disp *,
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h
8
const struct nvkm_ior_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1007
.func = &nv50_disp_core_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1152
if (ior->func->war_3)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1153
ior->func->war_3(ior);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1181
ior->func->dp->audio_sym(ior, head->id, h, v);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1190
for (TU = 64; ior->func->dp->activesym && TU >= 32; TU--) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1241
if (ior->func->dp->activesym) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1247
ior->func->dp->activesym(ior, head->id, bestTU, bestVTUa, bestVTUf, bestVTUi);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1259
ior->func->dp->watermark(ior, head->id, unk);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1295
head->func->rgclk(head, ior->asy.rgdiv);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1302
ior->func->clock(ior);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1303
if (ior->func->war_2)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1304
ior->func->war_2(ior);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1354
head->func->state(head, &head->arm);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1355
head->func->state(head, &head->asy);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1359
ior->func->state(ior, &ior->arm);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1360
ior->func->state(ior, &ior->asy);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1583
const struct nvkm_disp_func *func = disp->func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1596
if (func->wndw.cnt) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1597
disp->wndw.nr = func->wndw.cnt(disp, &disp->wndw.mask);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1601
disp->head.nr = func->head.cnt(disp, &disp->head.mask);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1604
ret = func->head.new(disp, i);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1609
if (func->dac.cnt) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1610
disp->dac.nr = func->dac.cnt(disp, &disp->dac.mask);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1613
ret = func->dac.new(disp, i);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1619
if (func->pior.cnt) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1620
disp->pior.nr = func->pior.cnt(disp, &disp->pior.mask);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1623
ret = func->pior.new(disp, i);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1629
disp->sor.nr = func->sor.cnt(disp, &disp->sor.mask);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1632
ret = func->sor.new(disp, i);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
1641
ret = nvkm_ramht_new(device, func->ramht_size ? func->ramht_size : 0x1000, 0, disp->inst,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
289
dac->func->power(dac, false, true, false, false, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
296
dac->func->power(dac, false, false, false, false, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
717
.func = &nv50_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
724
.func = &nv50_disp_pioc_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
770
.func = &nv50_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
829
.func = &nv50_disp_dmac_func,
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
125
(ior->func->route.set || ior->id == __ffs(outp->info.or)))
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
135
(ior->func->route.set || ior->id == __ffs(outp->info.or)))
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
219
if (outp->ior->func->bl)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
220
ret = outp->ior->func->bl->set(outp->ior, level);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
237
if (outp->ior->func->bl)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
238
ret = outp->ior->func->bl->get(outp->ior);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
309
if (ior->func->route.get) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
310
id = ior->func->route.get(outp, &link);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
337
ior = outp->func->inherit(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
342
ior->func->state(ior, &ior->arm);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
351
if (ior->func->route.get && !ior->arm.head && outp->info.type == DCB_OUTPUT_DP)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
365
if (outp && !WARN_ON(!outp->func)) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
366
if (outp->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
367
*poutp = outp->func->dtor(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
374
nvkm_outp_new_(const struct nvkm_outp_func *func, struct nvkm_disp *disp,
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
385
outp->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
43
if (ior->func->route.set)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
44
ior->func->route.set(outp, NULL);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
53
if (ior->func->route.set)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
54
ior->func->route.set(outp, ior);
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h
12
const struct nvkm_outp_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
158
conn->object.func = NULL;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
192
if (!conn->object.func) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
53
if (disp->func->user[index].ctor) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
54
sclass->base = disp->func->user[index].base;
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
55
sclass->ctor = disp->func->user[index].ctor;
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
69
disp->client.object.func = NULL;
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c
93
if (disp->client.object.func) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.c
120
if (!head->object.func) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.c
53
head->func->state(head, &head->arm);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.c
69
head->func->rgpos(head, &args->v0.hline, &args->v0.vline);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.c
93
head->object.func = NULL;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
101
if (!outp->func->dp.drive)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
104
return outp->func->dp.drive(outp, args->v0.lanes, args->v0.pe, args->v0.vs);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
114
if (!outp->func->dp.train)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
126
return outp->func->dp.train(outp, args->v0.retrain);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
146
if (outp->func->dp.rates)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
147
outp->func->dp.rates(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
159
if (!outp->func->dp.aux_xfer)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
162
return outp->func->dp.aux_xfer(outp, args->v0.type, args->v0.addr,
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
173
if (!outp->func->dp.aux_pwr)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
176
return outp->func->dp.aux_pwr(outp, !!args->v0.state);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
196
ior->func->dp->audio(ior, args->v0.head, true);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
198
if (ior->func->hdmi->audio)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
199
ior->func->hdmi->audio(ior, args->v0.head, true);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
201
ior->func->hda->hpd(ior, args->v0.head, true);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
202
ior->func->hda->eld(ior, args->v0.head, args->v0.data, argc);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
204
ior->func->hda->hpd(ior, args->v0.head, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
207
ior->func->dp->audio(ior, args->v0.head, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
209
if (ior->func->hdmi->audio)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
210
ior->func->hdmi->audio(ior, args->v0.head, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
228
switch (ior->func->hdmi ? args->v0.type : 0xff) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
230
ior->func->hdmi->infoframe_avi(ior, args->v0.head, &args->v0.data, size);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
233
ior->func->hdmi->infoframe_vsi(ior, args->v0.head, &args->v0.data, size);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
254
if (!ior->func->hdmi ||
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
257
(args->v0.scdc && !ior->func->hdmi->scdc))
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
261
ior->func->hdmi->infoframe_avi(ior, args->v0.head, NULL, 0);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
262
ior->func->hdmi->infoframe_vsi(ior, args->v0.head, NULL, 0);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
263
ior->func->hdmi->ctrl(ior, args->v0.head, false, 0, 0);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
267
ior->func->hdmi->ctrl(ior, args->v0.head, args->v0.enable,
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
269
if (ior->func->hdmi->scdc)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
270
ior->func->hdmi->scdc(ior, args->v0.khz, args->v0.scdc, args->v0.scdc_scrambling,
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
300
if (outp->func->bl.set)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
301
ret = outp->func->bl.set(outp, args->v0.level);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
317
if (outp->func->bl.get) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
318
ret = outp->func->bl.get(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
340
outp->func->release(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
358
ret = outp->func->acquire(outp, false);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
361
ret = outp->func->acquire(outp, args->v0.sor.hda);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
387
ior = outp->func->inherit(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
40
if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head))
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
43
ior->func->dp->vcpi(ior, args->v0.head, args->v0.start_slot, args->v0.num_slots,
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
450
if (outp->ior->func->sense) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
451
ret = outp->ior->func->sense(outp->ior, args->v0.data);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
469
if (!outp->func->edid_get)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
473
return outp->func->edid_get(outp, args->v0.data, &args->v0.size);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
484
if (!outp->func->detect)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
487
ret = outp->func->detect(outp);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
55
if (!outp->func->dp.mst_id_put)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
574
outp->object.func = NULL;
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
58
return outp->func->dp.mst_id_put(outp, args->v0.id);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
608
if (!outp->object.func) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
68
if (!outp->func->dp.mst_id_get)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
71
return outp->func->dp.mst_id_get(outp, &args->v0.id);
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
84
if (!ior->func->dp || !nvkm_head_find(disp, args->v0.head))
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
86
if (!ior->func->dp->sst)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
89
return ior->func->dp->sst(ior, args->v0.head,
drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c
106
nvkm_dma_new_(const struct nvkm_dma_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c
113
dma->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c
40
ret = dma->func->class_new(dma, oclass, data, size, &dmaobj);
drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c
51
return dmaobj->func->bind(dmaobj, gpuobj, align, pgpuobj);
drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c
67
nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func *func, struct nvkm_dma *dma,
drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c
80
dmaobj->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c
98
if (device->mmu->func == &nv04_mmu)
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
315
if (falcon->func->init)
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
316
falcon->func->init(falcon);
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
338
nvkm_falcon_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
346
falcon->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
348
falcon->code.data = func->code.data;
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
349
falcon->code.size = func->code.size;
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
35
while (falcon->func->sclass[c].oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
350
falcon->data.data = func->data.data;
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
351
falcon->data.size = func->data.size;
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
37
oclass->base = falcon->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
74
if (falcon->func->intr) {
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
75
falcon->func->intr(falcon, chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
105
oclass->engn = &fifo->func->cgrp.user;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
115
oclass->engn = &fifo->func->chan.user;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
146
if (fifo->func->init_pbdmas) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
150
fifo->func->init_pbdmas(fifo, mask);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
153
runq->func->init(runq);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
157
if (runl->func->init)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
158
runl->func->init(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
161
if (fifo->func->init)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
162
fifo->func->init(fifo);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
251
if (fifo->func->chid_nr) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
252
ret = fifo->func->chid_ctor(fifo, fifo->func->chid_nr(fifo));
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
258
if (fifo->func->runq_nr) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
259
for (nr = fifo->func->runq_nr(fifo), i = 0; i < nr; i++) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
266
ret = fifo->func->runl_ctor(fifo);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
278
if (fifo->func->intr) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
280
subdev, fifo->func->intr, &subdev->inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
288
if (fifo->func->nonstall) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
289
if (fifo->func->nonstall_ctor) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
290
ret = fifo->func->nonstall_ctor(fifo);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
299
ret = nvkm_event_init(fifo->func->nonstall, &fifo->engine.subdev, 1, ret,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
306
if (fifo->func->chan.func->userd->bar == NVKM_BAR1_FB) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
310
fifo->func->chan.func->userd->size, 0, true,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
353
if (fifo->func->nonstall_dtor)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
354
fifo->func->nonstall_dtor(fifo);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
357
if (fifo->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
358
fifo->func->dtor(fifo);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
375
nvkm_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
383
fifo->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
47
return engn->func->chsw ? engn->func->chsw(engn) : false;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
57
return fifo->func->pause(fifo, flags);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
63
return fifo->func->start(fifo, flags);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
69
return fifo->func->mmu_fault->recover(fifo, info);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
78
if (oclass->engn == &fifo->func->cgrp.user)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
81
if (oclass->engn == &fifo->func->chan.user)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
97
const struct nvkm_fifo_func_cgrp *cgrp = &fifo->func->cgrp;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
98
const struct nvkm_fifo_func_chan *chan = &fifo->func->chan;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
159
if (engn->func->ctor2) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
160
ret = engn->func->ctor2(engn, vctx, chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
162
if (engn->func->bind) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
164
if (ret == 0 && engn->func->ctor)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
165
ret = engn->func->ctor(engn, vctx);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
230
cgrp->func = runl->fifo->func->cgrp.func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
81
if (engine->func->fifo.cclass)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
82
ret = engine->func->fifo.cclass(chan, &cclass, &ectx->object);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
83
else if (engine->func->cclass)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
84
ret = nvkm_object_new_(engine->func->cclass, &cclass, NULL, 0, &ectx->object);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.h
32
} *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
141
chan->func->preempt(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
153
if (!chan->func->preempt)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
187
if (preempt && chan->func->preempt)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
223
chan->func->stop(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
236
chan->func->preempt(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
256
chan->func->start(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
268
if (chan->func->ramfc->clear)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
269
chan->func->ramfc->clear(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
345
nvkm_chan_new_(const struct nvkm_chan_func *func, struct nvkm_runl *runl, int runq,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
356
if ((runq && runq >= runl->func->runqs) ||
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
357
(!func->inst->vmm != !vmm) ||
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
358
(!func->userd->bar == !userd) ||
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
359
(!func->ramfc->ctxdma != !dmaobj) ||
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
360
((func->ramfc->devm < devm) && devm != BIT(0)) ||
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
361
(!func->ramfc->priv && priv)) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
364
runl->func->runqs, runq, func->inst->vmm, vmm,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
365
func->userd->bar, userd, func->ramfc->ctxdma, dmaobj,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
366
func->ramfc->devm, devm, func->ramfc->priv, priv);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
373
chan->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
392
ret = nvkm_cgrp_new(runl, chan->name, vmm, fifo->func->cgrp.force, &chan->cgrp);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
409
ret = nvkm_gpuobj_new(device, func->inst->size, 0x1000, func->inst->zero, NULL,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
417
if (func->inst->vmm) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
431
if (func->ramfc->ctxdma) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
442
if (!func->userd->bar) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
443
if (ouserd + chan->func->userd->size >=
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
458
chan->userd.base = chan->id * chan->func->userd->size;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
47
if (!engn->func->bind)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
471
if (chan->func->userd->clear)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
472
chan->func->userd->clear(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
475
ret = chan->func->ramfc->write(chan, offset, length, devm, priv);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
62
engn->func->bind(engn, cctx, chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chid.c
110
return nvkm_event_init(func, subdev, 1, nr, &chid->event);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chid.c
86
nvkm_chid_new(const struct nvkm_event_func *func, struct nvkm_subdev *subdev,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
198
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_SW, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
199
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_DMAOBJ, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
200
nvkm_runl_add(runl, 1, fifo->func->engn, NVKM_ENGINE_GR, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
201
nvkm_runl_add(runl, 2, fifo->func->engn, NVKM_ENGINE_MPEG, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
202
nvkm_runl_add(runl, 3, fifo->func->engn, NVKM_ENGINE_ME, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
203
nvkm_runl_add(runl, 4, fifo->func->engn, NVKM_ENGINE_VP, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
204
nvkm_runl_add(runl, 5, fifo->func->engn, NVKM_ENGINE_CIPHER, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
205
nvkm_runl_add(runl, 6, fifo->func->engn, NVKM_ENGINE_BSP, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
37
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_SW, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
38
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_DMAOBJ, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
39
nvkm_runl_add(runl, 1, fifo->func->engn, NVKM_ENGINE_GR, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
40
nvkm_runl_add(runl, 2, fifo->func->engn, NVKM_ENGINE_MSPPP, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
41
nvkm_runl_add(runl, 3, fifo->func->engn, NVKM_ENGINE_CE, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
42
nvkm_runl_add(runl, 4, fifo->func->engn, NVKM_ENGINE_MSPDEC, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
43
nvkm_runl_add(runl, 5, fifo->func->engn, NVKM_ENGINE_SEC, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g98.c
44
nvkm_runl_add(runl, 6, fifo->func->engn, NVKM_ENGINE_MSVLD, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
154
if (WARN_ON(!engine->func->nonstall))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
157
return engine->func->nonstall(engine);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
364
if (runl->runq[0]->func->intr(runl->runq[0], runl))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
371
if (runl->runq[1]->func->intr(runl->runq[1], runl))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
402
runl->func->preempt(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
416
runq->func->init(runq);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
480
fifo->func->engn_ce : fifo->func->engn,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
485
if (!engn->engine->func->nonstall) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
544
runl->nonstall.vector = engn->func->nonstall(engn);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
334
nvkm_snprintbf(msg, sizeof(msg), runq->func->intr_0_names, show);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
551
if (engn->func->mmu_fault_triggered &&
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
552
engn->func->mmu_fault_triggered(engn)) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
562
er = nvkm_enum_find(fifo->func->mmu_fault->reason, info->reason);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
563
ee = nvkm_enum_find(fifo->func->mmu_fault->engine, info->engine);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
565
ec = nvkm_enum_find(fifo->func->mmu_fault->hubclient, info->client);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
567
ec = nvkm_enum_find(fifo->func->mmu_fault->gpcclient, info->client);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
570
ea = nvkm_enum_find(fifo->func->mmu_fault->access, info->access);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
630
id = engn->func->cxid(engn, &cgid);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
633
nvkm_runl_foreach_engn_cond(engn2, runl, engn2->func->cxid) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
634
id2 = engn2->func->cxid(engn2, &cgid2);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
636
engn2->func->mmu_fault_trigger(engn2);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
653
nvkm_runl_foreach_engn_cond(engn, runl, engn->func->chsw) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
654
if (WARN_ON(engn->fault < 0) || !engn->func->chsw(engn))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
664
fifo->func->intr_ctxsw_timeout(fifo, engm);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
727
fifo->func->intr_mmu_fault_unit(fifo, unit);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
741
if (runq->func->intr(runq, NULL))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
916
nvkm_runl_add(runl, 0, fifo->func->engn, NVKM_ENGINE_GR, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
917
nvkm_runl_add(runl, 1, fifo->func->engn, NVKM_ENGINE_MSPDEC, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
918
nvkm_runl_add(runl, 2, fifo->func->engn, NVKM_ENGINE_MSPPP, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
919
nvkm_runl_add(runl, 3, fifo->func->engn, NVKM_ENGINE_MSVLD, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
920
nvkm_runl_add(runl, 4, fifo->func->engn, NVKM_ENGINE_CE, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
921
nvkm_runl_add(runl, 5, fifo->func->engn, NVKM_ENGINE_CE, 1);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
317
if (runq->func->intr_1_ctxnotvalid &&
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
318
runq->func->intr_1_ctxnotvalid(runq, chid))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
748
if (fifo->func->chan.func->userd->bar == NVKM_BAR1_FB)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
762
const struct nvkm_engn_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
785
func = fifo->func->engn_ce;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
791
func = fifo->func->engn;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
795
nvkm_runl_add(runl, tdev->engine, func, tdev->type, tdev->inst);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c
41
cgrp->func->preempt(cgrp);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
106
const struct nvkm_ramfc_layout *c = chan->func->ramfc->layout;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
502
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_SW, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
503
nvkm_runl_add(runl, 0, fifo->func->engn_sw, NVKM_ENGINE_DMAOBJ, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
504
nvkm_runl_add(runl, 1, fifo->func->engn , NVKM_ENGINE_GR, 0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
505
nvkm_runl_add(runl, 2, fifo->func->engn , NVKM_ENGINE_MPEG, 0); /* NV31- */
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
62
c = chan->func->ramfc->layout;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
73
c = chan->func->ramfc->layout;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
256
const u32 segment = ALIGN((runl->cgrp_nr + runl->chan_nr) * runl->func->size, 0x1000);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
262
maxsize * 2 * runl->func->size, 0, false, &runl->mem);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
269
ret = runl->func->wait(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
306
runl->func->insert_cgrp(cgrp, memory, offset);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
307
offset += runl->func->size;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
312
runl->func->insert_chan(chan, memory, offset);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
313
offset += runl->func->size;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
321
count = (offset - start) / runl->func->size;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
324
runl->func->commit(runl, memory, start, count);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
357
runl->func->update(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h
55
const struct nvkm_cgrp_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h
61
const struct nvkm_chan_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
101
nvkm_runl_foreach_engn_cond(engn, runl, engn->func->cxid) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
121
runl->func->update(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
122
if (runl->func->fault_clear)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
123
runl->func->fault_clear(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
128
runl->func->wait(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
137
if (runl->func->preempt)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
138
runl->func->preempt(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
252
if (!runl->func->preempt_pending(runl))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
263
if (!runl->func->pending(runl))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
273
if (atomic_xchg(&runl->changed, 0) && runl->func->update) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
274
runl->func->update(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
276
runl->func->wait(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
289
runl->func->allow(runl, ~0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
303
runl->func->block(runl, ~0);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
311
if (runl->func->fini)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
312
runl->func->fini(runl);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
338
nvkm_runl_add(struct nvkm_runl *runl, int engi, const struct nvkm_engn_func *func,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
355
engn->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
366
if (engn->fault < 0 && fifo->func->mmu_fault) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
367
const struct nvkm_enum *map = fifo->func->mmu_fault->engine;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
404
runl->func = fifo->func->runl;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
41
id = engn->func->cxid(engn, &cgid);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
87
if (runl->func->preempt) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
93
if (runq->func->idle(runq))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.h
24
} *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.h
61
} *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runq.c
40
runq->func = fifo->func->runq;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runq.h
14
} *func;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c
46
nvkm_wr32(device, device->vfn->addr.user + 0x0090, chan->func->doorbell_handle(chan));
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ucgrp.c
50
const struct nvkm_fifo_func_chan *chan = &fifo->func->chan;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
140
if (engn->func->ramht_del)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
141
engn->func->ramht_del(uobj->chan, uobj->hash);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
194
if (engn->func->ramht_add) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
195
uobj->hash = engn->func->ramht_add(engn, uobj->oproxy.object, uobj->chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
215
if (engn->runl->func->runqs) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
225
if (engine->func->fifo.sclass) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
226
ret = engine->func->fifo.sclass(oclass, index);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
238
while (engine->func->sclass[c].oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
240
oclass->base = engine->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
261
if (!chan->func->userd->bar)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
265
*addr = device->func->resource_addr(device, chan->func->userd->bar) +
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
266
chan->func->userd->base + chan->userd.base;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
267
*size = chan->func->userd->size;
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
279
if (chan->func->unbind)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
280
chan->func->unbind(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
293
if (chan->func->bind)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
294
chan->func->bind(chan);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
323
if (WARN_ON(object->func != &nvkm_uchan))
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
386
ret = nvkm_chan_new_(fifo->func->chan.func, runl, args->v0.runq, cgrp, args->v0.name,
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
395
if (chan->func->doorbell_handle)
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
396
args->v0.token = chan->func->doorbell_handle(chan);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
101
while (gr->func->sclass[c].oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
103
oclass->base = gr->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
116
if (gr->func->chan_new)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
117
return gr->func->chan_new(gr, chan, oclass, pobject);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
125
gr->func->intr(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
133
if (gr->func->nonstall)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
134
return gr->func->nonstall(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
143
if (gr->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
144
return gr->func->oneinit(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
153
if (gr->func->reset)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
154
return gr->func->reset(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
164
if (gr->func->init)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
165
return gr->func->init(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
174
if (gr->func->fini)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
175
return gr->func->fini(gr, suspend != NVKM_POWEROFF);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
183
if (gr->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
184
return gr->func->dtor(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
204
nvkm_gr_ctor(const struct nvkm_gr_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
207
gr->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
32
if (gr && gr->func->ctxsw.inst)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
33
return gr->func->ctxsw.inst(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
41
if (gr && gr->func->ctxsw.resume)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
42
return gr->func->ctxsw.resume(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
50
if (gr && gr->func->ctxsw.pause)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
51
return gr->func->ctxsw.pause(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
59
if (gr->func->chsw_load)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
60
return gr->func->chsw_load(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
68
if (gr->func->tile)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
69
gr->func->tile(gr, region, tile);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
75
if (gr->func->units)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
76
return gr->func->units(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
83
if (gr->func->tlb_flush)
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
84
return gr->func->tlb_flush(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
94
if (gr->func->object_get) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
95
int ret = gr->func->object_get(gr, index, &oclass->base);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1035
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1062
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1305
const struct gf100_grctx_func *func = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1309
func->sm_id(gr, gr->sm[sm].gpc, gr->sm[sm].tpc, sm);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1310
if (func->tpc_nr)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1311
func->tpc_nr(gr, gr->sm[sm].gpc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1315
if (!func->skip_pd_num_tpc_per_gpc)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1318
if (func->r4060a8)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1319
func->r4060a8(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1321
func->rop_mapping(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1323
if (func->alpha_beta_tables)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1324
func->alpha_beta_tables(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1325
if (func->max_ways_evict)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1326
func->max_ways_evict(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1327
if (func->dist_skip_table)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1328
func->dist_skip_table(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1329
if (func->r406500)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1330
func->r406500(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1331
if (func->gpc_tpc_nr)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1332
func->gpc_tpc_nr(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1333
if (func->r419f78)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1334
func->r419f78(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1335
if (func->tpc_mask)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1336
func->tpc_mask(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1337
if (func->smid_config)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1338
func->smid_config(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1346
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1362
if (gr->func->init_419bd8)
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1363
gr->func->init_419bd8(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1438
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c
1457
gr->func->fecs.reset(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c
739
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c
247
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c
260
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
878
const struct gf100_grctx_func *grctx = chan->gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
934
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c
32
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
881
const struct gf100_grctx_func *grctx = chan->gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
903
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c
915
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++, n++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c
72
tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * gr->func->tpc_nr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c
90
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c
29
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c
100
size += grctx->attrib_nr_max * gr->func->ppc_nr * gr->ppc_tpc_max;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c
117
gpcs[gpc + (gr->func->gpc_nr * (tpc / 4))] |= sm << ((tpc % 4) * 8);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c
45
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c
59
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++, n++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c
95
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c
43
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c
58
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++, n++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c
88
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c
93
size += grctx->gfxp_nr * gr->func->ppc_nr * gr->ppc_tpc_max;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c
118
const u32 mapregs = DIV_ROUND_UP(gr->func->gpc_nr * gr->func->tpc_nr, 6);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c
65
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c
80
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++, n++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1026
if (gr->func->zbc->stencil_get) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1027
gr->func->zbc->stencil_get(gr, 1, 0x00, 0x00); s++;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1028
gr->func->zbc->stencil_get(gr, 1, 0x01, 0x01); s++;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1029
gr->func->zbc->stencil_get(gr, 1, 0xff, 0xff); s++;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1034
gr->func->zbc->clear_color(gr, index);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1036
gr->func->zbc->clear_depth(gr, index);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1038
if (gr->func->zbc->clear_stencil) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1040
gr->func->zbc->clear_stencil(gr, index);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1331
gr->func->trap_mp(gr, gpc, tpc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
140
gr->func->zbc->clear_depth(gr, zbc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1834
const struct gf100_grctx_func *grctx = gr->func->grctx;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1838
if (!gr->func->fecs.ucode) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1845
gr->func->fecs.ucode->data.data, 0x0,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1846
gr->func->fecs.ucode->data.size, 0);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1848
gr->func->fecs.ucode->code.data, 0x0,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1849
gr->func->fecs.ucode->code.size, 0, 0, false);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1853
gr->func->gpccs.ucode->data.data, 0x0,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1854
gr->func->gpccs.ucode->data.size, 0);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1856
gr->func->gpccs.ucode->code.data, 0x0,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1857
gr->func->gpccs.ucode->code.size, 0, 0, false);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1999
if (gr->func->oneinit_intr)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2000
intr = gr->func->oneinit_intr(gr, &intr_type);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2009
gr->rop_nr = gr->func->rops(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2015
for (j = 0; j < gr->func->ppc_nr; j++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2037
gr->func->grctx->pagepool_size, 0x100, false, &gr->pagepool);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2041
ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST_SR_LOST, gr->func->grctx->bundle_size,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2047
gr->func->grctx->attrib_cb_size(gr), 0x1000, false, &gr->attrib_cb);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2051
if (gr->func->grctx->unknown_size) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2052
ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, gr->func->grctx->unknown_size,
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2059
gr->func->oneinit_tiles(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2061
return gr->func->oneinit_sm_id(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2107
ret = gr->func->init(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2333
subdev->func->fini(subdev, NVKM_POWEROFF);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2335
if (gr->func->gpccs.reset)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2336
gr->func->gpccs.reset(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2339
return subdev->func->init(subdev);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2350
gr->func->init_gpc_mmu(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2361
gf100_gr_mmio(gr, gr->func->mmio);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2366
if (gr->func->init_r405a14)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2367
gr->func->init_r405a14(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2369
if (gr->func->clkgate_pack)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2370
nvkm_therm_clkgate_init(device->therm, gr->func->clkgate_pack);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2372
if (gr->func->init_bios)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2373
gr->func->init_bios(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2375
gr->func->init_vsc_stream_master(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2376
gr->func->init_zcull(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2377
gr->func->init_num_active_ltcs(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2378
if (gr->func->init_rop_active_fbps)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2379
gr->func->init_rop_active_fbps(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2380
if (gr->func->init_bios_2)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2381
gr->func->init_bios_2(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2382
if (gr->func->init_swdx_pes_mask)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2383
gr->func->init_swdx_pes_mask(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2384
if (gr->func->init_fs)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2385
gr->func->init_fs(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2393
gr->func->init_fecs_exceptions(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2395
if (gr->func->init_40a790)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2396
gr->func->init_40a790(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2398
if (gr->func->init_ds_hww_esr_2)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2399
gr->func->init_ds_hww_esr_2(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2405
if (gr->func->init_40601c)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2406
gr->func->init_40601c(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2411
if (gr->func->init_sked_hww_esr)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2412
gr->func->init_sked_hww_esr(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2417
if (gr->func->init_419cc0)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2418
gr->func->init_419cc0(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2419
if (gr->func->init_419eb4)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2420
gr->func->init_419eb4(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2421
if (gr->func->init_419c9c)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2422
gr->func->init_419c9c(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2424
if (gr->func->init_ppc_exceptions)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2425
gr->func->init_ppc_exceptions(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2435
if (gr->func->init_tex_hww_esr)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2436
gr->func->init_tex_hww_esr(gr, gpc, tpc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2438
if (gr->func->init_504430)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2439
gr->func->init_504430(gr, gpc, tpc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2440
gr->func->init_shader_exceptions(gr, gpc, tpc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2446
gr->func->init_rop_exceptions(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2452
if (gr->func->init_exception2)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2453
gr->func->init_exception2(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2455
if (gr->func->init_400054)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2456
gr->func->init_400054(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2460
if (gr->func->init_4188a4)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2461
gr->func->init_4188a4(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2503
if (gr->func->nonstall)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2504
return gr->func->nonstall(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
2639
gr->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
292
nvkm_object_ctor(oclass->base.func ? oclass->base.func :
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
304
while (gr->func->sclass[c].oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
306
*sclass = gr->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
429
if (gr->func->grctx->unknown_size) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
472
gr->func->grctx->pagepool(chan, chan->pagepool->addr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
473
gr->func->grctx->bundle(chan, chan->bundle_cb->addr, gr->func->grctx->bundle_size);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
474
gr->func->grctx->attrib_cb(chan, chan->attrib_cb->addr, gr->func->grctx->attrib_cb_size(gr));
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
475
gr->func->grctx->attrib(chan);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
476
if (gr->func->grctx->patch_ltc)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
477
gr->func->grctx->patch_ltc(chan);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
478
if (gr->func->grctx->unknown_size)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
479
gr->func->grctx->unknown(chan, chan->unknown->addr, gr->func->grctx->unknown_size);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
95
gr->func->zbc->clear_color(gr, zbc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
419
const struct gf100_gr_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
66
const struct gf100_gr_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c
129
const u8 tile_nr = !gr->func->gpc_nr ? ALIGN(gr->tpc_total, 32) :
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c
130
(gr->func->gpc_nr * gr->func->tpc_nr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c
421
for (ppc = 0; ppc < gr->func->ppc_nr; ppc++) {
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
208
if (gr->func->init_gpc_mmu)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
209
gr->func->init_gpc_mmu(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
215
gr->func->init_zcull(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
217
gr->func->init_rop_active_fbps(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
233
if (gr->func->set_hww_esr_report_mask)
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
234
gr->func->set_hww_esr_report_mask(gr);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
73
gr->func->zbc->clear_stencil(gr, zbc);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1001
case 0x0184: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1002
case 0x0188: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1003
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1004
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1005
case 0x0194: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1006
case 0x0198: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1007
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1011
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1017
bool (*func)(struct nvkm_device *, u32, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1020
func = nv01_gr_mthd_prim; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1021
case 0x1f: func = nv01_gr_mthd_blit; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1022
case 0x21: func = nv01_gr_mthd_ifc; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1023
case 0x36: func = nv03_gr_mthd_sifc; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1024
case 0x37: func = nv03_gr_mthd_sifm; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1025
case 0x48: func = nv03_gr_mthd_ttri; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1026
case 0x4a: func = nv04_gr_mthd_gdi; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1027
case 0x4b: func = nv03_gr_mthd_gdi; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1028
case 0x53: func = nv04_gr_mthd_surf3d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1030
func = nv04_gr_mthd_prim; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1031
case 0x5f: func = nv04_gr_mthd_blit; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1032
case 0x60: func = nv04_gr_mthd_iifc; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1033
case 0x61: func = nv04_gr_mthd_ifc; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1034
case 0x76: func = nv04_gr_mthd_sifc; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1035
case 0x77: func = nv04_gr_mthd_sifm; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
1039
return func(device, inst, mthd, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
760
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
762
case 0x0184: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
763
case 0x0188: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
764
case 0x018c: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
765
case 0x0190: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
766
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
770
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
776
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
778
case 0x0188: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
779
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
780
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
781
case 0x0194: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
782
case 0x0198: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
783
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
787
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
793
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
795
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
796
case 0x0188: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
797
case 0x018c: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
798
case 0x0190: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
799
case 0x0194: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
800
case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
801
case 0x019c: func = nv04_gr_mthd_bind_surf_src; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
802
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
806
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
812
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
814
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
815
case 0x0188: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
816
case 0x018c: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
817
case 0x0190: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
818
case 0x0194: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
819
case 0x0198: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
820
case 0x019c: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
821
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
825
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
831
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
833
case 0x0188: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
834
case 0x018c: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
835
case 0x0190: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
836
case 0x0194: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
837
case 0x0198: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
838
case 0x019c: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
839
case 0x01a0: func = nv04_gr_mthd_bind_surf2d_swzsurf; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
840
case 0x03e4: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
844
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
850
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
852
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
853
case 0x0188: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
854
case 0x018c: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
855
case 0x0190: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
856
case 0x0194: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
857
case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
858
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
862
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
868
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
870
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
871
case 0x0188: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
872
case 0x018c: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
873
case 0x0190: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
874
case 0x0194: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
875
case 0x0198: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
876
case 0x019c: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
877
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
881
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
887
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
889
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
890
case 0x0188: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
891
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
892
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
893
case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
894
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
898
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
904
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
906
case 0x0184: func = nv01_gr_mthd_bind_chroma; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
907
case 0x0188: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
908
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
909
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
910
case 0x0194: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
911
case 0x0198: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
912
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
916
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
922
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
924
case 0x0188: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
925
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
926
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
927
case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
928
case 0x0304: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
932
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
938
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
940
case 0x0188: func = nv04_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
941
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
942
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
943
case 0x0194: func = nv04_gr_mthd_bind_beta4; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
944
case 0x0198: func = nv04_gr_mthd_bind_surf2d; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
945
case 0x0304: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
949
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
955
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
957
case 0x02f8: func = nv04_gr_mthd_surf3d_clip_h; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
958
case 0x02fc: func = nv04_gr_mthd_surf3d_clip_v; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
962
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
968
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
970
case 0x0188: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
971
case 0x018c: func = nv04_gr_mthd_bind_surf_color; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
972
case 0x0190: func = nv04_gr_mthd_bind_surf_zeta; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
976
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
982
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
984
case 0x0184: func = nv01_gr_mthd_bind_clip; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
985
case 0x0188: func = nv01_gr_mthd_bind_patt; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
986
case 0x018c: func = nv04_gr_mthd_bind_rop; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
987
case 0x0190: func = nv04_gr_mthd_bind_beta1; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
988
case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
989
case 0x02fc: func = nv04_gr_mthd_set_operation; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
993
return func(device, inst, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c
999
bool (*func)(struct nvkm_device *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
1175
nv10_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
1185
return nvkm_gr_ctor(func, device, type, inst, true, &gr->base);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
518
void (*func)(struct nv10_gr_chan *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
521
func = nv17_gr_mthd_lma_window; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
522
case 0x1658: func = nv17_gr_mthd_lma_enable; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
526
func(chan, mthd, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
533
bool (*func)(struct nv10_gr_chan *, u32, u32);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
535
case 0x99: func = nv17_gr_mthd_celcius; break;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c
539
return func(chan, mthd, data);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c
300
vramsz = device->func->resource_size(device, NVKM_BAR1_FB) - 1;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c
332
nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c
341
return nvkm_gr_ctor(func, device, type, inst, true, &gr->base);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c
389
vramsz = device->func->resource_size(device, NVKM_BAR1_FB) - 1;
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c
431
nv40_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c
441
return nvkm_gr_ctor(func, device, type, inst, true, &gr->base);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c
763
nv50_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c
773
return nvkm_gr_ctor(func, device, type, inst, true, &gr->base);
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h
9
const struct nv50_gr_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c
59
const u8 tile_nr = gr->func->gpc_nr * gr->func->tpc_nr;
drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c
175
return mpeg->func->mthd_dma(device, mthd, data);
drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c
275
nv31_mpeg_new_(const struct nv31_mpeg_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c
282
mpeg->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.h
9
const struct nv31_mpeg_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c
27
nvkm_mspdec_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c
30
return nvkm_falcon_new_(func, device, type, inst, true, 0x085000, pengine);
drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c
27
nvkm_msppp_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c
30
return nvkm_falcon_new_(func, device, type, inst, true, 0x086000, pengine);
drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c
27
nvkm_msvld_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c
30
return nvkm_falcon_new_(func, device, type, inst, true, 0x084000, pengine);
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c
58
nvdec->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c
60
return nvkm_falcon_ctor(nvdec->func->flcn, &nvdec->engine.subdev,
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/priv.h
16
const struct nvkm_nvdec_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
59
nvenc->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
61
return nvkm_falcon_ctor(nvenc->func->flcn, &nvenc->engine.subdev,
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/priv.h
14
const struct nvkm_nvenc_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
103
if (sec2->func->intr_vector) {
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
104
intr = sec2->func->intr_vector(sec2, &type);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
109
return nvkm_inth_add(intr, type, NVKM_INTR_PRIO_NORMAL, subdev, sec2->func->intr,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
151
sec2->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
153
ret = nvkm_falcon_ctor(sec2->func->flcn, &sec2->engine.subdev,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
47
.unit_id = sec2->func->unit_unload,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c
69
falcon->func->disable(falcon);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/ga102.c
97
.cmd.hdr.unit_id = sec2->func->unit_acr,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
104
.argv = lsfw->falcon->func->emem_addr,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
163
int ret = sec2->func->initmsg(sec2);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
265
.argv = lsfw->falcon->func->emem_addr,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
64
.cmd.hdr.unit_id = sec2->func->unit_acr,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/priv.h
25
const struct nvkm_sec2_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/sec2/r535.c
39
r535_sec2_new(const struct nvkm_sec2_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/sec2/r535.c
52
return nvkm_falcon_ctor(func->flcn, &sec2->engine.subdev, sec2->engine.subdev.name,
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
106
sw->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
64
while (sw->func->sclass[c].ctor) {
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
66
oclass->engn = &sw->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
67
oclass->base = sw->func->sclass[index].base;
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
81
return sw->func->chan_new(sw, fifoch, oclass, pobject);
drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c
98
nvkm_sw_new_(const struct nvkm_sw_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
41
if (chan->func->mthd)
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
42
return chan->func->mthd(chan, subc, mthd, data);
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
60
if (chan->func->dtor)
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
61
data = chan->func->dtor(chan);
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
76
nvkm_sw_chan_ctor(const struct nvkm_sw_chan_func *func, struct nvkm_sw *sw,
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c
83
chan->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.h
11
const struct nvkm_sw_chan_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c
48
if (nvsw->func->mthd)
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c
49
return nvsw->func->mthd(nvsw, mthd, data, size);
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c
61
nvkm_nvsw_new_(const struct nvkm_nvsw_func *func, struct nvkm_sw_chan *chan,
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c
72
nvsw->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.h
9
const struct nvkm_nvsw_func *func;
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
143
nvkm_wr32(device, base + 0xd28, xtensa->func->unkd28); /* ?? */
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
178
nvkm_xtensa_new_(const struct nvkm_xtensa_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
186
xtensa->func = func;
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
33
while (xtensa->func->sclass[c].oclass) {
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
35
oclass->base = xtensa->func->sclass[index];
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c
74
nvkm_mask(device, xtensa->addr + 0xd94, 0, xtensa->func->fifo_val);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
125
return falcon->func->imem_pio;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
127
if (!falcon->func->emem_addr || *mem_base < falcon->func->emem_addr)
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
128
return falcon->func->dmem_pio;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
130
*mem_base -= falcon->func->emem_addr;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
133
return falcon->func->emem_pio;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
221
falcon->func->load_imem(falcon, data, start, size, tag, port,
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
231
falcon->func->load_dmem(falcon, data, start, size, port);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
239
falcon->func->start(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
247
ret = falcon->func->disable(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
257
const struct nvkm_falcon_func *func = falcon->func;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
277
if (func->debug) {
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
278
u32 val = nvkm_falcon_rd32(falcon, func->debug);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
31
if (falcon->func->intr_retrigger)
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
32
falcon->func->intr_retrigger(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
326
nvkm_falcon_ctor(const struct nvkm_falcon_func *func,
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
330
falcon->func = func;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
334
falcon->addr2 = func->addr2;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
38
if (!falcon->func->riscv_active)
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
41
return falcon->func->riscv_active(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
48
case IMEM: return falcon->func->imem_dma;
drivers/gpu/drm/nouveau/nvkm/falcon/base.c
49
case DMEM: return falcon->func->dmem_dma;
drivers/gpu/drm/nouveau/nvkm/falcon/cmdq.c
178
const struct nvkm_falcon_func *func = cmdq->qmgr->falcon->func;
drivers/gpu/drm/nouveau/nvkm/falcon/cmdq.c
180
cmdq->head_reg = func->cmdq.head + index * func->cmdq.stride;
drivers/gpu/drm/nouveau/nvkm/falcon/cmdq.c
181
cmdq->tail_reg = func->cmdq.tail + index * func->cmdq.stride;
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
109
ret = fw->func->load(fw);
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
114
ret = fw->func->boot(fw, pmbox0, pmbox1, mbox0_ok, irqsclr);
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
198
nvkm_falcon_fw_ctor(const struct nvkm_falcon_fw_func *func, const char *name,
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
205
fw->func = func;
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
215
nvkm_falcon_fw_ctor_hs(const struct nvkm_falcon_fw_func *func, const char *name,
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
234
ret = nvkm_falcon_fw_ctor(func, name, subdev->device, bl != NULL,
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
308
nvkm_falcon_fw_ctor_hs_v2(const struct nvkm_falcon_fw_func *func, const char *name,
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
330
ret = nvkm_falcon_fw_ctor(func, name, subdev->device, true,
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
39
if (fw->func->signature) {
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
40
idx = fw->func->signature(fw, &sig_base_src);
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
94
fw->func->reset(fw);
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
97
if (fw->func->setup) {
drivers/gpu/drm/nouveau/nvkm/falcon/fw.c
98
ret = fw->func->setup(fw);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
160
if (falcon->func->reset_eng) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
161
ret = falcon->func->reset_eng(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
166
if (falcon->func->select) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
167
ret = falcon->func->select(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
172
if (falcon->func->reset_pmc)
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
175
ret = falcon->func->reset_wait_mem_scrubbing(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
189
if (falcon->func->select) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
190
ret = falcon->func->select(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
198
if (falcon->func->reset_pmc) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
199
if (falcon->func->reset_prep) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
200
ret = falcon->func->reset_prep(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
208
if (falcon->func->reset_eng) {
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
209
ret = falcon->func->reset_eng(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
268
falcon->func->bind_inst(falcon, target, nvkm_memory_addr(fw->inst));
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
271
if (falcon->func->bind_stat(falcon, falcon->func->bind_intr) == 5)
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
280
if (falcon->func->bind_stat(falcon, false) == 0)
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
296
return fw->func->load_bld(fw);
drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c
327
u32 addr = falcon->func->debug;
drivers/gpu/drm/nouveau/nvkm/falcon/gp102.c
71
if (falcon->func->reset_prep) {
drivers/gpu/drm/nouveau/nvkm/falcon/gp102.c
72
ret = falcon->func->reset_prep(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/gp102.c
81
return falcon->func->reset_wait_mem_scrubbing(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
161
msgq->head_reg = falcon->func->msgq.head;
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
162
msgq->tail_reg = falcon->func->msgq.tail;
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
163
msgq->offset = nvkm_falcon_rd32(falcon, falcon->func->msgq.tail);
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
180
const struct nvkm_falcon_func *func = msgq->qmgr->falcon->func;
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
182
msgq->head_reg = func->msgq.head + index * func->msgq.stride;
drivers/gpu/drm/nouveau/nvkm/falcon/msgq.c
183
msgq->tail_reg = func->msgq.tail + index * func->msgq.stride;
drivers/gpu/drm/nouveau/nvkm/falcon/priv.h
10
return falcon->func->enable(falcon);
drivers/gpu/drm/nouveau/nvkm/falcon/priv.h
9
if (falcon->func->enable)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
101
ret = acr->func->init(acr);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
105
acr->func->wpr_check(acr, &start, &limit);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
146
if ((mask & acr->func->bootstrap_falcons) == mask) {
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
156
if ((mask & rtos->func->bootstrap_falcons) != mask)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
159
if (rtos->func->bootstrap_multiple_falcons)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
160
return rtos->func->bootstrap_multiple_falcons(rtos->falcon, mask);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
163
int ret = rtos->func->bootstrap_falcon(rtos->falcon, id);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
227
if (list_empty(&acr->hsfw) || !acr->func || !acr->func->wpr_layout) {
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
239
if (!lsfw->func) {
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
256
lsf->func = lsfw->func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
266
falcons = rtos->func->bootstrap_falcons;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
269
falcons = acr->func->bootstrap_falcons;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
284
wpr_size = acr->func->wpr_layout(acr);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
292
ret = acr->func->wpr_alloc(acr, wpr_size);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
305
acr->func->wpr_build(acr, rtos);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
306
acr->func->wpr_patch(acr, (s64)acr->wpr_start - acr->wpr_prev);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
409
ret = acr->func->wpr_parse(acr);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
436
acr->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c
66
if (lsf->func->bootstrap_falcon)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga100.c
48
return nvkm_falcon_fw_ctor_hs_v2(fwif->func, name, &acr->subdev, fw, ver, NULL, &hsfw->fw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
101
.func = &(const struct nvkm_falcon_fw_func) {
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
176
lsfw->func->bld_write(acr, lsfw->offset.bld, lsfw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
210
lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
297
hsfwif = nvkm_firmware_load(subdev, fwif->func->ahesasc, "AcrAHESASC",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
302
hsfwif = nvkm_firmware_load(subdev, fwif->func->asb, "AcrASB",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
307
hsfwif = nvkm_firmware_load(subdev, fwif->func->unload, "AcrUnload",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
50
lsfw->func->bld_patch(acr, lsb->bl_data_off, adjust);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.c
92
hdr->flags = lsfw->func->flags;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
110
hdr->flags = lsfw->func->flags;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
160
lsfw->func->bld_write(acr, lsfw->offset.bld, lsfw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
201
lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
258
return nvkm_falcon_fw_ctor_hs(fwif->func, name, &acr->subdev, bl, fw, ver, NULL, &hsfw->fw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
348
hsfwif = nvkm_firmware_load(subdev, fwif->func->load, "AcrLoad",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
353
hsfwif = nvkm_firmware_load(subdev, fwif->func->unload, "AcrUnload",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c
84
lsfw->func->bld_patch(acr, lsb.tail.bl_data_off, adjust);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.c
120
hsfwif = nvkm_firmware_load(subdev, fwif->func->load, "AcrLoad",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.c
37
acr->func->wpr_check(acr, &acr->wpr_start, &acr->wpr_end);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c
110
lsfw->func->bld_write(acr, lsfw->offset.bld, lsfw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c
155
lsfw->bl_data_size = ALIGN(lsfw->func->bld_size, 256);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c
262
hsfwif = nvkm_firmware_load(subdev, fwif->func->load, "AcrLoad",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c
267
hsfwif = nvkm_firmware_load(subdev, fwif->func->unload, "AcrUnload",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c
51
lsfw->func->bld_patch(acr, lsb.tail.bl_data_off, adjust);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
145
const struct nvkm_acr_lsf_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
151
func, &fw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
165
const struct nvkm_acr_lsf_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
171
func, &fw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
185
const struct nvkm_acr_lsf_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
192
lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, func, &fw);
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
253
const struct nvkm_acr_lsf_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
263
if (IS_ERR((lsfw = nvkm_acr_lsfw_add(func, acr, falcon, id))))
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
329
const struct nvkm_acr_lsf_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
348
if (IS_ERR((lsfw = nvkm_acr_lsfw_add(func, acr, falcon, id))))
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
363
lsfw->bootloader_imem_offset = func->bl_entry;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
59
nvkm_acr_lsfw_add(const struct nvkm_acr_lsf_func *func, struct nvkm_acr *acr,
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
68
if (lsfw && lsfw->func) {
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
81
lsfw->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
91
const struct nvkm_acr_lsf_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.c
98
if (IS_ERR((lsfw = nvkm_acr_lsfw_add(func, acr, falcon, id))))
drivers/gpu/drm/nouveau/nvkm/subdev/acr/priv.h
10
const struct nvkm_acr_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/priv.h
107
const struct nvkm_acr_lsf_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/priv.h
78
const struct nvkm_falcon_fw_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/acr/tu102.c
173
hsfwif = nvkm_firmware_load(subdev, fwif->func->ahesasc, "AcrAHESASC",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/tu102.c
179
hsfwif = nvkm_firmware_load(subdev, fwif->func->asb, "AcrASB",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/tu102.c
184
hsfwif = nvkm_firmware_load(subdev, fwif->func->unload, "AcrUnload",
drivers/gpu/drm/nouveau/nvkm/subdev/acr/tu102.c
79
lsfw->func->bld_write(acr, lsfw->offset.bld, lsfw);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
100
if (bar->func->bar1.fini)
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
101
bar->func->bar1.fini(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
113
bar->func->bar1.init(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
114
bar->func->bar1.wait(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
115
if (bar->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
116
bar->func->init(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
124
return bar->func->oneinit(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
132
return bar->func->dtor(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
144
nvkm_bar_ctor(const struct nvkm_bar_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
148
bar->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
29
if (bar && bar->func->flush)
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
30
bar->func->flush(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
36
return device->bar->func->bar1.vmm(device->bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
44
bar->func->bar1.init(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
45
bar->func->bar1.wait(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
57
return bar->func->bar2.vmm(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
66
bar->func->bar2.init(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
67
bar->func->bar2.wait(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
76
bar->func->bar2.fini(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
85
if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) {
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
86
bar->func->bar2.init(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c
87
bar->func->bar2.wait(bar);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
131
if (bar->base.func->bar2.init) {
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
164
gf100_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
170
nvkm_bar_ctor(func, device, type, inst, &bar->base);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
96
bar_len = device->func->resource_size(device, bar_id);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c
130
size = device->func->resource_size(device, NVKM_BAR2_INST);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c
170
size = device->func->resource_size(device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c
222
nv50_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c
228
nvkm_bar_ctor(func, device, type, inst, &bar->base);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
104
extdev_parse_entry(bios, entry, func);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
105
if (func->type == type)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
83
struct nvbios_extdev_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
91
extdev_parse_entry(bios, entry, func);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
97
struct nvbios_extdev_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
107
.func = (info & 0x0000ff00) >> 8,
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
119
dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line,
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
127
(func == 0xff || func == gpio->func))
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
133
if (*ver >= 0x22 && *ver < 0x30 && func == DCB_GPIO_TVDAC0) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
138
.func = DCB_GPIO_TVDAC0,
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
87
.func = (info & 0x07e0) >> 5,
drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c
97
.func = (info & 0x0000ff00) >> 8,
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2195
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2207
while ((data = dcb_gpio_parse(bios, 0, idx++, &ver, &len, &func))) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2208
if (func.func != DCB_GPIO_UNUSED) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2210
if (func.func == nvbios_rd08(bios, i))
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2214
trace("\tFUNC[0x%02x]", func.func);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
2218
nvkm_gpio_reset(gpio, func.func);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
112
const struct nvbios_source *func = mthd->func;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
114
if (func->name) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
115
nvkm_debug(subdev, "trying %s...\n", name ? name : func->name);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
116
if (func->init) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
117
mthd->data = func->init(bios, name);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
124
if (func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
125
func->fini(mthd->data);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
196
for (mthd = mthds; mthd->func; mthd++) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
197
if (mthd->func->name &&
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
198
!strcasecmp(source, mthd->func->name)) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
207
mthd->func = &shadow_fw;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
209
mthd->func = NULL;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
221
for (mthd = mthds, best = mthd; mthd->func; mthd++) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
232
for (mthd = mthds; mthd->func; mthd++) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
242
nvkm_debug(subdev, "using image from %s\n", best->func ?
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
243
best->func->name : source);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
32
const struct nvbios_source *func;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
45
u32 read = mthd->func->read(data, start, limit - start, bios);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
58
if (mthd->func->no_pcir) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
61
image.size = mthd->func->size(mthd->data);
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
85
if (!mthd->func->ignore_checksum &&
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
89
if (!mthd->func->require_checksum) {
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c
90
if (mthd->func->rw)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c
56
struct pci_dev *pdev = device->func->pci(device)->pdev;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c
100
pdev = device->func->pci(device)->pdev;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c
61
if (device->func->pci)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c
62
pdev = device->func->pci(device)->pdev;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c
99
if (device->func->pci)
drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c
30
bus->func->intr(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c
37
bus->func->init(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c
55
nvkm_bus_new_(const struct nvkm_bus_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c
62
bus->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
69
if (hwsq->c.size <= bus->func->hwsq_size) {
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c
71
ret = bus->func->hwsq_exec(bus,
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
195
ret = clk->func->calc(clk, cstate);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
197
ret = clk->func->prog(clk);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
198
clk->func->tidy(clk);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
285
if (fb && fb->ram && fb->ram->func->calc) {
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
289
ret = ram->func->calc(ram, khz);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
291
ret = ram->func->prog(ram);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
293
ram->func->tidy(ram);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
576
return clk->func->read(clk, src);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
584
if (clk->func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
585
clk->func->fini(clk);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
612
if (clk->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
613
return clk->func->init(clk);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
630
if (clk->func->pstates)
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
648
nvkm_clk_ctor(const struct nvkm_clk_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
667
clk->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
669
clk->domains = func->domains;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
679
if (!func->pstates) {
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
685
for (idx = 0; idx < func->nr_pstates; idx++)
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
686
list_add_tail(&func->pstates[idx].head, &clk->states);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
687
clk->state_nr = func->nr_pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
710
nvkm_clk_new_(const struct nvkm_clk_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
715
return nvkm_clk_ctor(func, device, type, inst, allow_reclock, *pclk);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
586
base->func->calc(base, &base->func->pstates[0].base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
587
ret = base->func->prog(&clk->base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
619
const struct nvkm_clk_func *func, const struct gk20a_clk_pllg_params *params,
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
622
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
627
for (i = 0; i < func->nr_pstates; i++) {
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
628
INIT_LIST_HEAD(&func->pstates[i].list);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
629
func->pstates[i].pstate = i + 1;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
635
ret = nvkm_clk_ctor(func, device, type, inst, true, &clk->base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c
188
struct nvkm_pstate *pstates = base->func->pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c
189
int nr_pstates = base->func->nr_pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c
265
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c
266
struct nvkm_pstate *pstates = base->func->pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c
267
int nr_pstates = base->func->nr_pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
1022
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
852
if (clk->base.func == &gm20b_clk) {
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
866
base->func->calc(base, &base->func->pstates[0].base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
867
ret = base->func->prog(base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
985
struct nvkm_pstate *pstates = clk->base.base.func->pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c
986
int nr_pstates = clk->base.base.func->nr_pstates;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
163
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
164
const struct nvkm_clk_func *func = &gp10b_clk;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
175
for (i = 0; i < func->nr_pstates; i++) {
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
176
INIT_LIST_HEAD(&func->pstates[i].list);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
177
func->pstates[i].pstate = i + 1;
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
180
ret = nvkm_clk_ctor(func, device, type, inst, true, &clk->base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
20
base->func->calc(base, &base->func->pstates[base->func->nr_pstates - 1].base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gp10b.c
21
ret = base->func->prog(base);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
510
nv50_clk_new_(const struct nvkm_clk_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
518
ret = nvkm_clk_ctor(func, device, type, inst, allow_reclock, &clk->base);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
102
if (init->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
103
init->func->init(init);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
113
if (init->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
114
data = init->func->dtor(init);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
130
nvkm_devinit_ctor(const struct nvkm_devinit_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
134
init->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
32
if (init->func->mmio)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
33
addr = init->func->mmio(init, addr);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
40
return init->func->pll_set(init, type, khz);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
46
if (init->func->meminit)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
47
init->func->meminit(init);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
53
if (init && init->func->disable)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
54
init->func->disable(init);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
63
if (init && init->func->post)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
64
ret = init->func->post(init, init->post);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
84
if (init->func->preinit)
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c
85
init->func->preinit(init);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h
50
return io_mapping_create_wc(dev->func->resource_addr(dev, NVKM_BAR1_FB),
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h
51
dev->func->resource_size(dev, NVKM_BAR1_FB));
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c
437
nv04_devinit_new_(const struct nvkm_devinit_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c
446
nvkm_devinit_ctor(func, device, type, inst, &init->base);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c
148
nv50_devinit_new_(const struct nvkm_devinit_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c
157
nvkm_devinit_ctor(func, device, type, inst, &init->base);
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/r535.c
27
kfree(devinit->func);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
109
if (i < fault->func->buffer.nr) {
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
121
if (fault->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
122
ret = fault->func->oneinit(fault);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
155
nvkm_fault_new_(const struct nvkm_fault_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
162
fault->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
164
fault->user.base = func->user.base;
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
30
fault->func->buffer.intr(fault->buffer[index], false);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
37
fault->func->buffer.intr(fault->buffer[index], true);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
50
return fault->func->intr(fault);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
57
if (fault->func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
58
fault->func->fini(fault);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
66
if (fault->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
67
fault->func->init(fault);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
83
fault->func->buffer.info(buffer);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
89
fault->func->buffer.entry_size, 0x1000, true,
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
95
buffer->addr = fault->func->buffer.pin(buffer);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c
193
fault->func->buffer.fini(fault->buffer[0]);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c
202
fault->func->buffer.init(fault->buffer[0]);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c
44
const u32 base = get * buffer->fault->func->buffer.entry_size;
drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c
122
fault->func->buffer.fini(fault->buffer[0]);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c
132
fault->func->buffer.init(fault->buffer[0]);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c
53
*addr = device->func->resource_addr(device, NVKM_BAR2_INST) + buffer->addr;
drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c
62
buffer->fault->func->buffer.fini(buffer);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c
70
buffer->fault->func->buffer.init(buffer);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c
97
struct nvkm_fault_buffer *buffer = fault->buffer[fault->func->user.rp];
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
101
if (fb->func->intr)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
102
fb->func->intr(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
111
if (fb->func->ram_new) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
112
int ret = fb->func->ram_new(fb, &fb->ram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
119
if (fb->func->oneinit) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
120
int ret = fb->func->oneinit(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
129
if (fb->func->tags) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
130
tags = fb->func->tags(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
143
if (!fb->func->vpr.scrub_required)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
150
if (!fb->func->vpr.scrub_required(fb)) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
162
ret = fb->func->vpr.scrub(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
168
if (fb->func->vpr.scrub_required(fb)) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
182
if (fb && fb->func->vidmem.size)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
183
return fb->func->vidmem.size(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
202
fb->func->tile.prog(fb, i, &fb->tile.region[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
206
if (fb->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
207
fb->func->init(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
209
if (fb->func->init_remapper)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
210
fb->func->init_remapper(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
212
if (fb->func->init_page) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
213
ret = fb->func->init_page(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
218
if (fb->func->init_unkn)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
219
fb->func->init_unkn(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
241
fb->func->tile.fini(fb, i, &fb->tile.region[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
256
if (fb->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
257
return fb->func->dtor(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
272
nvkm_fb_ctor(const struct nvkm_fb_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
276
fb->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
277
fb->tile.regions = fb->func->tile.regions;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
278
fb->page = nvkm_longopt(device->cfgopt, "NvFbBigPage", fb->func->default_bigpage);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
281
if (func->sysmem.flush_page_init) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
296
nvkm_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
301
return nvkm_fb_ctor(func, device, type, inst, *pfb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
37
fb->func->tile.fini(fb, region, tile);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
44
fb->func->tile.init(fb, region, addr, size, pitch, flags, tile);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
51
if (fb->func->tile.prog) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
52
fb->func->tile.prog(fb, region, tile);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
65
if (fb->func->sysmem.flush_page_init)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
66
fb->func->sysmem.flush_page_init(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
110
gf100_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
117
nvkm_fb_ctor(func, device, type, inst, &fb->base);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
95
if (base->func->clkgate_pack) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
97
base->func->clkgate_pack);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c
37
fb->func->tile.comp(fb, i, size, flags, tile);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c
37
if (fb->func->tile.comp) /* z compression */
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c
38
fb->func->tile.comp(fb, i, size, flags, tile);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
202
nvkm_wr32(device, 0x100c90, fb->func->trap);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
209
if (fb->func->tags)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
210
return fb->func->tags(&fb->base);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
242
nv50_fb_new_(const struct nv50_fb_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
250
fb->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c
35
return fb->func->ram_new(&fb->base, pram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h
8
const struct nv50_fb_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/r535.c
41
ram->func = &r535_fb_ram;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/r535.c
63
kfree(fb->func);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
197
if (ram->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
198
return ram->func->init(ram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
206
if (ram && !WARN_ON(!ram->func)) {
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
207
if (ram->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
208
*pram = ram->func->dtor(ram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
217
nvkm_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
240
ram->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
257
nvkm_ram_new_(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c
262
return nvkm_ram_ctor(func, fb, type, size, *pram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
472
gf100_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
477
return func->probe_fbpa_amount(device, fbp);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
483
gf100_ram_probe_fbp(const struct nvkm_ram_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
487
return func->probe_fbp_amount(func, fbpao, device, fbp, pltcs);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
491
gf100_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
506
u32 size = func->probe_fbp(func, device, fbp, &ltcs);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
519
ubase = lcomm + func->upper;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
526
ret = nvkm_ram_ctor(func, fb, type, total, ram);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
567
gf100_ram_new_(const struct nvkm_ram_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
579
ret = gf100_ram_ctor(func, fb, &ram->base);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c
27
gf108_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c
37
size += func->probe_fbpa_amount(device, fbpa);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
1521
gk104_ram_new_(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
1537
ret = gf100_ram_ctor(func, fb, &ram->base);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.c
27
gm107_ram_probe_fbp(const struct nvkm_ram_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.c
31
return func->probe_fbp_amount(func, fbpao, device, fbp, pltcs);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.c
27
gm200_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.c
40
size += func->probe_fbpa_amount(device, fbpa);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c
17
u64 size = fb->func->vidmem.size(fb);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
194
ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
237
ram->base.func->calc(&ram->base, clk_current);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
469
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
474
ret = nvkm_gpio_find(gpio, 0, tag, DCB_GPIO_UNUSED, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
478
reg = func.line >> 3;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
479
sh = (func.line & 0x7) << 2;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c
483
if (!(func.log[1] & 1))
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
194
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
199
ret = nvkm_gpio_find(gpio, 0, tag, DCB_GPIO_UNUSED, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
203
reg = func.line >> 3;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
204
sh = (func.line & 0x7) << 2;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
209
if (!(func.log[1] & 1))
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
541
nv50_ram_ctor(const struct nvkm_ram_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c
569
ret = nvkm_ram_ctor(func, fb, type, size, ram);
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
11
return fsp->func->cot.boot_gsp_fmc(fsp, args_addr, rsvd_size, resume,
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
18
return hash_size == fsp->func->cot.size_hash &&
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
19
pkey_size == fsp->func->cot.size_pkey &&
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
20
sig_size == fsp->func->cot.size_sig;
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
28
return fsp->func->wait_secure_boot(fsp);
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
52
nvkm_fsp_new_(const struct nvkm_fsp_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/base.c
62
fsp->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/gh100.c
223
msg.cot.version = fsp->func->cot.version;
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/gh100.c
231
memcpy(msg.cot.hash384, hash, fsp->func->cot.size_hash);
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/gh100.c
232
memcpy(msg.cot.publicKey, pkey, fsp->func->cot.size_pkey);
drivers/gpu/drm/nouveau/nvkm/subdev/fsp/gh100.c
233
memcpy(msg.cot.signature, sig, fsp->func->cot.size_sig);
drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c
29
return fuse->func->read(fuse, addr);
drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c
44
nvkm_fuse_new_(const struct nvkm_fuse_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c
51
fuse->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
101
ret = nvkm_gpio_find(gpio, idx, tag, line, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
103
ret = nvkm_gpio_sense(gpio, idx, func.line);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
105
ret = (ret == (func.log[1] & 1));
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
115
gpio->func->intr_mask(gpio, type, 1 << index, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
122
gpio->func->intr_mask(gpio, type, 1 << index, 1 << index);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
137
gpio->func->intr_stat(gpio, &hi, &lo);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
139
for (i = 0; (hi | lo) && i < gpio->func->lines; i++) {
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
150
u32 mask = (1ULL << gpio->func->lines) - 1;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
152
gpio->func->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
153
gpio->func->intr_stat(gpio, &mask, &mask);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
178
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
188
DCB_GPIO_UNUSED, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
192
ret = nvkm_gpio_get(gpio, 0, func.func, func.line);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
225
nvkm_gpio_new_(const struct nvkm_gpio_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
234
gpio->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
236
return nvkm_event_init(&nvkm_gpio_intr_func, &gpio->subdev, 2, func->lines, &gpio->event);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
31
return gpio->func->drive(gpio, line, dir, out);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
37
return gpio->func->sense(gpio, line);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
41
nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func)
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
43
if (gpio->func->reset)
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
44
gpio->func->reset(gpio, func);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
49
struct dcb_gpio_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
59
data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
66
*func = (struct dcb_gpio_func) {
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
67
.func = DCB_GPIO_TVDAC0,
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
82
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
85
ret = nvkm_gpio_find(gpio, idx, tag, line, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
87
int dir = !!(func.log[state] & 0x02);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
88
int out = !!(func.log[state] & 0x01);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
89
ret = nvkm_gpio_drive(gpio, idx, func.line, dir, out);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
98
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c
39
u8 func = (data & 0x0000ff00) >> 8;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c
43
if ( func == DCB_GPIO_UNUSED ||
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c
44
(match != DCB_GPIO_UNUSED && match != func))
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c
47
nvkm_gpio_set(gpio, 0, func, line, defs);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c
39
u8 func = (data & 0x0000ff00) >> 8;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c
43
if ( func == DCB_GPIO_UNUSED ||
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c
44
(match != DCB_GPIO_UNUSED && match != func))
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c
47
nvkm_gpio_set(gpio, 0, func, line, defs);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c
39
u8 func = (data & 0x0000ff00) >> 8;
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c
47
if ( func == DCB_GPIO_UNUSED ||
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c
48
(match != DCB_GPIO_UNUSED && match != func))
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c
51
nvkm_gpio_set(gpio, 0, func, line, defs);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
103
if (gsp->func && gsp->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
104
gsp->func->dtor(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
146
gsp->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
156
gsp->rm->gpu = fwif->func->rm.gpu;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
161
return nvkm_falcon_ctor(gsp->func->flcn, &gsp->subdev, gsp->subdev.name, 0x110000,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
55
if (!gsp->func->fini || !gsp->running)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
58
return gsp->func->fini(gsp, suspend);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
66
if (!gsp->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
69
return gsp->func->init(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
77
if (!gsp->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/base.c
80
return gsp->func->oneinit(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c
183
ret = nvkm_falcon_fw_ctor(gsp->func->fwsec, name, subdev->device, true,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c
232
ret = nvkm_falcon_fw_ctor(gsp->func->fwsec, name, device, true,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c
33
ret = gsp->falcon.func->reset_eng(&gsp->falcon);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c
46
const struct nvkm_falcon_fw_func *func = &ga102_flcn_fw;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c
60
ret = nvkm_falcon_fw_ctor(func, name, subdev->device, true,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h
102
if (gsp->func->fwsec_sb.ctor)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h
103
return gsp->func->fwsec_sb.ctor(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h
109
if (gsp->func->fwsec_sb.dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h
110
gsp->func->fwsec_sb.dtor(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h
16
const struct nvkm_gsp_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
107
struct nvkm_engine_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
109
func = kzalloc_flex(*func, sclass, nclass + 1);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
110
if (!func)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
113
func->dtor = dtor;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
116
func->sclass[i].oclass = class[i];
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
117
func->sclass[i].minver = -1;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
118
func->sclass[i].maxver = 0;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
119
func->sclass[i].ctor = nvkm_rm_engine_obj_ctor;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
122
nvkm_engine_ctor(func, rm->device, type, inst, true, engine);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
14
struct nvkm_engine_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
98
kfree(engine->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
56
struct nvkm_gr_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
59
func = kzalloc_flex(*func, sclass, ARRAY_SIZE(classes) + 1);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
60
if (!func)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
63
func->dtor = r535_gr_dtor;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
64
func->oneinit = r535_gr_oneinit;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
65
func->init = nvkm_rm_gr_init;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
66
func->fini = nvkm_rm_gr_fini;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
67
func->units = r535_gr_units;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
68
func->chan_new = r535_gr_chan_new;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
71
func->sclass[i].oclass = classes[i];
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
72
func->sclass[i].minver = -1;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
73
func->sclass[i].maxver = 0;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
74
func->sclass[i].ctor = nvkm_rm_gr_obj_ctor;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
79
kfree(func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
83
nvkm_gr_ctor(func, rm->device, NVKM_ENGINE_GR, 0, true, &gr->base);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/bar.c
160
kfree(bar->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/bar.c
194
bar->flushBAR2PhysMode = ioremap(device->func->resource_addr(device, NVKM_BAR2_INST), PAGE_SIZE);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/bar.c
77
WARN_ON(r535_bar_bar2_update_pde(gsp, vmm->func->page[0].shift, 0));
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/bar.c
97
WARN_ON(r535_bar_bar2_update_pde(gsp, vmm->func->page[0].shift, pdbe));
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
35
if (event->func) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
37
event->func = NULL;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
63
nvkm_gsp_event_func func, struct nvkm_gsp_event *event)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
96
event->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
145
.func = &r535_curs_func,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1464
ret = nvkm_gsp_rm_alloc(&disp->rm.device.object, disp->func->root.oclass << 16,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1465
disp->func->root.oclass, 0, &disp->rm.object);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1672
disp->sor.nr = disp->func->sor.cnt(disp, &disp->sor.mask);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1675
ret = disp->func->sor.new(disp, i);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1705
ret = nvkm_ramht_new(device, disp->func->ramht_size ? disp->func->ramht_size :
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1726
kfree(disp->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
229
.func = &r535_wimm_func,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
235
.func = &r535_dmac_func,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
260
.func = &r535_core_func,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
300
kfree(imem->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
124
args->instanceMem.size = fifo->func->chan.func->inst->size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
129
args->userdMem.size = fifo->func->chan.func->userd->size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
584
kfree(fifo->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
601
rm->chan.func = &r535_chan;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
87
fifo->func->chan.user.oclass, sizeof(*args), chan);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
349
kfree(gr->base.func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1097
ret = gsp->func->reset(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
2152
ret = r535_gsp_elf_section(gsp, gsp->func->sig_section, &data, &size);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
65
u32 inte = nvkm_falcon_rd32(&gsp->falcon, gsp->falcon.func->addr2 +
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
66
gsp->falcon.func->riscv_irqmask);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
915
info->gpuPhysAddr = device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
916
info->gpuPhysFbAddr = device->func->resource_addr(device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
917
info->gpuPhysInstAddr = device->func->resource_addr(device, NVKM_BAR2_INST);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
920
info->pciConfigMirrorBase = device->pci->func->cfg.addr;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
921
info->pciConfigMirrorSize = device->pci->func->cfg.size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
978
event->func(event, msg->eventData, msg->eventDataSize);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
498
if (ntfy->func)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
499
ntfy->func(ntfy->priv, ntfy->fn, rpc->data,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
519
r535_gsp_msg_ntfy_add(struct nvkm_gsp *gsp, u32 fn, nvkm_gsp_msg_ntfy_func func, void *priv)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
528
gsp->msgq.ntfy[gsp->msgq.ntfy_nr].func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
142
ctrl->numEntries = 1 << vmm->func->page[0].desc->bits;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
163
kfree(mmu->func);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
84
for (page = vmm->func->page; page->shift; page++) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fbsr.c
46
vmm->func->flush(vmm, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fbsr.c
55
vmm->func->flush(vmm, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
32
fifo->func->chan.user.oclass, sizeof(*args), chan);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
69
args->instanceMem.size = fifo->func->chan.func->inst->size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
74
args->userdMem.size = fifo->func->chan.func->userd->size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
165
info->gpuPhysAddr = device->func->resource_addr(device, NVKM_BAR0_PRI);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
166
info->gpuPhysFbAddr = device->func->resource_addr(device, NVKM_BAR1_FB);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
167
info->gpuPhysInstAddr = device->func->resource_addr(device, NVKM_BAR2_INST);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
170
info->pciConfigMirrorBase = device->pci->func->cfg.addr;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
171
info->pciConfigMirrorSize = device->pci->func->cfg.size;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
160
return gsp->falcon.func->reset_eng(&gsp->falcon);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
307
ret = gsp->func->booter.ctor(gsp, "booter-load", gsp->fws.booter.load,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
312
ret = gsp->func->booter.ctor(gsp, "booter-unload", gsp->fws.booter.unload,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
351
ret = gsp->func->reset(gsp);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
81
const struct nvkm_falcon_fw_func *func = &gm200_flcn_fw;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c
94
ret = nvkm_falcon_fw_ctor(func, name, subdev->device, true,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
139
if (!*size && !aux->func->address_only) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
143
return aux->func->xfer(aux, retry, type, addr, data, size);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
149
if (aux->func->lnk_ctl)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
150
return aux->func->lnk_ctl(aux, nr, bw, ef);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
158
if (aux && !WARN_ON(!aux->func)) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
186
nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
192
aux->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
208
nvkm_i2c_aux_new_(const struct nvkm_i2c_aux_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
214
return nvkm_i2c_aux_ctor(func, pad, id, *paux);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
60
ret = aux->func->xfer(aux, true, cmd,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.h
10
i2c->func->aux_autodpcd(i2c, aux, false);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.h
9
if (i2c->func->aux_autodpcd)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
168
g94_i2c_aux_new_(const struct nvkm_i2c_aux_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
178
nvkm_i2c_aux_ctor(func, pad, index, &aux->base);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
103
i2c->func->aux_mask(i2c, type, aux->intr, aux->intr);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
119
if (!i2c->func->aux_stat)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
122
i2c->func->aux_stat(i2c, &hi, &lo, &rq, &tx);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
154
if ((mask = (1 << i2c->func->aux) - 1), i2c->func->aux_stat) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
155
i2c->func->aux_mask(i2c, NVKM_I2C_ANY, mask, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
156
i2c->func->aux_stat(i2c, &mask, &mask, &mask, &mask);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
258
nvkm_i2c_new_(const struct nvkm_i2c_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
273
i2c->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
291
ret = func->pad_s_new(i2c, id, &pad);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
295
ret = func->pad_x_new(i2c, NVKM_I2C_PAD_CCB(i), &pad);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
304
if (pad->func->bus_new_0 && ccbE.type == DCB_I2C_NV04_BIT) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
305
ret = pad->func->bus_new_0(pad, NVKM_I2C_BUS_CCB(i),
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
309
if (pad->func->bus_new_4 &&
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
314
ret = pad->func->bus_new_4(pad, NVKM_I2C_BUS_CCB(i),
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
323
if (pad->func->aux_new_6 &&
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
327
ret = pad->func->aux_new_6(pad, NVKM_I2C_BUS_CCB(i),
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
388
if (pad->func->aux_new_6 && dcbE.type == DCB_OUTPUT_DP) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
391
ret = pad->func->aux_new_6(pad, id, 0, &aux);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
398
if (pad->func->bus_new_4) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
401
ret = pad->func->bus_new_4(pad, id, 0, &bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
94
i2c->func->aux_mask(i2c, type, aux->intr, 0);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c
34
bus->func->drive_scl(bus, state);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c
40
bus->func->drive_sda(bus, state);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c
46
return bus->func->sense_scl(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c
52
return bus->func->sense_sda(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
111
if (bus->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
112
bus->func->init(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
197
if (bus && !WARN_ON(!bus->func)) {
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
208
nvkm_i2c_bus_ctor(const struct nvkm_i2c_bus_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
221
bus->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
233
if ( bus->func->drive_scl &&
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
257
nvkm_i2c_bus_new_(const struct nvkm_i2c_bus_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
263
return nvkm_i2c_bus_ctor(func, pad, id, *pbus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
50
bus->func->drive_scl(bus, state);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
57
bus->func->drive_sda(bus, state);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
64
return bus->func->sense_scl(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
71
return bus->func->sense_sda(bus);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
87
ret = bus->func->xfer(bus, msgs, num);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
109
nvkm_i2c_pad_new_(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
114
nvkm_i2c_pad_ctor(func, i2c, id, *ppad);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
31
if (pad->func->mode)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
32
pad->func->mode(pad, mode);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
96
nvkm_i2c_pad_ctor(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c,
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c
99
pad->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.h
7
const struct nvkm_i2c_pad_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
102
ret = imem->func->memory_wrap(imem, memory, pmemory);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
119
ret = imem->func->memory_new(imem, size, align, zero, &memory);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
128
if (!imem->func->zero && zero) {
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
154
return imem->func->rd32(imem, addr);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
160
return imem->func->wr32(imem, addr, data);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
185
if (imem->func->suspend) {
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
186
ret = imem->func->suspend(imem);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
194
if (imem->func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
195
imem->func->fini(imem);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
206
if (imem->func->resume)
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
207
imem->func->resume(imem);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
221
if (imem->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
222
return imem->func->oneinit(imem);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
231
if (imem->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
232
data = imem->func->dtor(imem);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
246
nvkm_instmem_ctor(const struct nvkm_instmem_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
250
imem->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
82
nvkm_instobj_ctor(const struct nvkm_memory_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
85
nvkm_memory_ctor(func, &iobj->memory);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
99
if (!imem->func->memory_wrap)
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
577
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
596
imem->iommu_bit = tdev->func->iommu_bit;
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
249
imem->iomem = ioremap_wc(device->func->resource_addr(device, NVKM_BAR2_INST),
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
250
device->func->resource_size(device, NVKM_BAR2_INST));
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
175
iobj->map = ioremap_wc(device->func->resource_addr(device, NVKM_BAR2_INST) +
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
428
nv50_instmem_new_(const struct nvkm_instmem_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
436
nvkm_instmem_ctor(func, device, type, inst, &imem->base);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
68
imem->base.func->set_bar0_window_addr(device, base);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
88
imem->base.func->set_bar0_window_addr(device, base);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h
49
void nvkm_instobj_ctor(const struct nvkm_memory_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
101
ltc->func->zbc_clear_color(ltc, i, ltc->zbc_color[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
104
ltc->func->zbc_clear_depth(ltc, i, ltc->zbc_depth[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
105
if (ltc->func->zbc_clear_stencil)
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
106
ltc->func->zbc_clear_stencil(ltc, i, ltc->zbc_stencil[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
109
ltc->func->init(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
131
nvkm_ltc_new_(const struct nvkm_ltc_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
140
ltc->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
143
ltc->zbc_color_max = min(func->zbc_color, NVKM_LTC_MAX_ZBC_COLOR_CNT) - 1;
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
145
ltc->zbc_depth_max = min(func->zbc_depth, NVKM_LTC_MAX_ZBC_DEPTH_CNT) - 1;
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
37
ltc->func->cbc_clear(ltc, first, limit);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
38
ltc->func->cbc_wait(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
46
ltc->func->zbc_clear_color(ltc, index, color);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
54
ltc->func->zbc_clear_depth(ltc, index, depth);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
62
ltc->func->zbc_clear_stencil(ltc, index, stencil);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
69
if (ltc->func->invalidate)
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
70
ltc->func->invalidate(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
76
if (ltc->func->flush)
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
77
ltc->func->flush(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
84
ltc->func->intr(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c
91
return ltc->func->oneinit(ltc);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
102
return (pmc_enable != 0) && device->mc->func->device->enabled(device->mc, pmc_enable);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
109
if (mc->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
110
mc->func->init(mc);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
127
nvkm_mc_new_(const struct nvkm_mc_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
137
mc->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
139
if (mc->func->intr) {
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
140
ret = nvkm_intr_add(mc->func->intr, mc->func->intrs, &mc->subdev,
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
141
mc->func->intr_nonstall ? 2 : 1, &mc->intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
33
if (likely(mc) && mc->func->unk260)
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
34
mc->func->unk260(mc, data);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
58
for (map = mc->func->reset; map && map->stat; map++) {
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
76
device->mc->func->device->disable(device->mc, pmc_enable);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
77
device->mc->func->device->enable(device->mc, pmc_enable);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
86
device->mc->func->device->disable(device->mc, pmc_enable);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
94
device->mc->func->device->enable(device->mc, pmc_enable);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
69
intr->func->allow(intr, i, intr->mask[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
78
intr->func->block(intr, i, 0xffffffff);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
281
u8 type = NVKM_MEM_KIND * !!mmu->func->kind_sys;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
307
if (device->func->cpu_coherent)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
322
u8 type = NVKM_MEM_KIND * !!mmu->func->kind;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
378
if (mmu->func->vmm.global) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
392
if (mmu->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
393
mmu->func->init(mmu);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
407
if (mmu->func->dtor)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
408
mmu->func->dtor(mmu);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
421
nvkm_mmu_ctor(const struct nvkm_mmu_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
425
mmu->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
426
mmu->dma_bits = func->dma_bits;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
430
mmu->user.base = func->mmu.user;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
434
nvkm_mmu_new_(const struct nvkm_mmu_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
439
nvkm_mmu_ctor(func, device, type, inst, *pmmu);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c
231
ret = mmu->func->mem.vram(mmu, type, page, size,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c
63
*paddr = device->func->resource_addr(device, NVKM_BAR1_FB) + (*pvma)->addr;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c
44
*paddr = device->func->resource_addr(device, NVKM_BAR1_FB) + addr;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c
60
*paddr = device->func->resource_addr(device, NVKM_BAR1_FB) + (*pvma)->addr;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
109
int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
116
if (mmu->func->kind)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
117
kind = mmu->func->kind(mmu, &count, &kind_inv);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
164
if (mmu->func->kind)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
165
mmu->func->kind(mmu, &kinds, &unused);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
37
if (mmu->func->mem.user.oclass) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
39
oclass->base = mmu->func->mem.user;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
45
if (mmu->func->vmm.user.oclass) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c
47
oclass->base = mmu->func->vmm.user;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
311
page = uvmm->vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
336
for (page = vmm->func->page; page->shift; page++) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
348
*refd = page - vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
505
if (uvmm->vmm->func->mthd) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
506
return uvmm->vmm->func->mthd(uvmm->vmm,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
561
ret = mmu->func->vmm.ctor(mmu, managed || raw, addr, size,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
575
if (mmu->func->promote_vmm) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
576
ret = mmu->func->promote_vmm(uvmm->vmm);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
581
page = uvmm->vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1069
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1110
nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1116
const struct nvkm_vmm_page *page = func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1121
vmm->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1224
nvkm_vmm_new_(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1231
return nvkm_vmm_ctor(func, mmu, hdr, managed, addr, size, key, name, *pvmm);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1274
nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd],
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
129
if (it->vmm->func->flush) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1296
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1307
page->desc->func->pfn == NULL))
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
131
it->vmm->func->flush(it->vmm, it->flush);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1360
vmm->func->page, map);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1367
tmp->refd = page - vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1382
desc->func->pfn);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1385
page->desc->func->pfn);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1436
const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd];
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1491
return vmm->func->valid(vmm, argv, argc, map);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1498
for (map->page = vmm->func->page; map->page->shift; map->page++) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
151
const struct nvkm_vmm_desc_func *func = desc[it->lvl].func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1510
nvkm_vmm_pte_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1539
map->page = &vmm->func->page[vma->refd];
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1541
map->page = &vmm->func->page[vma->page];
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1559
func = map->page->desc->func->mem;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1568
func = map->page->desc->func->sgl;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1572
func = map->page->desc->func->dma;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1577
ret = nvkm_vmm_ptes_get_map(vmm, map->page, vma->addr, vma->size, map, func);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1581
vma->refd = map->page - vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1583
nvkm_vmm_ptes_map(vmm, map->page, vma->addr, vma->size, map, func);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
159
func->sparse(vmm, pgd->pt[0], pdei, 1);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
162
func->unmap(vmm, pgd->pt[0], pdei, 1);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1633
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
170
func->pde(vmm, pgd, pdei);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1728
const struct nvkm_vmm_page *page = &vmm->func->page[NVKM_VMA_PAGE_NONE];
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1751
if (unlikely((getref || vmm->func->page_block) && !shift)) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1753
getref, vmm->func->page_block);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1761
for (page = vmm->func->page; page->shift; page++) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
177
func->pde(vmm, pgd, pdei);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1797
const int p = page - vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1800
if (vmm->func->page_block && prev && prev->page != p)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1801
addr = ALIGN(addr, vmm->func->page_block);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1805
if (vmm->func->page_block && next && next->page != p)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1806
tail = ALIGN_DOWN(tail, vmm->func->page_block);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1854
vma->page = page - vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1876
const struct nvkm_vmm_page *page = &vmm->func->page[refd];
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1884
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1892
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1915
if (inst && vmm && vmm->func->part) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1917
vmm->func->part(vmm, inst);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1926
if (vmm->func->join) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1928
ret = vmm->func->join(vmm, inst);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1946
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1997
ret = mmu->func->vmm.ctor(mmu, false, addr, size, argv, argc,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
244
pair->func->sparse(vmm, pgt->pt[0], pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
246
if (pair->func->invalid) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
252
pair->func->invalid(vmm, pgt->pt[0], pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
270
dma = desc->func->pfn_clear(it->vmm, pgt->pt[type], ptei, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
275
desc->func->pfn_unmap(it->vmm, pgt->pt[type], ptei, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
362
desc->func->sparse(vmm, pgt->pt[1], spti, sptc);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
365
pair->func->unmap(vmm, pgt->pt[0], pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
367
if (pair->func->invalid) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
372
pair->func->unmap(vmm, pgt->pt[0], pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
442
const bool zero = !pgt->sparse && !desc->func->invalid;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
481
desc->func->sparse(vmm, pt, pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
483
desc->func->invalid(vmm, pt, pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
486
desc->func->unmap(vmm, pt, pteb, ptes);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
494
desc->func->sparse(vmm, pt, 0, pten);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
496
desc->func->invalid(vmm, pt, 0, pten);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
502
it->desc[it->lvl].func->pde(it->vmm, pgd, pdei);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
631
page->desc->func->invalid ?
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
632
page->desc->func->invalid : page->desc->func->unmap);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
642
NULL, NULL, page->desc->func->sparse);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
656
const struct nvkm_vmm_page *page = vmm->func->page;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
707
const struct nvkm_vmm_desc_func *func = page->desc->func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
712
sparse ? func->sparse : func->invalid ? func->invalid :
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
713
func->unmap);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
720
nvkm_vmm_pte_func func)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
724
NULL, func, map, NULL);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
768
const struct nvkm_vmm_desc_func *func = page->desc->func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
772
sparse ? func->sparse : func->invalid ? func->invalid :
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
773
func->unmap);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
791
nvkm_vmm_pte_func func)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
794
false, nvkm_vmm_ref_ptes, func, map, NULL);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
806
nvkm_vmm_pte_func func)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
815
nvkm_vmm_ptes_map(vmm, page, addr, size, map, func);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
819
return __nvkm_vmm_ptes_get_map(vmm, page, addr, size, map, func);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h
107
const struct nvkm_vmm_desc_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c
214
vmm->func->invalidate_pdb(vmm, addr);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c
242
const bool gm20x = page->desc->func->sparse != NULL;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c
272
aper = vmm->func->aper(target);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c
276
kindm = vmm->mmu->func->kind(vmm->mmu, &kindn, &kind_inv);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgh100.c
236
aper = vmm->func->aper(target);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgh100.c
240
kindm = vmm->mmu->func->kind(vmm->mmu, &kindn, &kind_inv);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
148
const struct nvkm_vmm_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
157
case 16: func = func_16; break;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
158
case 17: func = func_17; break;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
164
func = func_17;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
168
return nvkm_vmm_new_(func, mmu, 0, managed, addr, size, key, name, pvmm);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c
98
if (vmm->func->page[1].shift == 16)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
455
if (vmm->func->valid2)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
456
return vmm->func->valid2(vmm, ro, priv, kind, 0, map);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
458
aper = vmm->func->aper(target);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
462
kindm = vmm->mmu->func->kind(vmm->mmu, &kindn, &kind_inv);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
614
gp100_vmm_new_(const struct nvkm_vmm_func *func,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
634
ret = nvkm_vmm_new_(func, mmu, 0, managed, addr, size, key, name, pvmm);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c
102
nv04_vmm_new_(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c
112
ret = nvkm_vmm_new_(func, mmu, pd_header, managed, addr, size,
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c
148
u32 pdeo = vmm->mmu->func->vmm.pd_offset + (pdei * 8);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c
280
kindm = vmm->mmu->func->kind(vmm->mmu, &kindn, &kind_inv);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c
343
const u32 pd_offset = vmm->mmu->func->vmm.pd_offset;
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
125
if (pci->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
126
pci->func->init(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
132
pci->func->msi_rearm(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
160
nvkm_pci_new_(const struct nvkm_pci_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
168
pci->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
169
pci->pdev = device->func->pci(device)->pdev;
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
197
if (pci->msi && func->msi_rearm) {
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
36
pci->func->msi_rearm(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
42
return nvkm_rd32(pci->subdev.device, pci->func->cfg.addr + addr);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
48
nvkm_wr08(pci->subdev.device, pci->func->cfg.addr + addr, data);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c
54
nvkm_wr32(pci->subdev.device, pci->func->cfg.addr + addr, data);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c
35
struct pci_dev *pdev = device->func->pci(device)->pdev;
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
105
if (pci->func->pcie.init)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
106
pci->func->pcie.init(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
124
if (!pci->func->pcie.set_link)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
130
if (pci->func->pcie.version(pci) < 2) {
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
135
cur_speed = pci->func->pcie.cur_speed(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
137
pci->func->pcie.max_speed(pci));
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
159
ret = pci->func->pcie.set_link(pci, speed, width);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
53
if (!pci->func->pcie.version)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
56
return pci->func->pcie.version(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
62
if (!pci->func->pcie.version_supported)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
65
return pci->func->pcie.version_supported(pci);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
71
if (!pci->func->pcie.set_version)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
75
pci->func->pcie.set_version(pci, version);
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
82
if (pci->func->pcie.max_speed)
drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c
84
nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
101
return pmu->func->init(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
142
pmu->func = fwif->func;
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
144
ret = nvkm_falcon_ctor(pmu->func->flcn, &pmu->subdev, pmu->subdev.name,
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
37
if (pmu && pmu->func->code.size)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
50
if (pmu && pmu->func->pgob)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
51
pmu->func->pgob(pmu, enable);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
58
return pmu->func->recv(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
65
if (!pmu || !pmu->func->send)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
67
return pmu->func->send(pmu, reply, process, message, data0, data1);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
74
if (!pmu->func->intr)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
76
pmu->func->intr(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
87
if (pmu->func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
88
pmu->func->fini(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
98
if (!pmu->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
188
int ret = pmu->func->initmsg(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
207
if (pmu->func->enabled(pmu)) {
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
215
pmu->func->reset(pmu);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
225
for (i = 0; i < pmu->func->data.size / 4; i++)
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
226
nvkm_wr32(device, 0x10a1c4, pmu->func->data.data[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
230
for (i = 0; i < pmu->func->code.size / 4; i++) {
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
233
nvkm_wr32(device, 0x10a184, pmu->func->code.data[i]);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h
59
const struct nvkm_pmu_func *func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
203
therm->func->temp_get(therm) < 0)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
268
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
272
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
276
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
280
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
284
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
288
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
292
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
296
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
306
if (!therm || !therm->func->clkgate_enable || !therm->clkgating_enabled)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
311
therm->func->clkgate_enable(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
317
if (!therm || !therm->func->clkgate_fini || !therm->clkgating_enabled)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
32
if (therm->func->temp_get)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
323
therm->func->clkgate_fini(therm, suspend);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
329
if (!therm->func->clkgate_enable || !therm->clkgating_enabled)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
33
return therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
339
if (therm->func->intr)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
340
therm->func->intr(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
348
if (therm->func->fini)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
349
therm->func->fini(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
380
if (therm->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
381
therm->func->init(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
400
if (!therm || !therm->func->clkgate_init || !therm->clkgating_enabled)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
403
therm->func->clkgate_init(therm, p);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
425
int inst, const struct nvkm_therm_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
428
therm->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
43
u8 temp = therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
445
nvkm_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
453
nvkm_therm_ctor(therm, device, type, inst, func);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c
73
u8 temp = therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
132
if (therm->func->fan_sense)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
133
return therm->func->fan_sense(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
135
if (therm->fan->tach.func == DCB_GPIO_UNUSED)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
143
prev = nvkm_gpio_get(gpio, 0, therm->fan->tach.func,
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
149
cur = nvkm_gpio_get(gpio, 0, therm->fan->tach.func,
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
229
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
233
ret = nvkm_gpio_find(gpio, 0, DCB_GPIO_FAN, 0xff, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
236
if (func.line != 16 && func.log[0] & DCB_GPIO_LOG_DIR_IN) {
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
240
ret = nvkm_fanpwm_create(therm, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
242
ret = nvkm_fantog_create(therm, &func);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c
262
therm->fan->tach.func = DCB_GPIO_UNUSED;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
108
fan->func = *func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
34
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
47
ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
50
if (card_type <= NV_40 || (fan->func.log[0] & 1))
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
55
return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
69
if (therm->func->pwm_clock)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
70
divs = therm->func->pwm_clock(therm, fan->func.line);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
75
if (card_type <= NV_40 || (fan->func.log[0] & 1))
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
78
ret = therm->func->pwm_set(therm, fan->func.line, divs, duty);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
80
ret = therm->func->pwm_ctrl(therm, fan->func.line, true);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
85
nvkm_fanpwm_create(struct nvkm_therm *therm, struct dcb_gpio_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
95
if (!nvkm_boolopt(device->cfgopt, "NvFanPWM", func->param) ||
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
96
!therm->func->pwm_ctrl || info.type == NVBIOS_THERM_FAN_TOGGLE ||
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c
97
therm->func->pwm_get(therm, func->line, &divs, &duty) == -ENODEV)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
113
fan->func = *func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
35
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
84
if (therm->func->pwm_ctrl)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
85
therm->func->pwm_ctrl(therm, fan->func.line, false);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
91
nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
96
if (therm->func->pwm_ctrl) {
drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c
97
ret = therm->func->pwm_ctrl(therm, func->line, false);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c
118
cur = therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c
128
if (therm->fan->tach.func != DCB_GPIO_UNUSED) {
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c
109
gk104_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c
120
nvkm_therm_ctor(&therm->base, device, type, inst, func);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c
49
if (tach->func != DCB_GPIO_UNUSED) {
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c
143
int temp = therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c
188
if (therm->func->temp_get(therm) >= 0)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c
214
therm->func->program_alarms(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c
232
if (therm->func->temp_get(therm) < 0)
drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c
89
int temperature = therm->func->temp_get(therm);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
101
alarm->func(alarm);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
132
tmr->func->alarm_init(tmr, alarm->timestamp);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
148
tmr->func->intr(tmr);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
155
tmr->func->alarm_fini(tmr);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
163
if (tmr->func->init)
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
164
tmr->func->init(tmr);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
165
tmr->func->time(tmr, ktime_to_ns(ktime_get()));
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
185
nvkm_timer_new_(const struct nvkm_timer_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
194
tmr->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
65
return tmr->func->read(tmr);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
81
tmr->func->alarm_init(tmr, alarm->timestamp);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
95
tmr->func->alarm_fini(tmr);
drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c
128
return top->func->parse(top);
drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c
151
nvkm_top_new_(const struct nvkm_top_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c
158
top->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
36
nvkm_vfn_new_(const struct nvkm_vfn_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
46
vfn->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
48
vfn->addr.user = vfn->addr.priv + func->user.addr;
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
50
if (vfn->func->intr) {
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
51
ret = nvkm_intr_add(vfn->func->intr, vfn->func->intrs,
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/base.c
58
vfn->user.base = func->user.base;
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c
29
kfree(vfn->func);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.c
39
*addr = device->func->resource_addr(device, NVKM_BAR0_PRI) + vfn->addr.user;
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.c
40
*size = vfn->func->user.size;
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
165
if (volt->func->set_id)
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
166
return volt->func->set_id(volt, id, condition);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
235
if (volt->func->speedo_read)
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
236
return volt->func->speedo_read(volt);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
263
if (volt->func->oneinit)
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
264
return volt->func->oneinit(volt);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
283
nvkm_volt_ctor(const struct nvkm_volt_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
290
volt->func = func;
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
321
nvkm_volt_new_(const struct nvkm_volt_func *func, struct nvkm_device *device,
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
326
nvkm_volt_ctor(func, device, type, inst, *pvolt);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
36
if (volt->func->volt_get)
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
37
return volt->func->volt_get(volt);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
39
ret = volt->func->vid_get(volt);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
56
if (volt->func->volt_set)
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
57
return volt->func->volt_set(volt, uv);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c
75
ret = volt->func->vid_set(volt, volt->vid[best].vid);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c
151
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c
70
struct nvkm_device_tegra *tdev = device->func->tegra(device);
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c
76
struct dcb_gpio_func func;
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c
87
int ret = nvkm_gpio_find(gpio, 0, tags[i], 0xff, &func);
drivers/gpu/drm/omapdrm/dss/dispc.c
3547
dispc_div_calc_func func, void *data)
drivers/gpu/drm/omapdrm/dss/dispc.c
3597
if (func(lckd, pckd, lck, pck, data))
drivers/gpu/drm/omapdrm/dss/dss.c
600
unsigned long fck_min, dss_div_calc_func func, void *data)
drivers/gpu/drm/omapdrm/dss/dss.c
620
return func(fck, data);
drivers/gpu/drm/omapdrm/dss/dss.c
636
if (func(fck, data))
drivers/gpu/drm/omapdrm/dss/dss.h
343
unsigned long fck_min, dss_div_calc_func func, void *data);
drivers/gpu/drm/omapdrm/dss/dss.h
470
dispc_div_calc_func func, void *data);
drivers/gpu/drm/omapdrm/dss/dss.h
519
dss_hsdiv_calc_func func, void *data);
drivers/gpu/drm/omapdrm/dss/dss.h
522
dss_pll_calc_func func, void *data);
drivers/gpu/drm/omapdrm/dss/pll.c
178
dss_hsdiv_calc_func func, void *data)
drivers/gpu/drm/omapdrm/dss/pll.c
194
if (func(m, out, data))
drivers/gpu/drm/omapdrm/dss/pll.c
207
dss_pll_calc_func func, void *data)
drivers/gpu/drm/omapdrm/dss/pll.c
256
if (func(n, m, fint, clkdco, data))
drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c
259
#define s6e3ha2_call_write_func(ret, func) do { \
drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c
260
ret = (func); \
drivers/gpu/drm/panel/panel-sitronix-st7789v.c
107
#define ST7789V_TEST(val, func) \
drivers/gpu/drm/panel/panel-sitronix-st7789v.c
109
if ((val = (func))) \
drivers/gpu/drm/panfrost/panfrost_drv.c
724
#define PANFROST_IOCTL(n, func, flags) \
drivers/gpu/drm/panfrost/panfrost_drv.c
725
DRM_IOCTL_DEF_DRV(PANFROST_##n, panfrost_ioctl_##func, flags)
drivers/gpu/drm/panthor/panthor_drv.c
1523
#define PANTHOR_IOCTL(n, func, flags) \
drivers/gpu/drm/panthor/panthor_drv.c
1524
DRM_IOCTL_DEF_DRV(PANTHOR_##n, panthor_ioctl_##func, flags)
drivers/gpu/drm/qxl/qxl_kms.c
289
if (!qdev->gc_work.func)
drivers/gpu/drm/radeon/atom.c
1043
void (*func) (atom_exec_context *, int *, int);
drivers/gpu/drm/radeon/atom.c
1218
opcode_table[op].func(&ectx, &ptr,
drivers/gpu/drm/radeon/radeon_fence.c
405
fence->fence_wake.func = radeon_fence_check_signaled;
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
671
enum sun6i_dsi_start_inst func)
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
673
switch (func) {
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c
708
if (func == DSI_START_HSC)
drivers/gpu/drm/tests/drm_client_modeset_test.c
123
struct drm_display_mode *(*func)(struct drm_device *drm);
drivers/gpu/drm/tests/drm_client_modeset_test.c
129
.func = _fn, \
drivers/gpu/drm/tests/drm_client_modeset_test.c
157
expected_mode = params->func(drm);
drivers/gpu/drm/tests/drm_panic_test.c
40
#define DRM_TEST_MODE_LIST(func) \
drivers/gpu/drm/tests/drm_panic_test.c
41
DRM_PANIC_TEST_MODE(1024, 768, DRM_FORMAT_XRGB8888, func) \
drivers/gpu/drm/tests/drm_panic_test.c
42
DRM_PANIC_TEST_MODE(300, 200, DRM_FORMAT_XRGB8888, func) \
drivers/gpu/drm/tests/drm_panic_test.c
43
DRM_PANIC_TEST_MODE(1920, 1080, DRM_FORMAT_XRGB8888, func) \
drivers/gpu/drm/tests/drm_panic_test.c
44
DRM_PANIC_TEST_MODE(1024, 768, DRM_FORMAT_RGB565, func) \
drivers/gpu/drm/tests/drm_panic_test.c
45
DRM_PANIC_TEST_MODE(1024, 768, DRM_FORMAT_RGB888, func) \
drivers/gpu/drm/ttm/tests/ttm_device_test.c
39
KUNIT_ASSERT_NOT_NULL(test, ttm_sys_man->func);
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
118
base->func = &ttm_mock_manager_funcs;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
201
man->func = &ttm_bad_manager_funcs;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
218
man->func = &ttm_bad_busy_manager_funcs;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
280
ret = man->func->alloc(man, bo, place, &res);
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
309
man->func->free(man, res);
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
73
man->func = &ttm_resource_manager_mock_funcs;
drivers/gpu/drm/ttm/ttm_range_manager.c
194
man->func = &ttm_range_manager_func;
drivers/gpu/drm/ttm/ttm_resource.c
392
ret = man->func->alloc(man, bo, place, res_ptr);
drivers/gpu/drm/ttm/ttm_resource.c
422
man->func->free(man, *res);
drivers/gpu/drm/ttm/ttm_resource.c
450
if (!place || !man->func->intersects)
drivers/gpu/drm/ttm/ttm_resource.c
453
return man->func->intersects(man, res, place, size);
drivers/gpu/drm/ttm/ttm_resource.c
492
if (man->func->compatible &&
drivers/gpu/drm/ttm/ttm_resource.c
493
!man->func->compatible(man, res, place, bo->base.size))
drivers/gpu/drm/ttm/ttm_resource.c
615
if (man->func->debug)
drivers/gpu/drm/ttm/ttm_resource.c
616
man->func->debug(man, p);
drivers/gpu/drm/ttm/ttm_sys_manager.c
44
man->func = &ttm_sys_manager_func;
drivers/gpu/drm/vc4/vc4_validate.c
439
#define VC4_DEFINE_PACKET(packet, func) \
drivers/gpu/drm/vc4/vc4_validate.c
440
[packet] = { packet ## _SIZE, #packet, func }
drivers/gpu/drm/vc4/vc4_validate.c
445
int (*func)(struct vc4_exec_info *exec, void *validated,
drivers/gpu/drm/vc4/vc4_validate.c
530
if (info->func && info->func(exec,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
60
res->func->dirty_free(res);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
870
if (res->func->res_type == vmw_res_surface)
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
877
if (res->func->res_type == vmw_res_surface)
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
130
if (entry->res->func->commit_notify)
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
131
entry->res->func->commit_notify(entry->res,
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
151
if (res->func->destroy == vmw_gb_context_destroy ||
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
152
res->func->destroy == vmw_dx_context_destroy) {
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
157
(void) res->func->destroy(res);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
147
const struct vmw_res_func *func;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
117
int (*func) (struct vmw_private *, struct vmw_sw_context *,
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3686
if (unlikely(!entry->func))
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3698
ret = entry->func(dev_priv, sw_context, header);
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
164
man->func = &vmw_gmrid_manager_func;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
434
surf->res.func->dirty_free(&surf->res);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
772
if (!ret && surface && surface->res.func->dirty_alloc) {
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
775
ret = surface->res.func->dirty_alloc(&surface->res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
105
struct idr *idr = &dev_priv->res_idr[res->func->res_type];
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
1058
return res->func->res_type;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
1072
res->func->dirty_range_add(res, start << PAGE_SHIFT,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
1081
if (!res->func->clean)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
1084
ret = res->func->clean(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
121
struct idr *idr = &dev_priv->res_idr[res->func->res_type];
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
132
res->func->unbind != NULL) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
137
res->func->unbind(res, false, &val_buf);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
142
res->func->dirty_free(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
189
struct idr *idr = &dev_priv->res_idr[res->func->res_type];
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
218
const struct vmw_res_func *func)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
224
res->func = func;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
337
.domain = res->func->domain,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
338
.busy_domain = res->func->busy_domain,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
377
const struct vmw_res_func *func = res->func;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
380
ret = func->create(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
385
if (func->bind &&
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
386
((func->needs_guest_memory && !vmw_resource_mob_attached(res) &&
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
388
(!func->needs_guest_memory && val_buf->bo))) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
389
ret = func->bind(res, val_buf);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
392
if (func->needs_guest_memory)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
400
if (func->dirty_alloc && vmw_resource_mob_attached(res) &&
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
403
ret = func->dirty_alloc(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
407
func->dirty_free(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
426
return func->dirty_sync(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
432
func->destroy(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
48
res->used_prio = (res->res_dirty) ? res->func->dirty_prio :
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
49
res->func->prio;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
495
if (!res->func->may_evict || res->id == -1 || res->pin_count)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
500
&res->dev_priv->res_lru[res->func->res_type]);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
542
if (res->func->needs_guest_memory && !vmw_resource_mob_attached(res))
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
546
vmw_bo_placement_set(res->guest_memory_bo, res->func->domain,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
547
res->func->busy_domain);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
589
if (res->func->needs_guest_memory && !res->guest_memory_bo &&
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
638
const struct vmw_res_func *func = res->func;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
641
BUG_ON(!func->may_evict);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
649
if (unlikely(func->unbind != NULL &&
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
650
(!func->needs_guest_memory || vmw_resource_mob_attached(res)))) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
651
ret = func->unbind(res, res->res_dirty, &val_buf);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
656
ret = func->destroy(res);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
687
struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type];
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
691
if (!res->func->create)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
704
if (list_empty(lru_list) || !res->func->may_evict) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
706
"for %s.\n", res->func->type_name);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
737
else if (!res->func->needs_guest_memory && res->guest_memory_bo) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
773
if (!WARN_ON_ONCE(!res->func->unbind))
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
774
(void) res->func->unbind(res, res->res_dirty, &val_buf);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
882
return res->func->needs_guest_memory;
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
988
res->func->domain,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
989
res->func->busy_domain);
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
136
const struct vmw_simple_resource_func *func;
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
144
const struct vmw_res_func *func);
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
149
const struct vmw_simple_resource_func *func);
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
153
const struct vmw_simple_resource_func *func);
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
150
if (likely(res->func->destroy))
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
151
(void) res->func->destroy(res);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
140
const struct vmw_simple_resource_func *func)
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
151
func->size;
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
159
usimple->simple.func = func;
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
174
func->ttm_res_type,
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
182
func->set_arg_handle(data, usimple->base.handle);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
204
const struct vmw_simple_resource_func *func)
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
213
func->res_func.type_name,
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
218
if (ttm_base_object_type(base) != func->ttm_res_type) {
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
221
func->res_func.type_name,
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
69
&simple->func->res_func);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
76
ret = simple->func->init(res, data);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
82
simple->res.hw_destroy = simple->func->hw_destroy;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1626
if (!res->func->dirty_alloc)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1632
ret = res->func->dirty_alloc(res);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
343
if (res->func->destroy == vmw_gb_surface_destroy) {
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c
69
man->func = &vmw_sys_manager_func;
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
428
res->func->domain,
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
429
res->func->busy_domain);
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
604
vmw_bo_placement_set(vbo, res->func->domain,
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
605
res->func->busy_domain);
drivers/gpu/drm/xe/xe_guc_submit.c
497
#define MAKE_EXEC_QUEUE_POLICY_ADD(func, id) \
drivers/gpu/drm/xe/xe_guc_submit.c
498
static void __guc_exec_queue_policy_add_##func(struct exec_queue_policy *policy, \
drivers/gpu/drm/xe/xe_module.c
140
static int __init xe_call_init_func(const struct init_funcs *func)
drivers/gpu/drm/xe/xe_module.c
142
if (func->init)
drivers/gpu/drm/xe/xe_module.c
143
return func->init();
drivers/gpu/drm/xe/xe_module.c
147
static void xe_call_exit_func(const struct init_funcs *func)
drivers/gpu/drm/xe/xe_module.c
149
if (func->exit)
drivers/gpu/drm/xe/xe_module.c
150
func->exit();
drivers/gpu/drm/xe/xe_step_types.h
23
#define STEP_NAME_LIST(func) \
drivers/gpu/drm/xe/xe_step_types.h
24
func(A0) \
drivers/gpu/drm/xe/xe_step_types.h
25
func(A1) \
drivers/gpu/drm/xe/xe_step_types.h
26
func(A2) \
drivers/gpu/drm/xe/xe_step_types.h
27
func(A3) \
drivers/gpu/drm/xe/xe_step_types.h
28
func(B0) \
drivers/gpu/drm/xe/xe_step_types.h
29
func(B1) \
drivers/gpu/drm/xe/xe_step_types.h
30
func(B2) \
drivers/gpu/drm/xe/xe_step_types.h
31
func(B3) \
drivers/gpu/drm/xe/xe_step_types.h
32
func(C0) \
drivers/gpu/drm/xe/xe_step_types.h
33
func(C1) \
drivers/gpu/drm/xe/xe_step_types.h
34
func(C2) \
drivers/gpu/drm/xe/xe_step_types.h
35
func(C3) \
drivers/gpu/drm/xe/xe_step_types.h
36
func(D0) \
drivers/gpu/drm/xe/xe_step_types.h
37
func(D1) \
drivers/gpu/drm/xe/xe_step_types.h
38
func(D2) \
drivers/gpu/drm/xe/xe_step_types.h
39
func(D3) \
drivers/gpu/drm/xe/xe_step_types.h
40
func(E0) \
drivers/gpu/drm/xe/xe_step_types.h
41
func(E1) \
drivers/gpu/drm/xe/xe_step_types.h
42
func(E2) \
drivers/gpu/drm/xe/xe_step_types.h
43
func(E3) \
drivers/gpu/drm/xe/xe_step_types.h
44
func(F0) \
drivers/gpu/drm/xe/xe_step_types.h
45
func(F1) \
drivers/gpu/drm/xe/xe_step_types.h
46
func(F2) \
drivers/gpu/drm/xe/xe_step_types.h
47
func(F3) \
drivers/gpu/drm/xe/xe_step_types.h
48
func(G0) \
drivers/gpu/drm/xe/xe_step_types.h
49
func(G1) \
drivers/gpu/drm/xe/xe_step_types.h
50
func(G2) \
drivers/gpu/drm/xe/xe_step_types.h
51
func(G3) \
drivers/gpu/drm/xe/xe_step_types.h
52
func(H0) \
drivers/gpu/drm/xe/xe_step_types.h
53
func(H1) \
drivers/gpu/drm/xe/xe_step_types.h
54
func(H2) \
drivers/gpu/drm/xe/xe_step_types.h
55
func(H3) \
drivers/gpu/drm/xe/xe_step_types.h
56
func(I0) \
drivers/gpu/drm/xe/xe_step_types.h
57
func(I1) \
drivers/gpu/drm/xe/xe_step_types.h
58
func(I2) \
drivers/gpu/drm/xe/xe_step_types.h
59
func(I3) \
drivers/gpu/drm/xe/xe_step_types.h
60
func(J0) \
drivers/gpu/drm/xe/xe_step_types.h
61
func(J1) \
drivers/gpu/drm/xe/xe_step_types.h
62
func(J2) \
drivers/gpu/drm/xe/xe_step_types.h
63
func(J3)
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
114
man->func = &xe_ttm_sys_mgr_func;
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
322
man->func = &xe_ttm_vram_mgr_func;
drivers/hid/bpf/hid_bpf_dispatch.c
572
BTF_ID_FLAGS(func, hid_bpf_get_data, KF_RET_NULL)
drivers/hid/bpf/hid_bpf_dispatch.c
573
BTF_ID_FLAGS(func, hid_bpf_allocate_context, KF_ACQUIRE | KF_RET_NULL | KF_SLEEPABLE)
drivers/hid/bpf/hid_bpf_dispatch.c
574
BTF_ID_FLAGS(func, hid_bpf_release_context, KF_RELEASE | KF_SLEEPABLE)
drivers/hid/bpf/hid_bpf_dispatch.c
575
BTF_ID_FLAGS(func, hid_bpf_hw_request, KF_SLEEPABLE)
drivers/hid/bpf/hid_bpf_dispatch.c
576
BTF_ID_FLAGS(func, hid_bpf_hw_output_report, KF_SLEEPABLE)
drivers/hid/bpf/hid_bpf_dispatch.c
577
BTF_ID_FLAGS(func, hid_bpf_input_report, KF_SLEEPABLE)
drivers/hid/bpf/hid_bpf_dispatch.c
578
BTF_ID_FLAGS(func, hid_bpf_try_input_report)
drivers/hid/bpf/hid_bpf_dispatch.c
588
BTF_ID_FLAGS(func, hid_bpf_allocate_context, KF_ACQUIRE | KF_RET_NULL)
drivers/hid/bpf/hid_bpf_dispatch.c
589
BTF_ID_FLAGS(func, hid_bpf_release_context, KF_RELEASE)
drivers/hid/bpf/hid_bpf_dispatch.c
590
BTF_ID_FLAGS(func, hid_bpf_hw_request)
drivers/hid/bpf/hid_bpf_dispatch.c
591
BTF_ID_FLAGS(func, hid_bpf_hw_output_report)
drivers/hid/bpf/hid_bpf_dispatch.c
592
BTF_ID_FLAGS(func, hid_bpf_input_report)
drivers/hid/bpf/progs/hid_bpf_helpers.h
162
#define _EXPAND(func, ...) COMBINE(func, _NARGS(__VA_ARGS__)) (__VA_ARGS__)
drivers/hid/hid-ft260.c
844
#define FT260_ATTR_SHOW(name, reptype, id, type, func) \
drivers/hid/hid-ft260.c
853
return func(hdev, id, (u8 *)&rep, len, field, buf); \
drivers/hid/hid-ft260.c
864
#define FT260_ATTR_STORE(name, reptype, id, req, type, ctype, func) \
drivers/hid/hid-ft260.c
874
if (!func(buf, 10, (ctype *)&name)) { \
drivers/hid/hid-wiimote-core.c
1591
void (*func)(struct wiimote_data *wdata, const __u8 *payload);
drivers/hid/hid-wiimote-core.c
1595
{ .id = WIIPROTO_REQ_STATUS, .size = 6, .func = handler_status },
drivers/hid/hid-wiimote-core.c
1596
{ .id = WIIPROTO_REQ_STATUS, .size = 2, .func = handler_status_K },
drivers/hid/hid-wiimote-core.c
1597
{ .id = WIIPROTO_REQ_DATA, .size = 21, .func = handler_data },
drivers/hid/hid-wiimote-core.c
1598
{ .id = WIIPROTO_REQ_DATA, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1599
{ .id = WIIPROTO_REQ_RETURN, .size = 4, .func = handler_return },
drivers/hid/hid-wiimote-core.c
1600
{ .id = WIIPROTO_REQ_RETURN, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1601
{ .id = WIIPROTO_REQ_DRM_K, .size = 2, .func = handler_keys },
drivers/hid/hid-wiimote-core.c
1602
{ .id = WIIPROTO_REQ_DRM_KA, .size = 5, .func = handler_drm_KA },
drivers/hid/hid-wiimote-core.c
1603
{ .id = WIIPROTO_REQ_DRM_KA, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1604
{ .id = WIIPROTO_REQ_DRM_KE, .size = 10, .func = handler_drm_KE },
drivers/hid/hid-wiimote-core.c
1605
{ .id = WIIPROTO_REQ_DRM_KE, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1606
{ .id = WIIPROTO_REQ_DRM_KAI, .size = 17, .func = handler_drm_KAI },
drivers/hid/hid-wiimote-core.c
1607
{ .id = WIIPROTO_REQ_DRM_KAI, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1608
{ .id = WIIPROTO_REQ_DRM_KEE, .size = 21, .func = handler_drm_KEE },
drivers/hid/hid-wiimote-core.c
1609
{ .id = WIIPROTO_REQ_DRM_KEE, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1610
{ .id = WIIPROTO_REQ_DRM_KAE, .size = 21, .func = handler_drm_KAE },
drivers/hid/hid-wiimote-core.c
1611
{ .id = WIIPROTO_REQ_DRM_KAE, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1612
{ .id = WIIPROTO_REQ_DRM_KIE, .size = 21, .func = handler_drm_KIE },
drivers/hid/hid-wiimote-core.c
1613
{ .id = WIIPROTO_REQ_DRM_KIE, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1614
{ .id = WIIPROTO_REQ_DRM_KAIE, .size = 21, .func = handler_drm_KAIE },
drivers/hid/hid-wiimote-core.c
1615
{ .id = WIIPROTO_REQ_DRM_KAIE, .size = 2, .func = handler_generic_K },
drivers/hid/hid-wiimote-core.c
1616
{ .id = WIIPROTO_REQ_DRM_E, .size = 21, .func = handler_drm_E },
drivers/hid/hid-wiimote-core.c
1617
{ .id = WIIPROTO_REQ_DRM_SKAI1, .size = 21, .func = handler_drm_SKAI1 },
drivers/hid/hid-wiimote-core.c
1618
{ .id = WIIPROTO_REQ_DRM_SKAI2, .size = 21, .func = handler_drm_SKAI2 },
drivers/hid/hid-wiimote-core.c
1637
h->func(wdata, &raw_data[1]);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
65
u64 rev, u64 func, acpi_object_type type, void *prop_buf)
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
70
obj = acpi_evaluate_dsm_typed(handle, guid, rev, func, NULL, type);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
74
(int)rev, (int)func, (int)type);
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
84
u64 rev, u64 func, acpi_object_type type, void *prop_buf)
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
89
obj = acpi_evaluate_dsm_typed(handle, guid, rev, func, NULL, type);
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
93
rev, func, type);
drivers/hwmon/ibmpex.c
323
int counter, int sensor, int func)
drivers/hwmon/ibmpex.c
334
counter, sensor_name_suffixes[func]);
drivers/hwmon/ibmpex.c
337
counter, sensor_name_suffixes[func]);
drivers/hwmon/ibmpex.c
339
sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr);
drivers/hwmon/ibmpex.c
340
data->sensors[sensor].attr[func].dev_attr.attr.name = n;
drivers/hwmon/ibmpex.c
341
data->sensors[sensor].attr[func].dev_attr.attr.mode = 0444;
drivers/hwmon/ibmpex.c
342
data->sensors[sensor].attr[func].dev_attr.show = ibmpex_show_sensor;
drivers/hwmon/ibmpex.c
343
data->sensors[sensor].attr[func].index = sensor;
drivers/hwmon/ibmpex.c
344
data->sensors[sensor].attr[func].nr = func;
drivers/hwmon/ibmpex.c
347
&data->sensors[sensor].attr[func].dev_attr);
drivers/hwmon/ibmpex.c
349
data->sensors[sensor].attr[func].dev_attr.attr.name = NULL;
drivers/hwmon/lm93.c
2591
int func;
drivers/hwmon/lm93.c
2595
func = i2c_get_functionality(client->adapter);
drivers/hwmon/lm93.c
2596
if (((LM93_SMBUS_FUNC_FULL & func) == LM93_SMBUS_FUNC_FULL) &&
drivers/hwmon/lm93.c
2600
} else if ((LM93_SMBUS_FUNC_MIN & func) == LM93_SMBUS_FUNC_MIN) {
drivers/hwmon/ltc4282.c
1252
const char *func = NULL;
drivers/hwmon/ltc4282.c
1255
ret = device_property_read_string(dev, "adi,gpio1-mode", &func);
drivers/hwmon/ltc4282.c
1258
ARRAY_SIZE(ltc4282_gpio1_modes), func);
drivers/hwmon/ltc4282.c
1262
func);
drivers/hwmon/ltc4282.c
1271
ret = device_property_read_string(dev, "adi,gpio2-mode", &func);
drivers/hwmon/ltc4282.c
1274
ARRAY_SIZE(ltc4282_gpio2_modes), func);
drivers/hwmon/ltc4282.c
1278
func);
drivers/hwmon/ltc4282.c
1296
if (func && !strcmp(func, "adc_input"))
drivers/hwmon/peci/cputemp.c
31
u8 func;
drivers/hwmon/peci/cputemp.c
349
reg->func, reg->offset + 4, &data);
drivers/hwmon/peci/cputemp.c
356
reg->func, reg->offset, &data);
drivers/hwmon/peci/cputemp.c
365
reg->func, reg->offset, &data);
drivers/hwmon/peci/cputemp.c
491
.func = 3,
drivers/hwmon/peci/cputemp.c
498
.func = 3,
drivers/hwmon/peci/cputemp.c
505
.func = 6,
drivers/hwmon/peci/cputemp.c
512
.func = 6,
drivers/hwmon/peci/dimmtemp.c
418
u8 dev, func;
drivers/hwmon/peci/dimmtemp.c
433
func = chan_rank % 2;
drivers/hwmon/peci/dimmtemp.c
436
ret = peci_pci_local_read(priv->peci_dev, 1, dev, func, reg, data);
drivers/hwmon/peci/dimmtemp.c
446
u8 dev, func;
drivers/hwmon/peci/dimmtemp.c
457
func = (chan_rank % 2) ? 6 : 2;
drivers/hwmon/peci/dimmtemp.c
460
ret = peci_pci_local_read(priv->peci_dev, 2, dev, func, reg, data);
drivers/hwmon/peci/dimmtemp.c
470
u8 dev, func;
drivers/hwmon/peci/dimmtemp.c
483
func = chan_rank % 3 == 1 ? 6 : 2;
drivers/hwmon/peci/dimmtemp.c
486
ret = peci_pci_local_read(priv->peci_dev, 2, dev, func, reg, data);
drivers/hwmon/pmbus/acbel-fsg032.c
58
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/adm1266.c
460
data->info.func[i] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT;
drivers/hwmon/pmbus/adm1275.c
599
info->func[0] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT |
drivers/hwmon/pmbus/adm1275.c
631
info->func[0] |= PMBUS_HAVE_VIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/adm1275.c
634
info->func[0] |=
drivers/hwmon/pmbus/adm1275.c
665
info->func[0] |= PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT |
drivers/hwmon/pmbus/adm1275.c
674
info->func[0] |= PMBUS_HAVE_VIN;
drivers/hwmon/pmbus/adm1275.c
688
info->func[0] |=
drivers/hwmon/pmbus/adm1275.c
691
info->func[0] |=
drivers/hwmon/pmbus/adm1275.c
707
info->func[0] |= PMBUS_HAVE_VIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/adm1275.c
710
info->func[0] |=
drivers/hwmon/pmbus/adm1275.c
727
info->func[0] |= PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT |
drivers/hwmon/pmbus/adm1275.c
736
info->func[0] |= PMBUS_HAVE_VIN;
drivers/hwmon/pmbus/adm1275.c
782
info->func[0] |=
drivers/hwmon/pmbus/adm1275.c
785
info->func[0] |= PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/adp1050.c
26
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/adp1050.c
38
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/adp1050.c
52
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/adp1050.c
67
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/bel-pfe.c
41
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/bel-pfe.c
62
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/bel-pfe.c
72
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/bel-pfe.c
84
.func[2] = PMBUS_HAVE_VOUT,
drivers/hwmon/pmbus/bel-pfe.c
85
.func[4] = PMBUS_HAVE_VOUT,
drivers/hwmon/pmbus/bel-pfe.c
86
.func[5] = PMBUS_HAVE_VOUT,
drivers/hwmon/pmbus/bel-pfe.c
87
.func[6] = PMBUS_HAVE_VOUT,
drivers/hwmon/pmbus/bpa-rs600.c
137
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/crps.c
21
.func[0] = PMBUS_HAVE_PIN | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/delta-ahe50dc-fan.c
82
.func[0] = PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2 | PMBUS_HAVE_TEMP3 |
drivers/hwmon/pmbus/delta-ahe50dc-fan.c
85
.func[1] = PMBUS_HAVE_TEMP | PMBUS_PAGE_VIRTUAL,
drivers/hwmon/pmbus/dps920ab.c
79
.func[0] =
drivers/hwmon/pmbus/fsp-3y.c
175
.func[YM2151_PAGE_12V_LOG] =
drivers/hwmon/pmbus/fsp-3y.c
181
.func[YM2151_PAGE_5VSB_LOG] =
drivers/hwmon/pmbus/fsp-3y.c
188
.func[YH5151E_PAGE_12V_LOG] =
drivers/hwmon/pmbus/fsp-3y.c
192
.func[YH5151E_PAGE_5V_LOG] =
drivers/hwmon/pmbus/fsp-3y.c
195
.func[YH5151E_PAGE_3V3_LOG] =
drivers/hwmon/pmbus/hac300s.c
71
.func[0] = PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2 | \
drivers/hwmon/pmbus/ibm-cffps.c
443
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/ibm-cffps.c
454
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/ibm-cffps.c
460
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/ina233.c
105
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/inspur-ipsps.c
180
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/ir35221.c
117
info->func[0] = PMBUS_HAVE_VIN
drivers/hwmon/pmbus/ir35221.c
123
info->func[1] = info->func[0];
drivers/hwmon/pmbus/ir36021.c
22
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ir38064.c
39
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/irps5401.c
34
.func[0] = IRPS5401_SW_FUNC,
drivers/hwmon/pmbus/irps5401.c
35
.func[1] = IRPS5401_SW_FUNC,
drivers/hwmon/pmbus/irps5401.c
36
.func[2] = IRPS5401_SW_FUNC,
drivers/hwmon/pmbus/irps5401.c
37
.func[3] = IRPS5401_SW_FUNC,
drivers/hwmon/pmbus/irps5401.c
38
.func[4] = IRPS5401_LDO_FUNC,
drivers/hwmon/pmbus/isl68137.c
296
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/isl68137.c
302
.func[1] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/isl68137.c
306
.func[2] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/isl68137.c
400
info->func[0] &= ~PMBUS_HAVE_VMON;
drivers/hwmon/pmbus/isl68137.c
401
info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/isl68137.c
414
info->func[0] &= ~PMBUS_HAVE_TEMP3;
drivers/hwmon/pmbus/isl68137.c
415
info->func[1] &= ~PMBUS_HAVE_TEMP3;
drivers/hwmon/pmbus/lm25066.c
496
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VMON
drivers/hwmon/pmbus/lm25066.c
501
info->func[0] |= PMBUS_HAVE_STATUS_VMON;
drivers/hwmon/pmbus/lm25066.c
506
info->func[0] |= PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT;
drivers/hwmon/pmbus/lt3074.c
66
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/lt7182s.c
162
info->func[0] |= PMBUS_HAVE_VMON;
drivers/hwmon/pmbus/lt7182s.c
163
info->func[1] |= PMBUS_HAVE_VMON;
drivers/hwmon/pmbus/lt7182s.c
164
info->func[2] = PMBUS_HAVE_VMON;
drivers/hwmon/pmbus/lt7182s.c
91
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/lt7182s.c
95
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/ltc2978.c
775
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/ltc2978.c
783
info->func[0] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/ltc2978.c
787
info->func[i] |= PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ltc2978.c
796
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/ltc2978.c
799
info->func[i] |= PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ltc2978.c
808
info->func[0] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/ltc2978.c
812
info->func[i] |= PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ltc2978.c
826
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/ltc2978.c
830
info->func[i] = PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ltc2978.c
843
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ltc2978.c
849
info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/ltc2978.c
858
info->func[0] = PMBUS_HAVE_VIN
drivers/hwmon/pmbus/ltc2978.c
864
info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/ltc2978.c
873
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ltc2978.c
892
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ltc2978.c
898
info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/ltc2978.c
907
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ltc2978.c
917
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/ltc2978.c
920
info->func[i] |= PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ltc3815.c
173
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/ltc4286.c
55
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/max15301.c
49
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max16064.c
79
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP
drivers/hwmon/pmbus/max16064.c
81
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max16064.c
82
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max16064.c
83
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max16601.c
232
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/max16601.c
238
.func[1] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN | PMBUS_PAGE_VIRTUAL,
drivers/hwmon/pmbus/max16601.c
239
.func[2] = PMBUS_HAVE_IIN | PMBUS_HAVE_STATUS_INPUT |
drivers/hwmon/pmbus/max17616.c
37
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/max20730.c
556
.func[0] = PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/max20730.c
595
.func[0] = PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/max20730.c
624
.func[0] = PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/max20730.c
653
.func[0] = PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/max20751.c
23
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/max31785.c
405
.func[0] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
406
.func[1] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
407
.func[2] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
408
.func[3] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
409
.func[4] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
410
.func[5] = MAX31785_FAN_FUNCS,
drivers/hwmon/pmbus/max31785.c
416
.func[6] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
417
.func[7] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
418
.func[8] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
419
.func[9] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
420
.func[10] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
421
.func[11] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
422
.func[12] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
423
.func[13] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
424
.func[14] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
425
.func[15] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
426
.func[16] = MAX31785_TEMP_FUNCS,
drivers/hwmon/pmbus/max31785.c
432
.func[17] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
433
.func[18] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
434
.func[19] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
435
.func[20] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
436
.func[21] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
437
.func[22] = MAX31785_VOUT_FUNCS,
drivers/hwmon/pmbus/max31785.c
462
info->func[virtual] |= PMBUS_HAVE_FAN12;
drivers/hwmon/pmbus/max31785.c
463
info->func[virtual] |= PMBUS_PAGE_VIRTUAL;
drivers/hwmon/pmbus/max34440.c
297
data->info.func[page] = PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/max34440.c
301
data->info.func[page] |= PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/max34440.c
305
data->info.func[page] = PMBUS_HAVE_VOUT;
drivers/hwmon/pmbus/max34440.c
308
data->info.func[page] |= PMBUS_HAVE_VIN;
drivers/hwmon/pmbus/max34440.c
311
data->info.func[page] = PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/max34440.c
315
data->info.func[page] |= PMBUS_HAVE_IIN |
drivers/hwmon/pmbus/max34440.c
319
data->info.func[page] = PMBUS_HAVE_IOUT;
drivers/hwmon/pmbus/max34440.c
322
data->info.func[page] |= PMBUS_HAVE_IIN;
drivers/hwmon/pmbus/max34440.c
356
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
357
.func[4] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
358
.func[5] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
359
.func[6] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
360
.func[7] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
361
.func[8] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
362
.func[9] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT,
drivers/hwmon/pmbus/max34440.c
363
.func[10] = PMBUS_HAVE_IIN | PMBUS_HAVE_STATUS_INPUT,
drivers/hwmon/pmbus/max34440.c
364
.func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
391
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
392
.func[4] = PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
393
.func[5] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
394
.func[6] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
395
.func[7] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
396
.func[8] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/max34440.c
397
.func[9] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT,
drivers/hwmon/pmbus/max34440.c
398
.func[10] = PMBUS_HAVE_IIN | PMBUS_HAVE_STATUS_INPUT,
drivers/hwmon/pmbus/max34440.c
399
.func[14] = PMBUS_HAVE_IOUT,
drivers/hwmon/pmbus/max34440.c
400
.func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
422
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
424
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
426
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
428
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
430
.func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
432
.func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
434
.func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
435
.func[7] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
436
.func[8] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
437
.func[9] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
438
.func[10] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
439
.func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
440
.func[12] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
441
.func[13] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
469
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
471
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
473
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
475
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
477
.func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
479
.func[5] = PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12,
drivers/hwmon/pmbus/max34440.c
480
.func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
481
.func[7] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
482
.func[8] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
483
.func[9] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
484
.func[10] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
485
.func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
513
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
515
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
517
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
519
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/max34440.c
521
.func[4] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
522
.func[5] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
523
.func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
544
.func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
545
.func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
546
.func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
547
.func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
548
.func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
563
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
564
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
565
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
566
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
567
.func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
568
.func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
569
.func[6] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
570
.func[7] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
571
.func[8] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
572
.func[9] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
573
.func[10] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
574
.func[11] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
575
.func[13] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
576
.func[14] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
577
.func[15] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
578
.func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
579
.func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
594
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
595
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
596
.func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
597
.func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
598
.func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
599
.func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
600
.func[6] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
601
.func[7] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
602
.func[8] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
603
.func[9] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
604
.func[10] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
605
.func[11] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
606
.func[12] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
607
.func[13] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
608
.func[14] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
609
.func[15] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/max34440.c
611
.func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
612
.func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
613
.func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
614
.func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max34440.c
615
.func[21] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/max8688.c
160
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | PMBUS_HAVE_TEMP
drivers/hwmon/pmbus/mp2856.c
385
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/mp2856.c
389
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/mp2869.c
610
.func[0] = MP2869_RAIL1_FUNC,
drivers/hwmon/pmbus/mp2869.c
611
.func[1] = MP2869_RAIL2_FUNC,
drivers/hwmon/pmbus/mp2888.c
335
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | PMBUS_HAVE_IOUT |
drivers/hwmon/pmbus/mp2891.c
553
.func[0] = MP2891_RAIL1_FUNC,
drivers/hwmon/pmbus/mp2891.c
554
.func[1] = MP2891_RAIL2_FUNC,
drivers/hwmon/pmbus/mp2925.c
286
.func[0] = MP2925_RAIL1_FUNC,
drivers/hwmon/pmbus/mp2925.c
287
.func[1] = MP2925_RAIL2_FUNC,
drivers/hwmon/pmbus/mp29502.c
621
.func[0] = MP29502_RAIL_FUNC,
drivers/hwmon/pmbus/mp2975.c
1031
data->info.func[1] = MP2975_RAIL2_FUNC;
drivers/hwmon/pmbus/mp2975.c
957
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/mp2975.c
979
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/mp2993.c
223
.func[0] = MP2993_RAIL1_FUNC,
drivers/hwmon/pmbus/mp2993.c
224
.func[1] = MP2993_RAIL2_FUNC,
drivers/hwmon/pmbus/mp5023.c
36
.func[0] =
drivers/hwmon/pmbus/mp5920.c
34
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT |
drivers/hwmon/pmbus/mp5926.c
117
.func[0] = MP5926_FUNC,
drivers/hwmon/pmbus/mp5990.c
107
.func[0] =
drivers/hwmon/pmbus/mp5990.c
141
.func[0] =
drivers/hwmon/pmbus/mp9941.c
274
.func[0] = MP9941_RAIL1_FUNC,
drivers/hwmon/pmbus/mp9945.c
189
.func[0] = MP9945_RAIL1_FUNC,
drivers/hwmon/pmbus/mpq7932.c
119
info->func[i] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/mpq8785.c
105
.func[0] =
drivers/hwmon/pmbus/pim4328.c
188
info->func[0] = PMBUS_PHASE_VIRTUAL | PMBUS_HAVE_VIN
drivers/hwmon/pmbus/pim4328.c
195
info->func[0] = PMBUS_PHASE_VIRTUAL
drivers/hwmon/pmbus/pim4328.c
206
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_TEMP
drivers/hwmon/pmbus/pli1209bc.c
100
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/pm6764tr.c
38
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/pmbus.c
35
info->func[0] |= PMBUS_HAVE_VIN;
drivers/hwmon/pmbus/pmbus.c
37
info->func[0] |= PMBUS_HAVE_VCAP;
drivers/hwmon/pmbus/pmbus.c
39
info->func[0] |= PMBUS_HAVE_IIN;
drivers/hwmon/pmbus/pmbus.c
41
info->func[0] |= PMBUS_HAVE_PIN;
drivers/hwmon/pmbus/pmbus.c
42
if (info->func[0]
drivers/hwmon/pmbus/pmbus.c
44
info->func[0] |= PMBUS_HAVE_STATUS_INPUT;
drivers/hwmon/pmbus/pmbus.c
47
info->func[0] |= PMBUS_HAVE_FAN12;
drivers/hwmon/pmbus/pmbus.c
49
info->func[0] |= PMBUS_HAVE_STATUS_FAN12;
drivers/hwmon/pmbus/pmbus.c
53
info->func[0] |= PMBUS_HAVE_FAN34;
drivers/hwmon/pmbus/pmbus.c
55
info->func[0] |= PMBUS_HAVE_STATUS_FAN34;
drivers/hwmon/pmbus/pmbus.c
58
info->func[0] |= PMBUS_HAVE_TEMP;
drivers/hwmon/pmbus/pmbus.c
60
info->func[0] |= PMBUS_HAVE_TEMP2;
drivers/hwmon/pmbus/pmbus.c
62
info->func[0] |= PMBUS_HAVE_TEMP3;
drivers/hwmon/pmbus/pmbus.c
63
if (info->func[0] & (PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2
drivers/hwmon/pmbus/pmbus.c
67
info->func[0] |= PMBUS_HAVE_STATUS_TEMP;
drivers/hwmon/pmbus/pmbus.c
72
info->func[page] |= PMBUS_HAVE_VOUT;
drivers/hwmon/pmbus/pmbus.c
75
info->func[page] |= PMBUS_HAVE_STATUS_VOUT;
drivers/hwmon/pmbus/pmbus.c
78
info->func[page] |= PMBUS_HAVE_IOUT;
drivers/hwmon/pmbus/pmbus.c
81
info->func[page] |= PMBUS_HAVE_STATUS_IOUT;
drivers/hwmon/pmbus/pmbus.c
84
info->func[page] |= PMBUS_HAVE_POUT;
drivers/hwmon/pmbus/pmbus.h
440
u32 func[PMBUS_PAGES]; /* Functionality, per page */
drivers/hwmon/pmbus/pmbus_core.c
1532
u32 func; /* sensor mask */
drivers/hwmon/pmbus/pmbus_core.c
1565
if (l->sbit && (info->func[page] & attr->sfunc)) {
drivers/hwmon/pmbus/pmbus_core.c
1649
if (info->func[p] & attr->func)
drivers/hwmon/pmbus/pmbus_core.c
1672
if (info->func[page] & attrs->func) {
drivers/hwmon/pmbus/pmbus_core.c
1685
if (!(info->pfunc[phase] & attrs->func))
drivers/hwmon/pmbus/pmbus_core.c
1832
.func = PMBUS_HAVE_VIN,
drivers/hwmon/pmbus/pmbus_core.c
1842
.func = PMBUS_HAVE_VMON,
drivers/hwmon/pmbus/pmbus_core.c
1851
.func = PMBUS_HAVE_VCAP,
drivers/hwmon/pmbus/pmbus_core.c
1857
.func = PMBUS_HAVE_VOUT,
drivers/hwmon/pmbus/pmbus_core.c
1952
.func = PMBUS_HAVE_IIN,
drivers/hwmon/pmbus/pmbus_core.c
1963
.func = PMBUS_HAVE_IOUT,
drivers/hwmon/pmbus/pmbus_core.c
2053
.func = PMBUS_HAVE_PIN,
drivers/hwmon/pmbus/pmbus_core.c
2064
.func = PMBUS_HAVE_POUT,
drivers/hwmon/pmbus/pmbus_core.c
215
if (!(data->info->func[page] & PMBUS_PAGE_VIRTUAL) &&
drivers/hwmon/pmbus/pmbus_core.c
2203
.func = PMBUS_HAVE_TEMP,
drivers/hwmon/pmbus/pmbus_core.c
2215
.func = PMBUS_HAVE_TEMP2,
drivers/hwmon/pmbus/pmbus_core.c
2227
.func = PMBUS_HAVE_TEMP3,
drivers/hwmon/pmbus/pmbus_core.c
2280
if (!((data->info->func[page] & PMBUS_HAVE_PWM12) ||
drivers/hwmon/pmbus/pmbus_core.c
2281
(data->info->func[page] & PMBUS_HAVE_PWM34)))
drivers/hwmon/pmbus/pmbus_core.c
2315
if (!(info->func[page] & pmbus_fan_flags[f]))
drivers/hwmon/pmbus/pmbus_core.c
235
!(data->info->func[page] & PMBUS_PHASE_VIRTUAL)) {
drivers/hwmon/pmbus/pmbus_core.c
2351
if ((info->func[page] & pmbus_fan_status_flags[f]) &&
drivers/hwmon/pmbus/pmbus_core.c
2470
if (!(info->func[0] & PMBUS_HAVE_SAMPLES))
drivers/hwmon/pmbus/pmbus_core.c
2894
int func;
drivers/hwmon/pmbus/pmbus_core.c
2901
.func = PMBUS_HAVE_STATUS_VOUT,
drivers/hwmon/pmbus/pmbus_core.c
2915
.func = PMBUS_HAVE_STATUS_IOUT,
drivers/hwmon/pmbus/pmbus_core.c
2927
.func = PMBUS_HAVE_STATUS_TEMP,
drivers/hwmon/pmbus/pmbus_core.c
2998
int func = data->info->func[page];
drivers/hwmon/pmbus/pmbus_core.c
3005
if (!(func & cat->func))
drivers/hwmon/pmbus/pmbus_core.c
3494
int i, j, err, func;
drivers/hwmon/pmbus/pmbus_core.c
3505
func = data->info->func[i];
drivers/hwmon/pmbus/pmbus_core.c
3509
if (!(func & cat->func))
drivers/hwmon/pmbus/pmbus_core.c
3755
if ((data->info->func[page] & d->flag) ||
drivers/hwmon/pmbus/pmbus_core.c
627
int (*func)(struct i2c_client *client,
drivers/hwmon/pmbus/pmbus_core.c
634
rv = func(client, page, reg);
drivers/hwmon/pmbus/pxe1610.c
69
.func[0] = PMBUS_HAVE_VIN
drivers/hwmon/pmbus/pxe1610.c
75
.func[1] = PMBUS_HAVE_VIN
drivers/hwmon/pmbus/pxe1610.c
81
.func[2] = PMBUS_HAVE_VIN
drivers/hwmon/pmbus/q54sj108a2.c
66
.func[0] = PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/stef48h28.c
39
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN
drivers/hwmon/pmbus/stpddc60.c
29
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/tda38640.c
150
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/tps25990.c
367
.func[0] = (PMBUS_HAVE_VIN |
drivers/hwmon/pmbus/tps40422.c
20
.func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP2
drivers/hwmon/pmbus/tps40422.c
23
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP2
drivers/hwmon/pmbus/tps53679.c
153
info->func[1] |= PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/tps53679.c
231
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN |
drivers/hwmon/pmbus/tps53679.c
237
.func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/tps546d24.c
20
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN
drivers/hwmon/pmbus/ucd9000.c
564
info->func[0] = PMBUS_HAVE_TEMP;
drivers/hwmon/pmbus/ucd9000.c
582
info->func[page] |= PMBUS_HAVE_VOUT
drivers/hwmon/pmbus/ucd9000.c
586
info->func[page] |= PMBUS_HAVE_TEMP2
drivers/hwmon/pmbus/ucd9000.c
590
info->func[page] |= PMBUS_HAVE_IOUT
drivers/hwmon/pmbus/ucd9000.c
612
info->func[0] |= PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12
drivers/hwmon/pmbus/ucd9200.c
177
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT |
drivers/hwmon/pmbus/ucd9200.c
185
info->func[i] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/ucd9200.c
192
info->func[0] |= PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12;
drivers/hwmon/pmbus/xdp710.c
53
.func[0] =
drivers/hwmon/pmbus/xdpe12284.c
139
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/xdpe12284.c
143
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/xdpe152c4.c
25
.func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/xdpe152c4.c
29
.func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT |
drivers/hwmon/pmbus/zl6100.c
332
info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT
drivers/hwmon/pmbus/zl6100.c
344
info->func[0] |= PMBUS_HAVE_VMON | PMBUS_HAVE_STATUS_VMON;
drivers/hwmon/pmbus/zl6100.c
355
info->func[0] |= PMBUS_HAVE_IIN;
drivers/hwmon/pmbus/zl6100.c
364
info->func[1] |= PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT;
drivers/hwmon/pmbus/zl6100.c
366
info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT
drivers/hwmon/pmbus/zl6100.c
381
info->func[i] |= PMBUS_HAVE_TEMP2;
drivers/hwmon/pmbus/zl6100.c
390
info->func[0] |= PMBUS_HAVE_TEMP3;
drivers/hwmon/pmbus/zl6100.c
397
info->func[0] |= PMBUS_HAVE_TEMP2;
drivers/hwtracing/coresight/ultrasoc-smb.c
512
u64 func = enable ? 1 : 0;
drivers/hwtracing/coresight/ultrasoc-smb.c
526
obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), &guid, rev, func, NULL);
drivers/i2c/busses/i2c-cadence.c
1178
u32 func = I2C_FUNC_I2C | I2C_FUNC_10BIT_ADDR |
drivers/i2c/busses/i2c-cadence.c
1183
func |= I2C_FUNC_SLAVE;
drivers/i2c/busses/i2c-cadence.c
1186
return func;
drivers/i2c/busses/i2c-rcar.c
1077
u32 func = I2C_FUNC_I2C | I2C_FUNC_SLAVE |
drivers/i2c/busses/i2c-rcar.c
1081
func |= I2C_FUNC_SMBUS_HOST_NOTIFY;
drivers/i2c/busses/i2c-rcar.c
1083
return func;
drivers/i2c/busses/i2c-stm32f7.c
2141
u32 func = I2C_FUNC_I2C | I2C_FUNC_10BIT_ADDR | I2C_FUNC_SLAVE |
drivers/i2c/busses/i2c-stm32f7.c
2149
func |= I2C_FUNC_SMBUS_HOST_NOTIFY;
drivers/i2c/busses/i2c-stm32f7.c
2151
return func;
drivers/i2c/busses/i2c-viapro.c
291
u32 func = I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
drivers/i2c/busses/i2c-viapro.c
296
func |= I2C_FUNC_SMBUS_I2C_BLOCK;
drivers/i2c/busses/i2c-viapro.c
297
return func;
drivers/i2c/muxes/i2c-mux-mlxcpld.c
124
u32 func;
drivers/i2c/muxes/i2c-mux-mlxcpld.c
131
func = I2C_FUNC_SMBUS_WRITE_BYTE_DATA;
drivers/i2c/muxes/i2c-mux-mlxcpld.c
134
func = I2C_FUNC_I2C;
drivers/i2c/muxes/i2c-mux-mlxcpld.c
140
if (!i2c_check_functionality(client->adapter, func))
drivers/iio/addac/ad74413r.c
1218
config->func = CH_FUNC_HIGH_IMPEDANCE;
drivers/iio/addac/ad74413r.c
1219
fwnode_property_read_u32(channel_node, "adi,ch-func", &config->func);
drivers/iio/addac/ad74413r.c
1221
if (config->func < CH_FUNC_MIN || config->func > CH_FUNC_MAX) {
drivers/iio/addac/ad74413r.c
1222
dev_err(st->dev, "Invalid channel function %u\n", config->func);
drivers/iio/addac/ad74413r.c
1227
(config->func == CH_FUNC_CURRENT_INPUT_EXT_POWER_HART ||
drivers/iio/addac/ad74413r.c
1228
config->func == CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART)) {
drivers/iio/addac/ad74413r.c
1229
dev_err(st->dev, "Unsupported HART function %u\n", config->func);
drivers/iio/addac/ad74413r.c
1233
if (config->func == CH_FUNC_DIGITAL_INPUT_LOGIC ||
drivers/iio/addac/ad74413r.c
1234
config->func == CH_FUNC_DIGITAL_INPUT_LOOP_POWER)
drivers/iio/addac/ad74413r.c
1246
indio_dev->num_channels += ad74413r_channels_map[config->func].num_channels;
drivers/iio/addac/ad74413r.c
1285
chans = ad74413r_channels_map[config->func].channels;
drivers/iio/addac/ad74413r.c
1286
num_chans = ad74413r_channels_map[config->func].num_channels;
drivers/iio/addac/ad74413r.c
1300
ret = ad74413r_set_channel_function(st, i, config->func);
drivers/iio/addac/ad74413r.c
1330
if (config->func == CH_FUNC_DIGITAL_INPUT_LOGIC ||
drivers/iio/addac/ad74413r.c
1331
config->func == CH_FUNC_DIGITAL_INPUT_LOOP_POWER) {
drivers/iio/addac/ad74413r.c
44
u32 func;
drivers/iio/addac/ad74413r.c
445
unsigned int channel, u8 func)
drivers/iio/addac/ad74413r.c
466
AD74413R_CH_FUNC_SETUP_MASK, func);
drivers/iio/addac/ad74413r.c
473
if (func == CH_FUNC_CURRENT_INPUT_LOOP_POWER)
drivers/iio/iio_core.h
43
ssize_t (*func)(struct device *dev,
drivers/iio/pressure/mprls0025pa.c
333
u32 func;
drivers/iio/pressure/mprls0025pa.c
360
"honeywell,transfer-function", &func);
drivers/iio/pressure/mprls0025pa.c
364
data->function = func - 1;
drivers/infiniband/core/device.c
240
#define define_ibdev_printk_level(func, level) \
drivers/infiniband/core/device.c
241
void func(const struct ib_device *ibdev, const char *fmt, ...) \
drivers/infiniband/core/device.c
255
EXPORT_SYMBOL(func);
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
262
const char *func)
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
274
func, pci_name(rdev->lldi.pdev), hwtid, qpid);
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
292
const char *func)
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
296
pr_debug("%s wr_wait %p hwtid %u qpid %u\n", func, wr_waitp, hwtid,
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
304
return c4iw_wait_for_reply(rdev, wr_waitp, hwtid, qpid, func);
drivers/infiniband/hw/hfi1/chip.h
717
const char *func);
drivers/infiniband/hw/hfi1/firmware.c
1413
const char *func)
drivers/infiniband/hw/hfi1/firmware.c
1417
func);
drivers/infiniband/hw/hfi1/firmware.c
1543
const char *func)
drivers/infiniband/hw/hfi1/firmware.c
1554
if (func)
drivers/infiniband/hw/hfi1/firmware.c
1557
func, dd->hfi1_id, resource);
drivers/infiniband/hw/hfi1/firmware.c
1563
static void clear_chip_resources(struct hfi1_devdata *dd, const char *func)
drivers/infiniband/hw/hfi1/firmware.c
1571
fail_mutex_acquire_message(dd, func);
drivers/infiniband/hw/hfi1/iowait.c
42
void (*func)(struct work_struct *work),
drivers/infiniband/hw/hfi1/iowait.c
71
INIT_WORK(&wait->wait[i].iowork, func);
drivers/infiniband/hw/hfi1/iowait.c
85
if (iowait_get_tid_work(w)->iowork.func)
drivers/infiniband/hw/hfi1/iowait.h
131
void (*func)(struct work_struct *work),
drivers/infiniband/hw/hfi1/trace_dbg.h
58
void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\
drivers/infiniband/hw/hfi1/trace_dbg.h
67
trace_hfi1_ ##lvl(func, &vaf); \
drivers/infiniband/hw/mlx4/mcg.c
1029
if (group->func[i].state == MCAST_MEMBER)
drivers/infiniband/hw/mlx4/mcg.c
1031
group->func[i].join_state);
drivers/infiniband/hw/mlx4/mcg.c
106
struct mcast_member func[MAX_VFS];
drivers/infiniband/hw/mlx4/mcg.c
1182
list_for_each_entry_safe(req, tmp, &group->func[vf].pending, func_list) {
drivers/infiniband/hw/mlx4/mcg.c
1192
--group->func[vf].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
1200
if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) {
drivers/infiniband/hw/mlx4/mcg.c
1202
list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs);
drivers/infiniband/hw/mlx4/mcg.c
1211
if (!group->func[slave].join_state)
drivers/infiniband/hw/mlx4/mcg.c
1218
if (!list_empty(&group->func[slave].pending)) {
drivers/infiniband/hw/mlx4/mcg.c
1219
pend_req = list_entry(group->func[slave].pending.prev, struct mcast_req, group_list);
drivers/infiniband/hw/mlx4/mcg.c
1227
req->func = slave;
drivers/infiniband/hw/mlx4/mcg.c
1229
++group->func[slave].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
132
int func;
drivers/infiniband/hw/mlx4/mcg.c
345
sa_data->scope_join_state |= (group->func[slave].join_state & 0x0f);
drivers/infiniband/hw/mlx4/mcg.c
501
join_state = join_mask & (~group->func[slave].join_state);
drivers/infiniband/hw/mlx4/mcg.c
503
group->func[slave].join_state |= join_state;
drivers/infiniband/hw/mlx4/mcg.c
504
if (group->func[slave].state != MCAST_MEMBER && join_state) {
drivers/infiniband/hw/mlx4/mcg.c
505
group->func[slave].state = MCAST_MEMBER;
drivers/infiniband/hw/mlx4/mcg.c
516
group->func[slave].join_state &= ~leave_state;
drivers/infiniband/hw/mlx4/mcg.c
517
if (!group->func[slave].join_state) {
drivers/infiniband/hw/mlx4/mcg.c
518
group->func[slave].state = MCAST_NOT_MEMBER;
drivers/infiniband/hw/mlx4/mcg.c
526
if (group->func[slave].state != MCAST_MEMBER)
drivers/infiniband/hw/mlx4/mcg.c
530
if (~group->func[slave].join_state & leave_mask)
drivers/infiniband/hw/mlx4/mcg.c
553
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
590
leave_mask = group->func[req->func].join_state;
drivers/infiniband/hw/mlx4/mcg.c
592
status = check_leave(group, req->func, leave_mask);
drivers/infiniband/hw/mlx4/mcg.c
594
leave_group(group, req->func, leave_mask);
drivers/infiniband/hw/mlx4/mcg.c
597
send_reply_to_slave(req->func, group, &req->sa_mad, status);
drivers/infiniband/hw/mlx4/mcg.c
598
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
617
join_group(group, req->func, join_mask);
drivers/infiniband/hw/mlx4/mcg.c
619
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
620
send_reply_to_slave(req->func, group, &req->sa_mad, status);
drivers/infiniband/hw/mlx4/mcg.c
629
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
678
send_reply_to_slave(req->func, group, &req->sa_mad, status);
drivers/infiniband/hw/mlx4/mcg.c
679
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
768
--group->func[req->func].num_pend_reqs;
drivers/infiniband/hw/mlx4/mcg.c
836
INIT_LIST_HEAD(&group->func[i].pending);
drivers/infiniband/hw/mlx4/mcg.c
876
list_add_tail(&req->func_list, &group->func[req->func].pending);
drivers/infiniband/hw/mlx4/mcg.c
953
req->func = slave;
drivers/infiniband/hw/mlx4/mcg.c
964
if (group->func[slave].num_pend_reqs > MAX_PEND_REQS_PER_FUNC) {
drivers/infiniband/hw/mlx4/mcg.c
972
++group->func[slave].num_pend_reqs;
drivers/infiniband/sw/rxe/rxe_qp.c
873
if (qp->recv_task.func)
drivers/infiniband/sw/rxe/rxe_qp.c
876
if (qp->send_task.func)
drivers/infiniband/sw/rxe/rxe_task.c
127
ret = task->func(task->qp);
drivers/infiniband/sw/rxe/rxe_task.c
195
int (*func)(struct rxe_qp *))
drivers/infiniband/sw/rxe/rxe_task.c
200
task->func = func;
drivers/infiniband/sw/rxe/rxe_task.h
29
int (*func)(struct rxe_qp *qp);
drivers/infiniband/sw/rxe/rxe_task.h
45
int (*func)(struct rxe_qp *));
drivers/infiniband/ulp/srp/ib_srp.c
2715
u8 func, u8 *status)
drivers/infiniband/ulp/srp/ib_srp.c
2751
tsk_mgmt->tsk_mgmt_func = func;
drivers/input/keyboard/imx_sc_key.c
72
hdr->func = IMX_SC_MISC_FUNC_GET_BUTTON_STATUS;
drivers/input/mouse/cyapa.h
402
u8 *buf, int *len, cb_sort func);
drivers/input/mouse/cyapa.h
407
cb_sort func,
drivers/input/mouse/cyapa_gen3.c
1234
u8 *buf, int *len, cb_sort func) { return 0; }
drivers/input/mouse/cyapa_gen5.c
443
u8 *buf, int *len, cb_sort func)
drivers/input/mouse/cyapa_gen5.c
494
if (buf && buf_len && func &&
drivers/input/mouse/cyapa_gen5.c
495
func(cyapa, pip->empty_buf, length)) {
drivers/input/mouse/cyapa_gen5.c
514
} else if (buf && buf_len && func &&
drivers/input/mouse/cyapa_gen5.c
515
func(cyapa, pip->empty_buf, length)) {
drivers/input/mouse/cyapa_gen5.c
570
cb_sort func)
drivers/input/mouse/cyapa_gen5.c
585
if (resp_data && resp_len && length != 0 && func) {
drivers/input/mouse/cyapa_gen5.c
591
resp_data, resp_len, func);
drivers/input/mouse/cyapa_gen5.c
610
cb_sort func,
drivers/input/mouse/cyapa_gen5.c
624
pip->resp_sort_func = func;
drivers/input/mouse/cyapa_gen5.c
644
resp_len && *resp_len != 0 && func) {
drivers/input/mouse/cyapa_gen5.c
651
resp_data, resp_len, func);
drivers/input/mouse/cyapa_gen5.c
658
resp_data, resp_len, timeout, func);
drivers/input/rmi4/rmi_bus.c
153
return fn->fd.function_number == handler->func;
drivers/input/rmi4/rmi_bus.c
409
__func__, fn_handlers[i]->func, ret);
drivers/input/rmi4/rmi_bus.h
186
int rmi_for_each_dev(void *data, int (*func)(struct device *dev, void *data));
drivers/input/rmi4/rmi_bus.h
78
u8 func;
drivers/input/rmi4/rmi_f01.c
721
.func = 0x01,
drivers/input/rmi4/rmi_f03.c
319
.func = 0x03,
drivers/input/rmi4/rmi_f11.c
1379
.func = 0x11,
drivers/input/rmi4/rmi_f12.c
570
.func = 0x12,
drivers/input/rmi4/rmi_f1a.c
139
.func = 0x1a,
drivers/input/rmi4/rmi_f21.c
175
.func = 0x21,
drivers/input/rmi4/rmi_f30.c
401
.func = 0x30,
drivers/input/rmi4/rmi_f34.c
613
.func = 0x34,
drivers/input/rmi4/rmi_f3a.c
237
.func = 0x3a,
drivers/input/rmi4/rmi_f54.c
751
.func = 0x54,
drivers/input/rmi4/rmi_f55.c
126
.func = 0x55,
drivers/input/serio/hil_mlc.c
444
{ HILSE_FUNC, { .func = funct }, funct_arg, zero_rc, neg_rc, pos_rc },
drivers/input/serio/hil_mlc.c
641
BUG_ON(node->object.func == NULL);
drivers/input/serio/hil_mlc.c
642
rc = node->object.func(mlc, node->arg);
drivers/input/touchscreen/ilitek_ts_i2c.c
228
error = ts->ptl_cb_func[idx].func(ts, cmd, inbuf, outbuf);
drivers/input/touchscreen/ilitek_ts_i2c.c
74
int (*func)(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf);
drivers/iommu/amd/debugfs.c
142
int seg, bus, slot, func;
drivers/iommu/amd/debugfs.c
157
i = sscanf(srcid_ptr, "%x:%x:%x.%x", &seg, &bus, &slot, &func);
drivers/iommu/amd/debugfs.c
159
i = sscanf(srcid_ptr, "%x:%x.%x", &bus, &slot, &func);
drivers/iommu/amd/debugfs.c
167
devid = PCI_DEVID(bus, PCI_DEVFN(slot, func));
drivers/iommu/intel/dmar.c
2158
static inline bool dmar_detect_dsm(acpi_handle handle, int func)
drivers/iommu/intel/dmar.c
2160
return acpi_check_dsm(handle, &dmar_hp_guid, DMAR_DSM_REV_ID, 1 << func);
drivers/iommu/intel/dmar.c
2163
static int dmar_walk_dsm_resource(acpi_handle handle, int func,
drivers/iommu/intel/dmar.c
2177
if (!dmar_detect_dsm(handle, func))
drivers/iommu/intel/dmar.c
2181
func, NULL, ACPI_TYPE_BUFFER);
drivers/iommu/intel/dmar.c
2186
callback.cb[res_type[func]] = handler;
drivers/iommu/intel/dmar.c
2187
callback.arg[res_type[func]] = arg;
drivers/mailbox/bcm74110-mailbox.c
280
static int bcm74110_mbox_create_msg(int req, int rply, int svc, int func,
drivers/mailbox/bcm74110-mailbox.c
288
BCM_MSG_SET_FIELD(msg, FUNC, func);
drivers/md/bcache/super.c
1754
c->journal.work.work.func(&c->journal.work.work);
drivers/md/dm-integrity.c
5357
if (ic->mode == 'B' && ic->bitmap_flush_work.work.func)
drivers/md/dm-table.c
1609
iterate_devices_callout_fn func, void *data)
drivers/md/dm-table.c
1615
ti->type->iterate_devices(ti, func, data))
drivers/md/md.c
10367
if (mddev->event_work.func)
drivers/md/md.c
8603
if (mddev->event_work.func)
drivers/media/common/cx2341x.c
1007
static int cx2341x_api(void *priv, cx2341x_mbox_func func,
drivers/media/common/cx2341x.c
1019
return func(priv, cmd, args, 0, data);
drivers/media/common/cx2341x.c
1024
int cx2341x_update(void *priv, cx2341x_mbox_func func,
drivers/media/common/cx2341x.c
1038
cx2341x_api(priv, func, CX2341X_ENC_SET_OUTPUT_PORT, 2, new->port, 0);
drivers/media/common/cx2341x.c
1042
err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_RATE, 1,
drivers/media/common/cx2341x.c
1059
err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_SIZE, 2,
drivers/media/common/cx2341x.c
1066
err = cx2341x_api(priv, func, CX2341X_ENC_SET_STREAM_TYPE, 1,
drivers/media/common/cx2341x.c
1073
err = cx2341x_api(priv, func, CX2341X_ENC_SET_ASPECT_RATIO, 1,
drivers/media/common/cx2341x.c
1081
err = cx2341x_api(priv, func, CX2341X_ENC_SET_GOP_PROPERTIES, 2,
drivers/media/common/cx2341x.c
1088
err = cx2341x_api(priv, func, CX2341X_ENC_SET_GOP_CLOSURE, 1,
drivers/media/common/cx2341x.c
1095
err = cx2341x_api(priv, func, CX2341X_ENC_SET_AUDIO_PROPERTIES,
drivers/media/common/cx2341x.c
1102
err = cx2341x_api(priv, func, CX2341X_ENC_MUTE_AUDIO, 1,
drivers/media/common/cx2341x.c
1111
err = cx2341x_api(priv, func, CX2341X_ENC_SET_BIT_RATE, 5,
drivers/media/common/cx2341x.c
1121
err = cx2341x_api(priv, func, CX2341X_ENC_SET_DNR_FILTER_MODE,
drivers/media/common/cx2341x.c
1134
err = cx2341x_api(priv, func, CX2341X_ENC_SET_CORING_LEVELS, 4,
drivers/media/common/cx2341x.c
1145
err = cx2341x_api(priv, func,
drivers/media/common/cx2341x.c
1155
err = cx2341x_api(priv, func, CX2341X_ENC_SET_DNR_FILTER_PROPS,
drivers/media/common/cx2341x.c
1163
err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_DROP_RATE,
drivers/media/common/cx2341x.c
1171
err = cx2341x_api(priv, func, CX2341X_ENC_MUTE_VIDEO, 1,
drivers/media/common/cx2341x.c
1178
err = cx2341x_api(priv, func, CX2341X_ENC_MISC, 2,
drivers/media/common/cx2341x.c
1312
return hdl->func(hdl->priv, cmd, args, 0, data);
drivers/media/dvb-core/dvbdev.c
959
int (*func)(struct file *file,
drivers/media/dvb-core/dvbdev.c
996
err = func(file, cmd, parg);
drivers/media/mc/mc-device.c
404
#define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \
drivers/media/mc/mc-device.c
407
.fn = func, \
drivers/media/mc/mc-device.c
413
#define MEDIA_IOC(__cmd, func, fl) \
drivers/media/mc/mc-device.c
414
MEDIA_IOC_ARG(__cmd, func, fl, copy_arg_from_user, copy_arg_to_user)
drivers/media/mmc/siano/smssdio.c
100
buffer, smsdev->func->cur_blksize);
drivers/media/mmc/siano/smssdio.c
104
buffer += smsdev->func->cur_blksize;
drivers/media/mmc/siano/smssdio.c
105
size -= smsdev->func->cur_blksize;
drivers/media/mmc/siano/smssdio.c
109
ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA,
drivers/media/mmc/siano/smssdio.c
114
sdio_release_host(smsdev->func);
drivers/media/mmc/siano/smssdio.c
123
static void smssdio_interrupt(struct sdio_func *func)
drivers/media/mmc/siano/smssdio.c
132
smsdev = sdio_get_drvdata(func);
drivers/media/mmc/siano/smssdio.c
138
(void)sdio_readb(func, SMSSDIO_INT, &ret);
drivers/media/mmc/siano/smssdio.c
151
ret = sdio_memcpy_fromio(smsdev->func,
drivers/media/mmc/siano/smssdio.c
167
if (hdr->msg_length > smsdev->func->cur_blksize)
drivers/media/mmc/siano/smssdio.c
168
size = hdr->msg_length - smsdev->func->cur_blksize;
drivers/media/mmc/siano/smssdio.c
186
BUG_ON(smsdev->func->cur_blksize != SMSSDIO_BLOCK_SIZE);
drivers/media/mmc/siano/smssdio.c
191
ret = sdio_memcpy_fromio(smsdev->func,
drivers/media/mmc/siano/smssdio.c
210
ret = sdio_memcpy_fromio(smsdev->func,
drivers/media/mmc/siano/smssdio.c
212
smsdev->func->cur_blksize);
drivers/media/mmc/siano/smssdio.c
220
buffer += smsdev->func->cur_blksize;
drivers/media/mmc/siano/smssdio.c
221
if (size > smsdev->func->cur_blksize)
drivers/media/mmc/siano/smssdio.c
222
size -= smsdev->func->cur_blksize;
drivers/media/mmc/siano/smssdio.c
236
static int smssdio_probe(struct sdio_func *func,
drivers/media/mmc/siano/smssdio.c
251
smsdev->func = func;
drivers/media/mmc/siano/smssdio.c
255
params.device = &func->dev;
drivers/media/mmc/siano/smssdio.c
261
"sdio\\%s", sdio_func_id(func));
drivers/media/mmc/siano/smssdio.c
283
sdio_claim_host(func);
drivers/media/mmc/siano/smssdio.c
285
ret = sdio_enable_func(func);
drivers/media/mmc/siano/smssdio.c
289
ret = sdio_set_block_size(func, SMSSDIO_BLOCK_SIZE);
drivers/media/mmc/siano/smssdio.c
293
ret = sdio_claim_irq(func, smssdio_interrupt);
drivers/media/mmc/siano/smssdio.c
297
sdio_set_drvdata(func, smsdev);
drivers/media/mmc/siano/smssdio.c
299
sdio_release_host(func);
drivers/media/mmc/siano/smssdio.c
308
sdio_claim_host(func);
drivers/media/mmc/siano/smssdio.c
309
sdio_release_irq(func);
drivers/media/mmc/siano/smssdio.c
311
sdio_disable_func(func);
drivers/media/mmc/siano/smssdio.c
313
sdio_release_host(func);
drivers/media/mmc/siano/smssdio.c
321
static void smssdio_remove(struct sdio_func *func)
drivers/media/mmc/siano/smssdio.c
325
smsdev = sdio_get_drvdata(func);
drivers/media/mmc/siano/smssdio.c
333
sdio_claim_host(func);
drivers/media/mmc/siano/smssdio.c
334
sdio_release_irq(func);
drivers/media/mmc/siano/smssdio.c
335
sdio_disable_func(func);
drivers/media/mmc/siano/smssdio.c
336
sdio_release_host(func);
drivers/media/mmc/siano/smssdio.c
77
struct sdio_func *func;
drivers/media/mmc/siano/smssdio.c
95
sdio_claim_host(smsdev->func);
drivers/media/mmc/siano/smssdio.c
98
while (size >= smsdev->func->cur_blksize) {
drivers/media/mmc/siano/smssdio.c
99
ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA,
drivers/media/pci/bt8xx/bt878.c
303
if (bt->bh_work.func)
drivers/media/pci/bt8xx/bt878.c
481
if (!bt->bh_work.func)
drivers/media/pci/cx18/cx18-driver.c
737
cx->cxhdl.func = cx18_api_func;
drivers/media/pci/cx23885/cx23885-417.c
1515
dev->cxhdl.func = cx23885_api_func;
drivers/media/pci/cx88/cx88-blackbird.c
1172
dev->cxhdl.func = blackbird_mbox_func;
drivers/media/pci/ivtv/ivtv-driver.c
985
itv->cxhdl.func = ivtv_api_func;
drivers/media/platform/amphion/vpu.h
342
int vpu_add_func(struct vpu_dev *vpu, struct vpu_func *func);
drivers/media/platform/amphion/vpu.h
343
void vpu_remove_func(struct vpu_func *func);
drivers/media/platform/amphion/vpu_imx8q.c
212
hdr->func = IMX_SC_MISC_FUNC_OTP_FUSE_READ;
drivers/media/platform/amphion/vpu_v4l2.c
723
struct vpu_func *func;
drivers/media/platform/amphion/vpu_v4l2.c
730
func = &vpu->encoder;
drivers/media/platform/amphion/vpu_v4l2.c
732
func = &vpu->decoder;
drivers/media/platform/amphion/vpu_v4l2.c
749
v4l2_fh_init(&inst->fh, func->vfd);
drivers/media/platform/amphion/vpu_v4l2.c
756
inst->fh.m2m_ctx = v4l2_m2m_ctx_init(func->m2m_dev, inst, vpu_m2m_queue_init);
drivers/media/platform/amphion/vpu_v4l2.c
811
int vpu_add_func(struct vpu_dev *vpu, struct vpu_func *func)
drivers/media/platform/amphion/vpu_v4l2.c
816
if (!vpu || !func)
drivers/media/platform/amphion/vpu_v4l2.c
819
if (func->vfd)
drivers/media/platform/amphion/vpu_v4l2.c
822
func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops);
drivers/media/platform/amphion/vpu_v4l2.c
823
if (IS_ERR(func->m2m_dev)) {
drivers/media/platform/amphion/vpu_v4l2.c
825
func->vfd = NULL;
drivers/media/platform/amphion/vpu_v4l2.c
826
return PTR_ERR(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
831
v4l2_m2m_release(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
839
if (func->type == VPU_CORE_TYPE_ENC) {
drivers/media/platform/amphion/vpu_v4l2.c
853
v4l2_m2m_release(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
856
func->vfd = vfd;
drivers/media/platform/amphion/vpu_v4l2.c
858
ret = v4l2_m2m_register_media_controller(func->m2m_dev, func->vfd, func->function);
drivers/media/platform/amphion/vpu_v4l2.c
860
v4l2_m2m_release(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
861
func->m2m_dev = NULL;
drivers/media/platform/amphion/vpu_v4l2.c
862
video_unregister_device(func->vfd);
drivers/media/platform/amphion/vpu_v4l2.c
863
func->vfd = NULL;
drivers/media/platform/amphion/vpu_v4l2.c
870
void vpu_remove_func(struct vpu_func *func)
drivers/media/platform/amphion/vpu_v4l2.c
872
if (!func)
drivers/media/platform/amphion/vpu_v4l2.c
875
if (func->m2m_dev) {
drivers/media/platform/amphion/vpu_v4l2.c
876
v4l2_m2m_unregister_media_controller(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
877
v4l2_m2m_release(func->m2m_dev);
drivers/media/platform/amphion/vpu_v4l2.c
878
func->m2m_dev = NULL;
drivers/media/platform/amphion/vpu_v4l2.c
880
if (func->vfd) {
drivers/media/platform/amphion/vpu_v4l2.c
881
video_unregister_device(func->vfd);
drivers/media/platform/amphion/vpu_v4l2.c
882
func->vfd = NULL;
drivers/media/platform/chips-media/wave5/wave5-hw.c
102
dev_dbg(dev, "%s: queueing failure: 0x%x\n", func, reg_val);
drivers/media/platform/chips-media/wave5/wave5-hw.c
105
dev_dbg(dev, "%s: result not ready: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
108
dev_err(dev, "%s: access violation: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
111
dev_err(dev, "%s: watchdog timeout: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
114
dev_err(dev, "%s: bus error: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
117
dev_err(dev, "%s: double fault: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
120
dev_err(dev, "%s: still running: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
123
dev_err(dev, "%s: vlc buf full: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
126
dev_err(dev, "%s: failure:: 0x%x\n", func, reg_fail_reason);
drivers/media/platform/chips-media/wave5/wave5-hw.c
54
const char *func);
drivers/media/platform/chips-media/wave5/wave5-hw.c
94
const char *func)
drivers/media/platform/qcom/venus/hfi_parser.c
14
typedef void (*func)(struct hfi_plat_caps *cap, const void *data,
drivers/media/platform/qcom/venus/hfi_parser.c
43
u32 codecs, u32 domain, func cb, void *data,
drivers/media/platform/ti/vpe/vpe.c
2516
int ret, irq, func;
drivers/media/platform/ti/vpe/vpe.c
2583
func = read_field_reg(dev, VPE_PID, VPE_PID_FUNC_MASK,
drivers/media/platform/ti/vpe/vpe.c
2585
vpe_dbg(dev, "VPE PID function %x\n", func);
drivers/media/platform/verisilicon/hantro_drv.c
630
struct hantro_func *func = hantro_vdev_to_func(vdev);
drivers/media/platform/verisilicon/hantro_drv.c
648
if (func->id == MEDIA_ENT_F_PROC_VIDEO_ENCODER) {
drivers/media/platform/verisilicon/hantro_drv.c
651
} else if (func->id == MEDIA_ENT_F_PROC_VIDEO_DECODER) {
drivers/media/platform/verisilicon/hantro_drv.c
781
struct hantro_func *func)
drivers/media/platform/verisilicon/hantro_drv.c
788
func->source_pad.flags = MEDIA_PAD_FL_SOURCE;
drivers/media/platform/verisilicon/hantro_drv.c
789
ret = hantro_register_entity(mdev, &func->vdev.entity, "source",
drivers/media/platform/verisilicon/hantro_drv.c
790
&func->source_pad, 1, MEDIA_ENT_F_IO_V4L,
drivers/media/platform/verisilicon/hantro_drv.c
791
&func->vdev);
drivers/media/platform/verisilicon/hantro_drv.c
795
func->proc_pads[0].flags = MEDIA_PAD_FL_SINK;
drivers/media/platform/verisilicon/hantro_drv.c
796
func->proc_pads[1].flags = MEDIA_PAD_FL_SOURCE;
drivers/media/platform/verisilicon/hantro_drv.c
797
ret = hantro_register_entity(mdev, &func->proc, "proc",
drivers/media/platform/verisilicon/hantro_drv.c
798
func->proc_pads, 2, func->id,
drivers/media/platform/verisilicon/hantro_drv.c
799
&func->vdev);
drivers/media/platform/verisilicon/hantro_drv.c
803
func->sink_pad.flags = MEDIA_PAD_FL_SINK;
drivers/media/platform/verisilicon/hantro_drv.c
804
ret = hantro_register_entity(mdev, &func->sink, "sink",
drivers/media/platform/verisilicon/hantro_drv.c
805
&func->sink_pad, 1, MEDIA_ENT_F_IO_V4L,
drivers/media/platform/verisilicon/hantro_drv.c
806
&func->vdev);
drivers/media/platform/verisilicon/hantro_drv.c
811
ret = media_create_pad_link(&func->vdev.entity, 0, &func->proc, 0,
drivers/media/platform/verisilicon/hantro_drv.c
817
ret = media_create_pad_link(&func->proc, 1, &func->sink, 0,
drivers/media/platform/verisilicon/hantro_drv.c
824
func->intf_devnode = media_devnode_create(mdev, MEDIA_INTF_T_V4L_VIDEO,
drivers/media/platform/verisilicon/hantro_drv.c
826
func->vdev.minor);
drivers/media/platform/verisilicon/hantro_drv.c
827
if (!func->intf_devnode) {
drivers/media/platform/verisilicon/hantro_drv.c
833
link = media_create_intf_link(&func->vdev.entity,
drivers/media/platform/verisilicon/hantro_drv.c
834
&func->intf_devnode->intf,
drivers/media/platform/verisilicon/hantro_drv.c
842
link = media_create_intf_link(&func->sink, &func->intf_devnode->intf,
drivers/media/platform/verisilicon/hantro_drv.c
852
media_devnode_remove(func->intf_devnode);
drivers/media/platform/verisilicon/hantro_drv.c
855
media_entity_remove_links(&func->sink);
drivers/media/platform/verisilicon/hantro_drv.c
858
media_entity_remove_links(&func->proc);
drivers/media/platform/verisilicon/hantro_drv.c
859
media_entity_remove_links(&func->vdev.entity);
drivers/media/platform/verisilicon/hantro_drv.c
862
media_device_unregister_entity(&func->sink);
drivers/media/platform/verisilicon/hantro_drv.c
865
media_device_unregister_entity(&func->proc);
drivers/media/platform/verisilicon/hantro_drv.c
868
media_device_unregister_entity(&func->vdev.entity);
drivers/media/platform/verisilicon/hantro_drv.c
872
static void hantro_detach_func(struct hantro_func *func)
drivers/media/platform/verisilicon/hantro_drv.c
874
media_devnode_remove(func->intf_devnode);
drivers/media/platform/verisilicon/hantro_drv.c
875
media_entity_remove_links(&func->sink);
drivers/media/platform/verisilicon/hantro_drv.c
876
media_entity_remove_links(&func->proc);
drivers/media/platform/verisilicon/hantro_drv.c
877
media_entity_remove_links(&func->vdev.entity);
drivers/media/platform/verisilicon/hantro_drv.c
878
media_device_unregister_entity(&func->sink);
drivers/media/platform/verisilicon/hantro_drv.c
879
media_device_unregister_entity(&func->proc);
drivers/media/platform/verisilicon/hantro_drv.c
880
media_device_unregister_entity(&func->vdev.entity);
drivers/media/platform/verisilicon/hantro_drv.c
886
struct hantro_func *func;
drivers/media/platform/verisilicon/hantro_drv.c
891
func = devm_kzalloc(vpu->dev, sizeof(*func), GFP_KERNEL);
drivers/media/platform/verisilicon/hantro_drv.c
892
if (!func) {
drivers/media/platform/verisilicon/hantro_drv.c
897
func->id = funcid;
drivers/media/platform/verisilicon/hantro_drv.c
899
vfd = &func->vdev;
drivers/media/platform/verisilicon/hantro_drv.c
912
vpu->encoder = func;
drivers/media/platform/verisilicon/hantro_drv.c
916
vpu->decoder = func;
drivers/media/platform/verisilicon/hantro_drv.c
931
ret = hantro_attach_func(vpu, func);
drivers/media/platform/verisilicon/hantro_drv.c
967
struct hantro_func *func;
drivers/media/platform/verisilicon/hantro_drv.c
970
func = vpu->encoder;
drivers/media/platform/verisilicon/hantro_drv.c
972
func = vpu->decoder;
drivers/media/platform/verisilicon/hantro_drv.c
974
if (!func)
drivers/media/platform/verisilicon/hantro_drv.c
977
hantro_detach_func(func);
drivers/media/platform/verisilicon/hantro_drv.c
978
video_unregister_device(&func->vdev);
drivers/media/platform/via/via-camera.c
127
#define sensor_call(cam, optype, func, args...) \
drivers/media/platform/via/via-camera.c
128
v4l2_subdev_call(cam->sensor, optype, func, ##args)
drivers/media/radio/radio-si476x.c
1045
radio->core->power_up_parameters.func);
drivers/media/radio/radio-si476x.c
1050
radio->core->power_up_parameters.func);
drivers/media/radio/radio-si476x.c
467
enum si476x_func func)
drivers/media/radio/radio-si476x.c
491
switch (func) {
drivers/media/radio/radio-si476x.c
506
enum si476x_func func)
drivers/media/radio/radio-si476x.c
519
switch (func) {
drivers/media/radio/radio-si476x.c
538
enum si476x_func func)
drivers/media/radio/radio-si476x.c
577
if (func == SI476X_FUNC_FM_RECEIVER) {
drivers/media/radio/radio-si476x.c
592
return si476x_radio_init_vtable(radio, func);
drivers/media/radio/radio-si476x.c
597
enum si476x_func func)
drivers/media/radio/radio-si476x.c
606
if (func == radio->core->power_up_parameters.func)
drivers/media/radio/radio-si476x.c
624
radio->core->power_up_parameters.func = func;
drivers/media/radio/radio-si476x.c
634
if (func != SI476X_FUNC_FM_RECEIVER &&
drivers/media/radio/radio-si476x.c
635
func != SI476X_FUNC_AM_RECEIVER)
drivers/media/radio/radio-si476x.c
638
return si476x_radio_do_post_powerup_init(radio, func);
drivers/media/radio/radio-si476x.c
688
const enum si476x_func func = (band == SI476X_BAND_AM) ?
drivers/media/radio/radio-si476x.c
709
err = si476x_radio_change_func(radio, func);
drivers/media/radio/radio-si476x.c
732
enum si476x_func func;
drivers/media/radio/radio-si476x.c
769
func = SI476X_FUNC_FM_RECEIVER;
drivers/media/radio/radio-si476x.c
774
func = SI476X_FUNC_AM_RECEIVER;
drivers/media/radio/radio-si476x.c
780
err = si476x_radio_change_func(radio, func);
drivers/media/rc/bpf-lirc.c
32
.func = bpf_rc_repeat,
drivers/media/rc/bpf-lirc.c
51
.func = bpf_rc_keydown,
drivers/media/rc/bpf-lirc.c
74
.func = bpf_rc_pointer_rel,
drivers/media/rc/img-ir/img-ir-sony.c
108
out->data = func |
drivers/media/rc/img-ir/img-ir-sony.c
14
unsigned int dev, subdev, func;
drivers/media/rc/img-ir/img-ir-sony.c
20
func = raw & 0x7f; /* first 7 bits */
drivers/media/rc/img-ir/img-ir-sony.c
29
func = raw & 0x7f; /* first 7 bits */
drivers/media/rc/img-ir/img-ir-sony.c
38
func = raw & 0x7f; /* first 7 bits */
drivers/media/rc/img-ir/img-ir-sony.c
48
request->scancode = dev << 16 | subdev << 8 | func;
drivers/media/rc/img-ir/img-ir-sony.c
56
unsigned int dev, subdev, func;
drivers/media/rc/img-ir/img-ir-sony.c
64
func = (in->data >> 0) & 0x7f;
drivers/media/test-drivers/vivid/vivid-vid-common.c
890
struct v4l2_format *f, fmtfunc func)
drivers/media/test-drivers/vivid/vivid-vid-common.c
901
ret = func(file, priv, &fmt);
drivers/media/test-drivers/vivid/vivid-vid-common.h
19
struct v4l2_format *f, fmtfunc func);
drivers/media/tuners/tda18271-common.c
706
const char *func, const char *fmt, ...)
drivers/media/tuners/tda18271-common.c
718
level, func, i2c_adapter_id(state->i2c_props.adap),
drivers/media/tuners/tda18271-common.c
723
printk("%s%s: %pV", level, func, &vaf);
drivers/media/tuners/tda18271-priv.h
133
const char *func, const char *fmt, ...);
drivers/media/usb/b2c2/flexcop-usb.c
229
flexcop_usb_request_t req, flexcop_usb_i2c_function_t func,
drivers/media/usb/b2c2/flexcop-usb.c
242
switch (func) {
drivers/media/usb/b2c2/flexcop-usb.c
259
deb_info("unsupported function for i2c_req %x\n", func);
drivers/media/usb/b2c2/flexcop-usb.c
262
wValue = (func << 8) | (i2c->port << 4);
drivers/media/usb/b2c2/flexcop-usb.c
266
func, request_type, req,
drivers/media/usb/cx231xx/cx231xx-417.c
1742
dev->mpeg_ctrl_handler.func = cx231xx_mbox_func;
drivers/media/usb/dvb-usb/dvb-usb.h
34
#define debug_dump(b, l, func) {\
drivers/media/usb/dvb-usb/dvb-usb.h
37
func("%02x ", b[loop_]); \
drivers/media/usb/dvb-usb/dvb-usb.h
38
func("\n");\
drivers/media/usb/dvb-usb/dvb-usb.h
43
#define debug_dump(b, l, func) do { } while (0)
drivers/media/usb/pvrusb2/pvrusb2-io.c
492
pvr2_stream_callback func,
drivers/media/usb/pvrusb2/pvrusb2-io.c
500
sp->callback_func = func;
drivers/media/usb/pvrusb2/pvrusb2-io.h
40
pvr2_stream_callback func,
drivers/media/usb/siano/smsusb.c
182
if (dev->surbs[i].wq.func)
drivers/media/usb/uvc/uvc_ctrl.c
3427
if (dev->async_ctrl.work.func)
drivers/media/v4l2-core/v4l2-common.c
164
bool (*func)(const void *array,
drivers/media/v4l2-core/v4l2-common.c
180
if (func && !func(array, i, context))
drivers/media/v4l2-core/v4l2-ioctl.c
2854
int (*func)(const struct v4l2_ioctl_ops *ops, struct file *file,
drivers/media/v4l2-core/v4l2-ioctl.c
2886
.func = _func, \
drivers/media/v4l2-core/v4l2-ioctl.c
3133
ret = info->func(ops, file, arg);
drivers/media/v4l2-core/v4l2-ioctl.c
3420
v4l2_kioctl func)
drivers/media/v4l2-core/v4l2-ioctl.c
3475
err = func(file, cmd, parg);
drivers/message/fusion/mptbase.c
2642
unsigned int func = PCI_FUNC(pdev->devfn);
drivers/message/fusion/mptbase.c
2648
pdev->devfn, func-1, func+1));
drivers/message/fusion/mptbase.c
2650
peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func-1));
drivers/message/fusion/mptbase.c
2652
peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func+1));
drivers/message/fusion/mptfc.c
322
void(*func)(MPT_ADAPTER *ioc,int channel, FCDevicePage0_t *arg))
drivers/message/fusion/mptfc.c
423
func(ioc, ioc_port, fc);
drivers/mfd/si476x-cmd.c
1077
puargs->func << 4 | puargs->freq,
drivers/mfd/si476x-cmd.c
1099
puargs->func << 4 | puargs->freq,
drivers/mfd/si476x-cmd.c
358
switch (core->power_up_parameters.func) {
drivers/mfd/si476x-cmd.c
420
info->func = resp[6];
drivers/mfd/si476x-i2c.c
553
int func, int major,
drivers/mfd/si476x-i2c.c
556
switch (func) {
drivers/mfd/si476x-i2c.c
632
core->revision = si476x_core_fwver_to_revision(core, info.func,
drivers/mfd/si476x-i2c.c
676
(core->power_up_parameters.func == SI476X_FUNC_AM_RECEIVER);
drivers/mfd/stmfx.c
101
if (func & STMFX_FUNC_GPIO)
drivers/mfd/stmfx.c
104
if ((func & STMFX_FUNC_ALTGPIO_LOW) || (func & STMFX_FUNC_ALTGPIO_HIGH))
drivers/mfd/stmfx.c
107
if (func & STMFX_FUNC_TS)
drivers/mfd/stmfx.c
110
if (func & STMFX_FUNC_IDD)
drivers/mfd/stmfx.c
116
int stmfx_function_enable(struct stmfx *stmfx, u32 func)
drivers/mfd/stmfx.c
132
if (((func & STMFX_FUNC_IDD) || (func & STMFX_FUNC_TS)) &&
drivers/mfd/stmfx.c
139
if ((func & STMFX_FUNC_ALTGPIO_LOW) &&
drivers/mfd/stmfx.c
146
if ((func & STMFX_FUNC_ALTGPIO_HIGH) &&
drivers/mfd/stmfx.c
152
mask = stmfx_func_to_mask(func);
drivers/mfd/stmfx.c
158
int stmfx_function_disable(struct stmfx *stmfx, u32 func)
drivers/mfd/stmfx.c
160
u8 mask = stmfx_func_to_mask(func);
drivers/mfd/stmfx.c
97
static u8 stmfx_func_to_mask(u32 func)
drivers/mfd/wm8350-gpio.c
103
reg | ((func & 0xf) << 0));
drivers/mfd/wm8350-gpio.c
109
reg | ((func & 0xf) << 4));
drivers/mfd/wm8350-gpio.c
115
reg | ((func & 0xf) << 8));
drivers/mfd/wm8350-gpio.c
121
reg | ((func & 0xf) << 12));
drivers/mfd/wm8350-gpio.c
127
reg | ((func & 0xf) << 0));
drivers/mfd/wm8350-gpio.c
183
int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func,
drivers/mfd/wm8350-gpio.c
212
return gpio_set_func(wm8350, gpio, func);
drivers/mfd/wm8350-gpio.c
45
static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func)
drivers/mfd/wm8350-gpio.c
55
reg | ((func & 0xf) << 0));
drivers/mfd/wm8350-gpio.c
61
reg | ((func & 0xf) << 4));
drivers/mfd/wm8350-gpio.c
67
reg | ((func & 0xf) << 8));
drivers/mfd/wm8350-gpio.c
73
reg | ((func & 0xf) << 12));
drivers/mfd/wm8350-gpio.c
79
reg | ((func & 0xf) << 0));
drivers/mfd/wm8350-gpio.c
85
reg | ((func & 0xf) << 4));
drivers/mfd/wm8350-gpio.c
91
reg | ((func & 0xf) << 8));
drivers/mfd/wm8350-gpio.c
97
reg | ((func & 0xf) << 12));
drivers/misc/amd-sbi/rmi-core.c
103
u16 thread_id, u32 func,
drivers/misc/amd-sbi/rmi-core.c
111
input->value = func;
drivers/misc/amd-sbi/rmi-core.c
91
u8 thread_id, u32 func,
drivers/misc/amd-sbi/rmi-core.c
98
input->value = func;
drivers/misc/genwqe/card_base.h
456
int genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func);
drivers/misc/genwqe/card_base.h
466
u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func);
drivers/misc/genwqe/card_utils.c
979
int genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func)
drivers/misc/genwqe/card_utils.c
981
__genwqe_writeq(cd, IO_PF_SLC_VIRTUAL_WINDOW, func & 0xf);
drivers/misc/genwqe/card_utils.c
995
u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func)
drivers/misc/genwqe/card_utils.c
997
__genwqe_writeq(cd, IO_PF_SLC_VIRTUAL_WINDOW, func & 0xf);
drivers/misc/lkdtm/cfi.c
25
static noinline void lkdtm_indirect_call(void (*func)(int *))
drivers/misc/lkdtm/cfi.c
27
func(&called_count);
drivers/misc/lkdtm/core.c
162
if (WARN_ON(!crashtype || !crashtype->func))
drivers/misc/lkdtm/core.c
164
crashtype->func();
drivers/misc/lkdtm/lkdtm.h
63
void (*func)(void);
drivers/misc/lkdtm/lkdtm.h
69
.func = lkdtm_ ## _name, \
drivers/misc/lkdtm/perms.c
100
void (*func)(void);
drivers/misc/lkdtm/perms.c
112
func = setup_function_descriptor(&fdesc, dst);
drivers/misc/lkdtm/perms.c
113
func();
drivers/misc/lkdtm/perms.c
166
void (*func)(void) = do_nothing;
drivers/misc/lkdtm/perms.c
176
asm("" : "=m"(func));
drivers/misc/lkdtm/perms.c
177
func();
drivers/misc/lkdtm/perms.c
74
void (*func)(void);
drivers/misc/lkdtm/perms.c
86
func = setup_function_descriptor(&fdesc, dst);
drivers/misc/lkdtm/perms.c
87
func();
drivers/misc/sgi-xp/xp.h
248
xpc_channel_func func; /* function to call */
drivers/misc/sgi-xp/xp.h
256
#define XPC_CHANNEL_REGISTERED(_c) (xpc_registrations[_c].func != NULL)
drivers/misc/sgi-xp/xp.h
300
u16 payload_size, xpc_notify_func func, void *key)
drivers/misc/sgi-xp/xp.h
306
payload_size, func, key);
drivers/misc/sgi-xp/xp_main.c
134
xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size,
drivers/misc/sgi-xp/xp_main.c
141
DBUG_ON(func == NULL);
drivers/misc/sgi-xp/xp_main.c
153
if (registration->func != NULL) {
drivers/misc/sgi-xp/xp_main.c
164
registration->func = func;
drivers/misc/sgi-xp/xp_main.c
205
if (registration->func == NULL) {
drivers/misc/sgi-xp/xp_main.c
211
registration->func = NULL;
drivers/misc/sgi-xp/xpc.h
292
xpc_notify_func func; /* user's notify function */
drivers/misc/sgi-xp/xpc.h
344
xpc_channel_func func; /* user's channel function */
drivers/misc/sgi-xp/xpc_channel.c
141
ch->func = NULL;
drivers/misc/sgi-xp/xpc_channel.c
497
ch->func = registration->func;
drivers/misc/sgi-xp/xpc_channel.c
498
DBUG_ON(registration->func == NULL);
drivers/misc/sgi-xp/xpc_channel.c
681
if (ch->func != NULL) {
drivers/misc/sgi-xp/xpc_channel.c
685
ch->func(xpConnected, ch->partid, ch->number,
drivers/misc/sgi-xp/xpc_channel.c
809
if (ch->func != NULL) {
drivers/misc/sgi-xp/xpc_channel.c
813
ch->func(reason, ch->partid, ch->number, NULL, ch->key);
drivers/misc/sgi-xp/xpc_channel.c
924
u16 payload_size, xpc_notify_func func, void *key)
drivers/misc/sgi-xp/xpc_channel.c
935
DBUG_ON(func == NULL);
drivers/misc/sgi-xp/xpc_channel.c
939
flags, payload, payload_size, XPC_N_CALL, func, key);
drivers/misc/sgi-xp/xpc_channel.c
965
if (ch->func != NULL) {
drivers/misc/sgi-xp/xpc_channel.c
971
ch->func(xpMsgReceived, ch->partid, ch->number, payload,
drivers/misc/sgi-xp/xpc_uv.c
1284
xpc_notify_func func = msg_slot->func;
drivers/misc/sgi-xp/xpc_uv.c
1286
if (func != NULL && cmpxchg(&msg_slot->func, func, NULL) == func) {
drivers/misc/sgi-xp/xpc_uv.c
1294
func(reason, ch->partid, ch->number, msg_slot->key);
drivers/misc/sgi-xp/xpc_uv.c
1314
if (msg_slot->func != NULL)
drivers/misc/sgi-xp/xpc_uv.c
1446
u16 payload_size, u8 notify_type, xpc_notify_func func,
drivers/misc/sgi-xp/xpc_uv.c
1476
if (func != NULL) {
drivers/misc/sgi-xp/xpc_uv.c
1481
msg_slot->func = func;
drivers/misc/sgi-xp/xpc_uv.c
1503
if (func != NULL) {
drivers/misc/sgi-xp/xpc_uv.c
1514
if (cmpxchg(&msg_slot->func, func, NULL) != func) {
drivers/misc/sgi-xp/xpc_uv.c
1549
if (msg_slot->func != NULL)
drivers/mmc/core/sdio.c
1013
struct sdio_func *func = host->card->sdio_func[i];
drivers/mmc/core/sdio.c
1014
if (func && sdio_func_present(func) && func->dev.driver) {
drivers/mmc/core/sdio.c
1015
const struct dev_pm_ops *pmops = func->dev.driver->pm;
drivers/mmc/core/sdio.c
106
struct sdio_func *func;
drivers/mmc/core/sdio.c
111
func = sdio_alloc_func(card);
drivers/mmc/core/sdio.c
112
if (IS_ERR(func))
drivers/mmc/core/sdio.c
113
return PTR_ERR(func);
drivers/mmc/core/sdio.c
115
func->num = fn;
drivers/mmc/core/sdio.c
118
ret = sdio_read_fbr(func);
drivers/mmc/core/sdio.c
122
ret = sdio_read_func_cis(func);
drivers/mmc/core/sdio.c
126
func->vendor = func->card->cis.vendor;
drivers/mmc/core/sdio.c
127
func->device = func->card->cis.device;
drivers/mmc/core/sdio.c
128
func->max_blksize = func->card->cis.blksize;
drivers/mmc/core/sdio.c
131
card->sdio_func[fn - 1] = func;
drivers/mmc/core/sdio.c
140
sdio_remove_func(func);
drivers/mmc/core/sdio.c
73
static int sdio_read_fbr(struct sdio_func *func)
drivers/mmc/core/sdio.c
78
if (mmc_card_nonstd_func_interface(func->card)) {
drivers/mmc/core/sdio.c
79
func->class = SDIO_CLASS_NONE;
drivers/mmc/core/sdio.c
83
ret = mmc_io_rw_direct(func->card, 0, 0,
drivers/mmc/core/sdio.c
84
SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF, 0, &data);
drivers/mmc/core/sdio.c
91
ret = mmc_io_rw_direct(func->card, 0, 0,
drivers/mmc/core/sdio.c
92
SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT, 0, &data);
drivers/mmc/core/sdio.c
97
func->class = data;
drivers/mmc/core/sdio_bus.c
102
if (sdio_match_one(func, ids))
drivers/mmc/core/sdio_bus.c
113
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
116
if (sdio_match_device(func, sdrv))
drivers/mmc/core/sdio_bus.c
125
const struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
129
"SDIO_CLASS=%02X", func->class))
drivers/mmc/core/sdio_bus.c
133
"SDIO_ID=%04X:%04X", func->vendor, func->device))
drivers/mmc/core/sdio_bus.c
137
"SDIO_REVISION=%u.%u", func->major_rev, func->minor_rev))
drivers/mmc/core/sdio_bus.c
140
for (i = 0; i < func->num_info; i++) {
drivers/mmc/core/sdio_bus.c
141
if (add_uevent_var(env, "SDIO_INFO%u=%s", i+1, func->info[i]))
drivers/mmc/core/sdio_bus.c
147
func->class, func->vendor, func->device))
drivers/mmc/core/sdio_bus.c
156
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
160
id = sdio_match_device(func, drv);
drivers/mmc/core/sdio_bus.c
168
atomic_inc(&func->card->sdio_funcs_probed);
drivers/mmc/core/sdio_bus.c
176
if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) {
drivers/mmc/core/sdio_bus.c
184
sdio_claim_host(func);
drivers/mmc/core/sdio_bus.c
185
if (mmc_card_removed(func->card))
drivers/mmc/core/sdio_bus.c
188
ret = sdio_set_block_size(func, 0);
drivers/mmc/core/sdio_bus.c
189
sdio_release_host(func);
drivers/mmc/core/sdio_bus.c
193
ret = drv->probe(func, id);
drivers/mmc/core/sdio_bus.c
200
atomic_dec(&func->card->sdio_funcs_probed);
drivers/mmc/core/sdio_bus.c
201
if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
drivers/mmc/core/sdio_bus.c
209
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
212
if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
drivers/mmc/core/sdio_bus.c
215
drv->remove(func);
drivers/mmc/core/sdio_bus.c
216
atomic_dec(&func->card->sdio_funcs_probed);
drivers/mmc/core/sdio_bus.c
218
if (func->irq_handler) {
drivers/mmc/core/sdio_bus.c
221
sdio_claim_host(func);
drivers/mmc/core/sdio_bus.c
222
sdio_release_irq(func);
drivers/mmc/core/sdio_bus.c
223
sdio_release_host(func);
drivers/mmc/core/sdio_bus.c
227
if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
drivers/mmc/core/sdio_bus.c
231
if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD)
drivers/mmc/core/sdio_bus.c
238
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
241
drv->shutdown(func);
drivers/mmc/core/sdio_bus.c
274
static void sdio_legacy_shutdown(struct sdio_func *func)
drivers/mmc/core/sdio_bus.c
276
struct device *dev = &func->dev;
drivers/mmc/core/sdio_bus.c
317
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/mmc/core/sdio_bus.c
319
if (!(func->card->quirks & MMC_QUIRK_NONSTD_SDIO))
drivers/mmc/core/sdio_bus.c
320
sdio_free_func_cis(func);
drivers/mmc/core/sdio_bus.c
326
put_device(&func->card->dev);
drivers/mmc/core/sdio_bus.c
328
kfree(func->info);
drivers/mmc/core/sdio_bus.c
329
kfree(func->tmpbuf);
drivers/mmc/core/sdio_bus.c
330
kfree(func);
drivers/mmc/core/sdio_bus.c
338
struct sdio_func *func;
drivers/mmc/core/sdio_bus.c
340
func = kzalloc_obj(struct sdio_func);
drivers/mmc/core/sdio_bus.c
341
if (!func)
drivers/mmc/core/sdio_bus.c
348
func->tmpbuf = kmalloc(4, GFP_KERNEL);
drivers/mmc/core/sdio_bus.c
349
if (!func->tmpbuf) {
drivers/mmc/core/sdio_bus.c
350
kfree(func);
drivers/mmc/core/sdio_bus.c
354
func->card = card;
drivers/mmc/core/sdio_bus.c
356
device_initialize(&func->dev);
drivers/mmc/core/sdio_bus.c
36
struct sdio_func *func; \
drivers/mmc/core/sdio_bus.c
362
get_device(&func->card->dev);
drivers/mmc/core/sdio_bus.c
364
func->dev.parent = &card->dev;
drivers/mmc/core/sdio_bus.c
365
func->dev.bus = &sdio_bus_type;
drivers/mmc/core/sdio_bus.c
366
func->dev.release = sdio_release_func;
drivers/mmc/core/sdio_bus.c
368
return func;
drivers/mmc/core/sdio_bus.c
372
static void sdio_acpi_set_handle(struct sdio_func *func)
drivers/mmc/core/sdio_bus.c
374
struct mmc_host *host = func->card->host;
drivers/mmc/core/sdio_bus.c
375
u64 addr = ((u64)host->slotno << 16) | func->num;
drivers/mmc/core/sdio_bus.c
377
acpi_preset_companion(&func->dev, ACPI_COMPANION(host->parent), addr);
drivers/mmc/core/sdio_bus.c
38
func = dev_to_sdio_func (dev); \
drivers/mmc/core/sdio_bus.c
380
static inline void sdio_acpi_set_handle(struct sdio_func *func) {}
drivers/mmc/core/sdio_bus.c
383
static void sdio_set_of_node(struct sdio_func *func)
drivers/mmc/core/sdio_bus.c
385
struct mmc_host *host = func->card->host;
drivers/mmc/core/sdio_bus.c
387
func->dev.of_node = mmc_of_find_child_device(host, func->num);
drivers/mmc/core/sdio_bus.c
393
int sdio_add_func(struct sdio_func *func)
drivers/mmc/core/sdio_bus.c
397
dev_set_name(&func->dev, "%s:%d", mmc_card_id(func->card), func->num);
drivers/mmc/core/sdio_bus.c
399
sdio_set_of_node(func);
drivers/mmc/core/sdio_bus.c
400
sdio_acpi_set_handle(func);
drivers/mmc/core/sdio_bus.c
401
device_enable_async_suspend(&func->dev);
drivers/mmc/core/sdio_bus.c
402
ret = device_add(&func->dev);
drivers/mmc/core/sdio_bus.c
404
sdio_func_set_present(func);
drivers/mmc/core/sdio_bus.c
415
void sdio_remove_func(struct sdio_func *func)
drivers/mmc/core/sdio_bus.c
417
if (sdio_func_present(func))
drivers/mmc/core/sdio_bus.c
418
device_del(&func->dev);
drivers/mmc/core/sdio_bus.c
420
of_node_put(func->dev.of_node);
drivers/mmc/core/sdio_bus.c
421
put_device(&func->dev);
drivers/mmc/core/sdio_bus.c
43
sdio_config_attr(class, "0x%02x\n", func->class);
drivers/mmc/core/sdio_bus.c
44
sdio_config_attr(vendor, "0x%04x\n", func->vendor);
drivers/mmc/core/sdio_bus.c
45
sdio_config_attr(device, "0x%04x\n", func->device);
drivers/mmc/core/sdio_bus.c
46
sdio_config_attr(revision, "%u.%u\n", func->major_rev, func->minor_rev);
drivers/mmc/core/sdio_bus.c
47
sdio_config_attr(modalias, "sdio:c%02Xv%04Xd%04X\n", func->class, func->vendor, func->device);
drivers/mmc/core/sdio_bus.c
52
struct sdio_func *func = dev_to_sdio_func(dev); \
drivers/mmc/core/sdio_bus.c
54
if (num > func->num_info) \
drivers/mmc/core/sdio_bus.c
56
if (!func->info[num - 1][0]) \
drivers/mmc/core/sdio_bus.c
58
return sysfs_emit(buf, "%s\n", func->info[num - 1]); \
drivers/mmc/core/sdio_bus.c
81
static const struct sdio_device_id *sdio_match_one(struct sdio_func *func,
drivers/mmc/core/sdio_bus.c
84
if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class)
drivers/mmc/core/sdio_bus.c
86
if (id->vendor != (__u16)SDIO_ANY_ID && id->vendor != func->vendor)
drivers/mmc/core/sdio_bus.c
88
if (id->device != (__u16)SDIO_ANY_ID && id->device != func->device)
drivers/mmc/core/sdio_bus.c
93
static const struct sdio_device_id *sdio_match_device(struct sdio_func *func,
drivers/mmc/core/sdio_bus.h
14
int sdio_add_func(struct sdio_func *func);
drivers/mmc/core/sdio_bus.h
15
void sdio_remove_func(struct sdio_func *func);
drivers/mmc/core/sdio_cis.c
120
static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
136
ret = tpl->parse(card, func, buf, size);
drivers/mmc/core/sdio_cis.c
155
static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
159
if (func)
drivers/mmc/core/sdio_cis.c
172
static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
179
if (!func)
drivers/mmc/core/sdio_cis.c
186
vsn = func->card->cccr.sdio_vsn;
drivers/mmc/core/sdio_cis.c
198
func->max_blksize = buf[12] | (buf[13] << 8);
drivers/mmc/core/sdio_cis.c
202
func->enable_timeout = (buf[28] | (buf[29] << 8)) * 10;
drivers/mmc/core/sdio_cis.c
204
func->enable_timeout = jiffies_to_msecs(HZ);
drivers/mmc/core/sdio_cis.c
222
static int cistpl_funce(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
228
return cis_tpl_parse(card, func, "CISTPL_FUNCE",
drivers/mmc/core/sdio_cis.c
243
static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
drivers/mmc/core/sdio_cis.c
25
static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
257
if (func)
drivers/mmc/core/sdio_cis.c
258
fn = func->num;
drivers/mmc/core/sdio_cis.c
269
if (func)
drivers/mmc/core/sdio_cis.c
270
prev = &func->tuples;
drivers/mmc/core/sdio_cis.c
318
ret = cis_tpl_parse(card, func, "CIS",
drivers/mmc/core/sdio_cis.c
372
if (func)
drivers/mmc/core/sdio_cis.c
398
int sdio_read_func_cis(struct sdio_func *func)
drivers/mmc/core/sdio_cis.c
402
ret = sdio_read_cis(func->card, func);
drivers/mmc/core/sdio_cis.c
410
if (func->vendor == 0) {
drivers/mmc/core/sdio_cis.c
411
func->vendor = func->card->cis.vendor;
drivers/mmc/core/sdio_cis.c
412
func->device = func->card->cis.device;
drivers/mmc/core/sdio_cis.c
418
void sdio_free_func_cis(struct sdio_func *func)
drivers/mmc/core/sdio_cis.c
422
tuple = func->tuples;
drivers/mmc/core/sdio_cis.c
424
while (tuple && tuple != func->card->tuples) {
drivers/mmc/core/sdio_cis.c
430
func->tuples = NULL;
drivers/mmc/core/sdio_cis.c
68
if (func) {
drivers/mmc/core/sdio_cis.c
69
func->major_rev = major_rev;
drivers/mmc/core/sdio_cis.c
70
func->minor_rev = minor_rev;
drivers/mmc/core/sdio_cis.c
71
func->num_info = nr_strings;
drivers/mmc/core/sdio_cis.c
72
func->info = (const char**)buffer;
drivers/mmc/core/sdio_cis.c
83
static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func,
drivers/mmc/core/sdio_cis.c
94
if (func) {
drivers/mmc/core/sdio_cis.c
95
func->vendor = vendor;
drivers/mmc/core/sdio_cis.c
96
func->device = device;
drivers/mmc/core/sdio_cis.h
19
int sdio_read_func_cis(struct sdio_func *func);
drivers/mmc/core/sdio_cis.h
20
void sdio_free_func_cis(struct sdio_func *func);
drivers/mmc/core/sdio_io.c
110
int sdio_disable_func(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
115
if (!func)
drivers/mmc/core/sdio_io.c
118
pr_debug("SDIO: Disabling device %s...\n", sdio_func_id(func));
drivers/mmc/core/sdio_io.c
120
ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, &reg);
drivers/mmc/core/sdio_io.c
124
reg &= ~(1 << func->num);
drivers/mmc/core/sdio_io.c
126
ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IOEx, reg, NULL);
drivers/mmc/core/sdio_io.c
130
pr_debug("SDIO: Disabled device %s\n", sdio_func_id(func));
drivers/mmc/core/sdio_io.c
135
pr_debug("SDIO: Failed to disable device %s\n", sdio_func_id(func));
drivers/mmc/core/sdio_io.c
159
int sdio_set_block_size(struct sdio_func *func, unsigned blksz)
drivers/mmc/core/sdio_io.c
163
if (blksz > func->card->host->max_blk_size)
drivers/mmc/core/sdio_io.c
167
blksz = min(func->max_blksize, func->card->host->max_blk_size);
drivers/mmc/core/sdio_io.c
171
ret = mmc_io_rw_direct(func->card, 1, 0,
drivers/mmc/core/sdio_io.c
172
SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE,
drivers/mmc/core/sdio_io.c
176
ret = mmc_io_rw_direct(func->card, 1, 0,
drivers/mmc/core/sdio_io.c
177
SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE + 1,
drivers/mmc/core/sdio_io.c
181
func->cur_blksize = blksz;
drivers/mmc/core/sdio_io.c
189
static inline unsigned int sdio_max_byte_size(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
191
unsigned mval = func->card->host->max_blk_size;
drivers/mmc/core/sdio_io.c
193
if (mmc_blksz_for_byte_mode(func->card))
drivers/mmc/core/sdio_io.c
194
mval = min(mval, func->cur_blksize);
drivers/mmc/core/sdio_io.c
196
mval = min(mval, func->max_blksize);
drivers/mmc/core/sdio_io.c
198
if (mmc_card_broken_byte_mode_512(func->card))
drivers/mmc/core/sdio_io.c
233
unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz)
drivers/mmc/core/sdio_io.c
252
if (sz <= sdio_max_byte_size(func))
drivers/mmc/core/sdio_io.c
255
if (func->card->cccr.multi_block) {
drivers/mmc/core/sdio_io.c
259
if ((sz % func->cur_blksize) == 0)
drivers/mmc/core/sdio_io.c
266
blk_sz = ((sz + func->cur_blksize - 1) /
drivers/mmc/core/sdio_io.c
267
func->cur_blksize) * func->cur_blksize;
drivers/mmc/core/sdio_io.c
27
void sdio_claim_host(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
274
if ((blk_sz % func->cur_blksize) == 0)
drivers/mmc/core/sdio_io.c
281
byte_sz = _sdio_align_size(sz % func->cur_blksize);
drivers/mmc/core/sdio_io.c
282
if (byte_sz <= sdio_max_byte_size(func)) {
drivers/mmc/core/sdio_io.c
283
blk_sz = sz / func->cur_blksize;
drivers/mmc/core/sdio_io.c
284
return blk_sz * func->cur_blksize + byte_sz;
drivers/mmc/core/sdio_io.c
29
if (WARN_ON(!func))
drivers/mmc/core/sdio_io.c
291
chunk_sz = _sdio_align_size(sdio_max_byte_size(func));
drivers/mmc/core/sdio_io.c
292
if (chunk_sz == sdio_max_byte_size(func)) {
drivers/mmc/core/sdio_io.c
315
static int sdio_io_rw_ext_helper(struct sdio_func *func, int write,
drivers/mmc/core/sdio_io.c
32
mmc_claim_host(func->card->host);
drivers/mmc/core/sdio_io.c
322
if (!func || (func->num > 7))
drivers/mmc/core/sdio_io.c
326
if (func->card->cccr.multi_block && (size > sdio_max_byte_size(func))) {
drivers/mmc/core/sdio_io.c
329
max_blocks = min(func->card->host->max_blk_count, 511u);
drivers/mmc/core/sdio_io.c
331
while (remainder >= func->cur_blksize) {
drivers/mmc/core/sdio_io.c
334
blocks = remainder / func->cur_blksize;
drivers/mmc/core/sdio_io.c
337
size = blocks * func->cur_blksize;
drivers/mmc/core/sdio_io.c
339
ret = mmc_io_rw_extended(func->card, write,
drivers/mmc/core/sdio_io.c
340
func->num, addr, incr_addr, buf,
drivers/mmc/core/sdio_io.c
341
blocks, func->cur_blksize);
drivers/mmc/core/sdio_io.c
354
size = min(remainder, sdio_max_byte_size(func));
drivers/mmc/core/sdio_io.c
357
ret = mmc_io_rw_extended(func->card, write, func->num, addr,
drivers/mmc/core/sdio_io.c
380
u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
385
if (!func) {
drivers/mmc/core/sdio_io.c
391
ret = mmc_io_rw_direct(func->card, 0, func->num, addr, 0, &val);
drivers/mmc/core/sdio_io.c
412
void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
416
if (!func) {
drivers/mmc/core/sdio_io.c
422
ret = mmc_io_rw_direct(func->card, 1, func->num, addr, b, NULL);
drivers/mmc/core/sdio_io.c
43
void sdio_release_host(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
441
u8 sdio_writeb_readb(struct sdio_func *func, u8 write_byte,
drivers/mmc/core/sdio_io.c
447
ret = mmc_io_rw_direct(func->card, 1, func->num, addr,
drivers/mmc/core/sdio_io.c
45
if (WARN_ON(!func))
drivers/mmc/core/sdio_io.c
468
int sdio_memcpy_fromio(struct sdio_func *func, void *dst,
drivers/mmc/core/sdio_io.c
471
return sdio_io_rw_ext_helper(func, 0, addr, 1, dst, count);
drivers/mmc/core/sdio_io.c
48
mmc_release_host(func->card->host);
drivers/mmc/core/sdio_io.c
485
int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr,
drivers/mmc/core/sdio_io.c
488
return sdio_io_rw_ext_helper(func, 1, addr, 1, src, count);
drivers/mmc/core/sdio_io.c
502
int sdio_readsb(struct sdio_func *func, void *dst, unsigned int addr,
drivers/mmc/core/sdio_io.c
505
return sdio_io_rw_ext_helper(func, 0, addr, 0, dst, count);
drivers/mmc/core/sdio_io.c
519
int sdio_writesb(struct sdio_func *func, unsigned int addr, void *src,
drivers/mmc/core/sdio_io.c
522
return sdio_io_rw_ext_helper(func, 1, addr, 0, src, count);
drivers/mmc/core/sdio_io.c
536
u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
540
ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 2);
drivers/mmc/core/sdio_io.c
546
return le16_to_cpup((__le16 *)func->tmpbuf);
drivers/mmc/core/sdio_io.c
561
void sdio_writew(struct sdio_func *func, u16 b, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
565
*(__le16 *)func->tmpbuf = cpu_to_le16(b);
drivers/mmc/core/sdio_io.c
567
ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 2);
drivers/mmc/core/sdio_io.c
584
u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
588
ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 4);
drivers/mmc/core/sdio_io.c
59
int sdio_enable_func(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
594
return le32_to_cpup((__le32 *)func->tmpbuf);
drivers/mmc/core/sdio_io.c
609
void sdio_writel(struct sdio_func *func, u32 b, unsigned int addr, int *err_ret)
drivers/mmc/core/sdio_io.c
613
*(__le32 *)func->tmpbuf = cpu_to_le32(b);
drivers/mmc/core/sdio_io.c
615
ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 4);
drivers/mmc/core/sdio_io.c
631
unsigned char sdio_f0_readb(struct sdio_func *func, unsigned int addr,
drivers/mmc/core/sdio_io.c
637
if (!func) {
drivers/mmc/core/sdio_io.c
643
ret = mmc_io_rw_direct(func->card, 0, 0, addr, 0, &val);
drivers/mmc/core/sdio_io.c
65
if (!func)
drivers/mmc/core/sdio_io.c
667
void sdio_f0_writeb(struct sdio_func *func, unsigned char b, unsigned int addr,
drivers/mmc/core/sdio_io.c
672
if (!func) {
drivers/mmc/core/sdio_io.c
678
if ((addr < 0xF0 || addr > 0xFF) && (!mmc_card_lenient_fn0(func->card))) {
drivers/mmc/core/sdio_io.c
68
pr_debug("SDIO: Enabling device %s...\n", sdio_func_id(func));
drivers/mmc/core/sdio_io.c
684
ret = mmc_io_rw_direct(func->card, 1, 0, addr, b, NULL);
drivers/mmc/core/sdio_io.c
70
ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, &reg);
drivers/mmc/core/sdio_io.c
700
mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
702
if (!func)
drivers/mmc/core/sdio_io.c
705
return func->card->host->pm_caps;
drivers/mmc/core/sdio_io.c
722
int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags)
drivers/mmc/core/sdio_io.c
726
if (!func)
drivers/mmc/core/sdio_io.c
729
host = func->card->host;
drivers/mmc/core/sdio_io.c
74
reg |= 1 << func->num;
drivers/mmc/core/sdio_io.c
759
void sdio_retune_crc_disable(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
76
ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IOEx, reg, NULL);
drivers/mmc/core/sdio_io.c
761
func->card->host->retune_crc_disable = true;
drivers/mmc/core/sdio_io.c
771
void sdio_retune_crc_enable(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
773
func->card->host->retune_crc_disable = false;
drivers/mmc/core/sdio_io.c
794
void sdio_retune_hold_now(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
796
mmc_retune_hold_now(func->card->host);
drivers/mmc/core/sdio_io.c
80
timeout = jiffies + msecs_to_jiffies(func->enable_timeout);
drivers/mmc/core/sdio_io.c
810
void sdio_retune_release(struct sdio_func *func)
drivers/mmc/core/sdio_io.c
812
mmc_retune_release(func->card->host);
drivers/mmc/core/sdio_io.c
83
ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IORx, 0, &reg);
drivers/mmc/core/sdio_io.c
86
if (reg & (1 << func->num))
drivers/mmc/core/sdio_io.c
93
pr_debug("SDIO: Enabled device %s\n", sdio_func_id(func));
drivers/mmc/core/sdio_io.c
98
pr_debug("SDIO: Failed to enable device %s\n", sdio_func_id(func));
drivers/mmc/core/sdio_irq.c
101
sdio_func_id(func));
drivers/mmc/core/sdio_irq.c
273
struct sdio_func *func;
drivers/mmc/core/sdio_irq.c
280
func = card->sdio_func[i];
drivers/mmc/core/sdio_irq.c
281
if (func && func->irq_handler) {
drivers/mmc/core/sdio_irq.c
282
card->sdio_single_irq = func;
drivers/mmc/core/sdio_irq.c
299
int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler)
drivers/mmc/core/sdio_irq.c
304
if (!func)
drivers/mmc/core/sdio_irq.c
307
pr_debug("SDIO: Enabling IRQ for %s...\n", sdio_func_id(func));
drivers/mmc/core/sdio_irq.c
309
if (func->irq_handler) {
drivers/mmc/core/sdio_irq.c
310
pr_debug("SDIO: IRQ for %s already in use.\n", sdio_func_id(func));
drivers/mmc/core/sdio_irq.c
314
ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IENx, 0, &reg);
drivers/mmc/core/sdio_irq.c
318
reg |= 1 << func->num;
drivers/mmc/core/sdio_irq.c
322
ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IENx, reg, NULL);
drivers/mmc/core/sdio_irq.c
326
func->irq_handler = handler;
drivers/mmc/core/sdio_irq.c
327
ret = sdio_card_irq_get(func->card);
drivers/mmc/core/sdio_irq.c
329
func->irq_handler = NULL;
drivers/mmc/core/sdio_irq.c
330
sdio_single_irq_set(func->card);
drivers/mmc/core/sdio_irq.c
342
int sdio_release_irq(struct sdio_func *func)
drivers/mmc/core/sdio_irq.c
347
if (!func)
drivers/mmc/core/sdio_irq.c
350
pr_debug("SDIO: Disabling IRQ for %s...\n", sdio_func_id(func));
drivers/mmc/core/sdio_irq.c
352
if (func->irq_handler) {
drivers/mmc/core/sdio_irq.c
353
func->irq_handler = NULL;
drivers/mmc/core/sdio_irq.c
354
sdio_card_irq_put(func->card);
drivers/mmc/core/sdio_irq.c
355
sdio_single_irq_set(func->card);
drivers/mmc/core/sdio_irq.c
358
ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IENx, 0, &reg);
drivers/mmc/core/sdio_irq.c
362
reg &= ~(1 << func->num);
drivers/mmc/core/sdio_irq.c
368
ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IENx, reg, NULL);
drivers/mmc/core/sdio_irq.c
64
struct sdio_func *func;
drivers/mmc/core/sdio_irq.c
78
func = card->sdio_single_irq;
drivers/mmc/core/sdio_irq.c
79
if (func && sdio_irq_pending) {
drivers/mmc/core/sdio_irq.c
80
func->irq_handler(func);
drivers/mmc/core/sdio_irq.c
91
func = card->sdio_func[i - 1];
drivers/mmc/core/sdio_irq.c
92
if (!func) {
drivers/mmc/core/sdio_irq.c
96
} else if (func->irq_handler) {
drivers/mmc/core/sdio_irq.c
97
func->irq_handler(func);
drivers/mmc/core/sdio_uart.c
1018
static int sdio_uart_probe(struct sdio_func *func,
drivers/mmc/core/sdio_uart.c
1028
if (func->class == SDIO_CLASS_UART) {
drivers/mmc/core/sdio_uart.c
1030
sdio_func_id(func));
drivers/mmc/core/sdio_uart.c
1033
} else if (func->class == SDIO_CLASS_GPS) {
drivers/mmc/core/sdio_uart.c
1039
for (tpl = func->tuples; tpl; tpl = tpl->next) {
drivers/mmc/core/sdio_uart.c
1049
sdio_func_id(func));
drivers/mmc/core/sdio_uart.c
1054
sdio_func_id(func), tpl->data[2], tpl->data[3]);
drivers/mmc/core/sdio_uart.c
1059
sdio_func_id(func), port->regs_offset);
drivers/mmc/core/sdio_uart.c
1064
sdio_func_id(func), port->uartclk,
drivers/mmc/core/sdio_uart.c
1071
port->func = func;
drivers/mmc/core/sdio_uart.c
1072
sdio_set_drvdata(func, port);
drivers/mmc/core/sdio_uart.c
1082
sdio_uart_tty_driver, port->index, &func->dev);
drivers/mmc/core/sdio_uart.c
1092
static void sdio_uart_remove(struct sdio_func *func)
drivers/mmc/core/sdio_uart.c
1094
struct sdio_uart_port *port = sdio_get_drvdata(func);
drivers/mmc/core/sdio_uart.c
133
struct sdio_func *func;
drivers/mmc/core/sdio_uart.c
148
func = port->func;
drivers/mmc/core/sdio_uart.c
149
sdio_claim_host(func);
drivers/mmc/core/sdio_uart.c
150
port->func = NULL;
drivers/mmc/core/sdio_uart.c
155
sdio_release_irq(func);
drivers/mmc/core/sdio_uart.c
156
sdio_disable_func(func);
drivers/mmc/core/sdio_uart.c
157
sdio_release_host(func);
drivers/mmc/core/sdio_uart.c
165
if (unlikely(!port->func)) {
drivers/mmc/core/sdio_uart.c
170
sdio_claim_host(port->func);
drivers/mmc/core/sdio_uart.c
178
sdio_release_host(port->func);
drivers/mmc/core/sdio_uart.c
183
return sdio_readb(port->func, port->regs_offset + offset, NULL);
drivers/mmc/core/sdio_uart.c
188
sdio_writeb(port->func, value, port->regs_offset + offset, NULL);
drivers/mmc/core/sdio_uart.c
495
static void sdio_uart_irq(struct sdio_func *func)
drivers/mmc/core/sdio_uart.c
497
struct sdio_uart_port *port = sdio_get_drvdata(func);
drivers/mmc/core/sdio_uart.c
593
ret = sdio_enable_func(port->func);
drivers/mmc/core/sdio_uart.c
596
ret = sdio_claim_irq(port->func, sdio_uart_irq);
drivers/mmc/core/sdio_uart.c
637
sdio_uart_irq(port->func);
drivers/mmc/core/sdio_uart.c
643
sdio_disable_func(port->func);
drivers/mmc/core/sdio_uart.c
67
struct sdio_func *func;
drivers/mmc/core/sdio_uart.c
672
sdio_release_irq(port->func);
drivers/mmc/core/sdio_uart.c
686
sdio_disable_func(port->func);
drivers/mmc/core/sdio_uart.c
765
if (!port->func)
drivers/mmc/core/sdio_uart.c
773
sdio_uart_irq(port->func);
drivers/mmc/core/sdio_uart.c
803
sdio_uart_irq(port->func);
drivers/mmc/core/sdio_uart.c
826
sdio_uart_irq(port->func);
drivers/mmc/core/sdio_uart.c
852
sdio_uart_irq(port->func);
drivers/mmc/host/sdhci-pci-core.c
1311
unsigned int func = PCI_FUNC(slot->chip->pdev->devfn);
drivers/mmc/host/sdhci-pci-core.c
1313
switch (func) {
drivers/mmc/host/vub300.c
1856
u8 func = FUN(cmd);
drivers/mmc/host/vub300.c
1859
if ((vub300->sdio_register[i].func_num == func) &&
drivers/mmc/host/vub300.c
1891
else if (vub300->fn[func].offload_count == 0)
drivers/mmc/host/vub300.c
1894
return examine_cyclic_buffer(vub300, cmd, func);
drivers/mmc/host/vub300.c
529
*register_access, u8 func)
drivers/mmc/host/vub300.c
531
u8 r = vub300->fn[func].offload_point + vub300->fn[func].offload_count;
drivers/mmc/host/vub300.c
532
memcpy(&vub300->fn[func].reg[MAXREGMASK & r], register_access,
drivers/mmc/host/vub300.c
534
vub300->fn[func].offload_count += 1;
drivers/mmc/host/vub300.c
544
u8 func = ((0x70 & register_access->command_byte[0]) >> 4);
drivers/mmc/host/vub300.c
548
if (vub300->sdio_register[i].func_num == func &&
drivers/mmc/host/vub300.c
562
__add_offloaded_reg_to_fifo(vub300, register_access, func);
drivers/mtd/ubi/fastmap-wl.c
477
wrk->func = &wear_leveling_worker;
drivers/mtd/ubi/fastmap-wl.c
528
return wrk->func == erase_worker;
drivers/mtd/ubi/ubi.h
803
int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
drivers/mtd/ubi/wl.c
1080
wrk->func = &wear_leveling_worker;
drivers/mtd/ubi/wl.c
1462
err = wrk->func(ubi, wrk, 0);
drivers/mtd/ubi/wl.c
1745
wrk->func(ubi, wrk, 1);
drivers/mtd/ubi/wl.c
226
err = wrk->func(ubi, wrk, 0);
drivers/mtd/ubi/wl.c
609
wl_wrk->func = &erase_worker;
drivers/net/dsa/microchip/ksz_ptp.c
849
enum ptp_pin_function func, unsigned int chan)
drivers/net/dsa/microchip/ksz_ptp.c
853
switch (func) {
drivers/net/dsa/microchip/ksz_ptp.c
939
ptp_pin->func = PTP_PF_NONE;
drivers/net/dsa/mv88e6xxx/chip.h
705
int *func);
drivers/net/dsa/mv88e6xxx/chip.h
707
int func);
drivers/net/dsa/mv88e6xxx/chip.h
733
enum ptp_pin_function func, unsigned int chan);
drivers/net/dsa/mv88e6xxx/global2_scratch.c
192
unsigned int pin, int *func)
drivers/net/dsa/mv88e6xxx/global2_scratch.c
204
*func = (val & mask) >> offset;
drivers/net/dsa/mv88e6xxx/global2_scratch.c
216
unsigned int pin, int func)
drivers/net/dsa/mv88e6xxx/global2_scratch.c
228
val = (val & ~mask) | ((func & mask) << offset);
drivers/net/dsa/mv88e6xxx/ptp.c
100
int func, int input)
drivers/net/dsa/mv88e6xxx/ptp.c
111
return chip->info->ops->gpio_ops->set_pctl(chip, pin, func);
drivers/net/dsa/mv88e6xxx/ptp.c
315
int func;
drivers/net/dsa/mv88e6xxx/ptp.c
333
func = MV88E6352_G2_SCRATCH_GPIO_PCTL_EVREQ;
drivers/net/dsa/mv88e6xxx/ptp.c
335
err = mv88e6352_set_gpio_func(chip, pin, func, true);
drivers/net/dsa/mv88e6xxx/ptp.c
344
func = MV88E6352_G2_SCRATCH_GPIO_PCTL_GPIO;
drivers/net/dsa/mv88e6xxx/ptp.c
346
err = mv88e6352_set_gpio_func(chip, pin, func, true);
drivers/net/dsa/mv88e6xxx/ptp.c
371
enum ptp_pin_function func, unsigned int chan)
drivers/net/dsa/mv88e6xxx/ptp.c
373
switch (func) {
drivers/net/dsa/mv88e6xxx/ptp.c
510
ppd->func = PTP_PF_NONE;
drivers/net/dsa/sja1105/sja1105_ptp.c
691
enum ptp_pin_function func)
drivers/net/dsa/sja1105/sja1105_ptp.c
705
if (func == old_func)
drivers/net/dsa/sja1105/sja1105_ptp.c
708
avb->cas_master = (func == PTP_PF_PEROUT);
drivers/net/dsa/sja1105/sja1105_ptp.c
849
enum ptp_pin_function func, unsigned int chan)
drivers/net/dsa/sja1105/sja1105_ptp.c
857
switch (func) {
drivers/net/dsa/sja1105/sja1105_ptp.c
875
.func = PTP_PF_NONE,
drivers/net/ethernet/8390/mcf8390.c
177
static void mcf8390_dmaing_err(const char *func, struct net_device *dev,
drivers/net/ethernet/8390/mcf8390.c
181
func, ei_local->dmaing, ei_local->irqlock);
drivers/net/ethernet/amazon/ena/ena_com.c
2590
enum ena_admin_hash_functions func,
drivers/net/ethernet/amazon/ena/ena_com.c
2612
if (!(BIT(func) & get_resp.u.flow_hash_func.supported_func)) {
drivers/net/ethernet/amazon/ena/ena_com.c
2613
netdev_err(ena_dev->net_device, "Flow hash function %d isn't supported\n", func);
drivers/net/ethernet/amazon/ena/ena_com.c
2617
if ((func == ENA_ADMIN_TOEPLITZ) && key) {
drivers/net/ethernet/amazon/ena/ena_com.c
2630
rss->hash_func = func;
drivers/net/ethernet/amazon/ena/ena_com.c
2641
enum ena_admin_hash_functions *func)
drivers/net/ethernet/amazon/ena/ena_com.c
2647
if (unlikely(!func))
drivers/net/ethernet/amazon/ena/ena_com.c
2662
*func = rss->hash_func;
drivers/net/ethernet/amazon/ena/ena_com.h
741
enum ena_admin_hash_functions func,
drivers/net/ethernet/amazon/ena/ena_com.h
769
enum ena_admin_hash_functions *func);
drivers/net/ethernet/amazon/ena/ena_ethtool.c
911
u8 func;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
935
func = ETH_RSS_HASH_TOP;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
938
func = ETH_RSS_HASH_CRC32;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
946
rxfh->hfunc = func;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
957
enum ena_admin_hash_functions func = 0;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
968
func = ena_com_get_current_hash_function(ena_dev);
drivers/net/ethernet/amazon/ena/ena_ethtool.c
971
func = ENA_ADMIN_TOEPLITZ;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
974
func = ENA_ADMIN_CRC32;
drivers/net/ethernet/amazon/ena/ena_ethtool.c
982
if (rxfh->key || func) {
drivers/net/ethernet/amazon/ena/ena_ethtool.c
983
rc = ena_com_fill_hash_function(ena_dev, func, rxfh->key,
drivers/net/ethernet/amd/pds_core/core.c
480
if (pdsc->adminqcq.work.func)
drivers/net/ethernet/amd/pds_core/main.c
467
if (pdsc->health_work.func)
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c
123
tdata->pt.func = xgbe_test_loopback_validate;
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1110
pin_desc[out_pin_cnt++].func = PTP_PF_PEROUT;
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1124
pin_desc[out_pin_cnt].func = PTP_PF_EXTTS;
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
511
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
522
if (func != ptp->pin_config[pin].func)
drivers/net/ethernet/aquantia/atlantic/macsec/macsec_api.c
12
#define AQ_API_CALL_SAFE(func, ...) \
drivers/net/ethernet/aquantia/atlantic/macsec/macsec_api.c
20
ret = func(__VA_ARGS__); \
drivers/net/ethernet/broadcom/bnx2.c
7955
if (bp->func == 0) {
drivers/net/ethernet/broadcom/bnx2.c
8225
bp->func = 1;
drivers/net/ethernet/broadcom/bnx2.c
8229
u32 off = bp->func << 2;
drivers/net/ethernet/broadcom/bnx2.h
6985
u8 func;
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2092
void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id,
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2116
#define FUNC_ILT_BASE(func) (func * ILT_PER_FUNC)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2374
#define DEF_USB_FUNC_OFF offsetof(struct cstorm_def_status_block_u, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2375
#define DEF_CSB_FUNC_OFF offsetof(struct cstorm_def_status_block_c, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2376
#define DEF_XSB_FUNC_OFF offsetof(struct xstorm_def_status_block, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
2377
#define DEF_TSB_FUNC_OFF offsetof(struct tstorm_def_status_block, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
819
offsetof(struct cstorm_status_block_u, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
821
offsetof(struct cstorm_status_block_c, func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
1413
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
1495
USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(func),
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
1498
USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(func) + 4,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
1326
int func;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
1334
func = func_by_vn(bp, vn);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
1336
(LINK_SYNC_ATTENTION_BIT_FUNC_0 + func)*4, 1);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11606
static void bnx2x_get_ext_wwn_info(struct bnx2x *bp, int func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11610
MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_port_name_upper);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11612
MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_port_name_lower);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11616
MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_node_name_upper);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11618
MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_node_name_lower);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11666
int func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11714
bnx2x_get_ext_wwn_info(bp, func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11717
bnx2x_get_ext_wwn_info(bp, func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11746
int func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11758
u32 cfg = MF_CFG_RD(bp, func_ext_config[func].func_cfg);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11760
val2 = MF_CFG_RD(bp, func_ext_config[func].
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11762
val = MF_CFG_RD(bp, func_ext_config[func].
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11772
val2 = MF_CFG_RD(bp, func_ext_config[func].
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11774
val = MF_CFG_RD(bp, func_ext_config[func].
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11838
int func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11849
val2 = MF_CFG_RD(bp, func_mf_config[func].mac_upper);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11850
val = MF_CFG_RD(bp, func_mf_config[func].mac_lower);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11912
u8 func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11915
val = MF_CFG_RD(bp, func_mf_config[func].mac_upper);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11921
MF_CFG_RD(bp, func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
11928
int /*abs*/func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12050
(MF_CFG_RD(bp, func_mf_config[func].
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12056
func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12070
func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12079
func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12103
func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12137
val = MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12144
func, bp->mf_ov, bp->mf_ov);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12149
func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12154
func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12159
BNX2X_DEV_INFO("func %d is in MF afex mode\n", func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12163
func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12293
int func;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12325
func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
12345
if (BP_NOMCP(bp) && (func == 0))
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13377
#define BNX2X_ALLOC_AND_SET(arr, lbl, func) \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13383
func(bp->firmware->data + be32_to_cpu(fw_hdr->arr.offset), \
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
1737
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
1751
if (func <= 5)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
1752
hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
1755
(MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2004
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2015
if (func <= 5) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2016
hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2019
(MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2053
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2063
if (func <= 5) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2064
hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2067
(MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2556
int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2558
if (func >= E1H_FUNC_MAX)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2562
MF_CFG_RD(bp, func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2621
int func = func_by_vn(bp, vn);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2624
XSTORM_RATE_SHAPING_PER_VN_VARS_OFFSET(func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2630
XSTORM_FAIRNESS_PER_VN_VARS_OFFSET(func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2810
u32 func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2858
mf_config = MF_CFG_RD(bp, func_mf_config[func].config);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2886
(MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2890
(MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2899
func_mf_config[func].afex_config) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2904
func_mf_config[func].afex_config) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2943
int func = BP_ABS_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
2947
val = MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) &
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
3835
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
3844
REG_WR16_RELAXED(bp, BAR_XSTRORM_INTMEM + XSTORM_SPQ_PROD_OFFSET(func),
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
4286
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
4288
REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5896
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5900
CSTORM_SP_STATUS_BLOCK_DATA_OFFSET(func) +
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5907
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5917
CSTORM_SP_STATUS_BLOCK_OFFSET(func), 0,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
5920
CSTORM_SP_SYNC_BLOCK_OFFSET(func), 0,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
6045
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
6112
sp_sb_data.p_func.pf_id = func;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7758
void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id, bool is_pf)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7765
u32 func_encode = func | (is_pf ? 1 : 0) << IGU_FID_ENCODE_IS_PF_SHIFT;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7806
static void bnx2x_clear_func_ilt(struct bnx2x *bp, u32 func)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7808
u32 i, base = FUNC_ILT_BASE(func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7956
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7957
int init_phase = PHASE_PF0 + func;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
7964
DP(NETIF_MSG_HW, "starting func init func %d\n", func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8065
REG_WR(bp, TSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8066
REG_WR(bp, USEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8067
REG_WR(bp, CSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8068
REG_WR(bp, XSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8110
REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8120
REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8987
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8991
REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(func), 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8992
REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(func), 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8993
REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(func), 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
8994
REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_FUNC_EN_OFFSET(func), 0);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
9012
CSTORM_SP_STATUS_BLOCK_DATA_STATE_OFFSET(func),
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
9016
REG_WR(bp, BAR_XSTRORM_INTMEM + XSTORM_SPQ_DATA_OFFSET(func),
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
9042
bnx2x_clear_func_ilt(bp, func);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
920
int func = BP_FUNC(bp);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
956
cstorm_offset = CSTORM_SP_STATUS_BLOCK_DATA_OFFSET(func);
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
1000
ptp_info->pin_config[i].func = PTP_PF_EXTTS;
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
1002
ptp_info->pin_config[i].func = PTP_PF_PEROUT;
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
1004
ptp_info->pin_config[i].func = PTP_PF_NONE;
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
948
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
954
func != PTP_PF_PHYSYNC)
drivers/net/ethernet/broadcom/cnic.c
4681
val = cp->func << 2;
drivers/net/ethernet/broadcom/cnic.c
5099
cp->func = bp->pf_num;
drivers/net/ethernet/broadcom/cnic.c
5330
cp->func = PCI_FUNC(dev->pcidev->devfn);
drivers/net/ethernet/broadcom/cnic.h
309
int func;
drivers/net/ethernet/broadcom/cnic.h
404
#define CNIC_FUNC(cp) ((cp)->func)
drivers/net/ethernet/broadcom/tg3.c
16116
unsigned int func, devnr = tp->pdev->devfn & ~7;
drivers/net/ethernet/broadcom/tg3.c
16118
for (func = 0; func < 8; func++) {
drivers/net/ethernet/broadcom/tg3.c
16119
peer = pci_get_slot(tp->pdev->bus, devnr | func);
drivers/net/ethernet/cavium/liquidio/octeon_device.c
764
int bus, int dev, int func, int is_pf)
drivers/net/ethernet/cavium/liquidio/octeon_device.c
770
oct->loc.func = func;
drivers/net/ethernet/cavium/liquidio/octeon_device.c
807
oct->loc.bus, oct->loc.dev, oct->loc.func, refcount);
drivers/net/ethernet/cavium/liquidio/octeon_device.c
825
oct->loc.bus, oct->loc.dev, oct->loc.func, refcount);
drivers/net/ethernet/cavium/liquidio/octeon_device.h
597
int func;
drivers/net/ethernet/cavium/liquidio/octeon_device.h
656
int bus, int dev, int func, int is_pf);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1771
u32 func, bool is_pf)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1776
buff = qbase->pf_data_value[func];
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1778
buff = qbase->vf_data_value[func];
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1782
func += 8;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1785
t4_write_reg(padap, qbase->reg_addr, func);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6580
int func, chip_ver;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6626
func = chip_ver <= CHELSIO_T5 ?
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6632
adapter->mbox = func;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6633
adapter->pf = func;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6650
if (func != ent->driver_data) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6843
err = t4_port_init(adapter, func, func, 0);
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
1000
} func;
drivers/net/ethernet/emulex/benet/be.h
968
int be_load_fw(struct be_adapter *adapter, u8 *func);
drivers/net/ethernet/emulex/benet/be_cmds.h
378
u8 func[8]; /* dword 2*/
drivers/net/ethernet/emulex/benet/be_cmds.h
469
u8 func[8]; /* dword 2*/
drivers/net/ethernet/emulex/benet/be_main.c
5044
void (*func)(struct work_struct *))
drivers/net/ethernet/emulex/benet/be_main.c
5055
INIT_WORK(&work->work, func);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
806
read_func *func);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
869
read_func func = NULL;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
873
func = hns3_dbg_tx_queue_info;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
876
func = hns3_dbg_rx_queue_info;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
879
func = hns3_dbg_queue_map;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
882
func = hns3_dbg_page_pool_info;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
885
func = hns3_dbg_coal_info;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
888
func = hns3_dbg_dev_info;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
896
func);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
906
read_func func;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
912
ret = ops->dbg_get_read_func(handle, hns3_dbg_cmd[cmd].cmd, &func);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
918
func);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
2939
read_func *func)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
2949
*func = cmd_func->dbg_read_func;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11502
if (hdev->service_task.work.func)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1146
read_func *func);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2348
if (hdev->service_task.work.func)
drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c
595
u16 func = dst_func;
drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c
601
func = 0;
drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c
612
MBOX_CTRL_SET(func, DST_FUNC);
drivers/net/ethernet/ibm/ibmvnic.c
120
static void print_subcrq_error(struct device *dev, int rc, const char *func);
drivers/net/ethernet/ibm/ibmvnic.c
4716
static void print_subcrq_error(struct device *dev, int rc, const char *func)
drivers/net/ethernet/ibm/ibmvnic.c
4722
func, rc);
drivers/net/ethernet/ibm/ibmvnic.c
4727
func, rc);
drivers/net/ethernet/ibm/ibmvnic.c
4730
dev_err_ratelimited(dev, "%s failed: (rc=%d)\n", func, rc);
drivers/net/ethernet/intel/e1000e/80003es2lan.c
181
mask = hw->bus.func ? E1000_SWFW_PHY1_SM : E1000_SWFW_PHY0_SM;
drivers/net/ethernet/intel/e1000e/80003es2lan.c
195
mask = hw->bus.func ? E1000_SWFW_PHY1_SM : E1000_SWFW_PHY0_SM;
drivers/net/ethernet/intel/e1000e/80003es2lan.c
496
if (hw->bus.func == 1)
drivers/net/ethernet/intel/e1000e/hw.h
668
u16 func;
drivers/net/ethernet/intel/e1000e/mac.c
165
if (hw->bus.func == E1000_FUNC_1)
drivers/net/ethernet/intel/e1000e/mac.c
53
bus->func = FIELD_GET(E1000_STATUS_FUNC_MASK, reg);
drivers/net/ethernet/intel/e1000e/mac.c
66
bus->func = 0;
drivers/net/ethernet/intel/e1000e/netdev.c
7631
(adapter->hw.bus.func == 1))
drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
1488
if (!msg_data->func)
drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
1518
if ((msg_data->id != FM10K_TLV_ERROR) || !msg_data->func)
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1275
PCI_SLOT(fault->func), PCI_FUNC(fault->func));
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1286
if (fault->func && iov_data) {
drivers/net/ethernet/intel/fm10k/fm10k_pci.c
1287
int vf = fault->func - 1;
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1428
u32 func;
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1441
func = fm10k_read_reg(hw, type + FM10K_FAULT_FUNC);
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1442
if (!(func & FM10K_FAULT_FUNC_VALID))
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1455
if (func & FM10K_FAULT_FUNC_PF)
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1456
fault->func = 0;
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1458
fault->func = 1 + FIELD_GET(FM10K_FAULT_FUNC_VF_MASK, func);
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1461
fault->type = func & FM10K_FAULT_FUNC_TYPE_MASK;
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
87
#define FM10K_PF_MSG_LPORT_MAP_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
89
fm10k_lport_map_msg_attr, func)
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
91
#define FM10K_PF_MSG_UPDATE_PVID_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
93
fm10k_update_pvid_msg_attr, func)
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
97
#define FM10K_PF_MSG_ERR_HANDLER(msg, func) \
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
98
FM10K_MSG_HANDLER(FM10K_PF_MSG_ID_##msg, fm10k_err_msg_attr, func)
drivers/net/ethernet/intel/fm10k/fm10k_tlv.c
577
return data->func(hw, results, mbx);
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
160
#define FM10K_TLV_MSG_TEST_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
161
FM10K_MSG_HANDLER(FM10K_TLV_MSG_ID_TEST, fm10k_tlv_msg_test_attr, func)
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
162
#define FM10K_TLV_MSG_ERROR_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
163
FM10K_MSG_HANDLER(FM10K_TLV_ERROR, NULL, func)
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
85
s32 (*func)(struct fm10k_hw *, u32 **,
drivers/net/ethernet/intel/fm10k/fm10k_tlv.h
89
#define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func }
drivers/net/ethernet/intel/fm10k/fm10k_type.h
504
u8 func; /* Function number of the fault */
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
34
#define FM10K_VF_MSG_MSIX_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
35
FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MSIX, NULL, func)
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
39
#define FM10K_VF_MSG_MAC_VLAN_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
41
fm10k_mac_vlan_msg_attr, func)
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
46
#define FM10K_VF_MSG_LPORT_STATE_HANDLER(func) \
drivers/net/ethernet/intel/fm10k/fm10k_vf.h
48
fm10k_lport_state_msg_attr, func)
drivers/net/ethernet/intel/i40e/i40e_client.c
479
pf->hw.bus.device, pf->hw.bus.func);
drivers/net/ethernet/intel/i40e/i40e_client.c
514
pf->hw.bus.device, pf->hw.bus.func);
drivers/net/ethernet/intel/i40e/i40e_common.c
124
hw->bus.func);
drivers/net/ethernet/intel/i40e/i40e_ddp.c
447
if (pf->hw.bus.func != 0) {
drivers/net/ethernet/intel/i40e/i40e_main.c
11258
u8 func = FIELD_GET(I40E_GL_MDET_RX_FUNCTION_MASK, reg);
drivers/net/ethernet/intel/i40e/i40e_main.c
11264
event, queue, func);
drivers/net/ethernet/intel/i40e/i40e_main.c
15615
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/i40e/i40e_main.c
16182
if (pf->service_task.func)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
1357
pf->ptp_caps.pin_config[i].func = PTP_PF_NONE;
drivers/net/ethernet/intel/i40e/i40e_ptp.c
258
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
260
switch (func) {
drivers/net/ethernet/intel/i40e/i40e_ptp.c
510
static enum i40e_ptp_gpio_pin_state i40e_pin_state(int index, int func)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
514
if (index == 0 && func == PTP_PF_EXTTS)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
516
if (index == 1 && func == PTP_PF_EXTTS)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
518
if (index == 0 && func == PTP_PF_PEROUT)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
520
if (index == 1 && func == PTP_PF_PEROUT)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
537
enum ptp_pin_function func, int on)
drivers/net/ethernet/intel/i40e/i40e_ptp.c
559
pin_index = ptp_find_pin(pf->ptp_clock, func, chan);
drivers/net/ethernet/intel/i40e/i40e_ptp.c
577
*pin = i40e_pin_state(chan, func);
drivers/net/ethernet/intel/i40e/i40e_ptp.c
601
enum ptp_pin_function func;
drivers/net/ethernet/intel/i40e/i40e_ptp.c
607
func = PTP_PF_EXTTS;
drivers/net/ethernet/intel/i40e/i40e_ptp.c
611
func = PTP_PF_PEROUT;
drivers/net/ethernet/intel/i40e/i40e_ptp.c
620
return i40e_ptp_enable_pin(pf, chan, func, on);
drivers/net/ethernet/intel/i40e/i40e_type.h
414
u16 func;
drivers/net/ethernet/intel/iavf/iavf_common.c
207
hw->bus.func);
drivers/net/ethernet/intel/iavf/iavf_main.c
5382
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/iavf/iavf_osdep.h
43
(h)->bus.func, ##__VA_ARGS__); \
drivers/net/ethernet/intel/iavf/iavf_type.h
147
u16 func;
drivers/net/ethernet/intel/ice/ice_common.c
1161
if (hw->bus.func)
drivers/net/ethernet/intel/ice/ice_common.c
971
if (hw->bus.func)
drivers/net/ethernet/intel/ice/ice_main.c
1703
if (pf->serv_task.func)
drivers/net/ethernet/intel/ice/ice_main.c
5296
hw->bus.func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/intel/ice/ice_ptp.c
1792
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/intel/ice/ice_ptp.c
1800
switch (func) {
drivers/net/ethernet/intel/ice/ice_ptp.c
77
static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func,
drivers/net/ethernet/intel/ice/ice_ptp.c
84
if (info->pin_config[i].func == func &&
drivers/net/ethernet/intel/ice/ice_type.h
460
u8 func;
drivers/net/ethernet/intel/idpf/idpf_ptp.c
548
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/intel/igb/e1000_82575.c
1233
if (hw->bus.func == 1)
drivers/net/ethernet/intel/igb/e1000_82575.c
1235
else if (hw->bus.func == E1000_FUNC_2)
drivers/net/ethernet/intel/igb/e1000_82575.c
1237
else if (hw->bus.func == E1000_FUNC_3)
drivers/net/ethernet/intel/igb/e1000_82575.c
2224
NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1,
drivers/net/ethernet/intel/igb/e1000_82575.c
225
hw->bus.func = FIELD_GET(E1000_STATUS_FUNC_MASK, rd32(E1000_STATUS));
drivers/net/ethernet/intel/igb/e1000_82575.c
2788
if ((hw->mac.type != e1000_i350) || (hw->bus.func != 0))
drivers/net/ethernet/intel/igb/e1000_82575.c
2841
if ((hw->mac.type != e1000_i350) || (hw->bus.func != 0))
drivers/net/ethernet/intel/igb/e1000_82575.c
720
if (hw->bus.func == E1000_FUNC_1)
drivers/net/ethernet/intel/igb/e1000_82575.c
722
else if (hw->bus.func == E1000_FUNC_2)
drivers/net/ethernet/intel/igb/e1000_82575.c
724
else if (hw->bus.func == E1000_FUNC_3)
drivers/net/ethernet/intel/igb/e1000_82575.c
741
if (hw->bus.func == E1000_FUNC_1)
drivers/net/ethernet/intel/igb/e1000_82575.c
743
else if (hw->bus.func == E1000_FUNC_2)
drivers/net/ethernet/intel/igb/e1000_82575.c
745
else if (hw->bus.func == E1000_FUNC_3)
drivers/net/ethernet/intel/igb/e1000_hw.h
460
u16 func;
drivers/net/ethernet/intel/igb/e1000_mac.c
312
if (hw->bus.func == E1000_FUNC_1)
drivers/net/ethernet/intel/igb/e1000_mac.c
314
if (hw->bus.func == E1000_FUNC_2)
drivers/net/ethernet/intel/igb/e1000_mac.c
317
if (hw->bus.func == E1000_FUNC_3)
drivers/net/ethernet/intel/igb/e1000_mac.c
59
bus->func = FIELD_GET(E1000_STATUS_FUNC_MASK, reg);
drivers/net/ethernet/intel/igb/e1000_mac.c
805
lan_offset = NVM_82580_LAN_FUNC_OFFSET(hw->bus.func);
drivers/net/ethernet/intel/igb/igb_main.c
2429
if (mac->type == e1000_i350 && hw->bus.func == 0) {
drivers/net/ethernet/intel/igb/igb_main.c
3126
switch (hw->bus.func) {
drivers/net/ethernet/intel/igb/igb_main.c
3132
hw->bus.func);
drivers/net/ethernet/intel/igb/igb_main.c
3140
hw->bus.func);
drivers/net/ethernet/intel/igb/igb_main.c
3148
hw->bus.func);
drivers/net/ethernet/intel/igb/igb_main.c
3156
hw->bus.func);
drivers/net/ethernet/intel/igb/igb_main.c
3442
if (hw->bus.func == 0)
drivers/net/ethernet/intel/igb/igb_main.c
3448
NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1,
drivers/net/ethernet/intel/igb/igb_main.c
3450
else if (hw->bus.func == 1)
drivers/net/ethernet/intel/igb/igb_main.c
3513
(hw->bus.func == 0)) {
drivers/net/ethernet/intel/igb/igb_main.c
3557
if (hw->mac.type == e1000_i350 && hw->bus.func == 0) {
drivers/net/ethernet/intel/igb/igb_ptp.c
1418
ppd->func = PTP_PF_NONE;
drivers/net/ethernet/intel/igb/igb_ptp.c
786
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/intel/igb/igb_ptp.c
788
switch (func) {
drivers/net/ethernet/intel/igc/igc_base.c
168
hw->bus.func = FIELD_GET(IGC_STATUS_FUNC_MASK, rd32(IGC_STATUS));
drivers/net/ethernet/intel/igc/igc_hw.h
151
u16 func;
drivers/net/ethernet/intel/igc/igc_main.c
7165
adapter->port_num = hw->bus.func;
drivers/net/ethernet/intel/igc/igc_ptp.c
1178
ppd->func = PTP_PF_NONE;
drivers/net/ethernet/intel/igc/igc_ptp.c
408
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/intel/igc/igc_ptp.c
410
switch (func) {
drivers/net/ethernet/intel/ixgbe/devlink/devlink.c
545
attrs.phys.port_number = adapter->hw.bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c
1072
bus->func = 0;
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
2883
(hw->bus.func) ? (san_mac_offset += IXGBE_SAN_MAC_ADDR_PORT1_OFFSET) :
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
3785
fw_cmd.port_num = hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
700
bus->func = FIELD_GET(IXGBE_STATUS_LAN_ID, reg);
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
701
bus->lan_id = bus->func;
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
706
bus->func ^= 0x1;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1005
cmd->lport_num = hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1106
cmd->lport_num = hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1135
cmd->lport_num = hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1367
resp->lport_num = hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1455
err = ixgbe_aci_set_event_mask(hw, (u8)hw->bus.func, mask);
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
1507
cmd->lport_num = (u8)hw->bus.func;
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
267
u32 ep_bit_mask = hw->bus.func ? GL_FWSTS_EP_PF1 : GL_FWSTS_EP_PF0;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11352
(hw->bus.func == 0)))
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
11366
if (hw->bus.func != 0)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
1249
hw->bus.func, vf, adapter->vfinfo[vf].vf_mac_addresses);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
8272
hw->bus.func, vf,
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
3376
u8 func;
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
2788
fw_cmd.port_num = (u8)hw->bus.func;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
417
int pf, func;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
421
func = pcifunc & RVU_PFVF_FUNC_MASK;
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
426
return ((cfg & 0xFFF) + func - 1);
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
54
static inline u16 rvu_make_pcifunc(struct pci_dev *pdev, int pf, int func)
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
59
((func & RVU_PFVF_FUNC_MASK) <<
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
64
((func & RVU_PFVF_FUNC_MASK) <<
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h
142
#define RVU_PFFUNC(pdev, pf, func) rvu_make_pcifunc(pdev, pf, func)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
1540
if (work->func)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
275
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
277
switch (func) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
421
ptp_ptr->extts_config.func = PTP_PF_NONE;
drivers/net/ethernet/marvell/prestera/prestera_hw.c
202
prestera_event_cb_t func;
drivers/net/ethernet/marvell/prestera/prestera_hw.c
2264
eh->func = fn;
drivers/net/ethernet/marvell/prestera/prestera_hw.c
911
int (*func)(void *msg, struct prestera_event *evt);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
913
[PRESTERA_EVENT_TYPE_PORT] = { .func = prestera_fw_parse_port_evt },
drivers/net/ethernet/marvell/prestera/prestera_hw.c
914
[PRESTERA_EVENT_TYPE_FDB] = { .func = prestera_fw_parse_fdb_evt },
drivers/net/ethernet/marvell/prestera/prestera_hw.c
961
if (!fw_event_parsers[msg_type].func)
drivers/net/ethernet/marvell/prestera/prestera_hw.c
970
err = fw_event_parsers[msg_type].func(buf, &evt);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
974
eh.func(sw, &evt, eh.arg);
drivers/net/ethernet/marvell/prestera/prestera_hw.c
992
eh.func(sw, &ev, eh.arg);
drivers/net/ethernet/mellanox/mlx4/fw.c
204
int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave)
drivers/net/ethernet/mellanox/mlx4/fw.c
236
func->bus = field & 0xf;
drivers/net/ethernet/mellanox/mlx4/fw.c
238
func->device = field & 0xf1;
drivers/net/ethernet/mellanox/mlx4/fw.c
240
func->function = field & 0x7;
drivers/net/ethernet/mellanox/mlx4/fw.c
242
func->physical_function = field & 0xf;
drivers/net/ethernet/mellanox/mlx4/fw.c
244
func->rsvd_eqs = field16 & 0xffff;
drivers/net/ethernet/mellanox/mlx4/fw.c
246
func->max_eq = field16 & 0xffff;
drivers/net/ethernet/mellanox/mlx4/fw.c
248
func->rsvd_uars = field & 0x0f;
drivers/net/ethernet/mellanox/mlx4/fw.c
251
func->bus, func->device, func->function, func->physical_function,
drivers/net/ethernet/mellanox/mlx4/fw.c
252
func->max_eq, func->rsvd_eqs, func->rsvd_uars);
drivers/net/ethernet/mellanox/mlx4/fw.c
335
struct mlx4_func func;
drivers/net/ethernet/mellanox/mlx4/fw.c
491
mlx4_QUERY_FUNC(dev, &func, slave)) {
drivers/net/ethernet/mellanox/mlx4/fw.c
502
func.max_eq :
drivers/net/ethernet/mellanox/mlx4/fw.c
503
rounddown_pow_of_two(func.max_eq);
drivers/net/ethernet/mellanox/mlx4/fw.c
505
size = func.rsvd_eqs;
drivers/net/ethernet/mellanox/mlx4/fw.h
240
int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave);
drivers/net/ethernet/mellanox/mlx4/main.c
345
struct mlx4_func func;
drivers/net/ethernet/mellanox/mlx4/main.c
348
err = mlx4_QUERY_FUNC(dev, &func, 0);
drivers/net/ethernet/mellanox/mlx4/main.c
353
dev_cap->max_eqs = func.max_eq;
drivers/net/ethernet/mellanox/mlx4/main.c
354
dev_cap->reserved_eqs = func.rsvd_eqs;
drivers/net/ethernet/mellanox/mlx4/main.c
355
dev_cap->reserved_uars = func.rsvd_uars;
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
59
ktime_t mlx5e_cqe_ts_to_ns(cqe_ts_to_ns func, struct mlx5_clock *clock, u64 cqe_ts)
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
61
return INDIRECT_CALL_2(func, mlx5_real_time_cyc2time, mlx5_timecounter_cyc2time,
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c
225
lbtp->pt.func = mlx5e_test_loopback_validate;
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1006
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1011
switch (func) {
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1105
clock->ptp_info.pin_config[i].func = mlx5_get_pps_pin_mode(mdev, i);
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1173
switch (clock->ptp_info.pin_config[pin].func) {
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1204
clock->ptp_info.pin_config[pin].func);
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
1517
if (ptp_info->pin_config[i].func != PTP_PF_EXTTS ||
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
188
const char *func, int line)
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
194
__func__, func, line, fixed, item_size, num_items);
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
200
__func__, func, line, fixed, item_size, num_items);
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
206
__func__, func, line, fixed, item_size, num_items);
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
47
int func,
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
51
return func;
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
52
return mlx5_core_ec_vf_vport_base(dev) + func - 1;
drivers/net/ethernet/mellanox/mlxsw/core.c
2351
return (rxl_a->func == rxl_b->func &&
drivers/net/ethernet/mellanox/mlxsw/core.c
2439
event_listener_item->el.func(&reg, payload, event_listener_item->priv);
drivers/net/ethernet/mellanox/mlxsw/core.c
2446
return (el_a->func == el_b->func &&
drivers/net/ethernet/mellanox/mlxsw/core.c
2470
.func = mlxsw_core_event_listener_func,
drivers/net/ethernet/mellanox/mlxsw/core.c
2507
.func = mlxsw_core_event_listener_func,
drivers/net/ethernet/mellanox/mlxsw/core.c
2988
rxl->func(skb, local_port, rxl_item->priv);
drivers/net/ethernet/mellanox/mlxsw/core.h
109
void (*func)(struct sk_buff *skb, u16 local_port, void *priv);
drivers/net/ethernet/mellanox/mlxsw/core.h
116
void (*func)(const struct mlxsw_reg_info *reg,
drivers/net/ethernet/mellanox/mlxsw/core.h
145
.func = _func, \
drivers/net/ethernet/mellanox/mlxsw/core.h
178
.func = _func, \
drivers/net/ethernet/meta/fbnic/fbnic_tlv.c
539
return parser->func(opaque, results);
drivers/net/ethernet/meta/fbnic/fbnic_tlv.h
100
int (*func)(void *opaque,
drivers/net/ethernet/meta/fbnic/fbnic_tlv.h
104
#define FBNIC_TLV_PARSER(id, attr, func) { FBNIC_TLV_MSG_ID_##id, attr, func }
drivers/net/ethernet/microchip/lan743x_ptp.c
1009
switch (func) {
drivers/net/ethernet/microchip/lan743x_ptp.c
1524
ptp_pin->func = PTP_PF_NONE;
drivers/net/ethernet/microchip/lan743x_ptp.c
997
enum ptp_pin_function func,
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
1016
p->func = PTP_PF_NONE;
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
794
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
805
switch (func) {
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
825
if (info->pin_config[pin].func == PTP_PF_PEROUT ||
drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c
826
info->pin_config[pin].func == PTP_PF_EXTTS)
drivers/net/ethernet/mscc/ocelot_ptp.c
185
enum ptp_pin_function func, unsigned int chan)
drivers/net/ethernet/mscc/ocelot_ptp.c
187
switch (func) {
drivers/net/ethernet/mscc/ocelot_ptp.c
882
p->func = PTP_PF_NONE;
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
794
int (*func)(struct net_device *dev);
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
833
ret = nfp_self_test[i].func(netdev);
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1287
#define NFP_EXPL_OP(func, expl, args...) \
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1292
if (cpp->op->func) \
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1293
err = cpp->op->func(expl, ##args); \
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1297
#define NFP_EXPL_OP_NR(func, expl, args...) \
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1301
if (cpp->op->func) \
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c
1302
cpp->op->func(expl, ##args); \
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
821
#define PCIE_CRB_WINDOW_REG(func) (((func) < 4) ? \
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
822
(PCIX_CRB_WINDOW_F0 + (0x20 * (func))) :\
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
823
(PCIX_CRB_WINDOW_F4 + (0x10 * ((func)-4))))
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
834
#define PCIE_MN_WINDOW_REG(func) (((func) < 4) ? \
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
835
(PCIX_MN_WINDOW_F0 + (0x20 * (func))) :\
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
836
(PCIX_MN_WINDOW_F4 + (0x10 * ((func)-4))))
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
847
#define PCIE_SN_WINDOW_REG(func) (((func) < 4) ? \
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
848
(PCIX_SN_WINDOW_F0 + (0x20 * (func))) :\
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
849
(PCIX_SN_WINDOW_F4 + (0x10 * ((func)-4))))
drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h
852
#define PCIX_OCM_WINDOW_REG(func) (PCIX_OCM_WINDOW + 0x20 * (func))
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1051
u8 func = adapter->ahw.pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1057
NETXEN_PCIX_PH_REG(PCIE_CRB_WINDOW_REG(func)));
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
2473
work_func_t func, int delay)
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
2475
INIT_DELAYED_WORK(&adapter->fw_work, func);
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
55
work_func_t func, int delay);
drivers/net/ethernet/qlogic/qed/qed.h
515
void (*func)(void *cookie);
drivers/net/ethernet/qlogic/qed/qed_main.c
673
hwfn->simd_proto_handler[relative_idx].func = handler;
drivers/net/ethernet/qlogic/qed/qed_main.c
721
if (p_handler->func)
drivers/net/ethernet/qlogic/qed/qed_main.c
722
p_handler->func(p_handler->token);
drivers/net/ethernet/qlogic/qed/qed_mfw_hsi.h
1621
struct public_func func[MCP_GLOB_FUNC_MAX];
drivers/net/ethernet/qlogic/qed/qed_mfw_hsi.h
2171
struct nvm_cfg1_func func[MCP_GLOB_FUNC_MAX];
drivers/net/ethernet/qlogic/qede/qede.h
518
void (*func)(struct qede_dev *edev, struct qede_reload_args *args);
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
1042
args.func = &qede_update_mtu;
drivers/net/ethernet/qlogic/qede/qede_filter.c
1032
args.func = &qede_xdp_reload_func;
drivers/net/ethernet/qlogic/qede/qede_filter.c
938
args.func = &qede_set_features_reload;
drivers/net/ethernet/qlogic/qede/qede_filter.c
946
args.func(edev, &args);
drivers/net/ethernet/qlogic/qede/qede_main.c
2550
args->func(edev, args);
drivers/net/ethernet/qlogic/qede/qede_main.c
2556
args->func(edev, args);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
264
int func, int *port_id)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
271
err = qlcnic_get_nic_info(adapter, &nic_info, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1065
int qlcnic_get_port_stats(struct qlcnic_adapter *adapter, const u8 func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1080
(func != adapter->ahw->pci_func)) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1082
"Not privilege to query stats for func=%d", func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1091
arg1 = func | QLCNIC_STATS_VERSION << 8 | QLCNIC_STATS_PORT << 12;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hdr.h
566
#define PCIX_OCM_WINDOW_REG(func) (PCIX_OCM_WINDOW + 0x4 * (func))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
1592
u32 func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
1595
pci_read_config_dword(adapter->pdev, QLCNIC_MSIX_TABLE_OFFSET, &func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
1598
func = (func - msix_base) / QLCNIC_MSIX_TBL_PGSIZE;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
1599
adapter->ahw->pci_func = func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
3583
work_func_t func, int delay)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
3588
INIT_DELAYED_WORK(&adapter->fw_work, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
450
if (!adapter->fw_work.work.func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1383
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1397
QLCNIC_MBX_RSP(cmd->req.arg[0]), func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1401
err = qlcnic_sriov_send_bc_cmd(adapter, trans, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1404
(cmd->req.arg[0] & 0xffff), func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1434
opcode, mbx_err_code, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1747
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1757
__func__, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1761
__func__, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1777
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1805
dev_info(dev, "Resetting context of VF 0x%x\n", func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1807
__func__, adapter->reset_ctx_cnt, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1819
dev_info(dev, "Done resetting context for VF 0x%x\n", func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1822
__func__, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1879
u8 func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1883
"Firmware hang detected by VF 0x%x\n", func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
852
work_func_t func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
105
id = qlcnic_sriov_func_to_index(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1697
work_func_t func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1702
INIT_WORK(&vf->flr_work, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
233
u8 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
239
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
242
index = qlcnic_sriov_func_to_index(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
251
u16 vport_handle, u8 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
257
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
260
index = qlcnic_sriov_func_to_index(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
269
u8 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
275
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
278
index = qlcnic_sriov_func_to_index(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
289
u8 flag, u16 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
299
cmd.req.arg[3] = func << 8;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
301
vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
313
(flag ? "enable" : "disable"), ret, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
319
qlcnic_sriov_pf_set_vport_handle(adapter, vpid, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
321
qlcnic_sriov_pf_reset_vport_handle(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
381
u8 func, u8 enable)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
390
cmd.req.arg[1] = ((func & 0xf) << 2) | BIT_6 | BIT_1;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
435
u8 func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
442
qlcnic_sriov_pf_config_vport(adapter, 0, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
443
qlcnic_sriov_pf_cfg_eswitch(adapter, func, 0);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
508
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
523
err = qlcnic_sriov_pf_cfg_eswitch(adapter, func, 1);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
527
err = qlcnic_sriov_pf_config_vport(adapter, 1, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
535
err = qlcnic_get_nic_info(adapter, &nic_info, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
539
err = qlcnic_sriov_pf_cal_res_limit(adapter, &vp_info, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
555
qlcnic_sriov_pf_config_vport(adapter, 0, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
558
qlcnic_sriov_pf_cfg_eswitch(adapter, func, 0);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
68
struct qlcnic_info *info, u16 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
684
static int qlcnic_sriov_set_vf_acl(struct qlcnic_adapter *adapter, u8 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
691
id = qlcnic_sriov_func_to_index(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
700
cmd.req.arg[1] = 0x3 | func << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
724
u16 func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
729
err = qlcnic_sriov_pf_cal_res_limit(adapter, &defvp_info, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
733
err = qlcnic_sriov_set_vf_acl(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
747
u16 func = vf->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
755
err = qlcnic_sriov_pf_config_vport(adapter, 1, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
757
err = qlcnic_sriov_set_vf_vport_info(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
759
qlcnic_sriov_pf_config_vport(adapter, 0, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
768
err = qlcnic_sriov_pf_config_vport(adapter, 0, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
77
vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
91
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/realtek/r8169_main.c
2877
u32 func = PCI_FUNC(tp->pci_dev->devfn);
drivers/net/ethernet/realtek/r8169_main.c
2881
CSIAR_BYTE_ENABLE | func << 16);
drivers/net/ethernet/realtek/r8169_main.c
2888
u32 func = PCI_FUNC(tp->pci_dev->devfn);
drivers/net/ethernet/realtek/r8169_main.c
2890
RTL_W32(tp, CSIAR, (addr & CSIAR_ADDR_MASK) | func << 16 |
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
1018
.func = 6,
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
1024
.func = galileo_stmmac_func_data,
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
1030
.func = 6,
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
1034
.func = 7,
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
1040
.func = iot2040_stmmac_func_data,
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
106
func_data = dmi_data->func;
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
109
if (func_data->func == func)
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
40
unsigned int func;
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
45
const struct stmmac_pci_func_data *func;
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
98
int func = PCI_FUNC(pdev->devfn);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1003
tpriv->pt.func = stmmac_test_vlan_validate;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1280
tpriv->pt.func = stmmac_test_vlan_validate;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1639
tpriv->pt.func = stmmac_test_arp_validate;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
335
tpriv->pt.func = stmmac_test_loopback_validate;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
754
tpriv->pt.func = stmmac_test_flowctrl_validate;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
909
tpriv->pt.func = stmmac_test_vlan_validate;
drivers/net/ethernet/sun/niu.c
7978
static int niu_set_ldg_sid(struct niu *np, int ldg, int func, int vector)
drivers/net/ethernet/sun/niu.c
7981
(func < 0 || func > 3) ||
drivers/net/ethernet/sun/niu.c
7985
nw64(SID(ldg), (func << SID_FUNC_SHIFT) | vector);
drivers/net/ethernet/ti/cpsw.c
66
#define for_each_slave(priv, func, arg...) \
drivers/net/ethernet/ti/cpsw.c
72
(func)((cpsw)->slaves + priv->emac_port, ##arg);\
drivers/net/ethernet/ti/cpsw.c
77
(func)(slave++, ##arg); \
drivers/net/ethernet/wangxun/libwx/wx_hw.c
2483
wx->bus.func = FIELD_GET(WX_CFG_PORT_ST_LANID,
drivers/net/ethernet/wangxun/libwx/wx_hw.c
524
pps_cmd.lan_id = wx->bus.func;
drivers/net/ethernet/wangxun/libwx/wx_type.h
843
u8 func;
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c
75
val = WX_MIS_RST_LAN_RST(wx->bus.func);
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c
79
!(val & (BIT(9) << wx->bus.func)), 1000,
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c
724
if (wx->bus.func == 0) {
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c
733
if (wx->bus.func == 0 || e2rom_cksum_cap == 0) {
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c
404
wr32(wx, WX_MIS_RST, TXGBE_MIS_RST_MAC_RST(wx->bus.func));
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c
194
val = WX_MIS_RST_LAN_RST(wx->bus.func);
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c
200
status = wx_check_flash_load(wx, TXGBE_SPI_ILDR_STATUS_LAN_SW_RST(wx->bus.func));
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c
58
if (wx->bus.func)
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
232
if (wx->bus.func < 2)
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
233
wr32m(wx, TXGBE_MIS_PRB_CTL, TXGBE_MIS_PRB_CTL_LAN_UP(wx->bus.func), 0);
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
236
__func__, wx->bus.func);
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
341
if (wx->bus.func == 0)
drivers/net/ethernet/xscale/ixp4xx_eth.c
616
static inline void debug_pkt(struct net_device *dev, const char *func,
drivers/net/ethernet/xscale/ixp4xx_eth.c
622
netdev_debug(dev, "%s(%i) ", func, len);
drivers/net/hamradio/bpqether.c
93
.func = bpq_rcv,
drivers/net/macsec.c
1686
static int macsec_offload(int (* const func)(struct macsec_context *),
drivers/net/macsec.c
1691
if (unlikely(!func))
drivers/net/macsec.c
1697
ret = (*func)(ctx);
drivers/net/phy/bcm-phy-ptp.c
695
if (priv->pin.func == PTP_PF_PEROUT)
drivers/net/phy/bcm-phy-ptp.c
699
if (priv->pin.func == PTP_PF_EXTTS)
drivers/net/phy/bcm-phy-ptp.c
713
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/bcm-phy-ptp.c
715
switch (func) {
drivers/net/phy/dp83640.c
195
pd[index].func = PTP_PF_PHYSYNC;
drivers/net/phy/dp83640.c
199
pd[index].func = PTP_PF_PEROUT;
drivers/net/phy/dp83640.c
204
pd[index].func = PTP_PF_EXTTS;
drivers/net/phy/dp83640.c
521
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/dp83640.c
526
if (clock->caps.pin_config[pin].func == PTP_PF_PHYSYNC &&
drivers/net/phy/dp83640.c
530
if (func == PTP_PF_PHYSYNC)
drivers/net/phy/micrel.c
3965
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/micrel.c
3967
switch (func) {
drivers/net/phy/micrel.c
4468
ptp_pin->func = PTP_PF_NONE;
drivers/net/phy/micrel.c
5508
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/micrel.c
5510
switch (func) {
drivers/net/phy/micrel.c
5955
p->func = PTP_PF_NONE;
drivers/net/phy/microchip_rds_ptp.c
1271
p->func = PTP_PF_NONE;
drivers/net/phy/microchip_rds_ptp.c
270
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/microchip_rds_ptp.c
279
switch (func) {
drivers/net/phy/nxp-c45-tja11xx.c
921
enum ptp_pin_function func, unsigned int chan)
drivers/net/phy/nxp-c45-tja11xx.c
926
switch (func) {
drivers/net/phy/phy.c
1350
const void *func, int err)
drivers/net/phy/phy.c
1352
WARN(1, "%pS: returned: %d\n", func, err);
drivers/net/phy/phy.c
1520
const void *func = NULL;
drivers/net/phy/phy.c
1534
func = &phy_check_link_status;
drivers/net/phy/phy.c
1583
func = &_phy_start_aneg;
drivers/net/phy/phy.c
1590
phy_error_precise(phydev, func, err);
drivers/net/ppp/pppoe.c
513
.func = pppoe_rcv,
drivers/net/ppp/pppoe.c
518
.func = pppoe_disc_rcv,
drivers/net/team/team_mode_loadbalance.c
142
lb_select_tx_port_func_t *func;
drivers/net/team/team_mode_loadbalance.c
148
.func = lb_hash_select_tx_port,
drivers/net/team/team_mode_loadbalance.c
152
.func = lb_htpm_select_tx_port,
drivers/net/team/team_mode_loadbalance.c
157
static char *lb_select_tx_port_get_name(lb_select_tx_port_func_t *func)
drivers/net/team/team_mode_loadbalance.c
165
if (item->func == func)
drivers/net/team/team_mode_loadbalance.c
180
return item->func;
drivers/net/team/team_mode_loadbalance.c
333
lb_select_tx_port_func_t *func;
drivers/net/team/team_mode_loadbalance.c
336
func = rtnl_dereference(lb_priv->select_tx_port_func);
drivers/net/team/team_mode_loadbalance.c
337
name = lb_select_tx_port_get_name(func);
drivers/net/team/team_mode_loadbalance.c
345
lb_select_tx_port_func_t *func;
drivers/net/team/team_mode_loadbalance.c
347
func = lb_select_tx_port_get_func(ctx->data.str_val);
drivers/net/team/team_mode_loadbalance.c
348
if (!func)
drivers/net/team/team_mode_loadbalance.c
350
rcu_assign_pointer(lb_priv->select_tx_port_func, func);
drivers/net/team/team_mode_loadbalance.c
589
lb_select_tx_port_func_t *func;
drivers/net/team/team_mode_loadbalance.c
593
func = lb_select_tx_port_get_func("hash");
drivers/net/team/team_mode_loadbalance.c
594
BUG_ON(!func);
drivers/net/team/team_mode_loadbalance.c
595
rcu_assign_pointer(lb_priv->select_tx_port_func, func);
drivers/net/wan/hdlc.c
353
.func = hdlc_rcv,
drivers/net/wan/ixp4xx_hss.c
563
static inline void debug_pkt(struct net_device *dev, const char *func,
drivers/net/wan/ixp4xx_hss.c
569
printk(KERN_DEBUG "%s: %s(%i)", dev->name, func, len);
drivers/net/wan/lapbether.c
485
.func = lapbeth_rcv,
drivers/net/wireless/ath/ath10k/sdio.c
1083
u16 device = ar_sdio->func->device, dev_id_base, dev_id_chiprev;
drivers/net/wireless/ath/ath10k/sdio.c
136
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
1380
rtc_state = sdio_f0_readb(ar_sdio->func, ATH10K_CIS_RTC_STATE_ADDR, &ret);
drivers/net/wireless/ath/ath10k/sdio.c
1398
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
142
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
1443
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
145
ret = ath10k_sdio_func0_cmd52_rd_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
1521
static void ath10k_sdio_irq_handler(struct sdio_func *func)
drivers/net/wireless/ath/ath10k/sdio.c
1523
struct ath10k_sdio *ar_sdio = sdio_get_drvdata(func);
drivers/net/wireless/ath/ath10k/sdio.c
153
ret = ath10k_sdio_func0_cmd52_wr_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
1532
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1543
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1576
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
159
func->card,
drivers/net/wireless/ath/ath10k/sdio.c
1590
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
1592
ret = sdio_enable_func(func);
drivers/net/wireless/ath/ath10k/sdio.c
1595
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
1599
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
1629
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1631
ret = sdio_disable_func(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1634
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1638
ret = mmc_hw_reset(ar_sdio->func->card);
drivers/net/wireless/ath/ath10k/sdio.c
1642
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
167
ret = ath10k_sdio_func0_cmd52_wr_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
176
ret = ath10k_sdio_func0_cmd52_rd_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
182
ret = ath10k_sdio_func0_cmd52_wr_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
1884
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1887
ret = sdio_claim_irq(ar_sdio->func, ath10k_sdio_irq_handler);
drivers/net/wireless/ath/ath10k/sdio.c
1890
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1894
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
192
ret = ath10k_sdio_func0_cmd52_rd_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
1954
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1956
ret = sdio_release_irq(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
1960
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath10k/sdio.c
199
ret = ath10k_sdio_func0_cmd52_wr_byte(func->card,
drivers/net/wireless/ath/ath10k/sdio.c
204
func->enable_timeout = 100;
drivers/net/wireless/ath/ath10k/sdio.c
206
ret = sdio_set_block_size(func, ar_sdio->mbox_info.block_size);
drivers/net/wireless/ath/ath10k/sdio.c
214
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
2146
struct sdio_func *func = dev_to_sdio_func(device);
drivers/net/wireless/ath/ath10k/sdio.c
2147
struct ath10k_sdio *ar_sdio = sdio_get_drvdata(func);
drivers/net/wireless/ath/ath10k/sdio.c
2159
ret = sdio_set_host_pm_flags(func, pm_flag);
drivers/net/wireless/ath/ath10k/sdio.c
2161
pm_caps = sdio_get_host_pm_caps(func);
drivers/net/wireless/ath/ath10k/sdio.c
221
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
224
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
226
sdio_writel(func, val, addr, &ret);
drivers/net/wireless/ath/ath10k/sdio.c
237
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
245
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
2517
static int ath10k_sdio_probe(struct sdio_func *func,
drivers/net/wireless/ath/ath10k/sdio.c
2535
ar = ath10k_core_create(sizeof(*ar_sdio), &func->dev, ATH10K_BUS_SDIO,
drivers/net/wireless/ath/ath10k/sdio.c
2538
dev_err(&func->dev, "failed to allocate core\n");
drivers/net/wireless/ath/ath10k/sdio.c
2546
func->num, func->vendor, func->device,
drivers/net/wireless/ath/ath10k/sdio.c
2547
func->max_blksize, func->cur_blksize);
drivers/net/wireless/ath/ath10k/sdio.c
255
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
257
ret = sdio_writesb(func, addr, buf, sizeof(*buf));
drivers/net/wireless/ath/ath10k/sdio.c
2579
ar_sdio->func = func;
drivers/net/wireless/ath/ath10k/sdio.c
2580
sdio_set_drvdata(func, ar_sdio);
drivers/net/wireless/ath/ath10k/sdio.c
2645
static void ath10k_sdio_remove(struct sdio_func *func)
drivers/net/wireless/ath/ath10k/sdio.c
2647
struct ath10k_sdio *ar_sdio = sdio_get_drvdata(func);
drivers/net/wireless/ath/ath10k/sdio.c
2652
func->num, func->vendor, func->device);
drivers/net/wireless/ath/ath10k/sdio.c
268
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
278
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
281
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
282
*val = sdio_readl(func, addr, &ret);
drivers/net/wireless/ath/ath10k/sdio.c
293
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
301
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
304
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
306
ret = sdio_memcpy_fromio(func, buf, addr, len);
drivers/net/wireless/ath/ath10k/sdio.c
318
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
326
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
329
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
334
ret = sdio_memcpy_toio(func, addr, (void *)buf, len);
drivers/net/wireless/ath/ath10k/sdio.c
346
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
354
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath10k/sdio.c
357
sdio_claim_host(func);
drivers/net/wireless/ath/ath10k/sdio.c
361
ret = sdio_readsb(func, buf, addr, len);
drivers/net/wireless/ath/ath10k/sdio.c
373
sdio_release_host(func);
drivers/net/wireless/ath/ath10k/sdio.h
185
struct sdio_func *func;
drivers/net/wireless/ath/ath11k/dp_tx.h
28
void (*func)(struct ath11k_dp *, void *,
drivers/net/wireless/ath/ath12k/acpi.c
11
static int ath12k_acpi_dsm_get_data(struct ath12k_base *ab, int func)
drivers/net/wireless/ath/ath12k/acpi.c
23
obj = acpi_evaluate_dsm(root_handle, ab->hw_params->acpi_guid, 0, func,
drivers/net/wireless/ath/ath12k/acpi.c
32
switch (func) {
drivers/net/wireless/ath/ath12k/acpi.c
41
switch (func) {
drivers/net/wireless/ath/ath12k/acpi.c
59
switch (func) {
drivers/net/wireless/ath/ath6kl/sdio.c
109
static inline void ath6kl_sdio_set_cmd53_arg(u32 *arg, u8 rw, u8 func,
drivers/net/wireless/ath/ath6kl/sdio.c
114
((func & 0x7) << 28) |
drivers/net/wireless/ath/ath6kl/sdio.c
125
const u8 func = 0;
drivers/net/wireless/ath/ath6kl/sdio.c
128
((func & 0x7) << 28) |
drivers/net/wireless/ath/ath6kl/sdio.c
1306
static int ath6kl_sdio_probe(struct sdio_func *func,
drivers/net/wireless/ath/ath6kl/sdio.c
1316
func->num, func->vendor, func->device,
drivers/net/wireless/ath/ath6kl/sdio.c
1317
func->max_blksize, func->cur_blksize);
drivers/net/wireless/ath/ath6kl/sdio.c
1329
ar_sdio->func = func;
drivers/net/wireless/ath/ath6kl/sdio.c
1330
sdio_set_drvdata(func, ar_sdio);
drivers/net/wireless/ath/ath6kl/sdio.c
1351
ar = ath6kl_core_create(&ar_sdio->func->dev);
drivers/net/wireless/ath/ath6kl/sdio.c
1390
static void ath6kl_sdio_remove(struct sdio_func *func)
drivers/net/wireless/ath/ath6kl/sdio.c
1396
func->num, func->vendor, func->device);
drivers/net/wireless/ath/ath6kl/sdio.c
1398
ar_sdio = sdio_get_drvdata(func);
drivers/net/wireless/ath/ath6kl/sdio.c
150
static int ath6kl_sdio_io(struct sdio_func *func, u32 request, u32 addr,
drivers/net/wireless/ath/ath6kl/sdio.c
155
sdio_claim_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
168
ret = sdio_writesb(func, addr, buf, len);
drivers/net/wireless/ath/ath6kl/sdio.c
170
ret = sdio_memcpy_toio(func, addr, buf, len);
drivers/net/wireless/ath/ath6kl/sdio.c
173
ret = sdio_readsb(func, buf, addr, len);
drivers/net/wireless/ath/ath6kl/sdio.c
175
ret = sdio_memcpy_fromio(func, buf, addr, len);
drivers/net/wireless/ath/ath6kl/sdio.c
178
sdio_release_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
277
status = ath6kl_sdio_io(ar_sdio->func, scat_req->req,
drivers/net/wireless/ath/ath6kl/sdio.c
304
ath6kl_sdio_set_cmd53_arg(&cmd.arg, rw, ar_sdio->func->num,
drivers/net/wireless/ath/ath6kl/sdio.c
314
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
316
mmc_set_data_timeout(&data, ar_sdio->func->card);
drivers/net/wireless/ath/ath6kl/sdio.c
325
mmc_wait_for_req(ar_sdio->func->card->host, &mmc_req);
drivers/net/wireless/ath/ath6kl/sdio.c
327
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
34
struct sdio_func *func;
drivers/net/wireless/ath/ath6kl/sdio.c
434
ret = ath6kl_sdio_io(ar_sdio->func, request, addr, tbuf, len);
drivers/net/wireless/ath/ath6kl/sdio.c
479
static void ath6kl_sdio_irq_handler(struct sdio_func *func)
drivers/net/wireless/ath/ath6kl/sdio.c
486
ar_sdio = sdio_get_drvdata(func);
drivers/net/wireless/ath/ath6kl/sdio.c
492
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
495
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
506
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath6kl/sdio.c
514
sdio_claim_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
516
ret = sdio_enable_func(func);
drivers/net/wireless/ath/ath6kl/sdio.c
519
sdio_release_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
523
sdio_release_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
554
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
555
ret = sdio_disable_func(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
556
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
597
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
600
ret = sdio_claim_irq(ar_sdio->func, ath6kl_sdio_irq_handler);
drivers/net/wireless/ath/ath6kl/sdio.c
604
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
619
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
622
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
629
sdio_claim_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
632
ret = sdio_release_irq(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
636
sdio_release_host(ar_sdio->func);
drivers/net/wireless/ath/ath6kl/sdio.c
744
if (ar_sdio->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) {
drivers/net/wireless/ath/ath6kl/sdio.c
746
ar_sdio->func->card->host->max_segs,
drivers/net/wireless/ath/ath6kl/sdio.c
797
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath6kl/sdio.c
800
sdio_claim_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
804
ret = ath6kl_sdio_func0_cmd52_wr_byte(func->card,
drivers/net/wireless/ath/ath6kl/sdio.c
817
func->enable_timeout = 100;
drivers/net/wireless/ath/ath6kl/sdio.c
819
ret = sdio_set_block_size(func, HIF_MBOX_BLOCK_SIZE);
drivers/net/wireless/ath/ath6kl/sdio.c
827
sdio_release_host(func);
drivers/net/wireless/ath/ath6kl/sdio.c
835
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath6kl/sdio.c
839
flags = sdio_get_host_pm_caps(func);
drivers/net/wireless/ath/ath6kl/sdio.c
847
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/ath/ath6kl/sdio.c
854
ret = sdio_set_host_pm_flags(func, MMC_PM_WAKE_SDIO_IRQ);
drivers/net/wireless/ath/ath6kl/sdio.c
864
struct sdio_func *func = ar_sdio->func;
drivers/net/wireless/ath/ath6kl/sdio.c
892
flags = sdio_get_host_pm_caps(func);
drivers/net/wireless/ath/ath6kl/sdio.c
896
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/ath/ath6kl/sdio.c
907
ret = sdio_set_host_pm_flags(func,
drivers/net/wireless/ath/ath6kl/sdio.c
922
if (func->card && func->card->host)
drivers/net/wireless/ath/ath6kl/sdio.c
923
func->card->host->pm_flags &= ~MMC_PM_KEEP_POWER;
drivers/net/wireless/broadcom/b43/sdio.c
101
tuple = func->tuples;
drivers/net/wireless/broadcom/b43/sdio.c
111
dev_info(&func->dev, "Chip ID %04x:%04x\n",
drivers/net/wireless/broadcom/b43/sdio.c
128
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
129
error = sdio_set_block_size(func, B43_SDIO_BLOCK_SIZE);
drivers/net/wireless/broadcom/b43/sdio.c
131
dev_err(&func->dev, "failed to set block size to %u bytes,"
drivers/net/wireless/broadcom/b43/sdio.c
135
error = sdio_enable_func(func);
drivers/net/wireless/broadcom/b43/sdio.c
137
dev_err(&func->dev, "failed to enable func, error %d\n", error);
drivers/net/wireless/broadcom/b43/sdio.c
140
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
145
dev_err(&func->dev, "failed to allocate ssb bus\n");
drivers/net/wireless/broadcom/b43/sdio.c
148
error = ssb_bus_sdiobus_register(&sdio->ssb, func,
drivers/net/wireless/broadcom/b43/sdio.c
151
dev_err(&func->dev, "failed to register ssb sdio bus,"
drivers/net/wireless/broadcom/b43/sdio.c
155
sdio_set_drvdata(func, sdio);
drivers/net/wireless/broadcom/b43/sdio.c
162
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
163
sdio_disable_func(func);
drivers/net/wireless/broadcom/b43/sdio.c
165
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
170
static void b43_sdio_remove(struct sdio_func *func)
drivers/net/wireless/broadcom/b43/sdio.c
172
struct b43_sdio *sdio = sdio_get_drvdata(func);
drivers/net/wireless/broadcom/b43/sdio.c
175
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
176
sdio_disable_func(func);
drivers/net/wireless/broadcom/b43/sdio.c
177
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
179
sdio_set_drvdata(func, NULL);
drivers/net/wireless/broadcom/b43/sdio.c
49
static void b43_sdio_interrupt_dispatcher(struct sdio_func *func)
drivers/net/wireless/broadcom/b43/sdio.c
51
struct b43_sdio *sdio = sdio_get_drvdata(func);
drivers/net/wireless/broadcom/b43/sdio.c
57
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
59
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
66
struct sdio_func *func = bus->host_sdio;
drivers/net/wireless/broadcom/b43/sdio.c
67
struct b43_sdio *sdio = sdio_get_drvdata(func);
drivers/net/wireless/broadcom/b43/sdio.c
72
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
73
err = sdio_claim_irq(func, b43_sdio_interrupt_dispatcher);
drivers/net/wireless/broadcom/b43/sdio.c
74
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
82
struct sdio_func *func = bus->host_sdio;
drivers/net/wireless/broadcom/b43/sdio.c
83
struct b43_sdio *sdio = sdio_get_drvdata(func);
drivers/net/wireless/broadcom/b43/sdio.c
85
sdio_claim_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
86
sdio_release_irq(func);
drivers/net/wireless/broadcom/b43/sdio.c
87
sdio_release_host(func);
drivers/net/wireless/broadcom/b43/sdio.c
92
static int b43_sdio_probe(struct sdio_func *func,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1040
static int brcmf_ops_sdio_probe(struct sdio_func *func,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1048
dev_err(&func->dev, "Error no sdio_device_id passed for %x:%x\n", func->vendor, func->device);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1053
brcmf_dbg(SDIO, "Class=%x\n", func->class);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1054
brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1055
brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1056
brcmf_dbg(SDIO, "Function#: %d\n", func->num);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1059
func->card->quirks |= MMC_QUIRK_LENIENT_FN0;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1062
if (func->num == 1)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1066
if (func->num != 2)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1081
sdiodev->func1 = func->card->sdio_func[0];
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1082
sdiodev->func2 = func;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1088
dev_set_drvdata(&func->dev, bus_if);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1106
dev_set_drvdata(&func->dev, NULL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1113
static void brcmf_ops_sdio_remove(struct sdio_func *func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1119
brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1120
brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1121
brcmf_dbg(SDIO, "Function: %d\n", func->num);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1123
bus_if = dev_get_drvdata(&func->dev);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1130
if (func->num != 1)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1171
struct sdio_func *func;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1178
func = container_of(dev, struct sdio_func, dev);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1179
brcmf_dbg(SDIO, "Enter: F%d\n", func->num);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1180
if (func->num != 1)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1183
cap_power_off = !!(func->card->host->caps & MMC_CAP_POWER_OFF_CARD);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1219
struct sdio_func *func = container_of(dev, struct sdio_func, dev);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1221
bool cap_power_off = !!(func->card->host->caps & MMC_CAP_POWER_OFF_CARD);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1223
brcmf_dbg(SDIO, "Enter: F%d\n", func->num);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
1224
if (func->num != 2)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
285
struct sdio_func *func, u32 addr,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
295
switch (func->num) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
297
err = sdio_memcpy_fromio(func, ((u8 *)(skb->data)), addr,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
301
err = sdio_readsb(func, ((u8 *)(skb->data)), addr, req_sz);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
305
WARN(1, "invalid sdio function number: %d\n", func->num);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
316
struct sdio_func *func, u32 addr,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
326
err = sdio_memcpy_toio(func, addr, ((u8 *)(skb->data)), req_sz);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
338
struct sdio_func *func, int write)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
347
if (func->num == 1)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
350
mmc_set_data_timeout(md, func->card);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
351
mmc_wait_for_req(func->card->host, mr);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
378
struct sdio_func *func,
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
404
req_sz = ALIGN(req_sz, func->cur_blksize);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
423
func_blk_sz = func->cur_blksize;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
437
mmc_cmd.arg |= (func->num & 0x7) << 28; /* SDIO func num */
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
440
mmc_cmd.arg |= (func->num == 1) ? 1 << 26 : 0;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
472
&addr, sdiodev, func, write);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
484
&addr, sdiodev, func, write);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
744
int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
749
brcmf_sdiod_func0_wb(sdiodev, SDIO_CCCR_ABORT, func->num, NULL);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
757
struct sdio_func *func;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
763
func = sdiodev->func2;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
764
host = func->card->host;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
768
max_blocks * func->cur_blksize);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
82
static void brcmf_sdiod_ib_irqhandler(struct sdio_func *func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
84
struct brcmf_bus *bus_if = dev_get_drvdata(&func->dev);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
93
static void brcmf_sdiod_dummy_irqhandler(struct sdio_func *func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
460
void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
470
dev_err(bus->dev, "%s: %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
472
pr_err("%s: %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
479
void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
489
pr_debug("%s %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
490
trace_brcmf_dbg(level, func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
1426
if (drvr->bus_reset.func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
40
void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
73
void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c
375
if (fweh->event_work.func) {
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h
160
int func;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h
348
int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
15
void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
25
dev_err(bus->dev, "%s: %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
27
pr_err("%s: %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
28
trace_brcmf_err(func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
37
TP_PROTO(const char *func, struct va_format *vaf),
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
38
TP_ARGS(func, vaf),
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
40
__string(func, func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
44
__assign_str(func);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
47
TP_printk("%s: %s", __get_str(func), __get_str(msg))
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
51
TP_PROTO(u32 level, const char *func, struct va_format *vaf),
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
52
TP_ARGS(level, func, vaf),
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
55
__string(func, func)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
60
__assign_str(func);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h
63
TP_printk("%s: %s", __get_str(func), __get_str(msg))
drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h
65
TP_PROTO(u32 level, const char *func, struct va_format *vaf),
drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h
66
TP_ARGS(level, func, vaf),
drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h
69
__string(func, func)
drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h
74
__assign_str(func);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h
77
TP_printk("%s: %s", __get_str(func), __get_str(msg))
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c
229
void __brcms_dbg(struct device *dev, u32 level, const char *func,
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c
241
dev_err(dev, "%s %pV", func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c
243
trace_brcms_dbg(level, func, &vaf);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h
38
void __brcms_dbg(struct device *dev, u32 level, const char *func,
drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h
42
void __brcms_dbg(struct device *dev, u32 level, const char *func,
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
108
static int iwl_acpi_get_dsm_integer(struct device *dev, int rev, int func,
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
115
obj = iwl_acpi_get_dsm_object(dev, rev, func, NULL, guid);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
119
func);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
153
func, *value);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
189
for (int func = 1; func < ARRAY_SIZE(fwrt->dsm_values); func++) {
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
190
size_t expected_size = acpi_dsm_size[func];
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
193
if (!(query_func_val & BIT(func))) {
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
196
func);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
208
ret = iwl_acpi_get_dsm_integer(fwrt->dev, ACPI_DSM_REV, func,
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
217
fwrt->dsm_values[func] = (u32)tmp;
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
218
fwrt->dsm_funcs_valid |= BIT(func);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
230
enum iwl_dsm_funcs func, u32 *value)
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
249
if (WARN_ON(func >= ARRAY_SIZE(fwrt->dsm_values) || !func))
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
252
if (!(fwrt->dsm_funcs_valid & BIT(func))) {
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
254
func);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
258
*value = fwrt->dsm_values[func];
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
85
int func, union acpi_object *args,
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
90
obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), guid, rev, func,
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
95
rev, func);
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
144
int func, union acpi_object *args,
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
187
enum iwl_dsm_funcs func, u32 *value);
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
196
iwl_acpi_get_dsm_object(struct device *dev, int rev, int func,
drivers/net/wireless/intel/iwlwifi/fw/acpi.h
255
enum iwl_dsm_funcs func, u32 *value)
drivers/net/wireless/intel/iwlwifi/fw/regulatory.c
493
int iwl_bios_get_dsm(struct iwl_fw_runtime *fwrt, enum iwl_dsm_funcs func,
drivers/net/wireless/intel/iwlwifi/fw/regulatory.c
496
GET_BIOS_TABLE(dsm, fwrt, func, value);
drivers/net/wireless/intel/iwlwifi/fw/regulatory.h
223
int iwl_bios_get_dsm(struct iwl_fw_runtime *fwrt, enum iwl_dsm_funcs func,
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
754
for (int func = 1; func < ARRAY_SIZE(fwrt->dsm_values); func++) {
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
755
if (!(fwrt->dsm_funcs_valid & BIT(func))) {
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
757
func, fwrt->dsm_funcs_valid);
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
761
fwrt->dsm_values[func] = data->functions[func];
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
764
"UEFI: DSM func=%d: value=%d\n", func,
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
765
fwrt->dsm_values[func]);
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
774
int iwl_uefi_get_dsm(struct iwl_fw_runtime *fwrt, enum iwl_dsm_funcs func,
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
778
if (func >= DSM_FUNC_NUM_FUNCS || func == 5)
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
788
if (!(fwrt->dsm_funcs_valid & BIT(func))) {
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
790
func, fwrt->dsm_funcs_valid);
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
794
*value = fwrt->dsm_values[func];
drivers/net/wireless/intel/iwlwifi/fw/uefi.c
797
"UEFI: DSM func=%d: value=%d\n", func, *value);
drivers/net/wireless/intel/iwlwifi/fw/uefi.h
272
int iwl_uefi_get_dsm(struct iwl_fw_runtime *fwrt, enum iwl_dsm_funcs func,
drivers/net/wireless/intel/iwlwifi/fw/uefi.h
361
enum iwl_dsm_funcs func, u32 *value)
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
2205
int func = PCI_FUNC(pdev->devfn);
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
2207
if (func == 0)
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
2211
func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1000
sdio_writeb(card->func, HOST_POWER_UP, CONFIGURATION_REG, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
1004
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1014
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1016
sdio_writeb(card->func, 0, CONFIGURATION_REG, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
1020
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1035
reset_host = card->func->card->host;
drivers/net/wireless/marvell/libertas/if_sdio.c
1037
dev = &card->func->dev;
drivers/net/wireless/marvell/libertas/if_sdio.c
1074
pm_runtime_put_sync(&card->func->dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
1085
pm_runtime_get_sync(&card->func->dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
110
struct sdio_func *func;
drivers/net/wireless/marvell/libertas/if_sdio.c
1100
static void if_sdio_interrupt(struct sdio_func *func)
drivers/net/wireless/marvell/libertas/if_sdio.c
1106
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1108
cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
1114
sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
1134
static int if_sdio_probe(struct sdio_func *func,
drivers/net/wireless/marvell/libertas/if_sdio.c
1143
for (i = 0;i < func->card->num_info;i++) {
drivers/net/wireless/marvell/libertas/if_sdio.c
1144
if (sscanf(func->card->info[i],
drivers/net/wireless/marvell/libertas/if_sdio.c
1147
if (sscanf(func->card->info[i],
drivers/net/wireless/marvell/libertas/if_sdio.c
1150
if (!strcmp(func->card->info[i], "IBIS Wireless SDIO Card")) {
drivers/net/wireless/marvell/libertas/if_sdio.c
1156
if (i == func->card->num_info) {
drivers/net/wireless/marvell/libertas/if_sdio.c
1165
card->func = func;
drivers/net/wireless/marvell/libertas/if_sdio.c
1206
sdio_set_drvdata(func, card);
drivers/net/wireless/marvell/libertas/if_sdio.c
1210
func->class, func->vendor, func->device,
drivers/net/wireless/marvell/libertas/if_sdio.c
1214
priv = lbs_add_card(card, &func->dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
1230
priv->is_polling = !(func->card->host->caps & MMC_CAP_SDIO_IRQ);
drivers/net/wireless/marvell/libertas/if_sdio.c
1254
static void if_sdio_remove(struct sdio_func *func)
drivers/net/wireless/marvell/libertas/if_sdio.c
1259
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1262
pm_runtime_get_noresume(&func->dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
1297
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
1298
struct if_sdio_card *card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1302
mmc_pm_flag_t flags = sdio_get_host_pm_caps(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1317
sdio_func_id(func), flags);
drivers/net/wireless/marvell/libertas/if_sdio.c
1338
sdio_func_id(func));
drivers/net/wireless/marvell/libertas/if_sdio.c
1342
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/marvell/libertas/if_sdio.c
1350
return sdio_set_host_pm_flags(func, MMC_PM_WAKE_SDIO_IRQ);
drivers/net/wireless/marvell/libertas/if_sdio.c
1355
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
1356
struct if_sdio_card *card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
1359
dev_info(dev, "%s: resume: we're back\n", sdio_func_id(func));
drivers/net/wireless/marvell/libertas/if_sdio.c
149
scratch = sdio_readb(card->func, card->scratch_reg, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
151
scratch |= sdio_readb(card->func, card->scratch_reg + 1,
drivers/net/wireless/marvell/libertas/if_sdio.c
168
rx_unit = sdio_readb(card->func, IF_SDIO_RX_UNIT, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
188
rx_len = sdio_readb(card->func, IF_SDIO_RX_LEN, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
272
event = sdio_readb(card->func, IF_SDIO_EVENT, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
306
status = sdio_readb(card->func, IF_SDIO_STATUS, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
343
chunk = sdio_align_size(card->func, size);
drivers/net/wireless/marvell/libertas/if_sdio.c
345
ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk);
drivers/net/wireless/marvell/libertas/if_sdio.c
417
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
421
ret = sdio_writesb(card->func, card->ioport,
drivers/net/wireless/marvell/libertas/if_sdio.c
428
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
456
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
458
ret = sdio_set_block_size(card->func, 32);
drivers/net/wireless/marvell/libertas/if_sdio.c
47
static void if_sdio_interrupt(struct sdio_func *func);
drivers/net/wireless/marvell/libertas/if_sdio.c
482
ret = sdio_writesb(card->func, card->ioport,
drivers/net/wireless/marvell/libertas/if_sdio.c
493
ret = sdio_writesb(card->func, card->ioport, chunk_buffer, 64);
drivers/net/wireless/marvell/libertas/if_sdio.c
504
req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
508
req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, &ret) << 8;
drivers/net/wireless/marvell/libertas/if_sdio.c
526
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
552
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
554
ret = sdio_set_block_size(card->func, 32);
drivers/net/wireless/marvell/libertas/if_sdio.c
568
req_size = sdio_readb(card->func, IF_SDIO_RD_BASE,
drivers/net/wireless/marvell/libertas/if_sdio.c
573
req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1,
drivers/net/wireless/marvell/libertas/if_sdio.c
620
ret = sdio_writesb(card->func, card->ioport,
drivers/net/wireless/marvell/libertas/if_sdio.c
658
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
701
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
702
sdio_writeb(card->func, 0x00, IF_SDIO_H_INT_MASK, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
703
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
705
sdio_claim_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
707
sdio_release_host(card->func);
drivers/net/wireless/marvell/libertas/if_sdio.c
736
ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model,
drivers/net/wireless/marvell/libertas/if_sdio.c
750
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/libertas/if_sdio.c
754
sdio_claim_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
755
sdio_set_block_size(card->func, IF_SDIO_BLOCK_SIZE);
drivers/net/wireless/marvell/libertas/if_sdio.c
778
ret = sdio_claim_irq(func, if_sdio_interrupt);
drivers/net/wireless/marvell/libertas/if_sdio.c
785
sdio_writeb(func, 0x0f, IF_SDIO_H_INT_MASK, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
789
sdio_release_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
819
pm_runtime_put(&func->dev);
drivers/net/wireless/marvell/libertas/if_sdio.c
826
sdio_release_irq(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
828
sdio_release_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
833
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/libertas/if_sdio.c
834
struct mmc_host *host = func->card->host;
drivers/net/wireless/marvell/libertas/if_sdio.c
837
sdio_claim_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
839
ret = sdio_enable_func(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
851
func->card->quirks |= MMC_QUIRK_LENIENT_FN0;
drivers/net/wireless/marvell/libertas/if_sdio.c
852
reg = sdio_f0_readb(func, SDIO_CCCR_IF, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
857
sdio_f0_writeb(func, reg, SDIO_CCCR_IF, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
862
card->ioport = sdio_readb(func, IF_SDIO_IOPORT, &ret);
drivers/net/wireless/marvell/libertas/if_sdio.c
866
card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 1, &ret) << 8;
drivers/net/wireless/marvell/libertas/if_sdio.c
870
card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 2, &ret) << 16;
drivers/net/wireless/marvell/libertas/if_sdio.c
874
sdio_release_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
877
sdio_claim_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
884
sdio_disable_func(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
886
sdio_release_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
892
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/libertas/if_sdio.c
897
sdio_claim_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
898
sdio_release_irq(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
899
sdio_disable_func(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
900
sdio_release_host(func);
drivers/net/wireless/marvell/libertas/if_sdio.c
930
size = sdio_align_size(card->func, nb + 4);
drivers/net/wireless/marvell/libertas/if_sdio.c
998
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/scan.c
68
_dbg_security_flags(int log_level, const char *func, const char *desc,
drivers/net/wireless/marvell/mwifiex/scan.c
74
func, desc,
drivers/net/wireless/marvell/mwifiex/sdio.c
1031
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1033
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1292
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/mwifiex/sdio.c
1294
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1295
mwifiex_write_reg_locked(func, card->reg->host_int_mask_reg, 0);
drivers/net/wireless/marvell/mwifiex/sdio.c
1296
sdio_release_irq(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1297
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1340
mwifiex_sdio_interrupt(struct sdio_func *func)
drivers/net/wireless/marvell/mwifiex/sdio.c
1345
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1348
func, card, card ? card->adapter : NULL);
drivers/net/wireless/marvell/mwifiex/sdio.c
1369
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/mwifiex/sdio.c
1372
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1375
ret = sdio_claim_irq(func, mwifiex_sdio_interrupt);
drivers/net/wireless/marvell/mwifiex/sdio.c
1383
ret = mwifiex_write_reg_locked(func, card->reg->host_int_mask_reg,
drivers/net/wireless/marvell/mwifiex/sdio.c
1388
sdio_release_irq(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1392
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1471
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
1582
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2472
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2473
sdio_disable_func(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2474
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2487
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/mwifiex/sdio.c
2494
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2497
ret = sdio_set_block_size(card->func, MWIFIEX_SDIO_BLOCK_SIZE);
drivers/net/wireless/marvell/mwifiex/sdio.c
2498
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2549
sdio_set_drvdata(card->func, card);
drivers/net/wireless/marvell/mwifiex/sdio.c
2683
struct sdio_func *func = card->func;
drivers/net/wireless/marvell/mwifiex/sdio.c
2692
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2693
ret = mmc_hw_reset(func->card);
drivers/net/wireless/marvell/mwifiex/sdio.c
2694
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2698
dev_dbg(&func->dev, "SDIO HW reset asynchronous\n");
drivers/net/wireless/marvell/mwifiex/sdio.c
2704
dev_err(&func->dev, "reinit failed: %d\n", ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2707
dev_err(&func->dev, "SDIO HW reset failed: %d\n", ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2721
sdio_writeb(card->func, card->reg->fw_dump_host_ready,
drivers/net/wireless/marvell/mwifiex/sdio.c
2728
ctrl_data = sdio_readb(card->func, card->reg->fw_dump_ctrl,
drivers/net/wireless/marvell/mwifiex/sdio.c
2741
sdio_writeb(card->func, card->reg->fw_dump_host_ready,
drivers/net/wireless/marvell/mwifiex/sdio.c
2783
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2793
dump_num = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2810
read_reg = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2856
*dbg_ptr = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2880
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2903
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
2915
start_flag = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2951
*dbg_ptr = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
2994
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3058
u8 count, func, data, index = 0, size = 0;
drivers/net/wireless/marvell/mwifiex/sdio.c
3069
sdio_claim_host(cardp->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3078
func = count;
drivers/net/wireless/marvell/mwifiex/sdio.c
3084
func = count;
drivers/net/wireless/marvell/mwifiex/sdio.c
3090
func = 1;
drivers/net/wireless/marvell/mwifiex/sdio.c
3099
func = 1;
drivers/net/wireless/marvell/mwifiex/sdio.c
3106
func, reg_start, reg_end);
drivers/net/wireless/marvell/mwifiex/sdio.c
3108
ptr += sprintf(ptr, "SDIO Func%d: ", func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3111
if (func == 0)
drivers/net/wireless/marvell/mwifiex/sdio.c
3112
data = sdio_f0_readb(cardp->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
3114
data = sdio_readb(cardp->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
3135
sdio_release_host(cardp->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3150
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3151
sdio_enable_func(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3152
sdio_set_block_size(card->func, MWIFIEX_SDIO_BLOCK_SIZE);
drivers/net/wireless/marvell/mwifiex/sdio.c
3153
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
3167
dev_err(&card->func->dev, "error enabling SDIO port\n");
drivers/net/wireless/marvell/mwifiex/sdio.c
551
mwifiex_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id)
drivers/net/wireless/marvell/mwifiex/sdio.c
557
func->vendor, func->device, func->class, func->num);
drivers/net/wireless/marvell/mwifiex/sdio.c
559
card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL);
drivers/net/wireless/marvell/mwifiex/sdio.c
565
card->func = func;
drivers/net/wireless/marvell/mwifiex/sdio.c
567
func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
drivers/net/wireless/marvell/mwifiex/sdio.c
591
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
592
ret = sdio_enable_func(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
593
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
596
dev_err(&func->dev, "failed to enable function\n");
drivers/net/wireless/marvell/mwifiex/sdio.c
601
if (func->dev.of_node) {
drivers/net/wireless/marvell/mwifiex/sdio.c
602
ret = mwifiex_sdio_probe_of(&func->dev);
drivers/net/wireless/marvell/mwifiex/sdio.c
608
MWIFIEX_SDIO, &func->dev);
drivers/net/wireless/marvell/mwifiex/sdio.c
610
dev_err(&func->dev, "add card failed\n");
drivers/net/wireless/marvell/mwifiex/sdio.c
617
sdio_claim_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
618
sdio_disable_func(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
619
sdio_release_host(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
636
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/marvell/mwifiex/sdio.c
640
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
667
mwifiex_write_reg_locked(struct sdio_func *func, u32 reg, u8 data)
drivers/net/wireless/marvell/mwifiex/sdio.c
671
sdio_writeb(func, data, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
683
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
684
ret = mwifiex_write_reg_locked(card->func, reg, data);
drivers/net/wireless/marvell/mwifiex/sdio.c
685
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
699
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
700
val = sdio_readb(card->func, reg, &ret);
drivers/net/wireless/marvell/mwifiex/sdio.c
701
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
733
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
735
ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size);
drivers/net/wireless/marvell/mwifiex/sdio.c
737
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
757
sdio_claim_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
759
ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size);
drivers/net/wireless/marvell/mwifiex/sdio.c
762
sdio_release_host(card->func);
drivers/net/wireless/marvell/mwifiex/sdio.c
844
mwifiex_sdio_remove(struct sdio_func *func)
drivers/net/wireless/marvell/mwifiex/sdio.c
852
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
862
mwifiex_dbg(adapter, INFO, "info: SDIO func num=%d\n", func->num);
drivers/net/wireless/marvell/mwifiex/sdio.c
889
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/marvell/mwifiex/sdio.c
895
pm_flag = sdio_get_host_pm_caps(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
897
sdio_func_id(func), pm_flag);
drivers/net/wireless/marvell/mwifiex/sdio.c
900
" suspended\n", sdio_func_id(func));
drivers/net/wireless/marvell/mwifiex/sdio.c
904
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/mwifiex/sdio.c
935
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/marvell/mwifiex/sdio.c
946
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/marvell/mwifiex/sdio.c
949
card = sdio_get_drvdata(func);
drivers/net/wireless/marvell/mwifiex/sdio.h
229
struct sdio_func *func;
drivers/net/wireless/mediatek/mt76/mt76.h
1842
int mt76s_init(struct mt76_dev *dev, struct sdio_func *func,
drivers/net/wireless/mediatek/mt76/mt76.h
1847
void mt76s_sdio_irq(struct sdio_func *func);
drivers/net/wireless/mediatek/mt76/mt76.h
1850
int mt76s_hw_init(struct mt76_dev *dev, struct sdio_func *func,
drivers/net/wireless/mediatek/mt76/mt76.h
694
struct sdio_func *func;
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
107
ops = devm_kmemdup(&func->dev, &mt7615_ops, sizeof(mt7615_ops),
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
112
mdev = mt76_alloc_device(&func->dev, sizeof(*dev), ops, &drv_ops);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
121
sdio_set_drvdata(func, dev);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
123
ret = mt76s_init(mdev, func, &mt7663s_ops);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
127
ret = mt76s_hw_init(mdev, func, MT76_CONNAC_SDIO);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
172
static void mt7663s_remove(struct sdio_func *func)
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
174
struct mt7615_dev *dev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
186
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
187
struct mt7615_dev *mdev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
199
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
219
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
220
struct mt7615_dev *mdev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
59
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
60
err = sdio_readsb(sdio->func, irq_data, MCR_WHISR, sizeof(*irq_data));
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
61
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio.c
76
static int mt7663s_probe(struct sdio_func *func,
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
100
struct sdio_func *func = dev->mt76.sdio.func;
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
111
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
113
sdio_writel(func, WHLPCR_FW_OWN_REQ_SET, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
126
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
57
struct sdio_func *func = dev->mt76.sdio.func;
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
63
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
65
sdio_writel(func, WHLPCR_FW_OWN_REQ_CLR, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7615/sdio_mcu.c
78
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
82
int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func,
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
89
.id = cpu_to_le32(func),
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
94
if (func != Q_SELECT)
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h
94
int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func,
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
131
ops = mt792x_get_mac80211_ops(&func->dev, &mt7921_ops,
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
136
mdev = mt76_alloc_device(&func->dev, sizeof(*dev), ops, &drv_ops);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
143
sdio_set_drvdata(func, dev);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
145
ret = mt76s_init(mdev, func, &mt7921s_ops);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
149
ret = mt76s_hw_init(mdev, func, MT76_CONNAC2_SDIO);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
200
static void mt7921s_remove(struct sdio_func *func)
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
202
struct mt792x_dev *dev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
209
struct sdio_func *func = dev_to_sdio_func(__dev);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
210
struct mt792x_dev *dev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
256
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
285
struct sdio_func *func = dev_to_sdio_func(__dev);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
286
struct mt792x_dev *dev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
63
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
64
err = sdio_readsb(sdio->func, irq_data, MCR_WHISR, sizeof(*irq_data));
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
65
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio.c
88
static int mt7921s_probe(struct sdio_func *func,
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
102
struct mmc_host *sdio_host = msdio->func->card->host;
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
104
sdio_claim_host(msdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
105
sdio_release_irq(msdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
106
sdio_release_host(msdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
119
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
120
sdio_readl(dev->sdio.func, MCR_WHCR, &err);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
121
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
16
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
17
sdio_writel(sdio->func, WHLPCR_INT_EN_SET, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
18
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
25
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
26
sdio_writel(sdio->func, WHLPCR_INT_EN_CLR, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
27
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
32
return sdio_readl(dev->sdio.func, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
45
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
47
val = sdio_readl(sdio->func, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
49
sdio_writel(sdio->func, val, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
53
val = sdio_readl(sdio->func, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
55
sdio_writel(sdio->func, val, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
59
val = sdio_readl(sdio->func, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
61
sdio_writel(sdio->func, val, MCR_WHCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c
66
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
102
struct sdio_func *func = dev->mt76.sdio.func;
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
108
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
110
sdio_writel(func, WHLPCR_FW_OWN_REQ_CLR, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
120
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
138
struct sdio_func *func = dev->mt76.sdio.func;
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
144
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
157
sdio_writel(func, WHLPCR_FW_OWN_REQ_SET, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
162
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
58
return sdio_readl(sdio->func, MCR_D2HRM3R, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
66
val = sdio_readl(sdio->func, MCR_D2HRM3R, NULL);
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mcu.c
68
sdio_writel(sdio->func, H2D_SW_INT_CLEAR_MAILBOX_ACK,
drivers/net/wireless/mediatek/mt76/sdio.c
105
sdio_writel(func, val, MCR_H2DSM1R, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
112
sdio_writel(func, H2D_SW_INT_WRITE, MCR_WSICR, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
125
sdio_writel(func, H2D_SW_INT_WRITE, MCR_WHISR, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
131
val = sdio_readl(func, MCR_H2DSM0R, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
141
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
226
int mt76s_hw_init(struct mt76_dev *dev, struct sdio_func *func, int hw_ver)
drivers/net/wireless/mediatek/mt76/sdio.c
233
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
235
ret = sdio_enable_func(func);
drivers/net/wireless/mediatek/mt76/sdio.c
240
sdio_writel(func, WHLPCR_INT_EN_CLR | WHLPCR_FW_OWN_REQ_CLR,
drivers/net/wireless/mediatek/mt76/sdio.c
25
return sdio_readl(dev->sdio.func, MCR_WHISR, NULL);
drivers/net/wireless/mediatek/mt76/sdio.c
252
ret = sdio_set_block_size(func, 512);
drivers/net/wireless/mediatek/mt76/sdio.c
257
sdio_writel(func, WHLPCR_INT_EN_SET, MCR_WHLPCR, &ret);
drivers/net/wireless/mediatek/mt76/sdio.c
264
sdio_writel(func, ctrl, MCR_WHIER, &ret);
drivers/net/wireless/mediatek/mt76/sdio.c
274
ctrl = sdio_readl(func, MCR_WHCR, &ret);
drivers/net/wireless/mediatek/mt76/sdio.c
283
sdio_writel(func, ctrl, MCR_WHCR, &ret);
drivers/net/wireless/mediatek/mt76/sdio.c
287
ret = sdio_claim_irq(func, mt76s_sdio_irq);
drivers/net/wireless/mediatek/mt76/sdio.c
291
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
296
sdio_disable_func(func);
drivers/net/wireless/mediatek/mt76/sdio.c
298
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
32
return sdio_readl(sdio->func, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/sdio.c
38
struct sdio_func *func = dev->sdio.func;
drivers/net/wireless/mediatek/mt76/sdio.c
42
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
44
sdio_writel(func, offset, MCR_H2DSM0R, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
50
sdio_writel(func, H2D_SW_INT_READ, MCR_WSICR, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
614
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio.c
615
sdio_release_irq(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio.c
616
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio.c
63
sdio_writel(func, H2D_SW_INT_READ, MCR_WHISR, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
635
int mt76s_init(struct mt76_dev *dev, struct sdio_func *func,
drivers/net/wireless/mediatek/mt76/sdio.c
663
dev->sdio.func = func;
drivers/net/wireless/mediatek/mt76/sdio.c
665
host_max_cap = min_t(u32, func->card->host->max_req_size,
drivers/net/wireless/mediatek/mt76/sdio.c
666
func->cur_blksize *
drivers/net/wireless/mediatek/mt76/sdio.c
667
func->card->host->max_blk_count);
drivers/net/wireless/mediatek/mt76/sdio.c
69
val = sdio_readl(func, MCR_H2DSM0R, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
81
val = sdio_readl(func, MCR_D2HRM1R, &err);
drivers/net/wireless/mediatek/mt76/sdio.c
86
sdio_release_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
93
struct sdio_func *func = dev->sdio.func;
drivers/net/wireless/mediatek/mt76/sdio.c
97
sdio_claim_host(func);
drivers/net/wireless/mediatek/mt76/sdio.c
99
sdio_writel(func, offset, MCR_H2DSM0R, &err);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
100
if (len > sdio->func->cur_blksize)
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
101
len = roundup(len, sdio->func->cur_blksize);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
109
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
110
err = sdio_readsb(sdio->func, buf, MCR_WRDR(qid), len);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
111
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
231
if (len > sdio->func->cur_blksize)
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
232
len = roundup(len, sdio->func->cur_blksize);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
234
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
235
err = sdio_writesb(sdio->func, MCR_WTDR1, data, len);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
236
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
264
sdio->func->cur_blksize));
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
321
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
322
sdio_writel(sdio->func, WHLPCR_INT_EN_CLR, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
323
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
353
sdio_claim_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
354
sdio_writel(sdio->func, WHLPCR_INT_EN_SET, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
355
sdio_release_host(sdio->func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
359
void mt76s_sdio_irq(struct sdio_func *func)
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
361
struct mt76_dev *dev = sdio_get_drvdata(func);
drivers/net/wireless/mediatek/mt76/sdio_txrx.c
368
sdio_writel(sdio->func, WHLPCR_INT_EN_CLR, MCR_WHLPCR, NULL);
drivers/net/wireless/mediatek/mt7601u/mcu.c
156
enum mcu_function func, u32 val)
drivers/net/wireless/mediatek/mt7601u/mcu.c
163
.id = cpu_to_le32(func),
drivers/net/wireless/mediatek/mt7601u/mcu.c
170
return mt7601u_mcu_msg_send(dev, skb, CMD_FUN_SET_OP, func == 5);
drivers/net/wireless/microchip/wilc1000/sdio.c
1010
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
1011
struct wilc *wilc = sdio_get_drvdata(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
102
sdio_claim_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
1030
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/microchip/wilc1000/sdio.c
1035
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
1036
struct wilc *wilc = sdio_get_drvdata(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
104
func->num = cmd->function;
drivers/net/wireless/microchip/wilc1000/sdio.c
105
func->cur_blksize = cmd->block_size;
drivers/net/wireless/microchip/wilc1000/sdio.c
123
ret = sdio_memcpy_toio(func, cmd->address, buf, size);
drivers/net/wireless/microchip/wilc1000/sdio.c
125
ret = sdio_memcpy_fromio(func, buf, cmd->address, size);
drivers/net/wireless/microchip/wilc1000/sdio.c
131
sdio_release_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
134
dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
139
static int wilc_sdio_probe(struct sdio_func *func,
drivers/net/wireless/microchip/wilc1000/sdio.c
158
ret = wilc_cfg80211_init(&wilc, &func->dev, WILC_HIF_SDIO,
drivers/net/wireless/microchip/wilc1000/sdio.c
164
struct device_node *np = func->card->dev.of_node;
drivers/net/wireless/microchip/wilc1000/sdio.c
173
sdio_set_drvdata(func, wilc);
drivers/net/wireless/microchip/wilc1000/sdio.c
175
wilc->dev = &func->dev;
drivers/net/wireless/microchip/wilc1000/sdio.c
177
wilc->rtc_clk = devm_clk_get_optional_enabled(&func->card->dev, "rtc");
drivers/net/wireless/microchip/wilc1000/sdio.c
208
dev_info(&func->dev, "Driver Initializing success\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
223
static void wilc_sdio_remove(struct sdio_func *func)
drivers/net/wireless/microchip/wilc1000/sdio.c
225
struct wilc *wilc = sdio_get_drvdata(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
239
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
248
dev_err(&func->dev, "Fail cmd 52, reset cmd ...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
263
struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
266
sdio_claim_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
267
ret = sdio_claim_irq(func, wilc_sdio_interrupt);
drivers/net/wireless/microchip/wilc1000/sdio.c
268
sdio_release_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
271
dev_err(&func->dev, "can't claim sdio_irq, err(%d)\n", ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
279
struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
282
sdio_claim_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
283
ret = sdio_release_irq(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
285
dev_err(&func->dev, "can't release sdio_irq, err(%d)\n", ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
286
sdio_release_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
297
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
311
dev_err(&func->dev, "Failed cmd52, set %04x data...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
320
dev_err(&func->dev, "Failed cmd52, set %04x data...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
329
dev_err(&func->dev, "Failed cmd52, set %04x data...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
340
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
351
dev_err(&func->dev, "Failed cmd52, set %04x data...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
360
dev_err(&func->dev, "Failed cmd52, set %04x data...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
375
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
391
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
414
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
423
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
462
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
486
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
497
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
510
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
534
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
546
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
585
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
59
static void wilc_sdio_interrupt(struct sdio_func *func)
drivers/net/wireless/microchip/wilc1000/sdio.c
609
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
61
sdio_release_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
62
wilc_handle_isr(sdio_get_drvdata(func));
drivers/net/wireless/microchip/wilc1000/sdio.c
626
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
63
sdio_claim_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
640
dev_err(&func->dev, "Failed to disable functions interrupts\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
649
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
659
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
668
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
679
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
68
struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
694
dev_err(&func->dev, "Fail cmd 52, enable csa...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
703
dev_err(&func->dev, "Fail cmd 52, set func 0 block size...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
718
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
72
sdio_claim_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
735
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
74
func->num = cmd->function;
drivers/net/wireless/microchip/wilc1000/sdio.c
744
dev_err(&func->dev, "Fail func 1 is not ready...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
753
dev_err(&func->dev, "Fail set func 1 block size...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
767
dev_err(&func->dev, "Fail cmd 52, set IEN register...\n");
drivers/net/wireless/microchip/wilc1000/sdio.c
77
sdio_writeb(func, cmd->data, cmd->address, &ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
78
data = sdio_readb(func, cmd->address, &ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
802
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
81
sdio_writeb(func, cmd->data, cmd->address, &ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
834
dev_err(&func->dev, "Unexpected interrupt (1) int=%lx\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
84
data = sdio_readb(func, cmd->address, &ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
844
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
874
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
88
sdio_release_host(func);
drivers/net/wireless/microchip/wilc1000/sdio.c
906
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
91
dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret);
drivers/net/wireless/microchip/wilc1000/sdio.c
917
struct sdio_func *func = dev_to_sdio_func(wilc->dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
921
dev_err(&func->dev, "Too many interrupts (%d)...\n", nint);
drivers/net/wireless/microchip/wilc1000/sdio.c
934
dev_err(&func->dev, "Failed read reg (%08x)...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
941
dev_err(&func->dev, "Failed write reg (%08x)...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
951
dev_err(&func->dev, "Failed read reg (%08x)...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
960
dev_err(&func->dev, "Failed write reg (%08x)...\n",
drivers/net/wireless/microchip/wilc1000/sdio.c
967
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/sdio.c
97
struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev);
drivers/net/wireless/microchip/wilc1000/sdio.c
978
dev_err(&func->dev,
drivers/net/wireless/microchip/wilc1000/wlan.c
1003
ret = func->hif_write_reg(wilc, WILC_HOST_TX_CTRL, reg);
drivers/net/wireless/microchip/wilc1000/wlan.c
1087
ret = func->hif_clear_int_ext(wilc, ENABLE_TX_VMM);
drivers/net/wireless/microchip/wilc1000/wlan.c
1091
ret = func->hif_block_tx_ext(wilc, 0, txb, offset);
drivers/net/wireless/microchip/wilc1000/wlan.c
840
const struct wilc_hif_func *func;
drivers/net/wireless/microchip/wilc1000/wlan.c
920
func = wilc->hif_func;
drivers/net/wireless/microchip/wilc1000/wlan.c
922
ret = func->hif_read_reg(wilc, WILC_HOST_TX_CTRL, &reg);
drivers/net/wireless/microchip/wilc1000/wlan.c
934
ret = func->hif_write_reg(wilc, WILC_HOST_TX_CTRL, 0);
drivers/net/wireless/microchip/wilc1000/wlan.c
944
ret = func->hif_block_tx(wilc,
drivers/net/wireless/microchip/wilc1000/wlan.c
952
ret = func->hif_write_reg(wilc, WILC_HOST_VMM_CTL, 0x2);
drivers/net/wireless/microchip/wilc1000/wlan.c
957
ret = func->hif_read_reg(wilc, WILC_HOST_VMM_CTL, &reg);
drivers/net/wireless/microchip/wilc1000/wlan.c
966
ret = func->hif_write_reg(wilc, WILC_HOST_VMM_CTL, 0);
drivers/net/wireless/microchip/wilc1000/wlan.c
971
ret = func->hif_write_reg(wilc, WILC_CORTUS_INTERRUPT_BASE, 1);
drivers/net/wireless/microchip/wilc1000/wlan.c
976
ret = func->hif_read_reg(wilc, WILC_CORTUS_INTERRUPT_BASE, &reg);
drivers/net/wireless/microchip/wilc1000/wlan.c
981
ret = func->hif_read_reg(wilc, WILC_HOST_VMM_CTL, &reg);
drivers/net/wireless/microchip/wilc1000/wlan.c
991
ret = func->hif_write_reg(wilc, WILC_HOST_VMM_CTL, 0x0);
drivers/net/wireless/microchip/wilc1000/wlan.c
999
ret = func->hif_read_reg(wilc, WILC_HOST_TX_CTRL, &reg);
drivers/net/wireless/microchip/wilc1000/wlan.h
461
u32 buffer_size, void (*func)(void *, int));
drivers/net/wireless/realtek/rtw88/rtw8822c.c
3681
u8 (*func)(struct rtw_dev *rtwdev, struct rtw8822c_dpk_data *data);
drivers/net/wireless/realtek/rtw88/rtw8822c.c
3689
func = dpk_state[state];
drivers/net/wireless/realtek/rtw88/rtw8822c.c
3690
state = func(rtwdev, &data);
drivers/net/wireless/realtek/rtw88/sdio.c
1099
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/realtek/rtw88/sdio.c
1104
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/realtek/rtw89/acpi.c
372
enum rtw89_acpi_dsm_func func,
drivers/net/wireless/realtek/rtw89/acpi.c
379
0, func, NULL);
drivers/net/wireless/realtek/rtw89/acpi.c
382
"acpi dsm fail to evaluate func: %d\n", func);
drivers/net/wireless/realtek/rtw89/acpi.c
386
if (func == RTW89_ACPI_DSM_FUNC_6G_BP)
drivers/net/wireless/realtek/rtw89/acpi.c
389
else if (func == RTW89_ACPI_DSM_FUNC_6GHZ_SP_SUP)
drivers/net/wireless/realtek/rtw89/acpi.c
392
else if (func == RTW89_ACPI_DSM_FUNC_6GHZ_VLP_SUP)
drivers/net/wireless/realtek/rtw89/acpi.c
395
else if (func == RTW89_ACPI_DSM_FUNC_TAS_EN)
drivers/net/wireless/realtek/rtw89/acpi.c
397
else if (func == RTW89_ACPI_DSM_FUNC_REG_RULES_EN)
drivers/net/wireless/realtek/rtw89/acpi.h
288
enum rtw89_acpi_dsm_func func,
drivers/net/wireless/realtek/rtw89/coex.c
8683
static u8 rtw89_btc_c2h_get_index_by_ver(struct rtw89_dev *rtwdev, u8 func)
drivers/net/wireless/realtek/rtw89/coex.c
8688
switch (func) {
drivers/net/wireless/realtek/rtw89/coex.c
8695
return func;
drivers/net/wireless/realtek/rtw89/coex.c
8707
return func;
drivers/net/wireless/realtek/rtw89/coex.c
8718
return func;
drivers/net/wireless/realtek/rtw89/coex.c
8725
return func;
drivers/net/wireless/realtek/rtw89/coex.c
8732
return func;
drivers/net/wireless/realtek/rtw89/coex.c
8742
u32 len, u8 class, u8 func)
drivers/net/wireless/realtek/rtw89/coex.c
8752
__func__, len, class, func);
drivers/net/wireless/realtek/rtw89/coex.c
8757
func = rtw89_btc_c2h_get_index_by_ver(rtwdev, func);
drivers/net/wireless/realtek/rtw89/coex.c
8760
switch (func) {
drivers/net/wireless/realtek/rtw89/coex.c
8762
pfwinfo->event[func]++;
drivers/net/wireless/realtek/rtw89/coex.c
8765
pfwinfo->event[func]++;
drivers/net/wireless/realtek/rtw89/coex.c
8767
btc_fw_event(rtwdev, func, buf, len);
drivers/net/wireless/realtek/rtw89/coex.h
291
u32 len, u8 class, u8 func);
drivers/net/wireless/realtek/rtw89/fw.c
1565
u8 type, u8 cat, u8 class, u8 func,
drivers/net/wireless/realtek/rtw89/fw.c
1578
FIELD_PREP(H2C_HDR_FUNC, func) |
drivers/net/wireless/realtek/rtw89/fw.c
1591
u8 type, u8 cat, u8 class, u8 func,
drivers/net/wireless/realtek/rtw89/fw.c
1601
FIELD_PREP(H2C_HDR_FUNC, func) |
drivers/net/wireless/realtek/rtw89/fw.c
7792
u8 func = attr->func;
drivers/net/wireless/realtek/rtw89/fw.c
7795
"C2H cate=%u cls=%u func=%u is dummy\n", category, class, func);
drivers/net/wireless/realtek/rtw89/fw.c
7805
attr->func = le32_get_bits(hdr->w0, RTW89_C2H_HDR_W0_FUNC);
drivers/net/wireless/realtek/rtw89/fw.c
7815
u8 func = attr->func;
drivers/net/wireless/realtek/rtw89/fw.c
7821
return rtw89_mac_c2h_chk_atomic(rtwdev, c2h, class, func);
drivers/net/wireless/realtek/rtw89/fw.c
7823
return rtw89_phy_c2h_chk_atomic(rtwdev, class, func);
drivers/net/wireless/realtek/rtw89/fw.c
7848
u8 func = attr->func;
drivers/net/wireless/realtek/rtw89/fw.c
7859
rtw89_mac_c2h_handle(rtwdev, skb, len, class, func);
drivers/net/wireless/realtek/rtw89/fw.c
7861
func == RTW89_MAC_C2H_FUNC_C2H_LOG)
drivers/net/wireless/realtek/rtw89/fw.c
7867
rtw89_btc_c2h_handle(rtwdev, skb, len, class, func);
drivers/net/wireless/realtek/rtw89/fw.c
7869
rtw89_phy_c2h_handle(rtwdev, skb, len, class, func);
drivers/net/wireless/realtek/rtw89/fw.h
3801
u8 func;
drivers/net/wireless/realtek/rtw89/fw.h
4535
#define RTW89_WOW_WAIT_COND(tag, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4536
((tag) * NUM_OF_RTW89_WOW_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
4553
#define RTW89_PS_WAIT_COND(tag, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4554
((tag) * NUM_OF_RTW89_PS_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
4605
#define RTW89_FW_OFLD_WAIT_COND(tag, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4606
((tag) * NUM_OF_RTW89_FW_OFLD_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
4646
#define RTW89_MCC_WAIT_COND(group, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4647
((group) * NUM_OF_RTW89_MCC_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
4666
#define RTW89_MLO_WAIT_COND(macid, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4667
((macid) * NUM_OF_RTW89_MLO_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
4684
#define RTW89_MRC_WAIT_COND(sch_idx, func) \
drivers/net/wireless/realtek/rtw89/fw.h
4685
((sch_idx) * NUM_OF_RTW89_MRC_H2C_FUNC + (func))
drivers/net/wireless/realtek/rtw89/fw.h
5184
u8 type, u8 cat, u8 class, u8 func,
drivers/net/wireless/realtek/rtw89/mac.c
5500
u8 func = RTW89_GET_MAC_C2H_MCC_RCV_ACK_H2C_FUNC(c2h->data);
drivers/net/wireless/realtek/rtw89/mac.c
5502
switch (func) {
drivers/net/wireless/realtek/rtw89/mac.c
5515
"invalid MCC C2H RCV ACK: func %d\n", func);
drivers/net/wireless/realtek/rtw89/mac.c
5520
"MCC C2H RCV ACK: group %d, func %d\n", group, func);
drivers/net/wireless/realtek/rtw89/mac.c
5527
u8 func = RTW89_GET_MAC_C2H_MCC_REQ_ACK_H2C_FUNC(c2h->data);
drivers/net/wireless/realtek/rtw89/mac.c
5533
switch (func) {
drivers/net/wireless/realtek/rtw89/mac.c
5548
"invalid MCC C2H REQ ACK: func %d\n", func);
drivers/net/wireless/realtek/rtw89/mac.c
5554
group, func, retcode);
drivers/net/wireless/realtek/rtw89/mac.c
5560
cond = RTW89_MCC_WAIT_COND(group, func);
drivers/net/wireless/realtek/rtw89/mac.c
5601
u8 func;
drivers/net/wireless/realtek/rtw89/mac.c
5606
func = H2C_FUNC_ADD_MCC;
drivers/net/wireless/realtek/rtw89/mac.c
5611
func = H2C_FUNC_START_MCC;
drivers/net/wireless/realtek/rtw89/mac.c
5616
func = H2C_FUNC_STOP_MCC;
drivers/net/wireless/realtek/rtw89/mac.c
5621
func = H2C_FUNC_DEL_MCC_GROUP;
drivers/net/wireless/realtek/rtw89/mac.c
5626
func = H2C_FUNC_RESET_MCC_GROUP;
drivers/net/wireless/realtek/rtw89/mac.c
5655
cond = RTW89_MCC_WAIT_COND(group, func);
drivers/net/wireless/realtek/rtw89/mac.c
5816
u8 func;
drivers/net/wireless/realtek/rtw89/mac.c
5826
func = H2C_FUNC_START_MRC;
drivers/net/wireless/realtek/rtw89/mac.c
5830
func = H2C_FUNC_DEL_MRC;
drivers/net/wireless/realtek/rtw89/mac.c
5834
func = H2C_FUNC_DEL_MRC;
drivers/net/wireless/realtek/rtw89/mac.c
5889
cond = RTW89_MRC_WAIT_COND(sch_idx, func);
drivers/net/wireless/realtek/rtw89/mac.c
6026
u8 class, u8 func)
drivers/net/wireless/realtek/rtw89/mac.c
6032
switch (func) {
drivers/net/wireless/realtek/rtw89/mac.c
6040
switch (func) {
drivers/net/wireless/realtek/rtw89/mac.c
6060
switch (func) {
drivers/net/wireless/realtek/rtw89/mac.c
6070
u32 len, u8 class, u8 func)
drivers/net/wireless/realtek/rtw89/mac.c
6077
if (func < RTW89_MAC_C2H_FUNC_INFO_MAX)
drivers/net/wireless/realtek/rtw89/mac.c
6078
handler = rtw89_mac_c2h_info_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6081
if (func < RTW89_MAC_C2H_FUNC_OFLD_MAX)
drivers/net/wireless/realtek/rtw89/mac.c
6082
handler = rtw89_mac_c2h_ofld_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6085
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_MCC)
drivers/net/wireless/realtek/rtw89/mac.c
6086
handler = rtw89_mac_c2h_mcc_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6089
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_MISC)
drivers/net/wireless/realtek/rtw89/mac.c
6090
handler = rtw89_mac_c2h_misc_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6093
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_MLO)
drivers/net/wireless/realtek/rtw89/mac.c
6094
handler = rtw89_mac_c2h_mlo_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6097
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_MRC)
drivers/net/wireless/realtek/rtw89/mac.c
6098
handler = rtw89_mac_c2h_mrc_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6101
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_WOW)
drivers/net/wireless/realtek/rtw89/mac.c
6102
handler = rtw89_mac_c2h_wow_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6105
if (func < NUM_OF_RTW89_MAC_C2H_FUNC_AP)
drivers/net/wireless/realtek/rtw89/mac.c
6106
handler = rtw89_mac_c2h_ap_handler[func];
drivers/net/wireless/realtek/rtw89/mac.c
6116
class, func);
drivers/net/wireless/realtek/rtw89/mac.h
1341
u8 class, u8 func);
drivers/net/wireless/realtek/rtw89/mac.h
1343
u32 len, u8 class, u8 func);
drivers/net/wireless/realtek/rtw89/phy.c
3456
enum rtw89_phy_c2h_rfk_log_func func,
drivers/net/wireless/realtek/rtw89/phy.c
3469
switch (func) {
drivers/net/wireless/realtek/rtw89/phy.c
3746
"unexpected RFK func %d report log with length %d\n", func, len);
drivers/net/wireless/realtek/rtw89/phy.c
3750
enum rtw89_phy_c2h_rfk_log_func func,
drivers/net/wireless/realtek/rtw89/phy.c
3765
elm = elm_info->rfk_log_fmt->elm[func];
drivers/net/wireless/realtek/rtw89/phy.c
3782
u32 len, enum rtw89_phy_c2h_rfk_log_func func,
drivers/net/wireless/realtek/rtw89/phy.c
3805
handled = rtw89_phy_c2h_rfk_run_log(rtwdev, func,
drivers/net/wireless/realtek/rtw89/phy.c
3814
rtw89_phy_c2h_rfk_rpt_log(rtwdev, func,
drivers/net/wireless/realtek/rtw89/phy.c
3978
bool rtw89_phy_c2h_chk_atomic(struct rtw89_dev *rtwdev, u8 class, u8 func)
drivers/net/wireless/realtek/rtw89/phy.c
3982
switch (func) {
drivers/net/wireless/realtek/rtw89/phy.c
3995
switch (func) {
drivers/net/wireless/realtek/rtw89/phy.c
4007
u32 len, u8 class, u8 func)
drivers/net/wireless/realtek/rtw89/phy.c
4014
if (func < ARRAY_SIZE(rtw89_phy_c2h_ra_handler))
drivers/net/wireless/realtek/rtw89/phy.c
4015
handler = rtw89_phy_c2h_ra_handler[func];
drivers/net/wireless/realtek/rtw89/phy.c
4018
if (func < ARRAY_SIZE(rtw89_phy_c2h_rfk_log_handler))
drivers/net/wireless/realtek/rtw89/phy.c
4019
handler = rtw89_phy_c2h_rfk_log_handler[func];
drivers/net/wireless/realtek/rtw89/phy.c
4022
if (func < ARRAY_SIZE(rtw89_phy_c2h_rfk_report_handler))
drivers/net/wireless/realtek/rtw89/phy.c
4023
handler = rtw89_phy_c2h_rfk_report_handler[func];
drivers/net/wireless/realtek/rtw89/phy.c
4026
if (func < ARRAY_SIZE(rtw89_phy_c2h_dm_handler))
drivers/net/wireless/realtek/rtw89/phy.c
4027
handler = rtw89_phy_c2h_dm_handler[func];
drivers/net/wireless/realtek/rtw89/phy.c
4034
class, func);
drivers/net/wireless/realtek/rtw89/phy.h
1008
bool rtw89_phy_c2h_chk_atomic(struct rtw89_dev *rtwdev, u8 class, u8 func);
drivers/net/wireless/realtek/rtw89/phy.h
1010
u32 len, u8 class, u8 func);
drivers/net/wireless/realtek/rtw89/rtw8851b.c
833
static void rtw8851b_set_mac_gpio(struct rtw89_dev *rtwdev, u8 func)
drivers/net/wireless/realtek/rtw89/rtw8851b.c
843
switch (func) {
drivers/net/wireless/realtek/rtw89/rtw8851b.c
851
rtw89_warn(rtwdev, "undefined gpio func %d\n", func);
drivers/net/wireless/rsi/rsi_91x_sdio.c
113
static int rsi_issue_sdiocommand(struct sdio_func *func,
drivers/net/wireless/rsi/rsi_91x_sdio.c
123
host = func->card->host;
drivers/net/wireless/rsi/rsi_91x_sdio.c
1250
struct sdio_func *func = dev->pfunction;
drivers/net/wireless/rsi/rsi_91x_sdio.c
1253
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/rsi/rsi_91x_sdio.c
40
u8 func,
drivers/net/wireless/rsi/rsi_91x_sdio.c
45
return ((rw & 1) << 31) | ((func & 0x7) << 28) |
drivers/net/wireless/silabs/wfx/bus_sdio.c
105
sdio_release_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
108
static void wfx_sdio_irq_handler(struct sdio_func *func)
drivers/net/wireless/silabs/wfx/bus_sdio.c
110
struct wfx_sdio_priv *bus = sdio_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
119
sdio_claim_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
121
sdio_release_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
133
sdio_claim_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
134
ret = sdio_claim_irq(bus->func, wfx_sdio_irq_handler);
drivers/net/wireless/silabs/wfx/bus_sdio.c
135
sdio_release_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
143
ret = devm_request_threaded_irq(&bus->func->dev, bus->of_irq, NULL,
drivers/net/wireless/silabs/wfx/bus_sdio.c
147
sdio_claim_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
148
cccr = sdio_f0_readb(bus->func, SDIO_CCCR_IENx, NULL);
drivers/net/wireless/silabs/wfx/bus_sdio.c
150
cccr |= BIT(bus->func->num);
drivers/net/wireless/silabs/wfx/bus_sdio.c
151
sdio_f0_writeb(bus->func, cccr, SDIO_CCCR_IENx, NULL);
drivers/net/wireless/silabs/wfx/bus_sdio.c
152
sdio_release_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
162
devm_free_irq(&bus->func->dev, bus->of_irq, bus);
drivers/net/wireless/silabs/wfx/bus_sdio.c
163
sdio_claim_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
164
ret = sdio_release_irq(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
165
sdio_release_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
173
return sdio_align_size(bus->func, size);
drivers/net/wireless/silabs/wfx/bus_sdio.c
180
device_set_wakeup_enable(&bus->func->dev, enabled);
drivers/net/wireless/silabs/wfx/bus_sdio.c
205
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/silabs/wfx/bus_sdio.c
206
struct wfx_sdio_priv *bus = sdio_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
221
ret = sdio_set_host_pm_flags(func, MMC_PM_WAKE_SDIO_IRQ);
drivers/net/wireless/silabs/wfx/bus_sdio.c
225
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/silabs/wfx/bus_sdio.c
230
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/silabs/wfx/bus_sdio.c
231
struct wfx_sdio_priv *bus = sdio_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
241
static int wfx_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id)
drivers/net/wireless/silabs/wfx/bus_sdio.c
243
const struct wfx_platform_data *pdata = of_device_get_match_data(&func->dev);
drivers/net/wireless/silabs/wfx/bus_sdio.c
244
mmc_pm_flag_t pm_flag = sdio_get_host_pm_caps(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
245
struct device_node *np = func->dev.of_node;
drivers/net/wireless/silabs/wfx/bus_sdio.c
249
if (func->num != 1) {
drivers/net/wireless/silabs/wfx/bus_sdio.c
250
dev_err(&func->dev, "SDIO function number is %d while it should always be 1 (unsupported chip?)\n",
drivers/net/wireless/silabs/wfx/bus_sdio.c
251
func->num);
drivers/net/wireless/silabs/wfx/bus_sdio.c
256
dev_warn(&func->dev, "no compatible device found in DT\n");
drivers/net/wireless/silabs/wfx/bus_sdio.c
260
bus = devm_kzalloc(&func->dev, sizeof(*bus), GFP_KERNEL);
drivers/net/wireless/silabs/wfx/bus_sdio.c
264
bus->func = func;
drivers/net/wireless/silabs/wfx/bus_sdio.c
266
sdio_set_drvdata(func, bus);
drivers/net/wireless/silabs/wfx/bus_sdio.c
268
sdio_claim_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
269
ret = sdio_enable_func(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
271
sdio_set_block_size(func, 64);
drivers/net/wireless/silabs/wfx/bus_sdio.c
272
sdio_release_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
276
bus->core = wfx_init_common(&func->dev, pdata, &wfx_sdio_hwbus_ops, bus);
drivers/net/wireless/silabs/wfx/bus_sdio.c
287
device_set_wakeup_capable(&func->dev, true);
drivers/net/wireless/silabs/wfx/bus_sdio.c
292
sdio_claim_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
293
sdio_disable_func(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
294
sdio_release_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
298
static void wfx_sdio_remove(struct sdio_func *func)
drivers/net/wireless/silabs/wfx/bus_sdio.c
300
struct wfx_sdio_priv *bus = sdio_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
303
sdio_claim_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
304
sdio_disable_func(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
305
sdio_release_host(func);
drivers/net/wireless/silabs/wfx/bus_sdio.c
46
struct sdio_func *func;
drivers/net/wireless/silabs/wfx/bus_sdio.c
66
ret = sdio_memcpy_fromio(bus->func, dst, sdio_addr, count);
drivers/net/wireless/silabs/wfx/bus_sdio.c
87
ret = sdio_memcpy_toio(bus->func, sdio_addr, (void *)src, count);
drivers/net/wireless/silabs/wfx/bus_sdio.c
98
sdio_claim_host(bus->func);
drivers/net/wireless/silabs/wfx/bus_spi.c
132
ret = spi_sync(bus->func, &m);
drivers/net/wireless/silabs/wfx/bus_spi.c
161
flags = irq_get_trigger_type(bus->func->irq);
drivers/net/wireless/silabs/wfx/bus_spi.c
165
return devm_request_threaded_irq(&bus->func->dev, bus->func->irq, NULL,
drivers/net/wireless/silabs/wfx/bus_spi.c
173
devm_free_irq(&bus->func->dev, bus->func->irq, bus);
drivers/net/wireless/silabs/wfx/bus_spi.c
187
device_set_wakeup_enable(&bus->func->dev, enabled);
drivers/net/wireless/silabs/wfx/bus_spi.c
203
struct spi_device *func = to_spi_device(dev);
drivers/net/wireless/silabs/wfx/bus_spi.c
204
struct wfx_spi_priv *bus = spi_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_spi.c
209
return enable_irq_wake(func->irq);
drivers/net/wireless/silabs/wfx/bus_spi.c
214
struct spi_device *func = to_spi_device(dev);
drivers/net/wireless/silabs/wfx/bus_spi.c
218
return disable_irq_wake(func->irq);
drivers/net/wireless/silabs/wfx/bus_spi.c
221
static int wfx_spi_probe(struct spi_device *func)
drivers/net/wireless/silabs/wfx/bus_spi.c
227
if (!func->bits_per_word)
drivers/net/wireless/silabs/wfx/bus_spi.c
228
func->bits_per_word = 16;
drivers/net/wireless/silabs/wfx/bus_spi.c
229
ret = spi_setup(func);
drivers/net/wireless/silabs/wfx/bus_spi.c
232
pdata = (struct wfx_platform_data *)spi_get_device_id(func)->driver_data;
drivers/net/wireless/silabs/wfx/bus_spi.c
234
dev_err(&func->dev, "unable to retrieve driver data (please report)\n");
drivers/net/wireless/silabs/wfx/bus_spi.c
239
dev_dbg(&func->dev, "SPI params: CS=%d, mode=%d bits/word=%d speed=%d\n",
drivers/net/wireless/silabs/wfx/bus_spi.c
240
spi_get_chipselect(func, 0), func->mode, func->bits_per_word, func->max_speed_hz);
drivers/net/wireless/silabs/wfx/bus_spi.c
241
if (func->bits_per_word != 16 && func->bits_per_word != 8)
drivers/net/wireless/silabs/wfx/bus_spi.c
242
dev_warn(&func->dev, "unusual bits/word value: %d\n", func->bits_per_word);
drivers/net/wireless/silabs/wfx/bus_spi.c
243
if (func->max_speed_hz > 50000000)
drivers/net/wireless/silabs/wfx/bus_spi.c
244
dev_warn(&func->dev, "%dHz is a very high speed\n", func->max_speed_hz);
drivers/net/wireless/silabs/wfx/bus_spi.c
246
bus = devm_kzalloc(&func->dev, sizeof(*bus), GFP_KERNEL);
drivers/net/wireless/silabs/wfx/bus_spi.c
249
bus->func = func;
drivers/net/wireless/silabs/wfx/bus_spi.c
250
if (func->bits_per_word == 8 || IS_ENABLED(CONFIG_CPU_BIG_ENDIAN))
drivers/net/wireless/silabs/wfx/bus_spi.c
252
spi_set_drvdata(func, bus);
drivers/net/wireless/silabs/wfx/bus_spi.c
254
bus->gpio_reset = devm_gpiod_get_optional(&func->dev, "reset", GPIOD_OUT_LOW);
drivers/net/wireless/silabs/wfx/bus_spi.c
258
dev_warn(&func->dev, "gpio reset is not defined, trying to load firmware anyway\n");
drivers/net/wireless/silabs/wfx/bus_spi.c
267
bus->core = wfx_init_common(&func->dev, pdata, &wfx_spi_hwbus_ops, bus);
drivers/net/wireless/silabs/wfx/bus_spi.c
275
device_set_wakeup_capable(&func->dev, true);
drivers/net/wireless/silabs/wfx/bus_spi.c
279
static void wfx_spi_remove(struct spi_device *func)
drivers/net/wireless/silabs/wfx/bus_spi.c
281
struct wfx_spi_priv *bus = spi_get_drvdata(func);
drivers/net/wireless/silabs/wfx/bus_spi.c
52
struct spi_device *func;
drivers/net/wireless/silabs/wfx/bus_spi.c
90
ret = spi_sync(bus->func, &m);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
117
cccr = sdio_f0_readb(self->func, SDIO_CCCR_IENx, &ret);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
125
cccr |= BIT(self->func->num);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
127
sdio_f0_writeb(self->func, cccr, SDIO_CCCR_IENx, &ret);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
154
sdio_claim_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
158
ret = sdio_claim_irq(self->func, cw1200_sdio_irq_handler);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
160
sdio_release_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
174
sdio_claim_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
175
ret = sdio_release_irq(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
176
sdio_release_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
254
size = sdio_align_size(self->func, size);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
278
static int cw1200_sdio_probe(struct sdio_func *func,
drivers/net/wireless/st/cw1200/cw1200_sdio.c
287
if (func->num != 0x01)
drivers/net/wireless/st/cw1200/cw1200_sdio.c
296
func->card->quirks |= MMC_QUIRK_LENIENT_FN0;
drivers/net/wireless/st/cw1200/cw1200_sdio.c
299
self->func = func;
drivers/net/wireless/st/cw1200/cw1200_sdio.c
300
sdio_set_drvdata(func, self);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
301
sdio_claim_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
302
sdio_enable_func(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
303
sdio_release_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
308
self, &func->dev, &self->core,
drivers/net/wireless/st/cw1200/cw1200_sdio.c
315
sdio_claim_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
316
sdio_disable_func(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
317
sdio_release_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
318
sdio_set_drvdata(func, NULL);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
328
static void cw1200_sdio_disconnect(struct sdio_func *func)
drivers/net/wireless/st/cw1200/cw1200_sdio.c
330
struct hwbus_priv *self = sdio_get_drvdata(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
338
sdio_claim_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
339
sdio_disable_func(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
340
sdio_release_host(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
341
sdio_set_drvdata(func, NULL);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
350
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
351
struct hwbus_priv *self = sdio_get_drvdata(func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
357
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
47
struct sdio_func *func;
drivers/net/wireless/st/cw1200/cw1200_sdio.c
64
return sdio_memcpy_fromio(self->func, dst, addr, count);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
71
return sdio_memcpy_toio(self->func, addr, (void *)src, count);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
76
sdio_claim_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
81
sdio_release_host(self->func);
drivers/net/wireless/st/cw1200/cw1200_sdio.c
84
static void cw1200_sdio_irq_handler(struct sdio_func *func)
drivers/net/wireless/st/cw1200/cw1200_sdio.c
86
struct hwbus_priv *self = sdio_get_drvdata(func);
drivers/net/wireless/st/cw1200/cw1200_spi.c
114
if (self->func->bits_per_word == 8)
drivers/net/wireless/st/cw1200/cw1200_spi.c
156
if (self->func->bits_per_word == 8)
drivers/net/wireless/st/cw1200/cw1200_spi.c
178
rval = spi_sync(self->func, &m);
drivers/net/wireless/st/cw1200/cw1200_spi.c
186
if (self->func->bits_per_word == 8)
drivers/net/wireless/st/cw1200/cw1200_spi.c
254
ret = request_threaded_irq(self->func->irq, NULL,
drivers/net/wireless/st/cw1200/cw1200_spi.c
261
ret = enable_irq_wake(self->func->irq);
drivers/net/wireless/st/cw1200/cw1200_spi.c
268
free_irq(self->func->irq, self);
drivers/net/wireless/st/cw1200/cw1200_spi.c
276
disable_irq_wake(self->func->irq);
drivers/net/wireless/st/cw1200/cw1200_spi.c
277
free_irq(self->func->irq, self);
drivers/net/wireless/st/cw1200/cw1200_spi.c
341
return irq_set_irq_wake(self->func->irq, suspend);
drivers/net/wireless/st/cw1200/cw1200_spi.c
354
static int cw1200_spi_probe(struct spi_device *func)
drivers/net/wireless/st/cw1200/cw1200_spi.c
357
dev_get_platdata(&func->dev);
drivers/net/wireless/st/cw1200/cw1200_spi.c
36
struct spi_device *func;
drivers/net/wireless/st/cw1200/cw1200_spi.c
362
if (func->max_speed_hz > 52000000)
drivers/net/wireless/st/cw1200/cw1200_spi.c
363
func->max_speed_hz = 52000000;
drivers/net/wireless/st/cw1200/cw1200_spi.c
364
if (func->max_speed_hz < 1000000)
drivers/net/wireless/st/cw1200/cw1200_spi.c
365
func->max_speed_hz = 1000000;
drivers/net/wireless/st/cw1200/cw1200_spi.c
369
func->bits_per_word = plat_data->spi_bits_per_word;
drivers/net/wireless/st/cw1200/cw1200_spi.c
370
if (!func->bits_per_word)
drivers/net/wireless/st/cw1200/cw1200_spi.c
371
func->bits_per_word = 16;
drivers/net/wireless/st/cw1200/cw1200_spi.c
374
func->mode = SPI_MODE_0;
drivers/net/wireless/st/cw1200/cw1200_spi.c
377
spi_get_chipselect(func, 0), func->mode, func->bits_per_word,
drivers/net/wireless/st/cw1200/cw1200_spi.c
378
func->max_speed_hz);
drivers/net/wireless/st/cw1200/cw1200_spi.c
380
self = devm_kzalloc(&func->dev, sizeof(*self), GFP_KERNEL);
drivers/net/wireless/st/cw1200/cw1200_spi.c
387
self->reset = devm_gpiod_get_optional(&func->dev, "reset", GPIOD_OUT_HIGH);
drivers/net/wireless/st/cw1200/cw1200_spi.c
389
return dev_err_probe(&func->dev, PTR_ERR(self->reset),
drivers/net/wireless/st/cw1200/cw1200_spi.c
393
self->powerup = devm_gpiod_get_optional(&func->dev, "powerup", GPIOD_OUT_LOW);
drivers/net/wireless/st/cw1200/cw1200_spi.c
395
return dev_err_probe(&func->dev, PTR_ERR(self->powerup),
drivers/net/wireless/st/cw1200/cw1200_spi.c
404
if (spi_setup(func)) {
drivers/net/wireless/st/cw1200/cw1200_spi.c
410
self->func = func;
drivers/net/wireless/st/cw1200/cw1200_spi.c
413
spi_set_drvdata(func, self);
drivers/net/wireless/st/cw1200/cw1200_spi.c
420
self, &func->dev, &self->core,
drivers/net/wireless/st/cw1200/cw1200_spi.c
435
static void cw1200_spi_disconnect(struct spi_device *func)
drivers/net/wireless/st/cw1200/cw1200_spi.c
437
struct hwbus_priv *self = spi_get_drvdata(func);
drivers/net/wireless/st/cw1200/cw1200_spi.c
445
cw1200_spi_off(self, dev_get_platdata(&func->dev));
drivers/net/wireless/st/cw1200/cw1200_spi.c
91
if (self->func->bits_per_word == 8)
drivers/net/wireless/st/cw1200/cw1200_spi.c
98
ret = spi_sync(self->func, &m);
drivers/net/wireless/ti/wl1251/sdio.c
100
struct sdio_func *func = wl_sdio->func;
drivers/net/wireless/ti/wl1251/sdio.c
102
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
103
sdio_writeb(func, val, addr, &ret);
drivers/net/wireless/ti/wl1251/sdio.c
104
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
118
struct sdio_func *func = wl_to_func(wl);
drivers/net/wireless/ti/wl1251/sdio.c
120
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
121
sdio_claim_irq(func, wl1251_sdio_interrupt);
drivers/net/wireless/ti/wl1251/sdio.c
122
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
127
struct sdio_func *func = wl_to_func(wl);
drivers/net/wireless/ti/wl1251/sdio.c
129
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
130
sdio_release_irq(func);
drivers/net/wireless/ti/wl1251/sdio.c
131
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
156
struct sdio_func *func = wl_to_func(wl);
drivers/net/wireless/ti/wl1251/sdio.c
160
ret = pm_runtime_get_sync(&func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
162
pm_runtime_put_sync(&func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
166
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
167
sdio_enable_func(func);
drivers/net/wireless/ti/wl1251/sdio.c
168
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
170
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
171
sdio_disable_func(func);
drivers/net/wireless/ti/wl1251/sdio.c
172
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
174
ret = pm_runtime_put_sync(&func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
192
static int wl1251_sdio_probe(struct sdio_func *func,
drivers/net/wireless/ti/wl1251/sdio.c
199
struct device_node *np = func->dev.of_node;
drivers/net/wireless/ti/wl1251/sdio.c
213
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
214
ret = sdio_enable_func(func);
drivers/net/wireless/ti/wl1251/sdio.c
218
sdio_set_block_size(func, 512);
drivers/net/wireless/ti/wl1251/sdio.c
219
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
221
SET_IEEE80211_DEV(hw, &func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
222
wl_sdio->func = func;
drivers/net/wireless/ti/wl1251/sdio.c
23
struct sdio_func *func;
drivers/net/wireless/ti/wl1251/sdio.c
260
sdio_set_drvdata(func, wl);
drivers/net/wireless/ti/wl1251/sdio.c
263
pm_runtime_put_noidle(&func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
271
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
272
sdio_disable_func(func);
drivers/net/wireless/ti/wl1251/sdio.c
274
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
281
static void wl1251_sdio_remove(struct sdio_func *func)
drivers/net/wireless/ti/wl1251/sdio.c
283
struct wl1251 *wl = sdio_get_drvdata(func);
drivers/net/wireless/ti/wl1251/sdio.c
287
pm_runtime_get_noresume(&func->dev);
drivers/net/wireless/ti/wl1251/sdio.c
294
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
295
sdio_release_irq(func);
drivers/net/wireless/ti/wl1251/sdio.c
296
sdio_disable_func(func);
drivers/net/wireless/ti/wl1251/sdio.c
297
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
30
return wl_sdio->func;
drivers/net/wireless/ti/wl1251/sdio.c
33
static void wl1251_sdio_interrupt(struct sdio_func *func)
drivers/net/wireless/ti/wl1251/sdio.c
35
struct wl1251 *wl = sdio_get_drvdata(func);
drivers/net/wireless/ti/wl1251/sdio.c
54
struct sdio_func *func = wl_to_func(wl);
drivers/net/wireless/ti/wl1251/sdio.c
56
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
57
ret = sdio_memcpy_fromio(func, buf, addr, len);
drivers/net/wireless/ti/wl1251/sdio.c
60
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
67
struct sdio_func *func = wl_to_func(wl);
drivers/net/wireless/ti/wl1251/sdio.c
69
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
70
ret = sdio_memcpy_toio(func, addr, buf, len);
drivers/net/wireless/ti/wl1251/sdio.c
73
sdio_release_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
80
struct sdio_func *func = wl_sdio->func;
drivers/net/wireless/ti/wl1251/sdio.c
88
sdio_claim_host(func);
drivers/net/wireless/ti/wl1251/sdio.c
89
*val = sdio_writeb_readb(func, wl_sdio->elp_val, addr, &ret);
drivers/net/wireless/ti/wl1251/sdio.c
90
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
107
sdio_f0_writeb(func, ((u8 *)buf)[0], addr, &ret);
drivers/net/wireless/ti/wlcore/sdio.c
115
ret = sdio_writesb(func, addr, buf, len);
drivers/net/wireless/ti/wlcore/sdio.c
117
ret = sdio_memcpy_toio(func, addr, buf, len);
drivers/net/wireless/ti/wlcore/sdio.c
120
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
131
struct sdio_func *func = dev_to_sdio_func(glue->dev);
drivers/net/wireless/ti/wlcore/sdio.c
132
struct mmc_card *card = func->card;
drivers/net/wireless/ti/wlcore/sdio.c
142
sdio_claim_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
149
sdio_enable_func(func);
drivers/net/wireless/ti/wlcore/sdio.c
150
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
157
struct sdio_func *func = dev_to_sdio_func(glue->dev);
drivers/net/wireless/ti/wlcore/sdio.c
158
struct mmc_card *card = func->card;
drivers/net/wireless/ti/wlcore/sdio.c
160
sdio_claim_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
161
sdio_disable_func(func);
drivers/net/wireless/ti/wlcore/sdio.c
162
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
255
static int wl1271_probe(struct sdio_func *func,
drivers/net/wireless/ti/wlcore/sdio.c
267
if (func->num != 0x02)
drivers/net/wireless/ti/wlcore/sdio.c
270
pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL);
drivers/net/wireless/ti/wlcore/sdio.c
276
glue = devm_kzalloc(&func->dev, sizeof(*glue), GFP_KERNEL);
drivers/net/wireless/ti/wlcore/sdio.c
280
glue->dev = &func->dev;
drivers/net/wireless/ti/wlcore/sdio.c
283
func->card->quirks |= MMC_QUIRK_LENIENT_FN0;
drivers/net/wireless/ti/wlcore/sdio.c
286
func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
drivers/net/wireless/ti/wlcore/sdio.c
288
ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data);
drivers/net/wireless/ti/wlcore/sdio.c
293
mmcflags = sdio_get_host_pm_caps(func);
drivers/net/wireless/ti/wlcore/sdio.c
299
sdio_set_drvdata(func, glue);
drivers/net/wireless/ti/wlcore/sdio.c
302
pm_runtime_put_noidle(&func->dev);
drivers/net/wireless/ti/wlcore/sdio.c
310
if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00)
drivers/net/wireless/ti/wlcore/sdio.c
322
glue->core->dev.parent = &func->dev;
drivers/net/wireless/ti/wlcore/sdio.c
363
static void wl1271_remove(struct sdio_func *func)
drivers/net/wireless/ti/wlcore/sdio.c
365
struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func);
drivers/net/wireless/ti/wlcore/sdio.c
368
pm_runtime_get_noresume(&func->dev);
drivers/net/wireless/ti/wlcore/sdio.c
377
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/net/wireless/ti/wlcore/sdio.c
378
struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func);
drivers/net/wireless/ti/wlcore/sdio.c
393
sdio_flags = sdio_get_host_pm_caps(func);
drivers/net/wireless/ti/wlcore/sdio.c
403
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
drivers/net/wireless/ti/wlcore/sdio.c
45
struct sdio_func *func = dev_to_sdio_func(glue->dev);
drivers/net/wireless/ti/wlcore/sdio.c
47
sdio_claim_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
48
sdio_set_block_size(func, blksz);
drivers/net/wireless/ti/wlcore/sdio.c
49
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
57
struct sdio_func *func = dev_to_sdio_func(glue->dev);
drivers/net/wireless/ti/wlcore/sdio.c
59
sdio_claim_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
62
((u8 *)buf)[0] = sdio_f0_readb(func, addr, &ret);
drivers/net/wireless/ti/wlcore/sdio.c
67
ret = sdio_readsb(func, buf, addr, len);
drivers/net/wireless/ti/wlcore/sdio.c
69
ret = sdio_memcpy_fromio(func, buf, addr, len);
drivers/net/wireless/ti/wlcore/sdio.c
75
sdio_release_host(func);
drivers/net/wireless/ti/wlcore/sdio.c
95
struct sdio_func *func = dev_to_sdio_func(glue->dev);
drivers/net/wireless/ti/wlcore/sdio.c
97
sdio_claim_host(func);
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
1181
rx->reset_timer_tasklet.func = (void (*))
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
107
ipc_task->args[pos].func = func;
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
141
int (*func)(struct iosm_imem *ipc_imem, int arg,
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
157
ret = ipc_task_queue_add_task(imem, arg, copy, func,
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
161
"add task failed for %ps %d, %p, %zu, %d", func, arg,
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
23
if (args->func)
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
24
args->response = args->func(args->ipc_imem, args->arg,
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
43
args->func = NULL;
drivers/net/wwan/iosm/iosm_ipc_task_queue.c
79
int (*func)(struct iosm_imem *ipc_imem, int arg,
drivers/net/wwan/iosm/iosm_ipc_task_queue.h
31
int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg,
drivers/net/wwan/iosm/iosm_ipc_task_queue.h
93
int (*func)(struct iosm_imem *ipc_imem, int arg,
drivers/nvdimm/bus.c
1034
unsigned int func = cmd;
drivers/nvdimm/bus.c
1118
func = pkg.nd_command;
drivers/nvdimm/bus.c
1166
rc = nd_cmd_clear_to_send(nvdimm_bus, nvdimm, func, buf);
drivers/nvmem/imx-ocotp-scu.c
118
hdr->func = IMX_SC_MISC_FUNC_OTP_FUSE_READ;
drivers/nvmem/stm32-bsec-optee-ta.c
157
arg.func = PTA_BSEC_READ_MEM;
drivers/nvmem/stm32-bsec-optee-ta.c
225
arg.func = PTA_BSEC_WRITE_MEM;
drivers/of/dynamic.c
77
#define _do_print(func, prefix, action, node, prop, ...) ({ \
drivers/of/dynamic.c
78
func("changeset: " prefix "%-15s %pOF%s%s\n", \
drivers/parport/parport_pc.c
1168
void (*func)(int io, int key);
drivers/parport/parport_pc.c
1176
func = NULL;
drivers/parport/parport_pc.c
1181
func = show_parconfig_smsc37c669;
drivers/parport/parport_pc.c
1193
if (func)
drivers/parport/parport_pc.c
1194
func(efer, key);
drivers/pci/controller/pci-hyperv.c
1075
wslot.bits.func = PCI_FUNC(devfn);
drivers/pci/controller/pci-hyperv.c
1093
return PCI_DEVFN(slot_no.bits.dev, slot_no.bits.func);
drivers/pci/controller/pci-hyperv.c
163
u32 func:3;
drivers/pci/controller/pci-hyperv.c
2746
new_desc = &dr->func[child_no];
drivers/pci/controller/pci-hyperv.c
2882
dr = kzalloc_flex(*dr, func, relations->device_count, GFP_NOWAIT);
drivers/pci/controller/pci-hyperv.c
2888
dr->func[i].v_id = relations->func[i].v_id;
drivers/pci/controller/pci-hyperv.c
2889
dr->func[i].d_id = relations->func[i].d_id;
drivers/pci/controller/pci-hyperv.c
2890
dr->func[i].rev = relations->func[i].rev;
drivers/pci/controller/pci-hyperv.c
2891
dr->func[i].prog_intf = relations->func[i].prog_intf;
drivers/pci/controller/pci-hyperv.c
2892
dr->func[i].subclass = relations->func[i].subclass;
drivers/pci/controller/pci-hyperv.c
2893
dr->func[i].base_class = relations->func[i].base_class;
drivers/pci/controller/pci-hyperv.c
2894
dr->func[i].subsystem_id = relations->func[i].subsystem_id;
drivers/pci/controller/pci-hyperv.c
2895
dr->func[i].win_slot = relations->func[i].win_slot;
drivers/pci/controller/pci-hyperv.c
2896
dr->func[i].ser = relations->func[i].ser;
drivers/pci/controller/pci-hyperv.c
2916
dr = kzalloc_flex(*dr, func, relations->device_count, GFP_NOWAIT);
drivers/pci/controller/pci-hyperv.c
2922
dr->func[i].v_id = relations->func[i].v_id;
drivers/pci/controller/pci-hyperv.c
2923
dr->func[i].d_id = relations->func[i].d_id;
drivers/pci/controller/pci-hyperv.c
2924
dr->func[i].rev = relations->func[i].rev;
drivers/pci/controller/pci-hyperv.c
2925
dr->func[i].prog_intf = relations->func[i].prog_intf;
drivers/pci/controller/pci-hyperv.c
2926
dr->func[i].subclass = relations->func[i].subclass;
drivers/pci/controller/pci-hyperv.c
2927
dr->func[i].base_class = relations->func[i].base_class;
drivers/pci/controller/pci-hyperv.c
2928
dr->func[i].subsystem_id = relations->func[i].subsystem_id;
drivers/pci/controller/pci-hyperv.c
2929
dr->func[i].win_slot = relations->func[i].win_slot;
drivers/pci/controller/pci-hyperv.c
2930
dr->func[i].ser = relations->func[i].ser;
drivers/pci/controller/pci-hyperv.c
2931
dr->func[i].flags = relations->func[i].flags;
drivers/pci/controller/pci-hyperv.c
2932
dr->func[i].virtual_numa_node =
drivers/pci/controller/pci-hyperv.c
2933
relations->func[i].virtual_numa_node;
drivers/pci/controller/pci-hyperv.c
3125
struct_size(bus_rel, func,
drivers/pci/controller/pci-hyperv.c
3140
struct_size(bus_rel2, func,
drivers/pci/controller/pci-hyperv.c
349
struct pci_function_description func[];
drivers/pci/controller/pci-hyperv.c
355
struct pci_function_description2 func[];
drivers/pci/controller/pci-hyperv.c
547
struct hv_pcidev_description func[] __counted_by(device_count);
drivers/pci/controller/pcie-brcmstb.c
1815
int func = FIELD_GET(PCIE_OUTB_ERR_ACC_ADDR_FUNC, cfg_addr);
drivers/pci/controller/pcie-brcmstb.c
1820
func, reg, lanes_str);
drivers/pci/controller/pcie-mediatek.c
776
u32 func = PCI_FUNC(port->slot);
drivers/pci/controller/pcie-mediatek.c
811
writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0),
drivers/pci/controller/pcie-mediatek.c
816
writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0),
drivers/pci/controller/pcie-mediatek.c
821
writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0),
drivers/pci/controller/pcie-mediatek.c
826
writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0),
drivers/pci/controller/pcie-rcar-host.c
154
unsigned int dev, func, reg, index;
drivers/pci/controller/pcie-rcar-host.c
165
func = PCI_FUNC(devfn);
drivers/pci/controller/pcie-rcar-host.c
201
PCIE_CONF_DEV(dev) | PCIE_CONF_FUNC(func) | reg, PCIECAR);
drivers/pci/controller/pcie-rzg3s-host.c
296
unsigned int dev, func, reg;
drivers/pci/controller/pcie-rzg3s-host.c
299
func = PCI_FUNC(devfn);
drivers/pci/controller/pcie-rzg3s-host.c
305
FIELD_PREP(RZG3S_PCI_REQADR1_FUNC, func) |
drivers/pci/hotplug/acpiphp.h
110
struct acpiphp_func func;
drivers/pci/hotplug/acpiphp.h
120
static inline struct acpiphp_context *func_to_context(struct acpiphp_func *func)
drivers/pci/hotplug/acpiphp.h
122
return container_of(func, struct acpiphp_context, func);
drivers/pci/hotplug/acpiphp.h
125
static inline struct acpi_device *func_to_acpi_device(struct acpiphp_func *func)
drivers/pci/hotplug/acpiphp.h
127
return func_to_context(func)->hp.self;
drivers/pci/hotplug/acpiphp.h
130
static inline acpi_handle func_to_handle(struct acpiphp_func *func)
drivers/pci/hotplug/acpiphp.h
132
return func_to_acpi_device(func)->handle;
drivers/pci/hotplug/acpiphp_glue.c
1006
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
1014
list_for_each_entry(func, &slot->funcs, sibling)
drivers/pci/hotplug/acpiphp_glue.c
1015
if (func->flags & FUNC_HAS_EJ0) {
drivers/pci/hotplug/acpiphp_glue.c
1016
acpi_handle handle = func_to_handle(func);
drivers/pci/hotplug/acpiphp_glue.c
130
if (context->func.parent->is_going_away) {
drivers/pci/hotplug/acpiphp_glue.c
136
get_bridge(context->func.parent);
drivers/pci/hotplug/acpiphp_glue.c
146
put_bridge(context->func.parent);
drivers/pci/hotplug/acpiphp_glue.c
154
struct acpiphp_func *func, *tmp;
drivers/pci/hotplug/acpiphp_glue.c
161
list_for_each_entry_safe(func, tmp, &slot->funcs, sibling)
drivers/pci/hotplug/acpiphp_glue.c
162
acpiphp_put_context(func_to_context(func));
drivers/pci/hotplug/acpiphp_glue.c
171
put_bridge(context->func.parent);
drivers/pci/hotplug/acpiphp_glue.c
198
bus = context->func.slot->bus;
drivers/pci/hotplug/acpiphp_glue.c
262
newfunc = &context->func;
drivers/pci/hotplug/acpiphp_glue.c
342
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
345
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
346
struct acpi_device *adev = func_to_acpi_device(func);
drivers/pci/hotplug/acpiphp_glue.c
396
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
398
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
400
acpi_evaluate_reg(func_to_handle(func),
drivers/pci/hotplug/acpiphp_glue.c
408
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
422
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
423
if (PCI_FUNC(dev->devfn) == func->function) {
drivers/pci/hotplug/acpiphp_glue.c
432
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
434
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
435
struct acpi_device *adev = func_to_acpi_device(func);
drivers/pci/hotplug/acpiphp_glue.c
486
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
536
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
538
func->function));
drivers/pci/hotplug/acpiphp_glue.c
557
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
569
list_for_each_entry(func, &slot->funcs, sibling)
drivers/pci/hotplug/acpiphp_glue.c
570
acpi_bus_trim(func_to_acpi_device(func));
drivers/pci/hotplug/acpiphp_glue.c
602
struct acpiphp_func *func;
drivers/pci/hotplug/acpiphp_glue.c
605
list_for_each_entry(func, &slot->funcs, sibling) {
drivers/pci/hotplug/acpiphp_glue.c
606
if (func->flags & FUNC_HAS_STA) {
drivers/pci/hotplug/acpiphp_glue.c
609
status = acpi_evaluate_integer(func_to_handle(func),
drivers/pci/hotplug/acpiphp_glue.c
615
PCI_DEVFN(slot->device, func->function),
drivers/pci/hotplug/acpiphp_glue.c
786
struct acpiphp_func *func = &context->func;
drivers/pci/hotplug/acpiphp_glue.c
787
struct acpiphp_slot *slot = func->slot;
drivers/pci/hotplug/acpiphp_glue.c
821
acpiphp_check_bridge(func->parent);
drivers/pci/hotplug/acpiphp_glue.c
914
get_bridge(context->func.parent);
drivers/pci/hotplug/cpqphp.h
408
int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
409
int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
420
int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
421
int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
422
int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
424
int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
425
void cpqhp_destroy_board_resources(struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
426
int cpqhp_return_board_resources(struct pci_func *func,
drivers/pci/hotplug/cpqphp.h
429
int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
430
int cpqhp_unconfigure_device(struct pci_func *func);
drivers/pci/hotplug/cpqphp_core.c
1184
func = cpqhp_slot_find(ctrl->bus, device, 0);
drivers/pci/hotplug/cpqphp_core.c
1185
if (!func)
drivers/pci/hotplug/cpqphp_core.c
1188
hp_slot = func->device - ctrl->slot_device_offset;
drivers/pci/hotplug/cpqphp_core.c
1193
func->presence_save = (temp_word >> hp_slot) & 0x01;
drivers/pci/hotplug/cpqphp_core.c
1194
func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02;
drivers/pci/hotplug/cpqphp_core.c
1197
func->switch_save = 0;
drivers/pci/hotplug/cpqphp_core.c
1199
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_core.c
1202
if (!func->is_a_board) {
drivers/pci/hotplug/cpqphp_core.c
375
cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_core.c
380
if (func == NULL)
drivers/pci/hotplug/cpqphp_core.c
383
hp_slot = func->device - ctrl->slot_device_offset;
drivers/pci/hotplug/cpqphp_core.c
766
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
101
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_ctrl.c
1069
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1071
func = cpqhp_slot_list[bus];
drivers/pci/hotplug/cpqphp_ctrl.c
1073
if ((func == NULL) || ((func->device == device) && (index == 0)))
drivers/pci/hotplug/cpqphp_ctrl.c
1074
return func;
drivers/pci/hotplug/cpqphp_ctrl.c
1076
if (func->device == device)
drivers/pci/hotplug/cpqphp_ctrl.c
1079
while (func->next != NULL) {
drivers/pci/hotplug/cpqphp_ctrl.c
1080
func = func->next;
drivers/pci/hotplug/cpqphp_ctrl.c
1082
if (func->device == device)
drivers/pci/hotplug/cpqphp_ctrl.c
1086
return func;
drivers/pci/hotplug/cpqphp_ctrl.c
1095
static int is_bridge(struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
1098
if (((func->config_space[0x03] >> 16) & 0xFF) == 0x01)
drivers/pci/hotplug/cpqphp_ctrl.c
1253
static u32 board_replaced(struct pci_func *func, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
1261
hp_slot = func->device - ctrl->slot_device_offset;
drivers/pci/hotplug/cpqphp_ctrl.c
133
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1331
if (func->status == 0xFF) {
drivers/pci/hotplug/cpqphp_ctrl.c
1334
func->status = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1336
rc = cpqhp_valid_replace(ctrl, func);
drivers/pci/hotplug/cpqphp_ctrl.c
1341
rc = cpqhp_configure_board(ctrl, func);
drivers/pci/hotplug/cpqphp_ctrl.c
1404
static u32 board_added(struct pci_func *func, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
1416
hp_slot = func->device - ctrl->slot_device_offset;
drivers/pci/hotplug/cpqphp_ctrl.c
1418
__func__, func->device, ctrl->slot_device_offset, hp_slot);
drivers/pci/hotplug/cpqphp_ctrl.c
1494
dbg("%s: func status = %x\n", __func__, func->status);
drivers/pci/hotplug/cpqphp_ctrl.c
1496
if (func->status == 0xFF) {
drivers/pci/hotplug/cpqphp_ctrl.c
1501
func->status = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1504
ctrl->pci_bus->number = func->bus;
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
151
func = cpqhp_slot_find(ctrl->bus,
drivers/pci/hotplug/cpqphp_ctrl.c
1526
rc = configure_new_device(ctrl, func, 0, &res_lists);
drivers/pci/hotplug/cpqphp_ctrl.c
1554
cpqhp_save_slot_config(ctrl, func);
drivers/pci/hotplug/cpqphp_ctrl.c
1558
func->status = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1559
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_ctrl.c
1560
func->is_a_board = 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
1567
new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_ctrl.c
1608
static u32 remove_board(struct pci_func *func, u32 replace_flag, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
1618
if (cpqhp_unconfigure_device(func))
drivers/pci/hotplug/cpqphp_ctrl.c
1621
device = func->device;
drivers/pci/hotplug/cpqphp_ctrl.c
1623
hp_slot = func->device - ctrl->slot_device_offset;
drivers/pci/hotplug/cpqphp_ctrl.c
1629
cpqhp_save_base_addr_length(ctrl, func);
drivers/pci/hotplug/cpqphp_ctrl.c
1630
else if (!func->bus_head && !func->mem_head &&
drivers/pci/hotplug/cpqphp_ctrl.c
1631
!func->p_mem_head && !func->io_head) {
drivers/pci/hotplug/cpqphp_ctrl.c
1636
temp_func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_ctrl.c
1647
cpqhp_save_used_resources(ctrl, func);
drivers/pci/hotplug/cpqphp_ctrl.c
1650
if (func->is_a_board)
drivers/pci/hotplug/cpqphp_ctrl.c
1651
func->status = 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
1652
func->configured = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
167
if (func->switch_save && (ctrl->push_button == 1)) {
drivers/pci/hotplug/cpqphp_ctrl.c
1672
while (func) {
drivers/pci/hotplug/cpqphp_ctrl.c
1678
cpqhp_return_board_resources(func, &res_lists);
drivers/pci/hotplug/cpqphp_ctrl.c
1690
if (is_bridge(func)) {
drivers/pci/hotplug/cpqphp_ctrl.c
1691
bridge_slot_remove(func);
drivers/pci/hotplug/cpqphp_ctrl.c
1693
slot_remove(func);
drivers/pci/hotplug/cpqphp_ctrl.c
1695
func = cpqhp_slot_find(ctrl->bus, device, 0);
drivers/pci/hotplug/cpqphp_ctrl.c
1699
func = cpqhp_slot_create(ctrl->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
1701
if (func == NULL)
drivers/pci/hotplug/cpqphp_ctrl.c
1704
func->bus = ctrl->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
1705
func->device = device;
drivers/pci/hotplug/cpqphp_ctrl.c
1706
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1707
func->configured = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1708
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_ctrl.c
1709
func->is_a_board = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1710
func->p_task_event = NULL;
drivers/pci/hotplug/cpqphp_ctrl.c
172
if (temp_byte != func->presence_save) {
drivers/pci/hotplug/cpqphp_ctrl.c
1769
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1781
func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0);
drivers/pci/hotplug/cpqphp_ctrl.c
1782
if (!func)
drivers/pci/hotplug/cpqphp_ctrl.c
1790
hp_slot, func, p_slot);
drivers/pci/hotplug/cpqphp_ctrl.c
1885
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1895
func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0);
drivers/pci/hotplug/cpqphp_ctrl.c
1896
dbg("In power_down_board, func = %p, ctrl = %p\n", func, ctrl);
drivers/pci/hotplug/cpqphp_ctrl.c
1897
if (!func) {
drivers/pci/hotplug/cpqphp_ctrl.c
1902
if (cpqhp_process_SS(ctrl, func) != 0) {
drivers/pci/hotplug/cpqphp_ctrl.c
1917
func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0);
drivers/pci/hotplug/cpqphp_ctrl.c
1918
dbg("In add_board, func = %p, ctrl = %p\n", func, ctrl);
drivers/pci/hotplug/cpqphp_ctrl.c
1919
if (!func) {
drivers/pci/hotplug/cpqphp_ctrl.c
1925
if (cpqhp_process_SI(ctrl, func) != 0) {
drivers/pci/hotplug/cpqphp_ctrl.c
1941
int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
1951
device = func->device;
drivers/pci/hotplug/cpqphp_ctrl.c
1961
if (func->is_a_board) {
drivers/pci/hotplug/cpqphp_ctrl.c
1962
rc = board_replaced(func, ctrl);
drivers/pci/hotplug/cpqphp_ctrl.c
1965
slot_remove(func);
drivers/pci/hotplug/cpqphp_ctrl.c
1967
func = cpqhp_slot_create(ctrl->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
1968
if (func == NULL)
drivers/pci/hotplug/cpqphp_ctrl.c
1971
func->bus = ctrl->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
1972
func->device = device;
drivers/pci/hotplug/cpqphp_ctrl.c
1973
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1974
func->configured = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1975
func->is_a_board = 1;
drivers/pci/hotplug/cpqphp_ctrl.c
1979
func->presence_save = (temp_word >> hp_slot) & 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
1980
func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02;
drivers/pci/hotplug/cpqphp_ctrl.c
1983
func->switch_save = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
1985
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_ctrl.c
1988
rc = board_added(func, ctrl);
drivers/pci/hotplug/cpqphp_ctrl.c
1990
if (is_bridge(func)) {
drivers/pci/hotplug/cpqphp_ctrl.c
1991
bridge_slot_remove(func);
drivers/pci/hotplug/cpqphp_ctrl.c
1993
slot_remove(func);
drivers/pci/hotplug/cpqphp_ctrl.c
1996
func = cpqhp_slot_create(ctrl->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
1998
if (func == NULL)
drivers/pci/hotplug/cpqphp_ctrl.c
2001
func->bus = ctrl->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
2002
func->device = device;
drivers/pci/hotplug/cpqphp_ctrl.c
2003
func->function = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2004
func->configured = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2005
func->is_a_board = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2009
func->presence_save = (temp_word >> hp_slot) & 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
2010
func->presence_save |=
drivers/pci/hotplug/cpqphp_ctrl.c
2014
func->switch_save = 0;
drivers/pci/hotplug/cpqphp_ctrl.c
2016
func->switch_save = 0x10;
drivers/pci/hotplug/cpqphp_ctrl.c
202
func->presence_save = (temp_word >> hp_slot) & 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
2028
int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
203
func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02;
drivers/pci/hotplug/cpqphp_ctrl.c
2038
device = func->device;
drivers/pci/hotplug/cpqphp_ctrl.c
2039
func = cpqhp_slot_find(ctrl->bus, device, index++);
drivers/pci/hotplug/cpqphp_ctrl.c
2043
while (func && !rc) {
drivers/pci/hotplug/cpqphp_ctrl.c
2044
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
2045
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_ctrl.c
2074
func = cpqhp_slot_find(ctrl->bus, device, index++);
drivers/pci/hotplug/cpqphp_ctrl.c
2077
func = cpqhp_slot_find(ctrl->bus, device, 0);
drivers/pci/hotplug/cpqphp_ctrl.c
2078
if ((func != NULL) && !rc) {
drivers/pci/hotplug/cpqphp_ctrl.c
2081
rc = remove_board(func, replace_flag, ctrl);
drivers/pci/hotplug/cpqphp_ctrl.c
2210
static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
2219
new_slot = func;
drivers/pci/hotplug/cpqphp_ctrl.c
2223
ctrl->pci_bus->number = func->bus;
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
225
struct pci_func *func;
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
2268
new_slot = cpqhp_slot_create(func->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
2273
new_slot->bus = func->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
2274
new_slot->device = func->device;
drivers/pci/hotplug/cpqphp_ctrl.c
2306
static int configure_new_function(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
2337
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
2338
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_ctrl.c
2347
dbg("set Primary bus = %d\n", func->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
2348
rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_PRIMARY_BUS, func->bus);
drivers/pci/hotplug/cpqphp_ctrl.c
242
func = cpqhp_slot_find(ctrl->bus,
drivers/pci/hotplug/cpqphp_ctrl.c
2506
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_ctrl.c
2541
rc = cpqhp_set_irq(func->bus, func->device,
drivers/pci/hotplug/cpqphp_ctrl.c
255
func->status = 0x00;
drivers/pci/hotplug/cpqphp_ctrl.c
2554
hold_bus_node->next = func->bus_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2555
func->bus_head = hold_bus_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2596
hold_IO_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2597
func->io_head = hold_IO_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2613
hold_IO_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2614
func->io_head = hold_IO_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2618
hold_IO_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2619
func->io_head = hold_IO_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2646
hold_mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2647
func->mem_head = hold_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2665
hold_mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2666
func->mem_head = hold_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2670
hold_mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2671
func->mem_head = hold_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2699
hold_p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2700
func->p_mem_head = hold_p_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2716
hold_p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2717
func->p_mem_head = hold_p_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2721
hold_p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2722
func->p_mem_head = hold_p_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2774
dbg("func (%p) io_head (%p)\n", func, func->io_head);
drivers/pci/hotplug/cpqphp_ctrl.c
2778
io_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2779
func->io_head = io_node;
drivers/pci/hotplug/cpqphp_ctrl.c
2792
p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2793
func->p_mem_head = p_mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
28
static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
2808
mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_ctrl.c
2809
func->mem_head = mem_node;
drivers/pci/hotplug/cpqphp_ctrl.c
283
func->status = 0xFF;
drivers/pci/hotplug/cpqphp_ctrl.c
2861
rc = cpqhp_set_irq(func->bus, func->device, temp_byte, IRQ);
drivers/pci/hotplug/cpqphp_ctrl.c
2900
func->configured = 1;
drivers/pci/hotplug/cpqphp_ctrl.c
30
static int configure_new_function(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
58
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
72
func = cpqhp_slot_find(ctrl->bus,
drivers/pci/hotplug/cpqphp_ctrl.c
85
func->presence_save = (temp_word >> hp_slot) & 0x01;
drivers/pci/hotplug/cpqphp_ctrl.c
86
func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02;
drivers/pci/hotplug/cpqphp_ctrl.c
93
func->switch_save = 0;
drivers/pci/hotplug/cpqphp_pci.c
1013
int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
102
if (func->pci_dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) {
drivers/pci/hotplug/cpqphp_pci.c
1027
if (!func->is_a_board)
drivers/pci/hotplug/cpqphp_pci.c
103
pci_hp_add_bridge(func->pci_dev);
drivers/pci/hotplug/cpqphp_pci.c
1030
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
1032
while (func != NULL) {
drivers/pci/hotplug/cpqphp_pci.c
1033
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_pci.c
1034
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
104
child = func->pci_dev->subordinate;
drivers/pci/hotplug/cpqphp_pci.c
1042
if (temp_register != func->config_space[0])
drivers/pci/hotplug/cpqphp_pci.c
1049
if (temp_register != func->config_space[0x08 >> 2])
drivers/pci/hotplug/cpqphp_pci.c
1061
temp_register = func->config_space[0x18 >> 2];
drivers/pci/hotplug/cpqphp_pci.c
1082
if (temp_register != func->config_space[0x2C >> 2]) {
drivers/pci/hotplug/cpqphp_pci.c
1087
if (!((func->config_space[0] == 0xAE100E11)
drivers/pci/hotplug/cpqphp_pci.c
109
pci_dev_put(func->pci_dev);
drivers/pci/hotplug/cpqphp_pci.c
1121
if (func->base_length[(cloop - 0x10) >> 2] != base)
drivers/pci/hotplug/cpqphp_pci.c
1124
if (func->base_type[(cloop - 0x10) >> 2] != type)
drivers/pci/hotplug/cpqphp_pci.c
1138
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
1162
struct pci_func *func = NULL;
drivers/pci/hotplug/cpqphp_pci.c
117
int cpqhp_unconfigure_device(struct pci_func *func)
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
1259
func = cpqhp_slot_find(primary_bus, dev_func >> 3, 0);
drivers/pci/hotplug/cpqphp_pci.c
126
func->bus,
drivers/pci/hotplug/cpqphp_pci.c
1261
while (func && (func->function != (dev_func & 0x07))) {
drivers/pci/hotplug/cpqphp_pci.c
1262
dbg("func = %p (bus, dev, fun) = (%d, %d, %d)\n", func, primary_bus, dev_func >> 3, index);
drivers/pci/hotplug/cpqphp_pci.c
1263
func = cpqhp_slot_find(primary_bus, dev_func >> 3, index++);
drivers/pci/hotplug/cpqphp_pci.c
1267
if (!func) {
drivers/pci/hotplug/cpqphp_pci.c
127
PCI_DEVFN(func->device,
drivers/pci/hotplug/cpqphp_pci.c
1304
io_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
1305
func->io_head = io_node;
drivers/pci/hotplug/cpqphp_pci.c
1327
mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1328
func->mem_head = mem_node;
drivers/pci/hotplug/cpqphp_pci.c
1352
p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1353
func->p_mem_head = p_mem_node;
drivers/pci/hotplug/cpqphp_pci.c
1375
bus_node->next = func->bus_head;
drivers/pci/hotplug/cpqphp_pci.c
1376
func->bus_head = bus_node;
drivers/pci/hotplug/cpqphp_pci.c
1405
int cpqhp_return_board_resources(struct pci_func *func, struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_pci.c
1412
if (!func)
drivers/pci/hotplug/cpqphp_pci.c
1415
node = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
1416
func->io_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1423
node = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1424
func->mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1431
node = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1432
func->p_mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1439
node = func->bus_head;
drivers/pci/hotplug/cpqphp_pci.c
1440
func->bus_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1508
void cpqhp_destroy_board_resources(struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
1512
res = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
1513
func->io_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1521
res = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1522
func->mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1530
res = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1531
func->p_mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1539
res = func->bus_head;
drivers/pci/hotplug/cpqphp_pci.c
1540
func->bus_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
541
int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
556
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
558
while (func != NULL) {
drivers/pci/hotplug/cpqphp_pci.c
559
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_pci.c
560
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
579
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_pci.c
613
func->base_length[(cloop - 0x10) >> 2] =
drivers/pci/hotplug/cpqphp_pci.c
615
func->base_type[(cloop - 0x10) >> 2] = type;
drivers/pci/hotplug/cpqphp_pci.c
653
func->base_length[(cloop - 0x10) >> 2] = base;
drivers/pci/hotplug/cpqphp_pci.c
654
func->base_type[(cloop - 0x10) >> 2] = type;
drivers/pci/hotplug/cpqphp_pci.c
662
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
678
int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
701
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
703
while ((func != NULL) && func->is_a_board) {
drivers/pci/hotplug/cpqphp_pci.c
704
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_pci.c
705
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
73
int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
731
bus_node->next = func->bus_head;
drivers/pci/hotplug/cpqphp_pci.c
732
func->bus_head = bus_node;
drivers/pci/hotplug/cpqphp_pci.c
746
io_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
747
func->io_head = io_node;
drivers/pci/hotplug/cpqphp_pci.c
762
mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
763
func->mem_head = mem_node;
drivers/pci/hotplug/cpqphp_pci.c
778
p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
779
func->p_mem_head = p_mem_node;
drivers/pci/hotplug/cpqphp_pci.c
80
if (func->pci_dev == NULL)
drivers/pci/hotplug/cpqphp_pci.c
81
func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus,
drivers/pci/hotplug/cpqphp_pci.c
810
io_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
811
func->io_head = io_node;
drivers/pci/hotplug/cpqphp_pci.c
82
PCI_DEVFN(func->device,
drivers/pci/hotplug/cpqphp_pci.c
826
p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
827
func->p_mem_head = p_mem_node;
drivers/pci/hotplug/cpqphp_pci.c
83
func->function));
drivers/pci/hotplug/cpqphp_pci.c
842
mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
843
func->mem_head = mem_node;
drivers/pci/hotplug/cpqphp_pci.c
86
if (func->pci_dev == NULL) {
drivers/pci/hotplug/cpqphp_pci.c
878
io_node->next = func->io_head;
drivers/pci/hotplug/cpqphp_pci.c
879
func->io_head = io_node;
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
894
p_mem_node->next = func->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
895
func->p_mem_head = p_mem_node;
drivers/pci/hotplug/cpqphp_pci.c
910
mem_node->next = func->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
911
func->mem_head = mem_node;
drivers/pci/hotplug/cpqphp_pci.c
919
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
93
func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus,
drivers/pci/hotplug/cpqphp_pci.c
935
int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
94
PCI_DEVFN(func->device,
drivers/pci/hotplug/cpqphp_pci.c
948
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/cpqphp_pci.c
95
func->function));
drivers/pci/hotplug/cpqphp_pci.c
950
while (func != NULL) {
drivers/pci/hotplug/cpqphp_pci.c
951
pci_bus->number = func->bus;
drivers/pci/hotplug/cpqphp_pci.c
952
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
958
pci_bus_write_config_dword(pci_bus, devfn, cloop, func->config_space[cloop >> 2]);
drivers/pci/hotplug/cpqphp_pci.c
96
if (func->pci_dev == NULL) {
drivers/pci/hotplug/cpqphp_pci.c
986
if (temp != func->config_space[cloop >> 2]) {
drivers/pci/hotplug/cpqphp_pci.c
988
dbg("bus = %x, device = %x, function = %x\n", func->bus, func->device, func->function);
drivers/pci/hotplug/cpqphp_pci.c
989
dbg("temp = %x, config space = %x\n\n", temp, func->config_space[cloop >> 2]);
drivers/pci/hotplug/cpqphp_pci.c
995
func->configured = 1;
drivers/pci/hotplug/cpqphp_pci.c
997
func = cpqhp_slot_find(func->bus, func->device, index++);
drivers/pci/hotplug/ibmphp.h
701
struct pci_func *func;
drivers/pci/hotplug/ibmphp_core.c
1003
if (ibmphp_configure_card(slot_cur->func, slot_cur->number)) {
drivers/pci/hotplug/ibmphp_core.c
1009
slot_cur->func = NULL;
drivers/pci/hotplug/ibmphp_core.c
1016
tmp_func = ibm_slot_find(slot_cur->bus, slot_cur->func->device,
drivers/pci/hotplug/ibmphp_core.c
1094
if (slot_cur->func == NULL) {
drivers/pci/hotplug/ibmphp_core.c
1096
slot_cur->func = kzalloc_obj(struct pci_func);
drivers/pci/hotplug/ibmphp_core.c
1097
if (!slot_cur->func) {
drivers/pci/hotplug/ibmphp_core.c
1101
slot_cur->func->busno = slot_cur->bus;
drivers/pci/hotplug/ibmphp_core.c
1102
slot_cur->func->device = slot_cur->device;
drivers/pci/hotplug/ibmphp_core.c
1105
ibm_unconfigure_device(slot_cur->func);
drivers/pci/hotplug/ibmphp_core.c
1120
slot_cur->func = NULL;
drivers/pci/hotplug/ibmphp_core.c
544
if (slot_cur->func) {
drivers/pci/hotplug/ibmphp_core.c
545
func_cur = slot_cur->func;
drivers/pci/hotplug/ibmphp_core.c
587
static void ibm_unconfigure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_core.c
594
func->device, func->function);
drivers/pci/hotplug/ibmphp_core.c
595
debug("func->device << 3 | 0x0 = %x\n", func->device << 3 | 0x0);
drivers/pci/hotplug/ibmphp_core.c
600
temp = pci_get_domain_bus_and_slot(0, func->busno,
drivers/pci/hotplug/ibmphp_core.c
601
(func->device << 3) | j);
drivers/pci/hotplug/ibmphp_core.c
608
pci_dev_put(func->dev);
drivers/pci/hotplug/ibmphp_core.c
660
static int ibm_configure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_core.c
669
if (!(bus_structure_fixup(func->busno)))
drivers/pci/hotplug/ibmphp_core.c
671
if (func->dev == NULL)
drivers/pci/hotplug/ibmphp_core.c
672
func->dev = pci_get_domain_bus_and_slot(0, func->busno,
drivers/pci/hotplug/ibmphp_core.c
673
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
675
if (func->dev == NULL) {
drivers/pci/hotplug/ibmphp_core.c
676
struct pci_bus *bus = pci_find_bus(0, func->busno);
drivers/pci/hotplug/ibmphp_core.c
681
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
685
func->dev = pci_get_domain_bus_and_slot(0, func->busno,
drivers/pci/hotplug/ibmphp_core.c
686
PCI_DEVFN(func->device, func->function));
drivers/pci/hotplug/ibmphp_core.c
687
if (func->dev == NULL) {
drivers/pci/hotplug/ibmphp_core.c
692
if (!(flag) && (func->dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) {
drivers/pci/hotplug/ibmphp_core.c
693
pci_hp_add_bridge(func->dev);
drivers/pci/hotplug/ibmphp_core.c
694
child = func->dev->subordinate;
drivers/pci/hotplug/ibmphp_core.c
989
slot_cur->func = kzalloc_obj(struct pci_func);
drivers/pci/hotplug/ibmphp_core.c
990
if (!slot_cur->func) {
drivers/pci/hotplug/ibmphp_core.c
995
slot_cur->func->busno = slot_cur->bus;
drivers/pci/hotplug/ibmphp_core.c
996
slot_cur->func->device = slot_cur->device;
drivers/pci/hotplug/ibmphp_core.c
998
slot_cur->func->irq[i] = slot_cur->irq[i];
drivers/pci/hotplug/ibmphp_pci.c
1001
func->devices[i] = 1;
drivers/pci/hotplug/ibmphp_pci.c
1004
func->bus = 1; /* For unconfiguring, to indicate it's PPB */
drivers/pci/hotplug/ibmphp_pci.c
1005
func_passed = &func;
drivers/pci/hotplug/ibmphp_pci.c
1006
debug("func->busno b4 returning is %x\n", func->busno);
drivers/pci/hotplug/ibmphp_pci.c
1028
func->io[i] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
1031
func->pfmem[i] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
1034
func->mem[i] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
1046
static struct res_needed *scan_behind_bridge(struct pci_func *func, u8 busno)
drivers/pci/hotplug/ibmphp_pci.c
1551
if (sl->func) {
drivers/pci/hotplug/ibmphp_pci.c
1552
cur_func = sl->func;
drivers/pci/hotplug/ibmphp_pci.c
1589
sl->func = NULL;
drivers/pci/hotplug/ibmphp_pci.c
183
func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
drivers/pci/hotplug/ibmphp_pci.c
191
if (func->devices[i]) {
drivers/pci/hotplug/ibmphp_pci.c
211
func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
drivers/pci/hotplug/ibmphp_pci.c
251
func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
drivers/pci/hotplug/ibmphp_pci.c
262
if (func->devices[i]) {
drivers/pci/hotplug/ibmphp_pci.c
284
func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
drivers/pci/hotplug/ibmphp_pci.c
329
static int configure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_pci.c
352
devfn = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
353
ibmphp_pci_bus->number = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
376
debug("Device %x BAR %d wants %x\n", func->device, count, bar[count]);
drivers/pci/hotplug/ibmphp_pci.c
393
io[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
394
io[count]->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
398
func->io[count] = io[count];
drivers/pci/hotplug/ibmphp_pci.c
401
func->busno, func->device, func->function, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
405
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
408
debug("b4 writing, the IO address is %x\n", func->io[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
429
pfmem[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
430
pfmem[count]->devfunc = PCI_DEVFN(func->device,
drivers/pci/hotplug/ibmphp_pci.c
431
func->function);
drivers/pci/hotplug/ibmphp_pci.c
436
func->pfmem[count] = pfmem[count];
drivers/pci/hotplug/ibmphp_pci.c
455
func->pfmem[count] = pfmem[count];
drivers/pci/hotplug/ibmphp_pci.c
458
func->busno, func->device, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
465
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
468
debug("b4 writing, start address is %x\n", func->pfmem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
493
mem[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
494
mem[count]->devfunc = PCI_DEVFN(func->device,
drivers/pci/hotplug/ibmphp_pci.c
495
func->function);
drivers/pci/hotplug/ibmphp_pci.c
499
func->mem[count] = mem[count];
drivers/pci/hotplug/ibmphp_pci.c
502
func->busno, func->device, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
506
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
508
debug("b4 writing, start address is %x\n", func->mem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
524
func->bus = 0; /* To indicate that this is not a PPB */
drivers/pci/hotplug/ibmphp_pci.c
527
pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_INTERRUPT_LINE, func->irq[irq - 1]);
drivers/pci/hotplug/ibmphp_pci.c
572
struct pci_func *func = *func_passed;
drivers/pci/hotplug/ibmphp_pci.c
579
devfn = PCI_DEVFN(func->function, func->device);
drivers/pci/hotplug/ibmphp_pci.c
580
ibmphp_pci_bus->number = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
586
pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_PRIMARY_BUS, func->busno);
drivers/pci/hotplug/ibmphp_pci.c
594
sec_number = find_sec_number(func->busno, slotno);
drivers/pci/hotplug/ibmphp_pci.c
601
debug("AFTER FIND_SEC_NUMBER, func->busno IS %x\n", func->busno);
drivers/pci/hotplug/ibmphp_pci.c
621
debug("func->busno is %x\n", func->busno);
drivers/pci/hotplug/ibmphp_pci.c
658
bus_io[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
659
bus_io[count]->devfunc = PCI_DEVFN(func->device,
drivers/pci/hotplug/ibmphp_pci.c
660
func->function);
drivers/pci/hotplug/ibmphp_pci.c
664
func->io[count] = bus_io[count];
drivers/pci/hotplug/ibmphp_pci.c
667
func->busno, func->device, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
67
int ibmphp_configure_card(struct pci_func *func, u8 slotno)
drivers/pci/hotplug/ibmphp_pci.c
672
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
689
bus_pfmem[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
690
bus_pfmem[count]->devfunc = PCI_DEVFN(func->device,
drivers/pci/hotplug/ibmphp_pci.c
691
func->function);
drivers/pci/hotplug/ibmphp_pci.c
696
func->pfmem[count] = bus_pfmem[count];
drivers/pci/hotplug/ibmphp_pci.c
712
func->pfmem[count] = bus_pfmem[count];
drivers/pci/hotplug/ibmphp_pci.c
715
func->busno, func->device, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
722
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
744
bus_mem[count]->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
745
bus_mem[count]->devfunc = PCI_DEVFN(func->device,
drivers/pci/hotplug/ibmphp_pci.c
746
func->function);
drivers/pci/hotplug/ibmphp_pci.c
750
func->mem[count] = bus_mem[count];
drivers/pci/hotplug/ibmphp_pci.c
753
func->busno, func->device, len[count]);
drivers/pci/hotplug/ibmphp_pci.c
758
pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start);
drivers/pci/hotplug/ibmphp_pci.c
772
amount_needed = scan_behind_bridge(func, sec_number);
drivers/pci/hotplug/ibmphp_pci.c
776
ibmphp_pci_bus->number = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
789
func->io[count] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
792
func->pfmem[count] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
795
func->mem[count] = NULL;
drivers/pci/hotplug/ibmphp_pci.c
81
debug("inside configure_card, func->busno = %x\n", func->busno);
drivers/pci/hotplug/ibmphp_pci.c
814
io->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
815
io->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
83
device = func->device;
drivers/pci/hotplug/ibmphp_pci.c
835
mem->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
836
mem->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
84
cur_func = func;
drivers/pci/hotplug/ibmphp_pci.c
856
pfmem->busno = func->busno;
drivers/pci/hotplug/ibmphp_pci.c
857
pfmem->devfunc = PCI_DEVFN(func->device, func->function);
drivers/pci/hotplug/ibmphp_pci.c
901
rc = add_new_bus(bus, io, mem, pfmem, func->busno);
drivers/pci/hotplug/ibmphp_pci.c
911
ibmphp_remove_bus(bus, func->busno);
drivers/pci/hotplug/ibmphp_pci.c
989
pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_INTERRUPT_LINE, func->irq[irq - 1]);
drivers/pci/pci-acpi.c
1275
int pci_acpi_set_companion_lookup_hook(struct acpi_device *(*func)(struct pci_dev *))
drivers/pci/pci-acpi.c
1279
if (!func)
drivers/pci/pci-acpi.c
1287
pci_acpi_find_companion_hook = func;
drivers/pci/pci.c
283
unsigned int seg, bus, slot, func;
drivers/pci/pci.c
297
ret = sscanf(p, "/%x.%x%c", &slot, &func, &end);
drivers/pci/pci.c
303
if (dev->devfn != PCI_DEVFN(slot, func)) {
drivers/pci/pci.c
324
&func, &end);
drivers/pci/pci.c
327
ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end);
drivers/pci/pci.c
336
dev->devfn == PCI_DEVFN(slot, func));
drivers/pci/pci.c
6139
void __init pci_register_set_vga_state(arch_set_vga_state_t func)
drivers/pci/pci.c
6141
arch_set_vga_state = func; /* NULL disables */
drivers/pci/pci.h
1414
#define PCI_CONF1_ADDRESS(bus, dev, func, reg) \
drivers/pci/pci.h
1418
PCI_CONF1_FUNC(func) | \
drivers/pci/pci.h
1433
#define PCI_CONF1_EXT_ADDRESS(bus, dev, func, reg) \
drivers/pci/pci.h
1434
(PCI_CONF1_ADDRESS(bus, dev, func, reg) | \
drivers/pci/vgaarb.c
1050
unsigned int slot, func;
drivers/pci/vgaarb.c
1052
n = sscanf(buf, "PCI:%x:%x:%x.%x", domain, bus, &slot, &func);
drivers/pci/vgaarb.c
1056
*devfn = PCI_DEVFN(slot, func);
drivers/pci/vpd.c
603
int func = (dev->device & 0x0f00) >> 8;
drivers/pci/vpd.c
619
else if (chip >= 0x4 && func < 0x8)
drivers/pci/xen-pcifront.c
908
unsigned int domain, bus, slot, func;
drivers/pci/xen-pcifront.c
960
"%x:%x:%x.%x", &domain, &bus, &slot, &func);
drivers/pci/xen-pcifront.c
970
PCI_DEVFN(slot, func));
drivers/pci/xen-pcifront.c
974
domain, bus, slot, func);
drivers/pci/xen-pcifront.c
984
domain, bus, slot, func);
drivers/pcmcia/cistpl.c
858
f->func = p[0];
drivers/pcmcia/ds.c
1029
return p_dev->socket ? sysfs_emit(buf, "0x%02x\n", p_dev->func) : -ENODEV;
drivers/pcmcia/ds.c
1091
p_dev->func, p_dev->device_no,
drivers/pcmcia/ds.c
1167
if (p_dev->device_no == p_dev->func) {
drivers/pcmcia/ds.c
1199
if (p_dev->device_no == p_dev->func) {
drivers/pcmcia/ds.c
276
ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG,
drivers/pcmcia/ds.c
419
if (!pccard_read_tuple(p_dev->socket, p_dev->func,
drivers/pcmcia/ds.c
422
p_dev->func_id = func_id.func;
drivers/pcmcia/ds.c
436
if (!pccard_read_tuple(p_dev->socket, p_dev->func,
drivers/pcmcia/ds.c
508
p_dev->func = function;
drivers/pcmcia/ds.c
529
if (p_dev->func == tmp_dev->func) {
drivers/pcmcia/ds.c
814
if (dev->func != did->function)
drivers/pcmcia/ds.c
963
p_dev->func,
drivers/pcmcia/pcmcia_cis.c
275
ret = pccard_loop_tuple(p_dev->socket, p_dev->func,
drivers/pcmcia/pcmcia_cis.c
330
return pccard_loop_tuple(p_dev->socket, p_dev->func, code, NULL,
drivers/pcmcia/soc_common.c
60
void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func,
drivers/pcmcia/soc_common.c
71
printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf);
drivers/pcmcia/soc_common.h
51
extern void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func,
drivers/pcmcia/ti113x.h
653
struct pci_dev *func;
drivers/pcmcia/ti113x.h
707
func = pci_get_slot(socket->dev->bus,
drivers/pcmcia/ti113x.h
709
if (!func)
drivers/pcmcia/ti113x.h
718
if (socket->dev->device != func->device)
drivers/pcmcia/ti113x.h
721
slot2 = pci_get_drvdata(func);
drivers/pcmcia/ti113x.h
733
pci_dev_put(func);
drivers/peci/cpu.c
119
u8 bus, u8 dev, u8 func, u16 reg, u32 *data)
drivers/peci/cpu.c
124
req = peci_xfer_ep_pci_cfg_local_readl(device, seg, bus, dev, func, reg);
drivers/peci/cpu.c
156
u8 bus, u8 dev, u8 func, u64 address, u32 *data)
drivers/peci/cpu.c
161
req = peci_xfer_ep_mmio64_readl(device, bar, seg, bus, dev, func, address);
drivers/peci/cpu.c
82
int peci_pci_local_read(struct peci_device *device, u8 bus, u8 dev, u8 func,
drivers/peci/cpu.c
88
req = peci_xfer_pci_cfg_local_readl(device, bus, dev, func, reg);
drivers/peci/internal.h
41
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
43
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
45
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
48
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
50
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
52
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
55
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
57
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
59
u8 bus, u8 dev, u8 func, u16 reg);
drivers/peci/internal.h
62
u8 bus, u8 dev, u8 func, u64 offset);
drivers/peci/internal.h
65
u8 bus, u8 dev, u8 func, u64 offset);
drivers/peci/request.c
294
static u32 __get_pci_addr(u8 bus, u8 dev, u8 func, u16 reg)
drivers/peci/request.c
296
return reg | PCI_DEVID(bus, PCI_DEVFN(dev, func)) << 12;
drivers/peci/request.c
300
__pci_cfg_local_read(struct peci_device *device, u8 bus, u8 dev, u8 func, u16 reg, u8 len)
drivers/peci/request.c
311
pci_addr = __get_pci_addr(bus, dev, func, reg);
drivers/peci/request.c
328
u8 bus, u8 dev, u8 func, u16 reg, u8 len)
drivers/peci/request.c
339
pci_addr = __get_pci_addr(bus, dev, func, reg);
drivers/peci/request.c
362
u8 bus, u8 dev, u8 func, u64 offset, u8 tx_len, u8 len)
drivers/peci/request.c
379
req->tx.buf[8] = PCI_DEVFN(dev, func);
drivers/peci/request.c
446
peci_xfer_pci_cfg_local_##x(struct peci_device *device, u8 bus, u8 dev, u8 func, u16 reg) \
drivers/peci/request.c
448
return __pci_cfg_local_read(device, bus, dev, func, reg, sizeof(type)); \
drivers/peci/request.c
458
peci_xfer_ep_pci_cfg_##x(struct peci_device *device, u8 seg, u8 bus, u8 dev, u8 func, u16 reg) \
drivers/peci/request.c
460
return __ep_pci_cfg_read(device, msg_type, seg, bus, dev, func, reg, sizeof(type)); \
drivers/peci/request.c
473
u8 bus, u8 dev, u8 func, u64 offset) \
drivers/peci/request.c
475
return __ep_mmio_read(device, bar, addr_type, seg, bus, dev, func, \
drivers/perf/hisilicon/hns3_pmu.c
322
#define FILTER_CONDITION_FUNC_INTR(func, intr) (((intr) << 8) | (func))
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.h
300
const char *func;
drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
23
#define SIG_EXPR_DECL_SINGLE(sig, func, ...) \
drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
24
SIG_EXPR_DECL(sig, func, func, __VA_ARGS__)
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
24
#define SIG_EXPR_DECL_SINGLE(sig, func, ...) \
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
25
SIG_EXPR_DECL(sig, func, func, __VA_ARGS__)
drivers/pinctrl/aspeed/pinmux-aspeed.h
519
#define SIG_EXPR_DECL_(sig, group, func) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
523
.function = #func, \
drivers/pinctrl/aspeed/pinmux-aspeed.h
545
#define SIG_EXPR_DECL(sig, group, func, ...) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
547
SIG_EXPR_DECL_(sig, group, func)
drivers/pinctrl/aspeed/pinmux-aspeed.h
612
#define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
613
SIG_DESC_LIST_DECL(sig, func, __VA_ARGS__); \
drivers/pinctrl/aspeed/pinmux-aspeed.h
614
SIG_EXPR_DECL_(sig, func, func); \
drivers/pinctrl/aspeed/pinmux-aspeed.h
615
SIG_EXPR_LIST_DECL(sig, func, SIG_EXPR_PTR(sig, func)); \
drivers/pinctrl/aspeed/pinmux-aspeed.h
616
SIG_EXPR_LIST_ALIAS(pin, sig, func)
drivers/pinctrl/aspeed/pinmux-aspeed.h
628
#define SIG_EXPR_LIST_DECL_SEMG(pin, sig, group, func, ...) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
630
SIG_EXPR_DECL_(sig, group, func); \
drivers/pinctrl/aspeed/pinmux-aspeed.h
745
#define FUNC_SYM(func) func_groups_ ## func
drivers/pinctrl/aspeed/pinmux-aspeed.h
746
#define FUNC_DECL_(func, ...) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
747
static const char *FUNC_SYM(func)[] = { __VA_ARGS__ }
drivers/pinctrl/aspeed/pinmux-aspeed.h
749
#define FUNC_DECL_1(func, group) FUNC_DECL_(func, #group)
drivers/pinctrl/aspeed/pinmux-aspeed.h
750
#define FUNC_DECL_2(func, one, two) FUNC_DECL_(func, #one, #two)
drivers/pinctrl/aspeed/pinmux-aspeed.h
751
#define FUNC_DECL_3(func, one, two, three) FUNC_DECL_(func, #one, #two, #three)
drivers/pinctrl/aspeed/pinmux-aspeed.h
753
#define FUNC_GROUP_DECL(func, ...) \
drivers/pinctrl/aspeed/pinmux-aspeed.h
754
GROUP_DECL(func, __VA_ARGS__); \
drivers/pinctrl/aspeed/pinmux-aspeed.h
755
FUNC_DECL_(func, #func)
drivers/pinctrl/bcm/pinctrl-bcm2835.c
829
u32 pin, func, pull;
drivers/pinctrl/bcm/pinctrl-bcm2835.c
893
(num_funcs > 1) ? i : 0, &func);
drivers/pinctrl/bcm/pinctrl-bcm2835.c
897
func, &cur_map);
drivers/pinctrl/bcm/pinctrl-brcmstb.c
102
if (pin_funcs[i - 1] == func) {
drivers/pinctrl/bcm/pinctrl-brcmstb.c
108
fsel = func;
drivers/pinctrl/bcm/pinctrl-brcmstb.c
58
unsigned int func;
drivers/pinctrl/bcm/pinctrl-brcmstb.c
69
func = pc->pin_funcs[pin].funcs[fsel];
drivers/pinctrl/bcm/pinctrl-brcmstb.c
71
if (func >= pc->func_count)
drivers/pinctrl/bcm/pinctrl-brcmstb.c
72
func = fsel;
drivers/pinctrl/bcm/pinctrl-brcmstb.c
76
pc->func_names[func]);
drivers/pinctrl/bcm/pinctrl-brcmstb.c
78
return func;
drivers/pinctrl/bcm/pinctrl-brcmstb.c
82
unsigned int pin, unsigned int func)
drivers/pinctrl/bcm/pinctrl-brcmstb.c
90
if (!bit || func >= pc->func_count)
drivers/pinctrl/bcm/pinctrl-brcmstb.c
98
if (func >= fsel) {
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
642
#define CYGNUS_PIN_FUNCTION(func) \
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
644
.name = #func, \
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
645
.groups = func ## _grps, \
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
646
.num_groups = ARRAY_SIZE(func ## _grps), \
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
769
const struct cygnus_pin_function *func,
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
797
func->name, grp->name);
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
827
const struct cygnus_pin_function *func =
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
832
func_select, func->name, grp_select, grp->name);
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
837
return cygnus_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
474
#define NS2_PIN_FUNCTION(func) \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
476
.name = #func, \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
477
.groups = func ## _grps, \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
478
.num_groups = ARRAY_SIZE(func ## _grps), \
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
566
const struct ns2_pin_function *func,
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
594
func->name, grp->name);
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
634
const struct ns2_pin_function *func;
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
641
func = &pinctrl->functions[func_select];
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
645
func_select, func->name, grp_select, grp->name);
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
650
return ns2_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
285
#define NSP_PIN_FUNCTION(func) \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
287
.name = #func, \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
288
.groups = func ## _grps, \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
289
.num_groups = ARRAY_SIZE(func ## _grps), \
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
383
const struct nsp_pin_function *func,
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
410
func->name, grp->name);
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
454
const struct nsp_pin_function *func;
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
461
func = &pinctrl->functions[func_select];
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
465
func_select, func->name, grp_select, grp->name);
drivers/pinctrl/bcm/pinctrl-nsp-mux.c
470
return nsp_pinmux_set(pinctrl, func, grp, pinctrl->mux_log);
drivers/pinctrl/berlin/berlin.c
156
struct pinfunction *func = pctrl->functions + function;
drivers/pinctrl/berlin/berlin.c
159
func->name);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
914
const struct lochnagar_func *func = &priv->funcs[func_idx];
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
918
switch (func->type) {
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
921
group->name, func->name);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
923
return lochnagar_aif_set_mux(priv, group, func->op);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
927
dev_dbg(priv->dev, "Set pin %s to %s\n", pin->name, func->name);
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
929
return lochnagar_pin_set_mux(priv, pin, func->op);
drivers/pinctrl/cirrus/pinctrl-madera-core.c
125
u32 func;
drivers/pinctrl/cirrus/pinctrl-madera-core.c
130
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
135
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
140
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
145
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
150
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
155
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
160
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
165
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
170
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
175
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
180
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
185
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
190
.func = 0x000
drivers/pinctrl/cirrus/pinctrl-madera-core.c
195
.func = 0x001
drivers/pinctrl/cirrus/pinctrl-madera-core.c
200
.func = 0x002
drivers/pinctrl/cirrus/pinctrl-madera-core.c
205
.func = 0x003
drivers/pinctrl/cirrus/pinctrl-madera-core.c
210
.func = 0x004
drivers/pinctrl/cirrus/pinctrl-madera-core.c
215
.func = 0x010
drivers/pinctrl/cirrus/pinctrl-madera-core.c
220
.func = 0x011
drivers/pinctrl/cirrus/pinctrl-madera-core.c
225
.func = 0x012
drivers/pinctrl/cirrus/pinctrl-madera-core.c
230
.func = 0x013
drivers/pinctrl/cirrus/pinctrl-madera-core.c
235
.func = 0x018
drivers/pinctrl/cirrus/pinctrl-madera-core.c
240
.func = 0x019
drivers/pinctrl/cirrus/pinctrl-madera-core.c
245
.func = 0x01a
drivers/pinctrl/cirrus/pinctrl-madera-core.c
250
.func = 0x01b
drivers/pinctrl/cirrus/pinctrl-madera-core.c
255
.func = 0x040
drivers/pinctrl/cirrus/pinctrl-madera-core.c
260
.func = 0x041
drivers/pinctrl/cirrus/pinctrl-madera-core.c
265
.func = 0x048
drivers/pinctrl/cirrus/pinctrl-madera-core.c
270
.func = 0x049
drivers/pinctrl/cirrus/pinctrl-madera-core.c
275
.func = 0x04c
drivers/pinctrl/cirrus/pinctrl-madera-core.c
280
.func = 0x088
drivers/pinctrl/cirrus/pinctrl-madera-core.c
285
.func = 0x089
drivers/pinctrl/cirrus/pinctrl-madera-core.c
290
.func = 0x08a
drivers/pinctrl/cirrus/pinctrl-madera-core.c
295
.func = 0x08b
drivers/pinctrl/cirrus/pinctrl-madera-core.c
300
.func = 0x0b6
drivers/pinctrl/cirrus/pinctrl-madera-core.c
305
.func = 0x0b7
drivers/pinctrl/cirrus/pinctrl-madera-core.c
310
.func = 0x0e0
drivers/pinctrl/cirrus/pinctrl-madera-core.c
315
.func = 0x0e1
drivers/pinctrl/cirrus/pinctrl-madera-core.c
320
.func = 0x0e2
drivers/pinctrl/cirrus/pinctrl-madera-core.c
325
.func = 0x140
drivers/pinctrl/cirrus/pinctrl-madera-core.c
330
.func = 0x141
drivers/pinctrl/cirrus/pinctrl-madera-core.c
335
.func = 0x142
drivers/pinctrl/cirrus/pinctrl-madera-core.c
340
.func = 0x143
drivers/pinctrl/cirrus/pinctrl-madera-core.c
345
.func = 0x144
drivers/pinctrl/cirrus/pinctrl-madera-core.c
350
.func = 0x145
drivers/pinctrl/cirrus/pinctrl-madera-core.c
355
.func = 0x146
drivers/pinctrl/cirrus/pinctrl-madera-core.c
360
.func = 0x147
drivers/pinctrl/cirrus/pinctrl-madera-core.c
365
.func = 0x150
drivers/pinctrl/cirrus/pinctrl-madera-core.c
370
.func = 0x151
drivers/pinctrl/cirrus/pinctrl-madera-core.c
375
.func = 0x152
drivers/pinctrl/cirrus/pinctrl-madera-core.c
380
.func = 0x153
drivers/pinctrl/cirrus/pinctrl-madera-core.c
385
.func = 0x154
drivers/pinctrl/cirrus/pinctrl-madera-core.c
390
.func = 0x155
drivers/pinctrl/cirrus/pinctrl-madera-core.c
395
.func = 0x156
drivers/pinctrl/cirrus/pinctrl-madera-core.c
400
.func = 0x157
drivers/pinctrl/cirrus/pinctrl-madera-core.c
405
.func = 0x280
drivers/pinctrl/cirrus/pinctrl-madera-core.c
410
.func = 0x281
drivers/pinctrl/cirrus/pinctrl-madera-core.c
494
if (madera_mux_funcs[i].func == fn) {
drivers/pinctrl/cirrus/pinctrl-madera-core.c
599
if (madera_mux_funcs[selector].func == 0) {
drivers/pinctrl/cirrus/pinctrl-madera-core.c
626
if (madera_mux_funcs[selector].func == 0) {
drivers/pinctrl/cirrus/pinctrl-madera-core.c
660
__func__, reg, madera_mux_funcs[selector].func);
drivers/pinctrl/cirrus/pinctrl-madera-core.c
665
madera_mux_funcs[selector].func);
drivers/pinctrl/cix/pinctrl-sky1-base.c
118
u32 pinfunc, pin, func;
drivers/pinctrl/cix/pinctrl-sky1-base.c
170
func = CIX_GET_PIN_FUNC(pinfunc);
drivers/pinctrl/cix/pinctrl-sky1-base.c
174
func >= pctldev->num_functions) {
drivers/pinctrl/cix/pinctrl-sky1-base.c
188
err = sky1_pctrl_dt_node_to_map_func(spctl, pin, func, grp,
drivers/pinctrl/core.h
115
unsigned int func;
drivers/pinctrl/freescale/pinctrl-imx.c
247
const struct function_desc *func;
drivers/pinctrl/freescale/pinctrl-imx.c
261
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/freescale/pinctrl-imx.c
262
if (!func)
drivers/pinctrl/freescale/pinctrl-imx.c
268
func->func->name, grp->grp.name);
drivers/pinctrl/freescale/pinctrl-imx.c
582
struct pinfunction *func;
drivers/pinctrl/freescale/pinctrl-imx.c
590
func = devm_kzalloc(ipctl->dev, sizeof(*func), GFP_KERNEL);
drivers/pinctrl/freescale/pinctrl-imx.c
591
if (!func)
drivers/pinctrl/freescale/pinctrl-imx.c
595
func->name = np->name;
drivers/pinctrl/freescale/pinctrl-imx.c
596
func->ngroups = of_get_child_count(np);
drivers/pinctrl/freescale/pinctrl-imx.c
597
if (func->ngroups == 0) {
drivers/pinctrl/freescale/pinctrl-imx.c
602
group_names = devm_kcalloc(ipctl->dev, func->ngroups,
drivers/pinctrl/freescale/pinctrl-imx.c
603
sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/freescale/pinctrl-imx.c
609
func->groups = group_names;
drivers/pinctrl/freescale/pinctrl-imx.c
611
ret = pinmux_generic_add_pinfunction(pctl, func, NULL);
drivers/pinctrl/freescale/pinctrl-imx1-core.c
510
struct imx1_pmx_func *func;
drivers/pinctrl/freescale/pinctrl-imx1-core.c
518
func = &info->functions[index];
drivers/pinctrl/freescale/pinctrl-imx1-core.c
521
func->name = np->name;
drivers/pinctrl/freescale/pinctrl-imx1-core.c
522
func->num_groups = of_get_child_count(np);
drivers/pinctrl/freescale/pinctrl-imx1-core.c
523
if (func->num_groups == 0)
drivers/pinctrl/freescale/pinctrl-imx1-core.c
526
func->groups = devm_kcalloc(info->dev,
drivers/pinctrl/freescale/pinctrl-imx1-core.c
527
func->num_groups, sizeof(char *), GFP_KERNEL);
drivers/pinctrl/freescale/pinctrl-imx1-core.c
529
if (!func->groups)
drivers/pinctrl/freescale/pinctrl-imx1-core.c
533
func->groups[i] = child->name;
drivers/pinctrl/freescale/pinctrl-scu.c
103
hdr->func = IMX_SC_PAD_FUNC_SET_WAKEUP;
drivers/pinctrl/freescale/pinctrl-scu.c
125
hdr->func = IMX_SC_PAD_FUNC_SET;
drivers/pinctrl/freescale/pinctrl-scu.c
70
hdr->func = IMX_SC_PAD_FUNC_GET;
drivers/pinctrl/intel/pinctrl-baytrail.c
612
unsigned int func)
drivers/pinctrl/intel/pinctrl-baytrail.c
631
value |= func;
drivers/pinctrl/intel/pinctrl-baytrail.c
638
const unsigned int *func)
drivers/pinctrl/intel/pinctrl-baytrail.c
657
value |= func[i];
drivers/pinctrl/intel/pinctrl-baytrail.c
666
const struct intel_function func = vg->soc->functions[func_selector];
drivers/pinctrl/intel/pinctrl-baytrail.c
671
else if (!strcmp(func.func.name, "gpio"))
drivers/pinctrl/intel/pinctrl-intel.c
410
return pctrl->soc->functions[function].func.name;
drivers/pinctrl/intel/pinctrl-intel.c
419
*groups = pctrl->soc->functions[function].func.groups;
drivers/pinctrl/intel/pinctrl-intel.c
420
*ngroups = pctrl->soc->functions[function].func.ngroups;
drivers/pinctrl/intel/pinctrl-intel.h
197
.func = PINCTRL_PINFUNCTION((n), (g), ARRAY_SIZE(g)), \
drivers/pinctrl/intel/pinctrl-intel.h
42
struct pinfunction func;
drivers/pinctrl/intel/pinctrl-tangier.c
201
return tp->functions[function].func.name;
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/mediatek/pinctrl-airoha.c
2462
const struct airoha_pinctrl_func *func;
drivers/pinctrl/mediatek/pinctrl-airoha.c
2476
desc->func->name, grp->grp.name);
drivers/pinctrl/mediatek/pinctrl-airoha.c
2478
func = desc->data;
drivers/pinctrl/mediatek/pinctrl-airoha.c
2479
for (i = 0; i < func->group_size; i++) {
drivers/pinctrl/mediatek/pinctrl-airoha.c
2483
group = &func->groups[i];
drivers/pinctrl/mediatek/pinctrl-airoha.c
2923
const struct airoha_pinctrl_func *func;
drivers/pinctrl/mediatek/pinctrl-airoha.c
2925
func = &data->funcs[i];
drivers/pinctrl/mediatek/pinctrl-airoha.c
2927
&func->desc,
drivers/pinctrl/mediatek/pinctrl-airoha.c
2928
(void *)func);
drivers/pinctrl/mediatek/pinctrl-airoha.c
2931
func->desc.name);
drivers/pinctrl/mediatek/pinctrl-moore.c
46
const struct function_desc *func;
drivers/pinctrl/mediatek/pinctrl-moore.c
50
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/mediatek/pinctrl-moore.c
51
if (!func)
drivers/pinctrl/mediatek/pinctrl-moore.c
59
func->func->name, grp->grp.name);
drivers/pinctrl/mediatek/pinctrl-moore.c
625
const struct pinfunction *func = hw->soc->funcs + i;
drivers/pinctrl/mediatek/pinctrl-moore.c
627
err = pinmux_generic_add_pinfunction(hw->pctrl, func, NULL);
drivers/pinctrl/mediatek/pinctrl-moore.c
630
func->name);
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
460
const struct mtk_desc_function *func = pin->functions;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
462
while (func && func->name) {
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
463
if (func->muxval == fnum)
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
464
return func;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
465
func++;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
480
const struct mtk_desc_function *func =
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
483
while (func && func->name) {
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
484
if (func->muxval == fnum)
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
486
func++;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
529
u32 pinfunc, pin, func;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
581
func = MTK_GET_PIN_FUNC(pinfunc);
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
584
func >= ARRAY_SIZE(mtk_gpio_functions)) {
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
598
err = mtk_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map,
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
769
const struct mtk_desc_function *func = pin->functions;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
771
while (func && func->name) {
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
772
if (!strncmp(func->name, GPIO_MODE_PREFIX,
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
774
return func->muxval;
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
775
func++;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
101
unsigned int func,
drivers/pinctrl/mediatek/pinctrl-mtmips.c
107
if (p->func[func]->group_count == 1)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
108
*groups = &p->group_names[p->func[func]->groups[0]];
drivers/pinctrl/mediatek/pinctrl-mtmips.c
112
*num_groups = p->func[func]->group_count;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
118
unsigned int func, unsigned int group)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
134
p->func[func]->enabled = 1;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
145
for (i = 0; i < p->groups[group].func[0].pin_count; i++)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
146
p->gpio[p->groups[group].func[0].pins[i]] = 1;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
149
if (func == 0) {
drivers/pinctrl/mediatek/pinctrl-mtmips.c
152
for (i = 0; i < p->func[func]->pin_count; i++)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
153
p->gpio[p->func[func]->pins[i]] = 0;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
154
mode |= p->func[func]->value << shift;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
220
p->func = devm_kcalloc(p->dev, p->func_count,
drivers/pinctrl/mediatek/pinctrl-mtmips.c
221
sizeof(*p->func), GFP_KERNEL);
drivers/pinctrl/mediatek/pinctrl-mtmips.c
224
if (!p->func || !gpio_func.groups)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
232
p->func[c] = &gpio_func;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
238
p->func[c] = &p->groups[i].func[j];
drivers/pinctrl/mediatek/pinctrl-mtmips.c
239
p->func[c]->groups = devm_kzalloc(p->dev, sizeof(int),
drivers/pinctrl/mediatek/pinctrl-mtmips.c
241
if (!p->func[c]->groups)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
243
p->func[c]->groups[0] = i;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
244
p->func[c]->group_count = 1;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
262
if (!p->func[i]->pin_count)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
265
p->func[i]->pins = devm_kcalloc(p->dev,
drivers/pinctrl/mediatek/pinctrl-mtmips.c
266
p->func[i]->pin_count,
drivers/pinctrl/mediatek/pinctrl-mtmips.c
269
if (!p->func[i]->pins)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
271
for (j = 0; j < p->func[i]->pin_count; j++)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
272
p->func[i]->pins[j] = p->func[i]->pin_first + j;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
274
pin = p->func[i]->pin_first + p->func[i]->pin_count;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
289
if (!p->func[i]->pin_count)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
292
for (j = 0; j < p->func[i]->pin_count; j++)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
293
p->gpio[p->func[i]->pins[j]] = 0;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
35
struct mtmips_pmx_func **func;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
71
*pins = p->groups[group].func[0].pins;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
72
*num_pins = p->groups[group].func[0].pin_count;
drivers/pinctrl/mediatek/pinctrl-mtmips.c
93
unsigned int func)
drivers/pinctrl/mediatek/pinctrl-mtmips.c
97
return p->func[func]->name;
drivers/pinctrl/mediatek/pinctrl-mtmips.h
14
.func = _func, .gpio = _mask, \
drivers/pinctrl/mediatek/pinctrl-mtmips.h
19
.func = _func, .gpio = _gpio, \
drivers/pinctrl/mediatek/pinctrl-mtmips.h
46
struct mtmips_pmx_func *func;
drivers/pinctrl/mediatek/pinctrl-paris.c
372
const struct mtk_func_desc *func = pin->funcs;
drivers/pinctrl/mediatek/pinctrl-paris.c
374
while (func && func->name) {
drivers/pinctrl/mediatek/pinctrl-paris.c
375
if (func->muxval == fnum)
drivers/pinctrl/mediatek/pinctrl-paris.c
376
return func;
drivers/pinctrl/mediatek/pinctrl-paris.c
377
func++;
drivers/pinctrl/mediatek/pinctrl-paris.c
392
const struct mtk_func_desc *func = pin->funcs;
drivers/pinctrl/mediatek/pinctrl-paris.c
394
while (func && func->name) {
drivers/pinctrl/mediatek/pinctrl-paris.c
395
if (func->muxval == fnum)
drivers/pinctrl/mediatek/pinctrl-paris.c
397
func++;
drivers/pinctrl/mediatek/pinctrl-paris.c
447
u32 pinfunc, pin, func;
drivers/pinctrl/mediatek/pinctrl-paris.c
492
func = MTK_GET_PIN_FUNC(pinfunc);
drivers/pinctrl/mediatek/pinctrl-paris.c
495
func >= ARRAY_SIZE(mtk_gpio_functions)) {
drivers/pinctrl/mediatek/pinctrl-paris.c
509
err = mtk_pctrl_dt_node_to_map_func(hw, pin, func, grp, map,
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
175
int pin_id, int func)
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
203
0xf << offset, (func & 0xf) << offset);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
213
0xf << offset, (func & 0xf) << offset);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
254
aml_pctl_set_function(info, range, group->pins[i], group->func[i]);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
757
struct aml_pmx_func *func;
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
761
func = &info->functions[index];
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
762
func->name = np->name;
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
763
func->ngroups = of_get_child_count(np);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
764
if (func->ngroups == 0)
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
767
func->groups = devm_kcalloc(dev, func->ngroups, sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
768
if (!func->groups)
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
773
func->groups[i++] = child->name;
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
778
&grp->func, &grp->npins);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
780
dev_err(dev, "function :%s, groups:%s fail\n", func->name, child->name);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
784
dev_dbg(dev, "Function[%d\t name:%s,\tgroups:%d]\n", index, func->name, func->ngroups);
drivers/pinctrl/meson/pinctrl-amlogic-a4.c
83
unsigned int *func;
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
60
unsigned int pin, unsigned int func)
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
74
0xf << offset, (func & 0xf) << offset);
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
85
const struct meson_pmx_func *func = &pc->data->funcs[func_num];
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
90
dev_dbg(pc->dev, "enable function %s, group %s\n", func->name,
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c
95
pmx_data->func);
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h
34
unsigned int func;
drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h
39
.func = f, \
drivers/pinctrl/meson/pinctrl-meson8-pmx.c
60
const struct meson_pmx_func *func = &pc->data->funcs[func_num];
drivers/pinctrl/meson/pinctrl-meson8-pmx.c
66
dev_dbg(pc->dev, "enable function %s, group %s\n", func->name,
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
278
u32 func;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
290
regmap_read(pctrl->regmap, reg, &func);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
291
func = (func >> offset) & MPFS_PINCTRL_PAD_MUX_MASK;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
292
seq_printf(seq, "func: %s (%x)\n", mpfs_pinctrl_function_names[func], func);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
308
u32 func, mask;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
313
func = function << offset;
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
316
dev_dbg(dev, "Setting pin %u. reg: %x offset %u func %x\n", pin, reg, offset, func);
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c
321
regmap_update_bits(pctrl->regmap, reg, mask, func);
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
351
int func, val;
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
355
func = match_string(grp->funcs, NB_FUNCS, name);
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
356
if (func < 0)
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
359
val = grp->val[func];
drivers/pinctrl/mvebu/pinctrl-dove.c
69
unsigned long func;
drivers/pinctrl/mvebu/pinctrl-dove.c
74
func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off);
drivers/pinctrl/mvebu/pinctrl-dove.c
75
*config = (func >> shift) & MVEBU_MPP_MASK;
drivers/pinctrl/mvebu/pinctrl-dove.c
87
unsigned long func;
drivers/pinctrl/mvebu/pinctrl-dove.c
95
func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off);
drivers/pinctrl/mvebu/pinctrl-dove.c
96
func &= ~(MVEBU_MPP_MASK << shift);
drivers/pinctrl/mvebu/pinctrl-dove.c
97
func |= (config & MVEBU_MPP_MASK) << shift;
drivers/pinctrl/mvebu/pinctrl-dove.c
98
writel(func, pmu_base + PMU_SIGNAL_SELECT_0 + off);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
298
struct mvebu_pinctrl_function *func = &pctl->functions[fid];
drivers/pinctrl/mvebu/pinctrl-mvebu.c
305
func->name);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
309
func->name, func->groups[gid]);
drivers/pinctrl/mvebu/pinctrl-mvebu.c
317
func->groups[gid], func->name);
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1033
struct pinfunction *func;
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1042
func = &npctl->functions[index];
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1043
func->name = np->name;
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1044
func->ngroups = of_get_child_count(np);
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1046
if (func->ngroups <= 0)
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1049
groups = devm_kcalloc(npctl->dev, func->ngroups, sizeof(*groups), GFP_KERNEL);
drivers/pinctrl/nuvoton/pinctrl-ma35.c
1065
func->groups = groups;
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
817
int npins, int func)
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
824
if (func == fn_gpio || cfg->fn0 == func || cfg->fn1 == func) {
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
827
cfg->bit0, cfg->fn0, func);
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c
830
cfg->bit1, cfg->fn1, func);
drivers/pinctrl/nxp/pinctrl-s32cc.c
802
struct pinfunction *func;
drivers/pinctrl/nxp/pinctrl-s32cc.c
810
func = &info->functions[index];
drivers/pinctrl/nxp/pinctrl-s32cc.c
813
func->name = np->name;
drivers/pinctrl/nxp/pinctrl-s32cc.c
814
func->ngroups = of_get_child_count(np);
drivers/pinctrl/nxp/pinctrl-s32cc.c
815
if (func->ngroups == 0) {
drivers/pinctrl/nxp/pinctrl-s32cc.c
820
groups = devm_kcalloc(info->dev, func->ngroups,
drivers/pinctrl/nxp/pinctrl-s32cc.c
821
sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/nxp/pinctrl-s32cc.c
834
func->groups = groups;
drivers/pinctrl/pinctrl-apple-gpio.c
109
u32 pinfunc, pin, func;
drivers/pinctrl/pinctrl-apple-gpio.c
140
func = APPLE_FUNC(pinfunc);
drivers/pinctrl/pinctrl-apple-gpio.c
142
if (func >= pinmux_generic_get_function_count(pctldev)) {
drivers/pinctrl/pinctrl-apple-gpio.c
148
function_name = pinmux_generic_get_function_name(pctl->pctldev, func);
drivers/pinctrl/pinctrl-apple-gpio.c
180
static int apple_gpio_pinmux_set(struct pinctrl_dev *pctldev, unsigned int func,
drivers/pinctrl/pinctrl-apple-gpio.c
187
FIELD_PREP(REG_GPIOx_PERIPH, func) | REG_GPIOx_INPUT_ENABLE);
drivers/pinctrl/pinctrl-at91-pio4.c
605
const char *group, *func;
drivers/pinctrl/pinctrl-at91-pio4.c
612
&func);
drivers/pinctrl/pinctrl-at91-pio4.c
617
group, func);
drivers/pinctrl/pinctrl-at91.c
1247
struct at91_pmx_func *func;
drivers/pinctrl/pinctrl-at91.c
1255
func = &info->functions[index];
drivers/pinctrl/pinctrl-at91.c
1258
func->name = np->name;
drivers/pinctrl/pinctrl-at91.c
1259
func->ngroups = of_get_child_count(np);
drivers/pinctrl/pinctrl-at91.c
1260
if (func->ngroups == 0) {
drivers/pinctrl/pinctrl-at91.c
1264
func->groups = devm_kcalloc(info->dev,
drivers/pinctrl/pinctrl-at91.c
1265
func->ngroups, sizeof(char *), GFP_KERNEL);
drivers/pinctrl/pinctrl-at91.c
1266
if (!func->groups)
drivers/pinctrl/pinctrl-at91.c
1270
func->groups[i] = child->name;
drivers/pinctrl/pinctrl-axp209.c
360
struct axp20x_pinctrl_function *func,
drivers/pinctrl/pinctrl-axp209.c
368
func->ngroups = ngroups;
drivers/pinctrl/pinctrl-axp209.c
369
if (func->ngroups > 0) {
drivers/pinctrl/pinctrl-axp209.c
370
func->groups = devm_kcalloc(dev,
drivers/pinctrl/pinctrl-axp209.c
373
if (!func->groups)
drivers/pinctrl/pinctrl-axp209.c
375
group = func->groups;
drivers/pinctrl/pinctrl-bm1880.c
1000
regval |= func->mux_val << mux_offset;
drivers/pinctrl/pinctrl-bm1880.c
989
const struct bm1880_pinmux_function *func = &pctrl->funcs[function];
drivers/pinctrl/pinctrl-ep93xx.c
1273
const struct pinfunction *func;
drivers/pinctrl/pinctrl-ep93xx.c
1296
func = &ep93xx_pmx_functions[selector];
drivers/pinctrl/pinctrl-ep93xx.c
1300
func->name, grp->grp.name, grp->mask, grp->value);
drivers/pinctrl/pinctrl-equilibrium.c
335
const struct function_desc *func;
drivers/pinctrl/pinctrl-equilibrium.c
340
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/pinctrl-equilibrium.c
341
if (!func)
drivers/pinctrl/pinctrl-falcon.c
55
.func = { \
drivers/pinctrl/pinctrl-gemini.c
2195
const struct gemini_pmx_func *func;
drivers/pinctrl/pinctrl-gemini.c
2203
func = &gemini_pmx_functions[selector];
drivers/pinctrl/pinctrl-gemini.c
2215
func->name, grp->name);
drivers/pinctrl/pinctrl-ingenic.c
3968
int pin, int func)
drivers/pinctrl/pinctrl-ingenic.c
3974
'A' + offt, idx, func);
drivers/pinctrl/pinctrl-ingenic.c
3979
ingenic_shadow_config_pin(jzpc, pin, JZ4770_GPIO_PAT1, func & 0x2);
drivers/pinctrl/pinctrl-ingenic.c
3980
ingenic_shadow_config_pin(jzpc, pin, JZ4770_GPIO_PAT0, func & 0x1);
drivers/pinctrl/pinctrl-ingenic.c
3985
ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT1, func & 0x2);
drivers/pinctrl/pinctrl-ingenic.c
3986
ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT0, func & 0x1);
drivers/pinctrl/pinctrl-ingenic.c
3989
ingenic_config_pin(jzpc, pin, JZ4740_GPIO_TRIG, func & 0x2);
drivers/pinctrl/pinctrl-ingenic.c
3990
ingenic_config_pin(jzpc, pin, JZ4740_GPIO_SELECT, func & 0x1);
drivers/pinctrl/pinctrl-ingenic.c
3993
jz4730_config_pin_function(jzpc, pin, JZ4730_GPIO_GPAUR, JZ4730_GPIO_GPALR, func);
drivers/pinctrl/pinctrl-ingenic.c
4003
const struct function_desc *func;
drivers/pinctrl/pinctrl-ingenic.c
4009
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/pinctrl-ingenic.c
4010
if (!func)
drivers/pinctrl/pinctrl-ingenic.c
4018
func->func->name, grp->grp.name);
drivers/pinctrl/pinctrl-ingenic.c
4571
const struct pinfunction *func = &chip_info->functions[i];
drivers/pinctrl/pinctrl-ingenic.c
4573
err = pinmux_generic_add_pinfunction(jzpc->pctl, func, NULL);
drivers/pinctrl/pinctrl-ingenic.c
4575
dev_err(dev, "Failed to register function %s\n", func->name);
drivers/pinctrl/pinctrl-ingenic.c
93
#define INGENIC_PIN_GROUP(_name_, id, func) \
drivers/pinctrl/pinctrl-ingenic.c
96
.data = (void *)func, \
drivers/pinctrl/pinctrl-k210.c
494
u32 pin, u32 func)
drivers/pinctrl/pinctrl-k210.c
497
const struct k210_pcf_info *info = &k210_pcf_infos[func];
drivers/pinctrl/pinctrl-k210.c
499
u32 val = func | mode;
drivers/pinctrl/pinctrl-k210.c
502
pin, info->name, func, val);
drivers/pinctrl/pinctrl-k210.c
799
u32 func = FIELD_GET(K210_PG_FUNC, pinmux_group);
drivers/pinctrl/pinctrl-k210.c
807
func_name = k210_pcf_infos[func].name;
drivers/pinctrl/pinctrl-k230.c
195
const struct k230_pmx_func *func;
drivers/pinctrl/pinctrl-k230.c
201
func = k230_name_to_funtion(info, np_config->name);
drivers/pinctrl/pinctrl-k230.c
202
if (!func) {
drivers/pinctrl/pinctrl-k230.c
208
for (i = 0; i < func->ngroups; ++i) {
drivers/pinctrl/pinctrl-k230.c
209
grp_id = func->group_idx[i];
drivers/pinctrl/pinctrl-k230.c
221
for (i = 0; i < func->ngroups; ++i) {
drivers/pinctrl/pinctrl-k230.c
222
grp_id = func->group_idx[i];
drivers/pinctrl/pinctrl-k230.c
452
value = data[cnt].func << K230_SHIFT_SEL;
drivers/pinctrl/pinctrl-k230.c
47
unsigned int func;
drivers/pinctrl/pinctrl-k230.c
499
grp->data[i].func = (mux_data & 0xff);
drivers/pinctrl/pinctrl-k230.c
516
struct k230_pmx_func *func;
drivers/pinctrl/pinctrl-k230.c
521
func = &info->functions[index];
drivers/pinctrl/pinctrl-k230.c
523
func->name = np->name;
drivers/pinctrl/pinctrl-k230.c
524
func->ngroups = of_get_child_count(np);
drivers/pinctrl/pinctrl-k230.c
525
if (func->ngroups <= 0)
drivers/pinctrl/pinctrl-k230.c
528
func->groups = devm_kcalloc(dev, func->ngroups,
drivers/pinctrl/pinctrl-k230.c
529
sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/pinctrl-k230.c
530
func->group_idx = devm_kcalloc(dev, func->ngroups,
drivers/pinctrl/pinctrl-k230.c
531
sizeof(*func->group_idx), GFP_KERNEL);
drivers/pinctrl/pinctrl-k230.c
532
if (!func->groups || !func->group_idx)
drivers/pinctrl/pinctrl-k230.c
538
func->groups[i] = child->name;
drivers/pinctrl/pinctrl-k230.c
539
func->group_idx[i] = idx;
drivers/pinctrl/pinctrl-keembay.c
139
struct pinfunction func;
drivers/pinctrl/pinctrl-keembay.c
1570
struct keembay_pinfunction *func = &functions[i];
drivers/pinctrl/pinctrl-keembay.c
1575
group_names = devm_kcalloc(kpc->dev, func->func.ngroups,
drivers/pinctrl/pinctrl-keembay.c
1585
if (!strcmp(mux->name, func->func.name))
drivers/pinctrl/pinctrl-keembay.c
1590
func->func.groups = group_names;
drivers/pinctrl/pinctrl-keembay.c
1595
pinmux_generic_add_pinfunction(kpc->pctrl, &functions[i].func,
drivers/pinctrl/pinctrl-keembay.c
1625
for (fdesc = keembay_funcs; fdesc->func.name; fdesc++) {
drivers/pinctrl/pinctrl-keembay.c
1626
if (!strcmp(mux->name, fdesc->func.name)) {
drivers/pinctrl/pinctrl-keembay.c
1627
fdesc->func.ngroups++;
drivers/pinctrl/pinctrl-keembay.c
1633
if (!fdesc->func.name) {
drivers/pinctrl/pinctrl-keembay.c
1634
fdesc->func.name = mux->name;
drivers/pinctrl/pinctrl-keembay.c
1635
fdesc->func.ngroups = 1;
drivers/pinctrl/pinctrl-keembay.c
938
const struct function_desc *func;
drivers/pinctrl/pinctrl-keembay.c
948
func = pinmux_generic_get_function(pctldev, fun_sel);
drivers/pinctrl/pinctrl-keembay.c
949
if (!func)
drivers/pinctrl/pinctrl-keembay.c
954
pin_mode = *(u8 *)(func->data);
drivers/pinctrl/pinctrl-lantiq.c
200
unsigned func,
drivers/pinctrl/pinctrl-lantiq.c
206
*groups = info->funcs[func].groups;
drivers/pinctrl/pinctrl-lantiq.c
207
*num_groups = info->funcs[func].num_groups;
drivers/pinctrl/pinctrl-lantiq.c
217
if (mfp->func[i] == mux)
drivers/pinctrl/pinctrl-lantiq.c
260
unsigned func,
drivers/pinctrl/pinctrl-lantiq.h
47
const unsigned short func[LTQ_MAX_MUX];
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
1159
int func;
drivers/pinctrl/pinctrl-lpc18xx.c
1204
for (func = 0; func < LPC18XX_SCU_FUNC_PER_PIN; func++) {
drivers/pinctrl/pinctrl-lpc18xx.c
1205
if (function == pin->functions[func])
drivers/pinctrl/pinctrl-lpc18xx.c
1209
if (func >= LPC18XX_SCU_FUNC_PER_PIN)
drivers/pinctrl/pinctrl-lpc18xx.c
1214
writel(reg | func, scu->base + pin->offset);
drivers/pinctrl/pinctrl-lpc18xx.c
1304
int func, ngroups, i;
drivers/pinctrl/pinctrl-lpc18xx.c
1306
for (func = 0; func < FUNC_MAX; func++) {
drivers/pinctrl/pinctrl-lpc18xx.c
1308
if (lpc18xx_valid_pin_function(i, func))
drivers/pinctrl/pinctrl-lpc18xx.c
1312
scu->func[func].ngroups = ngroups;
drivers/pinctrl/pinctrl-lpc18xx.c
1313
scu->func[func].groups = devm_kcalloc(dev,
drivers/pinctrl/pinctrl-lpc18xx.c
1316
if (!scu->func[func].groups)
drivers/pinctrl/pinctrl-lpc18xx.c
1320
scu->func[func].groups[i] = lpc18xx_pins[pins[i]].name;
drivers/pinctrl/pinctrl-lpc18xx.c
192
struct lpc18xx_pmx_func func[FUNC_MAX];
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
2083
info->func[f].ngroups = npins;
drivers/pinctrl/pinctrl-ocelot.c
2084
info->func[f].groups = devm_kcalloc(dev, npins, sizeof(char *),
drivers/pinctrl/pinctrl-ocelot.c
2086
if (!info->func[f].groups) {
drivers/pinctrl/pinctrl-ocelot.c
2092
info->func[f].groups[i] =
drivers/pinctrl/pinctrl-ocelot.c
375
struct ocelot_pmx_func func[FUNC_MAX];
drivers/pinctrl/pinctrl-pic32.c
1748
pic32_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func)
drivers/pinctrl/pinctrl-pic32.c
1752
return pctl->functions[func].name;
drivers/pinctrl/pinctrl-pic32.c
1756
unsigned func,
drivers/pinctrl/pinctrl-pic32.c
1762
*groups = pctl->functions[func].groups;
drivers/pinctrl/pinctrl-pic32.c
1763
*num_groups = pctl->functions[func].ngroups;
drivers/pinctrl/pinctrl-pic32.c
1769
unsigned func, unsigned group)
drivers/pinctrl/pinctrl-pic32.c
1773
const struct pic32_function *pf = &pctl->functions[func];
drivers/pinctrl/pinctrl-pic32.c
1791
dev_err(pctl->dev, "cannot mux pin %u to function %u\n", group, func);
drivers/pinctrl/pinctrl-pistachio.c
924
pistachio_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func)
drivers/pinctrl/pinctrl-pistachio.c
928
return pctl->functions[func].name;
drivers/pinctrl/pinctrl-pistachio.c
932
unsigned func,
drivers/pinctrl/pinctrl-pistachio.c
938
*groups = pctl->functions[func].groups;
drivers/pinctrl/pinctrl-pistachio.c
939
*num_groups = pctl->functions[func].ngroups;
drivers/pinctrl/pinctrl-pistachio.c
945
unsigned func, unsigned group)
drivers/pinctrl/pinctrl-pistachio.c
949
const struct pistachio_function *pf = &pctl->functions[func];
drivers/pinctrl/pinctrl-pistachio.c
956
if (pg->mux_option[i] == func)
drivers/pinctrl/pinctrl-pistachio.c
961
group, func);
drivers/pinctrl/pinctrl-rockchip.c
1133
(data->pin == pin) && (data->func == mux))
drivers/pinctrl/pinctrl-rockchip.c
292
.func = FUNC, \
drivers/pinctrl/pinctrl-rockchip.c
3530
data[cnt].func);
drivers/pinctrl/pinctrl-rockchip.c
3871
grp->data[j].func = be32_to_cpu(*list++);
drivers/pinctrl/pinctrl-rockchip.c
3893
struct rockchip_pmx_func *func;
drivers/pinctrl/pinctrl-rockchip.c
3901
func = &info->functions[index];
drivers/pinctrl/pinctrl-rockchip.c
3904
func->name = np->name;
drivers/pinctrl/pinctrl-rockchip.c
3905
func->ngroups = of_get_child_count(np);
drivers/pinctrl/pinctrl-rockchip.c
3906
if (func->ngroups <= 0)
drivers/pinctrl/pinctrl-rockchip.c
3909
func->groups = devm_kcalloc(dev, func->ngroups, sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/pinctrl-rockchip.c
3910
if (!func->groups)
drivers/pinctrl/pinctrl-rockchip.c
3914
func->groups[i] = child->name;
drivers/pinctrl/pinctrl-rockchip.h
386
u8 func;
drivers/pinctrl/pinctrl-rockchip.h
419
unsigned int func;
drivers/pinctrl/pinctrl-rp1.c
1082
enum funcs func = rp1_get_fsel_func(offset, fsel);
drivers/pinctrl/pinctrl-rp1.c
1087
rp1_func_names[fsel].name, rp1_func_names[func].name,
drivers/pinctrl/pinctrl-rp1.c
1110
enum funcs func;
drivers/pinctrl/pinctrl-rp1.c
1118
func = legacy_fsel_map[pin][fnum];
drivers/pinctrl/pinctrl-rp1.c
1120
func = func_gpio;
drivers/pinctrl/pinctrl-rp1.c
1131
map->data.mux.function = rp1_func_names[func].name;
drivers/pinctrl/pinctrl-rp1.c
1189
u32 pin, func, pull;
drivers/pinctrl/pinctrl-rp1.c
1249
&func);
drivers/pinctrl/pinctrl-rp1.c
1252
err = rp1_pctl_legacy_map_func(pc, np, pin, func,
drivers/pinctrl/pinctrl-scmi.c
116
struct pinfunction *func;
drivers/pinctrl/pinctrl-scmi.c
129
func = &pmx->functions[selector];
drivers/pinctrl/pinctrl-scmi.c
130
if (func->ngroups)
drivers/pinctrl/pinctrl-scmi.c
154
func->ngroups = num_groups;
drivers/pinctrl/pinctrl-scmi.c
155
func->groups = groups;
drivers/pinctrl/pinctrl-scmi.c
157
*p_groups = func->groups;
drivers/pinctrl/pinctrl-scmi.c
158
*p_num_groups = func->ngroups;
drivers/pinctrl/pinctrl-single.c
334
struct pcs_function **func)
drivers/pinctrl/pinctrl-single.c
346
fselector = setting->func;
drivers/pinctrl/pinctrl-single.c
350
*func = function->data;
drivers/pinctrl/pinctrl-single.c
351
if (!(*func)) {
drivers/pinctrl/pinctrl-single.c
364
struct pcs_function *func;
drivers/pinctrl/pinctrl-single.c
374
func = function->data;
drivers/pinctrl/pinctrl-single.c
375
if (!func)
drivers/pinctrl/pinctrl-single.c
379
func->name, fselector);
drivers/pinctrl/pinctrl-single.c
381
for (i = 0; i < func->nvals; i++) {
drivers/pinctrl/pinctrl-single.c
386
vals = &func->vals[i];
drivers/pinctrl/pinctrl-single.c
486
struct pcs_function *func;
drivers/pinctrl/pinctrl-single.c
491
ret = pcs_get_function(pctldev, pin, &func);
drivers/pinctrl/pinctrl-single.c
495
for (i = 0; i < func->nconfs; i++) {
drivers/pinctrl/pinctrl-single.c
504
} else if (param != func->conf[i].param) {
drivers/pinctrl/pinctrl-single.c
509
data = pcs->read(pcs->base + offset) & func->conf[i].mask;
drivers/pinctrl/pinctrl-single.c
510
switch (func->conf[i].param) {
drivers/pinctrl/pinctrl-single.c
515
if ((data != func->conf[i].enable) ||
drivers/pinctrl/pinctrl-single.c
516
(data == func->conf[i].disable))
drivers/pinctrl/pinctrl-single.c
522
for (j = 0; j < func->nconfs; j++) {
drivers/pinctrl/pinctrl-single.c
523
switch (func->conf[j].param) {
drivers/pinctrl/pinctrl-single.c
525
if (data != func->conf[j].enable)
drivers/pinctrl/pinctrl-single.c
552
struct pcs_function *func;
drivers/pinctrl/pinctrl-single.c
558
ret = pcs_get_function(pctldev, pin, &func);
drivers/pinctrl/pinctrl-single.c
572
for (i = 0; i < func->nconfs; i++) {
drivers/pinctrl/pinctrl-single.c
573
if (param != func->conf[i].param)
drivers/pinctrl/pinctrl-single.c
586
shift = ffs(func->conf[i].mask) - 1;
drivers/pinctrl/pinctrl-single.c
587
data &= ~func->conf[i].mask;
drivers/pinctrl/pinctrl-single.c
588
data |= (arg << shift) & func->conf[i].mask;
drivers/pinctrl/pinctrl-single.c
599
data &= ~func->conf[i].mask;
drivers/pinctrl/pinctrl-single.c
601
data |= func->conf[i].enable;
drivers/pinctrl/pinctrl-single.c
603
data |= func->conf[i].disable;
drivers/pinctrl/pinctrl-single.c
612
if (i >= func->nconfs)
drivers/pinctrl/pinctrl-single.c
920
struct pcs_function *func,
drivers/pinctrl/pinctrl-single.c
958
func->conf = devm_kcalloc(pcs->dev,
drivers/pinctrl/pinctrl-single.c
961
if (!func->conf)
drivers/pinctrl/pinctrl-single.c
963
func->nconfs = nconfs;
drivers/pinctrl/pinctrl-single.c
964
conf = &(func->conf[0]);
drivers/pinctrl/pinctrl-st.c
1265
struct st_pmx_func *func;
drivers/pinctrl/pinctrl-st.c
1269
func = &info->functions[index];
drivers/pinctrl/pinctrl-st.c
1270
func->name = np->name;
drivers/pinctrl/pinctrl-st.c
1271
func->ngroups = of_get_child_count(np);
drivers/pinctrl/pinctrl-st.c
1272
if (func->ngroups == 0)
drivers/pinctrl/pinctrl-st.c
1274
func->groups = devm_kcalloc(dev, func->ngroups, sizeof(*func->groups), GFP_KERNEL);
drivers/pinctrl/pinctrl-st.c
1275
if (!func->groups)
drivers/pinctrl/pinctrl-st.c
1280
func->groups[i] = child->name;
drivers/pinctrl/pinctrl-st.c
1287
dev_info(dev, "Function[%d\t name:%s,\tgroups:%d]\n", index, func->name, func->ngroups);
drivers/pinctrl/pinctrl-stmfx.c
624
u32 func = STMFX_FUNC_GPIO;
drivers/pinctrl/pinctrl-stmfx.c
630
func |= STMFX_FUNC_ALTGPIO_LOW;
drivers/pinctrl/pinctrl-stmfx.c
636
func |= STMFX_FUNC_ALTGPIO_HIGH;
drivers/pinctrl/pinctrl-stmfx.c
640
return stmfx_function_enable(pctl->stmfx, func);
drivers/pinctrl/pinctrl-th1520.c
805
const struct function_desc *func = pinmux_generic_get_function(pctldev, fsel);
drivers/pinctrl/pinctrl-th1520.c
808
if (!func)
drivers/pinctrl/pinctrl-th1520.c
811
muxtype = (uintptr_t)func->data;
drivers/pinctrl/pinctrl-upboard.c
310
#define UPBOARD_FUNCTION(func, groups) PINCTRL_PINFUNCTION(func, groups, ARRAY_SIZE(groups))
drivers/pinctrl/pinctrl-xway.c
67
.func = { \
drivers/pinctrl/pinctrl-xway.c
79
{ .func = f, .mux = XWAY_MUX_##m, }
drivers/pinctrl/pinctrl-zynq.c
896
const struct zynq_pinmux_function *func = &pctrl->funcs[function];
drivers/pinctrl/pinctrl-zynq.c
908
pctrl->pctrl_offset + func->mux, &reg);
drivers/pinctrl/pinctrl-zynq.c
912
reg &= ~func->mux_mask;
drivers/pinctrl/pinctrl-zynq.c
913
reg |= pgrp->pins[0] << func->mux_shift;
drivers/pinctrl/pinctrl-zynq.c
915
pctrl->pctrl_offset + func->mux, reg);
drivers/pinctrl/pinctrl-zynq.c
928
reg |= func->mux_val << ZYNQ_PINMUX_MUX_SHIFT;
drivers/pinctrl/pinctrl-zynqmp.c
574
struct zynqmp_pmux_function *func,
drivers/pinctrl/pinctrl-zynqmp.c
587
for (index = 0; index < func->ngroups; index += NUM_GROUPS_PER_RESP) {
drivers/pinctrl/pinctrl-zynqmp.c
601
func->name,
drivers/pinctrl/pinctrl-zynqmp.c
616
fgroups = devm_kcalloc(dev, size_add(func->ngroups, npins),
drivers/pinctrl/pinctrl-zynqmp.c
621
for (i = 0; i < func->ngroups; i++) {
drivers/pinctrl/pinctrl-zynqmp.c
623
func->name, i);
drivers/pinctrl/pinctrl-zynqmp.c
632
func->groups = fgroups;
drivers/pinctrl/pinctrl-zynqmp.c
633
func->ngroups += npins;
drivers/pinctrl/pinmux.c
103
func_is_gpio = ops->function_is_gpio(pctldev, mux_setting->func);
drivers/pinctrl/pinmux.c
147
mux_setting->func);
drivers/pinctrl/pinmux.c
389
setting->data.mux.func = ret;
drivers/pinctrl/pinmux.c
391
ret = pmxops->get_function_groups(pctldev, setting->data.mux.func,
drivers/pinctrl/pinmux.c
492
ret = ops->set_mux(pctldev, setting->data.mux.func,
drivers/pinctrl/pinmux.c
584
const char *func = pmxops->get_function_name(pctldev,
drivers/pinctrl/pinmux.c
595
func);
drivers/pinctrl/pinmux.c
600
seq_printf(s, "function %d: %s, groups = [ ", func_selector, func);
drivers/pinctrl/pinmux.c
675
desc->mux_setting->func),
drivers/pinctrl/pinmux.c
706
pmxops->get_function_name(pctldev, setting->data.mux.func),
drivers/pinctrl/pinmux.c
707
setting->data.mux.func);
drivers/pinctrl/pinmux.c
832
return function->func->name;
drivers/pinctrl/pinmux.c
857
*groups = function->func->groups;
drivers/pinctrl/pinmux.c
858
*ngroups = function->func->ngroups;
drivers/pinctrl/pinmux.c
900
return function->func->flags & PINFUNCTION_FLAG_GPIO;
drivers/pinctrl/pinmux.c
918
struct pinfunction func = PINCTRL_PINFUNCTION(name, groups, ngroups);
drivers/pinctrl/pinmux.c
920
return pinmux_generic_add_pinfunction(pctldev, &func, data);
drivers/pinctrl/pinmux.c
931
const struct pinfunction *func, void *data)
drivers/pinctrl/pinmux.c
936
selector = pinmux_func_name_to_selector(pctldev, func->name);
drivers/pinctrl/pinmux.c
952
function->func = devm_kmemdup_const(pctldev->dev, func,
drivers/pinctrl/pinmux.c
953
sizeof(*func), GFP_KERNEL);
drivers/pinctrl/pinmux.c
954
if (!function->func)
drivers/pinctrl/pinmux.h
140
const struct pinfunction *func;
drivers/pinctrl/pinmux.h
165
const struct pinfunction *func, void *data);
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
254
const struct pinfunction *func;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
256
for (func = functions; func->name; func++)
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
257
if (!strcmp(fname, func->name))
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
258
return func;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
297
struct pinfunction *func;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
314
func = pctl->functions + i;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
315
func->ngroups = ngroups;
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
316
func->groups = devm_kmemdup_array(pctl->dev, gtmp, ngroups,
drivers/pinctrl/pxa/pinctrl-pxa2xx.c
318
if (!func->groups)
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
385
unsigned int func;
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
403
func = FIELD_GET(LPI_GPIO_FUNCTION_MASK, ctl_reg);
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
407
seq_printf(s, " %-8s: %-3s %d", pindesc.name, is_out ? "out" : "in", func);
drivers/pinctrl/qcom/pinctrl-msm.c
1492
const struct pinfunction *func = pctrl->soc->functions;
drivers/pinctrl/qcom/pinctrl-msm.c
1495
if (!strcmp(func[i].name, "ps_hold")) {
drivers/pinctrl/qcom/pinctrl-msm.c
1531
const struct pinfunction *func;
drivers/pinctrl/qcom/pinctrl-msm.c
1587
func = &soc_data->functions[i];
drivers/pinctrl/qcom/pinctrl-msm.c
1589
ret = pinmux_generic_add_pinfunction(pctrl->pctrl, func, NULL);
drivers/pinctrl/qcom/pinctrl-msm.c
647
unsigned func;
drivers/pinctrl/qcom/pinctrl-msm.c
676
func = (ctl_reg >> g->mux_bit) & 7;
drivers/pinctrl/qcom/pinctrl-msm.c
694
seq_printf(s, " %-4s func%d", str_high_low(val), func);
drivers/pinctrl/realtek/pinctrl-rtd.c
100
seq_printf(s, "[%s] ", func->name);
drivers/pinctrl/realtek/pinctrl-rtd.c
102
seq_printf(s, "%s ", func->name);
drivers/pinctrl/realtek/pinctrl-rtd.c
104
func++;
drivers/pinctrl/realtek/pinctrl-rtd.c
80
const struct rtd_pin_mux_desc *func;
drivers/pinctrl/realtek/pinctrl-rtd.c
95
func = &mux->functions[0];
drivers/pinctrl/realtek/pinctrl-rtd.c
97
while (func->name) {
drivers/pinctrl/realtek/pinctrl-rtd.c
98
if (func->mux_value == pin_val) {
drivers/pinctrl/renesas/core.c
1143
const struct sh_pfc_function *func = &info->functions[i];
drivers/pinctrl/renesas/core.c
1145
if (!func->name) {
drivers/pinctrl/renesas/core.c
1150
if (same_name(func->name, info->functions[j].name))
drivers/pinctrl/renesas/core.c
1152
func->name);
drivers/pinctrl/renesas/core.c
1154
for (j = 0; j < func->nr_groups; j++) {
drivers/pinctrl/renesas/core.c
1156
if (same_name(func->groups[j],
drivers/pinctrl/renesas/core.c
1165
func->name, func->groups[j]);
drivers/pinctrl/renesas/core.c
1250
const struct pinmux_func *func = &info->func_gpios[i];
drivers/pinctrl/renesas/core.c
1252
if (!func->name) {
drivers/pinctrl/renesas/core.c
1257
if (same_name(func->name, info->func_gpios[j].name))
drivers/pinctrl/renesas/core.c
1259
func->name);
drivers/pinctrl/renesas/core.c
1261
if (sh_pfc_check_enum(drvname, func->enum_id))
drivers/pinctrl/renesas/core.c
1262
sh_pfc_err("%s enum_id %u conflict\n", func->name,
drivers/pinctrl/renesas/core.c
1263
func->enum_id);
drivers/pinctrl/renesas/pinctrl-rza1.c
102
u16 func: 4;
drivers/pinctrl/renesas/pinctrl-rza1.c
1122
const struct function_desc *func;
drivers/pinctrl/renesas/pinctrl-rza1.c
1130
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/renesas/pinctrl-rza1.c
1131
if (!func)
drivers/pinctrl/renesas/pinctrl-rza1.c
1134
mux_confs = (const struct rza1_mux_conf *)func->data;
drivers/pinctrl/renesas/pinctrl-rza1.c
127
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
128
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
129
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
130
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
131
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
132
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
133
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
134
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
138
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
139
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
140
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
141
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
142
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
143
{ .pin = 0, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
144
{ .pin = 1, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
145
{ .pin = 2, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
146
{ .pin = 3, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
147
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
148
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
149
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
150
{ .pin = 8, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
151
{ .pin = 9, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
152
{ .pin = 10, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
153
{ .pin = 11, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
154
{ .pin = 12, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
155
{ .pin = 13, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
156
{ .pin = 14, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
157
{ .pin = 15, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
158
{ .pin = 12, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
159
{ .pin = 13, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
160
{ .pin = 14, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
161
{ .pin = 15, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
165
{ .pin = 3, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
166
{ .pin = 10, .func = 7 },
drivers/pinctrl/renesas/pinctrl-rza1.c
167
{ .pin = 11, .func = 7 },
drivers/pinctrl/renesas/pinctrl-rza1.c
168
{ .pin = 13, .func = 7 },
drivers/pinctrl/renesas/pinctrl-rza1.c
169
{ .pin = 14, .func = 7 },
drivers/pinctrl/renesas/pinctrl-rza1.c
170
{ .pin = 15, .func = 7 },
drivers/pinctrl/renesas/pinctrl-rza1.c
171
{ .pin = 10, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
172
{ .pin = 11, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
173
{ .pin = 13, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
174
{ .pin = 14, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
175
{ .pin = 15, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
179
{ .pin = 0, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
180
{ .pin = 1, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
181
{ .pin = 2, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
182
{ .pin = 3, .func = 8 },
drivers/pinctrl/renesas/pinctrl-rza1.c
183
{ .pin = 10, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
184
{ .pin = 11, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
185
{ .pin = 13, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
186
{ .pin = 14, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
187
{ .pin = 15, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
188
{ .pin = 10, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
189
{ .pin = 11, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
190
{ .pin = 13, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
191
{ .pin = 14, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
192
{ .pin = 15, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
193
{ .pin = 12, .func = 5 },
drivers/pinctrl/renesas/pinctrl-rza1.c
194
{ .pin = 13, .func = 5 },
drivers/pinctrl/renesas/pinctrl-rza1.c
195
{ .pin = 14, .func = 5 },
drivers/pinctrl/renesas/pinctrl-rza1.c
196
{ .pin = 15, .func = 5 },
drivers/pinctrl/renesas/pinctrl-rza1.c
200
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
201
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
202
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
203
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
204
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
205
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
206
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
207
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
208
{ .pin = 8, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
209
{ .pin = 9, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
210
{ .pin = 10, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
211
{ .pin = 11, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
212
{ .pin = 12, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
213
{ .pin = 13, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
214
{ .pin = 14, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
215
{ .pin = 15, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
219
{ .pin = 13, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
223
{ .pin = 8, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
224
{ .pin = 9, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
225
{ .pin = 10, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
226
{ .pin = 11, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
227
{ .pin = 14, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
228
{ .pin = 15, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
229
{ .pin = 14, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
230
{ .pin = 15, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
234
{ .pin = 0, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
235
{ .pin = 1, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
236
{ .pin = 4, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
237
{ .pin = 5, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
238
{ .pin = 6, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
239
{ .pin = 7, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
243
{ .pin = 6, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
244
{ .pin = 7, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
245
{ .pin = 9, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
246
{ .pin = 6, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
247
{ .pin = 7, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
248
{ .pin = 9, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
249
{ .pin = 10, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
250
{ .pin = 11, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
251
{ .pin = 10, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
252
{ .pin = 11, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
253
{ .pin = 12, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
254
{ .pin = 13, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
255
{ .pin = 14, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
256
{ .pin = 15, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
260
{ .port = 2, .pin = 7, .func = 4, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
261
{ .port = 2, .pin = 11, .func = 4, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
262
{ .port = 3, .pin = 7, .func = 3, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
263
{ .port = 3, .pin = 7, .func = 8, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
264
{ .port = 4, .pin = 7, .func = 5, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
265
{ .port = 4, .pin = 7, .func = 11, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
266
{ .port = 4, .pin = 15, .func = 6, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
267
{ .port = 5, .pin = 0, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
268
{ .port = 5, .pin = 1, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
269
{ .port = 5, .pin = 2, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
270
{ .port = 5, .pin = 3, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
271
{ .port = 5, .pin = 4, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
272
{ .port = 5, .pin = 5, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
273
{ .port = 5, .pin = 6, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
274
{ .port = 5, .pin = 7, .func = 1, .input = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
275
{ .port = 7, .pin = 4, .func = 6, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
276
{ .port = 7, .pin = 11, .func = 2, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
277
{ .port = 8, .pin = 10, .func = 8, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
278
{ .port = 10, .pin = 15, .func = 2, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
308
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
309
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
310
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
311
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
312
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
313
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
314
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
315
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
319
{ .pin = 0, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
320
{ .pin = 1, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
321
{ .pin = 2, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
322
{ .pin = 4, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
323
{ .pin = 5, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
324
{ .pin = 10, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
325
{ .pin = 11, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
326
{ .pin = 12, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
327
{ .pin = 13, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
331
{ .pin = 1, .func = 4 },
drivers/pinctrl/renesas/pinctrl-rza1.c
332
{ .pin = 2, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
333
{ .pin = 3, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
334
{ .pin = 6, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
335
{ .pin = 7, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
339
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
340
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
341
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
342
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
343
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
344
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
345
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
346
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
347
{ .pin = 8, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
348
{ .pin = 9, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
349
{ .pin = 10, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
350
{ .pin = 11, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
351
{ .pin = 12, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
352
{ .pin = 13, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
353
{ .pin = 14, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
354
{ .pin = 15, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
355
{ .pin = 0, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
356
{ .pin = 1, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
357
{ .pin = 2, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
358
{ .pin = 3, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
362
{ .pin = 0, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
363
{ .pin = 1, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
364
{ .pin = 2, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
365
{ .pin = 3, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
366
{ .pin = 4, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
367
{ .pin = 5, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
368
{ .pin = 6, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
369
{ .pin = 7, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
370
{ .pin = 8, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
371
{ .pin = 9, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
372
{ .pin = 10, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
373
{ .pin = 11, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
374
{ .pin = 12, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
375
{ .pin = 13, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
376
{ .pin = 14, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
377
{ .pin = 15, .func = 1 },
drivers/pinctrl/renesas/pinctrl-rza1.c
381
{ .pin = 2, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
382
{ .pin = 3, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
383
{ .pin = 5, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
384
{ .pin = 6, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
385
{ .pin = 7, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
386
{ .pin = 2, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
387
{ .pin = 3, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
388
{ .pin = 5, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
389
{ .pin = 6, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
390
{ .pin = 7, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
394
{ .pin = 1, .func = 2 },
drivers/pinctrl/renesas/pinctrl-rza1.c
395
{ .pin = 0, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
396
{ .pin = 1, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
397
{ .pin = 3, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
398
{ .pin = 4, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
399
{ .pin = 5, .func = 3 },
drivers/pinctrl/renesas/pinctrl-rza1.c
403
{ .port = 2, .pin = 8, .func = 2, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
404
{ .port = 5, .pin = 6, .func = 3, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
405
{ .port = 6, .pin = 6, .func = 3, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
406
{ .port = 6, .pin = 10, .func = 3, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
407
{ .port = 7, .pin = 10, .func = 2, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
408
{ .port = 8, .pin = 2, .func = 3, .input = 0 },
drivers/pinctrl/renesas/pinctrl-rza1.c
505
unsigned int func,
drivers/pinctrl/renesas/pinctrl-rza1.c
514
if (bidir_pin->pin == pin && bidir_pin->func == func)
drivers/pinctrl/renesas/pinctrl-rza1.c
523
unsigned int func,
drivers/pinctrl/renesas/pinctrl-rza1.c
532
swio_pin->func == func)
drivers/pinctrl/renesas/pinctrl-rza1.c
543
unsigned int func,
drivers/pinctrl/renesas/pinctrl-rza1.c
553
if (rza1_pinmux_get_bidir(port, pin, func, bidir_entries))
drivers/pinctrl/renesas/pinctrl-rza1.c
556
ret = rza1_pinmux_get_swio(port, pin, func, swio_entries);
drivers/pinctrl/renesas/pinctrl-rza1.c
84
u8 func: 4;
drivers/pinctrl/renesas/pinctrl-rza2.c
445
const struct function_desc *func;
drivers/pinctrl/renesas/pinctrl-rza2.c
453
func = pinmux_generic_get_function(pctldev, selector);
drivers/pinctrl/renesas/pinctrl-rza2.c
454
if (!func)
drivers/pinctrl/renesas/pinctrl-rza2.c
457
psel_val = func->data;
drivers/pinctrl/renesas/pinctrl-rza2.c
77
u8 func)
drivers/pinctrl/renesas/pinctrl-rza2.c
99
writeb(func, pfc_base + RZA2_PFS(port, pin));
drivers/pinctrl/renesas/pinctrl-rzg2l.c
541
u8 pin, u8 off, u8 func)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
550
if ((reg & BIT(pin)) && (((pfc >> (pin * 4)) & PFC_MASK) == func)) {
drivers/pinctrl/renesas/pinctrl-rzg2l.c
568
writel(pfc | (func << (pin * 4)), pctrl->base + PFC(off));
drivers/pinctrl/renesas/pinctrl-rzg2l.c
585
const struct function_desc *func;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
591
func = pinmux_generic_get_function(pctldev, func_selector);
drivers/pinctrl/renesas/pinctrl-rzg2l.c
592
if (!func)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
598
psel_val = func->data;
drivers/pinctrl/renesas/pinctrl-rzn1.c
105
const char *func;
drivers/pinctrl/renesas/pinctrl-rzn1.c
200
u32 func)
drivers/pinctrl/renesas/pinctrl-rzn1.c
202
if (ipctl->mdio_func[mdio] >= 0 && ipctl->mdio_func[mdio] != func)
drivers/pinctrl/renesas/pinctrl-rzn1.c
204
ipctl->mdio_func[mdio] = func;
drivers/pinctrl/renesas/pinctrl-rzn1.c
206
dev_dbg(ipctl->dev, "setting mdio%d to %u\n", mdio, func);
drivers/pinctrl/renesas/pinctrl-rzn1.c
208
writel(func, &ipctl->lev2->l2_mdio[mdio]);
drivers/pinctrl/renesas/pinctrl-rzn1.c
379
grp->name, grp->func);
drivers/pinctrl/renesas/pinctrl-rzn1.c
394
grp->func, grp->name, grp->npins);
drivers/pinctrl/renesas/pinctrl-rzn1.c
759
struct rzn1_pmx_func *func;
drivers/pinctrl/renesas/pinctrl-rzn1.c
764
func = &ipctl->functions[index];
drivers/pinctrl/renesas/pinctrl-rzn1.c
767
func->name = np->name;
drivers/pinctrl/renesas/pinctrl-rzn1.c
768
func->num_groups = rzn1_pinctrl_count_function_groups(np);
drivers/pinctrl/renesas/pinctrl-rzn1.c
769
if (func->num_groups == 0) {
drivers/pinctrl/renesas/pinctrl-rzn1.c
774
np->name, func->num_groups);
drivers/pinctrl/renesas/pinctrl-rzn1.c
776
func->groups = devm_kmalloc_array(ipctl->dev,
drivers/pinctrl/renesas/pinctrl-rzn1.c
777
func->num_groups, sizeof(char *),
drivers/pinctrl/renesas/pinctrl-rzn1.c
779
if (!func->groups)
drivers/pinctrl/renesas/pinctrl-rzn1.c
783
func->groups[i] = np->name;
drivers/pinctrl/renesas/pinctrl-rzn1.c
785
grp->func = func->name;
drivers/pinctrl/renesas/pinctrl-rzn1.c
794
func->groups[i] = child->name;
drivers/pinctrl/renesas/pinctrl-rzn1.c
796
grp->func = func->name;
drivers/pinctrl/renesas/pinctrl-rzn1.c
805
np->name, i, func->num_groups);
drivers/pinctrl/renesas/pinctrl-rzt2h.c
143
u8 port, u8 pin, u8 func)
drivers/pinctrl/renesas/pinctrl-rzt2h.c
161
rzt2h_pinctrl_writeq(pctrl, port, reg64 | ((u64)func << (pin * 8)), PFC(port));
drivers/pinctrl/renesas/pinctrl-rzt2h.c
172
const struct function_desc *func;
drivers/pinctrl/renesas/pinctrl-rzt2h.c
179
func = pinmux_generic_get_function(pctldev, func_selector);
drivers/pinctrl/renesas/pinctrl-rzt2h.c
180
if (!func)
drivers/pinctrl/renesas/pinctrl-rzt2h.c
187
psel_val = func->data;
drivers/pinctrl/renesas/pinctrl-rzv2m.c
143
u8 port, u8 pin, u8 func)
drivers/pinctrl/renesas/pinctrl-rzv2m.c
153
writel(((PFC_MASK << 16) | func) << ((pin % 4) * 4), addr);
drivers/pinctrl/renesas/pinctrl-rzv2m.c
165
const struct function_desc *func;
drivers/pinctrl/renesas/pinctrl-rzv2m.c
170
func = pinmux_generic_get_function(pctldev, func_selector);
drivers/pinctrl/renesas/pinctrl-rzv2m.c
171
if (!func)
drivers/pinctrl/renesas/pinctrl-rzv2m.c
177
psel_val = func->data;
drivers/pinctrl/samsung/pinctrl-samsung.c
382
const struct samsung_pmx_func *func;
drivers/pinctrl/samsung/pinctrl-samsung.c
387
func = &drvdata->pmx_functions[selector];
drivers/pinctrl/samsung/pinctrl-samsung.c
410
data |= func->val << shift;
drivers/pinctrl/samsung/pinctrl-samsung.c
770
struct samsung_pmx_func *func)
drivers/pinctrl/samsung/pinctrl-samsung.c
776
if (of_property_read_u32(func_np, "samsung,pin-function", &func->val))
drivers/pinctrl/samsung/pinctrl-samsung.c
785
func->name = func_np->full_name;
drivers/pinctrl/samsung/pinctrl-samsung.c
787
func->groups = devm_kcalloc(dev, npins, sizeof(char *), GFP_KERNEL);
drivers/pinctrl/samsung/pinctrl-samsung.c
788
if (!func->groups)
drivers/pinctrl/samsung/pinctrl-samsung.c
803
func->groups[i] = gname;
drivers/pinctrl/samsung/pinctrl-samsung.c
806
func->num_groups = npins;
drivers/pinctrl/samsung/pinctrl-samsung.c
815
struct samsung_pmx_func *functions, *func;
drivers/pinctrl/samsung/pinctrl-samsung.c
848
func = functions;
drivers/pinctrl/samsung/pinctrl-samsung.c
858
cfg_np, func);
drivers/pinctrl/samsung/pinctrl-samsung.c
862
++func;
drivers/pinctrl/samsung/pinctrl-samsung.c
870
func_np, func);
drivers/pinctrl/samsung/pinctrl-samsung.c
874
++func;
drivers/pinctrl/samsung/pinctrl-samsung.h
112
.func = f \
drivers/pinctrl/samsung/pinctrl-samsung.h
367
u8 func;
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-aon.c
78
u32 doen, u32 func)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-aon.c
80
if (pin < sfp->gc.ngpio && func == 0)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
287
unsigned int pin, u32 func)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
297
if (func > fs->max)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
301
func = func << fs->shift;
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
305
func |= readl_relaxed(reg) & ~mask;
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
306
writel_relaxed(func, reg);
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
335
u32 doen, u32 func)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
337
if (pin < sfp->gc.ngpio && func == 0)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
340
jh7110_set_function(sfp, pin, func);
drivers/pinctrl/starfive/pinctrl-starfive-jh7110-sys.c
342
if (pin < sfp->gc.ngpio && func == 2)
drivers/pinctrl/starfive/pinctrl-starfive-jh7110.h
59
u32 doen, u32 func);
drivers/pinctrl/stm32/pinctrl-stm32.c
712
const struct stm32_desc_function *func = pin->functions;
drivers/pinctrl/stm32/pinctrl-stm32.c
721
if (func->num == fnum)
drivers/pinctrl/stm32/pinctrl-stm32.c
723
func++;
drivers/pinctrl/stm32/pinctrl-stm32.c
763
u32 pinfunc, pin, func;
drivers/pinctrl/stm32/pinctrl-stm32.c
814
func = STM32_GET_PIN_FUNC(pinfunc);
drivers/pinctrl/stm32/pinctrl-stm32.c
816
if (!stm32_pctrl_is_function_valid(pctl, pin, func)) {
drivers/pinctrl/stm32/pinctrl-stm32.c
829
err = stm32_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map,
drivers/pinctrl/sunplus/sppctl.c
175
static void sppctl_func_set(struct sppctl_pdata *pctl, u8 func, u8 val)
drivers/pinctrl/sunplus/sppctl.c
190
func -= MUXF_L2SW_CLK_OUT;
drivers/pinctrl/sunplus/sppctl.c
197
if (func & BIT(0))
drivers/pinctrl/sunplus/sppctl.c
201
offset = func * 2;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
150
struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
202
func = devm_kcalloc(dev, num_funcs, sizeof(*func), GFP_KERNEL);
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
203
if (!func)
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
218
func[0].name = "gpio_in";
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
219
func[0].muxval = 0;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
220
func[1].name = "gpio_out";
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
221
func[1].muxval = 1;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
226
func[lastfunc].muxval = irq_mux;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
227
func[lastfunc].irqbank = irq_bank;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
228
func[lastfunc].irqnum = pin->pin.number % PINS_PER_BANK;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
229
func[lastfunc].name = "irq";
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
235
pin->functions = func;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
238
func += pin->variant + 3;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
260
struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
298
func = &pins[pin].functions[i];
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
301
if (strcmp(func->name, funcname) &&
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
302
func->muxval != muxval)
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
306
if (!strcmp(func->name, funcname) &&
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
307
muxval == func->muxval)
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
323
func = &pins[pin].functions[pins[pin].variant];
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
324
func->muxval = muxval;
drivers/pinctrl/sunxi/pinctrl-sunxi-dt.c
325
func->name = funcname;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1094
struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1100
func = sunxi_pinctrl_desc_find_function_by_pin(pctl,
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1102
if (!func)
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1127
sunxi_pmx_set(pctl->pctl_dev, pctl->irq_array[d->hwirq], func->muxval);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1338
struct sunxi_pinctrl_function *func = pctl->functions;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1340
while (func->name) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1342
if (strcmp(func->name, name) == 0) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1343
func->ngroups++;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1346
func++;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1349
func->name = name;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1350
func->ngroups = 1;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1408
struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
141
struct sunxi_pinctrl_function *func = pctl->functions;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1413
for (func = pin->functions; func->name; func++) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1414
if (func->variant && !(variant & func->variant))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1418
if (!strcmp(func->name, "irq")) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1419
int irqnum = func->irqnum + func->irqbank * IRQ_PER_BANK;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1423
sunxi_pinctrl_add_function(pctl, func->name);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1440
struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1445
for (func = pin->functions; func->name; func++) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1449
if (func->variant && !(variant & func->variant))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
145
if (!func[i].name)
drivers/pinctrl/sunxi/pinctrl-sunxi.c
1453
func->name);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
148
if (!strcmp(func[i].name, name))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
149
return func + i;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
167
struct sunxi_desc_function *func = pin->functions;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
169
while (func->name) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
170
if (!strcmp(func->name, func_name) &&
drivers/pinctrl/sunxi/pinctrl-sunxi.c
171
(!func->variant ||
drivers/pinctrl/sunxi/pinctrl-sunxi.c
172
func->variant & variant))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
173
return func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
175
func++;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
194
struct sunxi_desc_function *func = pin->functions;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
196
while (func->name) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
197
if (!strcmp(func->name, func_name))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
198
return func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
200
func++;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
217
struct sunxi_desc_function *func = pin->functions;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
225
while (func->name) {
drivers/pinctrl/sunxi/pinctrl-sunxi.c
226
if (func->muxval == muxval)
drivers/pinctrl/sunxi/pinctrl-sunxi.c
227
return func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
229
func++;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
849
struct sunxi_pinctrl_function *func = pctl->functions + function;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
853
func->name);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
871
const char *func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
874
func = "gpio_in";
drivers/pinctrl/sunxi/pinctrl-sunxi.c
876
func = "gpio_out";
drivers/pinctrl/sunxi/pinctrl-sunxi.c
878
desc = sunxi_pinctrl_desc_find_function_by_pin(pctl, offset, func);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
966
const struct sunxi_desc_function *func;
drivers/pinctrl/sunxi/pinctrl-sunxi.c
975
func = sunxi_pinctrl_desc_find_function_by_pin_and_mux(pctl, pin, muxval);
drivers/pinctrl/sunxi/pinctrl-sunxi.c
976
if (!func)
drivers/pinctrl/sunxi/pinctrl-sunxi.c
979
if (!strcmp(func->name, "gpio_out"))
drivers/pinctrl/sunxi/pinctrl-sunxi.c
981
if (!strcmp(func->name, "gpio_in") || !strcmp(func->name, "irq"))
drivers/pinctrl/tegra/pinctrl-tegra.c
865
struct tegra_function *func = &pmx->functions[fn];
drivers/pinctrl/tegra/pinctrl-tegra.c
867
func->name = pmx->soc->functions[fn];
drivers/pinctrl/tegra/pinctrl-tegra.c
868
func->groups = group_pins;
drivers/pinctrl/tegra/pinctrl-tegra.c
885
func->ngroups++;
drivers/pinctrl/uniphier/pinctrl-uniphier.h
176
#define UNIPHIER_PINMUX_FUNCTION(func) \
drivers/pinctrl/uniphier/pinctrl-uniphier.h
178
.name = #func, \
drivers/pinctrl/uniphier/pinctrl-uniphier.h
179
.groups = func##_groups, \
drivers/pinctrl/uniphier/pinctrl-uniphier.h
180
.num_groups = ARRAY_SIZE(func##_groups), \
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/visconti/pinctrl-common.h
72
#define VISCONTI_PIN_FUNCTION(func) \
drivers/pinctrl/visconti/pinctrl-common.h
74
.name = #func, \
drivers/pinctrl/visconti/pinctrl-common.h
75
.groups = func ## _grps, \
drivers/pinctrl/visconti/pinctrl-common.h
76
.nr_groups = ARRAY_SIZE(func ## _grps), \
drivers/pinctrl/vt8500/pinctrl-wmt.c
102
switch (func) {
drivers/pinctrl/vt8500/pinctrl-wmt.c
302
u32 pin, func, pull;
drivers/pinctrl/vt8500/pinctrl-wmt.c
364
(num_funcs > 1 ? i : 0), &func);
drivers/pinctrl/vt8500/pinctrl-wmt.c
368
err = wmt_pctl_dt_node_to_map_func(data, np, pin, func,
drivers/pinctrl/vt8500/pinctrl-wmt.c
84
static int wmt_set_pinmux(struct wmt_pinctrl_data *data, unsigned func,
drivers/platform/surface/aggregator/controller.c
1063
static int ssam_dsm_load_u32(acpi_handle handle, u64 funcs, u64 func, u32 *ret)
drivers/platform/surface/aggregator/controller.c
1068
if (!(funcs & BIT_ULL(func)))
drivers/platform/surface/aggregator/controller.c
1072
SSAM_SSH_DSM_REVISION, func, NULL,
drivers/platform/surface/aggregator/ssh_packet_layer.h
122
#define __ssam_prcond(func, p, fmt, ...) \
drivers/platform/surface/aggregator/ssh_packet_layer.h
127
func(__p, fmt, ##__VA_ARGS__); \
drivers/platform/surface/surface_acpi_notify.c
185
static int san_acpi_notify_event(struct device *dev, u64 func,
drivers/platform/surface/surface_acpi_notify.c
192
if (!acpi_check_dsm(san, &SAN_DSM_UUID, SAN_DSM_REVISION, BIT_ULL(func)))
drivers/platform/surface/surface_acpi_notify.c
195
dev_dbg(dev, "notify event %#04llx\n", func);
drivers/platform/surface/surface_acpi_notify.c
198
func, param, ACPI_TYPE_BUFFER);
drivers/platform/x86/amd/pmf/tee-if.c
51
arg->func = cmd;
drivers/platform/x86/fujitsu-laptop.c
152
int func, int op, int feature, int state)
drivers/platform/x86/fujitsu-laptop.c
155
{ .integer.type = ACPI_TYPE_INTEGER, .integer.value = func },
drivers/platform/x86/fujitsu-laptop.c
173
func, op, feature, state, (int)value);
drivers/platform/x86/intel/pmc/cnp.c
249
static void s2idle_cpu_quirk(smp_call_func_t func)
drivers/platform/x86/intel/pmc/cnp.c
254
on_each_cpu(func, NULL, true);
drivers/platform/x86/mxm-wmi.c
25
u32 func;
drivers/platform/x86/mxm-wmi.c
33
.func = MXM_WMMX_FUNC_MXDS,
drivers/platform/x86/mxm-wmi.c
56
.func = MXM_WMMX_FUNC_MXMX,
drivers/platform/x86/panasonic-laptop.c
295
static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val)
drivers/platform/x86/panasonic-laptop.c
299
.integer.value = func, },
drivers/pmdomain/imx/scu-pd.c
339
hdr->func = IMX_SC_PM_FUNC_GET_RESOURCE_POWER_MODE;
drivers/pmdomain/imx/scu-pd.c
363
hdr->func = IMX_SC_PM_FUNC_SET_RESOURCE_POWER_MODE;
drivers/pnp/pnpbios/bioscalls.c
130
:"0"((func) | (((u32) arg1) << 16)),
drivers/pnp/pnpbios/bioscalls.c
81
static inline u16 call_pnp_bios(u16 func, u16 arg1, u16 arg2, u16 arg3,
drivers/power/reset/th1520-aon-reboot.c
29
msg.hdr.func = TH1520_AON_WDG_FUNC_POWER_OFF;
drivers/power/reset/th1520-aon-reboot.c
43
msg.hdr.func = TH1520_AON_WDG_FUNC_RESTART;
drivers/power/reset/vexpress-poweroff.c
111
enum vexpress_reset_func func;
drivers/power/reset/vexpress-poweroff.c
120
func = (uintptr_t)device_get_match_data(&pdev->dev);
drivers/power/reset/vexpress-poweroff.c
121
switch (func) {
drivers/ps3/ps3-sys-manager.c
57
const struct ps3_sys_manager_header *h, const char *func, int line)
drivers/ps3/ps3-sys-manager.c
59
pr_debug("%s:%d: version: %xh\n", func, line, h->version);
drivers/ps3/ps3-sys-manager.c
60
pr_debug("%s:%d: size: %xh\n", func, line, h->size);
drivers/ps3/ps3-sys-manager.c
61
pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size);
drivers/ps3/ps3-sys-manager.c
62
pr_debug("%s:%d: service_id: %xh\n", func, line, h->service_id);
drivers/ps3/ps3-sys-manager.c
63
pr_debug("%s:%d: request_tag: %xh\n", func, line, h->request_tag);
drivers/ps3/ps3-vuart.c
104
const struct ports_bmp *bmp, const char *func, int line)
drivers/ps3/ps3-vuart.c
106
pr_debug("%s:%d: ports_bmp: %016llxh\n", func, line, bmp->status);
drivers/ps3/ps3-vuart.c
111
const char *func, int line)
drivers/ps3/ps3-vuart.c
132
pr_debug("%s:%d: port_%u: %s failed: %s\n", func, line,
drivers/ps3/ps3-vuart.c
137
func, line, port_number, strings[i], value);
drivers/ptp/ptp_chardev.c
108
if (info->verify(info, pin, func, chan)) {
drivers/ptp/ptp_chardev.c
110
func, chan, pin);
drivers/ptp/ptp_chardev.c
118
ptp_disable_pinfunc(info, func, chan);
drivers/ptp/ptp_chardev.c
119
pin1->func = PTP_PF_NONE;
drivers/ptp/ptp_chardev.c
126
ptp_disable_pinfunc(info, pin2->func, pin2->chan);
drivers/ptp/ptp_chardev.c
127
pin2->func = func;
drivers/ptp/ptp_chardev.c
21
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_chardev.c
28
switch (func) {
drivers/ptp/ptp_chardev.c
479
return ptp_set_pinfunc(ptp, pin_index, pd.func, pd.chan);
drivers/ptp/ptp_chardev.c
58
if (info->pin_config[i].func == PTP_PF_EXTTS)
drivers/ptp/ptp_chardev.c
59
ptp_disable_pinfunc(info, info->pin_config[i].func,
drivers/ptp/ptp_chardev.c
71
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_chardev.c
79
if (info->pin_config[i].func == func &&
drivers/ptp/ptp_chardev.c
89
switch (func) {
drivers/ptp/ptp_clock.c
629
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_clock.c
635
if (ptp->info->pin_config[i].func == func &&
drivers/ptp/ptp_clock.c
647
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_clock.c
653
result = ptp_find_pin(ptp, func, chan);
drivers/ptp/ptp_clockmatrix.c
2013
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_clockmatrix.c
2015
switch (func) {
drivers/ptp/ptp_clockmatrix.c
2259
ppd->func = PTP_PF_NONE;
drivers/ptp/ptp_idt82p33.c
1140
enum ptp_pin_function func, unsigned int chan)
drivers/ptp/ptp_idt82p33.c
1142
switch (func) {
drivers/ptp/ptp_idt82p33.c
1185
ppd->func = PTP_PF_NONE;
drivers/ptp/ptp_ocp.c
1446
enum ptp_pin_function func, unsigned chan)
drivers/ptp/ptp_ocp.c
1451
switch (func) {
drivers/ptp/ptp_private.h
149
enum ptp_pin_function func, unsigned int chan);
drivers/ptp/ptp_sysfs.c
395
unsigned int func, chan;
drivers/ptp/ptp_sysfs.c
405
func = ptp->info->pin_config[index].func;
drivers/ptp/ptp_sysfs.c
410
return sysfs_emit(page, "%u %u\n", func, chan);
drivers/ptp/ptp_sysfs.c
417
unsigned int func, chan;
drivers/ptp/ptp_sysfs.c
420
cnt = sscanf(buf, "%u %u", &func, &chan);
drivers/ptp/ptp_sysfs.c
430
err = ptp_set_pinfunc(ptp, index, func, chan);
drivers/ras/amd/atl/access.c
105
ficaa |= FIELD_PREP(DF_FICAA_FUNC_NUM, func);
drivers/ras/amd/atl/access.c
120
node, instance_id, func, reg << 2, *lo);
drivers/ras/amd/atl/access.c
129
int df_indirect_read_instance(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo)
drivers/ras/amd/atl/access.c
131
return __df_indirect_read(node, func, reg, instance_id, lo);
drivers/ras/amd/atl/access.c
134
int df_indirect_read_broadcast(u16 node, u8 func, u16 reg, u32 *lo)
drivers/ras/amd/atl/access.c
136
return __df_indirect_read(node, func, reg, DF_BROADCAST, lo);
drivers/ras/amd/atl/access.c
65
static int __df_indirect_read(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo)
drivers/ras/amd/atl/internal.h
269
int df_indirect_read_instance(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo);
drivers/ras/amd/atl/internal.h
270
int df_indirect_read_broadcast(u16 node, u8 func, u16 reg, u32 *lo);
drivers/ras/amd/atl/system.c
236
u8 func = 0;
drivers/ras/amd/atl/system.c
239
func = 7;
drivers/ras/amd/atl/system.c
241
if (df_indirect_read_broadcast(0, func, 0x104, &df_cfg.dram_hole_base))
drivers/rtc/interface.c
1013
timer->func = f;
drivers/rtc/interface.c
956
if (timer->func)
drivers/rtc/interface.c
957
timer->func(timer->rtc);
drivers/rtc/rtc-imx-sc.c
50
hdr->func = IMX_SC_TIMER_FUNC_GET_RTC_SEC1970;
drivers/rtc/rtc-imx-sc.c
92
hdr->func = IMX_SC_TIMER_FUNC_SET_RTC_ALARM;
drivers/rtc/rtc-mc13xxx.c
36
int (*func)(struct mc13xxx *mc13xxx, int irq);
drivers/rtc/rtc-mc13xxx.c
41
func = enabled ? mc13xxx_irq_unmask : mc13xxx_irq_mask;
drivers/rtc/rtc-mc13xxx.c
42
return func(priv->mc13xxx, irq);
drivers/rtc/rtc-optee.c
160
inv_arg.func = PTA_CMD_RTC_GET_TIME;
drivers/rtc/rtc-optee.c
200
inv_arg.func = PTA_CMD_RTC_SET_TIME;
drivers/rtc/rtc-optee.c
237
inv_arg.func = PTA_CMD_RTC_GET_OFFSET;
drivers/rtc/rtc-optee.c
262
inv_arg.func = PTA_CMD_RTC_SET_OFFSET;
drivers/rtc/rtc-optee.c
287
inv_arg.func = PTA_CMD_RTC_READ_ALARM;
drivers/rtc/rtc-optee.c
334
inv_arg.func = PTA_CMD_RTC_SET_ALARM;
drivers/rtc/rtc-optee.c
373
inv_arg.func = PTA_CMD_RTC_ENABLE_ALARM;
drivers/rtc/rtc-optee.c
407
inv_arg.func = PTA_CMD_RTC_WAIT_ALARM;
drivers/rtc/rtc-optee.c
432
inv_arg.func = PTA_CMD_RTC_CANCEL_WAIT;
drivers/rtc/rtc-optee.c
453
inv_arg.func = PTA_CMD_RTC_SET_WAKE_ALARM_STATUS;
drivers/rtc/rtc-optee.c
508
inv_arg.func = PTA_CMD_RTC_GET_INF;
drivers/s390/char/hmcdrv_cache.c
114
hmcdrv_cache_ftpfunc func)
drivers/s390/char/hmcdrv_cache.c
133
len = func(&cftp, &hmcdrv_cache_file.fsize); /* now do */
drivers/s390/char/hmcdrv_cache.c
148
len = func(ftp, &hmcdrv_cache_file.fsize);
drivers/s390/char/hmcdrv_cache.c
177
hmcdrv_cache_ftpfunc func)
drivers/s390/char/hmcdrv_cache.c
190
len = hmcdrv_cache_do(ftp, func);
drivers/s390/char/hmcdrv_cache.c
196
len = func(ftp, NULL); /* simply do original command */
drivers/s390/char/hmcdrv_cache.h
21
hmcdrv_cache_ftpfunc func);
drivers/s390/crypto/ap_bus.c
1852
static int ap_get_compatible_type(ap_qid_t qid, int rawtype, unsigned int func)
drivers/s390/crypto/ap_bus.c
1875
apinfo.mode = (func >> 26) & 0x07;
drivers/s390/crypto/zcrypt_ep11misc.c
431
u32 func;
drivers/s390/crypto/zcrypt_ep11misc.c
439
size_t pl_size, int api, int func)
drivers/s390/crypto/zcrypt_ep11misc.c
446
h->func = (api << 16) + func;
drivers/s390/crypto/zcrypt_ep11misc.c
467
static int check_reply_pl(const u8 *pl, const char *func)
drivers/s390/crypto/zcrypt_ep11misc.c
474
ZCRYPT_DBF_ERR("%s reply start tag mismatch\n", func);
drivers/s390/crypto/zcrypt_ep11misc.c
492
func, *pl);
drivers/s390/crypto/zcrypt_ep11misc.c
498
ZCRYPT_DBF_ERR("%s reply length %d too small\n", func, len);
drivers/s390/crypto/zcrypt_ep11misc.c
504
ZCRYPT_DBF_ERR("%s function tag or length mismatch\n", func);
drivers/s390/crypto/zcrypt_ep11misc.c
511
ZCRYPT_DBF_ERR("%s dom tag or length mismatch\n", func);
drivers/s390/crypto/zcrypt_ep11misc.c
519
func);
drivers/s390/crypto/zcrypt_ep11misc.c
525
ZCRYPT_DBF_ERR("%s return value 0x%08x != 0\n", func, ret);
drivers/s390/crypto/zcrypt_ep11misc.c
533
static int check_reply_cprb(const struct ep11_cprb *rep, const char *func)
drivers/scsi/aic94xx/aic94xx.h
73
int asd_control_phy(struct asd_sas_phy *phy, enum phy_func func, void *arg);
drivers/scsi/aic94xx/aic94xx_scb.c
890
int asd_control_phy(struct asd_sas_phy *phy, enum phy_func func, void *arg)
drivers/scsi/aic94xx/aic94xx_scb.c
898
switch (func) {
drivers/scsi/aic94xx/aic94xx_scb.c
912
func = PHY_FUNC_LINK_RESET;
drivers/scsi/aic94xx/aic94xx_scb.c
922
asd_build_control_phy(ascb, phy->id, phy_func_table[func]);
drivers/scsi/arm/fas216.c
229
static void __fas216_checkmagic(FAS216_Info *info, const char *func)
drivers/scsi/arm/fas216.c
242
panic("scsi memory space corrupted in %s", func);
drivers/scsi/be2iscsi/be_cmds.c
754
AMAP_SET_BITS(struct amap_eq_context, func, req->context,
drivers/scsi/be2iscsi/be_cmds.c
807
AMAP_SET_BITS(struct amap_cq_context, func, ctxt,
drivers/scsi/be2iscsi/be_cmds.h
303
u8 func[8]; /* dword 2 */
drivers/scsi/be2iscsi/be_cmds.h
590
u8 func[8]; /* dword 2 */
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1258
interface->fip_packet_type.func = bnx2fc_fip_recv;
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1263
interface->fcoe_packet_type.func = bnx2fc_rcv;
drivers/scsi/elx/libefc_sli/sli4.c
4800
void *func, void *arg)
drivers/scsi/elx/libefc_sli/sli4.c
4802
if (!func) {
drivers/scsi/elx/libefc_sli/sli4.c
4804
sli4, which, func);
drivers/scsi/elx/libefc_sli/sli4.c
4810
sli4->link = func;
drivers/scsi/elx/libefc_sli/sli4.h
3977
sli_callback(struct sli4 *sli4, enum sli4_callback cb, void *func, void *arg);
drivers/scsi/esas2r/esas2r.h
706
u8 func;
drivers/scsi/esas2r/esas2r_flash.c
1454
fc->func = VDA_FLASH_BEGINW;
drivers/scsi/esas2r/esas2r_flash.c
185
if (fc->func == VDA_FLASH_BEGINW) {
drivers/scsi/esas2r/esas2r_flash.c
196
fc->func,
drivers/scsi/esas2r/esas2r_flash.c
342
if (fc->func == VDA_FLASH_READ
drivers/scsi/esas2r/esas2r_flash.c
389
fc->func = VDA_FLASH_BEGINW;
drivers/scsi/esas2r/esas2r_flash.c
403
fc->func = VDA_FLASH_READ;
drivers/scsi/esas2r/esas2r_flash.c
426
fc->func = VDA_FLASH_BEGINW;
drivers/scsi/esas2r/esas2r_flash.c
438
fc->func = VDA_FLASH_READ;
drivers/scsi/esas2r/esas2r_flash.c
461
fc->func = VDA_FLASH_BEGINW;
drivers/scsi/esas2r/esas2r_flash.c
474
fc->func = VDA_FLASH_READ;
drivers/scsi/esas2r/esas2r_flash.c
497
fc->func = VDA_FLASH_BEGINW;
drivers/scsi/esas2r/esas2r_flash.c
508
fc->func = VDA_FLASH_READ;
drivers/scsi/esas2r/esas2r_flash.c
543
if (fc->func == VDA_FLASH_READ
drivers/scsi/esas2r/esas2r_flash.c
852
u8 func = 0;
drivers/scsi/esas2r/esas2r_flash.c
868
func = cmd_to_fls_func[fsc->command];
drivers/scsi/esas2r/esas2r_flash.c
869
if (func == 0xFF) {
drivers/scsi/esas2r/esas2r_flash.c
903
func,
drivers/scsi/esas2r/esas2r_flash.c
908
if (func == VDA_FLASH_WRITE
drivers/scsi/esas2r/esas2r_flash.c
909
|| func == VDA_FLASH_READ) {
drivers/scsi/esas2r/esas2r_flash.c
924
if (func == VDA_FLASH_COMMIT)
drivers/scsi/fcoe/fcoe.c
353
fcoe->fcoe_packet_type.func = fcoe_rcv;
drivers/scsi/fcoe/fcoe.c
358
fcoe->fip_packet_type.func = fcoe_fip_recv;
drivers/scsi/fcoe/fcoe.c
364
fcoe->fip_vlan_packet_type.func = fcoe_fip_vlan_recv;
drivers/scsi/hisi_sas/hisi_sas_main.c
1280
static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/hisi_sas/hisi_sas_main.c
1296
switch (func) {
drivers/scsi/hisi_sas/hisi_sas_main.c
1330
phy_no, func);
drivers/scsi/hisi_sas/hisi_sas_main.c
24
static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/hpsa.c
4633
const char *func)
drivers/scsi/hpsa.c
4637
func, cdb_len, cdb);
drivers/scsi/ips.c
1220
(*ha->func.intr) (ha);
drivers/scsi/ips.c
1231
irqstatus = (*ha->func.intr) (ha);
drivers/scsi/ips.c
1267
intrstatus = (*ha->func.isintr) (ha);
drivers/scsi/ips.c
1280
intrstatus = (*ha->func.isintr) (ha);
drivers/scsi/ips.c
1285
cstatus.value = (*ha->func.statupd) (ha);
drivers/scsi/ips.c
1331
intrstatus = (*ha->func.isintr) (ha);
drivers/scsi/ips.c
1344
intrstatus = (*ha->func.isintr) (ha);
drivers/scsi/ips.c
1349
cstatus.value = (*ha->func.statupd) (ha);
drivers/scsi/ips.c
1713
if ((!ha->func.programbios) || (!ha->func.erasebios) ||
drivers/scsi/ips.c
1714
(!ha->func.verifybios))
drivers/scsi/ips.c
1716
if ((*ha->func.erasebios) (ha)) {
drivers/scsi/ips.c
1722
if ((*ha->func.programbios) (ha,
drivers/scsi/ips.c
1732
if ((*ha->func.verifybios) (ha,
drivers/scsi/ips.c
1746
if (!ha->func.erasebios)
drivers/scsi/ips.c
1748
if ((*ha->func.erasebios) (ha)) {
drivers/scsi/ips.c
2383
if (ha->func.statinit)
drivers/scsi/ips.c
2384
(*ha->func.statinit) (ha);
drivers/scsi/ips.c
2386
if (ha->func.enableint)
drivers/scsi/ips.c
2387
(*ha->func.enableint) (ha);
drivers/scsi/ips.c
3803
return ((*ha->func.issue) (ha, scb));
drivers/scsi/ips.c
4581
(*ha->func.reset) (ha);
drivers/scsi/ips.c
4603
cstatus.value = (*ha->func.statupd) (ha);
drivers/scsi/ips.c
5009
if ((*ha->func.init) (ha))
drivers/scsi/ips.c
5054
if ((*ha->func.init) (ha))
drivers/scsi/ips.c
5098
if ((*ha->func.init) (ha))
drivers/scsi/ips.c
5554
(*ha->func.intr) (ha);
drivers/scsi/ips.c
591
ha->func.isintr = ips_isintr_morpheus;
drivers/scsi/ips.c
592
ha->func.isinit = ips_isinit_morpheus;
drivers/scsi/ips.c
593
ha->func.issue = ips_issue_i2o_memio;
drivers/scsi/ips.c
594
ha->func.init = ips_init_morpheus;
drivers/scsi/ips.c
595
ha->func.statupd = ips_statupd_morpheus;
drivers/scsi/ips.c
596
ha->func.reset = ips_reset_morpheus;
drivers/scsi/ips.c
597
ha->func.intr = ips_intr_morpheus;
drivers/scsi/ips.c
598
ha->func.enableint = ips_enable_int_morpheus;
drivers/scsi/ips.c
601
ha->func.isintr = ips_isintr_copperhead_memio;
drivers/scsi/ips.c
602
ha->func.isinit = ips_isinit_copperhead_memio;
drivers/scsi/ips.c
603
ha->func.init = ips_init_copperhead_memio;
drivers/scsi/ips.c
604
ha->func.statupd = ips_statupd_copperhead_memio;
drivers/scsi/ips.c
605
ha->func.statinit = ips_statinit_memio;
drivers/scsi/ips.c
606
ha->func.reset = ips_reset_copperhead_memio;
drivers/scsi/ips.c
607
ha->func.intr = ips_intr_copperhead;
drivers/scsi/ips.c
608
ha->func.erasebios = ips_erase_bios_memio;
drivers/scsi/ips.c
609
ha->func.programbios = ips_program_bios_memio;
drivers/scsi/ips.c
610
ha->func.verifybios = ips_verify_bios_memio;
drivers/scsi/ips.c
611
ha->func.enableint = ips_enable_int_copperhead_memio;
drivers/scsi/ips.c
613
ha->func.issue = ips_issue_i2o_memio;
drivers/scsi/ips.c
615
ha->func.issue = ips_issue_copperhead_memio;
drivers/scsi/ips.c
618
ha->func.isintr = ips_isintr_copperhead;
drivers/scsi/ips.c
619
ha->func.isinit = ips_isinit_copperhead;
drivers/scsi/ips.c
620
ha->func.init = ips_init_copperhead;
drivers/scsi/ips.c
621
ha->func.statupd = ips_statupd_copperhead;
drivers/scsi/ips.c
622
ha->func.statinit = ips_statinit;
drivers/scsi/ips.c
623
ha->func.reset = ips_reset_copperhead;
drivers/scsi/ips.c
624
ha->func.intr = ips_intr_copperhead;
drivers/scsi/ips.c
625
ha->func.erasebios = ips_erase_bios;
drivers/scsi/ips.c
626
ha->func.programbios = ips_program_bios;
drivers/scsi/ips.c
627
ha->func.verifybios = ips_verify_bios;
drivers/scsi/ips.c
628
ha->func.enableint = ips_enable_int_copperhead;
drivers/scsi/ips.c
631
ha->func.issue = ips_issue_i2o;
drivers/scsi/ips.c
633
ha->func.issue = ips_issue_copperhead;
drivers/scsi/ips.c
7005
if (!(*ha->func.isinit) (ha)) {
drivers/scsi/ips.c
7006
if (!(*ha->func.init) (ha)) {
drivers/scsi/ips.c
908
ret = (*ha->func.reset) (ha);
drivers/scsi/ips.h
1050
ips_hw_func_t func; /* hw function pointers */
drivers/scsi/isci/phy.c
1426
enum phy_func func,
drivers/scsi/isci/phy.c
1437
__func__, sas_phy, func, buf, iphy, port);
drivers/scsi/isci/phy.c
1439
switch (func) {
drivers/scsi/isci/phy.c
1477
__func__, sas_phy, func);
drivers/scsi/isci/phy.h
457
int isci_phy_control(struct asd_sas_phy *phy, enum phy_func func, void *buf);
drivers/scsi/isci/request.c
3194
switch (smp_req->func) {
drivers/scsi/isci/sas.h
201
u8 func; /* byte 1 */
drivers/scsi/libsas/sas_ata.c
733
static void sas_ata_flush_pm_eh(struct asd_sas_port *port, const char *func)
drivers/scsi/libsas/sas_ata.c
745
sas_fail_probe(dev, func, -ENODEV);
drivers/scsi/libsas/sas_internal.h
143
static inline void sas_fail_probe(struct domain_device *dev, const char *func, int err)
drivers/scsi/libsas/sas_internal.h
146
func, dev->parent ? "exp-attached" :
drivers/scsi/lpfc/lpfc_ct.c
3212
int (*func)(struct lpfc_vport *vport, void *attrbuf);
drivers/scsi/lpfc/lpfc_ct.c
3299
func = lpfc_fdmi_hba_action[bit_pos];
drivers/scsi/lpfc/lpfc_ct.c
3300
addsz = func(vport, ((uint8_t *)rh + size));
drivers/scsi/lpfc/lpfc_ct.c
3359
func = lpfc_fdmi_port_action[bit_pos];
drivers/scsi/lpfc/lpfc_ct.c
3360
addsz = func(vport, ((uint8_t *)base + size));
drivers/scsi/lpfc/lpfc_nportdisc.c
3080
uint32_t(*func) (struct lpfc_vport *, struct lpfc_nodelist *, void *,
drivers/scsi/lpfc/lpfc_nportdisc.c
3103
func = lpfc_disc_action[(cur_state * NLP_EVT_MAX_EVENT) + evt];
drivers/scsi/lpfc/lpfc_nportdisc.c
3104
rc = (func) (vport, ndlp, arg, evt);
drivers/scsi/mvsas/mv_sas.c
154
int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/mvsas/mv_sas.c
170
switch (func) {
drivers/scsi/mvsas/mv_sas.h
428
int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/nsp32.c
320
static void nsp32_message(const char *func, int line, char *type, char *fmt, ...)
drivers/scsi/nsp32.c
332
printk("%snsp32: %s (%d): %s\n", type, func, line, buf);
drivers/scsi/nsp32.c
337
static void nsp32_dmessage(const char *func, int line, int mask, char *fmt, ...)
drivers/scsi/nsp32.c
347
printk("nsp32-debug: 0x%x %s (%d): %s\n", mask, func, line, buf);
drivers/scsi/pcmcia/nsp_cs.c
142
static void nsp_cs_message(const char *func, int line, char *type, char *fmt, ...)
drivers/scsi/pcmcia/nsp_cs.c
154
printk("%snsp_cs: %s (%d): %s\n", type, func, line, buf);
drivers/scsi/pcmcia/nsp_cs.c
159
static void nsp_cs_dmessage(const char *func, int line, int mask, char *fmt, ...)
drivers/scsi/pcmcia/nsp_cs.c
169
printk("nsp_cs-debug: 0x%x %s (%d): %s\n", mask, func, line, buf);
drivers/scsi/pm8001/pm8001_sas.c
225
int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/pm8001/pm8001_sas.c
247
switch (func) {
drivers/scsi/pm8001/pm8001_sas.c
332
pm8001_dbg(pm8001_ha, DEVIO, "func 0x%x\n", func);
drivers/scsi/pm8001/pm8001_sas.h
645
int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
drivers/scsi/qedf/qedf_dbg.c
10
qedf_dbg_err(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.c
100
pr_info("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedf/qedf_dbg.c
23
func, line, qedf->host_no, &vaf);
drivers/scsi/qedf/qedf_dbg.c
25
pr_err("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedf/qedf_dbg.c
31
qedf_dbg_warn(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.c
47
func, line, qedf->host_no, &vaf);
drivers/scsi/qedf/qedf_dbg.c
49
pr_warn("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedf/qedf_dbg.c
56
qedf_dbg_notice(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.c
72
dev_name(&(qedf->pdev->dev)), func, line,
drivers/scsi/qedf/qedf_dbg.c
75
pr_notice("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedf/qedf_dbg.c
82
qedf_dbg_info(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.c
98
func, line, qedf->host_no, &vaf);
drivers/scsi/qedf/qedf_dbg.h
83
void qedf_dbg_err(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.h
86
void qedf_dbg_warn(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedf/qedf_dbg.h
89
void qedf_dbg_notice(struct qedf_dbg_ctx *qedf, const char *func,
drivers/scsi/qedf/qedf_dbg.h
92
void qedf_dbg_info(struct qedf_dbg_ctx *qedf, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.c
101
pr_info("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedi/qedi_dbg.c
11
qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.c
24
func, line, qedi->host_no, &vaf);
drivers/scsi/qedi/qedi_dbg.c
26
pr_err("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedi/qedi_dbg.c
32
qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.c
48
func, line, qedi->host_no, &vaf);
drivers/scsi/qedi/qedi_dbg.c
50
pr_warn("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedi/qedi_dbg.c
57
qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.c
73
dev_name(&qedi->pdev->dev), func, line,
drivers/scsi/qedi/qedi_dbg.c
76
pr_notice("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf);
drivers/scsi/qedi/qedi_dbg.c
83
qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.c
99
func, line, qedi->host_no, &vaf);
drivers/scsi/qedi/qedi_dbg.h
81
void qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.h
83
void qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.h
85
void qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qedi/qedi_dbg.h
87
void qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line,
drivers/scsi/qla2xxx/qla_edif.c
2784
const char *func = "SA_UPDATE_RESPONSE_IOCB";
drivers/scsi/qla2xxx/qla_edif.c
2791
sp = qla2x00_get_sp_from_handle(v, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
2039
qla_get_sp_from_handle(scsi_qla_host_t *vha, const char *func,
drivers/scsi/qla2xxx/qla_isr.c
2054
func, index, iocb);
drivers/scsi/qla2xxx/qla_isr.c
2065
func, index);
drivers/scsi/qla2xxx/qla_isr.c
2070
"%s: SRB handle (%x) mismatch %x.\n", func,
drivers/scsi/qla2xxx/qla_isr.c
2081
qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func,
drivers/scsi/qla2xxx/qla_isr.c
2087
sp = qla_get_sp_from_handle(vha, func, req, iocb, &index);
drivers/scsi/qla2xxx/qla_isr.c
2098
const char func[] = "MBX-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2106
sp = qla2x00_get_sp_from_handle(vha, func, req, mbx);
drivers/scsi/qla2xxx/qla_isr.c
2184
const char func[] = "MBX-IOCB2";
drivers/scsi/qla2xxx/qla_isr.c
2191
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
2222
const char func[] = "nack";
drivers/scsi/qla2xxx/qla_isr.c
2226
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
2240
const char func[] = "CT_IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2248
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
2313
const char func[] = "ELS_CT_IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2326
sp = qla2x00_get_sp_from_handle(v, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
2522
const char func[] = "LOGIO-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2531
sp = qla2x00_get_sp_from_handle(vha, func, req, logio);
drivers/scsi/qla2xxx/qla_isr.c
2666
const char func[] = "TMF-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2674
sp = qla2x00_get_sp_from_handle(vha, func, req, tsk);
drivers/scsi/qla2xxx/qla_isr.c
2882
const char func[] = "CTRLVP-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
2886
sp = qla2x00_get_sp_from_handle(vha, func, req, vce);
drivers/scsi/qla2xxx/qla_isr.c
3771
const char func[] = "ERROR-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
3801
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
3814
sp = qla_get_sp_from_handle(vha, func, req, pkt, &index);
drivers/scsi/qla2xxx/qla_isr.c
3869
const char func[] = "ABT_IOCB";
drivers/scsi/qla2xxx/qla_isr.c
3874
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
3892
const char func[] = "LS4_IOCB";
drivers/scsi/qla2xxx/qla_isr.c
3895
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_isr.c
3946
const char func[] = "MRK-IOCB";
drivers/scsi/qla2xxx/qla_isr.c
3953
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_mr.c
2165
const char func[] = "ABT_IOCB";
drivers/scsi/qla2xxx/qla_mr.c
2169
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_mr.c
2182
const char func[] = "IOSB_IOCB";
drivers/scsi/qla2xxx/qla_mr.c
2191
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_mr.c
2665
const char func[] = "ERROR-IOCB";
drivers/scsi/qla2xxx/qla_mr.c
2672
sp = qla2x00_get_sp_from_handle(vha, func, req, pkt);
drivers/scsi/qla2xxx/qla_tmpl.c
731
uint func = vha->hw->port_no & 0x3;
drivers/scsi/qla2xxx/qla_tmpl.c
733
if (type != cond1 || func != cond2) {
drivers/scsi/scsi_transport_sas.c
1776
#define SETUP_OPTIONAL_RPORT_ATTRIBUTE(field, func) \
drivers/scsi/scsi_transport_sas.c
1777
SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, i->f->func)
drivers/scsi/scsi_transport_sas.c
1786
#define SETUP_OPTIONAL_PHY_ATTRIBUTE_RW(field, func) \
drivers/scsi/scsi_transport_sas.c
1788
!i->f->func, S_IRUGO)
drivers/scsi/scsi_transport_sas.c
1793
#define SETUP_OPTIONAL_PHY_ATTRIBUTE(field, func) \
drivers/scsi/scsi_transport_sas.c
1794
SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func)
drivers/scsi/scsi_transport_sas.c
1799
#define SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(field, func) \
drivers/scsi/scsi_transport_sas.c
1800
SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func)
drivers/sh/clk/core.c
144
.func = clk_rate_table_iter,
drivers/sh/clk/core.c
167
.func = clk_rate_div_range_iter,
drivers/sh/clk/core.c
187
.func = clk_rate_mult_range_iter,
drivers/sh/clk/core.c
80
long (*func)(unsigned int, struct clk_rate_round_data *);
drivers/sh/clk/core.c
85
for (pos = r->min, freq = r->func(pos, r); \
drivers/sh/clk/core.c
86
pos <= r->max; pos++, freq = r->func(pos, r)) \
drivers/soc/sunxi/sunxi_sram.c
114
struct sunxi_sram_func *func;
drivers/soc/sunxi/sunxi_sram.c
147
for (func = sram_data->func; func->func; func++) {
drivers/soc/sunxi/sunxi_sram.c
148
seq_printf(s, "\t\t%s%c\n", func->func,
drivers/soc/sunxi/sunxi_sram.c
149
func->reg_val == val ?
drivers/soc/sunxi/sunxi_sram.c
172
struct sunxi_sram_func *func;
drivers/soc/sunxi/sunxi_sram.c
201
for (func = data->func; func->func; func++) {
drivers/soc/sunxi/sunxi_sram.c
202
if (val == func->val) {
drivers/soc/sunxi/sunxi_sram.c
204
*reg_value = func->reg_val;
drivers/soc/sunxi/sunxi_sram.c
210
if (!func->func) {
drivers/soc/sunxi/sunxi_sram.c
26
char *func;
drivers/soc/sunxi/sunxi_sram.c
36
struct sunxi_sram_func *func;
drivers/soc/sunxi/sunxi_sram.c
46
.func = _func, \
drivers/soc/sunxi/sunxi_sram.c
57
.func = (struct sunxi_sram_func[]){ \
drivers/spi/spi-rzv2h-rspi.c
118
#define RZV2H_RSPI_TX(func, type) \
drivers/spi/spi-rzv2h-rspi.c
123
func(buf, rspi->base + RSPI_SPDR); \
drivers/spi/spi-rzv2h-rspi.c
126
#define RZV2H_RSPI_RX(func, type) \
drivers/spi/spi-rzv2h-rspi.c
130
type buf = func(rspi->base + RSPI_SPDR); \
drivers/ssb/driver_pcicore.c
103
addr |= (func << 8);
drivers/ssb/driver_pcicore.c
112
unsigned int func, unsigned int off,
drivers/ssb/driver_pcicore.c
122
addr = get_cfgspace_addr(pc, bus, dev, func, off);
drivers/ssb/driver_pcicore.c
158
unsigned int func, unsigned int off,
drivers/ssb/driver_pcicore.c
168
addr = get_cfgspace_addr(pc, bus, dev, func, off);
drivers/ssb/driver_pcicore.c
73
unsigned int func, unsigned int off)
drivers/ssb/driver_pcicore.c
93
addr |= (func << 8);
drivers/ssb/main.c
103
res = func(bus, data);
drivers/ssb/main.c
751
int ssb_bus_sdiobus_register(struct ssb_bus *bus, struct sdio_func *func,
drivers/ssb/main.c
757
bus->host_sdio = func;
drivers/ssb/main.c
763
dev_info(&func->dev,
drivers/ssb/main.c
765
sdio_func_id(func));
drivers/ssb/main.c
96
int (*func)(struct ssb_bus *bus, unsigned long data))
drivers/ssb/ssb_private.h
163
int (*func)(struct ssb_bus *bus, unsigned long data));
drivers/staging/fbtft/fbtft-bus.c
14
#define define_fbtft_write_reg(func, buffer_type, data_type, modifier) \
drivers/staging/fbtft/fbtft-bus.c
15
void func(struct fbtft_par *par, int len, ...) \
drivers/staging/fbtft/fbtft-bus.c
63
EXPORT_SYMBOL(func);
drivers/staging/media/atomisp/pci/sh_css.c
1048
int (*func)(enum mipi_port_id, uint32_t))
drivers/staging/media/atomisp/pci/sh_css.c
1076
retval = func(stream->config.source.port.port, isys_stream_id);
drivers/staging/media/atomisp/pci/sh_css_internal.h
574
u8 func;
drivers/staging/media/atomisp/pci/sh_css_sp.c
220
sh_css_sp_stage.func =
drivers/staging/media/atomisp/pci/sh_css_sp.c
296
sh_css_sp_stage.func = (unsigned int)IA_CSS_PIPELINE_RAW_COPY;
drivers/staging/media/atomisp/pci/sh_css_sp.c
347
sh_css_sp_stage.func = (unsigned int)IA_CSS_PIPELINE_ISYS_COPY;
drivers/staging/media/av7110/av7110_ipack.c
23
void (*func)(u8 *buf, int size, void *priv))
drivers/staging/media/av7110/av7110_ipack.c
29
p->func = func;
drivers/staging/media/av7110/av7110_ipack.c
76
p->func(p->buf, p->count, p->data);
drivers/staging/media/av7110/av7110_ipack.c
98
p->func(p->buf, p->count, p->data);
drivers/staging/media/av7110/av7110_ipack.h
6
void (*func)(u8 *buf, int size, void *priv));
drivers/staging/media/av7110/dvb_filter.h
143
void (*func)(u8 *buf, int size, void *priv);
drivers/staging/media/ipu3/ipu3-abi.h
1465
u8 func;
drivers/staging/media/ipu3/ipu3-mmu.c
84
void (*func)(struct imgu_mmu *mmu))
drivers/staging/media/ipu3/ipu3-mmu.c
89
func(mmu);
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
1875
ptable->func(padapter, precv_frame);
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
424
if (ptable->func) {
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
430
ptable->func(padapter, precv_frame);
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
473
ptable->func = &OnAuth;
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
475
ptable->func = &OnAuthClient;
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
5981
if (p->func)
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
5982
p->func(p->context);
drivers/staging/rtl8723bs/include/drv_types.h
264
return &dvobj->intf_data.func->dev;
drivers/staging/rtl8723bs/include/drv_types_sdio.h
21
struct sdio_func *func;
drivers/staging/rtl8723bs/include/rtw_cmd.h
549
void (*func)(void *);
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
212
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
218
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
101
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
110
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
114
func = psdio_data->func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
117
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
119
err = sdio_enable_func(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
123
err = sdio_set_block_size(func, 512);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
132
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
141
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
143
func = dvobj->intf_data.func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
145
if (func) {
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
146
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
147
sdio_disable_func(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
150
sdio_release_irq(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
153
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
156
static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
166
sdio_set_drvdata(func, dvobj);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
169
psdio->func = func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
179
sdio_set_drvdata(func, NULL);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
189
static void sdio_dvobj_deinit(struct sdio_func *func)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
191
struct dvobj_priv *dvobj = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
193
sdio_set_drvdata(func, NULL);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
26
static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
27
static void rtw_dev_remove(struct sdio_func *func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
288
rtw_macaddr_cfg(&psdio->func->dev, padapter->eeprompriv.mac_addr);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
345
struct sdio_func *func,
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
352
dvobj = sdio_dvobj_init(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
377
sdio_dvobj_deinit(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
382
static void rtw_dev_remove(struct sdio_func *func)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
384
struct dvobj_priv *dvobj = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
395
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
396
sdio_readb(func, 0, &err);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
397
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
413
sdio_dvobj_deinit(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
418
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
419
struct dvobj_priv *psdpriv = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
446
struct sdio_func *func = dev_to_sdio_func(dev);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
447
struct dvobj_priv *psdpriv = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
46
static void sd_sync_int_hdl(struct sdio_func *func)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
51
psdpriv = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
64
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
68
func = psdio_data->func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
70
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
72
err = sdio_claim_irq(func, &sd_sync_int_hdl);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
78
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
86
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
91
func = psdio_data->func;
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
93
if (func) {
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
94
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_intf.c
95
err = sdio_release_irq(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
10
static bool rtw_sdio_claim_host_needed(struct sdio_func *func)
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
103
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
112
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
115
sdio_writeb(func, pdata[i], addr + i, &err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
12
struct dvobj_priv *dvobj = sdio_get_drvdata(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
134
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
144
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
145
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
148
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
151
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
162
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
172
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
173
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
176
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
177
v = sdio_readb(func, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
179
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
189
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
199
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
200
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
203
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
204
v = sdio_readl(func, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
206
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
214
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
215
v = sdio_readl(func, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
217
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
241
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
251
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
252
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
255
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
256
sdio_writeb(func, v, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
258
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
266
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
276
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
277
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
280
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
281
sdio_writel(func, v, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
283
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
291
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
292
sdio_writel(func, v, addr, err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
294
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
333
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
342
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
349
*(pbuf + i) = sdio_readb(func, addr + i, &err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
357
err = sdio_memcpy_fromio(func, pdata, addr, cnt);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
381
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
39
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
392
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
393
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
396
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
399
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
424
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
435
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
443
sdio_writeb(func, *(pbuf + i), addr + i, &err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
452
err = sdio_memcpy_toio(func, addr, pdata, size);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
475
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
48
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
486
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
487
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
490
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
493
sdio_release_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
51
pdata[i] = sdio_readb(func, addr + i, &err);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
70
struct sdio_func *func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
80
func = psdio->func;
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
81
claim_needed = rtw_sdio_claim_host_needed(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
84
sdio_claim_host(func);
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c
87
sdio_release_host(func);
drivers/staging/vme_user/vme.c
1263
call = bridge->irq[level - 1].callback[statid].func;
drivers/staging/vme_user/vme.c
1315
if (bridge->irq[level - 1].callback[statid].func) {
drivers/staging/vme_user/vme.c
1323
bridge->irq[level - 1].callback[statid].func = callback;
drivers/staging/vme_user/vme.c
1371
bridge->irq[level - 1].callback[statid].func = NULL;
drivers/staging/vme_user/vme_bridge.h
91
void (*func)(int level, int statid, void *priv_data);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
35
cxgbit_wake_up(struct cxgbit_wr_wait *wr_waitp, const char *func, u8 ret)
drivers/target/iscsi/cxgbit/cxgbit_cm.c
43
pr_err("%s: err:%u", func, ret);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
51
const char *func)
drivers/target/iscsi/cxgbit/cxgbit_cm.c
63
func, pci_name(cdev->lldi.pdev), tid);
drivers/target/loopback/tcm_loop.c
553
static int tcm_loop_queue_data_or_status(const char *func,
drivers/target/loopback/tcm_loop.c
561
func, sc, sc->cmnd[0]);
drivers/tee/amdtee/call.c
264
cmd.cmd_id = arg->func;
drivers/tee/optee/call.c
539
msg_arg->func = arg->func;
drivers/tee/optee/device.c
103
if (func == PTA_CMD_GET_DEVICES_SUPP)
drivers/tee/optee/device.c
110
static int __optee_enumerate_devices(u32 func)
drivers/tee/optee/device.c
141
rc = get_devices(ctx, sess_arg.session, NULL, &shm_size, func);
drivers/tee/optee/device.c
152
rc = get_devices(ctx, sess_arg.session, device_shm, &shm_size, func);
drivers/tee/optee/device.c
166
rc = optee_register_device(&device_uuid[idx], func);
drivers/tee/optee/device.c
181
int optee_enumerate_devices(u32 func)
drivers/tee/optee/device.c
183
return __optee_enumerate_devices(func);
drivers/tee/optee/device.c
24
u32 func)
drivers/tee/optee/device.c
33
inv_arg.func = func;
drivers/tee/optee/device.c
79
static int optee_register_device(const uuid_t *device_uuid, u32 func)
drivers/tee/optee/optee_msg.h
210
u32 func;
drivers/tee/optee/optee_private.h
312
u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
drivers/tee/optee/optee_private.h
321
int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
drivers/tee/optee/optee_private.h
340
int optee_enumerate_devices(u32 func);
drivers/tee/optee/optee_smc.h
522
#define OPTEE_SMC_RPC_VAL(func) ((func) | OPTEE_SMC_RETURN_RPC_PREFIX)
drivers/tee/optee/supp.c
14
u32 func;
drivers/tee/optee/supp.c
210
int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
drivers/tee/optee/supp.c
264
*func = req->func;
drivers/tee/optee/supp.c
76
u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
drivers/tee/optee/supp.c
97
req->func = func;
drivers/tee/tee_core.c
825
u32 func;
drivers/tee/tee_core.c
852
rc = ctx->teedev->desc->ops->supp_recv(ctx, &func, &num_params, params);
drivers/tee/tee_core.c
856
if (put_user(func, &uarg->func) ||
drivers/tee/tstee/core.c
189
opcode = lower_16_bits(arg->func);
drivers/thermal/imx_sc_thermal.c
56
hdr->func = IMX_SC_MISC_FUNC_GET_TEMP;
drivers/thermal/intel/intel_hfi.c
628
smp_call_func_t func = NULL;
drivers/thermal/intel/intel_hfi.c
643
func = hfi_enable_instance;
drivers/thermal/intel/intel_hfi.c
647
func = hfi_disable_instance;
drivers/thermal/intel/intel_hfi.c
651
if (!func)
drivers/thermal/intel/intel_hfi.c
660
smp_call_function_single(cpu, func, hfi_instance, true);
drivers/ufs/host/ufs-exynos.c
927
int tag, u8 func)
drivers/ufs/host/ufs-exynos.c
934
switch (func) {
drivers/usb/cdns3/cdns3-pci-wrap.c
147
if (pci_is_enabled(func)) {
drivers/usb/cdns3/cdns3-pci-wrap.c
174
struct pci_dev *func;
drivers/usb/cdns3/cdns3-pci-wrap.c
176
func = cdns3_get_second_fun(pdev);
drivers/usb/cdns3/cdns3-pci-wrap.c
182
if (!pci_is_enabled(func))
drivers/usb/cdns3/cdns3-pci-wrap.c
42
struct pci_dev *func;
drivers/usb/cdns3/cdns3-pci-wrap.c
50
func = pci_get_device(pdev->vendor, pdev->device, NULL);
drivers/usb/cdns3/cdns3-pci-wrap.c
51
if (unlikely(!func))
drivers/usb/cdns3/cdns3-pci-wrap.c
54
if (func->devfn == pdev->devfn) {
drivers/usb/cdns3/cdns3-pci-wrap.c
55
func = pci_get_device(pdev->vendor, pdev->device, func);
drivers/usb/cdns3/cdns3-pci-wrap.c
56
if (unlikely(!func))
drivers/usb/cdns3/cdns3-pci-wrap.c
60
if (func->devfn != PCI_DEV_FN_HOST_DEVICE &&
drivers/usb/cdns3/cdns3-pci-wrap.c
61
func->devfn != PCI_DEV_FN_OTG) {
drivers/usb/cdns3/cdns3-pci-wrap.c
65
return func;
drivers/usb/cdns3/cdns3-pci-wrap.c
74
struct pci_dev *func;
drivers/usb/cdns3/cdns3-pci-wrap.c
85
func = cdns3_get_second_fun(pdev);
drivers/usb/cdns3/cdns3-pci-wrap.c
86
if (unlikely(!func))
drivers/usb/cdns3/cdns3-pci-wrap.c
97
if (pci_is_enabled(func)) {
drivers/usb/cdns3/cdns3-pci-wrap.c
98
wrap = pci_get_drvdata(func);
drivers/usb/cdns3/cdnsp-pci.c
152
if (pci_is_enabled(func)) {
drivers/usb/cdns3/cdnsp-pci.c
168
if (!pci_is_enabled(func))
drivers/usb/cdns3/cdnsp-pci.c
172
pci_dev_put(func);
drivers/usb/cdns3/cdnsp-pci.c
180
struct pci_dev *func;
drivers/usb/cdns3/cdnsp-pci.c
182
func = cdnsp_get_second_fun(pdev);
drivers/usb/cdns3/cdnsp-pci.c
188
if (pci_is_enabled(func)) {
drivers/usb/cdns3/cdnsp-pci.c
194
pci_dev_put(func);
drivers/usb/cdns3/cdnsp-pci.c
52
struct pci_dev *func;
drivers/usb/cdns3/cdnsp-pci.c
65
func = cdnsp_get_second_fun(pdev);
drivers/usb/cdns3/cdnsp-pci.c
66
if (!func)
drivers/usb/cdns3/cdnsp-pci.c
69
if (func->class == PCI_CLASS_SERIAL_USB_XHCI ||
drivers/usb/cdns3/cdnsp-pci.c
82
if (pci_is_enabled(func)) {
drivers/usb/cdns3/cdnsp-pci.c
83
cdnsp = pci_get_drvdata(func);
drivers/usb/early/ehci-dbgp.c
364
static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap)
drivers/usb/early/ehci-dbgp.c
369
if (!(read_pci_config_16(num, slot, func, PCI_STATUS) &
drivers/usb/early/ehci-dbgp.c
373
pos = read_pci_config_byte(num, slot, func, PCI_CAPABILITY_LIST);
drivers/usb/early/ehci-dbgp.c
378
id = read_pci_config_byte(num, slot, func, pos+PCI_CAP_LIST_ID);
drivers/usb/early/ehci-dbgp.c
384
pos = read_pci_config_byte(num, slot, func,
drivers/usb/early/ehci-dbgp.c
390
static u32 __init __find_dbgp(u32 bus, u32 slot, u32 func)
drivers/usb/early/ehci-dbgp.c
394
class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION);
drivers/usb/early/ehci-dbgp.c
398
return find_cap(bus, slot, func, PCI_CAP_ID_EHCI_DEBUG);
drivers/usb/early/ehci-dbgp.c
403
u32 bus, slot, func;
drivers/usb/early/ehci-dbgp.c
407
for (func = 0; func < 8; func++) {
drivers/usb/early/ehci-dbgp.c
410
cap = __find_dbgp(bus, slot, func);
drivers/usb/early/ehci-dbgp.c
418
*rfunc = func;
drivers/usb/early/ehci-dbgp.c
68
u32 func;
drivers/usb/early/ehci-dbgp.c
682
dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
drivers/usb/early/ehci-dbgp.c
686
write_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, 0x74,
drivers/usb/early/ehci-dbgp.c
695
vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
drivers/usb/early/ehci-dbgp.c
720
ehci_dev.func, offset);
drivers/usb/early/ehci-dbgp.c
726
ehci_dev.func, offset + 3, 1);
drivers/usb/early/ehci-dbgp.c
735
ehci_dev.func, offset);
drivers/usb/early/ehci-dbgp.c
743
ehci_dev.func, offset + 2, 0);
drivers/usb/early/ehci-dbgp.c
747
write_pci_config_byte(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
drivers/usb/early/ehci-dbgp.c
828
u32 bus, slot, func, cap;
drivers/usb/early/ehci-dbgp.c
844
cap = find_dbgp(dbgp_num, &bus, &slot, &func);
drivers/usb/early/ehci-dbgp.c
849
func);
drivers/usb/early/ehci-dbgp.c
851
debug_port = read_pci_config(bus, slot, func, cap);
drivers/usb/early/ehci-dbgp.c
862
bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
drivers/usb/early/ehci-dbgp.c
871
byte = read_pci_config_byte(bus, slot, func, 0x04);
drivers/usb/early/ehci-dbgp.c
874
write_pci_config_byte(bus, slot, func, 0x04, byte);
drivers/usb/early/ehci-dbgp.c
892
ehci_dev.func = func;
drivers/usb/early/xhci-dbc.c
109
u32 bus, dev, func, class;
drivers/usb/early/xhci-dbc.c
113
for (func = 0; func < XDBC_PCI_MAX_FUNCTION; func++) {
drivers/usb/early/xhci-dbc.c
115
class = read_pci_config(bus, dev, func, PCI_CLASS_REVISION);
drivers/usb/early/xhci-dbc.c
124
*f = func;
drivers/usb/early/xhci-dbc.c
38
static void __iomem * __init xdbc_map_pci_mmio(u32 bus, u32 dev, u32 func)
drivers/usb/early/xhci-dbc.c
45
val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0);
drivers/usb/early/xhci-dbc.c
46
write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, ~0);
drivers/usb/early/xhci-dbc.c
47
sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0);
drivers/usb/early/xhci-dbc.c
48
write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, val);
drivers/usb/early/xhci-dbc.c
60
val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4);
drivers/usb/early/xhci-dbc.c
604
u32 bus, dev, func, offset;
drivers/usb/early/xhci-dbc.c
61
write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, ~0);
drivers/usb/early/xhci-dbc.c
62
sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4);
drivers/usb/early/xhci-dbc.c
625
ret = xdbc_find_dbgp(dbgp_num, &bus, &dev, &func);
drivers/usb/early/xhci-dbc.c
63
write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, val);
drivers/usb/early/xhci-dbc.c
631
xdbc.vendor = read_pci_config_16(bus, dev, func, PCI_VENDOR_ID);
drivers/usb/early/xhci-dbc.c
632
xdbc.device = read_pci_config_16(bus, dev, func, PCI_DEVICE_ID);
drivers/usb/early/xhci-dbc.c
635
xdbc.func = func;
drivers/usb/early/xhci-dbc.c
638
xdbc.xhci_base = xdbc_map_pci_mmio(bus, dev, func);
drivers/usb/early/xhci-dbc.c
764
cmd = read_pci_config_byte(xdbc.bus, xdbc.dev, xdbc.func, PCI_COMMAND);
drivers/usb/early/xhci-dbc.c
767
write_pci_config_byte(xdbc.bus, xdbc.dev, xdbc.func, PCI_COMMAND, cmd);
drivers/usb/early/xhci-dbc.c
80
byte = read_pci_config_byte(bus, dev, func, PCI_COMMAND);
drivers/usb/early/xhci-dbc.c
83
write_pci_config_byte(bus, dev, func, PCI_COMMAND, byte);
drivers/usb/early/xhci-dbc.h
145
u32 func;
drivers/usb/gadget/composite.c
503
int usb_func_wakeup(struct usb_function *func)
drivers/usb/gadget/composite.c
505
struct usb_gadget *gadget = func->config->cdev->gadget;
drivers/usb/gadget/composite.c
511
if (!func->func_wakeup_armed) {
drivers/usb/gadget/composite.c
512
ERROR(func->config->cdev, "not armed for func remote wakeup\n");
drivers/usb/gadget/composite.c
517
if (func->config->interface[id] == func)
drivers/usb/gadget/composite.c
521
ERROR(func->config->cdev, "Invalid function\n");
drivers/usb/gadget/function/f_acm.c
303
struct usb_composite_dev *cdev = acm->port.func.config->cdev;
drivers/usb/gadget/function/f_acm.c
528
ERROR(acm->port.func.config->cdev,
drivers/usb/gadget/function/f_acm.c
539
struct usb_composite_dev *cdev = acm->port.func.config->cdev;
drivers/usb/gadget/function/f_acm.c
70
return container_of(f, struct f_acm, port.func);
drivers/usb/gadget/function/f_acm.c
761
acm->port.func.name = "acm";
drivers/usb/gadget/function/f_acm.c
762
acm->port.func.strings = acm_strings;
drivers/usb/gadget/function/f_acm.c
764
acm->port.func.bind = acm_bind;
drivers/usb/gadget/function/f_acm.c
765
acm->port.func.set_alt = acm_set_alt;
drivers/usb/gadget/function/f_acm.c
766
acm->port.func.setup = acm_setup;
drivers/usb/gadget/function/f_acm.c
767
acm->port.func.disable = acm_disable;
drivers/usb/gadget/function/f_acm.c
775
acm->port.func.unbind = acm_unbind;
drivers/usb/gadget/function/f_acm.c
776
acm->port.func.free_func = acm_free_func;
drivers/usb/gadget/function/f_acm.c
777
acm->port.func.resume = acm_resume;
drivers/usb/gadget/function/f_acm.c
778
acm->port.func.suspend = acm_suspend;
drivers/usb/gadget/function/f_acm.c
780
return &acm->port.func;
drivers/usb/gadget/function/f_ecm.c
372
struct usb_composite_dev *cdev = ecm->port.func.config->cdev;
drivers/usb/gadget/function/f_ecm.c
438
struct usb_composite_dev *cdev = ecm->port.func.config->cdev;
drivers/usb/gadget/function/f_ecm.c
652
struct f_ecm *ecm = func_to_ecm(&geth->func);
drivers/usb/gadget/function/f_ecm.c
654
DBG(ecm->port.func.config->cdev, "%s\n", __func__);
drivers/usb/gadget/function/f_ecm.c
662
struct f_ecm *ecm = func_to_ecm(&geth->func);
drivers/usb/gadget/function/f_ecm.c
664
DBG(ecm->port.func.config->cdev, "%s\n", __func__);
drivers/usb/gadget/function/f_ecm.c
69
return container_of(f, struct f_ecm, port.func);
drivers/usb/gadget/function/f_ecm.c
874
struct usb_composite_dev *cdev = ecm->port.func.config->cdev;
drivers/usb/gadget/function/f_ecm.c
884
struct usb_composite_dev *cdev = ecm->port.func.config->cdev;
drivers/usb/gadget/function/f_ecm.c
962
ecm->port.func.name = "cdc_ethernet";
drivers/usb/gadget/function/f_ecm.c
964
ecm->port.func.bind = ecm_bind;
drivers/usb/gadget/function/f_ecm.c
965
ecm->port.func.unbind = ecm_unbind;
drivers/usb/gadget/function/f_ecm.c
966
ecm->port.func.set_alt = ecm_set_alt;
drivers/usb/gadget/function/f_ecm.c
967
ecm->port.func.get_alt = ecm_get_alt;
drivers/usb/gadget/function/f_ecm.c
968
ecm->port.func.setup = ecm_setup;
drivers/usb/gadget/function/f_ecm.c
969
ecm->port.func.disable = ecm_disable;
drivers/usb/gadget/function/f_ecm.c
970
ecm->port.func.free_func = ecm_free;
drivers/usb/gadget/function/f_ecm.c
971
ecm->port.func.suspend = ecm_suspend;
drivers/usb/gadget/function/f_ecm.c
972
ecm->port.func.get_status = ecm_get_status;
drivers/usb/gadget/function/f_ecm.c
973
ecm->port.func.resume = ecm_resume;
drivers/usb/gadget/function/f_ecm.c
975
return &ecm->port.func;
drivers/usb/gadget/function/f_eem.c
391
struct usb_composite_dev *cdev = port->func.config->cdev;
drivers/usb/gadget/function/f_eem.c
41
return container_of(f, struct f_eem, port.func);
drivers/usb/gadget/function/f_eem.c
669
eem->port.func.name = "cdc_eem";
drivers/usb/gadget/function/f_eem.c
671
eem->port.func.bind = eem_bind;
drivers/usb/gadget/function/f_eem.c
672
eem->port.func.unbind = eem_unbind;
drivers/usb/gadget/function/f_eem.c
673
eem->port.func.set_alt = eem_set_alt;
drivers/usb/gadget/function/f_eem.c
674
eem->port.func.setup = eem_setup;
drivers/usb/gadget/function/f_eem.c
675
eem->port.func.disable = eem_disable;
drivers/usb/gadget/function/f_eem.c
676
eem->port.func.free_func = eem_free;
drivers/usb/gadget/function/f_eem.c
681
return &eem->port.func;
drivers/usb/gadget/function/f_fs.c
103
static void ffs_func_eps_disable(struct ffs_function *func);
drivers/usb/gadget/function/f_fs.c
104
static int __must_check ffs_func_eps_enable(struct ffs_function *func);
drivers/usb/gadget/function/f_fs.c
120
static int ffs_func_revmap_ep(struct ffs_function *func, u8 num);
drivers/usb/gadget/function/f_fs.c
121
static int ffs_func_revmap_intf(struct ffs_function *func, u8 intf);
drivers/usb/gadget/function/f_fs.c
2378
static void ffs_func_eps_disable(struct ffs_function *func)
drivers/usb/gadget/function/f_fs.c
2385
spin_lock_irqsave(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
2386
count = func->ffs->eps_count;
drivers/usb/gadget/function/f_fs.c
2387
epfile = func->ffs->epfiles;
drivers/usb/gadget/function/f_fs.c
2388
ep = func->eps;
drivers/usb/gadget/function/f_fs.c
2401
spin_unlock_irqrestore(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
2404
static int ffs_func_eps_enable(struct ffs_function *func)
drivers/usb/gadget/function/f_fs.c
2413
spin_lock_irqsave(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
2414
ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
2415
ep = func->eps;
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
2448
spin_unlock_irqrestore(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
3263
struct ffs_function *func = priv;
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
3292
idx = ffs_ep_addr2idx(func->ffs, ds->bEndpointAddress) - 1;
drivers/usb/gadget/function/f_fs.c
3296
ffs_ep = func->eps + idx;
drivers/usb/gadget/function/f_fs.c
3328
ep = usb_ep_autoconfig(func->gadget, ds);
drivers/usb/gadget/function/f_fs.c
3331
ep->driver_data = func->eps + idx;
drivers/usb/gadget/function/f_fs.c
3339
func->eps_revmap[ds->bEndpointAddress &
drivers/usb/gadget/function/f_fs.c
3345
if (func->ffs->user_flags & FUNCTIONFS_VIRTUAL_ADDR)
drivers/usb/gadget/function/f_fs.c
3362
struct ffs_function *func = priv;
drivers/usb/gadget/function/f_fs.c
3374
if (func->interfaces_nums[idx] < 0) {
drivers/usb/gadget/function/f_fs.c
3375
int id = usb_interface_id(func->conf, &func->function);
drivers/usb/gadget/function/f_fs.c
3378
func->interfaces_nums[idx] = id;
drivers/usb/gadget/function/f_fs.c
3380
newValue = func->interfaces_nums[idx];
drivers/usb/gadget/function/f_fs.c
3385
newValue = func->ffs->stringtabs[0]->strings[*valuep - 1].id;
drivers/usb/gadget/function/f_fs.c
3397
if (!func->eps[idx].ep)
drivers/usb/gadget/function/f_fs.c
3402
descs = func->eps[idx].descs;
drivers/usb/gadget/function/f_fs.c
3417
struct ffs_function *func = priv;
drivers/usb/gadget/function/f_fs.c
3425
t = &func->function.os_desc_table[desc->bFirstInterfaceNumber];
drivers/usb/gadget/function/f_fs.c
3426
t->if_id = func->interfaces_nums[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
3440
t->if_id = func->interfaces_nums[h->interface];
drivers/usb/gadget/function/f_fs.c
3442
ext_prop = func->ffs->ms_os_descs_ext_prop_avail;
drivers/usb/gadget/function/f_fs.c
3443
func->ffs->ms_os_descs_ext_prop_avail += sizeof(*ext_prop);
drivers/usb/gadget/function/f_fs.c
3451
ext_prop_name = func->ffs->ms_os_descs_ext_prop_name_avail;
drivers/usb/gadget/function/f_fs.c
3452
func->ffs->ms_os_descs_ext_prop_name_avail +=
drivers/usb/gadget/function/f_fs.c
3455
ext_prop_data = func->ffs->ms_os_descs_ext_prop_data_avail;
drivers/usb/gadget/function/f_fs.c
3456
func->ffs->ms_os_descs_ext_prop_data_avail +=
drivers/usb/gadget/function/f_fs.c
3494
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3516
func->ffs = ffs_data;
drivers/usb/gadget/function/f_fs.c
3517
func->conf = c;
drivers/usb/gadget/function/f_fs.c
3518
func->gadget = c->cdev->gadget;
drivers/usb/gadget/function/f_fs.c
3528
ret = functionfs_bind(func->ffs, c->cdev);
drivers/usb/gadget/function/f_fs.c
3533
func->function.strings = func->ffs->stringtabs;
drivers/usb/gadget/function/f_fs.c
3541
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3542
struct ffs_data *ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
3544
const int full = !!func->ffs->fs_descs_count;
drivers/usb/gadget/function/f_fs.c
3545
const int high = !!func->ffs->hs_descs_count;
drivers/usb/gadget/function/f_fs.c
3546
const int super = !!func->ffs->ss_descs_count;
drivers/usb/gadget/function/f_fs.c
3603
func->eps = vla_ptr(vlabuf, d, eps);
drivers/usb/gadget/function/f_fs.c
3604
func->interfaces_nums = vla_ptr(vlabuf, d, inums);
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
3616
__ffs_func_bind_do_descs, func);
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
3630
__ffs_func_bind_do_descs, func);
drivers/usb/gadget/function/f_fs.c
3640
func->function.ss_descriptors = func->function.ssp_descriptors =
drivers/usb/gadget/function/f_fs.c
3645
__ffs_func_bind_do_descs, func);
drivers/usb/gadget/function/f_fs.c
3663
__ffs_func_bind_do_nums, func);
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
3684
__ffs_func_bind_do_os_desc, func);
drivers/usb/gadget/function/f_fs.c
3688
func->function.os_desc_n =
drivers/usb/gadget/function/f_fs.c
3704
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3712
functionfs_unbind(func->ffs);
drivers/usb/gadget/function/f_fs.c
3730
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3731
int intf = ffs_func_revmap_intf(func, interface);
drivers/usb/gadget/function/f_fs.c
3733
return (intf < 0) ? intf : func->cur_alt[interface];
drivers/usb/gadget/function/f_fs.c
3739
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3740
struct ffs_data *ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
3747
intf = ffs_func_revmap_intf(func, interface);
drivers/usb/gadget/function/f_fs.c
3751
if (ffs->func)
drivers/usb/gadget/function/f_fs.c
3752
ffs_func_eps_disable(ffs->func);
drivers/usb/gadget/function/f_fs.c
3767
ffs->func = func;
drivers/usb/gadget/function/f_fs.c
3768
ret = ffs_func_eps_enable(func);
drivers/usb/gadget/function/f_fs.c
3771
func->cur_alt[interface] = alt;
drivers/usb/gadget/function/f_fs.c
3778
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3779
struct ffs_data *ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
3782
if (ffs->func)
drivers/usb/gadget/function/f_fs.c
3783
ffs_func_eps_disable(ffs->func);
drivers/usb/gadget/function/f_fs.c
3796
ffs->func = NULL;
drivers/usb/gadget/function/f_fs.c
3804
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3805
struct ffs_data *ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
3830
ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex));
drivers/usb/gadget/function/f_fs.c
3836
ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex));
drivers/usb/gadget/function/f_fs.c
3839
if (func->ffs->user_flags & FUNCTIONFS_VIRTUAL_ADDR)
drivers/usb/gadget/function/f_fs.c
3840
ret = func->ffs->eps_addrmap[ret];
drivers/usb/gadget/function/f_fs.c
3844
if (func->ffs->user_flags & FUNCTIONFS_ALL_CTRL_RECIP)
drivers/usb/gadget/function/f_fs.c
3863
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
3865
if (config0 && !(func->ffs->user_flags & FUNCTIONFS_CONFIG0_SETUP))
drivers/usb/gadget/function/f_fs.c
3870
return (ffs_func_revmap_intf(func,
drivers/usb/gadget/function/f_fs.c
3873
return (ffs_func_revmap_ep(func,
drivers/usb/gadget/function/f_fs.c
3876
return (bool) (func->ffs->user_flags &
drivers/usb/gadget/function/f_fs.c
3894
static int ffs_func_revmap_ep(struct ffs_function *func, u8 num)
drivers/usb/gadget/function/f_fs.c
3896
num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK];
drivers/usb/gadget/function/f_fs.c
3900
static int ffs_func_revmap_intf(struct ffs_function *func, u8 intf)
drivers/usb/gadget/function/f_fs.c
3902
short *nums = func->interfaces_nums;
drivers/usb/gadget/function/f_fs.c
3903
unsigned count = func->ffs->interfaces_count;
drivers/usb/gadget/function/f_fs.c
3907
return nums - func->interfaces_nums;
drivers/usb/gadget/function/f_fs.c
4063
struct ffs_function *func = ffs_func_from_usb(f);
drivers/usb/gadget/function/f_fs.c
4064
struct ffs_data *ffs = func->ffs;
drivers/usb/gadget/function/f_fs.c
4067
struct ffs_ep *ep = func->eps;
drivers/usb/gadget/function/f_fs.c
4071
if (ffs->func == func) {
drivers/usb/gadget/function/f_fs.c
4072
ffs_func_eps_disable(func);
drivers/usb/gadget/function/f_fs.c
4073
ffs->func = NULL;
drivers/usb/gadget/function/f_fs.c
4084
spin_lock_irqsave(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
4091
spin_unlock_irqrestore(&func->ffs->eps_lock, flags);
drivers/usb/gadget/function/f_fs.c
4092
kfree(func->eps);
drivers/usb/gadget/function/f_fs.c
4093
func->eps = NULL;
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
4102
func->interfaces_nums = NULL;
drivers/usb/gadget/function/f_fs.c
4108
struct ffs_function *func;
drivers/usb/gadget/function/f_fs.c
4110
func = kzalloc_obj(*func);
drivers/usb/gadget/function/f_fs.c
4111
if (!func)
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
678
struct ffs_function *func = ffs->func;
drivers/usb/gadget/function/f_fs.c
679
ret = func ? ffs_func_revmap_intf(func, value) : -ENODEV;
drivers/usb/gadget/function/f_hid.c
110
struct usb_function func;
drivers/usb/gadget/function/f_hid.c
118
return container_of(f, struct f_hidg, func);
drivers/usb/gadget/function/f_hid.c
1640
hidg->func.name = "hid";
drivers/usb/gadget/function/f_hid.c
1641
hidg->func.bind = hidg_bind;
drivers/usb/gadget/function/f_hid.c
1642
hidg->func.unbind = hidg_unbind;
drivers/usb/gadget/function/f_hid.c
1643
hidg->func.set_alt = hidg_set_alt;
drivers/usb/gadget/function/f_hid.c
1644
hidg->func.disable = hidg_disable;
drivers/usb/gadget/function/f_hid.c
1645
hidg->func.setup = hidg_setup;
drivers/usb/gadget/function/f_hid.c
1646
hidg->func.free_func = hidg_free;
drivers/usb/gadget/function/f_hid.c
1651
return &hidg->func;
drivers/usb/gadget/function/f_hid.c
441
ERROR(hidg->func.config->cdev,
drivers/usb/gadget/function/f_hid.c
488
ERROR(hidg->func.config->cdev, "hidg->req is NULL\n");
drivers/usb/gadget/function/f_hid.c
495
ERROR(hidg->func.config->cdev,
drivers/usb/gadget/function/f_hid.c
522
ERROR(hidg->func.config->cdev, "in_ep is disabled\n");
drivers/usb/gadget/function/f_hid.c
561
struct usb_composite_dev *cdev = hidg->func.config->cdev;
drivers/usb/gadget/function/f_hid.c
647
struct usb_composite_dev *cdev = hidg->func.config->cdev;
drivers/usb/gadget/function/f_hid.c
772
struct usb_composite_dev *cdev = hidg->func.config->cdev;
drivers/usb/gadget/function/f_hid.c
807
struct usb_composite_dev *cdev = hidg->func.config->cdev;
drivers/usb/gadget/function/f_mass_storage.c
311
const char *func, unsigned line)
drivers/usb/gadget/function/f_mass_storage.c
315
ERROR(common, "common->fsg is NULL in %s at %u\n", func, line);
drivers/usb/gadget/function/f_midi.c
108
return container_of(f, struct f_midi, func);
drivers/usb/gadget/function/f_midi.c
1395
midi->func.name = "gmidi function";
drivers/usb/gadget/function/f_midi.c
1396
midi->func.bind = f_midi_bind;
drivers/usb/gadget/function/f_midi.c
1397
midi->func.unbind = f_midi_unbind;
drivers/usb/gadget/function/f_midi.c
1398
midi->func.set_alt = f_midi_set_alt;
drivers/usb/gadget/function/f_midi.c
1399
midi->func.disable = f_midi_disable;
drivers/usb/gadget/function/f_midi.c
1400
midi->func.free_func = f_midi_free;
drivers/usb/gadget/function/f_midi.c
1402
return &midi->func;
drivers/usb/gadget/function/f_midi.c
274
struct usb_composite_dev *cdev = midi->func.config->cdev;
drivers/usb/gadget/function/f_midi.c
81
struct usb_function func;
drivers/usb/gadget/function/f_midi2.c
116
struct usb_function func;
drivers/usb/gadget/function/f_midi2.c
151
#define func_to_midi2(f) container_of(f, struct f_midi2, func)
drivers/usb/gadget/function/f_midi2.c
2832
midi2->func.name = "midi2_func";
drivers/usb/gadget/function/f_midi2.c
2833
midi2->func.bind = f_midi2_bind;
drivers/usb/gadget/function/f_midi2.c
2834
midi2->func.unbind = f_midi2_unbind;
drivers/usb/gadget/function/f_midi2.c
2835
midi2->func.get_alt = f_midi2_get_alt;
drivers/usb/gadget/function/f_midi2.c
2836
midi2->func.set_alt = f_midi2_set_alt;
drivers/usb/gadget/function/f_midi2.c
2837
midi2->func.setup = f_midi2_setup;
drivers/usb/gadget/function/f_midi2.c
2838
midi2->func.disable = f_midi2_disable;
drivers/usb/gadget/function/f_midi2.c
2839
midi2->func.free_func = f_midi2_free;
drivers/usb/gadget/function/f_midi2.c
2886
return &midi2->func;
drivers/usb/gadget/function/f_ncm.c
1009
struct f_ncm *ncm = func_to_ncm(&port->func);
drivers/usb/gadget/function/f_ncm.c
1170
struct f_ncm *ncm = func_to_ncm(&port->func);
drivers/usb/gadget/function/f_ncm.c
1188
ncm_opts = container_of(port->func.fi, struct f_ncm_opts, func_inst);
drivers/usb/gadget/function/f_ncm.c
1196
INFO(port->func.config->cdev, "Wrong NTH SIGN, skblen %d\n",
drivers/usb/gadget/function/f_ncm.c
1206
INFO(port->func.config->cdev, "Wrong NTB headersize\n");
drivers/usb/gadget/function/f_ncm.c
1214
INFO(port->func.config->cdev, "OUT size exceeded\n");
drivers/usb/gadget/function/f_ncm.c
1230
INFO(port->func.config->cdev, "Bad index: %#X\n",
drivers/usb/gadget/function/f_ncm.c
1241
INFO(port->func.config->cdev, "Wrong NDP SIGN\n");
drivers/usb/gadget/function/f_ncm.c
1258
INFO(port->func.config->cdev, "Bad NDP length: %#X\n",
drivers/usb/gadget/function/f_ncm.c
1277
INFO(port->func.config->cdev,
drivers/usb/gadget/function/f_ncm.c
1289
INFO(port->func.config->cdev,
drivers/usb/gadget/function/f_ncm.c
1303
INFO(port->func.config->cdev,
drivers/usb/gadget/function/f_ncm.c
1314
INFO(port->func.config->cdev,
drivers/usb/gadget/function/f_ncm.c
1340
VDBG(port->func.config->cdev,
drivers/usb/gadget/function/f_ncm.c
1406
struct f_ncm *ncm = func_to_ncm(&geth->func);
drivers/usb/gadget/function/f_ncm.c
1408
DBG(ncm->port.func.config->cdev, "%s\n", __func__);
drivers/usb/gadget/function/f_ncm.c
1418
struct f_ncm *ncm = func_to_ncm(&geth->func);
drivers/usb/gadget/function/f_ncm.c
1420
DBG(ncm->port.func.config->cdev, "%s\n", __func__);
drivers/usb/gadget/function/f_ncm.c
1784
ncm->port.func.name = "cdc_network";
drivers/usb/gadget/function/f_ncm.c
1786
ncm->port.func.bind = ncm_bind;
drivers/usb/gadget/function/f_ncm.c
1787
ncm->port.func.unbind = ncm_unbind;
drivers/usb/gadget/function/f_ncm.c
1788
ncm->port.func.set_alt = ncm_set_alt;
drivers/usb/gadget/function/f_ncm.c
1789
ncm->port.func.get_alt = ncm_get_alt;
drivers/usb/gadget/function/f_ncm.c
1790
ncm->port.func.setup = ncm_setup;
drivers/usb/gadget/function/f_ncm.c
1791
ncm->port.func.disable = ncm_disable;
drivers/usb/gadget/function/f_ncm.c
1792
ncm->port.func.free_func = ncm_free;
drivers/usb/gadget/function/f_ncm.c
1797
return &ncm->port.func;
drivers/usb/gadget/function/f_ncm.c
541
struct usb_composite_dev *cdev = ncm->port.func.config->cdev;
drivers/usb/gadget/function/f_ncm.c
624
struct usb_composite_dev *cdev = ncm->port.func.config->cdev;
drivers/usb/gadget/function/f_ncm.c
83
return container_of(f, struct f_ncm, port.func);
drivers/usb/gadget/function/f_obex.c
262
struct usb_composite_dev *cdev = g->func.config->cdev;
drivers/usb/gadget/function/f_obex.c
265
status = usb_function_activate(&g->func);
drivers/usb/gadget/function/f_obex.c
275
struct usb_composite_dev *cdev = g->func.config->cdev;
drivers/usb/gadget/function/f_obex.c
278
status = usb_function_deactivate(&g->func);
drivers/usb/gadget/function/f_obex.c
39
return container_of(f, struct f_obex, port.func);
drivers/usb/gadget/function/f_obex.c
475
obex->port.func.name = "obex";
drivers/usb/gadget/function/f_obex.c
477
obex->port.func.bind = obex_bind;
drivers/usb/gadget/function/f_obex.c
478
obex->port.func.unbind = obex_unbind;
drivers/usb/gadget/function/f_obex.c
479
obex->port.func.set_alt = obex_set_alt;
drivers/usb/gadget/function/f_obex.c
480
obex->port.func.get_alt = obex_get_alt;
drivers/usb/gadget/function/f_obex.c
481
obex->port.func.disable = obex_disable;
drivers/usb/gadget/function/f_obex.c
482
obex->port.func.free_func = obex_free;
drivers/usb/gadget/function/f_obex.c
483
obex->port.func.bind_deactivated = true;
drivers/usb/gadget/function/f_obex.c
485
return &obex->port.func;
drivers/usb/gadget/function/f_rndis.c
1008
return &rndis->port.func;
drivers/usb/gadget/function/f_rndis.c
379
struct usb_composite_dev *cdev = rndis->port.func.config->cdev;
drivers/usb/gadget/function/f_rndis.c
404
struct usb_composite_dev *cdev = rndis->port.func.config->cdev;
drivers/usb/gadget/function/f_rndis.c
627
struct f_rndis *rndis = func_to_rndis(&geth->func);
drivers/usb/gadget/function/f_rndis.c
628
struct usb_composite_dev *cdev = geth->func.config->cdev;
drivers/usb/gadget/function/f_rndis.c
639
struct f_rndis *rndis = func_to_rndis(&geth->func);
drivers/usb/gadget/function/f_rndis.c
641
DBG(geth->func.config->cdev, "%s\n", __func__);
drivers/usb/gadget/function/f_rndis.c
87
return container_of(f, struct f_rndis, port.func);
drivers/usb/gadget/function/f_rndis.c
992
rndis->port.func.name = "rndis";
drivers/usb/gadget/function/f_rndis.c
994
rndis->port.func.bind = rndis_bind;
drivers/usb/gadget/function/f_rndis.c
995
rndis->port.func.unbind = rndis_unbind;
drivers/usb/gadget/function/f_rndis.c
996
rndis->port.func.set_alt = rndis_set_alt;
drivers/usb/gadget/function/f_rndis.c
997
rndis->port.func.setup = rndis_setup;
drivers/usb/gadget/function/f_rndis.c
998
rndis->port.func.disable = rndis_disable;
drivers/usb/gadget/function/f_rndis.c
999
rndis->port.func.free_func = rndis_free;
drivers/usb/gadget/function/f_serial.c
35
return container_of(f, struct f_gser, port.func);
drivers/usb/gadget/function/f_serial.c
387
gser->port.func.name = "gser";
drivers/usb/gadget/function/f_serial.c
388
gser->port.func.strings = gser_strings;
drivers/usb/gadget/function/f_serial.c
389
gser->port.func.bind = gser_bind;
drivers/usb/gadget/function/f_serial.c
390
gser->port.func.unbind = gser_unbind;
drivers/usb/gadget/function/f_serial.c
391
gser->port.func.set_alt = gser_set_alt;
drivers/usb/gadget/function/f_serial.c
392
gser->port.func.disable = gser_disable;
drivers/usb/gadget/function/f_serial.c
393
gser->port.func.free_func = gser_free;
drivers/usb/gadget/function/f_serial.c
394
gser->port.func.resume = gser_resume;
drivers/usb/gadget/function/f_serial.c
395
gser->port.func.suspend = gser_suspend;
drivers/usb/gadget/function/f_serial.c
396
gser->port.func.get_status = gser_get_status;
drivers/usb/gadget/function/f_serial.c
398
return &gser->port.func;
drivers/usb/gadget/function/f_subset.c
499
geth->port.func.name = "cdc_subset";
drivers/usb/gadget/function/f_subset.c
500
geth->port.func.bind = geth_bind;
drivers/usb/gadget/function/f_subset.c
501
geth->port.func.unbind = geth_unbind;
drivers/usb/gadget/function/f_subset.c
502
geth->port.func.set_alt = geth_set_alt;
drivers/usb/gadget/function/f_subset.c
503
geth->port.func.disable = geth_disable;
drivers/usb/gadget/function/f_subset.c
504
geth->port.func.free_func = geth_free;
drivers/usb/gadget/function/f_subset.c
506
return &geth->port.func;
drivers/usb/gadget/function/f_subset.c
58
return container_of(f, struct f_gether, port.func);
drivers/usb/gadget/function/f_uac1.c
1843
uac1->g_audio.func.name = "uac1_func";
drivers/usb/gadget/function/f_uac1.c
1844
uac1->g_audio.func.bind = f_audio_bind;
drivers/usb/gadget/function/f_uac1.c
1845
uac1->g_audio.func.unbind = f_audio_unbind;
drivers/usb/gadget/function/f_uac1.c
1846
uac1->g_audio.func.set_alt = f_audio_set_alt;
drivers/usb/gadget/function/f_uac1.c
1847
uac1->g_audio.func.get_alt = f_audio_get_alt;
drivers/usb/gadget/function/f_uac1.c
1848
uac1->g_audio.func.setup = f_audio_setup;
drivers/usb/gadget/function/f_uac1.c
1849
uac1->g_audio.func.disable = f_audio_disable;
drivers/usb/gadget/function/f_uac1.c
1850
uac1->g_audio.func.suspend = f_audio_suspend;
drivers/usb/gadget/function/f_uac1.c
1851
uac1->g_audio.func.free_func = f_audio_free;
drivers/usb/gadget/function/f_uac1.c
1853
return &uac1->g_audio.func;
drivers/usb/gadget/function/f_uac1.c
426
struct f_uac1 *uac1 = func_to_uac1(&audio->func);
drivers/usb/gadget/function/f_uac1.c
435
struct f_uac1 *uac1 = func_to_uac1(&audio->func);
drivers/usb/gadget/function/f_uac1.c
53
return container_of(f, struct f_uac1, g_audio.func);
drivers/usb/gadget/function/f_uac1.c
58
return container_of(audio->func.fi, struct f_uac1_opts, func_inst);
drivers/usb/gadget/function/f_uac1.c
682
struct usb_composite_dev *cdev = audio->func.config->cdev;
drivers/usb/gadget/function/f_uac1.c
684
struct f_uac1 *uac1 = func_to_uac1(&audio->func);
drivers/usb/gadget/function/f_uac1.c
738
struct f_uac1 *uac1 = func_to_uac1(&audio->func);
drivers/usb/gadget/function/f_uac1.c
958
config_ep_by_speed(gadget, &audio->func, uac1->int_ep);
drivers/usb/gadget/function/f_uac1_legacy.c
1019
audio->card.func.name = "g_audio";
drivers/usb/gadget/function/f_uac1_legacy.c
1028
audio->card.func.bind = f_audio_bind;
drivers/usb/gadget/function/f_uac1_legacy.c
1029
audio->card.func.unbind = f_audio_unbind;
drivers/usb/gadget/function/f_uac1_legacy.c
1030
audio->card.func.set_alt = f_audio_set_alt;
drivers/usb/gadget/function/f_uac1_legacy.c
1031
audio->card.func.get_alt = f_audio_get_alt;
drivers/usb/gadget/function/f_uac1_legacy.c
1032
audio->card.func.setup = f_audio_setup;
drivers/usb/gadget/function/f_uac1_legacy.c
1033
audio->card.func.disable = f_audio_disable;
drivers/usb/gadget/function/f_uac1_legacy.c
1034
audio->card.func.free_func = f_audio_free;
drivers/usb/gadget/function/f_uac1_legacy.c
1040
return &audio->card.func;
drivers/usb/gadget/function/f_uac1_legacy.c
296
return container_of(f, struct f_audio, card.func);
drivers/usb/gadget/function/f_uac1_legacy.c
324
struct usb_composite_dev *cdev = audio->card.func.config->cdev;
drivers/usb/gadget/function/f_uac1_legacy.c
330
opts = container_of(audio->card.func.fi, struct f_uac1_legacy_opts,
drivers/usb/gadget/function/f_uac2.c
1361
struct f_uac2 *uac2 = func_to_uac2(&agdev->func);
drivers/usb/gadget/function/f_uac2.c
1371
struct f_uac2 *uac2 = func_to_uac2(&agdev->func);
drivers/usb/gadget/function/f_uac2.c
1453
config_ep_by_speed(gadget, &agdev->func, uac2->int_ep);
drivers/usb/gadget/function/f_uac2.c
1726
struct usb_composite_dev *cdev = agdev->func.config->cdev;
drivers/usb/gadget/function/f_uac2.c
1728
struct f_uac2 *uac2 = func_to_uac2(&agdev->func);
drivers/usb/gadget/function/f_uac2.c
2290
uac2->g_audio.func.name = "uac2_func";
drivers/usb/gadget/function/f_uac2.c
2291
uac2->g_audio.func.bind = afunc_bind;
drivers/usb/gadget/function/f_uac2.c
2292
uac2->g_audio.func.unbind = afunc_unbind;
drivers/usb/gadget/function/f_uac2.c
2293
uac2->g_audio.func.set_alt = afunc_set_alt;
drivers/usb/gadget/function/f_uac2.c
2294
uac2->g_audio.func.get_alt = afunc_get_alt;
drivers/usb/gadget/function/f_uac2.c
2295
uac2->g_audio.func.disable = afunc_disable;
drivers/usb/gadget/function/f_uac2.c
2296
uac2->g_audio.func.suspend = afunc_suspend;
drivers/usb/gadget/function/f_uac2.c
2297
uac2->g_audio.func.setup = afunc_setup;
drivers/usb/gadget/function/f_uac2.c
2298
uac2->g_audio.func.free_func = afunc_free;
drivers/usb/gadget/function/f_uac2.c
2300
return &uac2->g_audio.func;
drivers/usb/gadget/function/f_uac2.c
79
return container_of(f, struct f_uac2, g_audio.func);
drivers/usb/gadget/function/f_uac2.c
85
return container_of(agdev->func.fi, struct f_uac2_opts, func_inst);
drivers/usb/gadget/function/f_uvc.c
1141
uvc->func.name = "uvc";
drivers/usb/gadget/function/f_uvc.c
1142
uvc->func.bind = uvc_function_bind;
drivers/usb/gadget/function/f_uvc.c
1143
uvc->func.unbind = uvc_function_unbind;
drivers/usb/gadget/function/f_uvc.c
1144
uvc->func.get_alt = uvc_function_get_alt;
drivers/usb/gadget/function/f_uvc.c
1145
uvc->func.set_alt = uvc_function_set_alt;
drivers/usb/gadget/function/f_uvc.c
1146
uvc->func.disable = uvc_function_disable;
drivers/usb/gadget/function/f_uvc.c
1147
uvc->func.setup = uvc_function_setup;
drivers/usb/gadget/function/f_uvc.c
1148
uvc->func.free_func = uvc_free;
drivers/usb/gadget/function/f_uvc.c
1149
uvc->func.bind_deactivated = true;
drivers/usb/gadget/function/f_uvc.c
1151
return &uvc->func;
drivers/usb/gadget/function/f_uvc.c
268
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/f_uvc.c
360
&(uvc->func), uvc->video.ep);
drivers/usb/gadget/function/f_uvc.c
407
if ((ret = usb_function_activate(&uvc->func)) < 0)
drivers/usb/gadget/function/f_uvc.c
408
uvcg_info(&uvc->func, "UVC connect failed with %d\n", ret);
drivers/usb/gadget/function/f_uvc.c
422
if ((ret = usb_function_deactivate(&uvc->func)) < 0)
drivers/usb/gadget/function/f_uvc.c
423
uvcg_info(&uvc->func, "UVC disconnect failed with %d\n", ret);
drivers/usb/gadget/function/f_uvc.c
435
return sprintf(buf, "%s\n", uvc->func.fi->group.cg_item.ci_name);
drivers/usb/gadget/function/f_uvc.c
452
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/storage_common.h
21
#define _LMSG(func, lun, fmt, args...) \
drivers/usb/gadget/function/storage_common.h
24
func("%s/%s: " fmt, *(lun)->name_pfx, \
drivers/usb/gadget/function/storage_common.h
27
func("%s: " fmt, (lun)->name, ## args); \
drivers/usb/gadget/function/u_audio.c
600
ret = config_ep_by_speed(gadget, &audio_dev->func, ep);
drivers/usb/gadget/function/u_audio.c
641
ret = config_ep_by_speed(gadget, &audio_dev->func, ep_fback);
drivers/usb/gadget/function/u_audio.c
714
ret = config_ep_by_speed(gadget, &audio_dev->func, ep);
drivers/usb/gadget/function/u_audio.h
61
struct usb_function func;
drivers/usb/gadget/function/u_audio.h
86
return container_of(f, struct g_audio, func);
drivers/usb/gadget/function/u_ether.c
446
struct usb_function *func = &port->func;
drivers/usb/gadget/function/u_ether.c
447
struct usb_gadget *gadget = func->config->cdev->gadget;
drivers/usb/gadget/function/u_ether.c
449
if (func->func_suspended)
drivers/usb/gadget/function/u_ether.c
450
ret = usb_func_wakeup(func);
drivers/usb/gadget/function/u_ether.h
53
struct usb_function func;
drivers/usb/gadget/function/u_fs.h
218
struct ffs_function *func;
drivers/usb/gadget/function/u_serial.c
593
struct usb_function *func = &gser->func;
drivers/usb/gadget/function/u_serial.c
594
struct usb_gadget *gadget = func->config->cdev->gadget;
drivers/usb/gadget/function/u_serial.c
596
if (func->func_suspended)
drivers/usb/gadget/function/u_serial.c
597
return usb_func_wakeup(func);
drivers/usb/gadget/function/u_serial.h
39
struct usb_function func;
drivers/usb/gadget/function/u_uac1_legacy.c
203
opts = container_of(card->func.fi, struct f_uac1_legacy_opts,
drivers/usb/gadget/function/u_uac1_legacy.h
45
struct usb_function func;
drivers/usb/gadget/function/uvc.h
156
struct usb_function func;
drivers/usb/gadget/function/uvc.h
191
return container_of(f, struct uvc_device, func);
drivers/usb/gadget/function/uvc_queue.c
138
struct usb_composite_dev *cdev = video->uvc->func.config->cdev;
drivers/usb/gadget/function/uvc_v4l2.c
184
uvcg_dbg(&video->uvc->func, "Unsupported size %ux%u\n", rw, rh);
drivers/usb/gadget/function/uvc_v4l2.c
196
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/uvc_v4l2.c
219
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/uvc_v4l2.c
262
uvcg_dbg(&uvc->func, "Trying format 0x%08x (%c%c%c%c): %ux%u\n",
drivers/usb/gadget/function/uvc_v4l2.c
343
uvcg_dbg(&uvc->func, "Getting frame interval of %u/%u (%u)\n",
drivers/usb/gadget/function/uvc_v4l2.c
369
uvcg_dbg(&uvc->func, "Setting frame interval to %u/%u (%u)\n",
drivers/usb/gadget/function/uvc_video.c
262
uvcg_err(&video->uvc->func, "Failed to queue request (%d).\n",
drivers/usb/gadget/function/uvc_video.c
33
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/uvc_video.c
362
uvcg_dbg(&video->uvc->func, "VS request missed xfer.\n");
drivers/usb/gadget/function/uvc_video.c
368
uvcg_dbg(&video->uvc->func, "VS request cancelled.\n");
drivers/usb/gadget/function/uvc_video.c
373
uvcg_warn(&video->uvc->func,
drivers/usb/gadget/function/uvc_video.c
501
struct usb_composite_dev *cdev = uvc->func.config->cdev;
drivers/usb/gadget/function/uvc_video.c
694
uvcg_info(&video->uvc->func,
drivers/usb/gadget/function/uvc_video.c
768
uvcg_info(&video->uvc->func,
drivers/usb/gadget/function/uvc_video.c
824
uvcg_err(&video->uvc->func, "failed to create UVCG kworker\n");
drivers/usb/gadget/legacy/hid.c
152
hid_opts->subclass = iter_n->func->subclass;
drivers/usb/gadget/legacy/hid.c
153
hid_opts->protocol = iter_n->func->protocol;
drivers/usb/gadget/legacy/hid.c
154
hid_opts->report_length = iter_n->func->report_length;
drivers/usb/gadget/legacy/hid.c
155
hid_opts->report_desc_length = iter_n->func->report_desc_length;
drivers/usb/gadget/legacy/hid.c
156
hid_opts->report_desc = iter_n->func->report_desc;
drivers/usb/gadget/legacy/hid.c
222
struct hidg_func_descriptor *func = dev_get_platdata(&pdev->dev);
drivers/usb/gadget/legacy/hid.c
225
if (!func) {
drivers/usb/gadget/legacy/hid.c
234
entry->func = func;
drivers/usb/gadget/legacy/hid.c
34
struct hidg_func_descriptor *func;
drivers/usb/host/xhci.c
1504
const char *func) {
drivers/usb/host/xhci.c
1509
pr_debug("xHCI %s called with invalid args\n", func);
drivers/usb/host/xhci.c
1513
pr_debug("xHCI %s called for root hub\n", func);
drivers/usb/host/xhci.c
1521
func);
drivers/usb/host/xhci.c
1528
"virt_dev does not match\n", func);
drivers/usb/renesas_usbhs/common.c
53
#define usbhs_platform_call(priv, func, args...)\
drivers/usb/renesas_usbhs/common.c
55
!((priv)->pfunc->func) ? 0 : \
drivers/usb/renesas_usbhs/common.c
56
(priv)->pfunc->func(args))
drivers/usb/renesas_usbhs/fifo.c
161
int (*func)(struct usbhs_pkt *pkt, int *is_done);
drivers/usb/renesas_usbhs/fifo.c
177
func = pkt->handler->prepare;
drivers/usb/renesas_usbhs/fifo.c
180
func = pkt->handler->try_run;
drivers/usb/renesas_usbhs/fifo.c
183
func = pkt->handler->dma_done;
drivers/usb/renesas_usbhs/fifo.c
190
if (likely(func))
drivers/usb/renesas_usbhs/fifo.c
191
ret = func(pkt, &is_done);
drivers/usb/renesas_usbhs/mod.h
130
#define usbhs_mod_call(priv, func, param...) \
drivers/usb/renesas_usbhs/mod.h
135
!mod->func ? 0 : \
drivers/usb/renesas_usbhs/mod.h
136
mod->func(param); \
drivers/usb/renesas_usbhs/mod.h
140
#define usbhs_mod_info_call(priv, func, param...) \
drivers/usb/renesas_usbhs/mod.h
144
!info->func ? 0 : \
drivers/usb/renesas_usbhs/mod.h
145
info->func(param); \
drivers/usb/renesas_usbhs/mod_gadget.c
412
int (*func)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
drivers/usb/renesas_usbhs/mod_gadget.c
426
func = handler->device;
drivers/usb/renesas_usbhs/mod_gadget.c
430
func = handler->interface;
drivers/usb/renesas_usbhs/mod_gadget.c
434
func = handler->endpoint;
drivers/usb/renesas_usbhs/mod_gadget.c
438
func = NULL;
drivers/usb/renesas_usbhs/mod_gadget.c
442
if (func) {
drivers/usb/renesas_usbhs/mod_gadget.c
444
ret = func(priv, uep, ctrl);
drivers/usb/typec/tcpm/wcove.c
180
enum wcove_typec_func func, int param)
drivers/usb/typec/tcpm/wcove.c
189
obj = acpi_evaluate_dsm(ACPI_HANDLE(wcove->dev), &wcove->guid, 1, func,
drivers/usb/typec/ucsi/ucsi_acpi.c
29
static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func)
drivers/usb/typec/ucsi/ucsi_acpi.c
33
obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->guid, 1, func,
drivers/usb/typec/ucsi/ucsi_acpi.c
37
__func__, func);
drivers/vfio/pci/vfio_pci_intrs.c
829
int (*func)(struct vfio_pci_core_device *vdev, unsigned index,
drivers/vfio/pci/vfio_pci_intrs.c
837
func = vfio_pci_set_intx_mask;
drivers/vfio/pci/vfio_pci_intrs.c
840
func = vfio_pci_set_intx_unmask;
drivers/vfio/pci/vfio_pci_intrs.c
843
func = vfio_pci_set_intx_trigger;
drivers/vfio/pci/vfio_pci_intrs.c
855
func = vfio_pci_set_msi_trigger;
drivers/vfio/pci/vfio_pci_intrs.c
863
func = vfio_pci_set_err_trigger;
drivers/vfio/pci/vfio_pci_intrs.c
870
func = vfio_pci_set_req_trigger;
drivers/vfio/pci/vfio_pci_intrs.c
876
if (!func)
drivers/vfio/pci/vfio_pci_intrs.c
879
return func(vdev, index, start, count, flags, data);
drivers/vfio/platform/vfio_platform_irq.c
257
int (*func)(struct vfio_platform_device *vdev, unsigned index,
drivers/vfio/platform/vfio_platform_irq.c
271
func = vfio_platform_set_irq_mask;
drivers/vfio/platform/vfio_platform_irq.c
274
func = vfio_platform_set_irq_unmask;
drivers/vfio/platform/vfio_platform_irq.c
277
func = vfio_platform_set_irq_trigger;
drivers/vfio/platform/vfio_platform_irq.c
281
if (!func)
drivers/vfio/platform/vfio_platform_irq.c
284
return func(vdev, index, start, count, flags, data);
drivers/vfio/vfio_iommu_spapr_tce.c
821
return eeh_pe_inject_err(pe, op.err.type, op.err.func,
drivers/video/fbdev/grvga.c
146
u32 func = 0;
drivers/video/fbdev/grvga.c
165
func = 1;
drivers/video/fbdev/grvga.c
169
func = 2;
drivers/video/fbdev/grvga.c
174
func = 3;
drivers/video/fbdev/grvga.c
180
__raw_writel((par->clk_sel << 6) | (func << 4) | 1,
drivers/video/fbdev/omap2/omapfb/dss/core.c
94
void (*func)(struct seq_file *) = s->private;
drivers/video/fbdev/omap2/omapfb/dss/core.c
95
func(s);
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3580
dispc_div_calc_func func, void *data)
drivers/video/fbdev/omap2/omapfb/dss/dispc.c
3630
if (func(lckd, pckd, lck, pck, data))
drivers/video/fbdev/omap2/omapfb/dss/dss.c
512
dss_div_calc_func func, void *data)
drivers/video/fbdev/omap2/omapfb/dss/dss.c
532
return func(fck, data);
drivers/video/fbdev/omap2/omapfb/dss/dss.c
548
if (func(fck, data))
drivers/video/fbdev/omap2/omapfb/dss/dss.h
297
dss_div_calc_func func, void *data);
drivers/video/fbdev/omap2/omapfb/dss/dss.h
375
dispc_div_calc_func func, void *data);
drivers/video/fbdev/omap2/omapfb/dss/dss.h
469
dss_hsdiv_calc_func func, void *data);
drivers/video/fbdev/omap2/omapfb/dss/dss.h
472
dss_pll_calc_func func, void *data);
drivers/video/fbdev/omap2/omapfb/dss/pll.c
123
dss_hsdiv_calc_func func, void *data)
drivers/video/fbdev/omap2/omapfb/dss/pll.c
139
if (func(m, out, data))
drivers/video/fbdev/omap2/omapfb/dss/pll.c
148
dss_pll_calc_func func, void *data)
drivers/video/fbdev/omap2/omapfb/dss/pll.c
179
if (func(n, m, fint, clkdco, data))
drivers/video/sticore.c
1181
int sti_call(const struct sti_struct *sti, unsigned long func,
drivers/video/sticore.c
1198
ret = pdc_sti_call(func, _flags, _inptr, _outptr, _glob_cfg,
drivers/virt/acrn/ioreq.c
340
req->reqs.pci_request.func =
drivers/watchdog/diag288_wdt.c
110
unsigned int func;
drivers/watchdog/diag288_wdt.c
118
func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL)
drivers/watchdog/diag288_wdt.c
121
ret = diag288_str(func, dev->timeout, wdt_cmd);
drivers/watchdog/diag288_wdt.c
61
static int diag288(unsigned int func, unsigned int timeout,
drivers/watchdog/diag288_wdt.c
65
return __diag288(func, timeout, action, len);
drivers/watchdog/diag288_wdt.c
68
static int diag288_str(unsigned int func, unsigned int timeout, char *cmd)
drivers/watchdog/diag288_wdt.c
78
return diag288(func, timeout, virt_to_phys(cmd_buf), len);
drivers/watchdog/diag288_wdt.c
84
unsigned int func;
drivers/watchdog/diag288_wdt.c
87
func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL)
drivers/watchdog/diag288_wdt.c
89
ret = diag288_str(func, dev->timeout, wdt_cmd);
drivers/xen/acpi.c
133
void xen_acpi_register_get_gsi_func(get_gsi_from_sbdf_t func)
drivers/xen/acpi.c
136
get_gsi_from_sbdf = func;
drivers/xen/grant-table.c
1155
const char *func)
drivers/xen/grant-table.c
1166
pr_err("%s: %s eagain grant\n", func, current->comm);
drivers/xen/xen-pciback/pci_stub.c
1048
int *slot, int *func)
drivers/xen/xen-pciback/pci_stub.c
1052
switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func,
drivers/xen/xen-pciback/pci_stub.c
1055
*func = -1;
drivers/xen/xen-pciback/pci_stub.c
1059
*slot = *func = -1;
drivers/xen/xen-pciback/pci_stub.c
1068
switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) {
drivers/xen/xen-pciback/pci_stub.c
1070
*func = -1;
drivers/xen/xen-pciback/pci_stub.c
1074
*slot = *func = -1;
drivers/xen/xen-pciback/pci_stub.c
1085
*slot, int *func, int *reg, int *size, int *mask)
drivers/xen/xen-pciback/pci_stub.c
1089
sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func,
drivers/xen/xen-pciback/pci_stub.c
1096
sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size,
drivers/xen/xen-pciback/pci_stub.c
1104
static int pcistub_device_id_add(int domain, int bus, int slot, int func)
drivers/xen/xen-pciback/pci_stub.c
1107
int rc = 0, devfn = PCI_DEVFN(slot, func);
drivers/xen/xen-pciback/pci_stub.c
1111
rc = pcistub_device_id_add(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1115
if (func < 0) {
drivers/xen/xen-pciback/pci_stub.c
1116
for (func = 0; !rc && func < 8; ++func)
drivers/xen/xen-pciback/pci_stub.c
1117
rc = pcistub_device_id_add(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1129
|| PCI_FUNC(devfn) != func)
drivers/xen/xen-pciback/pci_stub.c
1137
domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1144
static int pcistub_device_id_remove(int domain, int bus, int slot, int func)
drivers/xen/xen-pciback/pci_stub.c
1155
&& (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) {
drivers/xen/xen-pciback/pci_stub.c
1165
domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1173
static int pcistub_reg_add(int domain, int bus, int slot, int func,
drivers/xen/xen-pciback/pci_stub.c
1185
psdev = pcistub_device_find(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1218
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1221
err = str_to_slot(buf, &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/pci_stub.c
1225
err = pcistub_device_id_add(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1237
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1240
err = str_to_slot(buf, &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/pci_stub.c
1244
err = pcistub_device_id_remove(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1310
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1313
err = str_to_slot(buf, &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/pci_stub.c
1317
psdev = pcistub_device_find(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1348
int domain, bus, slot, func, reg, size, mask;
drivers/xen/xen-pciback/pci_stub.c
1351
err = str_to_quirk(buf, &domain, &bus, &slot, &func, &reg, &size,
drivers/xen/xen-pciback/pci_stub.c
1356
err = pcistub_reg_add(domain, bus, slot, func, reg, size, mask);
drivers/xen/xen-pciback/pci_stub.c
1412
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1417
err = str_to_slot(buf, &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/pci_stub.c
1421
psdev = pcistub_device_find(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1476
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1481
err = str_to_slot(buf, &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/pci_stub.c
1485
psdev = pcistub_device_find(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
1554
int domain, bus, slot, func;
drivers/xen/xen-pciback/pci_stub.c
1563
&domain, &bus, &slot, &func, &parsed);
drivers/xen/xen-pciback/pci_stub.c
1566
func = -1;
drivers/xen/xen-pciback/pci_stub.c
1572
slot = func = -1;
drivers/xen/xen-pciback/pci_stub.c
1583
&bus, &slot, &func, &parsed);
drivers/xen/xen-pciback/pci_stub.c
1586
func = -1;
drivers/xen/xen-pciback/pci_stub.c
1592
slot = func = -1;
drivers/xen/xen-pciback/pci_stub.c
1603
err = pcistub_device_id_add(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
177
int slot, int func)
drivers/xen/xen-pciback/pci_stub.c
186
&& func == PCI_FUNC(psdev->dev->devfn)) {
drivers/xen/xen-pciback/pci_stub.c
195
int slot, int func)
drivers/xen/xen-pciback/pci_stub.c
202
psdev = pcistub_device_find_locked(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
236
int func = PCI_FUNC(sbdf);
drivers/xen/xen-pciback/pci_stub.c
238
psdev = pcistub_device_find(domain, bus, slot, func);
drivers/xen/xen-pciback/pci_stub.c
249
int slot, int func)
drivers/xen/xen-pciback/pci_stub.c
257
psdev = pcistub_device_find_locked(domain, bus, slot, func);
drivers/xen/xen-pciback/pciback.h
69
int slot, int func);
drivers/xen/xen-pciback/vpci.c
102
if (!dev->is_virtfn || func) {
drivers/xen/xen-pciback/vpci.c
114
slot, func);
drivers/xen/xen-pciback/vpci.c
142
err = publish_cb(pdev, 0, 0, PCI_DEVFN(slot, func), devid);
drivers/xen/xen-pciback/vpci.c
73
int err = 0, slot, func = PCI_FUNC(dev->devfn);
drivers/xen/xen-pciback/xenbus.c
227
int domain, int bus, int slot, int func,
drivers/xen/xen-pciback/xenbus.c
234
domain, bus, slot, func);
drivers/xen/xen-pciback/xenbus.c
236
dev = pcistub_get_pci_dev_by_slot(pdev, domain, bus, slot, func);
drivers/xen/xen-pciback/xenbus.c
243
domain, bus, slot, func);
drivers/xen/xen-pciback/xenbus.c
274
int domain, int bus, int slot, int func)
drivers/xen/xen-pciback/xenbus.c
280
domain, bus, slot, func);
drivers/xen/xen-pciback/xenbus.c
282
dev = xen_pcibk_get_pci_dev(pdev, domain, bus, PCI_DEVFN(slot, func));
drivers/xen/xen-pciback/xenbus.c
287
domain, bus, slot, func);
drivers/xen/xen-pciback/xenbus.c
367
int domain, bus, slot, func;
drivers/xen/xen-pciback/xenbus.c
416
&domain, &bus, &slot, &func);
drivers/xen/xen-pciback/xenbus.c
432
func, i);
drivers/xen/xen-pciback/xenbus.c
470
&domain, &bus, &slot, &func);
drivers/xen/xen-pciback/xenbus.c
486
func);
drivers/xen/xen-pciback/xenbus.c
565
int domain, bus, slot, func;
drivers/xen/xen-pciback/xenbus.c
602
"%x:%x:%x.%x", &domain, &bus, &slot, &func);
drivers/xen/xen-pciback/xenbus.c
616
err = xen_pcibk_export_device(pdev, domain, bus, slot, func, i);
fs/afs/rxrpc.c
826
call->work.func = call->type->work;
fs/afs/write.c
174
subreq->work.func = afs_issue_write_worker;
fs/bpf_fs_kfuncs.c
359
BTF_ID_FLAGS(func, bpf_get_task_exe_file, KF_ACQUIRE | KF_RET_NULL)
fs/bpf_fs_kfuncs.c
360
BTF_ID_FLAGS(func, bpf_put_file, KF_RELEASE)
fs/bpf_fs_kfuncs.c
361
BTF_ID_FLAGS(func, bpf_path_d_path)
fs/bpf_fs_kfuncs.c
362
BTF_ID_FLAGS(func, bpf_get_dentry_xattr, KF_SLEEPABLE)
fs/bpf_fs_kfuncs.c
363
BTF_ID_FLAGS(func, bpf_get_file_xattr, KF_SLEEPABLE)
fs/bpf_fs_kfuncs.c
364
BTF_ID_FLAGS(func, bpf_set_dentry_xattr, KF_SLEEPABLE)
fs/bpf_fs_kfuncs.c
365
BTF_ID_FLAGS(func, bpf_remove_dentry_xattr, KF_SLEEPABLE)
fs/bpf_fs_kfuncs.c
387
BTF_ID(func, bpf_lsm_inode_post_removexattr)
fs/bpf_fs_kfuncs.c
388
BTF_ID(func, bpf_lsm_inode_post_setattr)
fs/bpf_fs_kfuncs.c
389
BTF_ID(func, bpf_lsm_inode_post_setxattr)
fs/bpf_fs_kfuncs.c
390
BTF_ID(func, bpf_lsm_inode_removexattr)
fs/bpf_fs_kfuncs.c
391
BTF_ID(func, bpf_lsm_inode_rmdir)
fs/bpf_fs_kfuncs.c
392
BTF_ID(func, bpf_lsm_inode_setattr)
fs/bpf_fs_kfuncs.c
393
BTF_ID(func, bpf_lsm_inode_setxattr)
fs/bpf_fs_kfuncs.c
394
BTF_ID(func, bpf_lsm_inode_unlink)
fs/bpf_fs_kfuncs.c
396
BTF_ID(func, bpf_lsm_path_unlink)
fs/bpf_fs_kfuncs.c
397
BTF_ID(func, bpf_lsm_path_rmdir)
fs/btrfs/async-thread.c
312
work->func(work);
fs/btrfs/async-thread.c
329
void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func,
fs/btrfs/async-thread.c
332
work->func = func;
fs/btrfs/async-thread.h
22
btrfs_func_t func;
fs/btrfs/async-thread.h
40
void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func,
fs/btrfs/zoned.c
2733
if (WARN_ON(bg->zone_finish_work.func == btrfs_zone_finish_endio_workfn)) {
fs/dax.c
220
ewait.wait.func = wake_exceptional_entry_func;
fs/dax.c
253
ewait.wait.func = wake_exceptional_entry_func;
fs/dax.c
284
ewait.wait.func = wake_exceptional_entry_func;
fs/efivarfs/internal.h
39
int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *),
fs/efivarfs/vars.c
375
int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *),
fs/efivarfs/vars.c
427
err = func(variable_name, vendor_guid,
fs/eventpoll.c
2003
wait.func = ep_autoremove_wake_function;
fs/ext4/ext4.h
3254
#define ext4_error_inode(inode, func, line, block, fmt, ...) \
fs/ext4/ext4.h
3255
__ext4_error_inode(inode, func, line, block, 0, fmt, ##__VA_ARGS__)
fs/ext4/ext4.h
3256
#define ext4_error_inode_err(inode, func, line, block, err, fmt, ...) \
fs/ext4/ext4.h
3257
__ext4_error_inode((inode), (func), (line), (block), \
fs/ext4/ext4.h
3259
#define ext4_error_file(file, func, line, block, fmt, ...) \
fs/ext4/ext4.h
3260
__ext4_error_file(file, func, line, block, fmt, ##__VA_ARGS__)
fs/ext4/ext4.h
3281
#define ext4_error_inode(inode, func, line, block, fmt, ...) \
fs/ext4/ext4.h
3286
#define ext4_error_inode_err(inode, func, line, block, err, fmt, ...) \
fs/ext4/ext4.h
3291
#define ext4_error_file(file, func, line, block, fmt, ...) \
fs/ext4/ext4_jbd2.h
141
const char *func, unsigned int line);
fs/ext4/inode.c
391
static int __check_block_validity(struct inode *inode, const char *func,
fs/ext4/inode.c
401
ext4_error_inode(inode, func, line, map->m_pblk,
fs/ext4/inode.c
6450
const char *func, unsigned int line)
fs/ext4/inode.c
6469
ext4_error_inode_err(inode, func, line, 0, err,
fs/ext4/ioctl.c
109
ext4_update_sb_callback func, const void *arg)
fs/ext4/ioctl.c
156
func(EXT4_SB(sb), es, arg);
fs/ext4/ioctl.c
189
ext4_update_sb_callback func,
fs/ext4/ioctl.c
222
err = ext4_update_primary_sb(sb, handle, func, arg);
fs/ext4/ioctl.c
244
ret = ext4_update_backup_sb(sb, handle, grp, func, arg);
fs/ext4/ioctl.c
60
ext4_update_sb_callback func,
fs/ext4/ioctl.c
78
func(sbi, es, arg);
fs/ext4/namei.c
127
const char *func,
fs/ext4/namei.c
135
ext4_error_inode(inode, func, line, block,
fs/ext4/namei.c
146
__ext4_warning(inode->i_sb, func, line,
fs/ext4/namei.c
156
ext4_error_inode(inode, func, line, block,
fs/ext4/namei.c
174
ext4_error_inode(inode, func, line, block,
fs/ext4/namei.c
193
ext4_error_inode_err(inode, func, line, block,
fs/ext4/namei.c
205
ext4_error_inode_err(inode, func, line, block,
fs/ext4/namei.c
359
static void __warn_no_space_for_csum(struct inode *inode, const char *func,
fs/ext4/namei.c
362
__ext4_warning_inode(inode, func, line,
fs/ext4/super.c
643
const char *func, unsigned int line)
fs/ext4/super.c
657
sbi->s_last_error_func = func;
fs/ext4/super.c
664
sbi->s_first_error_func = func;
fs/ext4/super.c
692
const char *func, unsigned int line)
fs/ext4/super.c
705
save_error_info(sb, error, ino, block, func, line);
fs/f2fs/f2fs.h
2082
const char *func, const char *parent_func)
fs/f2fs/f2fs.h
2097
f2fs_fault_name[type], func, parent_func);
fs/fat/dir.c
721
#define FAT_IOCTL_FILLDIR_FUNC(func, dirent_type) \
fs/fat/dir.c
722
static bool func(struct dir_context *ctx, const char *name, int name_len, \
fs/gfs2/glock.c
1040
wait.wait.func = glock_wake_function;
fs/gfs2/trace_gfs2.h
597
TP_PROTO(const struct gfs2_blkreserv *rs, u8 func),
fs/gfs2/trace_gfs2.h
599
TP_ARGS(rs, func),
fs/gfs2/trace_gfs2.h
611
__field( u8, func )
fs/gfs2/trace_gfs2.h
625
__entry->func = func;
fs/gfs2/trace_gfs2.h
636
rs_func_name(__entry->func),
fs/jbd2/journal.c
101
void __jbd2_debug(int level, const char *file, const char *func,
fs/jbd2/journal.c
112
printk(KERN_DEBUG "%s: (%s, %u): %pV", file, func, line, &vaf);
fs/lockd/svc4proc.c
289
__be32 (*func)(struct svc_rqst *, struct nlm_res *))
fs/lockd/svc4proc.c
307
stat = func(rqstp, &call->a_res);
fs/lockd/svcproc.c
320
__be32 (*func)(struct svc_rqst *, struct nlm_res *))
fs/lockd/svcproc.c
338
stat = func(rqstp, &call->a_res);
fs/locks.c
1017
void (*func)(void);
fs/locks.c
1033
func = cfl->fl_lmops->lm_expire_lock;
fs/locks.c
1036
(*func)();
fs/locks.c
1218
void (*func)(void);
fs/locks.c
1252
func = fl->fl_lmops->lm_expire_lock;
fs/locks.c
1256
(*func)();
fs/nfs/nfs4proc.c
7673
waiter.wait.func = nfs4_wake_lock_waiter;
fs/nfsd/vfs.c
2401
nfsd_filldir_t func, struct readdir_cd *cdp,
fs/nfsd/vfs.c
2441
if (func(cdp, de->name, de->namlen, de->offset,
fs/nfsd/vfs.c
2490
struct readdir_cd *cdp, nfsd_filldir_t func)
fs/nfsd/vfs.c
2512
err = nfsd_buffered_readdir(file, fhp, func, cdp, offsetp);
fs/nilfs2/segment.c
2294
wrq->wq.func(&wrq->wq,
fs/ocfs2/alloc.c
1794
path_insert_t *func, void *data)
fs/ocfs2/alloc.c
1872
if (func)
fs/ocfs2/alloc.c
1873
func(data, bh);
fs/ocfs2/cluster/heartbeat.c
2244
o2hb_cb_func *func,
fs/ocfs2/cluster/heartbeat.c
2249
hc->hc_func = func;
fs/ocfs2/cluster/heartbeat.h
54
o2hb_cb_func *func,
fs/ocfs2/cluster/masklog.c
51
void __mlog_printk(const u64 *mask, const char *func, int line,
fs/ocfs2/cluster/masklog.c
79
raw_smp_processor_id(), func, line, prefix, &vaf);
fs/ocfs2/cluster/masklog.h
150
void __mlog_printk(const u64 *m, const char *func, int line,
fs/ocfs2/cluster/tcp.c
800
o2net_msg_handler_func *func, void *data,
fs/ocfs2/cluster/tcp.c
816
mlog(0, "no message type provided: %u, %p\n", msg_type, func);
fs/ocfs2/cluster/tcp.c
821
if (!func) {
fs/ocfs2/cluster/tcp.c
823
msg_type, func);
fs/ocfs2/cluster/tcp.c
834
nmh->nh_func = func;
fs/ocfs2/cluster/tcp.c
854
func, msg_type, key);
fs/ocfs2/cluster/tcp.h
88
o2net_msg_handler_func *func, void *data,
fs/ocfs2/dlm/dlmcommon.h
223
dlm_workfunc_t *func;
fs/ocfs2/dlm/dlmcommon.h
239
i->func = f;
fs/ocfs2/dlm/dlmrecovery.c
147
workfunc = item->func;
fs/ocfs2/refcounttree.c
3281
if (context->post_refcount && context->post_refcount->func) {
fs/ocfs2/refcounttree.c
3282
ret = context->post_refcount->func(context->inode, handle,
fs/ocfs2/refcounttree.c
3709
if (post && post->func) {
fs/ocfs2/refcounttree.c
3710
ret = post->func(inode, handle, post->para);
fs/ocfs2/refcounttree.h
61
ocfs2_post_refcount_func *func; /* real function. */
fs/ocfs2/xattr.c
4003
xattr_bucket_func *func,
fs/ocfs2/xattr.c
4037
if (func) {
fs/ocfs2/xattr.c
4038
ret = func(inode, bucket, para);
fs/ocfs2/xattr.c
5839
refcount.func =
fs/ocfs2/xattr.c
6077
.func = ocfs2_xattr_bucket_post_refcount,
fs/ocfs2/xattr.c
6243
get_xattr_value_root *func,
fs/ocfs2/xattr.c
6255
ret = func(sb, bh, xh, i, &xv, NULL, para);
fs/ocfs2/xattr.c
6370
get_xattr_value_root *func,
fs/ocfs2/xattr.c
6415
ret = func(sb, old_bh, xh, i, &xv, NULL, para);
fs/ocfs2/xattr.c
6421
ret = func(sb, new_bh, new_xh, j, &new_xv, &value_bh, para);
fs/pstore/ftrace.c
61
.func = pstore_ftrace_call,
fs/quota/dquot.c
136
void __quota_error(struct super_block *sb, const char *func,
fs/quota/dquot.c
149
sb->s_id, func, &vaf);
fs/smb/client/smb1session.c
24
void (*func)(struct sess_data *);
fs/smb/client/smb1session.c
520
sess_data->func = NULL;
fs/smb/client/smb1session.c
659
sess_data->func = NULL;
fs/smb/client/smb1session.c
801
sess_data->func = sess_auth_rawntlmssp_authenticate;
fs/smb/client/smb1session.c
811
sess_data->func = NULL;
fs/smb/client/smb1session.c
920
sess_data->func = NULL;
fs/smb/client/smb1session.c
939
sess_data->func = sess_auth_ntlmv2;
fs/smb/client/smb1session.c
943
sess_data->func = sess_auth_kerberos;
fs/smb/client/smb1session.c
950
sess_data->func = sess_auth_rawntlmssp_negotiate;
fs/smb/client/smb1session.c
986
while (sess_data->func)
fs/smb/client/smb1session.c
987
sess_data->func(sess_data);
fs/smb/client/smb2pdu.c
1508
void (*func)(struct SMB2_sess_data *);
fs/smb/client/smb2pdu.c
1754
sess_data->func = NULL;
fs/smb/client/smb2pdu.c
1763
sess_data->func = NULL;
fs/smb/client/smb2pdu.c
1852
sess_data->func = SMB2_sess_auth_rawntlmssp_authenticate;
fs/smb/client/smb2pdu.c
1859
sess_data->func = NULL;
fs/smb/client/smb2pdu.c
1937
sess_data->func = NULL;
fs/smb/client/smb2pdu.c
1956
sess_data->func = SMB2_auth_kerberos;
fs/smb/client/smb2pdu.c
1959
sess_data->func = SMB2_sess_auth_rawntlmssp_negotiate;
fs/smb/client/smb2pdu.c
2005
while (sess_data->func)
fs/smb/client/smb2pdu.c
2006
sess_data->func(sess_data);
fs/verity/measure.c
165
BTF_ID_FLAGS(func, bpf_get_fsverity_digest)
fs/xfs/xfs_buf.c
1247
xfs_failaddr_t func)
fs/xfs/xfs_buf.c
1251
func, (uint64_t)xfs_buf_daddr(bp),
fs/xfs/xfs_message.h
49
#define xfs_printk_ratelimited(func, dev, fmt, ...) \
fs/xfs/xfs_message.h
55
func(dev, fmt, ##__VA_ARGS__); \
fs/xfs/xfs_message.h
58
#define xfs_printk_once(func, dev, fmt, ...) \
fs/xfs/xfs_message.h
59
DO_ONCE_LITE(func, dev, fmt, ##__VA_ARGS__)
include/acpi/acpi_bus.h
338
void (*func)(struct acpi_device_wakeup_context *context);
include/acpi/acpi_bus.h
58
u64 rev, u64 func, union acpi_object *argv4);
include/acpi/acpi_bus.h
65
u64 func, union acpi_object *argv4,
include/acpi/acpi_bus.h
70
obj = acpi_evaluate_dsm(handle, guid, rev, func, argv4);
include/acpi/acpi_bus.h
808
void (*func)(struct acpi_device_wakeup_context *context));
include/acpi/acpi_bus.h
819
void (*func)(struct acpi_device_wakeup_context *context))
include/asm-generic/mshyperv.h
233
bool (*func)(int cpu))
include/asm-generic/mshyperv.h
254
if (func && func(cpu))
include/asm-generic/mshyperv.h
285
bool (*func)(int cpu))
include/asm-generic/mshyperv.h
287
return __cpumask_to_vpset(vpset, cpus, func);
include/drm/drm_flip_work.h
64
drm_flip_func_t func;
include/drm/drm_flip_work.h
75
const char *name, drm_flip_func_t func);
include/drm/drm_ioctl.h
137
drm_ioctl_t *func;
include/drm/drm_ioctl.h
154
.func = _func, \
include/drm/drm_vblank_work.h
68
void (*func)(struct kthread_work *work));
include/drm/ttm/ttm_resource.h
207
const struct ttm_resource_manager_func *func;
include/dt-bindings/pinctrl/apple.h
9
#define APPLE_PINMUX(pin, func) ((pin) | ((func) << 16))
include/dt-bindings/pinctrl/k210-fpioa.h
271
#define K210_FPIOA(pin, func) (((pin) << 16) | (func))
include/kunit/run-in-irq-context.h
124
if (!func(test_specific_state))
include/kunit/run-in-irq-context.h
16
bool (*func)(void *test_specific_state);
include/kunit/run-in-irq-context.h
48
if (!state->func(state->test_specific_state))
include/kunit/run-in-irq-context.h
64
if (!state->func(state->test_specific_state))
include/kunit/run-in-irq-context.h
93
static inline void kunit_run_irq_test(struct kunit *test, bool (*func)(void *),
include/kunit/run-in-irq-context.h
98
.func = func,
include/linux/acpi.h
1141
void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state,
include/linux/acpi.h
1147
void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state,
include/linux/acpi.h
1172
#define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } while (0)
include/linux/acpi.h
730
extern int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *),
include/linux/acpi.h
948
static inline int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *),
include/linux/acpi.h
987
u64 rev, u64 func,
include/linux/acpi.h
995
u64 rev, u64 func,
include/linux/async.h
111
async_schedule_dev_domain(async_func_t func, struct device *dev,
include/linux/async.h
114
return async_schedule_node_domain(func, dev, dev_to_node(dev), domain);
include/linux/async.h
38
async_cookie_t async_schedule_node(async_func_t func, void *data,
include/linux/async.h
40
async_cookie_t async_schedule_node_domain(async_func_t func, void *data,
include/linux/async.h
52
static inline async_cookie_t async_schedule(async_func_t func, void *data)
include/linux/async.h
54
return async_schedule_node(func, data, NUMA_NO_NODE);
include/linux/async.h
69
async_schedule_domain(async_func_t func, void *data,
include/linux/async.h
72
return async_schedule_node_domain(func, data, NUMA_NO_NODE, domain);
include/linux/async.h
88
async_schedule_dev(async_func_t func, struct device *dev)
include/linux/async.h
90
return async_schedule_node(func, dev, dev_to_node(dev));
include/linux/async.h
93
bool async_schedule_dev_nocall(async_func_t func, struct device *dev);
include/linux/avf/virtchnl.h
1683
#define __vss(type, func, p, member, count) \
include/linux/avf/virtchnl.h
1684
struct type: func(p, member, count, type##_LEGACY_SIZEOF)
include/linux/bpf.h
1348
} func;
include/linux/bpf.h
1380
void *func;
include/linux/bpf.h
1498
.func = &_name##_func, \
include/linux/bpf.h
1707
struct bpf_prog **func;
include/linux/bpf.h
925
u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5);
include/linux/btf.h
597
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx);
include/linux/btf.h
682
static inline int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
include/linux/btree.h
193
void (*func)(void *elem, unsigned long opaque,
include/linux/btree.h
201
void (*func)(void *elem, unsigned long opaque,
include/linux/can/core.h
52
void (*func)(struct sk_buff *, void *),
include/linux/can/core.h
57
void (*func)(struct sk_buff *, void *),
include/linux/cfi.h
40
static inline u32 cfi_get_func_hash(void *func)
include/linux/cfi.h
44
if (get_kernel_nofault(hash, func - cfi_get_offset()))
include/linux/cfi.h
58
static inline u32 cfi_get_func_hash(void *func) { return 0; }
include/linux/cfi_types.h
47
#define DEFINE_CFI_TYPE(name, func) \
include/linux/cfi_types.h
52
__ADDRESSABLE(func); \
include/linux/cfi_types.h
61
" .4byte __kcfi_typeid_" #func " \n" \
include/linux/closure.h
264
!= offsetof(struct work_struct, func));
include/linux/closure.h
267
INIT_WORK(&cl->work, cl->work.func);
include/linux/compiler-clang.h
15
#define __cleanup(func) __maybe_unused __attribute__((__cleanup__(func)))
include/linux/compiler.h
28
.data.func = __func__, \
include/linux/compiler.h
64
.func = __func__, \
include/linux/compiler_attributes.h
76
#define __cleanup(func) __attribute__((__cleanup__(func)))
include/linux/compiler_types.h
191
const char *func;
include/linux/dma-fence.h
121
dma_fence_func_t func;
include/linux/dma-fence.h
377
dma_fence_func_t func);
include/linux/dynamic_debug.h
228
#define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \
include/linux/dynamic_debug.h
231
func(&id, ##__VA_ARGS__); \
include/linux/dynamic_debug.h
235
#define __dynamic_func_call(id, fmt, func, ...) \
include/linux/dynamic_debug.h
237
func, ##__VA_ARGS__)
include/linux/dynamic_debug.h
239
#define __dynamic_func_call_cls_no_desc(id, cls, fmt, func, ...) do { \
include/linux/dynamic_debug.h
242
func(__VA_ARGS__); \
include/linux/dynamic_debug.h
246
#define __dynamic_func_call_no_desc(id, fmt, func, ...) \
include/linux/dynamic_debug.h
248
fmt, func, ##__VA_ARGS__)
include/linux/dynamic_debug.h
258
#define _dynamic_func_call_cls(cls, fmt, func, ...) \
include/linux/dynamic_debug.h
259
__dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
include/linux/dynamic_debug.h
260
#define _dynamic_func_call(fmt, func, ...) \
include/linux/dynamic_debug.h
261
_dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
include/linux/dynamic_debug.h
268
#define _dynamic_func_call_cls_no_desc(cls, fmt, func, ...) \
include/linux/dynamic_debug.h
270
func, ##__VA_ARGS__)
include/linux/dynamic_debug.h
271
#define _dynamic_func_call_no_desc(fmt, func, ...) \
include/linux/dynamic_debug.h
273
func, ##__VA_ARGS__)
include/linux/filter.h
1633
#define BPF_PROG_SK_LOOKUP_RUN_ARRAY(array, ctx, func) \
include/linux/filter.h
1650
_ret = func(_prog, _ctx); \
include/linux/firmware/imx/ipc.h
34
uint8_t func;
include/linux/firmware/thead/thead,th1520-aon.h
78
u8 func; /* rpc sub func id of specific service, sent by caller */
include/linux/fortify-string.h
14
#define FORTIFY_REASON(func, write) ((func) << 1 | (write))
include/linux/fortify-string.h
18
# define fortify_panic(func, write, avail, size, retfail) \
include/linux/fortify-string.h
19
__fortify_panic(FORTIFY_REASON(func, write), avail, size)
include/linux/fortify-string.h
47
#define MAKE_FORTIFY_FUNC(func) FORTIFY_FUNC_##func
include/linux/fortify-string.h
550
const u8 func)
include/linux/fortify-string.h
595
fortify_panic(func, FORTIFY_WRITE, p_size, size, true);
include/linux/fortify-string.h
597
fortify_panic(func, FORTIFY_READ, q_size, size, true);
include/linux/ftrace.h
1205
unsigned long func; /* Current function */
include/linux/ftrace.h
1223
unsigned long func; /* Current function */
include/linux/ftrace.h
1269
unsigned long func;
include/linux/ftrace.h
1284
function_graph_enter_regs(unsigned long ret, unsigned long func,
include/linux/ftrace.h
1288
static inline int function_graph_enter(unsigned long ret, unsigned long func,
include/linux/ftrace.h
1291
return function_graph_enter_regs(ret, func, fp, retp, NULL);
include/linux/ftrace.h
448
ftrace_func_t func;
include/linux/ftrace.h
875
extern int ftrace_update_ftrace_func(ftrace_func_t func);
include/linux/hil_mlc.h
95
hilse_func *func; /* Function to call if HILSE_FUNC */
include/linux/i2c.h
923
static inline int i2c_check_functionality(struct i2c_adapter *adap, u32 func)
include/linux/i2c.h
925
return (func & i2c_get_functionality(adap)) == func;
include/linux/ima.h
107
extern bool ima_appraise_signature(enum kernel_read_file_id func);
include/linux/ima.h
109
static inline bool ima_appraise_signature(enum kernel_read_file_id func)
include/linux/init.h
383
#define __setup(str, func) /* nothing */
include/linux/interrupt.h
698
void (*func)(unsigned long data);
include/linux/interrupt.h
724
.func = _func, \
include/linux/interrupt.h
730
.func = _func, \
include/linux/interrupt.h
804
void (*func)(unsigned long), unsigned long data);
include/linux/io_uring_types.h
651
io_req_tw_func_t func;
include/linux/ioport.h
414
void *arg, int (*func)(unsigned long, unsigned long, void *));
include/linux/ioport.h
417
int (*func)(struct resource *, void *));
include/linux/ioport.h
420
int (*func)(struct resource *, void *));
include/linux/ioport.h
423
int (*func)(struct resource *, void *));
include/linux/ioport.h
426
void *arg, int (*func)(struct resource *, void *));
include/linux/ioport.h
428
int (*func)(struct resource *, void *));
include/linux/irq_work.h
20
.func = (_func), \
include/linux/irq_work.h
32
void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *))
include/linux/irq_work.h
34
*work = IRQ_WORK_INIT(func);
include/linux/irq_work_types.h
10
void (*func)(struct irq_work *);
include/linux/jbd2.h
57
void __jbd2_debug(int level, const char *file, const char *func,
include/linux/kdb.h
70
kdb_func_t func; /* Function to execute command */
include/linux/kthread.h
155
kthread_work_func_t func;
include/linux/kthread.h
168
.func = (fn), \
include/linux/kthread.h
197
(work)->func = (fn); \
include/linux/livepatch.h
161
#define klp_for_each_func_static(obj, func) \
include/linux/livepatch.h
162
for (func = obj->funcs; \
include/linux/livepatch.h
163
func->old_name || func->new_func || func->old_sympos; \
include/linux/livepatch.h
164
func++)
include/linux/livepatch.h
166
#define klp_for_each_func_safe(obj, func, tmp_func) \
include/linux/livepatch.h
167
list_for_each_entry_safe(func, tmp_func, &obj->func_list, node)
include/linux/livepatch.h
169
#define klp_for_each_func(obj, func) \
include/linux/livepatch.h
170
list_for_each_entry(func, &obj->func_list, node)
include/linux/livepatch_helpers.h
22
#define KLP_PRE_PATCH_CALLBACK(func) \
include/linux/livepatch_helpers.h
24
__PASTE(__KLP_PRE_PATCH_PREFIX, KLP_OBJNAME) = func
include/linux/livepatch_helpers.h
26
#define KLP_POST_PATCH_CALLBACK(func) \
include/linux/livepatch_helpers.h
28
__PASTE(__KLP_POST_PATCH_PREFIX, KLP_OBJNAME) = func
include/linux/livepatch_helpers.h
30
#define KLP_PRE_UNPATCH_CALLBACK(func) \
include/linux/livepatch_helpers.h
32
__PASTE(__KLP_PRE_UNPATCH_PREFIX, KLP_OBJNAME) = func
include/linux/livepatch_helpers.h
34
#define KLP_POST_UNPATCH_CALLBACK(func) \
include/linux/livepatch_helpers.h
36
__PASTE(__KLP_POST_UNPATCH_PREFIX, KLP_OBJNAME) = func
include/linux/livepatch_helpers.h
45
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
include/linux/memblock.h
432
const char *func);
include/linux/memory.h
163
void *arg, walk_memory_blocks_func_t func);
include/linux/memory.h
164
extern int for_each_memory_block(void *arg, walk_memory_blocks_func_t func);
include/linux/memory.h
171
int walk_dynamic_memory_groups(int nid, walk_memory_groups_func_t func,
include/linux/mfd/si476x-core.h
190
switch (core->power_up_parameters.func) {
include/linux/mfd/si476x-core.h
207
switch (core->power_up_parameters.func) {
include/linux/mfd/si476x-core.h
259
enum si476x_func func;
include/linux/mfd/si476x-platform.h
213
enum si476x_func func;
include/linux/mfd/stmfx.h
120
int stmfx_function_enable(struct stmfx *stmfx, u32 func);
include/linux/mfd/stmfx.h
121
int stmfx_function_disable(struct stmfx *stmfx, u32 func);
include/linux/mfd/wm8350/gpio.h
344
int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func,
include/linux/min_heap.h
258
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
262
void (*swp)(void *lhs, void *rhs, void *args) = func->swp;
include/linux/min_heap.h
273
b = func->less(data + c, data + d, args) ? c : d;
include/linux/min_heap.h
280
while (b != a && func->less(data + a, data + b, args))
include/linux/min_heap.h
298
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
302
void (*swp)(void *lhs, void *rhs, void *args) = func->swp;
include/linux/min_heap.h
311
if (func->less(data + b, data + a, args))
include/linux/min_heap.h
325
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
330
__min_heap_sift_down_inline(heap, i, elem_size, func, args);
include/linux/min_heap.h
340
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
350
__min_heap_sift_down_inline(heap, 0, elem_size, func, args);
include/linux/min_heap.h
366
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
369
__min_heap_sift_down_inline(heap, 0, elem_size, func, args);
include/linux/min_heap.h
379
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
393
__min_heap_sift_up_inline(heap, elem_size, pos, func, args);
include/linux/min_heap.h
405
const struct min_heap_callbacks *func, void *args)
include/linux/min_heap.h
408
void (*swp)(void *lhs, void *rhs, void *args) = func->swp;
include/linux/min_heap.h
421
__min_heap_sift_up_inline(heap, elem_size, idx, func, args);
include/linux/min_heap.h
422
__min_heap_sift_down_inline(heap, idx, elem_size, func, args);
include/linux/min_heap.h
435
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
437
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
439
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
441
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
443
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
445
const struct min_heap_callbacks *func, void *args);
include/linux/min_heap.h
447
const struct min_heap_callbacks *func, void *args);
include/linux/mmc/sdio_func.h
131
extern void sdio_claim_host(struct sdio_func *func);
include/linux/mmc/sdio_func.h
132
extern void sdio_release_host(struct sdio_func *func);
include/linux/mmc/sdio_func.h
134
extern int sdio_enable_func(struct sdio_func *func);
include/linux/mmc/sdio_func.h
135
extern int sdio_disable_func(struct sdio_func *func);
include/linux/mmc/sdio_func.h
137
extern int sdio_set_block_size(struct sdio_func *func, unsigned blksz);
include/linux/mmc/sdio_func.h
139
extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler);
include/linux/mmc/sdio_func.h
140
extern int sdio_release_irq(struct sdio_func *func);
include/linux/mmc/sdio_func.h
142
extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz);
include/linux/mmc/sdio_func.h
144
extern u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret);
include/linux/mmc/sdio_func.h
145
extern u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret);
include/linux/mmc/sdio_func.h
146
extern u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret);
include/linux/mmc/sdio_func.h
148
extern int sdio_memcpy_fromio(struct sdio_func *func, void *dst,
include/linux/mmc/sdio_func.h
150
extern int sdio_readsb(struct sdio_func *func, void *dst,
include/linux/mmc/sdio_func.h
153
extern void sdio_writeb(struct sdio_func *func, u8 b,
include/linux/mmc/sdio_func.h
155
extern void sdio_writew(struct sdio_func *func, u16 b,
include/linux/mmc/sdio_func.h
157
extern void sdio_writel(struct sdio_func *func, u32 b,
include/linux/mmc/sdio_func.h
160
extern u8 sdio_writeb_readb(struct sdio_func *func, u8 write_byte,
include/linux/mmc/sdio_func.h
163
extern int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr,
include/linux/mmc/sdio_func.h
165
extern int sdio_writesb(struct sdio_func *func, unsigned int addr,
include/linux/mmc/sdio_func.h
168
extern unsigned char sdio_f0_readb(struct sdio_func *func,
include/linux/mmc/sdio_func.h
170
extern void sdio_f0_writeb(struct sdio_func *func, unsigned char b,
include/linux/mmc/sdio_func.h
173
extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func);
include/linux/mmc/sdio_func.h
174
extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags);
include/linux/mmc/sdio_func.h
176
extern void sdio_retune_crc_disable(struct sdio_func *func);
include/linux/mmc/sdio_func.h
177
extern void sdio_retune_crc_enable(struct sdio_func *func);
include/linux/mmc/sdio_func.h
179
extern void sdio_retune_hold_now(struct sdio_func *func);
include/linux/mmc/sdio_func.h
180
extern void sdio_retune_release(struct sdio_func *func);
include/linux/module.h
776
void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data);
include/linux/module.h
882
static inline void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data)
include/linux/netdevice.h
2940
int (*func) (struct sk_buff *,
include/linux/objtool.h
112
#define STACK_FRAME_NON_STANDARD(func)
include/linux/objtool.h
113
#define STACK_FRAME_NON_STANDARD_FP(func)
include/linux/objtool.h
117
.macro STACK_FRAME_NON_STANDARD func:req
include/linux/objtool.h
33
#define STACK_FRAME_NON_STANDARD(func) \
include/linux/objtool.h
35
*__func_stack_frame_non_standard_##func = func
include/linux/objtool.h
43
#define STACK_FRAME_NON_STANDARD_FP(func) STACK_FRAME_NON_STANDARD(func)
include/linux/objtool.h
45
#define STACK_FRAME_NON_STANDARD_FP(func)
include/linux/objtool.h
93
.macro STACK_FRAME_NON_STANDARD func:req
include/linux/objtool.h
99
.macro STACK_FRAME_NON_STANDARD_FP func:req
include/linux/once.h
46
#define DO_ONCE(func, ...) \
include/linux/once.h
55
func(__VA_ARGS__); \
include/linux/once.h
64
#define DO_ONCE_SLEEPABLE(func, ...) \
include/linux/once.h
72
func(__VA_ARGS__); \
include/linux/once_lite.h
10
#define DO_ONCE_LITE(func, ...) \
include/linux/once_lite.h
11
DO_ONCE_LITE_IF(true, func, ##__VA_ARGS__)
include/linux/once_lite.h
26
#define DO_ONCE_LITE_IF(condition, func, ...) \
include/linux/once_lite.h
31
func(__VA_ARGS__); \
include/linux/pci-acpi.h
134
int pci_acpi_set_companion_lookup_hook(struct acpi_device *(*func)(struct pci_dev *));
include/linux/pci.h
2053
void pci_register_set_vga_state(arch_set_vga_state_t func);
include/linux/peci-cpu.h
56
u8 func, u16 reg, u32 *data);
include/linux/peci-cpu.h
59
u8 bus, u8 dev, u8 func, u16 reg, u32 *data);
include/linux/peci-cpu.h
62
u8 bus, u8 dev, u8 func, u64 address, u32 *data);
include/linux/pinctrl/machine.h
100
PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func)
include/linux/pinctrl/machine.h
102
#define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \
include/linux/pinctrl/machine.h
103
PIN_MAP_MUX_GROUP(dev, state, dev, grp, func)
include/linux/pinctrl/machine.h
105
#define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \
include/linux/pinctrl/machine.h
106
PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func)
include/linux/pinctrl/machine.h
87
#define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \
include/linux/pinctrl/machine.h
95
.function = func, \
include/linux/pinctrl/machine.h
99
#define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \
include/linux/printk.h
186
extern int __printk_ratelimit(const char *func);
include/linux/printk.h
409
const char *func;
include/linux/printk.h
445
.func = __func__, \
include/linux/ptp_clock_kernel.h
222
enum ptp_pin_function func, unsigned int chan);
include/linux/ptp_clock_kernel.h
408
enum ptp_pin_function func, unsigned int chan);
include/linux/ptp_clock_kernel.h
426
enum ptp_pin_function func, unsigned int chan);
include/linux/ptp_clock_kernel.h
461
enum ptp_pin_function func, unsigned int chan)
include/linux/ptp_clock_kernel.h
464
enum ptp_pin_function func,
include/linux/quotaops.h
37
void __quota_error(struct super_block *sb, const char *func,
include/linux/ratelimit_types.h
45
extern int ___ratelimit(struct ratelimit_state *rs, const char *func);
include/linux/rcupdate.h
1162
rhp->func = (rcu_callback_t)~0L;
include/linux/rcupdate.h
1181
rcu_callback_t func = READ_ONCE(rhp->func);
include/linux/rcupdate.h
1183
if (func == f)
include/linux/rcupdate.h
1185
WARN_ON_ONCE(func != (rcu_callback_t)~0L);
include/linux/rcupdate.h
121
void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func);
include/linux/rcupdate.h
123
static inline void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func)
include/linux/rcupdate.h
125
call_rcu(head, func);
include/linux/rcupdate.h
179
void call_rcu_tasks(struct rcu_head *head, rcu_callback_t func);
include/linux/rcupdate.h
51
void call_rcu(struct rcu_head *head, rcu_callback_t func);
include/linux/rcupdate_trace.h
149
static inline void call_rcu_tasks_trace(struct rcu_head *rhp, rcu_callback_t func)
include/linux/rcupdate_trace.h
151
call_srcu(&rcu_tasks_trace_srcu_struct, rhp, func);
include/linux/rcupdate_trace.h
209
static inline void call_rcu_tasks_trace(struct rcu_head *rhp, rcu_callback_t func) { BUG(); }
include/linux/rslib.h
103
struct rs_control *init_rs_non_canonical(int symsize, int (*func)(int),
include/linux/rtc.h
78
void (*func)(struct rtc_device *rtc);
include/linux/sbitmap.h
598
.func = autoremove_wake_function, \
include/linux/sched.h
1836
#define TASK_PFA_TEST(name, func) \
include/linux/sched.h
1837
static inline bool task_##func(struct task_struct *p) \
include/linux/sched.h
1840
#define TASK_PFA_SET(name, func) \
include/linux/sched.h
1841
static inline void task_set_##func(struct task_struct *p) \
include/linux/sched.h
1844
#define TASK_PFA_CLEAR(name, func) \
include/linux/sched.h
1845
static inline void task_clear_##func(struct task_struct *p) \
include/linux/sched/cpufreq.h
17
void (*func)(struct update_util_data *data, u64 time, unsigned int flags);
include/linux/sched/cpufreq.h
21
void (*func)(struct update_util_data *data, u64 time,
include/linux/smp.h
104
smp_call_func_t func, void *info, bool wait)
include/linux/smp.h
106
on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
include/linux/smp.h
163
void smp_call_function(smp_call_func_t func, void *info, int wait);
include/linux/smp.h
165
smp_call_func_t func, void *info, bool wait);
include/linux/smp.h
168
smp_call_func_t func, void *info, int wait);
include/linux/smp.h
201
static inline void up_smp_call_function(smp_call_func_t func, void *info)
include/linux/smp.h
204
#define smp_call_function(func, info, wait) \
include/linux/smp.h
205
(up_smp_call_function(func, info))
include/linux/smp.h
208
#define smp_call_function_many(mask, func, info, wait) \
include/linux/smp.h
209
(up_smp_call_function(func, info))
include/linux/smp.h
213
smp_call_function_any(const struct cpumask *mask, smp_call_func_t func,
include/linux/smp.h
216
return smp_call_function_single(0, func, info, wait);
include/linux/smp.h
25
smp_call_func_t func;
include/linux/smp.h
295
int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par,
include/linux/smp.h
30
(struct __call_single_data){ .func = (_func), .info = (_info), }
include/linux/smp.h
50
int smp_call_function_single(int cpuid, smp_call_func_t func, void *info,
include/linux/smp.h
53
void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
include/linux/smp.h
70
static inline void on_each_cpu(smp_call_func_t func, void *info, int wait)
include/linux/smp.h
72
on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
include/linux/smp.h
92
smp_call_func_t func, void *info, bool wait)
include/linux/smp.h
94
on_each_cpu_cond_mask(NULL, func, info, wait, mask);
include/linux/srcu.h
91
void (*func)(struct rcu_head *head));
include/linux/srcutiny.h
42
.srcu_irq_work = { .func = srcu_tiny_irq_work }, \
include/linux/static_call.h
144
extern void arch_static_call_transform(void *site, void *tramp, void *func, bool tail);
include/linux/static_call.h
152
#define static_call_update(name, func) \
include/linux/static_call.h
154
typeof(&STATIC_CALL_TRAMP(name)) __F = (func); \
include/linux/static_call.h
159
#define static_call_query(name) (READ_ONCE(STATIC_CALL_KEY(name).func))
include/linux/static_call.h
181
extern void __static_call_update(struct static_call_key *key, void *tramp, void *func);
include/linux/static_call.h
190
.func = _func, \
include/linux/static_call.h
198
.func = NULL, \
include/linux/static_call.h
206
.func = __static_call_return0, \
include/linux/static_call.h
237
.func = _func, \
include/linux/static_call.h
244
.func = NULL, \
include/linux/static_call.h
251
.func = __static_call_return0, \
include/linux/static_call.h
258
void __static_call_update(struct static_call_key *key, void *tramp, void *func)
include/linux/static_call.h
261
WRITE_ONCE(key->func, func);
include/linux/static_call.h
262
arch_static_call_transform(NULL, tramp, func, false);
include/linux/static_call.h
300
.func = _func_init, \
include/linux/static_call.h
328
void *func = READ_ONCE(STATIC_CALL_KEY(name).func); \
include/linux/static_call.h
329
if (!func) \
include/linux/static_call.h
330
func = &__static_call_nop; \
include/linux/static_call.h
331
(typeof(STATIC_CALL_TRAMP(name))*)func; \
include/linux/static_call.h
337
void __static_call_update(struct static_call_key *key, void *tramp, void *func)
include/linux/static_call.h
339
WRITE_ONCE(key->func, func);
include/linux/static_call_types.h
101
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
include/linux/static_call_types.h
39
#define DECLARE_STATIC_CALL(name, func) \
include/linux/static_call_types.h
41
extern typeof(func) STATIC_CALL_TRAMP(name);
include/linux/static_call_types.h
64
void *func;
include/linux/static_call_types.h
79
void *func;
include/linux/static_call_types.h
97
void *func;
include/linux/suspend.h
400
int hibernate_quiet_exec(int (*func)(void *data), void *data);
include/linux/suspend.h
416
static inline int hibernate_quiet_exec(int (*func)(void *data), void *data) {
include/linux/task_work.h
11
init_task_work(struct callback_head *twork, task_work_func_t func)
include/linux/task_work.h
13
twork->func = func;
include/linux/tee_core.h
122
int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params,
include/linux/timer.h
71
void (*func)(struct timer_list *), unsigned int flags,
include/linux/timer.h
76
void (*func)(struct timer_list *),
include/linux/timer.h
81
void (*func)(struct timer_list *),
include/linux/timer.h
86
timer_init_key(timer, func, flags, name, key);
include/linux/tracepoint-defs.h
27
void *func;
include/linux/tracepoint.h
129
static inline void call_tracepoint_unregister_atomic(struct rcu_head *rcu, rcu_callback_t func)
include/linux/tracepoint.h
131
call_srcu(&tracepoint_srcu, rcu, func);
include/linux/tracepoint.h
137
static inline void call_tracepoint_unregister_syscall(struct rcu_head *rcu, rcu_callback_t func)
include/linux/tracepoint.h
139
call_rcu_tasks_trace(rcu, func);
include/linux/tracepoint.h
148
static inline void call_tracepoint_unregister_atomic(struct rcu_head *rcu, rcu_callback_t func)
include/linux/tracepoint.h
150
static inline void call_tracepoint_unregister_syscall(struct rcu_head *rcu, rcu_callback_t func)
include/linux/tracepoint.h
373
it_func = READ_ONCE((it_func_ptr)->func); \
include/linux/tracepoint.h
376
} while ((++it_func_ptr)->func); \
include/linux/types.h
248
void (*func)(struct callback_head *head);
include/linux/types.h
253
typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func);
include/linux/unwind_deferred.h
28
int unwind_deferred_init(struct unwind_work *work, unwind_callback_t func);
include/linux/unwind_deferred.h
65
unwind_deferred_init(struct unwind_work *work, unwind_callback_t func)
include/linux/unwind_deferred_types.h
51
unwind_callback_t func;
include/linux/uprobes.h
161
unsigned long func;
include/linux/uprobes.h
56
unsigned long func,
include/linux/usb/composite.h
257
int usb_func_wakeup(struct usb_function *func);
include/linux/virtio_anchor.h
11
static inline void virtio_set_mem_acc_cb(bool (*func)(struct virtio_device *))
include/linux/virtio_anchor.h
13
virtio_check_mem_acc_cb = func;
include/linux/virtio_anchor.h
16
#define virtio_set_mem_acc_cb(func) do { } while (0)
include/linux/wait.h
1236
.func = function, \
include/linux/wait.h
1245
(wait)->func = function; \
include/linux/wait.h
1253
extern int task_call_func(struct task_struct *p, task_call_f func, void *arg);
include/linux/wait.h
31
wait_queue_func_t func;
include/linux/wait.h
49
.func = default_wake_function, \
include/linux/wait.h
84
wq_entry->func = default_wake_function;
include/linux/wait.h
88
init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func)
include/linux/wait.h
92
wq_entry->func = func;
include/linux/wait_bit.h
43
.func = wake_bit_function, \
include/linux/workqueue.h
241
.func = (f), \
include/linux/workqueue.h
289
(_work)->func = (_func); \
include/linux/workqueue.h
297
(_work)->func = (_func); \
include/linux/workqueue.h
606
extern int schedule_on_each_cpu(work_func_t func);
include/linux/workqueue_types.h
19
work_func_t func;
include/media/drv-intf/cx2341x.h
115
cx2341x_mbox_func func;
include/media/drv-intf/cx2341x.h
81
int cx2341x_update(void *priv, cx2341x_mbox_func func,
include/media/dvbdev.h
384
int (*func)(struct file *file, unsigned int cmd, void *arg));
include/media/v4l2-common.h
417
func, context) \
include/media/v4l2-common.h
425
width, height, func, context); \
include/media/v4l2-common.h
432
bool (*func)(const void *array,
include/media/v4l2-ioctl.h
730
unsigned long int arg, v4l2_kioctl func);
include/net/9p/9p.h
52
void _p9_debug(enum p9_debug_flags level, const char *func,
include/net/ax25.h
371
int (*func)(struct sk_buff *, ax25_cb *);
include/net/ax25.h
379
void (*func)(ax25_cb *, int);
include/net/bluetooth/hci_core.h
1489
hci_conn_func_t func, __u8 type,
include/net/bluetooth/hci_core.h
1495
if (!func)
include/net/bluetooth/hci_core.h
1502
func(c, data);
include/net/bluetooth/hci_core.h
1509
hci_conn_func_t func, __u8 type,
include/net/bluetooth/hci_core.h
1515
if (!func)
include/net/bluetooth/hci_core.h
1522
func(c, data);
include/net/bluetooth/hci_core.h
2365
int (*func) (struct sock *sk, struct hci_dev *hdev, void *data,
include/net/bluetooth/hci_drv.h
64
int (*func)(struct hci_dev *hdev, void *data, u16 data_len);
include/net/bluetooth/hci_sync.h
34
hci_cmd_sync_work_func_t func;
include/net/bluetooth/hci_sync.h
70
int hci_cmd_sync_submit(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
72
int hci_cmd_sync_queue(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
74
int hci_cmd_sync_queue_once(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
76
int hci_cmd_sync_run(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
78
int hci_cmd_sync_run_once(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
81
hci_cmd_sync_lookup_entry(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
85
bool hci_cmd_sync_dequeue(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
include/net/bluetooth/hci_sync.h
88
hci_cmd_sync_work_func_t func, void *data,
include/net/bluetooth/l2cap.h
970
void l2cap_chan_list(struct l2cap_conn *conn, l2cap_chan_func_t func,
include/net/cfg80211.h
6450
wiphy_work_func_t func;
include/net/cfg80211.h
6454
wiphy_work_func_t func)
include/net/cfg80211.h
6457
work->func = func;
include/net/cfg80211.h
6503
wiphy_work_func_t func)
include/net/cfg80211.h
6506
wiphy_work_init(&dwork->work, func);
include/net/cfg80211.h
6606
wiphy_work_func_t func)
include/net/cfg80211.h
6610
wiphy_work_init(&hrwork->work, func);
include/net/ip6_fib.h
366
int (*func)(struct fib6_walker *);
include/net/ip6_fib.h
463
void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *arg),
include/net/ip6_fib.h
466
int (*func)(struct fib6_info *, void *arg),
include/net/pkt_cls.h
44
bool tcf_queue_work(struct rcu_work *rwork, work_func_t func);
include/net/smc.h
92
#define smc_call_hsbpf(init_val, tp, func, ...) ({ \
include/net/smc.h
97
if (ctrl && ctrl->func) \
include/net/smc.h
98
__ret = ctrl->func(tp, ##__VA_ARGS__); \
include/net/xdp.h
374
void xdp_warn(const char *msg, const char *func, const int line);
include/net/xfrm.h
1683
int (*func)(struct xfrm_state *, int, void*), void *);
include/net/xfrm.h
1864
int (*func)(struct xfrm_policy *, int, int, void*),
include/pcmcia/cistpl.h
158
u_char func;
include/pcmcia/device_id.h
20
#define PCMCIA_DEVICE_FUNC_ID(func) { \
include/pcmcia/device_id.h
22
.func_id = (func), }
include/pcmcia/ds.h
99
u8 func;
include/scsi/libfc.h
927
void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
include/soc/mscc/ocelot_ptp.h
54
enum ptp_pin_function func, unsigned int chan);
include/sound/control.h
295
int (*func)(struct snd_kcontrol *vfollower,
include/sound/cs35l41.h
805
unsigned int func;
include/sound/pcm.h
1119
snd_pcm_hw_rule_func_t func, void *private,
include/sound/pcm.h
252
snd_pcm_hw_rule_func_t func;
include/sound/seq_kernel.h
76
snd_seq_dump_func_t func, void *private_data);
include/trace/events/btrfs.h
1532
__field( const void *, func )
include/trace/events/btrfs.h
1540
__entry->func = work->func;
include/trace/events/btrfs.h
1547
__entry->func, __entry->ordered_func)
include/trace/events/csd.h
14
smp_call_func_t func,
include/trace/events/csd.h
17
TP_ARGS(cpu, callsite, func, csd),
include/trace/events/csd.h
22
__field(void *, func)
include/trace/events/csd.h
29
__entry->func = func;
include/trace/events/csd.h
34
__entry->cpu, __entry->callsite, __entry->func, __entry->csd)
include/trace/events/csd.h
42
TP_PROTO(smp_call_func_t func, call_single_data_t *csd),
include/trace/events/csd.h
44
TP_ARGS(func, csd),
include/trace/events/csd.h
47
__field(void *, func)
include/trace/events/csd.h
52
__entry->func = func;
include/trace/events/csd.h
56
TP_printk("func=%ps, csd=%p", __entry->func, __entry->csd)
include/trace/events/csd.h
60
TP_PROTO(smp_call_func_t func, call_single_data_t *csd),
include/trace/events/csd.h
61
TP_ARGS(func, csd)
include/trace/events/csd.h
65
TP_PROTO(smp_call_func_t func, call_single_data_t *csd),
include/trace/events/csd.h
66
TP_ARGS(func, csd)
include/trace/events/initcall.h
29
TP_PROTO(initcall_t func),
include/trace/events/initcall.h
31
TP_ARGS(func),
include/trace/events/initcall.h
38
__field_struct(initcall_t, func)
include/trace/events/initcall.h
42
__entry->func = func;
include/trace/events/initcall.h
45
TP_printk("func=%pS", __entry->func)
include/trace/events/initcall.h
50
TP_PROTO(initcall_t func, int ret),
include/trace/events/initcall.h
52
TP_ARGS(func, ret),
include/trace/events/initcall.h
59
__field_struct(initcall_t, func)
include/trace/events/initcall.h
64
__entry->func = func;
include/trace/events/initcall.h
68
TP_printk("func=%pS ret=%d", __entry->func, __entry->ret)
include/trace/events/irq.h
165
TP_PROTO(struct tasklet_struct *t, void *func),
include/trace/events/irq.h
167
TP_ARGS(t, func),
include/trace/events/irq.h
171
__field( void *, func)
include/trace/events/irq.h
176
__entry->func = func;
include/trace/events/irq.h
179
TP_printk("tasklet=%ps function=%ps", __entry->tasklet, __entry->func)
include/trace/events/irq.h
191
TP_PROTO(struct tasklet_struct *t, void *func),
include/trace/events/irq.h
193
TP_ARGS(t, func)
include/trace/events/irq.h
205
TP_PROTO(struct tasklet_struct *t, void *func),
include/trace/events/irq.h
207
TP_ARGS(t, func)
include/trace/events/rcu.h
521
__field(void *, func)
include/trace/events/rcu.h
528
__entry->func = rhp->func;
include/trace/events/rcu.h
533
__entry->rcuname, __entry->rhp, __entry->func,
include/trace/events/rcu.h
606
__field(void *, func)
include/trace/events/rcu.h
612
__entry->func = rhp->func;
include/trace/events/rcu.h
616
__entry->rcuname, __entry->rhp, __entry->func)
include/trace/events/sched.h
106
__entry->function = work->func;
include/trace/events/sched.h
79
__entry->function = work->func;
include/trace/events/workqueue.h
40
__entry->function = work->func;
include/trace/events/workqueue.h
72
__entry->function = work->func;
include/trace/events/workqueue.h
97
__entry->function = work->func;
include/trace/trace_custom_events.h
108
#define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, func, print) \
include/trace/trace_events.h
261
#define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \
include/uapi/drm/drm.h
181
} func;
include/uapi/drm/i915_drm.h
319
} func;
include/uapi/drm/radeon_drm.h
571
} func;
include/uapi/drm/radeon_drm.h
602
} func;
include/uapi/linux/acrn.h
82
__u32 func;
include/uapi/linux/pci.h
31
#define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
include/uapi/linux/pg.h
50
char func; /* PG_RESET or PG_COMMAND */
include/uapi/linux/ptp_clock.h
211
unsigned int func;
include/uapi/linux/tee.h
290
__u32 func;
include/uapi/linux/tee.h
350
__u32 func;
include/uapi/linux/vfio.h
1782
__u32 func;
include/uapi/linux/wireless.h
356
#define IW_HANDLER(id, func) \
include/uapi/linux/wireless.h
357
[IW_IOCTL_IDX(id)] = func
include/video/sticore.h
389
int sti_call(const struct sti_struct *sti, unsigned long func,
include/xen/acpi.h
77
void xen_acpi_register_get_gsi_func(get_gsi_from_sbdf_t func);
include/xen/acpi.h
97
static inline void xen_acpi_register_get_gsi_func(get_gsi_from_sbdf_t func)
io_uring/futex.c
100
req->io_task_work.func = io_futex_complete;
io_uring/futex.c
106
req->io_task_work.func = io_futexv_complete;
io_uring/futex.c
168
req->io_task_work.func = io_futexv_complete;
io_uring/futex.c
217
req->io_task_work.func = io_futex_complete;
io_uring/io-wq.c
1274
wq->wait.func = io_wq_hash_wake;
io_uring/io-wq.c
1309
if (cb->func != create_worker_cb && cb->func != create_worker_cont)
io_uring/io-wq.c
1333
if (cb->func == create_worker_cont)
io_uring/io-wq.c
226
if (cb->func != create_worker_cb)
io_uring/io-wq.c
389
task_work_func_t func)
io_uring/io-wq.c
409
init_task_work(&worker->create_work, func);
io_uring/io-wq.c
936
bool (*func)(struct io_worker *, void *),
io_uring/io-wq.c
946
ret = func(worker, data);
io_uring/io-wq.c
957
bool (*func)(struct io_worker *, void *),
io_uring/io-wq.c
961
if (io_acct_for_each_worker(&wq->acct[i], func, data))
io_uring/io_uring.c
1050
req->io_task_work.func = io_req_task_cancel;
io_uring/io_uring.c
1056
req->io_task_work.func = io_req_task_submit;
io_uring/io_uring.c
157
req->io_task_work.func = IO_URING_PTR_POISON;
io_uring/io_uring.c
2222
if (ctx->poll_activated || ctx->poll_wq_task_work.func)
io_uring/io_uring.c
441
req->io_task_work.func = io_req_queue_iowq_tw;
io_uring/io_uring.c
918
req->io_task_work.func = io_req_task_complete;
io_uring/io_uring.c
995
req->io_task_work.func = io_req_task_complete;
io_uring/io_uring.h
542
req->io_task_work.func = io_req_task_complete;
io_uring/msg_ring.c
92
req->io_task_work.func = io_msg_tw_complete;
io_uring/nop.c
86
req->io_task_work.func = io_req_task_complete;
io_uring/notif.c
66
notif->io_task_work.func = io_notif_tw_complete;
io_uring/poll.c
216
req->io_task_work.func = io_poll_task_func;
io_uring/poll.c
957
preq->io_task_work.func = io_req_task_complete;
io_uring/rw.c
596
req->io_task_work.func = io_req_rw_complete;
io_uring/rw.c
820
wait->wait.func = io_async_buf_func;
io_uring/timeout.c
198
link->io_task_work.func = io_req_tw_fail_links;
io_uring/timeout.c
276
req->io_task_work.func = io_timeout_complete;
io_uring/timeout.c
376
req->io_task_work.func = io_req_task_link_timeout;
io_uring/tw.c
30
req->io_task_work.func((struct io_tw_req){req}, ts);
io_uring/tw.c
305
INDIRECT_CALL_2(req->io_task_work.func,
io_uring/tw.c
72
INDIRECT_CALL_2(req->io_task_work.func,
io_uring/uring_cmd.c
134
req->io_task_work.func = task_work_cb;
io_uring/uring_cmd.c
178
req->io_task_work.func = io_req_task_complete;
io_uring/waitid.c
192
req->io_task_work.func = io_waitid_cb;
io_uring/waitid.c
255
req->io_task_work.func = io_waitid_cb;
ipc/util.c
534
void (*func)(struct rcu_head *head))
ipc/util.c
539
call_rcu(&ptr->rcu, func);
ipc/util.h
174
void (*func)(struct rcu_head *head));
kernel/async.c
126
entry->func, task_pid_nr(current));
kernel/async.c
129
entry->func(entry->data, entry->cookie);
kernel/async.c
132
(long long)entry->cookie, entry->func,
kernel/async.c
150
static async_cookie_t __async_schedule_node_domain(async_func_t func,
kernel/async.c
161
entry->func = func;
kernel/async.c
200
async_cookie_t async_schedule_node_domain(async_func_t func, void *data,
kernel/async.c
221
func(data, newcookie);
kernel/async.c
225
return __async_schedule_node_domain(func, data, node, domain, entry);
kernel/async.c
242
async_cookie_t async_schedule_node(async_func_t func, void *data, int node)
kernel/async.c
244
return async_schedule_node_domain(func, data, node, &async_dfl_domain);
kernel/async.c
260
bool async_schedule_dev_nocall(async_func_t func, struct device *dev)
kernel/async.c
272
__async_schedule_node_domain(func, dev, dev_to_node(dev),
kernel/async.c
74
async_func_t func;
kernel/bpf/arena.c
916
BTF_ID_FLAGS(func, bpf_arena_alloc_pages, KF_ARENA_RET | KF_ARENA_ARG2)
kernel/bpf/arena.c
917
BTF_ID_FLAGS(func, bpf_arena_free_pages, KF_ARENA_ARG2)
kernel/bpf/arena.c
918
BTF_ID_FLAGS(func, bpf_arena_reserve_pages, KF_ARENA_ARG2)
kernel/bpf/bpf_cgrp_storage.c
177
.func = bpf_cgrp_storage_get,
kernel/bpf/bpf_cgrp_storage.c
188
.func = bpf_cgrp_storage_delete,
kernel/bpf/bpf_inode_storage.c
208
.func = bpf_inode_storage_get,
kernel/bpf/bpf_inode_storage.c
219
.func = bpf_inode_storage_delete,
kernel/bpf/bpf_iter.c
718
.func = bpf_for_each_map_elem,
kernel/bpf/bpf_iter.c
754
.func = bpf_loop,
kernel/bpf/bpf_lsm.c
158
.func = bpf_bprm_opts_set,
kernel/bpf/bpf_lsm.c
179
.func = bpf_ima_inode_hash,
kernel/bpf/bpf_lsm.c
198
.func = bpf_ima_file_hash,
kernel/bpf/bpf_lsm.c
218
.func = bpf_get_attach_cookie,
kernel/bpf/bpf_lsm.c
289
BTF_ID(func, bpf_lsm_bpf)
kernel/bpf/bpf_lsm.c
290
BTF_ID(func, bpf_lsm_bpf_map)
kernel/bpf/bpf_lsm.c
291
BTF_ID(func, bpf_lsm_bpf_map_create)
kernel/bpf/bpf_lsm.c
292
BTF_ID(func, bpf_lsm_bpf_map_free)
kernel/bpf/bpf_lsm.c
293
BTF_ID(func, bpf_lsm_bpf_prog)
kernel/bpf/bpf_lsm.c
294
BTF_ID(func, bpf_lsm_bpf_prog_load)
kernel/bpf/bpf_lsm.c
295
BTF_ID(func, bpf_lsm_bpf_prog_free)
kernel/bpf/bpf_lsm.c
296
BTF_ID(func, bpf_lsm_bpf_token_create)
kernel/bpf/bpf_lsm.c
297
BTF_ID(func, bpf_lsm_bpf_token_free)
kernel/bpf/bpf_lsm.c
298
BTF_ID(func, bpf_lsm_bpf_token_cmd)
kernel/bpf/bpf_lsm.c
299
BTF_ID(func, bpf_lsm_bpf_token_capable)
kernel/bpf/bpf_lsm.c
300
BTF_ID(func, bpf_lsm_bprm_check_security)
kernel/bpf/bpf_lsm.c
301
BTF_ID(func, bpf_lsm_bprm_committed_creds)
kernel/bpf/bpf_lsm.c
302
BTF_ID(func, bpf_lsm_bprm_committing_creds)
kernel/bpf/bpf_lsm.c
303
BTF_ID(func, bpf_lsm_bprm_creds_for_exec)
kernel/bpf/bpf_lsm.c
304
BTF_ID(func, bpf_lsm_bprm_creds_from_file)
kernel/bpf/bpf_lsm.c
305
BTF_ID(func, bpf_lsm_capget)
kernel/bpf/bpf_lsm.c
306
BTF_ID(func, bpf_lsm_capset)
kernel/bpf/bpf_lsm.c
307
BTF_ID(func, bpf_lsm_cred_prepare)
kernel/bpf/bpf_lsm.c
308
BTF_ID(func, bpf_lsm_file_ioctl)
kernel/bpf/bpf_lsm.c
309
BTF_ID(func, bpf_lsm_file_lock)
kernel/bpf/bpf_lsm.c
310
BTF_ID(func, bpf_lsm_file_open)
kernel/bpf/bpf_lsm.c
311
BTF_ID(func, bpf_lsm_file_post_open)
kernel/bpf/bpf_lsm.c
312
BTF_ID(func, bpf_lsm_file_receive)
kernel/bpf/bpf_lsm.c
314
BTF_ID(func, bpf_lsm_inode_create)
kernel/bpf/bpf_lsm.c
315
BTF_ID(func, bpf_lsm_inode_free_security)
kernel/bpf/bpf_lsm.c
316
BTF_ID(func, bpf_lsm_inode_getattr)
kernel/bpf/bpf_lsm.c
317
BTF_ID(func, bpf_lsm_inode_getxattr)
kernel/bpf/bpf_lsm.c
318
BTF_ID(func, bpf_lsm_inode_mknod)
kernel/bpf/bpf_lsm.c
319
BTF_ID(func, bpf_lsm_inode_need_killpriv)
kernel/bpf/bpf_lsm.c
320
BTF_ID(func, bpf_lsm_inode_post_setxattr)
kernel/bpf/bpf_lsm.c
321
BTF_ID(func, bpf_lsm_inode_post_removexattr)
kernel/bpf/bpf_lsm.c
322
BTF_ID(func, bpf_lsm_inode_readlink)
kernel/bpf/bpf_lsm.c
323
BTF_ID(func, bpf_lsm_inode_removexattr)
kernel/bpf/bpf_lsm.c
324
BTF_ID(func, bpf_lsm_inode_rename)
kernel/bpf/bpf_lsm.c
325
BTF_ID(func, bpf_lsm_inode_rmdir)
kernel/bpf/bpf_lsm.c
326
BTF_ID(func, bpf_lsm_inode_setattr)
kernel/bpf/bpf_lsm.c
327
BTF_ID(func, bpf_lsm_inode_setxattr)
kernel/bpf/bpf_lsm.c
328
BTF_ID(func, bpf_lsm_inode_symlink)
kernel/bpf/bpf_lsm.c
329
BTF_ID(func, bpf_lsm_inode_unlink)
kernel/bpf/bpf_lsm.c
33
#define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME)
kernel/bpf/bpf_lsm.c
330
BTF_ID(func, bpf_lsm_kernel_module_request)
kernel/bpf/bpf_lsm.c
331
BTF_ID(func, bpf_lsm_kernel_read_file)
kernel/bpf/bpf_lsm.c
332
BTF_ID(func, bpf_lsm_kernfs_init_security)
kernel/bpf/bpf_lsm.c
335
BTF_ID(func, bpf_lsm_path_unlink)
kernel/bpf/bpf_lsm.c
336
BTF_ID(func, bpf_lsm_path_mkdir)
kernel/bpf/bpf_lsm.c
337
BTF_ID(func, bpf_lsm_path_rmdir)
kernel/bpf/bpf_lsm.c
338
BTF_ID(func, bpf_lsm_path_truncate)
kernel/bpf/bpf_lsm.c
339
BTF_ID(func, bpf_lsm_path_symlink)
kernel/bpf/bpf_lsm.c
340
BTF_ID(func, bpf_lsm_path_link)
kernel/bpf/bpf_lsm.c
341
BTF_ID(func, bpf_lsm_path_rename)
kernel/bpf/bpf_lsm.c
342
BTF_ID(func, bpf_lsm_path_chmod)
kernel/bpf/bpf_lsm.c
343
BTF_ID(func, bpf_lsm_path_chown)
kernel/bpf/bpf_lsm.c
346
BTF_ID(func, bpf_lsm_mmap_file)
kernel/bpf/bpf_lsm.c
347
BTF_ID(func, bpf_lsm_netlink_send)
kernel/bpf/bpf_lsm.c
348
BTF_ID(func, bpf_lsm_path_notify)
kernel/bpf/bpf_lsm.c
349
BTF_ID(func, bpf_lsm_release_secctx)
kernel/bpf/bpf_lsm.c
350
BTF_ID(func, bpf_lsm_sb_alloc_security)
kernel/bpf/bpf_lsm.c
351
BTF_ID(func, bpf_lsm_sb_eat_lsm_opts)
kernel/bpf/bpf_lsm.c
352
BTF_ID(func, bpf_lsm_sb_kern_mount)
kernel/bpf/bpf_lsm.c
353
BTF_ID(func, bpf_lsm_sb_mount)
kernel/bpf/bpf_lsm.c
354
BTF_ID(func, bpf_lsm_sb_remount)
kernel/bpf/bpf_lsm.c
355
BTF_ID(func, bpf_lsm_sb_set_mnt_opts)
kernel/bpf/bpf_lsm.c
356
BTF_ID(func, bpf_lsm_sb_show_options)
kernel/bpf/bpf_lsm.c
357
BTF_ID(func, bpf_lsm_sb_statfs)
kernel/bpf/bpf_lsm.c
358
BTF_ID(func, bpf_lsm_sb_umount)
kernel/bpf/bpf_lsm.c
359
BTF_ID(func, bpf_lsm_settime)
kernel/bpf/bpf_lsm.c
362
BTF_ID(func, bpf_lsm_inet_conn_established)
kernel/bpf/bpf_lsm.c
364
BTF_ID(func, bpf_lsm_socket_accept)
kernel/bpf/bpf_lsm.c
365
BTF_ID(func, bpf_lsm_socket_bind)
kernel/bpf/bpf_lsm.c
366
BTF_ID(func, bpf_lsm_socket_connect)
kernel/bpf/bpf_lsm.c
367
BTF_ID(func, bpf_lsm_socket_create)
kernel/bpf/bpf_lsm.c
368
BTF_ID(func, bpf_lsm_socket_getpeername)
kernel/bpf/bpf_lsm.c
369
BTF_ID(func, bpf_lsm_socket_getpeersec_dgram)
kernel/bpf/bpf_lsm.c
370
BTF_ID(func, bpf_lsm_socket_getsockname)
kernel/bpf/bpf_lsm.c
371
BTF_ID(func, bpf_lsm_socket_getsockopt)
kernel/bpf/bpf_lsm.c
372
BTF_ID(func, bpf_lsm_socket_listen)
kernel/bpf/bpf_lsm.c
373
BTF_ID(func, bpf_lsm_socket_post_create)
kernel/bpf/bpf_lsm.c
374
BTF_ID(func, bpf_lsm_socket_recvmsg)
kernel/bpf/bpf_lsm.c
375
BTF_ID(func, bpf_lsm_socket_sendmsg)
kernel/bpf/bpf_lsm.c
376
BTF_ID(func, bpf_lsm_socket_shutdown)
kernel/bpf/bpf_lsm.c
377
BTF_ID(func, bpf_lsm_socket_socketpair)
kernel/bpf/bpf_lsm.c
380
BTF_ID(func, bpf_lsm_syslog)
kernel/bpf/bpf_lsm.c
381
BTF_ID(func, bpf_lsm_task_alloc)
kernel/bpf/bpf_lsm.c
382
BTF_ID(func, bpf_lsm_task_prctl)
kernel/bpf/bpf_lsm.c
383
BTF_ID(func, bpf_lsm_task_setscheduler)
kernel/bpf/bpf_lsm.c
384
BTF_ID(func, bpf_lsm_task_to_inode)
kernel/bpf/bpf_lsm.c
385
BTF_ID(func, bpf_lsm_userns_create)
kernel/bpf/bpf_lsm.c
389
BTF_ID(func, bpf_lsm_bpf_map_free)
kernel/bpf/bpf_lsm.c
390
BTF_ID(func, bpf_lsm_bpf_prog_free)
kernel/bpf/bpf_lsm.c
391
BTF_ID(func, bpf_lsm_file_alloc_security)
kernel/bpf/bpf_lsm.c
392
BTF_ID(func, bpf_lsm_file_free_security)
kernel/bpf/bpf_lsm.c
394
BTF_ID(func, bpf_lsm_sk_alloc_security)
kernel/bpf/bpf_lsm.c
395
BTF_ID(func, bpf_lsm_sk_free_security)
kernel/bpf/bpf_lsm.c
397
BTF_ID(func, bpf_lsm_task_free)
kernel/bpf/bpf_lsm.c
40
BTF_ID(func, bpf_lsm_vm_enough_memory)
kernel/bpf/bpf_lsm.c
41
BTF_ID(func, bpf_lsm_inode_need_killpriv)
kernel/bpf/bpf_lsm.c
42
BTF_ID(func, bpf_lsm_inode_getsecurity)
kernel/bpf/bpf_lsm.c
421
BTF_ID(func, bpf_lsm_xfrm_state_pol_flow_match)
kernel/bpf/bpf_lsm.c
424
BTF_ID(func, bpf_lsm_audit_rule_known)
kernel/bpf/bpf_lsm.c
426
BTF_ID(func, bpf_lsm_inode_xattr_skipcap)
kernel/bpf/bpf_lsm.c
43
BTF_ID(func, bpf_lsm_inode_listsecurity)
kernel/bpf/bpf_lsm.c
44
BTF_ID(func, bpf_lsm_inode_copy_up_xattr)
kernel/bpf/bpf_lsm.c
45
BTF_ID(func, bpf_lsm_getselfattr)
kernel/bpf/bpf_lsm.c
46
BTF_ID(func, bpf_lsm_getprocattr)
kernel/bpf/bpf_lsm.c
47
BTF_ID(func, bpf_lsm_setprocattr)
kernel/bpf/bpf_lsm.c
49
BTF_ID(func, bpf_lsm_key_getsecurity)
kernel/bpf/bpf_lsm.c
52
BTF_ID(func, bpf_lsm_audit_rule_match)
kernel/bpf/bpf_lsm.c
54
BTF_ID(func, bpf_lsm_ismaclabel)
kernel/bpf/bpf_lsm.c
55
BTF_ID(func, bpf_lsm_file_alloc_security)
kernel/bpf/bpf_lsm.c
64
BTF_ID(func, bpf_lsm_sk_alloc_security)
kernel/bpf/bpf_lsm.c
65
BTF_ID(func, bpf_lsm_sk_free_security)
kernel/bpf/bpf_lsm.c
73
BTF_ID(func, bpf_lsm_sock_graft)
kernel/bpf/bpf_lsm.c
74
BTF_ID(func, bpf_lsm_inet_csk_clone)
kernel/bpf/bpf_lsm.c
75
BTF_ID(func, bpf_lsm_inet_conn_established)
kernel/bpf/bpf_lsm.c
85
BTF_ID(func, bpf_lsm_socket_post_create)
kernel/bpf/bpf_lsm.c
86
BTF_ID(func, bpf_lsm_socket_socketpair)
kernel/bpf/bpf_task_storage.c
240
.func = bpf_task_storage_get,
kernel/bpf/bpf_task_storage.c
251
.func = bpf_task_storage_delete,
kernel/bpf/btf.c
6592
const char *func;
kernel/bpf/btf.c
6962
if (strcmp(tname, raw_tp_null_args[i].func))
kernel/bpf/btf.c
7473
const struct btf_type *func,
kernel/bpf/btf.c
7482
if (!func) {
kernel/bpf/btf.c
7495
args = (const struct btf_param *)(func + 1);
kernel/bpf/btf.c
7496
nargs = btf_type_vlen(func);
kernel/bpf/btf.c
7503
ret = __get_type_size(btf, func->type, &t);
kernel/bpf/btf.c
8528
.func = bpf_btf_find_by_name_kind,
kernel/bpf/btf.c
8546
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
kernel/bpf/btf.c
8553
if (btf_type_vlen(func) <= arg_idx)
kernel/bpf/btf.c
8556
arg = &btf_params(func)[arg_idx];
kernel/bpf/btf.c
8572
const struct btf_type *func, u32 func_flags)
kernel/bpf/btf.c
8586
nr_args = btf_type_vlen(func);
kernel/bpf/btf.c
8590
btf_id = btf_check_iter_arg(btf, func, 0);
kernel/bpf/btf.c
8622
t = btf_type_skip_modifiers(btf, func->type, NULL);
kernel/bpf/btf.c
8629
t = btf_type_by_id(btf, func->type);
kernel/bpf/btf.c
8639
const struct btf_type *func;
kernel/bpf/btf.c
8644
func = btf_type_by_id(btf, func_id);
kernel/bpf/btf.c
8645
if (!func || !btf_type_is_func(func))
kernel/bpf/btf.c
8649
func_name = btf_name_by_offset(btf, func->name_off);
kernel/bpf/btf.c
8653
func = btf_type_by_id(btf, func->type);
kernel/bpf/btf.c
8654
if (!func || !btf_type_is_func_proto(func))
kernel/bpf/btf.c
8658
err = btf_check_iter_kfuncs(btf, func_name, func, func_flags);
kernel/bpf/cgroup.c
1776
.func = bpf_get_local_storage,
kernel/bpf/cgroup.c
1792
.func = bpf_get_retval,
kernel/bpf/cgroup.c
1807
.func = bpf_set_retval,
kernel/bpf/cgroup.c
2265
.func = bpf_sysctl_get_name,
kernel/bpf/cgroup.c
2307
.func = bpf_sysctl_get_current_value,
kernel/bpf/cgroup.c
2327
.func = bpf_sysctl_get_new_value,
kernel/bpf/cgroup.c
2352
.func = bpf_sysctl_set_new_value,
kernel/bpf/cgroup.c
2496
.func = bpf_get_netns_cookie_sockopt,
kernel/bpf/core.c
1264
else if (prog->aux->func &&
kernel/bpf/core.c
1266
addr = (u8 *)prog->aux->func[off]->bpf_func;
kernel/bpf/core.c
2961
aux->func[i]->aux->poke_tab = NULL;
kernel/bpf/core.c
2962
bpf_jit_free(aux->func[i]);
kernel/bpf/core.c
2965
kfree(aux->func);
kernel/bpf/core.c
3075
.func = BPF_PTR_POISON,
kernel/bpf/core.c
3332
len = prog->aux->func ? prog->aux->func[prog->aux->func_idx]->len : prog->len;
kernel/bpf/core.c
537
bpf_prog_kallsyms_del(fp->aux->func[i]);
kernel/bpf/cpumask.c
478
BTF_ID_FLAGS(func, bpf_cpumask_create, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/cpumask.c
479
BTF_ID_FLAGS(func, bpf_cpumask_release, KF_RELEASE)
kernel/bpf/cpumask.c
480
BTF_ID_FLAGS(func, bpf_cpumask_acquire, KF_ACQUIRE)
kernel/bpf/cpumask.c
481
BTF_ID_FLAGS(func, bpf_cpumask_first, KF_RCU)
kernel/bpf/cpumask.c
482
BTF_ID_FLAGS(func, bpf_cpumask_first_zero, KF_RCU)
kernel/bpf/cpumask.c
483
BTF_ID_FLAGS(func, bpf_cpumask_first_and, KF_RCU)
kernel/bpf/cpumask.c
484
BTF_ID_FLAGS(func, bpf_cpumask_set_cpu, KF_RCU)
kernel/bpf/cpumask.c
485
BTF_ID_FLAGS(func, bpf_cpumask_clear_cpu, KF_RCU)
kernel/bpf/cpumask.c
486
BTF_ID_FLAGS(func, bpf_cpumask_test_cpu, KF_RCU)
kernel/bpf/cpumask.c
487
BTF_ID_FLAGS(func, bpf_cpumask_test_and_set_cpu, KF_RCU)
kernel/bpf/cpumask.c
488
BTF_ID_FLAGS(func, bpf_cpumask_test_and_clear_cpu, KF_RCU)
kernel/bpf/cpumask.c
489
BTF_ID_FLAGS(func, bpf_cpumask_setall, KF_RCU)
kernel/bpf/cpumask.c
490
BTF_ID_FLAGS(func, bpf_cpumask_clear, KF_RCU)
kernel/bpf/cpumask.c
491
BTF_ID_FLAGS(func, bpf_cpumask_and, KF_RCU)
kernel/bpf/cpumask.c
492
BTF_ID_FLAGS(func, bpf_cpumask_or, KF_RCU)
kernel/bpf/cpumask.c
493
BTF_ID_FLAGS(func, bpf_cpumask_xor, KF_RCU)
kernel/bpf/cpumask.c
494
BTF_ID_FLAGS(func, bpf_cpumask_equal, KF_RCU)
kernel/bpf/cpumask.c
495
BTF_ID_FLAGS(func, bpf_cpumask_intersects, KF_RCU)
kernel/bpf/cpumask.c
496
BTF_ID_FLAGS(func, bpf_cpumask_subset, KF_RCU)
kernel/bpf/cpumask.c
497
BTF_ID_FLAGS(func, bpf_cpumask_empty, KF_RCU)
kernel/bpf/cpumask.c
498
BTF_ID_FLAGS(func, bpf_cpumask_full, KF_RCU)
kernel/bpf/cpumask.c
499
BTF_ID_FLAGS(func, bpf_cpumask_copy, KF_RCU)
kernel/bpf/cpumask.c
500
BTF_ID_FLAGS(func, bpf_cpumask_any_distribute, KF_RCU)
kernel/bpf/cpumask.c
501
BTF_ID_FLAGS(func, bpf_cpumask_any_and_distribute, KF_RCU)
kernel/bpf/cpumask.c
502
BTF_ID_FLAGS(func, bpf_cpumask_weight, KF_RCU)
kernel/bpf/cpumask.c
503
BTF_ID_FLAGS(func, bpf_cpumask_populate, KF_RCU)
kernel/bpf/cpumask.c
513
BTF_ID(func, bpf_cpumask_release_dtor)
kernel/bpf/crypto.c
355
BTF_ID_FLAGS(func, bpf_crypto_ctx_create, KF_ACQUIRE | KF_RET_NULL | KF_SLEEPABLE)
kernel/bpf/crypto.c
356
BTF_ID_FLAGS(func, bpf_crypto_ctx_release, KF_RELEASE)
kernel/bpf/crypto.c
357
BTF_ID_FLAGS(func, bpf_crypto_ctx_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
kernel/bpf/crypto.c
366
BTF_ID_FLAGS(func, bpf_crypto_decrypt, KF_RCU)
kernel/bpf/crypto.c
367
BTF_ID_FLAGS(func, bpf_crypto_encrypt, KF_RCU)
kernel/bpf/crypto.c
377
BTF_ID(func, bpf_crypto_ctx_release_dtor)
kernel/bpf/helpers.c
1077
.func = bpf_snprintf,
kernel/bpf/helpers.c
113
.func = bpf_map_pop_elem,
kernel/bpf/helpers.c
126
.func = bpf_map_peek_elem,
kernel/bpf/helpers.c
1398
.func = bpf_timer_init,
kernel/bpf/helpers.c
140
.func = bpf_map_lookup_percpu_elem,
kernel/bpf/helpers.c
1493
.func = bpf_timer_set_callback,
kernel/bpf/helpers.c
150
.func = bpf_user_rnd_u32,
kernel/bpf/helpers.c
1542
.func = bpf_timer_start,
kernel/bpf/helpers.c
1607
.func = bpf_timer_cancel,
kernel/bpf/helpers.c
161
.func = bpf_get_smp_processor_id,
kernel/bpf/helpers.c
1729
.func = bpf_kptr_xchg,
kernel/bpf/helpers.c
173
.func = bpf_get_numa_node_id,
kernel/bpf/helpers.c
185
.func = bpf_ktime_get_ns,
kernel/bpf/helpers.c
1872
.func = bpf_dynptr_from_mem,
kernel/bpf/helpers.c
1927
.func = bpf_dynptr_read,
kernel/bpf/helpers.c
197
.func = bpf_ktime_get_boot_ns,
kernel/bpf/helpers.c
1986
.func = bpf_dynptr_write,
kernel/bpf/helpers.c
2029
.func = bpf_dynptr_data,
kernel/bpf/helpers.c
208
.func = bpf_ktime_get_coarse_ns,
kernel/bpf/helpers.c
220
.func = bpf_ktime_get_tai_ns,
kernel/bpf/helpers.c
236
.func = bpf_get_current_pid_tgid,
kernel/bpf/helpers.c
256
.func = bpf_get_current_uid_gid,
kernel/bpf/helpers.c
2714
.func = bpf_current_task_under_cgroup,
kernel/bpf/helpers.c
277
.func = bpf_get_current_comm,
kernel/bpf/helpers.c
348
.func = bpf_spin_lock,
kernel/bpf/helpers.c
371
.func = bpf_spin_unlock,
kernel/bpf/helpers.c
400
.func = bpf_jiffies64,
kernel/bpf/helpers.c
420
.func = bpf_get_current_cgroup_id,
kernel/bpf/helpers.c
441
.func = bpf_get_current_ancestor_cgroup_id,
kernel/bpf/helpers.c
4537
BTF_ID_FLAGS(func, crash_kexec, KF_DESTRUCTIVE)
kernel/bpf/helpers.c
4539
BTF_ID_FLAGS(func, bpf_obj_new_impl, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4540
BTF_ID_FLAGS(func, bpf_percpu_obj_new_impl, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4541
BTF_ID_FLAGS(func, bpf_obj_drop_impl, KF_RELEASE)
kernel/bpf/helpers.c
4542
BTF_ID_FLAGS(func, bpf_percpu_obj_drop_impl, KF_RELEASE)
kernel/bpf/helpers.c
4543
BTF_ID_FLAGS(func, bpf_refcount_acquire_impl, KF_ACQUIRE | KF_RET_NULL | KF_RCU)
kernel/bpf/helpers.c
4544
BTF_ID_FLAGS(func, bpf_list_push_front_impl)
kernel/bpf/helpers.c
4545
BTF_ID_FLAGS(func, bpf_list_push_back_impl)
kernel/bpf/helpers.c
4546
BTF_ID_FLAGS(func, bpf_list_pop_front, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4547
BTF_ID_FLAGS(func, bpf_list_pop_back, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4548
BTF_ID_FLAGS(func, bpf_list_front, KF_RET_NULL)
kernel/bpf/helpers.c
4549
BTF_ID_FLAGS(func, bpf_list_back, KF_RET_NULL)
kernel/bpf/helpers.c
4550
BTF_ID_FLAGS(func, bpf_task_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
kernel/bpf/helpers.c
4551
BTF_ID_FLAGS(func, bpf_task_release, KF_RELEASE)
kernel/bpf/helpers.c
4552
BTF_ID_FLAGS(func, bpf_rbtree_remove, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4553
BTF_ID_FLAGS(func, bpf_rbtree_add_impl)
kernel/bpf/helpers.c
4554
BTF_ID_FLAGS(func, bpf_rbtree_first, KF_RET_NULL)
kernel/bpf/helpers.c
4555
BTF_ID_FLAGS(func, bpf_rbtree_root, KF_RET_NULL)
kernel/bpf/helpers.c
4556
BTF_ID_FLAGS(func, bpf_rbtree_left, KF_RET_NULL)
kernel/bpf/helpers.c
4557
BTF_ID_FLAGS(func, bpf_rbtree_right, KF_RET_NULL)
kernel/bpf/helpers.c
4560
BTF_ID_FLAGS(func, bpf_cgroup_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
kernel/bpf/helpers.c
4561
BTF_ID_FLAGS(func, bpf_cgroup_release, KF_RELEASE)
kernel/bpf/helpers.c
4562
BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
kernel/bpf/helpers.c
4563
BTF_ID_FLAGS(func, bpf_cgroup_from_id, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4564
BTF_ID_FLAGS(func, bpf_task_under_cgroup, KF_RCU)
kernel/bpf/helpers.c
4565
BTF_ID_FLAGS(func, bpf_task_get_cgroup1, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
kernel/bpf/helpers.c
4567
BTF_ID_FLAGS(func, bpf_task_from_pid, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4568
BTF_ID_FLAGS(func, bpf_task_from_vpid, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4569
BTF_ID_FLAGS(func, bpf_throw)
kernel/bpf/helpers.c
4571
BTF_ID_FLAGS(func, bpf_send_signal_task)
kernel/bpf/helpers.c
4574
BTF_ID_FLAGS(func, bpf_lookup_user_key, KF_ACQUIRE | KF_RET_NULL | KF_SLEEPABLE)
kernel/bpf/helpers.c
4575
BTF_ID_FLAGS(func, bpf_lookup_system_key, KF_ACQUIRE | KF_RET_NULL)
kernel/bpf/helpers.c
4576
BTF_ID_FLAGS(func, bpf_key_put, KF_RELEASE)
kernel/bpf/helpers.c
4578
BTF_ID_FLAGS(func, bpf_verify_pkcs7_signature, KF_SLEEPABLE)
kernel/bpf/helpers.c
4591
BTF_ID(func, bpf_task_release_dtor)
kernel/bpf/helpers.c
4594
BTF_ID(func, bpf_cgroup_release_dtor)
kernel/bpf/helpers.c
4598
BTF_ID_FLAGS(func, bpf_cast_to_kern_ctx, KF_FASTCALL)
kernel/bpf/helpers.c
4599
BTF_ID_FLAGS(func, bpf_rdonly_cast, KF_FASTCALL)
kernel/bpf/helpers.c
4600
BTF_ID_FLAGS(func, bpf_rcu_read_lock)
kernel/bpf/helpers.c
4601
BTF_ID_FLAGS(func, bpf_rcu_read_unlock)
kernel/bpf/helpers.c
4602
BTF_ID_FLAGS(func, bpf_dynptr_slice, KF_RET_NULL)
kernel/bpf/helpers.c
4603
BTF_ID_FLAGS(func, bpf_dynptr_slice_rdwr, KF_RET_NULL)
kernel/bpf/helpers.c
4604
BTF_ID_FLAGS(func, bpf_iter_num_new, KF_ITER_NEW)
kernel/bpf/helpers.c
4605
BTF_ID_FLAGS(func, bpf_iter_num_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4606
BTF_ID_FLAGS(func, bpf_iter_num_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4607
BTF_ID_FLAGS(func, bpf_iter_task_vma_new, KF_ITER_NEW | KF_RCU)
kernel/bpf/helpers.c
4608
BTF_ID_FLAGS(func, bpf_iter_task_vma_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4609
BTF_ID_FLAGS(func, bpf_iter_task_vma_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4611
BTF_ID_FLAGS(func, bpf_iter_css_task_new, KF_ITER_NEW)
kernel/bpf/helpers.c
4612
BTF_ID_FLAGS(func, bpf_iter_css_task_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4613
BTF_ID_FLAGS(func, bpf_iter_css_task_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4614
BTF_ID_FLAGS(func, bpf_iter_css_new, KF_ITER_NEW | KF_RCU_PROTECTED)
kernel/bpf/helpers.c
4615
BTF_ID_FLAGS(func, bpf_iter_css_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4616
BTF_ID_FLAGS(func, bpf_iter_css_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4618
BTF_ID_FLAGS(func, bpf_iter_task_new, KF_ITER_NEW | KF_RCU_PROTECTED)
kernel/bpf/helpers.c
4619
BTF_ID_FLAGS(func, bpf_iter_task_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4620
BTF_ID_FLAGS(func, bpf_iter_task_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4621
BTF_ID_FLAGS(func, bpf_dynptr_adjust)
kernel/bpf/helpers.c
4622
BTF_ID_FLAGS(func, bpf_dynptr_is_null)
kernel/bpf/helpers.c
4623
BTF_ID_FLAGS(func, bpf_dynptr_is_rdonly)
kernel/bpf/helpers.c
4624
BTF_ID_FLAGS(func, bpf_dynptr_size)
kernel/bpf/helpers.c
4625
BTF_ID_FLAGS(func, bpf_dynptr_clone)
kernel/bpf/helpers.c
4626
BTF_ID_FLAGS(func, bpf_dynptr_copy)
kernel/bpf/helpers.c
4627
BTF_ID_FLAGS(func, bpf_dynptr_memset)
kernel/bpf/helpers.c
4629
BTF_ID_FLAGS(func, bpf_modify_return_test_tp)
kernel/bpf/helpers.c
4631
BTF_ID_FLAGS(func, bpf_wq_init)
kernel/bpf/helpers.c
4632
BTF_ID_FLAGS(func, bpf_wq_set_callback, KF_IMPLICIT_ARGS)
kernel/bpf/helpers.c
4633
BTF_ID_FLAGS(func, bpf_wq_start)
kernel/bpf/helpers.c
4634
BTF_ID_FLAGS(func, bpf_preempt_disable)
kernel/bpf/helpers.c
4635
BTF_ID_FLAGS(func, bpf_preempt_enable)
kernel/bpf/helpers.c
4636
BTF_ID_FLAGS(func, bpf_iter_bits_new, KF_ITER_NEW)
kernel/bpf/helpers.c
4637
BTF_ID_FLAGS(func, bpf_iter_bits_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/bpf/helpers.c
4638
BTF_ID_FLAGS(func, bpf_iter_bits_destroy, KF_ITER_DESTROY)
kernel/bpf/helpers.c
4639
BTF_ID_FLAGS(func, bpf_copy_from_user_str, KF_SLEEPABLE)
kernel/bpf/helpers.c
4640
BTF_ID_FLAGS(func, bpf_copy_from_user_task_str, KF_SLEEPABLE)
kernel/bpf/helpers.c
4641
BTF_ID_FLAGS(func, bpf_get_kmem_cache)
kernel/bpf/helpers.c
4642
BTF_ID_FLAGS(func, bpf_iter_kmem_cache_new, KF_ITER_NEW | KF_SLEEPABLE)
kernel/bpf/helpers.c
4643
BTF_ID_FLAGS(func, bpf_iter_kmem_cache_next, KF_ITER_NEXT | KF_RET_NULL | KF_SLEEPABLE)
kernel/bpf/helpers.c
4644
BTF_ID_FLAGS(func, bpf_iter_kmem_cache_destroy, KF_ITER_DESTROY | KF_SLEEPABLE)
kernel/bpf/helpers.c
4645
BTF_ID_FLAGS(func, bpf_local_irq_save)
kernel/bpf/helpers.c
4646
BTF_ID_FLAGS(func, bpf_local_irq_restore)
kernel/bpf/helpers.c
4648
BTF_ID_FLAGS(func, bpf_probe_read_user_dynptr)
kernel/bpf/helpers.c
4649
BTF_ID_FLAGS(func, bpf_probe_read_kernel_dynptr)
kernel/bpf/helpers.c
4650
BTF_ID_FLAGS(func, bpf_probe_read_user_str_dynptr)
kernel/bpf/helpers.c
4651
BTF_ID_FLAGS(func, bpf_probe_read_kernel_str_dynptr)
kernel/bpf/helpers.c
4652
BTF_ID_FLAGS(func, bpf_copy_from_user_dynptr, KF_SLEEPABLE)
kernel/bpf/helpers.c
4653
BTF_ID_FLAGS(func, bpf_copy_from_user_str_dynptr, KF_SLEEPABLE)
kernel/bpf/helpers.c
4654
BTF_ID_FLAGS(func, bpf_copy_from_user_task_dynptr, KF_SLEEPABLE)
kernel/bpf/helpers.c
4655
BTF_ID_FLAGS(func, bpf_copy_from_user_task_str_dynptr, KF_SLEEPABLE)
kernel/bpf/helpers.c
4658
BTF_ID_FLAGS(func, bpf_iter_dmabuf_new, KF_ITER_NEW | KF_SLEEPABLE)
kernel/bpf/helpers.c
4659
BTF_ID_FLAGS(func, bpf_iter_dmabuf_next, KF_ITER_NEXT | KF_RET_NULL | KF_SLEEPABLE)
kernel/bpf/helpers.c
4660
BTF_ID_FLAGS(func, bpf_iter_dmabuf_destroy, KF_ITER_DESTROY | KF_SLEEPABLE)
kernel/bpf/helpers.c
4662
BTF_ID_FLAGS(func, __bpf_trap)
kernel/bpf/helpers.c
4663
BTF_ID_FLAGS(func, bpf_strcmp);
kernel/bpf/helpers.c
4664
BTF_ID_FLAGS(func, bpf_strcasecmp);
kernel/bpf/helpers.c
4665
BTF_ID_FLAGS(func, bpf_strncasecmp);
kernel/bpf/helpers.c
4666
BTF_ID_FLAGS(func, bpf_strchr);
kernel/bpf/helpers.c
4667
BTF_ID_FLAGS(func, bpf_strchrnul);
kernel/bpf/helpers.c
4668
BTF_ID_FLAGS(func, bpf_strnchr);
kernel/bpf/helpers.c
4669
BTF_ID_FLAGS(func, bpf_strrchr);
kernel/bpf/helpers.c
4670
BTF_ID_FLAGS(func, bpf_strlen);
kernel/bpf/helpers.c
4671
BTF_ID_FLAGS(func, bpf_strnlen);
kernel/bpf/helpers.c
4672
BTF_ID_FLAGS(func, bpf_strspn);
kernel/bpf/helpers.c
4673
BTF_ID_FLAGS(func, bpf_strcspn);
kernel/bpf/helpers.c
4674
BTF_ID_FLAGS(func, bpf_strstr);
kernel/bpf/helpers.c
4675
BTF_ID_FLAGS(func, bpf_strcasestr);
kernel/bpf/helpers.c
4676
BTF_ID_FLAGS(func, bpf_strnstr);
kernel/bpf/helpers.c
4677
BTF_ID_FLAGS(func, bpf_strncasestr);
kernel/bpf/helpers.c
4679
BTF_ID_FLAGS(func, bpf_cgroup_read_xattr, KF_RCU)
kernel/bpf/helpers.c
4681
BTF_ID_FLAGS(func, bpf_stream_vprintk, KF_IMPLICIT_ARGS)
kernel/bpf/helpers.c
4682
BTF_ID_FLAGS(func, bpf_stream_print_stack, KF_IMPLICIT_ARGS)
kernel/bpf/helpers.c
4683
BTF_ID_FLAGS(func, bpf_task_work_schedule_signal, KF_IMPLICIT_ARGS)
kernel/bpf/helpers.c
4684
BTF_ID_FLAGS(func, bpf_task_work_schedule_resume, KF_IMPLICIT_ARGS)
kernel/bpf/helpers.c
4685
BTF_ID_FLAGS(func, bpf_dynptr_from_file)
kernel/bpf/helpers.c
4686
BTF_ID_FLAGS(func, bpf_dynptr_file_discard)
kernel/bpf/helpers.c
4687
BTF_ID_FLAGS(func, bpf_timer_cancel_async)
kernel/bpf/helpers.c
51
.func = bpf_map_lookup_elem,
kernel/bpf/helpers.c
538
.func = bpf_strtol,
kernel/bpf/helpers.c
566
.func = bpf_strtoul,
kernel/bpf/helpers.c
582
.func = bpf_strncmp,
kernel/bpf/helpers.c
624
.func = bpf_get_ns_current_pid_tgid,
kernel/bpf/helpers.c
634
.func = bpf_get_raw_cpu_id,
kernel/bpf/helpers.c
649
.func = bpf_event_output_data,
kernel/bpf/helpers.c
67
.func = bpf_map_update_elem,
kernel/bpf/helpers.c
673
.func = bpf_copy_from_user,
kernel/bpf/helpers.c
704
.func = bpf_copy_from_user_task,
kernel/bpf/helpers.c
725
.func = bpf_per_cpu_ptr,
kernel/bpf/helpers.c
738
.func = bpf_this_cpu_ptr,
kernel/bpf/helpers.c
84
.func = bpf_map_delete_elem,
kernel/bpf/helpers.c
98
.func = bpf_map_push_elem,
kernel/bpf/map_iter.c
217
BTF_ID_FLAGS(func, bpf_map_sum_elem_count)
kernel/bpf/ringbuf.c
552
.func = bpf_ringbuf_reserve,
kernel/bpf/ringbuf.c
594
.func = bpf_ringbuf_submit,
kernel/bpf/ringbuf.c
607
.func = bpf_ringbuf_discard,
kernel/bpf/ringbuf.c
633
.func = bpf_ringbuf_output,
kernel/bpf/ringbuf.c
664
.func = bpf_ringbuf_query,
kernel/bpf/ringbuf.c
702
.func = bpf_ringbuf_reserve_dynptr,
kernel/bpf/ringbuf.c
723
.func = bpf_ringbuf_submit_dynptr,
kernel/bpf/ringbuf.c
742
.func = bpf_ringbuf_discard_dynptr,
kernel/bpf/ringbuf.c
874
.func = bpf_user_ringbuf_drain,
kernel/bpf/rqspinlock.c
747
BTF_ID_FLAGS(func, bpf_res_spin_lock, KF_RET_NULL)
kernel/bpf/rqspinlock.c
748
BTF_ID_FLAGS(func, bpf_res_spin_unlock)
kernel/bpf/rqspinlock.c
749
BTF_ID_FLAGS(func, bpf_res_spin_lock_irqsave, KF_RET_NULL)
kernel/bpf/rqspinlock.c
750
BTF_ID_FLAGS(func, bpf_res_spin_unlock_irqrestore)
kernel/bpf/stackmap.c
348
.func = bpf_get_stackid,
kernel/bpf/stackmap.c
417
.func = bpf_get_stackid_pe,
kernel/bpf/stackmap.c
521
.func = bpf_get_stack,
kernel/bpf/stackmap.c
537
.func = bpf_get_stack_sleepable,
kernel/bpf/stackmap.c
570
.func = bpf_get_task_stack,
kernel/bpf/stackmap.c
587
.func = bpf_get_task_stack_sleepable,
kernel/bpf/stackmap.c
651
.func = bpf_get_stack_pe,
kernel/bpf/syscall.c
5124
info.jited_prog_len += prog->aux->func[i]->jited_len;
kernel/bpf/syscall.c
5143
len = prog->aux->func[i]->jited_len;
kernel/bpf/syscall.c
5145
img = (u8 *) prog->aux->func[i]->bpf_func;
kernel/bpf/syscall.c
5178
prog->aux->func[i]->bpf_func;
kernel/bpf/syscall.c
5206
prog->aux->func[i]->jited_len;
kernel/bpf/syscall.c
5282
prog->aux->func[i]->tag,
kernel/bpf/syscall.c
6447
.func = bpf_sys_bpf,
kernel/bpf/syscall.c
6472
.func = bpf_sys_close,
kernel/bpf/syscall.c
6495
.func = bpf_kallsyms_lookup_name,
kernel/bpf/task_iter.c
787
.func = bpf_find_vma,
kernel/bpf/trampoline.c
1078
if (tr->func.addr)
kernel/bpf/trampoline.c
1081
memcpy(&tr->func.model, &tgt_info->fmodel, sizeof(tgt_info->fmodel));
kernel/bpf/trampoline.c
1082
tr->func.addr = (void *)tgt_info->tgt_addr;
kernel/bpf/trampoline.c
374
void *ip = tr->func.addr;
kernel/bpf/trampoline.c
394
if (tr->func.ftrace_managed)
kernel/bpf/trampoline.c
408
if (tr->func.ftrace_managed) {
kernel/bpf/trampoline.c
420
void *ip = tr->func.addr;
kernel/bpf/trampoline.c
428
tr->func.ftrace_managed = true;
kernel/bpf/trampoline.c
431
if (tr->func.ftrace_managed) {
kernel/bpf/trampoline.c
660
size = arch_bpf_trampoline_size(&tr->func.model, tr->flags,
kernel/bpf/trampoline.c
661
tlinks, tr->func.addr);
kernel/bpf/trampoline.c
679
&tr->func.model, tr->flags, tlinks,
kernel/bpf/trampoline.c
680
tr->func.addr);
kernel/bpf/trampoline.c
796
return bpf_arch_text_poke(tr->func.addr, BPF_MOD_NOP,
kernel/bpf/trampoline.c
863
err = bpf_arch_text_poke(tr->func.addr, BPF_MOD_JUMP,
kernel/bpf/verifier.c
1024
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1054
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1096
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1125
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1152
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
11627
return *ptr && (*ptr)->func ? 0 : -EINVAL;
kernel/bpf/verifier.c
1189
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1221
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
12559
BTF_ID(func, bpf_obj_new_impl)
kernel/bpf/verifier.c
12560
BTF_ID(func, bpf_obj_drop_impl)
kernel/bpf/verifier.c
12561
BTF_ID(func, bpf_refcount_acquire_impl)
kernel/bpf/verifier.c
12562
BTF_ID(func, bpf_list_push_front_impl)
kernel/bpf/verifier.c
12563
BTF_ID(func, bpf_list_push_back_impl)
kernel/bpf/verifier.c
12564
BTF_ID(func, bpf_list_pop_front)
kernel/bpf/verifier.c
12565
BTF_ID(func, bpf_list_pop_back)
kernel/bpf/verifier.c
12566
BTF_ID(func, bpf_list_front)
kernel/bpf/verifier.c
12567
BTF_ID(func, bpf_list_back)
kernel/bpf/verifier.c
12568
BTF_ID(func, bpf_cast_to_kern_ctx)
kernel/bpf/verifier.c
12569
BTF_ID(func, bpf_rdonly_cast)
kernel/bpf/verifier.c
12570
BTF_ID(func, bpf_rcu_read_lock)
kernel/bpf/verifier.c
12571
BTF_ID(func, bpf_rcu_read_unlock)
kernel/bpf/verifier.c
12572
BTF_ID(func, bpf_rbtree_remove)
kernel/bpf/verifier.c
12573
BTF_ID(func, bpf_rbtree_add_impl)
kernel/bpf/verifier.c
12574
BTF_ID(func, bpf_rbtree_first)
kernel/bpf/verifier.c
12575
BTF_ID(func, bpf_rbtree_root)
kernel/bpf/verifier.c
12576
BTF_ID(func, bpf_rbtree_left)
kernel/bpf/verifier.c
12577
BTF_ID(func, bpf_rbtree_right)
kernel/bpf/verifier.c
12579
BTF_ID(func, bpf_dynptr_from_skb)
kernel/bpf/verifier.c
12580
BTF_ID(func, bpf_dynptr_from_xdp)
kernel/bpf/verifier.c
12581
BTF_ID(func, bpf_dynptr_from_skb_meta)
kernel/bpf/verifier.c
12582
BTF_ID(func, bpf_xdp_pull_data)
kernel/bpf/verifier.c
12589
BTF_ID(func, bpf_dynptr_slice)
kernel/bpf/verifier.c
12590
BTF_ID(func, bpf_dynptr_slice_rdwr)
kernel/bpf/verifier.c
12591
BTF_ID(func, bpf_dynptr_clone)
kernel/bpf/verifier.c
12592
BTF_ID(func, bpf_percpu_obj_new_impl)
kernel/bpf/verifier.c
12593
BTF_ID(func, bpf_percpu_obj_drop_impl)
kernel/bpf/verifier.c
12594
BTF_ID(func, bpf_throw)
kernel/bpf/verifier.c
12595
BTF_ID(func, bpf_wq_set_callback)
kernel/bpf/verifier.c
12596
BTF_ID(func, bpf_preempt_disable)
kernel/bpf/verifier.c
12597
BTF_ID(func, bpf_preempt_enable)
kernel/bpf/verifier.c
12599
BTF_ID(func, bpf_iter_css_task_new)
kernel/bpf/verifier.c
12604
BTF_ID(func, bpf_session_cookie)
kernel/bpf/verifier.c
12608
BTF_ID(func, bpf_get_kmem_cache)
kernel/bpf/verifier.c
12609
BTF_ID(func, bpf_local_irq_save)
kernel/bpf/verifier.c
12610
BTF_ID(func, bpf_local_irq_restore)
kernel/bpf/verifier.c
12611
BTF_ID(func, bpf_iter_num_new)
kernel/bpf/verifier.c
12612
BTF_ID(func, bpf_iter_num_next)
kernel/bpf/verifier.c
12613
BTF_ID(func, bpf_iter_num_destroy)
kernel/bpf/verifier.c
12615
BTF_ID(func, bpf_set_dentry_xattr)
kernel/bpf/verifier.c
12616
BTF_ID(func, bpf_remove_dentry_xattr)
kernel/bpf/verifier.c
12621
BTF_ID(func, bpf_res_spin_lock)
kernel/bpf/verifier.c
12622
BTF_ID(func, bpf_res_spin_unlock)
kernel/bpf/verifier.c
12623
BTF_ID(func, bpf_res_spin_lock_irqsave)
kernel/bpf/verifier.c
12624
BTF_ID(func, bpf_res_spin_unlock_irqrestore)
kernel/bpf/verifier.c
12625
BTF_ID(func, bpf_dynptr_from_file)
kernel/bpf/verifier.c
12626
BTF_ID(func, bpf_dynptr_file_discard)
kernel/bpf/verifier.c
12627
BTF_ID(func, __bpf_trap)
kernel/bpf/verifier.c
12628
BTF_ID(func, bpf_task_work_schedule_signal)
kernel/bpf/verifier.c
12629
BTF_ID(func, bpf_task_work_schedule_resume)
kernel/bpf/verifier.c
12630
BTF_ID(func, bpf_arena_alloc_pages)
kernel/bpf/verifier.c
12631
BTF_ID(func, bpf_arena_free_pages)
kernel/bpf/verifier.c
12632
BTF_ID(func, bpf_arena_reserve_pages)
kernel/bpf/verifier.c
12633
BTF_ID(func, bpf_session_is_return)
kernel/bpf/verifier.c
12634
BTF_ID(func, bpf_stream_vprintk)
kernel/bpf/verifier.c
12635
BTF_ID(func, bpf_stream_print_stack)
kernel/bpf/verifier.c
1272
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
1296
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
17397
struct bpf_func_state *func;
kernel/bpf/verifier.c
17405
func = vstate->frame[i];
kernel/bpf/verifier.c
17409
reg = &func->regs[j];
kernel/bpf/verifier.c
17412
for (j = 0; j < func->allocated_stack / BPF_REG_SIZE; j++) {
kernel/bpf/verifier.c
17413
if (!is_spilled_reg(&func->stack[j]))
kernel/bpf/verifier.c
17415
reg = &func->stack[j].spilled_ptr;
kernel/bpf/verifier.c
19752
struct bpf_func_state *func;
kernel/bpf/verifier.c
19757
bpf_for_each_reg_in_vstate(st, func, reg, ({
kernel/bpf/verifier.c
19765
bpf_for_each_reg_in_vstate(st, func, reg, ({
kernel/bpf/verifier.c
20582
iter_state = &func(env, iter_reg)->stack[spi].spilled_ptr;
kernel/bpf/verifier.c
22824
struct bpf_prog *prog = env->prog, **func, *tmp;
kernel/bpf/verifier.c
22877
func = kzalloc_objs(prog, env->subprog_cnt);
kernel/bpf/verifier.c
22878
if (!func)
kernel/bpf/verifier.c
22891
func[i] = bpf_prog_alloc_no_stats(bpf_prog_size(len), GFP_USER);
kernel/bpf/verifier.c
22892
if (!func[i])
kernel/bpf/verifier.c
22894
memcpy(func[i]->insnsi, &prog->insnsi[subprog_start],
kernel/bpf/verifier.c
22896
func[i]->type = prog->type;
kernel/bpf/verifier.c
22897
func[i]->len = len;
kernel/bpf/verifier.c
22898
if (bpf_prog_calc_tag(func[i]))
kernel/bpf/verifier.c
22900
func[i]->is_func = 1;
kernel/bpf/verifier.c
22901
func[i]->sleepable = prog->sleepable;
kernel/bpf/verifier.c
22902
func[i]->aux->func_idx = i;
kernel/bpf/verifier.c
22904
func[i]->aux->btf = prog->aux->btf;
kernel/bpf/verifier.c
22905
func[i]->aux->subprog_start = subprog_start + subprog_start_adjustment;
kernel/bpf/verifier.c
22906
func[i]->aux->func_info = prog->aux->func_info;
kernel/bpf/verifier.c
22907
func[i]->aux->func_info_cnt = prog->aux->func_info_cnt;
kernel/bpf/verifier.c
22908
func[i]->aux->poke_tab = prog->aux->poke_tab;
kernel/bpf/verifier.c
22909
func[i]->aux->size_poke_tab = prog->aux->size_poke_tab;
kernel/bpf/verifier.c
22910
func[i]->aux->main_prog_aux = prog->aux;
kernel/bpf/verifier.c
22918
poke->aux = func[i]->aux;
kernel/bpf/verifier.c
22921
func[i]->aux->name[0] = 'F';
kernel/bpf/verifier.c
22922
func[i]->aux->stack_depth = env->subprog_info[i].stack_depth;
kernel/bpf/verifier.c
22924
func[i]->aux->jits_use_priv_stack = true;
kernel/bpf/verifier.c
22926
func[i]->jit_requested = 1;
kernel/bpf/verifier.c
22927
func[i]->blinding_requested = prog->blinding_requested;
kernel/bpf/verifier.c
22928
func[i]->aux->kfunc_tab = prog->aux->kfunc_tab;
kernel/bpf/verifier.c
22929
func[i]->aux->kfunc_btf_tab = prog->aux->kfunc_btf_tab;
kernel/bpf/verifier.c
22930
func[i]->aux->linfo = prog->aux->linfo;
kernel/bpf/verifier.c
22931
func[i]->aux->nr_linfo = prog->aux->nr_linfo;
kernel/bpf/verifier.c
22932
func[i]->aux->jited_linfo = prog->aux->jited_linfo;
kernel/bpf/verifier.c
22933
func[i]->aux->linfo_idx = env->subprog_info[i].linfo_idx;
kernel/bpf/verifier.c
22934
func[i]->aux->arena = prog->aux->arena;
kernel/bpf/verifier.c
22935
func[i]->aux->used_maps = env->used_maps;
kernel/bpf/verifier.c
22936
func[i]->aux->used_map_cnt = env->used_map_cnt;
kernel/bpf/verifier.c
22938
insn = func[i]->insnsi;
kernel/bpf/verifier.c
22939
for (j = 0; j < func[i]->len; j++, insn++) {
kernel/bpf/verifier.c
22954
func[i]->aux->num_exentries = num_exentries;
kernel/bpf/verifier.c
22955
func[i]->aux->tail_call_reachable = env->subprog_info[i].tail_call_reachable;
kernel/bpf/verifier.c
22956
func[i]->aux->exception_cb = env->subprog_info[i].is_exception_cb;
kernel/bpf/verifier.c
22957
func[i]->aux->changes_pkt_data = env->subprog_info[i].changes_pkt_data;
kernel/bpf/verifier.c
22958
func[i]->aux->might_sleep = env->subprog_info[i].might_sleep;
kernel/bpf/verifier.c
22960
func[i]->aux->exception_boundary = env->seen_exception;
kernel/bpf/verifier.c
22966
old_len = func[i]->len;
kernel/bpf/verifier.c
22967
func[i] = bpf_int_jit_compile(func[i]);
kernel/bpf/verifier.c
22968
subprog_start_adjustment += func[i]->len - old_len;
kernel/bpf/verifier.c
22970
if (!func[i]->jited) {
kernel/bpf/verifier.c
22982
insn = func[i]->insnsi;
kernel/bpf/verifier.c
22983
for (j = 0; j < func[i]->len; j++, insn++) {
kernel/bpf/verifier.c
22986
insn[0].imm = (u32)(long)func[subprog]->bpf_func;
kernel/bpf/verifier.c
22987
insn[1].imm = ((u64)(long)func[subprog]->bpf_func) >> 32;
kernel/bpf/verifier.c
22993
insn->imm = BPF_CALL_IMM(func[subprog]->bpf_func);
kernel/bpf/verifier.c
23007
func[i]->aux->func = func;
kernel/bpf/verifier.c
23008
func[i]->aux->func_cnt = env->subprog_cnt - env->hidden_subprog_cnt;
kernel/bpf/verifier.c
23009
func[i]->aux->real_func_cnt = env->subprog_cnt;
kernel/bpf/verifier.c
23012
old_bpf_func = func[i]->bpf_func;
kernel/bpf/verifier.c
23013
tmp = bpf_int_jit_compile(func[i]);
kernel/bpf/verifier.c
23014
if (tmp != func[i] || func[i]->bpf_func != old_bpf_func) {
kernel/bpf/verifier.c
23027
func[i]->aux->used_maps = NULL;
kernel/bpf/verifier.c
23028
func[i]->aux->used_map_cnt = 0;
kernel/bpf/verifier.c
23036
err = bpf_prog_lock_ro(func[i]);
kernel/bpf/verifier.c
23042
bpf_prog_kallsyms_add(func[i]);
kernel/bpf/verifier.c
23063
prog->bpf_func = func[0]->bpf_func;
kernel/bpf/verifier.c
23064
prog->jited_len = func[0]->jited_len;
kernel/bpf/verifier.c
23065
prog->aux->extable = func[0]->aux->extable;
kernel/bpf/verifier.c
23066
prog->aux->num_exentries = func[0]->aux->num_exentries;
kernel/bpf/verifier.c
23067
prog->aux->func = func;
kernel/bpf/verifier.c
23070
prog->aux->bpf_exception_cb = (void *)func[env->exception_callback_subprog]->bpf_func;
kernel/bpf/verifier.c
23071
prog->aux->exception_boundary = func[0]->aux->exception_boundary;
kernel/bpf/verifier.c
23088
if (!func[i])
kernel/bpf/verifier.c
23090
func[i]->aux->poke_tab = NULL;
kernel/bpf/verifier.c
23091
bpf_jit_free(func[i]);
kernel/bpf/verifier.c
23093
kfree(func);
kernel/bpf/verifier.c
24267
if (!fn->func) {
kernel/bpf/verifier.c
24273
insn->imm = fn->func - __bpf_call_base;
kernel/bpf/verifier.c
24944
BTF_ID(func, __filemap_add_folio)
kernel/bpf/verifier.c
24946
BTF_ID(func, should_fail_alloc_page)
kernel/bpf/verifier.c
24949
BTF_ID(func, should_failslab)
kernel/bpf/verifier.c
25017
if (aux->func && aux->func[subprog]->aux->exception_cb) {
kernel/bpf/verifier.c
25035
tgt_changes_pkt_data = aux->func
kernel/bpf/verifier.c
25036
? aux->func[subprog]->aux->changes_pkt_data
kernel/bpf/verifier.c
25044
tgt_might_sleep = aux->func
kernel/bpf/verifier.c
25045
? aux->func[subprog]->aux->might_sleep
kernel/bpf/verifier.c
25213
addr = (long) tgt_prog->aux->func[subprog]->bpf_func;
kernel/bpf/verifier.c
25299
BTF_ID(func, ___migrate_enable)
kernel/bpf/verifier.c
25300
BTF_ID(func, migrate_disable)
kernel/bpf/verifier.c
25301
BTF_ID(func, migrate_enable)
kernel/bpf/verifier.c
25304
BTF_ID(func, rcu_read_unlock_strict)
kernel/bpf/verifier.c
25307
BTF_ID(func, preempt_count_add)
kernel/bpf/verifier.c
25308
BTF_ID(func, preempt_count_sub)
kernel/bpf/verifier.c
25311
BTF_ID(func, __rcu_read_lock)
kernel/bpf/verifier.c
25312
BTF_ID(func, __rcu_read_unlock)
kernel/bpf/verifier.c
25322
BTF_ID(func, __ia32_sys_exit)
kernel/bpf/verifier.c
25323
BTF_ID(func, __ia32_sys_exit_group)
kernel/bpf/verifier.c
25326
BTF_ID(func, __kunit_abort)
kernel/bpf/verifier.c
25327
BTF_ID(func, kunit_try_catch_throw)
kernel/bpf/verifier.c
25330
BTF_ID(func, __module_put_and_kthread_exit)
kernel/bpf/verifier.c
25333
BTF_ID(func, __x64_sys_exit)
kernel/bpf/verifier.c
25334
BTF_ID(func, __x64_sys_exit_group)
kernel/bpf/verifier.c
25336
BTF_ID(func, do_exit)
kernel/bpf/verifier.c
25337
BTF_ID(func, do_group_exit)
kernel/bpf/verifier.c
25338
BTF_ID(func, kthread_complete_and_exit)
kernel/bpf/verifier.c
25339
BTF_ID(func, make_task_dead)
kernel/bpf/verifier.c
3355
const struct btf_type *func;
kernel/bpf/verifier.c
3371
func = btf_type_by_id(btf, impl_id);
kernel/bpf/verifier.c
3373
return btf_type_by_id(btf, func->type);
kernel/bpf/verifier.c
3381
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
3406
func = btf_type_by_id(btf, func_id);
kernel/bpf/verifier.c
3407
if (!func || !btf_type_is_func(func)) {
kernel/bpf/verifier.c
3412
func_name = btf_name_by_offset(btf, func->name_off);
kernel/bpf/verifier.c
3421
func_proto = btf_type_by_id(btf, func->type);
kernel/bpf/verifier.c
4172
const struct btf_type *func;
kernel/bpf/verifier.c
4182
func = btf_type_by_id(desc_btf, insn->imm);
kernel/bpf/verifier.c
4183
return btf_name_by_offset(desc_btf, func->name_off);
kernel/bpf/verifier.c
4752
struct bpf_func_state *func;
kernel/bpf/verifier.c
4769
func = st->frame[i];
kernel/bpf/verifier.c
4771
reg = &func->regs[j];
kernel/bpf/verifier.c
4780
for (j = 0; j < func->allocated_stack / BPF_REG_SIZE; j++) {
kernel/bpf/verifier.c
4781
if (!is_spilled_reg(&func->stack[j]))
kernel/bpf/verifier.c
4783
reg = &func->stack[j].spilled_ptr;
kernel/bpf/verifier.c
4798
struct bpf_func_state *func;
kernel/bpf/verifier.c
4803
func = st->frame[i];
kernel/bpf/verifier.c
4805
reg = &func->regs[j];
kernel/bpf/verifier.c
4810
for (j = 0; j < func->allocated_stack / BPF_REG_SIZE; j++) {
kernel/bpf/verifier.c
4811
if (!is_spilled_reg(&func->stack[j]))
kernel/bpf/verifier.c
4813
reg = &func->stack[j].spilled_ptr;
kernel/bpf/verifier.c
4918
struct bpf_func_state *func;
kernel/bpf/verifier.c
4934
func = st->frame[bt->frame];
kernel/bpf/verifier.c
4936
reg = &func->regs[regno];
kernel/bpf/verifier.c
5026
func = st->frame[fr];
kernel/bpf/verifier.c
5029
reg = &func->regs[i];
kernel/bpf/verifier.c
5044
if (verifier_bug_if(i >= func->allocated_stack / BPF_REG_SIZE,
kernel/bpf/verifier.c
5046
i, func->allocated_stack / BPF_REG_SIZE))
kernel/bpf/verifier.c
5049
if (!is_spilled_scalar_reg(&func->stack[i])) {
kernel/bpf/verifier.c
5053
reg = &func->stack[i].spilled_ptr;
kernel/bpf/verifier.c
5724
struct bpf_func_state *ptr_state = func(env, reg);
kernel/bpf/verifier.c
5756
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
5813
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
676
if (!is_spi_bounds_valid(func(env, reg), spi, nr_slots))
kernel/bpf/verifier.c
7632
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
772
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
8212
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
846
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
8930
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
9703
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
9716
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
9730
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
9804
struct bpf_func_state *state = func(env, key);
kernel/bpf/verifier.c
9924
struct bpf_func_state *state = func(env, reg);
kernel/bpf/verifier.c
994
struct bpf_func_state *state = func(env, reg);
kernel/cgroup/rstat.c
748
BTF_ID_FLAGS(func, css_rstat_updated)
kernel/cgroup/rstat.c
749
BTF_ID_FLAGS(func, css_rstat_flush, KF_SLEEPABLE)
kernel/debug/kdb/kdb_bp.c
526
.func = kdb_bp,
kernel/debug/kdb/kdb_bp.c
532
.func = kdb_bp,
kernel/debug/kdb/kdb_bp.c
538
.func = kdb_bc,
kernel/debug/kdb/kdb_bp.c
544
.func = kdb_bc,
kernel/debug/kdb/kdb_bp.c
550
.func = kdb_bc,
kernel/debug/kdb/kdb_bp.c
556
.func = kdb_ss,
kernel/debug/kdb/kdb_bp.c
566
.func = kdb_bp,
kernel/debug/kdb/kdb_main.c
1015
result = (*tp->func)(argc-1, (const char **)argv);
kernel/debug/kdb/kdb_main.c
2526
cmd->name, cmd->func, cmd->help);
kernel/debug/kdb/kdb_main.c
2564
.func = kdb_md,
kernel/debug/kdb/kdb_main.c
2571
.func = kdb_md,
kernel/debug/kdb/kdb_main.c
2577
.func = kdb_md,
kernel/debug/kdb/kdb_main.c
2583
.func = kdb_md,
kernel/debug/kdb/kdb_main.c
2589
.func = kdb_mm,
kernel/debug/kdb/kdb_main.c
2595
.func = kdb_go,
kernel/debug/kdb/kdb_main.c
2603
.func = kdb_rd,
kernel/debug/kdb/kdb_main.c
2609
.func = kdb_rm,
kernel/debug/kdb/kdb_main.c
2615
.func = kdb_ef,
kernel/debug/kdb/kdb_main.c
2621
.func = kdb_bt,
kernel/debug/kdb/kdb_main.c
2628
.func = kdb_bt,
kernel/debug/kdb/kdb_main.c
2634
.func = kdb_bt,
kernel/debug/kdb/kdb_main.c
2640
.func = kdb_bt,
kernel/debug/kdb/kdb_main.c
2646
.func = kdb_bt,
kernel/debug/kdb/kdb_main.c
2652
.func = kdb_env,
kernel/debug/kdb/kdb_main.c
2658
.func = kdb_set,
kernel/debug/kdb/kdb_main.c
2664
.func = kdb_help,
kernel/debug/kdb/kdb_main.c
2671
.func = kdb_help,
kernel/debug/kdb/kdb_main.c
2677
.func = kdb_cpu,
kernel/debug/kdb/kdb_main.c
2683
.func = kdb_kgdb,
kernel/debug/kdb/kdb_main.c
2689
.func = kdb_ps,
kernel/debug/kdb/kdb_main.c
2695
.func = kdb_pid,
kernel/debug/kdb/kdb_main.c
2701
.func = kdb_reboot,
kernel/debug/kdb/kdb_main.c
2708
.func = kdb_lsmod,
kernel/debug/kdb/kdb_main.c
2716
.func = kdb_sr,
kernel/debug/kdb/kdb_main.c
2724
.func = kdb_dmesg,
kernel/debug/kdb/kdb_main.c
2731
.func = kdb_defcmd,
kernel/debug/kdb/kdb_main.c
2742
.func = kdb_kill,
kernel/debug/kdb/kdb_main.c
2748
.func = kdb_summary,
kernel/debug/kdb/kdb_main.c
2755
.func = kdb_per_cpu,
kernel/debug/kdb/kdb_main.c
2762
.func = kdb_grep_help,
kernel/debug/kdb/kdb_main.c
692
if (kp->func == kdb_exec_defcmd) {
kernel/debug/kdb/kdb_main.c
715
mp->func = kdb_exec_defcmd;
kernel/events/core.c
10266
struct bpf_prog *subprog = prog->aux->func[i];
kernel/events/core.c
112
task_function_call(struct task_struct *p, remote_function_f func, void *info)
kernel/events/core.c
116
.func = func,
kernel/events/core.c
147
static int cpu_function_call(int cpu, remote_function_f func, void *info)
kernel/events/core.c
151
.func = func,
kernel/events/core.c
276
event_f func;
kernel/events/core.c
319
efs->func(event, cpuctx, ctx, efs->data);
kernel/events/core.c
326
static void event_function_call(struct perf_event *event, event_f func, void *data)
kernel/events/core.c
333
.func = func,
kernel/events/core.c
3487
int (*func)(struct perf_event *, struct perf_event_attr *);
kernel/events/core.c
3496
func = perf_event_modify_breakpoint;
kernel/events/core.c
3512
err = func(event, attr);
kernel/events/core.c
3517
err = func(child, attr);
kernel/events/core.c
373
func(event, NULL, ctx, data);
kernel/events/core.c
383
static void event_function_local(struct perf_event *event, event_f func, void *data)
kernel/events/core.c
4003
int (*func)(struct perf_event *, void *),
kernel/events/core.c
4059
ret = func(*evt, data);
kernel/events/core.c
422
func(event, cpuctx, ctx, data);
kernel/events/core.c
6477
void (*func)(struct perf_event *))
kernel/events/core.c
6484
func(event);
kernel/events/core.c
6486
func(child);
kernel/events/core.c
6491
void (*func)(struct perf_event *))
kernel/events/core.c
6500
perf_event_for_each_child(event, func);
kernel/events/core.c
6502
perf_event_for_each_child(sibling, func);
kernel/events/core.c
6601
void (*func)(struct perf_event *);
kernel/events/core.c
6609
func = _perf_event_enable;
kernel/events/core.c
6612
func = _perf_event_disable;
kernel/events/core.c
6615
func = _perf_event_reset;
kernel/events/core.c
6704
perf_event_for_each(event, func);
kernel/events/core.c
6706
perf_event_for_each_child(event, func);
kernel/events/core.c
6984
#define get_mapped(event, func) \
kernel/events/core.c
6990
f = pmu->func; \
kernel/events/core.c
70
remote_function_f func;
kernel/events/core.c
95
tfc->ret = tfc->func(tfc->info);
kernel/events/uprobes.c
2299
ri->func = instruction_pointer(regs);
kernel/events/uprobes.c
2617
uc->ret_handler(uc, ri->func, regs, ric ? &ric->cookie : NULL);
kernel/irq_work.c
221
work->func(work);
kernel/irq_work.c
82
trace_ipi_send_cpu(smp_processor_id(), _RET_IP_, work->func);
kernel/kcsan/debugfs.c
138
static ssize_t insert_report_filterlist(const char *func)
kernel/kcsan/debugfs.c
141
unsigned long addr = kallsyms_lookup_name(func);
kernel/kcsan/debugfs.c
148
pr_err("could not find function: '%s'\n", func);
kernel/kcsan/kcsan_test.c
1470
void (*func)(void);
kernel/kcsan/kcsan_test.c
1474
func = smp_load_acquire(&access_kernels[idx]);
kernel/kcsan/kcsan_test.c
1475
if (func)
kernel/kcsan/kcsan_test.c
1476
func();
kernel/kcsan/kcsan_test.c
1486
void (*func)(void);
kernel/kcsan/kcsan_test.c
1498
func = smp_load_acquire(&access_kernels[idx]);
kernel/kcsan/kcsan_test.c
1499
if (func)
kernel/kcsan/kcsan_test.c
1500
func();
kernel/kcsan/report.c
329
unsigned long func = stack_entries[skip];
kernel/kcsan/report.c
331
if (!kallsyms_lookup_size_offset(func, &symbolsize, &offset))
kernel/kcsan/report.c
333
func -= offset;
kernel/kcsan/report.c
335
if (func == target_func) {
kernel/kexec_file.c
588
int (*func)(struct resource *, void *))
kernel/kexec_file.c
597
return func(&crashk_res, kbuf);
kernel/kexec_file.c
615
ret = func(&res, kbuf);
kernel/kexec_file.c
629
ret = func(&res, kbuf);
kernel/kexec_file.c
639
int (*func)(struct resource *, void *))
kernel/kexec_file.c
655
int (*func)(struct resource *, void *))
kernel/kexec_file.c
662
kbuf, func);
kernel/kexec_file.c
665
return walk_system_ram_res_rev(0, ULONG_MAX, kbuf, func);
kernel/kexec_file.c
667
return walk_system_ram_res(0, ULONG_MAX, kbuf, func);
kernel/kexec_internal.h
47
int (*func)(struct resource *, void *));
kernel/kexec_internal.h
51
int (*func)(struct resource *, void *))
kernel/kprobes.c
1126
.func = kprobe_ftrace_handler,
kernel/kprobes.c
1131
.func = kprobe_ftrace_handler,
kernel/kthread.c
1022
kthread_work_func_t func = work->func;
kernel/kthread.c
1025
work->func(work);
kernel/kthread.c
1030
trace_sched_kthread_work_execute_end(work, func);
kernel/livepatch/core.c
519
struct klp_func *func);
kernel/livepatch/core.c
546
static void klp_free_func_nop(struct klp_func *func)
kernel/livepatch/core.c
548
kfree(func->old_name);
kernel/livepatch/core.c
549
kfree(func);
kernel/livepatch/core.c
555
struct klp_func *func;
kernel/livepatch/core.c
557
func = kzalloc_obj(*func);
kernel/livepatch/core.c
558
if (!func)
kernel/livepatch/core.c
562
func->old_name = kstrdup(old_func->old_name, GFP_KERNEL);
kernel/livepatch/core.c
563
if (!func->old_name) {
kernel/livepatch/core.c
564
kfree(func);
kernel/livepatch/core.c
569
klp_init_func_early(obj, func);
kernel/livepatch/core.c
574
func->old_sympos = old_func->old_sympos;
kernel/livepatch/core.c
575
func->nop = true;
kernel/livepatch/core.c
577
return func;
kernel/livepatch/core.c
584
struct klp_func *func, *old_func;
kernel/livepatch/core.c
595
func = klp_find_func(obj, old_func);
kernel/livepatch/core.c
596
if (func)
kernel/livepatch/core.c
599
func = klp_alloc_func_nop(old_func, obj);
kernel/livepatch/core.c
600
if (!func)
kernel/livepatch/core.c
665
struct klp_func *func;
kernel/livepatch/core.c
667
func = container_of(kobj, struct klp_func, kobj);
kernel/livepatch/core.c
669
if (func->nop)
kernel/livepatch/core.c
670
klp_free_func_nop(func);
kernel/livepatch/core.c
680
struct klp_func *func, *tmp_func;
kernel/livepatch/core.c
682
klp_for_each_func_safe(obj, func, tmp_func) {
kernel/livepatch/core.c
683
if (nops_only && !func->nop)
kernel/livepatch/core.c
686
list_del(&func->node);
kernel/livepatch/core.c
687
kobject_put(&func->kobj);
kernel/livepatch/core.c
694
struct klp_func *func;
kernel/livepatch/core.c
698
klp_for_each_func(obj, func) {
kernel/livepatch/core.c
699
func->old_func = NULL;
kernel/livepatch/core.c
701
if (func->nop)
kernel/livepatch/core.c
702
func->new_func = NULL;
kernel/livepatch/core.c
800
static int klp_init_func(struct klp_object *obj, struct klp_func *func)
kernel/livepatch/core.c
802
if (!func->old_name)
kernel/livepatch/core.c
809
if (!func->new_func && !func->nop)
kernel/livepatch/core.c
812
if (strlen(func->old_name) >= KSYM_NAME_LEN)
kernel/livepatch/core.c
815
INIT_LIST_HEAD(&func->stack_node);
kernel/livepatch/core.c
816
func->patched = false;
kernel/livepatch/core.c
817
func->transition = false;
kernel/livepatch/core.c
824
return kobject_add(&func->kobj, &obj->kobj, "%s,%lu",
kernel/livepatch/core.c
825
func->old_name,
kernel/livepatch/core.c
826
func->old_sympos ? func->old_sympos : 1);
kernel/livepatch/core.c
869
struct klp_func *func;
kernel/livepatch/core.c
88
struct klp_func *func;
kernel/livepatch/core.c
884
klp_for_each_func(obj, func) {
kernel/livepatch/core.c
885
ret = klp_find_object_symbol(obj->name, func->old_name,
kernel/livepatch/core.c
886
func->old_sympos,
kernel/livepatch/core.c
887
(unsigned long *)&func->old_func);
kernel/livepatch/core.c
891
ret = kallsyms_lookup_size_offset((unsigned long)func->old_func,
kernel/livepatch/core.c
892
&func->old_size, NULL);
kernel/livepatch/core.c
895
func->old_name);
kernel/livepatch/core.c
899
if (func->nop)
kernel/livepatch/core.c
90
klp_for_each_func(obj, func) {
kernel/livepatch/core.c
900
func->new_func = func->old_func;
kernel/livepatch/core.c
902
ret = kallsyms_lookup_size_offset((unsigned long)func->new_func,
kernel/livepatch/core.c
903
&func->new_size, NULL);
kernel/livepatch/core.c
906
func->old_name);
kernel/livepatch/core.c
916
struct klp_func *func;
kernel/livepatch/core.c
933
klp_for_each_func(obj, func) {
kernel/livepatch/core.c
934
ret = klp_init_func(obj, func);
kernel/livepatch/core.c
946
struct klp_func *func)
kernel/livepatch/core.c
948
kobject_init(&func->kobj, &klp_ktype_func);
kernel/livepatch/core.c
949
list_add_tail(&func->node, &obj->func_list);
kernel/livepatch/core.c
95
if ((strcmp(old_func->old_name, func->old_name) == 0) &&
kernel/livepatch/core.c
96
((old_func->old_sympos == func->old_sympos) ||
kernel/livepatch/core.c
963
struct klp_func *func;
kernel/livepatch/core.c
97
(old_func->old_sympos == 0 && func->old_sympos == 1) ||
kernel/livepatch/core.c
976
klp_for_each_func_static(obj, func) {
kernel/livepatch/core.c
977
klp_init_func_early(obj, func);
kernel/livepatch/core.c
98
(old_func->old_sympos == 1 && func->old_sympos == 0))) {
kernel/livepatch/core.c
99
return func;
kernel/livepatch/patch.c
106
func = list_entry_rcu(func->stack_node.next,
kernel/livepatch/patch.c
109
if (&func->stack_node == &ops->func_stack)
kernel/livepatch/patch.c
118
if (func->nop)
kernel/livepatch/patch.c
121
ftrace_regs_set_instruction_pointer(fregs, (unsigned long)func->new_func);
kernel/livepatch/patch.c
127
static void klp_unpatch_func(struct klp_func *func)
kernel/livepatch/patch.c
131
if (WARN_ON(!func->patched))
kernel/livepatch/patch.c
133
if (WARN_ON(!func->old_func))
kernel/livepatch/patch.c
136
ops = klp_find_ops(func->old_func);
kernel/livepatch/patch.c
143
ftrace_loc = ftrace_location((unsigned long)func->old_func);
kernel/livepatch/patch.c
150
list_del_rcu(&func->stack_node);
kernel/livepatch/patch.c
154
list_del_rcu(&func->stack_node);
kernel/livepatch/patch.c
157
func->patched = false;
kernel/livepatch/patch.c
160
static int klp_patch_func(struct klp_func *func)
kernel/livepatch/patch.c
165
if (WARN_ON(!func->old_func))
kernel/livepatch/patch.c
168
if (WARN_ON(func->patched))
kernel/livepatch/patch.c
171
ops = klp_find_ops(func->old_func);
kernel/livepatch/patch.c
175
ftrace_loc = ftrace_location((unsigned long)func->old_func);
kernel/livepatch/patch.c
178
func->old_name);
kernel/livepatch/patch.c
186
ops->fops.func = klp_ftrace_handler;
kernel/livepatch/patch.c
197
list_add_rcu(&func->stack_node, &ops->func_stack);
kernel/livepatch/patch.c
202
func->old_name, ret);
kernel/livepatch/patch.c
209
func->old_name, ret);
kernel/livepatch/patch.c
216
list_add_rcu(&func->stack_node, &ops->func_stack);
kernel/livepatch/patch.c
219
func->patched = true;
kernel/livepatch/patch.c
224
list_del_rcu(&func->stack_node);
kernel/livepatch/patch.c
232
struct klp_func *func;
kernel/livepatch/patch.c
234
klp_for_each_func(obj, func) {
kernel/livepatch/patch.c
235
if (nops_only && !func->nop)
kernel/livepatch/patch.c
238
if (func->patched)
kernel/livepatch/patch.c
239
klp_unpatch_func(func);
kernel/livepatch/patch.c
254
struct klp_func *func;
kernel/livepatch/patch.c
260
klp_for_each_func(obj, func) {
kernel/livepatch/patch.c
261
ret = klp_patch_func(func);
kernel/livepatch/patch.c
28
struct klp_func *func;
kernel/livepatch/patch.c
31
func = list_first_entry(&ops->func_stack, struct klp_func,
kernel/livepatch/patch.c
33
if (func->old_func == old_func)
kernel/livepatch/patch.c
46
struct klp_func *func;
kernel/livepatch/patch.c
62
func = list_first_or_null_rcu(&ops->func_stack, struct klp_func,
kernel/livepatch/patch.c
70
if (WARN_ON_ONCE(!func))
kernel/livepatch/patch.c
86
if (unlikely(func->transition)) {
kernel/livepatch/transition.c
114
klp_for_each_func(obj, func)
kernel/livepatch/transition.c
115
func->transition = false;
kernel/livepatch/transition.c
205
static int klp_check_stack_func(struct klp_func *func, unsigned long *entries,
kernel/livepatch/transition.c
217
func_addr = (unsigned long)func->new_func;
kernel/livepatch/transition.c
218
func_size = func->new_size;
kernel/livepatch/transition.c
224
ops = klp_find_ops(func->old_func);
kernel/livepatch/transition.c
228
func_addr = (unsigned long)func->old_func;
kernel/livepatch/transition.c
229
func_size = func->old_size;
kernel/livepatch/transition.c
234
prev = list_next_entry(func, stack_node);
kernel/livepatch/transition.c
258
struct klp_func *func;
kernel/livepatch/transition.c
272
klp_for_each_func(obj, func) {
kernel/livepatch/transition.c
273
ret = klp_check_stack_func(func, entries, nr_entries);
kernel/livepatch/transition.c
275
*oldname = func->old_name;
kernel/livepatch/transition.c
557
struct klp_func *func;
kernel/livepatch/transition.c
617
klp_for_each_func(obj, func)
kernel/livepatch/transition.c
618
func->transition = true;
kernel/livepatch/transition.c
84
struct klp_func *func;
kernel/liveupdate/kexec_handover.c
1579
int (*func)(struct resource *, void *))
kernel/liveupdate/kexec_handover.c
1591
ret = func(&res, kbuf);
kernel/liveupdate/kexec_handover.c
1600
int (*func)(struct resource *, void *))
kernel/liveupdate/kexec_handover.c
1607
ret = kho_walk_scratch(kbuf, func);
kernel/module/main.c
3861
void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data)
kernel/module/main.c
3869
if (func(mod, data))
kernel/panic.c
358
panic_csd.func = do_panic_on_target_cpu;
kernel/power/hibernate.c
916
int hibernate_quiet_exec(int (*func)(void *data), void *data)
kernel/power/hibernate.c
970
error = func(data);
kernel/printk/index.c
107
seq_printf(s, " %s:%d %s \"", entry->file, entry->line, entry->func);
kernel/printk/printk.c
4737
int __printk_ratelimit(const char *func)
kernel/printk/printk.c
4739
return ___ratelimit(&printk_ratelimit_state, func);
kernel/rcu/rcu.h
263
if (unlikely(!rhp->func))
kernel/rcu/rcuscale.c
157
void (*async)(struct rcu_head *head, rcu_callback_t func);
kernel/rcu/rcuscale.c
229
static void srcu_call_rcu(struct rcu_head *head, rcu_callback_t func)
kernel/rcu/rcuscale.c
231
call_srcu(srcu_ctlp, head, func);
kernel/rcu/rcutorture.c
2888
pr_alert("mem_dump_obj(%px):", &rhp->func);
kernel/rcu/rcutorture.c
2889
mem_dump_obj(&rhp->func);
kernel/rcu/rcutorture.c
2900
pr_alert("mem_dump_obj(kmalloc %px):", &rhp->func);
kernel/rcu/rcutorture.c
2901
mem_dump_obj(&rhp->func);
kernel/rcu/rcutorture.c
2909
pr_alert("mem_dump_obj(vmalloc %px):", &rhp->func);
kernel/rcu/rcutorture.c
2910
mem_dump_obj(&rhp->func);
kernel/rcu/rcutorture.c
665
call_rcu_busted(struct rcu_head *head, rcu_callback_t func)
kernel/rcu/rcutorture.c
668
func(head);
kernel/rcu/rcutorture.c
869
rcu_callback_t func)
kernel/rcu/rcutorture.c
871
call_srcu(srcu_ctlp, head, func);
kernel/rcu/srcutiny.c
164
rhp->func(rhp);
kernel/rcu/srcutiny.c
220
rcu_callback_t func)
kernel/rcu/srcutiny.c
224
rhp->func = func;
kernel/rcu/srcutree.c
1434
rcu_callback_t func, bool do_norm)
kernel/rcu/srcutree.c
1438
WRITE_ONCE(rhp->func, srcu_leak_callback);
kernel/rcu/srcutree.c
1442
rhp->func = func;
kernel/rcu/srcutree.c
1468
rcu_callback_t func)
kernel/rcu/srcutree.c
1470
__call_srcu(ssp, rhp, func, true);
kernel/rcu/srcutree.c
1682
sdp->srcu_barrier_head.func = srcu_barrier_cb;
kernel/rcu/srcutree.c
1917
rhp->func(rhp);
kernel/rcu/tasks.h
1019
void call_rcu_tasks(struct rcu_head *rhp, rcu_callback_t func);
kernel/rcu/tasks.h
1188
void call_rcu_tasks(struct rcu_head *rhp, rcu_callback_t func)
kernel/rcu/tasks.h
1190
call_rcu_tasks_generic(rhp, func, &rcu_tasks);
kernel/rcu/tasks.h
1352
static void call_rcu_tasks_rude(struct rcu_head *rhp, rcu_callback_t func);
kernel/rcu/tasks.h
1377
static void call_rcu_tasks_rude(struct rcu_head *rhp, rcu_callback_t func)
kernel/rcu/tasks.h
1379
call_rcu_tasks_generic(rhp, func, &rcu_tasks_rude);
kernel/rcu/tasks.h
342
static void call_rcu_tasks_generic(struct rcu_head *rhp, rcu_callback_t func,
kernel/rcu/tasks.h
355
rhp->func = func;
kernel/rcu/tasks.h
376
needwake = (func == wakeme_after_rcu) ||
kernel/rcu/tasks.h
440
rtpcp->barrier_q_head.func = rcu_barrier_tasks_generic_cb;
kernel/rcu/tasks.h
574
rhp->func(rhp);
kernel/rcu/tiny.c
158
void call_rcu(struct rcu_head *head, rcu_callback_t func)
kernel/rcu/tiny.c
165
pr_err("%s(): Double-freed CB %p->%pS()!!! ", __func__, head, head->func);
kernel/rcu/tiny.c
171
head->func = func;
kernel/rcu/tiny.c
90
f = head->func;
kernel/rcu/tiny.c
92
WRITE_ONCE(head->func, (rcu_callback_t)0L);
kernel/rcu/tree.c
2614
f = rhp->func;
kernel/rcu/tree.c
2616
WRITE_ONCE(rhp->func, (rcu_callback_t)0L);
kernel/rcu/tree.c
2998
static void rcutree_enqueue(struct rcu_data *rdp, struct rcu_head *head, rcu_callback_t func)
kernel/rcu/tree.c
3010
rcu_callback_t func, unsigned long flags)
kernel/rcu/tree.c
3012
rcutree_enqueue(rdp, head, func);
kernel/rcu/tree.c
3102
__call_rcu_common(struct rcu_head *head, rcu_callback_t func, bool lazy_in)
kernel/rcu/tree.c
3113
if (WARN_ON_ONCE(!func))
kernel/rcu/tree.c
3123
pr_err("%s(): Double-freed CB %p->%pS()!!! ", __func__, head, head->func);
kernel/rcu/tree.c
3126
WRITE_ONCE(head->func, rcu_leak_callback);
kernel/rcu/tree.c
3129
head->func = func;
kernel/rcu/tree.c
3153
call_rcu_nocb(rdp, head, func, flags, lazy);
kernel/rcu/tree.c
3155
call_rcu_core(rdp, head, func, flags);
kernel/rcu/tree.c
3183
void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func)
kernel/rcu/tree.c
3185
__call_rcu_common(head, func, false);
kernel/rcu/tree.c
3249
void call_rcu(struct rcu_head *head, rcu_callback_t func)
kernel/rcu/tree.c
3251
__call_rcu_common(head, func, enable_rcu_lazy);
kernel/rcu/tree.c
3765
rdp->barrier_head.func = rcu_barrier_callback;
kernel/rcu/tree.h
506
rcu_callback_t func, unsigned long flags, bool lazy);
kernel/rcu/tree_nocb.h
1646
rcu_callback_t func, unsigned long flags, bool lazy)
kernel/rcu/tree_nocb.h
576
rcu_callback_t func, unsigned long flags, bool lazy)
kernel/rcu/tree_nocb.h
582
rcutree_enqueue(rdp, head, func);
kernel/resource.c
412
int (*func)(struct resource *, void *))
kernel/resource.c
419
ret = (*func)(&res, arg);
kernel/resource.c
432
int (*func)(struct resource *, void *))
kernel/resource.c
434
return walk_res_desc(&iomem_resource, start, end, flags, desc, arg, func);
kernel/resource.c
456
u64 end, void *arg, int (*func)(struct resource *, void *))
kernel/resource.c
458
return __walk_iomem_res_desc(start, end, flags, desc, arg, func);
kernel/resource.c
467
int (*func)(struct resource *, void *))
kernel/resource.c
470
IORES_DESC_SOFT_RESERVED, arg, func);
kernel/resource.c
482
int (*func)(struct resource *, void *))
kernel/resource.c
487
func);
kernel/resource.c
497
int (*func)(struct resource *, void *))
kernel/resource.c
532
ret = (*func)(&rams[i], arg);
kernel/resource.c
547
int (*func)(struct resource *, void *))
kernel/resource.c
552
func);
kernel/resource.c
561
void *arg, int (*func)(unsigned long, unsigned long, void *))
kernel/resource.c
577
ret = (*func)(pfn, end_pfn - pfn, arg);
kernel/sched/core.c
4298
int task_call_func(struct task_struct *p, task_call_f func, void *arg)
kernel/sched/core.c
4318
ret = func(p, arg);
kernel/sched/core.c
4322
ret = func(p, arg);
kernel/sched/core.c
4918
void (*func)(struct rq *rq);
kernel/sched/core.c
4924
func = (void (*)(struct rq *))head->func;
kernel/sched/core.c
4929
func(rq);
kernel/sched/core.c
4948
.func = balance_push,
kernel/sched/cpufreq.c
31
void (*func)(struct update_util_data *data, u64 time,
kernel/sched/cpufreq.c
34
if (WARN_ON(!data || !func))
kernel/sched/cpufreq.c
40
data->func = func;
kernel/sched/ext.c
6090
BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU)
kernel/sched/ext.c
6091
BTF_ID_FLAGS(func, scx_bpf_dsq_insert___v2, KF_RCU)
kernel/sched/ext.c
6092
BTF_ID_FLAGS(func, __scx_bpf_dsq_insert_vtime, KF_RCU)
kernel/sched/ext.c
6093
BTF_ID_FLAGS(func, scx_bpf_dsq_insert_vtime, KF_RCU)
kernel/sched/ext.c
6386
BTF_ID_FLAGS(func, scx_bpf_dispatch_nr_slots)
kernel/sched/ext.c
6387
BTF_ID_FLAGS(func, scx_bpf_dispatch_cancel)
kernel/sched/ext.c
6388
BTF_ID_FLAGS(func, scx_bpf_dsq_move_to_local)
kernel/sched/ext.c
6389
BTF_ID_FLAGS(func, scx_bpf_dsq_move_set_slice, KF_RCU)
kernel/sched/ext.c
6390
BTF_ID_FLAGS(func, scx_bpf_dsq_move_set_vtime, KF_RCU)
kernel/sched/ext.c
6391
BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU)
kernel/sched/ext.c
6392
BTF_ID_FLAGS(func, scx_bpf_dsq_move_vtime, KF_RCU)
kernel/sched/ext.c
6476
BTF_ID_FLAGS(func, scx_bpf_reenqueue_local)
kernel/sched/ext.c
6531
BTF_ID_FLAGS(func, scx_bpf_create_dsq, KF_SLEEPABLE)
kernel/sched/ext.c
6532
BTF_ID_FLAGS(func, scx_bpf_dsq_move_set_slice, KF_RCU)
kernel/sched/ext.c
6533
BTF_ID_FLAGS(func, scx_bpf_dsq_move_set_vtime, KF_RCU)
kernel/sched/ext.c
6534
BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU)
kernel/sched/ext.c
6535
BTF_ID_FLAGS(func, scx_bpf_dsq_move_vtime, KF_RCU)
kernel/sched/ext.c
7431
BTF_ID_FLAGS(func, scx_bpf_task_set_slice, KF_RCU);
kernel/sched/ext.c
7432
BTF_ID_FLAGS(func, scx_bpf_task_set_dsq_vtime, KF_RCU);
kernel/sched/ext.c
7433
BTF_ID_FLAGS(func, scx_bpf_kick_cpu)
kernel/sched/ext.c
7434
BTF_ID_FLAGS(func, scx_bpf_dsq_nr_queued)
kernel/sched/ext.c
7435
BTF_ID_FLAGS(func, scx_bpf_destroy_dsq)
kernel/sched/ext.c
7436
BTF_ID_FLAGS(func, scx_bpf_dsq_peek, KF_RCU_PROTECTED | KF_RET_NULL)
kernel/sched/ext.c
7437
BTF_ID_FLAGS(func, bpf_iter_scx_dsq_new, KF_ITER_NEW | KF_RCU_PROTECTED)
kernel/sched/ext.c
7438
BTF_ID_FLAGS(func, bpf_iter_scx_dsq_next, KF_ITER_NEXT | KF_RET_NULL)
kernel/sched/ext.c
7439
BTF_ID_FLAGS(func, bpf_iter_scx_dsq_destroy, KF_ITER_DESTROY)
kernel/sched/ext.c
7440
BTF_ID_FLAGS(func, scx_bpf_exit_bstr)
kernel/sched/ext.c
7441
BTF_ID_FLAGS(func, scx_bpf_error_bstr)
kernel/sched/ext.c
7442
BTF_ID_FLAGS(func, scx_bpf_dump_bstr)
kernel/sched/ext.c
7443
BTF_ID_FLAGS(func, scx_bpf_reenqueue_local___v2)
kernel/sched/ext.c
7444
BTF_ID_FLAGS(func, scx_bpf_cpuperf_cap)
kernel/sched/ext.c
7445
BTF_ID_FLAGS(func, scx_bpf_cpuperf_cur)
kernel/sched/ext.c
7446
BTF_ID_FLAGS(func, scx_bpf_cpuperf_set)
kernel/sched/ext.c
7447
BTF_ID_FLAGS(func, scx_bpf_nr_node_ids)
kernel/sched/ext.c
7448
BTF_ID_FLAGS(func, scx_bpf_nr_cpu_ids)
kernel/sched/ext.c
7449
BTF_ID_FLAGS(func, scx_bpf_get_possible_cpumask, KF_ACQUIRE)
kernel/sched/ext.c
7450
BTF_ID_FLAGS(func, scx_bpf_get_online_cpumask, KF_ACQUIRE)
kernel/sched/ext.c
7451
BTF_ID_FLAGS(func, scx_bpf_put_cpumask, KF_RELEASE)
kernel/sched/ext.c
7452
BTF_ID_FLAGS(func, scx_bpf_task_running, KF_RCU)
kernel/sched/ext.c
7453
BTF_ID_FLAGS(func, scx_bpf_task_cpu, KF_RCU)
kernel/sched/ext.c
7454
BTF_ID_FLAGS(func, scx_bpf_cpu_rq)
kernel/sched/ext.c
7455
BTF_ID_FLAGS(func, scx_bpf_locked_rq, KF_RET_NULL)
kernel/sched/ext.c
7456
BTF_ID_FLAGS(func, scx_bpf_cpu_curr, KF_RET_NULL | KF_RCU_PROTECTED)
kernel/sched/ext.c
7458
BTF_ID_FLAGS(func, scx_bpf_task_cgroup, KF_RCU | KF_ACQUIRE)
kernel/sched/ext.c
7460
BTF_ID_FLAGS(func, scx_bpf_now)
kernel/sched/ext.c
7461
BTF_ID_FLAGS(func, scx_bpf_events)
kernel/sched/ext_idle.c
1411
BTF_ID_FLAGS(func, scx_bpf_cpu_node)
kernel/sched/ext_idle.c
1412
BTF_ID_FLAGS(func, scx_bpf_get_idle_cpumask_node, KF_ACQUIRE)
kernel/sched/ext_idle.c
1413
BTF_ID_FLAGS(func, scx_bpf_get_idle_cpumask, KF_ACQUIRE)
kernel/sched/ext_idle.c
1414
BTF_ID_FLAGS(func, scx_bpf_get_idle_smtmask_node, KF_ACQUIRE)
kernel/sched/ext_idle.c
1415
BTF_ID_FLAGS(func, scx_bpf_get_idle_smtmask, KF_ACQUIRE)
kernel/sched/ext_idle.c
1416
BTF_ID_FLAGS(func, scx_bpf_put_idle_cpumask, KF_RELEASE)
kernel/sched/ext_idle.c
1417
BTF_ID_FLAGS(func, scx_bpf_test_and_clear_cpu_idle)
kernel/sched/ext_idle.c
1418
BTF_ID_FLAGS(func, scx_bpf_pick_idle_cpu_node, KF_RCU)
kernel/sched/ext_idle.c
1419
BTF_ID_FLAGS(func, scx_bpf_pick_idle_cpu, KF_RCU)
kernel/sched/ext_idle.c
1420
BTF_ID_FLAGS(func, scx_bpf_pick_any_cpu_node, KF_RCU)
kernel/sched/ext_idle.c
1421
BTF_ID_FLAGS(func, scx_bpf_pick_any_cpu, KF_RCU)
kernel/sched/ext_idle.c
1422
BTF_ID_FLAGS(func, __scx_bpf_select_cpu_and, KF_RCU)
kernel/sched/ext_idle.c
1423
BTF_ID_FLAGS(func, scx_bpf_select_cpu_and, KF_RCU)
kernel/sched/ext_idle.c
1424
BTF_ID_FLAGS(func, scx_bpf_select_cpu_dfl, KF_RCU)
kernel/sched/sched.h
2069
void (*func)(struct rq *rq))
kernel/sched/sched.h
2081
head->func = func;
kernel/sched/sched.h
3477
data->func(data, rq_clock(rq), flags);
kernel/sched/sched.h
674
void (*func)(struct rq *rq);
kernel/sched/wait.c
108
ret = curr->func(curr, mode, wake_flags, key);
kernel/sched/wait.c
284
wq_entry->func = autoremove_wake_function;
kernel/sched/wait_bit.c
195
.func = var_wake_function,
kernel/smp.c
1034
void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
kernel/smp.c
1043
smp_call_function_many_cond(mask, func, info, scf_flags, cond_func);
kernel/smp.c
1128
int (*func)(void *);
kernel/smp.c
1141
sscs->ret = sscs->func(sscs->data);
kernel/smp.c
1148
int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys)
kernel/smp.c
1152
.func = func,
kernel/smp.c
133
csd_do_func(smp_call_func_t func, void *info, call_single_data_t *csd)
kernel/smp.c
135
trace_csd_function_entry(func, csd);
kernel/smp.c
136
func(info);
kernel/smp.c
137
trace_csd_function_exit(func, csd);
kernel/smp.c
189
__this_cpu_write(cur_csd_func, csd->func);
kernel/smp.c
280
cpu, csd->func, csd->info);
kernel/smp.c
391
smp_call_func_t func;
kernel/smp.c
394
func = CSD_TYPE(csd) == CSD_TYPE_TTWU ?
kernel/smp.c
395
sched_ttwu_pending : csd->func;
kernel/smp.c
397
trace_csd_queue_cpu(cpu, _RET_IP_, func, csd);
kernel/smp.c
428
smp_call_func_t func = csd->func;
kernel/smp.c
439
csd_do_func(func, info, NULL);
kernel/smp.c
514
csd->func);
kernel/smp.c
536
smp_call_func_t func = csd->func;
kernel/smp.c
546
csd_do_func(func, info, csd);
kernel/smp.c
572
smp_call_func_t func = csd->func;
kernel/smp.c
577
csd_do_func(func, info, csd);
kernel/smp.c
636
int smp_call_function_single(int cpu, smp_call_func_t func, void *info,
kernel/smp.c
677
csd->func = func;
kernel/smp.c
755
smp_call_func_t func, void *info, int wait)
kernel/smp.c
765
ret = smp_call_function_single(cpu, func, info, wait);
kernel/smp.c
781
smp_call_func_t func, void *info,
kernel/smp.c
832
csd->func = func;
kernel/smp.c
838
trace_csd_queue_cpu(cpu, _RET_IP_, func, csd);
kernel/smp.c
868
csd_do_func(func, info, NULL);
kernel/smp.c
898
smp_call_func_t func, void *info, bool wait)
kernel/smp.c
900
smp_call_function_many_cond(mask, func, info, wait * SCF_WAIT, NULL);
kernel/smp.c
919
void smp_call_function(smp_call_func_t func, void *info, int wait)
kernel/smp.c
922
smp_call_function_many(cpu_online_mask, func, info, wait);
kernel/softirq.c
846
t->use_callback ? (void *)t->callback : (void *)t->func);
kernel/softirq.c
928
trace_tasklet_entry(t, t->func);
kernel/softirq.c
929
t->func(t->data);
kernel/softirq.c
930
trace_tasklet_exit(t, t->func);
kernel/softirq.c
975
void (*func)(unsigned long), unsigned long data)
kernel/softirq.c
980
t->func = func;
kernel/static_call_inline.c
134
void __static_call_update(struct static_call_key *key, void *tramp, void *func)
kernel/static_call_inline.c
142
if (key->func == func)
kernel/static_call_inline.c
145
key->func = func;
kernel/static_call_inline.c
147
arch_static_call_transform(NULL, tramp, func, false);
kernel/static_call_inline.c
209
arch_static_call_transform(site_addr, tramp, func,
kernel/static_call_inline.c
286
arch_static_call_transform(site_addr, NULL, key->func,
kernel/static_call_inline.c
540
int (*func)(int);
kernel/static_call_inline.c
556
if (scd->func)
kernel/static_call_inline.c
557
static_call_update(sc_selftest, scd->func);
kernel/task_work.c
148
return cb->func == data;
kernel/task_work.c
163
task_work_cancel_func(struct task_struct *task, task_work_func_t func)
kernel/task_work.c
165
return task_work_cancel_match(task, task_work_func_match, func);
kernel/task_work.c
233
work->func(work);
kernel/time/timer.c
666
struct delayed_work, timer, work.func),
kernel/time/timer.c
668
struct kthread_delayed_work, timer, work.func),
kernel/time/timer.c
807
void (*func)(struct timer_list *),
kernel/time/timer.c
812
void (*func)(struct timer_list *),
kernel/time/timer.c
817
do_init_timer(timer, func, flags, name, key);
kernel/time/timer.c
852
void (*func)(struct timer_list *),
kernel/time/timer.c
857
timer->function = func;
kernel/time/timer.c
877
void (*func)(struct timer_list *), unsigned int flags,
kernel/time/timer.c
881
do_init_timer(timer, func, flags, name, key);
kernel/trace/bpf_trace.c
1022
.func = bpf_snprintf_btf,
kernel/trace/bpf_trace.c
1039
.func = bpf_get_func_ip_tracing,
kernel/trace/bpf_trace.c
1074
.func = bpf_get_func_ip_kprobe,
kernel/trace/bpf_trace.c
1086
.func = bpf_get_func_ip_kprobe_multi,
kernel/trace/bpf_trace.c
1098
.func = bpf_get_attach_cookie_kprobe_multi,
kernel/trace/bpf_trace.c
1110
.func = bpf_get_func_ip_uprobe_multi,
kernel/trace/bpf_trace.c
1122
.func = bpf_get_attach_cookie_uprobe_multi,
kernel/trace/bpf_trace.c
1137
.func = bpf_get_attach_cookie_trace,
kernel/trace/bpf_trace.c
1149
.func = bpf_get_attach_cookie_pe,
kernel/trace/bpf_trace.c
1164
.func = bpf_get_attach_cookie_tracing,
kernel/trace/bpf_trace.c
1187
.func = bpf_get_branch_snapshot,
kernel/trace/bpf_trace.c
1206
.func = get_func_arg,
kernel/trace/bpf_trace.c
1224
.func = get_func_ret,
kernel/trace/bpf_trace.c
1238
.func = get_func_arg_cnt,
kernel/trace/bpf_trace.c
1386
.func = bpf_perf_event_output_tp,
kernel/trace/bpf_trace.c
1411
.func = bpf_get_stackid_tp,
kernel/trace/bpf_trace.c
1429
.func = bpf_get_stack_tp,
kernel/trace/bpf_trace.c
1496
.func = bpf_perf_prog_read_value,
kernel/trace/bpf_trace.c
1533
.func = bpf_read_branch_records,
kernel/trace/bpf_trace.c
1611
.func = bpf_perf_event_output_raw_tp,
kernel/trace/bpf_trace.c
164
.func = bpf_override_return,
kernel/trace/bpf_trace.c
1643
.func = bpf_get_stackid_raw_tp,
kernel/trace/bpf_trace.c
1668
.func = bpf_get_stack_raw_tp,
kernel/trace/bpf_trace.c
190
.func = bpf_probe_read_user,
kernel/trace/bpf_trace.c
227
.func = bpf_probe_read_user_str,
kernel/trace/bpf_trace.c
242
.func = bpf_probe_read_kernel,
kernel/trace/bpf_trace.c
277
.func = bpf_probe_read_kernel_str,
kernel/trace/bpf_trace.c
297
.func = bpf_probe_read_compat,
kernel/trace/bpf_trace.c
3144
uprobe_multi_link_ret_handler(struct uprobe_consumer *con, unsigned long func, struct pt_regs *regs,
kernel/trace/bpf_trace.c
3150
uprobe_prog_run(uprobe, func, regs, true, data);
kernel/trace/bpf_trace.c
316
.func = bpf_probe_read_compat_str,
kernel/trace/bpf_trace.c
3358
BTF_ID_FLAGS(func, bpf_session_is_return)
kernel/trace/bpf_trace.c
3359
BTF_ID_FLAGS(func, bpf_session_cookie)
kernel/trace/bpf_trace.c
351
.func = bpf_probe_write_user,
kernel/trace/bpf_trace.c
387
.func = bpf_trace_printk,
kernel/trace/bpf_trace.c
443
.func = bpf_trace_vprintk,
kernel/trace/bpf_trace.c
485
.func = bpf_seq_printf,
kernel/trace/bpf_trace.c
502
.func = bpf_seq_write,
kernel/trace/bpf_trace.c
526
.func = bpf_seq_printf_btf,
kernel/trace/bpf_trace.c
575
.func = bpf_perf_event_read,
kernel/trace/bpf_trace.c
600
.func = bpf_perf_event_read_value,
kernel/trace/bpf_trace.c
696
.func = bpf_perf_event_output,
kernel/trace/bpf_trace.c
761
.func = bpf_get_current_task,
kernel/trace/bpf_trace.c
772
.func = bpf_get_current_task_btf,
kernel/trace/bpf_trace.c
786
.func = bpf_task_pt_regs,
kernel/trace/bpf_trace.c
884
.func = bpf_send_signal,
kernel/trace/bpf_trace.c
896
.func = bpf_send_signal_thread,
kernel/trace/bpf_trace.c
933
BTF_ID(func, security_file_permission)
kernel/trace/bpf_trace.c
934
BTF_ID(func, security_inode_getattr)
kernel/trace/bpf_trace.c
935
BTF_ID(func, security_file_open)
kernel/trace/bpf_trace.c
938
BTF_ID(func, security_path_truncate)
kernel/trace/bpf_trace.c
940
BTF_ID(func, vfs_truncate)
kernel/trace/bpf_trace.c
941
BTF_ID(func, vfs_fallocate)
kernel/trace/bpf_trace.c
942
BTF_ID(func, dentry_open)
kernel/trace/bpf_trace.c
943
BTF_ID(func, vfs_getattr)
kernel/trace/bpf_trace.c
944
BTF_ID(func, filp_close)
kernel/trace/bpf_trace.c
963
.func = bpf_d_path,
kernel/trace/fgraph.c
1004
.func = ftrace_graph_func,
kernel/trace/fgraph.c
1288
trace_func_graph_ent_t func = NULL;
kernel/trace/fgraph.c
1296
func = gops->entryfunc;
kernel/trace/fgraph.c
1302
func = fgraph_array[i]->entryfunc;
kernel/trace/fgraph.c
1307
if (WARN_ON_ONCE(!func))
kernel/trace/fgraph.c
1310
static_call_update(fgraph_func, func);
kernel/trace/fgraph.c
563
ftrace_push_return_trace(unsigned long ret, unsigned long func,
kernel/trace/fgraph.c
629
ret_stack->func = func;
kernel/trace/fgraph.c
652
int function_graph_enter_regs(unsigned long ret, unsigned long func,
kernel/trace/fgraph.c
662
bit = ftrace_test_recursion_trylock(func, ret);
kernel/trace/fgraph.c
666
trace.func = func;
kernel/trace/fgraph.c
669
offset = ftrace_push_return_trace(ret, func, frame_pointer, retp, 0);
kernel/trace/fgraph.c
694
if (ftrace_ops_test(&gops->ops, func, NULL) &&
kernel/trace/fgraph.c
760
(void *)ret_stack->func,
kernel/trace/fgraph.c
769
trace->func = ret_stack->func;
kernel/trace/fgraph.c
834
bit = ftrace_test_recursion_trylock(trace.func, ret);
kernel/trace/fprobe.c
298
.func = fprobe_ftrace_entry,
kernel/trace/fprobe.c
377
unsigned long func = trace->func;
kernel/trace/fprobe.c
389
head = rhltable_lookup(&fprobe_ip_table, &func, fprobe_rht_params);
kernel/trace/fprobe.c
392
if (node->addr != func)
kernel/trace/fprobe.c
408
if (node->addr != func)
kernel/trace/fprobe.c
428
if (node->addr != func)
kernel/trace/fprobe.c
441
ret = __fprobe_kprobe_handler(func, ret_ip, fp, fregs, data);
kernel/trace/fprobe.c
443
ret = __fprobe_handler(func, ret_ip, fp, fregs, data);
kernel/trace/fprobe.c
488
fp->exit_handler(fp, trace->func, ret_ip, fregs,
kernel/trace/ftrace.c
1092
.func = ftrace_stub,
kernel/trace/ftrace.c
1275
kfree(ftrace_mod->func);
kernel/trace/ftrace.c
1357
const char *func, const char *module,
kernel/trace/ftrace.c
1368
ftrace_mod->func = kstrdup(func, GFP_KERNEL);
kernel/trace/ftrace.c
137
.func = ftrace_ops_list_func,
kernel/trace/ftrace.c
1372
if (!ftrace_mod->func || !ftrace_mod->module)
kernel/trace/ftrace.c
154
.func = ftrace_ops_nop_func,
kernel/trace/ftrace.c
1901
ftrace_ops_get_func(ops) == ops->func)
kernel/trace/ftrace.c
211
ftrace_func_t func;
kernel/trace/ftrace.c
223
func = ftrace_stub;
kernel/trace/ftrace.c
2243
(void *)ops->func);
kernel/trace/ftrace.c
232
func = ftrace_ops_get_list_func(ftrace_ops_list);
kernel/trace/ftrace.c
237
func = ftrace_ops_list_func;
kernel/trace/ftrace.c
241
if (ftrace_trace_function == func)
kernel/trace/ftrace.c
248
if (func == ftrace_ops_list_func) {
kernel/trace/ftrace.c
249
ftrace_trace_function = func;
kernel/trace/ftrace.c
283
ftrace_trace_function = func;
kernel/trace/ftrace.c
2898
static int update_ftrace_func(ftrace_func_t func)
kernel/trace/ftrace.c
2903
if (func == save_func)
kernel/trace/ftrace.c
2906
save_func = func;
kernel/trace/ftrace.c
2908
return ftrace_update_ftrace_func(func);
kernel/trace/ftrace.c
360
ops->saved_func = ops->func;
kernel/trace/ftrace.c
363
ops->func = ftrace_pid_func;
kernel/trace/ftrace.c
388
ops->func = ops->saved_func;
kernel/trace/ftrace.c
3954
struct dyn_ftrace *func;
kernel/trace/ftrace.c
403
op->func = ftrace_pids_enabled(op) ?
kernel/trace/ftrace.c
4093
(void *)probe_ops->func);
kernel/trace/ftrace.c
4164
if (ftrace_mod->func)
kernel/trace/ftrace.c
4165
seq_printf(m, "%s", ftrace_mod->func);
kernel/trace/ftrace.c
4209
iter->func = rec;
kernel/trace/ftrace.c
4453
(void *)subops->func);
kernel/trace/ftrace.c
4457
(void *)subops->func);
kernel/trace/ftrace.c
4481
rec = iter->func;
kernel/trace/ftrace.c
4512
(void *)ops->func);
kernel/trace/ftrace.c
4526
ops, ops->func);
kernel/trace/ftrace.c
4946
match_records(struct ftrace_hash *hash, char *func, int len, char *mod)
kernel/trace/ftrace.c
4958
if (func) {
kernel/trace/ftrace.c
4959
func_g.type = filter_parse_regex(func, len, &func_g.search,
kernel/trace/ftrace.c
5067
const char *func, char *module, int enable)
kernel/trace/ftrace.c
5075
if (func[0] == '!') {
kernel/trace/ftrace.c
5078
func++;
kernel/trace/ftrace.c
5086
if (strcmp(func, "*") == 0 ||
kernel/trace/ftrace.c
5087
(ftrace_mod->func &&
kernel/trace/ftrace.c
5088
strcmp(ftrace_mod->func, func) == 0)) {
kernel/trace/ftrace.c
5102
return ftrace_add_mod(tr, func, module, enable);
kernel/trace/ftrace.c
5112
char *func;
kernel/trace/ftrace.c
5133
if (ftrace_mod->func)
kernel/trace/ftrace.c
5134
func = kstrdup(ftrace_mod->func, GFP_KERNEL);
kernel/trace/ftrace.c
5136
func = kstrdup("*", GFP_KERNEL);
kernel/trace/ftrace.c
5138
if (!func) /* warn? */
kernel/trace/ftrace.c
5144
kfree(ftrace_mod->func);
kernel/trace/ftrace.c
5145
ftrace_mod->func = func;
kernel/trace/ftrace.c
5152
func = ftrace_mod->func;
kernel/trace/ftrace.c
5155
match_records(new_hash, func, strlen(func), mod);
kernel/trace/ftrace.c
5205
char *func;
kernel/trace/ftrace.c
5212
func = kstrdup(func_orig, GFP_KERNEL);
kernel/trace/ftrace.c
5213
if (!func)
kernel/trace/ftrace.c
5223
ret = match_records(hash, func, strlen(func), module);
kernel/trace/ftrace.c
5224
kfree(func);
kernel/trace/ftrace.c
5235
.func = ftrace_mod_callback,
kernel/trace/ftrace.c
5259
probe_ops->func(ip, parent_ip, probe->tr, probe_ops, probe->data);
kernel/trace/ftrace.c
5483
probe->ops.func = function_trace_probe_call;
kernel/trace/ftrace.c
5775
char *func, *command, *next = buff;
kernel/trace/ftrace.c
5779
func = strsep(&next, ":");
kernel/trace/ftrace.c
5782
ret = ftrace_match_records(hash, func, len);
kernel/trace/ftrace.c
5798
return p->func(tr, hash, func, command, next, enable);
kernel/trace/ftrace.c
6021
ops->func = NULL;
kernel/trace/ftrace.c
6053
if (ops->func || ops->trampoline)
kernel/trace/ftrace.c
6114
ops->func = call_direct_funcs;
kernel/trace/ftrace.c
6178
.func = ftrace_stub,
kernel/trace/ftrace.c
6371
if (ops->func || ops->trampoline)
kernel/trace/ftrace.c
6390
ops->func = call_direct_funcs;
kernel/trace/ftrace.c
6401
ops->func = NULL;
kernel/trace/ftrace.c
6528
ops->func = NULL;
kernel/trace/ftrace.c
6582
.func = ftrace_stub,
kernel/trace/ftrace.c
6722
char *mod = NULL, *func, *command, *next = buf;
kernel/trace/ftrace.c
6727
func = strsep(&next, ":");
kernel/trace/ftrace.c
6739
len = command - func;
kernel/trace/ftrace.c
6741
tmp = kstrdup(func, GFP_KERNEL);
kernel/trace/ftrace.c
6744
ret = ftrace_set_hash(ops, func, len, NULL, 0, 0, reset, enable, mod);
kernel/trace/ftrace.c
6887
char *func;
kernel/trace/ftrace.c
6895
func = strsep(&buf, ",");
kernel/trace/ftrace.c
6897
ret = ftrace_graph_set_hash(hash, func);
kernel/trace/ftrace.c
6900
"traceable\n", func);
kernel/trace/ftrace.c
6913
char *func;
kernel/trace/ftrace.c
6926
func = strsep(&buf, ",");
kernel/trace/ftrace.c
6927
ftrace_set_regex(ops, func, strlen(func), 0, enable);
kernel/trace/ftrace.c
8210
clear_func_from_hash(struct ftrace_init_func *func, struct ftrace_hash *hash)
kernel/trace/ftrace.c
8214
entry = ftrace_lookup_ip(hash, func->ip);
kernel/trace/ftrace.c
8225
clear_func_from_hashes(struct ftrace_init_func *func)
kernel/trace/ftrace.c
8234
clear_func_from_hash(func, tr->ops->func_hash->filter_hash);
kernel/trace/ftrace.c
8235
clear_func_from_hash(func, tr->ops->func_hash->notrace_hash);
kernel/trace/ftrace.c
8244
struct ftrace_init_func *func;
kernel/trace/ftrace.c
8246
func = kmalloc_obj(*func);
kernel/trace/ftrace.c
8247
if (!func) {
kernel/trace/ftrace.c
8252
func->ip = rec->ip;
kernel/trace/ftrace.c
8253
list_add(&func->list, clear_list);
kernel/trace/ftrace.c
8266
struct ftrace_init_func *func, *func_next;
kernel/trace/ftrace.c
8317
list_for_each_entry_safe(func, func_next, &clear_hash, list) {
kernel/trace/ftrace.c
8318
clear_func_from_hashes(func);
kernel/trace/ftrace.c
8319
kfree(func);
kernel/trace/ftrace.c
8423
.func = ftrace_stub,
kernel/trace/ftrace.c
8453
void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func)
kernel/trace/ftrace.c
8457
if (WARN_ON(tr->ops->func != ftrace_stub))
kernel/trace/ftrace.c
8459
tr->ops->func);
kernel/trace/ftrace.c
8461
tr->ops->func = func;
kernel/trace/ftrace.c
8467
tr->ops->func = ftrace_stub;
kernel/trace/ftrace.c
847
function_profile_call(trace->func, 0, NULL, NULL);
kernel/trace/ftrace.c
8500
if (FTRACE_WARN_ON(!op->func)) {
kernel/trace/ftrace.c
8504
op->func(ip, parent_ip, op, fregs);
kernel/trace/ftrace.c
8557
op->func(ip, parent_ip, op, fregs);
kernel/trace/ftrace.c
8584
return ops->func;
kernel/trace/ftrace.c
88
.func = ftrace_stub,
kernel/trace/ftrace.c
910
rec = ftrace_find_profiled_func(stat, trace->func);
kernel/trace/ftrace.c
934
.func = function_profile_call,
kernel/trace/trace.c
1335
u64 (*func)(void);
kernel/trace/trace.c
7039
ring_buffer_set_clock(tr->array_buffer.buffer, trace_clocks[i].func);
kernel/trace/trace.c
7049
ring_buffer_set_clock(tr->snapshot_buffer.buffer, trace_clocks[i].func);
kernel/trace/trace.c
8499
.func = ftrace_snapshot,
kernel/trace/trace.c
8504
.func = ftrace_count_snapshot,
kernel/trace/trace.c
8566
.func = ftrace_trace_snapshot_callback,
kernel/trace/trace.h
1052
unsigned long addr = trace->func;
kernel/trace/trace.h
1183
int (*func)(struct trace_array *tr,
kernel/trace/trace.h
1185
char *func, char *cmd,
kernel/trace/trace.h
1197
void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func);
kernel/trace/trace.h
1228
#define ftrace_init_array_ops(tr, func) do { } while (0)
kernel/trace/trace.h
1234
void (*func)(unsigned long ip,
kernel/trace/trace.h
167
unsigned long func;
kernel/trace/trace.h
178
unsigned long func;
kernel/trace/trace.h
925
char *func;
kernel/trace/trace_branch.c
143
field->func,
kernel/trace/trace_branch.c
280
seq_printf(m, "%-30.30s %-20.20s %d\n", p->func, f, p->line);
kernel/trace/trace_branch.c
74
strscpy(entry->func, f->data.func);
kernel/trace/trace_entries.h
105
F_printk("--> %ps (%lu) <- %ps", (void *)__entry->func, __entry->depth,
kernel/trace/trace_entries.h
126
__field_desc_packed( unsigned long, ret, func )
kernel/trace/trace_entries.h
135
(void *)__entry->func, __entry->depth,
kernel/trace/trace_entries.h
149
__field_desc_packed( unsigned long, ret, func )
kernel/trace/trace_entries.h
157
(void *)__entry->func, __entry->depth,
kernel/trace/trace_entries.h
358
__array( char, func, TRACE_FUNC_SIZE+1 )
kernel/trace/trace_entries.h
366
__entry->func, __entry->file, __entry->correct,
kernel/trace/trace_entries.h
82
__field_desc_packed(unsigned long, graph_ent, func )
kernel/trace/trace_entries.h
87
F_printk("--> %ps (%lu)", (void *)__entry->func, __entry->depth)
kernel/trace/trace_entries.h
99
__field_desc_packed( unsigned long, graph_rent.ent, func )
kernel/trace/trace_event_perf.c
250
char *func = NULL;
kernel/trace/trace_event_perf.c
254
func = strndup_user(u64_to_user_ptr(p_event->attr.kprobe_func),
kernel/trace/trace_event_perf.c
256
if (IS_ERR(func)) {
kernel/trace/trace_event_perf.c
257
ret = PTR_ERR(func);
kernel/trace/trace_event_perf.c
261
if (func[0] == '\0') {
kernel/trace/trace_event_perf.c
262
kfree(func);
kernel/trace/trace_event_perf.c
263
func = NULL;
kernel/trace/trace_event_perf.c
268
func, (void *)(unsigned long)(p_event->attr.kprobe_addr),
kernel/trace/trace_event_perf.c
281
kfree(func);
kernel/trace/trace_event_perf.c
491
ops->func = perf_ftrace_function_call;
kernel/trace/trace_events.c
4275
.func = event_enable_probe,
kernel/trace/trace_events.c
4282
.func = event_enable_count_probe,
kernel/trace/trace_events.c
4289
.func = event_enable_probe,
kernel/trace/trace_events.c
4296
.func = event_enable_count_probe,
kernel/trace/trace_events.c
4402
.func = event_enable_func,
kernel/trace/trace_events.c
4407
.func = event_enable_func,
kernel/trace/trace_events.c
5046
.func = function_test_events_call,
kernel/trace/trace_events_hist.c
844
probe_func = probe_func_ptr->func;
kernel/trace/trace_events_hist.c
847
} while ((++probe_func_ptr)->func);
kernel/trace/trace_events_user.c
1679
probe_func = probe_func_ptr->func;
kernel/trace/trace_events_user.c
1689
} while ((++probe_func_ptr)->func);
kernel/trace/trace_events_user.c
2292
probe_func = probe_func_ptr->func;
kernel/trace/trace_events_user.c
2295
} while ((++probe_func_ptr)->func);
kernel/trace/trace_fprobe.c
431
entry->func = entry_ip;
kernel/trace/trace_fprobe.c
512
entry->func = entry_ip;
kernel/trace/trace_fprobe.c
670
if (!seq_print_ip_sym_no_offset(s, field->func, flags))
kernel/trace/trace_fprobe.c
710
DEFINE_FIELD(unsigned long, func, FIELD_STRING_FUNC, 0);
kernel/trace/trace_functions.c
148
ftrace_func_t func;
kernel/trace/trace_functions.c
157
func = select_trace_function(tr->current_trace_flags->val);
kernel/trace/trace_functions.c
158
if (!func)
kernel/trace/trace_functions.c
164
ftrace_init_array_ops(tr, func);
kernel/trace/trace_functions.c
428
{ TRACER_OPT(func-no-repeats, TRACE_FUNC_OPT_NO_REPEATS) },
kernel/trace/trace_functions.c
430
{ TRACER_OPT(func-args, TRACE_FUNC_OPT_ARGS) },
kernel/trace/trace_functions.c
458
ftrace_func_t func;
kernel/trace/trace_functions.c
470
func = select_trace_function(new_flags);
kernel/trace/trace_functions.c
471
if (!func)
kernel/trace/trace_functions.c
475
if (tr->ops->func == func)
kernel/trace/trace_functions.c
482
tr->ops->func = func;
kernel/trace/trace_functions.c
69
ops->func = function_trace_call;
kernel/trace/trace_functions.c
805
.func = ftrace_traceon_count,
kernel/trace/trace_functions.c
812
.func = ftrace_traceoff_count,
kernel/trace/trace_functions.c
819
.func = ftrace_stacktrace_count,
kernel/trace/trace_functions.c
826
.func = ftrace_dump_probe,
kernel/trace/trace_functions.c
833
.func = ftrace_cpudump_probe,
kernel/trace/trace_functions.c
838
.func = ftrace_traceon,
kernel/trace/trace_functions.c
843
.func = ftrace_traceoff,
kernel/trace/trace_functions.c
848
.func = ftrace_stacktrace,
kernel/trace/trace_functions.c
959
.func = ftrace_trace_onoff_callback,
kernel/trace/trace_functions.c
964
.func = ftrace_trace_onoff_callback,
kernel/trace/trace_functions.c
969
.func = ftrace_stacktrace_callback,
kernel/trace/trace_functions.c
974
.func = ftrace_dump_callback,
kernel/trace/trace_functions.c
979
.func = ftrace_cpudump_callback,
kernel/trace/trace_functions_graph.c
1000
(void *)graph_ret->func + iter->tr->text_delta,
kernel/trace/trace_functions_graph.c
1013
print_graph_irq(iter, graph_ret->func, TRACE_GRAPH_RET,
kernel/trace/trace_functions_graph.c
1027
unsigned long func;
kernel/trace/trace_functions_graph.c
1041
cpu_data->enter_funcs[call->depth] = call->func;
kernel/trace/trace_functions_graph.c
1051
func = call->func + iter->tr->text_delta;
kernel/trace/trace_functions_graph.c
1053
trace_seq_printf(s, "%ps", (void *)func);
kernel/trace/trace_functions_graph.c
1058
print_function_args(s, FGRAPH_ENTRY_ARGS(entry), func);
kernel/trace/trace_functions_graph.c
1258
if (check_irq_entry(iter, flags, call->func, call->depth))
kernel/trace/trace_functions_graph.c
1261
print_graph_prologue(iter, s, TRACE_GRAPH_ENT, call->func, flags);
kernel/trace/trace_functions_graph.c
1295
unsigned long func;
kernel/trace/trace_functions_graph.c
1301
func = trace->func + iter->tr->text_delta;
kernel/trace/trace_functions_graph.c
1321
if (cpu_data->enter_funcs[trace->depth] != trace->func)
kernel/trace/trace_functions_graph.c
1341
print_graph_retval(s, NULL, trace, (void *)func, flags,
kernel/trace/trace_functions_graph.c
1354
trace_seq_printf(s, "} /* %ps */", (void *)func);
kernel/trace/trace_functions_graph.c
1363
print_graph_irq(iter, trace->func, TRACE_GRAPH_RET,
kernel/trace/trace_functions_graph.c
245
if (ftrace_graph_notrace_addr(trace->func)) {
kernel/trace/trace_functions_graph.c
314
.func = ip,
kernel/trace/trace_functions_graph.c
318
.func = ip,
kernel/trace/trace_functions_graph.c
699
curr->graph_ent.func != next->ret.func)
kernel/trace/trace_functions_graph.c
873
struct ftrace_graph_ret *graph_ret, void *func,
kernel/trace/trace_functions_graph.c
908
trace_seq_printf(s, "%ps", func);
kernel/trace/trace_functions_graph.c
911
print_function_args(s, FGRAPH_ENTRY_ARGS(entry), (unsigned long)func);
kernel/trace/trace_functions_graph.c
920
trace_seq_printf(s, "} /* %ps", func);
kernel/trace/trace_functions_graph.c
993
ret_func = graph_ret->func + iter->tr->text_delta;
kernel/trace/trace_irqsoff.c
198
if (ftrace_graph_notrace_addr(trace->func))
kernel/trace/trace_kdb.c
142
.func = kdb_ftdump,
kernel/trace/trace_kprobe.c
1553
entry->func = (unsigned long)tk->rp.kp.addr;
kernel/trace/trace_kprobe.c
1623
if (!seq_print_ip_sym_no_offset(s, field->func, flags))
kernel/trace/trace_kprobe.c
1664
DEFINE_FIELD(unsigned long, func, FIELD_STRING_FUNC, 0);
kernel/trace/trace_kprobe.c
1748
entry->func = (unsigned long)tk->rp.kp.addr;
kernel/trace/trace_kprobe.c
1915
create_local_trace_kprobe(char *func, void *addr, unsigned long offs,
kernel/trace/trace_kprobe.c
1923
if (func) {
kernel/trace/trace_kprobe.c
1924
ret = validate_probe_symbol(func);
kernel/trace/trace_kprobe.c
1934
event = func ? func : "DUMMY_EVENT";
kernel/trace/trace_kprobe.c
1936
tk = alloc_trace_kprobe(KPROBE_EVENT_SYSTEM, event, (void *)addr, func,
kernel/trace/trace_output.c
718
unsigned long func)
kernel/trace/trace_output.c
734
if (lookup_symbol_name(func, name))
kernel/trace/trace_output.h
57
unsigned long func);
kernel/trace/trace_output.h
60
unsigned long func) {
kernel/trace/trace_probe.h
471
create_local_trace_kprobe(char *func, void *addr, unsigned long offs,
kernel/trace/trace_sched_wakeup.c
134
if (ftrace_graph_notrace_addr(trace->func))
kernel/trace/trace_selftest.c
153
.func = trace_selftest_test_probe1_func,
kernel/trace/trace_selftest.c
157
.func = trace_selftest_test_probe2_func,
kernel/trace/trace_selftest.c
161
.func = trace_selftest_test_probe3_func,
kernel/trace/trace_selftest.c
257
dyn_ops->func = trace_selftest_test_dyn_func;
kernel/trace/trace_selftest.c
359
int (*func)(void))
kernel/trace/trace_selftest.c
374
func();
kernel/trace/trace_selftest.c
408
func();
kernel/trace/trace_selftest.c
482
.func = trace_selftest_test_recursion_func,
kernel/trace/trace_selftest.c
487
.func = trace_selftest_test_recursion_safe_func,
kernel/trace/trace_selftest.c
573
# define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; })
kernel/trace/trace_selftest.c
597
.func = trace_selftest_test_regs_func,
kernel/trace/trace_stack.c
320
.func = stack_trace_call,
kernel/trace/trace_uprobe.c
1016
entry->vaddr[0] = func;
kernel/trace/trace_uprobe.c
1049
static void uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func,
kernel/trace/trace_uprobe.c
1060
__uprobe_trace_func(tu, func, regs, ucb, link->file);
kernel/trace/trace_uprobe.c
1387
unsigned long func, struct pt_regs *regs,
kernel/trace/trace_uprobe.c
1430
entry->vaddr[0] = func;
kernel/trace/trace_uprobe.c
1461
static void uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func,
kernel/trace/trace_uprobe.c
1465
__uprobe_perf_func(tu, func, regs, ucbp);
kernel/trace/trace_uprobe.c
1560
unsigned long func, struct pt_regs *regs,
kernel/trace/trace_uprobe.c
1571
udd.bp_addr = func;
kernel/trace/trace_uprobe.c
1580
uretprobe_trace_func(tu, func, regs, &ucb);
kernel/trace/trace_uprobe.c
1584
uretprobe_perf_func(tu, func, regs, &ucb);
kernel/trace/trace_uprobe.c
97
unsigned long func, struct pt_regs *regs,
kernel/trace/trace_uprobe.c
994
unsigned long func, struct pt_regs *regs,
kernel/tracepoint.c
138
for (i = 0; funcs[i].func; i++)
kernel/tracepoint.c
139
printk(KERN_DEBUG "Probe %d : %pSb\n", i, funcs[i].func);
kernel/tracepoint.c
151
if (WARN_ON(!tp_func->func))
kernel/tracepoint.c
158
for (iter_probes = 0; old[iter_probes].func; iter_probes++) {
kernel/tracepoint.c
159
if (old[iter_probes].func == tp_stub_func)
kernel/tracepoint.c
161
if (old[iter_probes].func == tp_func->func &&
kernel/tracepoint.c
173
for (iter_probes = 0; old[iter_probes].func; iter_probes++) {
kernel/tracepoint.c
174
if (old[iter_probes].func == tp_stub_func)
kernel/tracepoint.c
189
new[nr_probes].func = NULL;
kernel/tracepoint.c
208
if (tp_func->func) {
kernel/tracepoint.c
209
for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
kernel/tracepoint.c
210
if ((old[nr_probes].func == tp_func->func &&
kernel/tracepoint.c
212
old[nr_probes].func == tp_stub_func)
kernel/tracepoint.c
232
for (i = 0; old[i].func; i++) {
kernel/tracepoint.c
233
if ((old[i].func != tp_func->func ||
kernel/tracepoint.c
235
old[i].func != tp_stub_func)
kernel/tracepoint.c
238
new[nr_probes - nr_del].func = NULL;
kernel/tracepoint.c
245
for (i = 0; old[i].func; i++) {
kernel/tracepoint.c
246
if (old[i].func == tp_func->func &&
kernel/tracepoint.c
248
WRITE_ONCE(old[i].func, tp_stub_func);
kernel/tracepoint.c
264
if (!tp_funcs[1].func)
kernel/tracepoint.c
266
if (!tp_funcs[2].func)
kernel/tracepoint.c
273
void *func = tp->iterator;
kernel/tracepoint.c
279
func = tp_funcs[0].func;
kernel/tracepoint.c
280
__static_call_update(tp->static_call_key, tp->static_call_tramp, func);
kernel/tracepoint.c
287
struct tracepoint_func *func, int prio,
kernel/tracepoint.c
301
old = func_add(&tp_funcs, func, prio);
kernel/tracepoint.c
360
struct tracepoint_func *func)
kernel/tracepoint.c
366
old = func_remove(&tp_funcs, func);
kernel/tracepoint.c
441
tp_func.func = probe;
kernel/tracepoint.c
470
tp_func.func = probe;
kernel/tracepoint.c
511
tp_func.func = probe;
kernel/unwind/deferred.c
180
work->func(work, &trace, cookie);
kernel/unwind/deferred.c
332
int unwind_deferred_init(struct unwind_work *work, unwind_callback_t func)
kernel/unwind/deferred.c
346
work->func = func;
kernel/up.c
12
int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
kernel/up.c
21
func(info);
kernel/up.c
33
csd->func(csd->info);
kernel/up.c
43
void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
kernel/up.c
51
func(info);
kernel/up.c
58
int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys)
kernel/up.c
67
ret = func(par);
kernel/workqueue.c
1120
worker->current_func == work->func)
kernel/workqueue.c
1195
if (unlikely(work->func == mayday_cursor_func)) {
kernel/workqueue.c
1319
work_func_t func;
kernel/workqueue.c
1329
static struct wci_ent *wci_find_ent(work_func_t func)
kernel/workqueue.c
1334
(unsigned long)func) {
kernel/workqueue.c
1335
if (ent->func == func)
kernel/workqueue.c
1341
static void wq_cpu_intensive_report(work_func_t func)
kernel/workqueue.c
1346
ent = wci_find_ent(func);
kernel/workqueue.c
1359
ent->func, wq_cpu_intensive_thresh_us,
kernel/workqueue.c
1379
if (wci_find_ent(func)) {
kernel/workqueue.c
1385
ent->func = func;
kernel/workqueue.c
1387
hash_add_rcu(wci_hash, &ent->hash_node, (unsigned long)func);
kernel/workqueue.c
1395
static void wq_cpu_intensive_report(work_func_t func) {}
kernel/workqueue.c
2271
work->func, wq->name))) {
kernel/workqueue.c
3203
worker->current_func = work->func;
kernel/workqueue.c
3796
target_func = target_work ? target_work->func : NULL;
kernel/workqueue.c
4289
if (WARN_ON(!work->func))
kernel/workqueue.c
4639
int schedule_on_each_cpu(work_func_t func)
kernel/workqueue.c
4653
INIT_WORK(work, func);
kernel/workqueue.c
611
return ((struct work_struct *) addr)->func;
kernel/workqueue.c
6288
work_func_t func;
kernel/workqueue.c
6292
static void pr_cont_work_flush(bool comma, work_func_t func, struct pr_cont_work_struct *pcwsp)
kernel/workqueue.c
6296
if (func == pcwsp->func) {
kernel/workqueue.c
6301
pr_cont("%s %ps", pcwsp->comma ? "," : "", pcwsp->func);
kernel/workqueue.c
6303
pr_cont("%s %ld*%ps", pcwsp->comma ? "," : "", pcwsp->ctr, pcwsp->func);
kernel/workqueue.c
6306
if ((long)func == -1L)
kernel/workqueue.c
6309
pcwsp->func = func;
kernel/workqueue.c
6315
if (work->func == wq_barrier_func) {
kernel/workqueue.c
6326
pr_cont_work_flush(comma, work->func, pcwsp);
lib/btree.c
673
void (*func)(void *elem, unsigned long opaque,
lib/btree.c
687
func, func2, reap, height - 1, count);
lib/btree.c
689
func(child, opaque, bkey(geo, node, i), count++,
lib/btree.c
705
visitorl_t func = __func;
lib/btree.c
707
func(elem, opaque, *key, index);
lib/btree.c
714
visitor32_t func = __func;
lib/btree.c
717
func(elem, opaque, *key, index);
lib/btree.c
724
visitor64_t func = __func;
lib/btree.c
727
func(elem, opaque, *key, index);
lib/btree.c
734
visitor128_t func = __func;
lib/btree.c
737
func(elem, opaque, key[0], key[1], index);
lib/btree.c
743
void (*func)(void *elem, unsigned long opaque,
lib/btree.c
751
func = empty;
lib/btree.c
753
count = __btree_for_each(head, geo, head->node, opaque, func,
lib/btree.c
761
void (*func)(void *elem, unsigned long opaque,
lib/btree.c
769
func = empty;
lib/btree.c
771
count = __btree_for_each(head, geo, head->node, opaque, func,
lib/crc/tests/crc_kunit.c
165
u64 actual_crc = v->func(state->initial_crc,
lib/crc/tests/crc_kunit.c
224
actual_crc = v->func(init_crc, &test_buffer[offset], len);
lib/crc/tests/crc_kunit.c
285
.func = crc7_be_wrapper,
lib/crc/tests/crc_kunit.c
309
.func = crc16_wrapper,
lib/crc/tests/crc_kunit.c
333
.func = crc_t10dif_wrapper,
lib/crc/tests/crc_kunit.c
357
.func = crc32_le_wrapper,
lib/crc/tests/crc_kunit.c
381
.func = crc32_be_wrapper,
lib/crc/tests/crc_kunit.c
405
.func = crc32c_wrapper,
lib/crc/tests/crc_kunit.c
429
.func = crc64_be_wrapper,
lib/crc/tests/crc_kunit.c
45
u64 (*func)(u64 crc, const u8 *p, size_t len);
lib/crc/tests/crc_kunit.c
454
.func = crc64_nvme_wrapper,
lib/crypto/s390/sha3.h
132
#define QUERY(opcode, func) \
lib/crypto/s390/sha3.h
133
({ num_present += !!cpacf_query_func(opcode, func); num_possible++; })
lib/crypto/s390/sha3.h
64
static inline bool s390_sha3(int func, const u8 *in, size_t in_len,
lib/crypto/s390/sha3.h
73
func |= CPACF_KLMD_NIP | CPACF_KLMD_DUFOP;
lib/crypto/s390/sha3.h
77
cpacf_klmd(func, &state, in, in_len);
lib/genalloc.c
532
void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data),
lib/genalloc.c
539
func(pool, chunk, data);
lib/kunit/resource.c
105
action_ctx->func = action;
lib/kunit/resource.c
138
return (match_ctx->func == res_ctx->func) && (match_ctx->ctx == res_ctx->ctx);
lib/kunit/resource.c
148
match_ctx.func = action;
lib/kunit/resource.c
168
match_ctx.func = action;
lib/kunit/resource.c
83
kunit_action_t *func;
lib/kunit/resource.c
91
action_ctx->func(action_ctx->ctx);
lib/min_heap.c
24
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
26
__min_heap_sift_down_inline(heap, pos, elem_size, func, args);
lib/min_heap.c
31
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
33
__min_heap_sift_up_inline(heap, elem_size, idx, func, args);
lib/min_heap.c
38
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
40
__min_heapify_all_inline(heap, elem_size, func, args);
lib/min_heap.c
45
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
47
return __min_heap_pop_inline(heap, elem_size, func, args);
lib/min_heap.c
52
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
54
__min_heap_pop_push_inline(heap, element, elem_size, func, args);
lib/min_heap.c
59
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
61
return __min_heap_push_inline(heap, element, elem_size, func, args);
lib/min_heap.c
66
const struct min_heap_callbacks *func, void *args)
lib/min_heap.c
68
return __min_heap_del_inline(heap, elem_size, idx, func, args);
lib/ratelimit.c
27
int ___ratelimit(struct ratelimit_state *rs, const char *func)
lib/ratelimit.c
87
"%s: %d callbacks suppressed\n", func, m);
lib/ref_tracker.c
105
void __ostream_printf (*func)(struct ostream *stream, char *fmt, ...);
lib/ref_tracker.c
137
_s->func(_s, fmt, ##args); \
lib/ref_tracker.c
185
struct ostream os = { .func = pr_ostream_log,
lib/ref_tracker.c
205
struct ostream os = { .func = pr_ostream_buf,
lib/ref_tracker.c
360
struct ostream os = { .func = pr_ostream_seq,
lib/string_helpers.c
1024
#define MAKE_FORTIFY_FUNC_NAME(func) [MAKE_FORTIFY_FUNC(func)] = #func
lib/string_helpers.c
1031
const u8 func = FORTIFY_REASON_FUNC(reason);
lib/string_helpers.c
1035
name = fortify_func_name[umin(func, FORTIFY_FUNC_UNKNOWN)];
lib/tests/ffs_kunit.c
503
#define CREATE_WRAPPER(func) \
lib/tests/ffs_kunit.c
504
static noinline bool build_test_##func(void) \
lib/tests/ffs_kunit.c
506
int init_##func = 32; \
lib/tests/ffs_kunit.c
507
int result_##func = func(6); \
lib/tests/ffs_kunit.c
510
BUILD_BUG_ON(init_##func < 32); \
lib/tests/ffs_kunit.c
513
barrier_data(&init_##func); \
lib/tests/ffs_kunit.c
514
barrier_data(&result_##func); \
lib/tests/fortify_kunit.c
29
#define fortify_panic(func, write, avail, size, retfail) do { \
lib/tests/fortify_kunit.c
30
FORTIFY_REPORT_KUNIT(FORTIFY_REASON(func, write), avail, size); \
lib/tests/overflow_kunit.c
622
#define DEFINE_TEST_ALLOC(func, free_func, want_arg, want_gfp, want_node)\
lib/tests/overflow_kunit.c
623
static void test_ ## func (struct kunit *test, void *arg) \
lib/tests/overflow_kunit.c
630
ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\
lib/tests/overflow_kunit.c
632
#func " failed regular allocation?!\n"); \
lib/tests/overflow_kunit.c
636
ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \
lib/tests/overflow_kunit.c
639
#func " unexpectedly failed bad wrapping?!\n"); \
lib/tests/overflow_kunit.c
643
ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \
lib/tests/overflow_kunit.c
646
KUNIT_FAIL(test, #func " missed saturation!\n"); \
lib/tests/overflow_kunit.c
720
#define check_one_size_helper(expected, func, args...) do { \
lib/tests/overflow_kunit.c
721
size_t _r = func(args); \
lib/tests/overflow_kunit.c
723
"expected " #func "(" #args ") to return %zu but got %zu instead\n", \
lib/tests/overflow_kunit.c
801
#define __TEST_OVERFLOWS_TYPE(func, arg1, arg2, of) do { \
lib/tests/overflow_kunit.c
802
bool __of = func(arg1, arg2); \
lib/tests/overflow_kunit.c
804
"expected " #func "(" #arg1 ", " #arg2 " to%s overflow\n",\
lib/tests/test_fprobe.c
289
static unsigned long get_ftrace_location(void *func)
lib/tests/test_fprobe.c
291
unsigned long size, addr = (unsigned long)func;
lib/zlib_deflate/deflate.c
132
compress_func func;
lib/zlib_deflate/deflate.c
407
(*(configuration_table[s->level].func))(s, flush);
lib/zstd/common/portability_macros.h
48
# define ZSTD_HIDE_ASM_FUNCTION(func) .hidden func
lib/zstd/common/portability_macros.h
50
# define ZSTD_HIDE_ASM_FUNCTION(func) .private_extern func
lib/zstd/common/portability_macros.h
52
# define ZSTD_HIDE_ASM_FUNCTION(func)
mm/bpf_memcontrol.c
165
BTF_ID_FLAGS(func, bpf_get_root_mem_cgroup, KF_ACQUIRE | KF_RET_NULL)
mm/bpf_memcontrol.c
166
BTF_ID_FLAGS(func, bpf_get_mem_cgroup, KF_ACQUIRE | KF_RET_NULL | KF_RCU)
mm/bpf_memcontrol.c
167
BTF_ID_FLAGS(func, bpf_put_mem_cgroup, KF_RELEASE)
mm/bpf_memcontrol.c
169
BTF_ID_FLAGS(func, bpf_mem_cgroup_vm_events)
mm/bpf_memcontrol.c
170
BTF_ID_FLAGS(func, bpf_mem_cgroup_memory_events)
mm/bpf_memcontrol.c
171
BTF_ID_FLAGS(func, bpf_mem_cgroup_usage)
mm/bpf_memcontrol.c
172
BTF_ID_FLAGS(func, bpf_mem_cgroup_page_state)
mm/bpf_memcontrol.c
173
BTF_ID_FLAGS(func, bpf_mem_cgroup_flush_stats, KF_SLEEPABLE)
mm/filemap.c
1263
wait->func = wake_page_function;
mm/filemap.c
1418
wait->func = wake_page_function;
mm/hugetlb.c
101
early_param(str, func##args)
mm/hugetlb.c
96
#define hugetlb_early_param(str, func) \
mm/hugetlb.c
97
static __init int func##args(char *s) \
mm/hugetlb.c
99
return hugetlb_add_param(s, func); \
mm/memblock.c
1745
const char *func)
mm/memblock.c
1750
panic("%s: Failed to allocate %pap bytes\n", func, &size);
mm/memcontrol-v1.c
1388
owait.wait.func = memcg_oom_wake_function;
mm/slab_common.c
1531
void *ptr = (void *) head->func;
mm/slab_common.c
1979
head->func = ptr;
mm/vmalloc.c
2401
vn->purge_work.func = NULL;
mm/vmalloc.c
2410
if (vn->purge_work.func) {
net/802/mrp.c
934
appl->pkttype.func = mrp_rcv;
net/8021q/vlan_dev.c
775
static int vlan_macsec_offload(int (* const func)(struct macsec_context *),
net/8021q/vlan_dev.c
778
if (unlikely(!func))
net/8021q/vlan_dev.c
781
return (*func)(ctx);
net/9p/mod.c
30
void _p9_debug(enum p9_debug_flags level, const char *func,
net/9p/mod.c
47
pr_notice("-- %s (%d): %pV", func, task_pid_nr(current), &vaf);
net/appletalk/ddp.c
1917
.func = ltalk_rcv,
net/appletalk/ddp.c
1922
.func = atalk_rcv,
net/ax25/af_ax25.c
2039
.func = ax25_kiss_rcv,
net/ax25/ax25_iface.c
166
res = protocol->func;
net/ax25/ax25_iface.c
196
lf->func(ax25, reason);
net/ax25/ax25_in.c
101
int (*func)(struct sk_buff *, ax25_cb *);
net/ax25/ax25_in.c
136
if ((func = ax25_protocol_function(pid)) != NULL) {
net/ax25/ax25_in.c
138
return (*func)(skb, ax25);
net/batman-adv/hard-interface.c
742
hard_iface->batman_adv_ptype.func = batadv_batman_skb_recv;
net/bluetooth/cmtp/capi.c
188
__u16 appl, msgnum, func, info;
net/bluetooth/cmtp/capi.c
198
func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 5);
net/bluetooth/cmtp/capi.c
201
switch (func) {
net/bluetooth/cmtp/capi.c
284
func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 3);
net/bluetooth/cmtp/capi.c
286
if (func == CAPI_FUNCTION_LOOPBACK) {
net/bluetooth/cmtp/capi.c
291
cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func,
net/bluetooth/hci_drv.c
103
return handler->func(hdev, skb->data, len);
net/bluetooth/hci_drv.c
95
if (!handler || !handler->func)
net/bluetooth/hci_event.c
4066
.func = _func, \
net/bluetooth/hci_event.c
4079
u8 (*func)(struct hci_dev *hdev, void *data, struct sk_buff *skb);
net/bluetooth/hci_event.c
4270
return cc->func(hdev, data, skb);
net/bluetooth/hci_event.c
4370
.func = _func, \
net/bluetooth/hci_event.c
4375
void (*func)(struct hci_dev *hdev, __u8 status);
net/bluetooth/hci_event.c
4419
hci_cs_table[i].func(hdev, ev->status);
net/bluetooth/hci_event.c
7347
.func = _func, \
net/bluetooth/hci_event.c
7364
void (*func)(struct hci_dev *hdev, void *data, struct sk_buff *skb);
net/bluetooth/hci_event.c
7479
if (!subev->func)
net/bluetooth/hci_event.c
7499
subev->func(hdev, data, skb);
net/bluetooth/hci_event.c
7574
.func = _func, \
net/bluetooth/hci_event.c
7604
void (*func)(struct hci_dev *hdev, void *data,
net/bluetooth/hci_event.c
7740
if (!ev->func)
net/bluetooth/hci_event.c
7766
ev->func(hdev, data, skb);
net/bluetooth/hci_sock.c
1659
chan->handlers[opcode].func == NULL) {
net/bluetooth/hci_sock.c
1721
err = handler->func(sk, hdev, cp, len);
net/bluetooth/hci_sync.c
328
if (entry->func) {
net/bluetooth/hci_sync.c
332
err = entry->func(hdev, entry->data);
net/bluetooth/hci_sync.c
3621
int (*func)(struct hci_dev *hdev);
net/bluetooth/hci_sync.c
3630
for (i = 0; stage[i].func; i++) {
net/bluetooth/hci_sync.c
3633
err = stage[i].func(hdev);
net/bluetooth/hci_sync.c
3657
.func = _func, \
net/bluetooth/hci_sync.c
702
int hci_cmd_sync_submit(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
719
entry->func = func;
net/bluetooth/hci_sync.c
739
int hci_cmd_sync_queue(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
748
return hci_cmd_sync_submit(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
753
_hci_cmd_sync_lookup_entry(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
759
if (func && entry->func != func)
net/bluetooth/hci_sync.c
779
int hci_cmd_sync_queue_once(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
782
if (hci_cmd_sync_lookup_entry(hdev, func, data, destroy))
net/bluetooth/hci_sync.c
785
return hci_cmd_sync_queue(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
794
int hci_cmd_sync_run(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
807
err = func(hdev, data);
net/bluetooth/hci_sync.c
814
return hci_cmd_sync_submit(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
824
int hci_cmd_sync_run_once(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
827
if (hci_cmd_sync_lookup_entry(hdev, func, data, destroy))
net/bluetooth/hci_sync.c
830
return hci_cmd_sync_run(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
840
hci_cmd_sync_lookup_entry(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
846
entry = _hci_cmd_sync_lookup_entry(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
868
hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
875
entry = _hci_cmd_sync_lookup_entry(hdev, func, data, destroy);
net/bluetooth/hci_sync.c
894
bool hci_cmd_sync_dequeue(struct hci_dev *hdev, hci_cmd_sync_work_func_t func,
net/bluetooth/hci_sync.c
901
while ((entry = _hci_cmd_sync_lookup_entry(hdev, func, data,
net/bluetooth/l2cap_core.c
706
l2cap_chan_func_t func, void *data)
net/bluetooth/l2cap_core.c
712
func(chan, data);
net/bluetooth/l2cap_core.c
716
static void __l2cap_chan_list(struct l2cap_conn *conn, l2cap_chan_func_t func,
net/bluetooth/l2cap_core.c
722
func(chan, data);
net/bluetooth/l2cap_core.c
726
void l2cap_chan_list(struct l2cap_conn *conn, l2cap_chan_func_t func,
net/bluetooth/l2cap_core.c
733
__l2cap_chan_list(conn, func, data);
net/bpf/test_run.c
1818
BTF_ID(func, bpf_kfunc_call_test_release_dtor)
net/bpf/test_run.c
1820
BTF_ID(func, bpf_kfunc_call_memb_release_dtor)
net/bpf/test_run.c
635
BTF_ID_FLAGS(func, bpf_modify_return_test)
net/bpf/test_run.c
636
BTF_ID_FLAGS(func, bpf_modify_return_test2)
net/bpf/test_run.c
637
BTF_ID_FLAGS(func, bpf_modify_return_test_tp)
net/bpf/test_run.c
638
BTF_ID_FLAGS(func, bpf_fentry_test1, KF_SLEEPABLE)
net/bpf/test_run.c
647
BTF_ID_FLAGS(func, bpf_kfunc_call_test_release, KF_RELEASE)
net/bpf/test_run.c
648
BTF_ID_FLAGS(func, bpf_kfunc_call_memb_release, KF_RELEASE)
net/caif/caif_dev.c
286
.func = receive,
net/caif/caif_usb.c
183
&layer, &caif_usb_type.func);
net/can/af_can.c
445
canid_t mask, void (*func)(struct sk_buff *, void *),
net/can/af_can.c
473
rcv->func = func;
net/can/af_can.c
514
canid_t mask, void (*func)(struct sk_buff *, void *),
net/can/af_can.c
539
rcv->func == func && rcv->data == data)
net/can/af_can.c
575
rcv->func(skb, rcv->data);
net/can/af_can.c
850
.func = can_rcv,
net/can/af_can.c
855
.func = canfd_rcv,
net/can/af_can.c
860
.func = canxl_rcv,
net/can/af_can.h
56
void (*func)(struct sk_buff *skb, void *data);
net/can/gw.c
154
#define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
net/can/proc.c
199
r->func, r->data, atomic_long_read(&r->matches),
net/core/bpf_sk_storage.c
333
.func = bpf_sk_storage_get,
net/core/bpf_sk_storage.c
343
.func = bpf_sk_storage_get,
net/core/bpf_sk_storage.c
353
.func = bpf_sk_storage_delete,
net/core/bpf_sk_storage.c
409
.func = bpf_sk_storage_get_tracing,
net/core/bpf_sk_storage.c
421
.func = bpf_sk_storage_delete_tracing,
net/core/dev.c
12983
#define define_netdev_printk_level(func, level) \
net/core/dev.c
12984
void func(const struct net_device *dev, const char *fmt, ...) \
net/core/dev.c
12998
EXPORT_SYMBOL(func);
net/core/dev.c
2492
return pt_prev->func(skb, skb->dev, pt_prev, orig_dev);
net/core/dev.c
2606
pt_prev->func(skb2, skb->dev, pt_prev, skb->dev);
net/core/dev.c
6181
ret = INDIRECT_CALL_INET(pt_prev->func, ipv6_rcv, ip_rcv, skb,
net/core/dev.c
6229
pt_prev->func(skb, skb->dev, pt_prev, orig_dev);
net/core/filter.c
11504
.func = sk_select_reuseport,
net/core/filter.c
11521
.func = sk_reuseport_load_bytes,
net/core/filter.c
11539
.func = sk_reuseport_load_bytes_relative,
net/core/filter.c
11728
.func = bpf_sk_lookup_assign,
net/core/filter.c
11932
.func = bpf_skc_to_tcp6_sock,
net/core/filter.c
11948
.func = bpf_skc_to_tcp_sock,
net/core/filter.c
11977
.func = bpf_skc_to_tcp_timewait_sock,
net/core/filter.c
12000
.func = bpf_skc_to_tcp_request_sock,
net/core/filter.c
12021
.func = bpf_skc_to_udp6_sock,
net/core/filter.c
12041
.func = bpf_skc_to_unix_sock,
net/core/filter.c
12055
.func = bpf_skc_to_mptcp_sock,
net/core/filter.c
12072
.func = bpf_sock_from_file,
net/core/filter.c
12083
const struct bpf_func_proto *func;
net/core/filter.c
12087
func = &bpf_skc_to_tcp6_sock_proto;
net/core/filter.c
12090
func = &bpf_skc_to_tcp_sock_proto;
net/core/filter.c
12093
func = &bpf_skc_to_tcp_timewait_sock_proto;
net/core/filter.c
12096
func = &bpf_skc_to_tcp_request_sock_proto;
net/core/filter.c
12099
func = &bpf_skc_to_udp6_sock_proto;
net/core/filter.c
12102
func = &bpf_skc_to_unix_sock_proto;
net/core/filter.c
12105
func = &bpf_skc_to_mptcp_sock_proto;
net/core/filter.c
12116
return func;
net/core/filter.c
12451
BTF_ID_FLAGS(func, bpf_dynptr_from_skb)
net/core/filter.c
12455
BTF_ID_FLAGS(func, bpf_dynptr_from_skb_meta)
net/core/filter.c
12459
BTF_ID_FLAGS(func, bpf_dynptr_from_xdp)
net/core/filter.c
12460
BTF_ID_FLAGS(func, bpf_xdp_pull_data)
net/core/filter.c
12464
BTF_ID_FLAGS(func, bpf_sock_addr_set_sun_path)
net/core/filter.c
12468
BTF_ID_FLAGS(func, bpf_sk_assign_tcp_reqsk)
net/core/filter.c
12472
BTF_ID_FLAGS(func, bpf_sock_ops_enable_tx_tstamp)
net/core/filter.c
12567
BTF_ID_FLAGS(func, bpf_sock_destroy)
net/core/filter.c
1737
.func = bpf_skb_store_bytes,
net/core/filter.c
1774
.func = bpf_skb_load_bytes,
net/core/filter.c
1813
.func = bpf_flow_dissector_load_bytes,
net/core/filter.c
1857
.func = bpf_skb_load_bytes_relative,
net/core/filter.c
1882
.func = bpf_skb_pull_data,
net/core/filter.c
1895
.func = bpf_sk_fullsock,
net/core/filter.c
1922
.func = sk_skb_pull_data,
net/core/filter.c
1963
.func = bpf_l3_csum_replace,
net/core/filter.c
2017
.func = bpf_l4_csum_replace,
net/core/filter.c
2054
.func = bpf_csum_diff,
net/core/filter.c
2078
.func = bpf_csum_update,
net/core/filter.c
2112
.func = bpf_csum_level,
net/core/filter.c
2497
.func = bpf_clone_redirect,
net/core/filter.c
2563
.func = bpf_redirect,
net/core/filter.c
2584
.func = bpf_redirect_peer,
net/core/filter.c
2610
.func = bpf_redirect_neigh,
net/core/filter.c
2626
.func = bpf_msg_apply_bytes,
net/core/filter.c
2654
.func = bpf_msg_cork_bytes,
net/core/filter.c
2779
.func = bpf_msg_pull_data,
net/core/filter.c
2928
.func = bpf_msg_push_data,
net/core/filter.c
3100
.func = bpf_msg_pop_data,
net/core/filter.c
3116
.func = bpf_get_cgroup_classid_curr,
net/core/filter.c
3132
.func = bpf_skb_cgroup_classid,
net/core/filter.c
3145
.func = bpf_get_cgroup_classid,
net/core/filter.c
3157
.func = bpf_get_route_realm,
net/core/filter.c
3174
.func = bpf_get_hash_recalc,
net/core/filter.c
3190
.func = bpf_set_hash_invalid,
net/core/filter.c
3207
.func = bpf_set_hash,
net/core/filter.c
3233
.func = bpf_skb_vlan_push,
net/core/filter.c
3254
.func = bpf_skb_vlan_pop,
net/core/filter.c
3448
.func = bpf_skb_change_proto,
net/core/filter.c
3468
.func = bpf_skb_change_type,
net/core/filter.c
3698
.func = sk_skb_adjust_room,
net/core/filter.c
3771
.func = bpf_skb_adjust_room,
net/core/filter.c
3867
.func = bpf_skb_change_tail,
net/core/filter.c
3882
.func = sk_skb_change_tail,
net/core/filter.c
3934
.func = bpf_skb_change_head,
net/core/filter.c
3949
.func = sk_skb_change_head,
net/core/filter.c
3963
.func = bpf_xdp_get_buff_len,
net/core/filter.c
3972
.func = bpf_xdp_get_buff_len,
net/core/filter.c
4005
.func = bpf_xdp_adjust_head,
net/core/filter.c
4109
.func = bpf_xdp_load_bytes,
net/core/filter.c
4141
.func = bpf_xdp_store_bytes,
net/core/filter.c
4280
.func = bpf_xdp_adjust_tail,
net/core/filter.c
4307
.func = bpf_xdp_adjust_meta,
net/core/filter.c
4651
.func = bpf_xdp_redirect,
net/core/filter.c
4665
.func = bpf_xdp_redirect_map,
net/core/filter.c
4701
.func = bpf_skb_event_output,
net/core/filter.c
4714
.func = bpf_skb_event_output,
net/core/filter.c
4800
.func = bpf_skb_get_tunnel_key,
net/core/filter.c
4835
.func = bpf_skb_get_tunnel_opt,
net/core/filter.c
4917
.func = bpf_skb_set_tunnel_key,
net/core/filter.c
4945
.func = bpf_skb_set_tunnel_opt,
net/core/filter.c
4999
.func = bpf_skb_under_cgroup,
net/core/filter.c
5026
.func = bpf_skb_cgroup_id,
net/core/filter.c
5057
.func = bpf_skb_ancestor_cgroup_id,
net/core/filter.c
5070
.func = bpf_sk_cgroup_id,
net/core/filter.c
5082
.func = bpf_sk_ancestor_cgroup_id,
net/core/filter.c
5115
.func = bpf_xdp_event_output,
net/core/filter.c
5128
.func = bpf_xdp_event_output,
net/core/filter.c
5145
.func = bpf_get_socket_cookie,
net/core/filter.c
5157
.func = bpf_get_socket_cookie_sock_addr,
net/core/filter.c
5169
.func = bpf_get_socket_cookie_sock,
net/core/filter.c
5181
.func = bpf_get_socket_ptr_cookie,
net/core/filter.c
5193
.func = bpf_get_socket_cookie_sock_ops,
net/core/filter.c
5212
.func = bpf_get_netns_cookie,
net/core/filter.c
5223
.func = bpf_get_netns_cookie_sock,
net/core/filter.c
5235
.func = bpf_get_netns_cookie_sock_addr,
net/core/filter.c
5247
.func = bpf_get_netns_cookie_sock_ops,
net/core/filter.c
5259
.func = bpf_get_netns_cookie_sk_msg,
net/core/filter.c
5277
.func = bpf_get_socket_uid,
net/core/filter.c
5663
.func = bpf_sk_setsockopt,
net/core/filter.c
5680
.func = bpf_sk_getsockopt,
net/core/filter.c
5697
.func = bpf_unlocked_sk_setsockopt,
net/core/filter.c
5714
.func = bpf_unlocked_sk_getsockopt,
net/core/filter.c
5731
.func = bpf_sock_addr_setsockopt,
net/core/filter.c
5748
.func = bpf_sock_addr_getsockopt,
net/core/filter.c
5793
.func = bpf_sock_create_setsockopt,
net/core/filter.c
5819
.func = bpf_sock_create_getsockopt,
net/core/filter.c
5839
.func = bpf_sock_ops_setsockopt,
net/core/filter.c
5949
.func = bpf_sock_ops_getsockopt,
net/core/filter.c
5977
.func = bpf_sock_ops_cb_flags_set,
net/core/filter.c
6023
.func = bpf_bind,
net/core/filter.c
6075
.func = bpf_skb_get_xfrm_state,
net/core/filter.c
6408
.func = bpf_xdp_fib_lookup,
net/core/filter.c
6463
.func = bpf_skb_fib_lookup,
net/core/filter.c
6562
.func = bpf_skb_check_mtu,
net/core/filter.c
6574
.func = bpf_xdp_check_mtu,
net/core/filter.c
6660
.func = bpf_lwt_in_push_encap,
net/core/filter.c
6670
.func = bpf_lwt_xmit_push_encap,
net/core/filter.c
6714
.func = bpf_lwt_seg6_store_bytes,
net/core/filter.c
6803
.func = bpf_lwt_seg6_action,
net/core/filter.c
6864
.func = bpf_lwt_seg6_adjust_srh,
net/core/filter.c
7046
.func = bpf_skc_lookup_tcp,
net/core/filter.c
7065
.func = bpf_sk_lookup_tcp,
net/core/filter.c
7084
.func = bpf_sk_lookup_udp,
net/core/filter.c
7108
.func = bpf_tc_skc_lookup_tcp,
net/core/filter.c
7132
.func = bpf_tc_sk_lookup_tcp,
net/core/filter.c
7156
.func = bpf_tc_sk_lookup_udp,
net/core/filter.c
7175
.func = bpf_sk_release,
net/core/filter.c
7194
.func = bpf_xdp_sk_lookup_udp,
net/core/filter.c
7218
.func = bpf_xdp_skc_lookup_tcp,
net/core/filter.c
7242
.func = bpf_xdp_sk_lookup_tcp,
net/core/filter.c
7263
.func = bpf_sock_addr_skc_lookup_tcp,
net/core/filter.c
7282
.func = bpf_sock_addr_sk_lookup_tcp,
net/core/filter.c
7301
.func = bpf_sock_addr_sk_lookup_udp,
net/core/filter.c
7462
.func = bpf_tcp_sock,
net/core/filter.c
7479
.func = bpf_get_listener_sock,
net/core/filter.c
7552
.func = bpf_skb_ecn_set_ce,
net/core/filter.c
7620
.func = bpf_tcp_check_syncookie,
net/core/filter.c
7689
.func = bpf_tcp_gen_syncookie,
net/core/filter.c
7722
.func = bpf_sk_assign,
net/core/filter.c
7846
.func = bpf_sock_ops_load_hdr_opt,
net/core/filter.c
7924
.func = bpf_sock_ops_store_hdr_opt,
net/core/filter.c
7951
.func = bpf_sock_ops_reserve_hdr_opt,
net/core/filter.c
7992
.func = bpf_skb_set_tstamp,
net/core/filter.c
8017
.func = bpf_tcp_raw_gen_syncookie_ipv4,
net/core/filter.c
8049
.func = bpf_tcp_raw_gen_syncookie_ipv6,
net/core/filter.c
8069
.func = bpf_tcp_raw_check_syncookie_ipv4,
net/core/filter.c
8093
.func = bpf_tcp_raw_check_syncookie_ipv6,
net/core/net-procfs.c
312
dev ? dev->name : "", pt->func);
net/core/selftests.c
248
tpriv->pt.func = net_test_loopback_validate;
net/core/sock_map.c
1241
.func = bpf_sock_hash_update,
net/core/sock_map.c
1270
.func = bpf_sk_redirect_hash,
net/core/sock_map.c
1301
.func = bpf_msg_redirect_hash,
net/core/sock_map.c
635
.func = bpf_sock_map_update,
net/core/sock_map.c
664
.func = bpf_sk_redirect_map,
net/core/sock_map.c
695
.func = bpf_msg_redirect_map,
net/core/xdp.c
616
void xdp_warn(const char *msg, const char *func, const int line)
net/core/xdp.c
618
WARN(1, "XDP_WARN: %s(line:%d): %s\n", func, line, msg);
net/core/xdp.c
967
#define XDP_METADATA_KFUNC(_, __, name, ___) BTF_ID_FLAGS(func, name)
net/core/xdp.c
978
#define XDP_METADATA_KFUNC(name, _, str, __) BTF_ID(func, str)
net/dsa/tag.c
130
.func = dsa_switch_rcv,
net/ieee802154/6lowpan/rx.c
312
.func = lowpan_rcv,
net/ieee802154/socket.c
1098
.func = ieee802154_rcv,
net/ipv4/af_inet.c
1892
.func = ip_rcv,
net/ipv4/arp.c
1378
.func = arp_rcv,
net/ipv4/bpf_tcp_ca.c
129
.func = bpf_tcp_send_ack,
net/ipv4/bpf_tcp_ca.c
192
BTF_ID_FLAGS(func, tcp_reno_ssthresh)
net/ipv4/bpf_tcp_ca.c
193
BTF_ID_FLAGS(func, tcp_reno_cong_avoid)
net/ipv4/bpf_tcp_ca.c
194
BTF_ID_FLAGS(func, tcp_reno_undo_cwnd)
net/ipv4/bpf_tcp_ca.c
195
BTF_ID_FLAGS(func, tcp_slow_start)
net/ipv4/bpf_tcp_ca.c
196
BTF_ID_FLAGS(func, tcp_cong_avoid_ai)
net/ipv4/fou_bpf.c
104
BTF_ID_FLAGS(func, bpf_skb_set_fou_encap)
net/ipv4/fou_bpf.c
105
BTF_ID_FLAGS(func, bpf_skb_get_fou_encap)
net/ipv4/ipconfig.c
482
.func = ic_rarp_recv,
net/ipv4/ipconfig.c
665
.func = ic_bootp_recv,
net/ipv4/tcp_bbr.c
1159
BTF_ID_FLAGS(func, bbr_init)
net/ipv4/tcp_bbr.c
1160
BTF_ID_FLAGS(func, bbr_main)
net/ipv4/tcp_bbr.c
1161
BTF_ID_FLAGS(func, bbr_sndbuf_expand)
net/ipv4/tcp_bbr.c
1162
BTF_ID_FLAGS(func, bbr_undo_cwnd)
net/ipv4/tcp_bbr.c
1163
BTF_ID_FLAGS(func, bbr_cwnd_event)
net/ipv4/tcp_bbr.c
1164
BTF_ID_FLAGS(func, bbr_ssthresh)
net/ipv4/tcp_bbr.c
1165
BTF_ID_FLAGS(func, bbr_min_tso_segs)
net/ipv4/tcp_bbr.c
1166
BTF_ID_FLAGS(func, bbr_set_state)
net/ipv4/tcp_cubic.c
491
BTF_ID_FLAGS(func, cubictcp_init)
net/ipv4/tcp_cubic.c
492
BTF_ID_FLAGS(func, cubictcp_recalc_ssthresh)
net/ipv4/tcp_cubic.c
493
BTF_ID_FLAGS(func, cubictcp_cong_avoid)
net/ipv4/tcp_cubic.c
494
BTF_ID_FLAGS(func, cubictcp_state)
net/ipv4/tcp_cubic.c
495
BTF_ID_FLAGS(func, cubictcp_cwnd_event)
net/ipv4/tcp_cubic.c
496
BTF_ID_FLAGS(func, cubictcp_acked)
net/ipv4/tcp_dctcp.c
275
BTF_ID_FLAGS(func, dctcp_init)
net/ipv4/tcp_dctcp.c
276
BTF_ID_FLAGS(func, dctcp_update_alpha)
net/ipv4/tcp_dctcp.c
277
BTF_ID_FLAGS(func, dctcp_cwnd_event)
net/ipv4/tcp_dctcp.c
278
BTF_ID_FLAGS(func, dctcp_ssthresh)
net/ipv4/tcp_dctcp.c
279
BTF_ID_FLAGS(func, dctcp_cwnd_undo)
net/ipv4/tcp_dctcp.c
280
BTF_ID_FLAGS(func, dctcp_state)
net/ipv6/af_inet6.c
877
.func = ipv6_rcv,
net/ipv6/ip6_fib.c
2184
err = w->func(w);
net/ipv6/ip6_fib.c
2252
if (!c->func) {
net/ipv6/ip6_fib.c
2259
res = c->func(rt, c->arg);
net/ipv6/ip6_fib.c
2296
int (*func)(struct fib6_info *, void *arg),
net/ipv6/ip6_fib.c
2302
c.w.func = fib6_clean_node;
net/ipv6/ip6_fib.c
2306
c.func = func;
net/ipv6/ip6_fib.c
2316
int (*func)(struct fib6_info *, void *),
net/ipv6/ip6_fib.c
2329
func, sernum, arg, skip_notify);
net/ipv6/ip6_fib.c
2336
void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *),
net/ipv6/ip6_fib.c
2339
__fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, false);
net/ipv6/ip6_fib.c
2343
int (*func)(struct fib6_info *, void *),
net/ipv6/ip6_fib.c
2346
__fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, true);
net/ipv6/ip6_fib.c
2664
iter->w.func = ipv6_route_yield;
net/ipv6/ip6_fib.c
45
int (*func)(struct fib6_info *, void *arg);
net/ipv6/ip6_fib.c
501
w->func = fib6_node_dump;
net/ipv6/ip6_fib.c
667
w->func = fib6_dump_node;
net/ipv6/ndisc.c
1914
const char *func, const char *dev_name)
net/ipv6/ndisc.c
1921
warncomm, func,
net/iucv/af_iucv.c
2269
.func = afiucv_hs_rcv,
net/llc/llc_core.c
106
sap->rcv_func = func;
net/llc/llc_core.c
135
.func = llc_rcv,
net/llc/llc_core.c
92
int (*func)(struct sk_buff *skb,
net/mac80211/cfg.c
4858
struct cfg80211_nan_func *func;
net/mac80211/cfg.c
4866
func = idr_find(&sdata->u.nan.function_inst_ids, inst_id);
net/mac80211/cfg.c
4867
if (WARN_ON(!func)) {
net/mac80211/cfg.c
4872
cookie = func->cookie;
net/mac80211/cfg.c
4877
cfg80211_free_nan_func(func);
net/mac80211/cfg.c
4889
struct cfg80211_nan_func *func;
net/mac80211/cfg.c
4896
func = idr_find(&sdata->u.nan.function_inst_ids, match->inst_id);
net/mac80211/cfg.c
4897
if (WARN_ON(!func)) {
net/mac80211/cfg.c
4901
match->cookie = func->cookie;
net/mac80211/cfg.c
542
struct cfg80211_nan_func *func;
net/mac80211/cfg.c
547
idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) {
net/mac80211/cfg.c
548
if (func->cookie == cookie)
net/mac80211/cfg.c
549
return func;
net/mac80211/cfg.c
559
struct cfg80211_nan_func *func;
net/mac80211/cfg.c
568
func = ieee80211_find_nan_func_by_cookie(sdata, cookie);
net/mac80211/cfg.c
569
if (func)
net/mac80211/cfg.c
570
instance_id = func->instance_id;
net/mac80211/iface.c
486
struct cfg80211_nan_func *func;
net/mac80211/iface.c
627
idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, i) {
net/mac80211/iface.c
629
cfg80211_free_nan_func(func);
net/mac80211/trace.h
2109
const struct cfg80211_nan_func *func),
net/mac80211/trace.h
2111
TP_ARGS(local, sdata, func),
net/mac80211/trace.h
2122
__entry->type = func->type;
net/mac80211/trace.h
2123
__entry->inst_id = func->instance_id;
net/mac80211/util.c
1737
struct cfg80211_nan_func *func, **funcs;
net/mac80211/util.c
1755
idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id)
net/mac80211/util.c
1756
funcs[i++] = func;
net/mctp/route.c
1392
.func = mctp_pkttype_receive,
net/mpls/af_mpls.c
506
.func = mpls_forward,
net/mptcp/bpf.c
24
BTF_ID_FLAGS(func, update_socket_protocol)
net/ncsi/ncsi-manage.c
1801
ndp->ptype.func = ncsi_rcv_rsp;
net/netfilter/nf_conntrack_bpf.c
508
BTF_ID_FLAGS(func, bpf_xdp_ct_alloc, KF_ACQUIRE | KF_RET_NULL)
net/netfilter/nf_conntrack_bpf.c
509
BTF_ID_FLAGS(func, bpf_xdp_ct_lookup, KF_ACQUIRE | KF_RET_NULL)
net/netfilter/nf_conntrack_bpf.c
510
BTF_ID_FLAGS(func, bpf_skb_ct_alloc, KF_ACQUIRE | KF_RET_NULL)
net/netfilter/nf_conntrack_bpf.c
511
BTF_ID_FLAGS(func, bpf_skb_ct_lookup, KF_ACQUIRE | KF_RET_NULL)
net/netfilter/nf_conntrack_bpf.c
512
BTF_ID_FLAGS(func, bpf_ct_insert_entry, KF_ACQUIRE | KF_RET_NULL | KF_RELEASE)
net/netfilter/nf_conntrack_bpf.c
513
BTF_ID_FLAGS(func, bpf_ct_release, KF_RELEASE)
net/netfilter/nf_conntrack_bpf.c
514
BTF_ID_FLAGS(func, bpf_ct_set_timeout)
net/netfilter/nf_conntrack_bpf.c
515
BTF_ID_FLAGS(func, bpf_ct_change_timeout)
net/netfilter/nf_conntrack_bpf.c
516
BTF_ID_FLAGS(func, bpf_ct_set_status)
net/netfilter/nf_conntrack_bpf.c
517
BTF_ID_FLAGS(func, bpf_ct_change_status)
net/netfilter/nf_flow_table_bpf.c
108
BTF_ID_FLAGS(func, bpf_xdp_flow_lookup, KF_RET_NULL)
net/netfilter/nf_nat_bpf.c
58
BTF_ID_FLAGS(func, bpf_ct_set_nat_info)
net/netrom/af_netrom.c
1382
.func = nr_route_frame
net/netrom/af_netrom.c
1386
.func = nr_link_failed,
net/packet/af_packet.c
1275
if (po->prot_hook.func != tpacket_rcv) {
net/packet/af_packet.c
1504
return po->prot_hook.func(skb, dev, &po->prot_hook, orig_dev);
net/packet/af_packet.c
1770
match->prot_hook.func = packet_rcv_fanout;
net/packet/af_packet.c
3379
po->prot_hook.func = packet_rcv;
net/packet/af_packet.c
3382
po->prot_hook.func = packet_rcv_spkt;
net/packet/af_packet.c
4549
po->prot_hook.func = (po->rx_ring.pg_vec) ?
net/phonet/af_phonet.c
456
.func = phonet_rcv,
net/rds/info.c
165
rds_info_func func;
net/rds/info.c
208
func = rds_info_funcs[optname - RDS_INFO_FIRST];
net/rds/info.c
209
if (!func) {
net/rds/info.c
218
func(sock, len, &iter, &lens);
net/rds/info.c
73
void rds_info_register_func(int optname, rds_info_func func)
net/rds/info.c
81
rds_info_funcs[offset] = func;
net/rds/info.c
86
void rds_info_deregister_func(int optname, rds_info_func func)
net/rds/info.c
93
BUG_ON(rds_info_funcs[offset] != func);
net/rds/info.h
22
void rds_info_register_func(int optname, rds_info_func func);
net/rds/info.h
23
void rds_info_deregister_func(int optname, rds_info_func func);
net/rose/af_rose.c
1555
.func = rose_route_frame
net/rose/af_rose.c
1559
.func = rose_link_failed
net/sched/bpf_qdisc.c
133
BTF_ID_LIST_SINGLE(bpf_qdisc_init_prologue_ids, func, bpf_qdisc_init_prologue)
net/sched/bpf_qdisc.c
163
BTF_ID_LIST_SINGLE(bpf_qdisc_reset_destroy_epilogue_ids, func, bpf_qdisc_reset_destroy_epilogue)
net/sched/bpf_qdisc.c
280
BTF_ID_FLAGS(func, bpf_skb_get_hash)
net/sched/bpf_qdisc.c
281
BTF_ID_FLAGS(func, bpf_kfree_skb, KF_RELEASE)
net/sched/bpf_qdisc.c
282
BTF_ID_FLAGS(func, bpf_qdisc_skb_drop, KF_RELEASE)
net/sched/bpf_qdisc.c
283
BTF_ID_FLAGS(func, bpf_dynptr_from_skb)
net/sched/bpf_qdisc.c
284
BTF_ID_FLAGS(func, bpf_qdisc_watchdog_schedule)
net/sched/bpf_qdisc.c
285
BTF_ID_FLAGS(func, bpf_qdisc_init_prologue)
net/sched/bpf_qdisc.c
286
BTF_ID_FLAGS(func, bpf_qdisc_reset_destroy_epilogue)
net/sched/bpf_qdisc.c
287
BTF_ID_FLAGS(func, bpf_qdisc_bstats_update)
net/sched/bpf_qdisc.c
291
BTF_ID(func, bpf_skb_get_hash)
net/sched/bpf_qdisc.c
292
BTF_ID(func, bpf_kfree_skb)
net/sched/bpf_qdisc.c
293
BTF_ID(func, bpf_dynptr_from_skb)
net/sched/bpf_qdisc.c
297
BTF_ID(func, bpf_qdisc_skb_drop)
net/sched/bpf_qdisc.c
298
BTF_ID(func, bpf_qdisc_watchdog_schedule)
net/sched/bpf_qdisc.c
302
BTF_ID(func, bpf_qdisc_watchdog_schedule)
net/sched/bpf_qdisc.c
303
BTF_ID(func, bpf_qdisc_bstats_update)
net/sched/bpf_qdisc.c
458
BTF_ID_LIST_SINGLE(bpf_sk_buff_dtor_ids, func, bpf_kfree_skb_dtor)
net/sched/cls_api.c
325
bool tcf_queue_work(struct rcu_work *rwork, work_func_t func)
net/sched/cls_api.c
327
INIT_RCU_WORK(rwork, func);
net/sctp/inqueue.c
88
q->immediate.func(&q->immediate);
net/sctp/sm_statetable.c
89
#define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
net/smc/smc_rx.c
358
int (*func)(struct smc_connection *conn, size_t baseline);
net/smc/smc_rx.c
448
func = smc_rx_data_available_and_no_splice_pend;
net/smc/smc_rx.c
450
func = smc_rx_data_available;
net/smc/smc_rx.c
451
smc_rx_wait(smc, &timeo, peeked_bytes, func);
net/sunrpc/clnt.c
808
void func(struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *xps))
net/sunrpc/clnt.c
815
func(xpi, xps);
net/sunrpc/sched.c
666
bool (*func)(struct rpc_task *, void *), void *data)
net/sunrpc/sched.c
674
task, func, data);
net/sunrpc/sched.c
684
bool (*func)(struct rpc_task *, void *), void *data)
net/sunrpc/sched.c
686
return rpc_wake_up_first_on_wq(rpciod_workqueue, queue, func, data);
net/switchdev/switchdev.c
113
switchdev_deferred_func_t *func)
net/switchdev/switchdev.c
121
dfitem->func = func;
net/switchdev/switchdev.c
457
if ((dfitem->func == switchdev_port_obj_add_deferred &&
net/switchdev/switchdev.c
459
(dfitem->func == switchdev_port_obj_del_deferred &&
net/switchdev/switchdev.c
61
switchdev_deferred_func_t *func;
net/switchdev/switchdev.c
95
dfitem->func(dfitem->dev, dfitem->data);
net/tipc/bearer.c
461
b->pt.func = tipc_l2_rcv_msg;
net/tipc/bearer.c
809
tn->loopback_pt.func = tipc_loopback_rcv_pkt;
net/wireless/core.c
1150
wk->func(&rdev->wiphy, wk);
net/wireless/core.c
440
wk->func(&rdev->wiphy, wk);
net/wireless/nl80211.c
15883
struct cfg80211_nan_func *func,
net/wireless/nl80211.c
15894
BUILD_BUG_ON(sizeof(*func->rx_filters) != sizeof(*func->tx_filters));
net/wireless/nl80211.c
15896
filter = kzalloc_objs(*func->rx_filters, n_entries);
net/wireless/nl80211.c
15910
func->num_tx_filters = n_entries;
net/wireless/nl80211.c
15911
func->tx_filters = filter;
net/wireless/nl80211.c
15913
func->num_rx_filters = n_entries;
net/wireless/nl80211.c
15914
func->rx_filters = filter;
net/wireless/nl80211.c
15935
struct cfg80211_nan_func *func;
net/wireless/nl80211.c
15956
func = kzalloc_obj(*func);
net/wireless/nl80211.c
15957
if (!func)
net/wireless/nl80211.c
15960
func->cookie = cfg80211_assign_cookie(rdev);
net/wireless/nl80211.c
15968
func->type = nla_get_u8(tb[NL80211_NAN_FUNC_TYPE]);
net/wireless/nl80211.c
15975
memcpy(func->service_id, nla_data(tb[NL80211_NAN_FUNC_SERVICE_ID]),
net/wireless/nl80211.c
15976
sizeof(func->service_id));
net/wireless/nl80211.c
15978
func->close_range =
net/wireless/nl80211.c
15982
func->serv_spec_info_len =
net/wireless/nl80211.c
15984
func->serv_spec_info =
net/wireless/nl80211.c
15986
func->serv_spec_info_len,
net/wireless/nl80211.c
15988
if (!func->serv_spec_info) {
net/wireless/nl80211.c
15995
func->ttl = nla_get_u32(tb[NL80211_NAN_FUNC_TTL]);
net/wireless/nl80211.c
15997
switch (func->type) {
net/wireless/nl80211.c
16004
func->publish_type =
net/wireless/nl80211.c
16006
func->publish_bcast =
net/wireless/nl80211.c
16009
if ((!(func->publish_type & NL80211_NAN_SOLICITED_PUBLISH)) &&
net/wireless/nl80211.c
16010
func->publish_bcast) {
net/wireless/nl80211.c
16016
func->subscribe_active =
net/wireless/nl80211.c
16027
func->followup_id =
net/wireless/nl80211.c
16029
func->followup_reqid =
net/wireless/nl80211.c
16031
memcpy(func->followup_dest.addr,
net/wireless/nl80211.c
16033
sizeof(func->followup_dest.addr));
net/wireless/nl80211.c
16034
if (func->ttl) {
net/wireless/nl80211.c
16055
func->srf_include =
net/wireless/nl80211.c
16065
func->srf_bf_len =
net/wireless/nl80211.c
16067
func->srf_bf =
net/wireless/nl80211.c
16069
func->srf_bf_len, GFP_KERNEL);
net/wireless/nl80211.c
16070
if (!func->srf_bf) {
net/wireless/nl80211.c
16075
func->srf_bf_idx =
net/wireless/nl80211.c
16093
func->srf_num_macs = n_entries;
net/wireless/nl80211.c
16094
func->srf_macs =
net/wireless/nl80211.c
16095
kzalloc_objs(*func->srf_macs, n_entries);
net/wireless/nl80211.c
16096
if (!func->srf_macs) {
net/wireless/nl80211.c
16102
memcpy(func->srf_macs[i++].addr, nla_data(attr),
net/wireless/nl80211.c
16103
sizeof(*func->srf_macs));
net/wireless/nl80211.c
16109
func, true);
net/wireless/nl80211.c
16116
func, false);
net/wireless/nl80211.c
16135
err = rdev_add_nan_func(rdev, wdev, func);
net/wireless/nl80211.c
16138
cfg80211_free_nan_func(func);
net/wireless/nl80211.c
16144
if (nla_put_u64_64bit(msg, NL80211_ATTR_COOKIE, func->cookie,
net/wireless/nl80211.c
16153
func->instance_id))
net/wireless/trace.h
2359
const struct cfg80211_nan_func *func),
net/wireless/trace.h
2360
TP_ARGS(wiphy, wdev, func),
net/wireless/trace.h
2370
__entry->func_type = func->type;
net/wireless/trace.h
2371
__entry->cookie = func->cookie
net/wireless/trace.h
255
__field(void *, func)
net/wireless/trace.h
260
__entry->func = work ? work->func : NULL;
net/wireless/trace.h
263
WIPHY_PR_ARG, __entry->instance, __entry->func)
net/wireless/trace.h
293
__field(void *, func)
net/wireless/trace.h
299
__entry->func = work->func;
net/wireless/trace.h
303
WIPHY_PR_ARG, __entry->instance, __entry->func,
net/wireless/trace.h
314
__field(void *, func)
net/wireless/trace.h
320
__entry->func = work->func;
net/wireless/trace.h
324
WIPHY_PR_ARG, __entry->instance, __entry->func,
net/x25/af_x25.c
1764
.func = x25_lapb_receive_frame,
net/xfrm/xfrm_interface_bpf.c
97
BTF_ID_FLAGS(func, bpf_skb_get_xfrm_info)
net/xfrm/xfrm_interface_bpf.c
98
BTF_ID_FLAGS(func, bpf_skb_set_xfrm_info)
net/xfrm/xfrm_policy.c
1898
int (*func)(struct xfrm_policy *, int, int, void*),
net/xfrm/xfrm_policy.c
1926
error = func(pol, xfrm_policy_id2dir(pol->index),
net/xfrm/xfrm_state.c
2653
int (*func)(struct xfrm_state *, int, void*),
net/xfrm/xfrm_state.c
2676
err = func(state, walk->seq, data);
net/xfrm/xfrm_state_bpf.c
121
BTF_ID_FLAGS(func, bpf_xdp_get_xfrm_state, KF_RET_NULL | KF_ACQUIRE)
net/xfrm/xfrm_state_bpf.c
122
BTF_ID_FLAGS(func, bpf_xdp_xfrm_state_release, KF_RELEASE)
rust/helpers/binder.c
24
task_work_func_t func)
rust/helpers/binder.c
26
init_task_work(twork, func);
rust/helpers/workqueue.c
15
work->func = func;
rust/helpers/workqueue.c
6
work_func_t func,
samples/ftrace/ftrace-ops.c
120
static struct sample_ops *ops_alloc_init(void *tracee, ftrace_func_t func,
samples/ftrace/ftrace-ops.c
130
ops[i].ops.func = func;
samples/kdb/kdb_hello.c
33
.func = kdb_hello_cmd,
samples/kprobes/kretprobe_example.c
29
module_param_string(func, func_name, KSYM_NAME_LEN, 0644);
samples/kprobes/kretprobe_example.c
30
MODULE_PARM_DESC(func, "Function to kretprobe; this module will report the"
samples/timers/hpet_example.c
30
void (*func)(int argc, const char ** argv);
samples/timers/hpet_example.c
70
hpet_command[i].func(argc, argv);
scripts/dtc/checks.c
920
unsigned int dev, func, reg;
scripts/dtc/checks.c
936
func = (reg & 0x700) >> 8;
scripts/dtc/checks.c
943
if (func == 0) {
scripts/dtc/checks.c
949
snprintf(unit_addr, sizeof(unit_addr), "%x,%x", dev, func);
scripts/dtc/include-prefixes/arm/microchip/sama5d2-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
scripts/dtc/include-prefixes/arm/microchip/sama5d2-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
scripts/dtc/include-prefixes/arm/microchip/sama7d65-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
scripts/dtc/include-prefixes/arm/microchip/sama7d65-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
scripts/dtc/include-prefixes/arm/microchip/sama7g5-pinfunc.h
2
#define PINMUX_PIN(no, func, ioset) \
scripts/dtc/include-prefixes/arm/microchip/sama7g5-pinfunc.h
3
(((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20))
scripts/dtc/include-prefixes/dt-bindings/pinctrl/apple.h
9
#define APPLE_PINMUX(pin, func) ((pin) | ((func) << 16))
scripts/dtc/include-prefixes/dt-bindings/pinctrl/k210-fpioa.h
271
#define K210_FPIOA(pin, func) (((pin) << 16) | (func))
scripts/dtc/include-prefixes/riscv/starfive/jh7110-pinfunc.h
27
#define PINMUX(n, func) ((1 << 10) | (((func) & 0x3) << 8) | ((n) & 0xff))
scripts/gendwarfksyms/die.c
87
void die_map_for_each(die_map_callback_t func, void *arg)
scripts/gendwarfksyms/die.c
93
func(cd, arg);
scripts/gendwarfksyms/dwarf.c
267
Dwarf_Die *die, die_callback_t func,
scripts/gendwarfksyms/dwarf.c
281
res = checkp(func(state, cache, &current));
scripts/gendwarfksyms/gendwarfksyms.h
132
void symbol_for_each(symbol_callback_t func, void *arg);
scripts/gendwarfksyms/gendwarfksyms.h
199
void die_map_for_each(die_map_callback_t func, void *arg);
scripts/gendwarfksyms/gendwarfksyms.h
265
Dwarf_Die *die, die_callback_t func,
scripts/gendwarfksyms/symbols.c
183
void symbol_for_each(symbol_callback_t func, void *arg)
scripts/gendwarfksyms/symbols.c
189
func(sym, arg);
scripts/gendwarfksyms/symbols.c
196
static void elf_for_each_global(int fd, elf_symbol_callback_t func, void *arg)
scripts/gendwarfksyms/symbols.c
21
static unsigned int __for_each_addr(struct symbol *sym, symbol_callback_t func,
scripts/gendwarfksyms/symbols.c
277
func(name, sym, xndx, arg);
scripts/gendwarfksyms/symbols.c
35
func(match, data);
scripts/gendwarfksyms/symbols.c
57
static unsigned int for_each(const char *name, symbol_callback_t func,
scripts/gendwarfksyms/symbols.c
74
if (func)
scripts/gendwarfksyms/symbols.c
75
func(match, data);
scripts/gendwarfksyms/symbols.c
78
return __for_each_addr(match, func, data) + 1;
scripts/kconfig/nconf.c
311
const char *func;
scripts/kconfig/nconf.c
320
.func = "Help",
scripts/kconfig/nconf.c
326
.func = "SymInfo",
scripts/kconfig/nconf.c
332
.func = "Help 2",
scripts/kconfig/nconf.c
338
.func = "ShowAll",
scripts/kconfig/nconf.c
344
.func = "Back",
scripts/kconfig/nconf.c
350
.func = "Save",
scripts/kconfig/nconf.c
356
.func = "Load",
scripts/kconfig/nconf.c
362
.func = "SymSearch",
scripts/kconfig/nconf.c
368
.func = "Exit",
scripts/kconfig/nconf.c
390
function_keys[i].func);
scripts/kconfig/nconf.c
391
offset += strlen(function_keys[i].func) + skip;
scripts/kconfig/preprocess.c
114
char *(*func)(int argc, char *argv[]);
scripts/kconfig/preprocess.c
224
return f->func(argc, argv);
security/integrity/ima/ima.h
345
static inline const char *func_measure_str(enum ima_hooks func)
security/integrity/ima/ima.h
347
if (func >= MAX_CHECK)
security/integrity/ima/ima.h
350
return ima_hooks_measure_str[func];
security/integrity/ima/ima.h
384
enum ima_hooks func, int *pcr,
security/integrity/ima/ima.h
387
int ima_must_measure(struct inode *inode, int mask, enum ima_hooks func);
security/integrity/ima/ima.h
398
const char *eventname, enum ima_hooks func,
security/integrity/ima/ima.h
415
enum ima_hooks func, int mask, int flags, int *pcr,
security/integrity/ima/ima.h
441
int ima_appraise_measurement(enum ima_hooks func, struct ima_iint_cache *iint,
security/integrity/ima/ima.h
447
int mask, enum ima_hooks func);
security/integrity/ima/ima.h
450
enum ima_hooks func);
security/integrity/ima/ima.h
464
static inline int ima_appraise_measurement(enum ima_hooks func,
security/integrity/ima/ima.h
478
enum ima_hooks func)
security/integrity/ima/ima.h
489
ima_get_cache_status(struct ima_iint_cache *iint, enum ima_hooks func)
security/integrity/ima/ima.h
514
int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len,
security/integrity/ima/ima.h
523
static inline int ima_read_modsig(enum ima_hooks func, const void *buf,
security/integrity/ima/ima_api.c
193
enum ima_hooks func, int *pcr,
security/integrity/ima/ima_api.c
201
return ima_match_policy(idmap, inode, cred, prop, func, mask,
security/integrity/ima/ima_appraise.c
110
enum ima_hooks func)
security/integrity/ima/ima_appraise.c
112
switch (func) {
security/integrity/ima/ima_appraise.c
130
enum ima_hooks func,
security/integrity/ima/ima_appraise.c
133
switch (func) {
security/integrity/ima/ima_appraise.c
155
static void ima_cache_flags(struct ima_iint_cache *iint, enum ima_hooks func)
security/integrity/ima/ima_appraise.c
157
switch (func) {
security/integrity/ima/ima_appraise.c
278
static int xattr_verify(enum ima_hooks func, struct ima_iint_cache *iint,
security/integrity/ima/ima_appraise.c
350
func == KEXEC_KERNEL_CHECK)
security/integrity/ima/ima_appraise.c
419
static int modsig_verify(enum ima_hooks func, const struct modsig *modsig,
security/integrity/ima/ima_appraise.c
426
func == KEXEC_KERNEL_CHECK)
security/integrity/ima/ima_appraise.c
481
int ima_appraise_measurement(enum ima_hooks func, struct ima_iint_cache *iint,
security/integrity/ima/ima_appraise.c
561
rc = xattr_verify(func, iint, xattr_value, xattr_len, &status,
security/integrity/ima/ima_appraise.c
571
rc = modsig_verify(func, modsig, &status, &cause);
security/integrity/ima/ima_appraise.c
608
ima_cache_flags(iint, func);
security/integrity/ima/ima_appraise.c
611
ima_set_cache_status(iint, func, status);
security/integrity/ima/ima_appraise.c
75
int mask, enum ima_hooks func)
security/integrity/ima/ima_appraise.c
84
func, mask, IMA_APPRAISE | IMA_HASH, NULL,
security/integrity/ima/ima_main.c
1046
const char *eventname, enum ima_hooks func,
security/integrity/ima/ima_main.c
106
static int mmap_violation_check(enum ima_hooks func, struct file *file,
security/integrity/ima/ima_main.c
1088
if (func) {
security/integrity/ima/ima_main.c
1091
&prop, 0, func, &pcr, &template,
security/integrity/ima/ima_main.c
1127
if (!ima_policy_flag || (func && !(action & IMA_MEASURE)))
security/integrity/ima/ima_main.c
113
if ((func == MMAP_CHECK || func == MMAP_CHECK_REQPROT) &&
security/integrity/ima/ima_main.c
1145
func_measure_str(func),
security/integrity/ima/ima_main.c
238
int mask, enum ima_hooks func,
security/integrity/ima/ima_main.c
266
mask, func, &pcr, &template_desc, NULL,
security/integrity/ima/ima_main.c
268
violation_check = ((func == FILE_CHECK || func == MMAP_CHECK ||
security/integrity/ima/ima_main.c
269
func == MMAP_CHECK_REQPROT) &&
security/integrity/ima/ima_main.c
280
func = FILE_CHECK;
security/integrity/ima/ima_main.c
377
rc = mmap_violation_check(func, file, &pathbuf,
security/integrity/ima/ima_main.c
380
rc = ima_get_cache_status(iint, func);
security/integrity/ima/ima_main.c
397
rc = ima_read_modsig(func, buf, size, &modsig);
security/integrity/ima/ima_main.c
428
rc = ima_appraise_measurement(func, iint, file,
security/integrity/ima/ima_main.c
435
rc = mmap_violation_check(func, file, &pathbuf,
security/integrity/ima/ima_main.c
865
enum ima_hooks func;
security/integrity/ima/ima_main.c
885
func = read_idmap[read_id] ?: FILE_CHECK;
security/integrity/ima/ima_main.c
888
MAY_READ, func, 0, false);
security/integrity/ima/ima_main.c
916
enum ima_hooks func;
security/integrity/ima/ima_main.c
929
func = read_idmap[read_id] ?: FILE_CHECK;
security/integrity/ima/ima_main.c
932
MAY_READ, func, read_id, false);
security/integrity/ima/ima_modsig.c
40
int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len,
security/integrity/ima/ima_modsig.c
60
rc = mod_check_sig(sig, buf_len, func_tokens[func]);
security/integrity/ima/ima_policy.c
104
enum ima_hooks func;
security/integrity/ima/ima_policy.c
1276
if (((entry->flags & IMA_FUNC) && entry->func == NONE) ||
security/integrity/ima/ima_policy.c
1277
(!(entry->flags & IMA_FUNC) && entry->func != NONE))
security/integrity/ima/ima_policy.c
1284
switch (entry->func) {
security/integrity/ima/ima_policy.c
1523
if (entry->func)
security/integrity/ima/ima_policy.c
1527
entry->func = FILE_CHECK;
security/integrity/ima/ima_policy.c
1530
entry->func = FILE_CHECK;
security/integrity/ima/ima_policy.c
1532
entry->func = MODULE_CHECK;
security/integrity/ima/ima_policy.c
1534
entry->func = FIRMWARE_CHECK;
security/integrity/ima/ima_policy.c
1537
entry->func = MMAP_CHECK;
security/integrity/ima/ima_policy.c
1539
entry->func = MMAP_CHECK_REQPROT;
security/integrity/ima/ima_policy.c
154
{.action = DONT_MEASURE, .fsmagic = TMPFS_MAGIC, .func = FILE_CHECK,
security/integrity/ima/ima_policy.c
1541
entry->func = BPRM_CHECK;
security/integrity/ima/ima_policy.c
1543
entry->func = CREDS_CHECK;
security/integrity/ima/ima_policy.c
1546
entry->func = KEXEC_KERNEL_CHECK;
security/integrity/ima/ima_policy.c
1549
entry->func = KEXEC_INITRAMFS_CHECK;
security/integrity/ima/ima_policy.c
1551
entry->func = POLICY_CHECK;
security/integrity/ima/ima_policy.c
1553
entry->func = KEXEC_CMDLINE;
security/integrity/ima/ima_policy.c
1556
entry->func = KEY_CHECK;
security/integrity/ima/ima_policy.c
1558
entry->func = CRITICAL_DATA;
security/integrity/ima/ima_policy.c
1560
entry->func = SETXATTR_CHECK;
security/integrity/ima/ima_policy.c
170
{.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC,
security/integrity/ima/ima_policy.c
172
{.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC,
security/integrity/ima/ima_policy.c
174
{.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
security/integrity/ima/ima_policy.c
177
{.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
178
{.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
182
{.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC,
security/integrity/ima/ima_policy.c
184
{.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC,
security/integrity/ima/ima_policy.c
186
{.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
security/integrity/ima/ima_policy.c
189
{.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ,
security/integrity/ima/ima_policy.c
192
{.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
193
{.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
1934
temp_ima_appraise |= ima_appraise_flag(entry->func);
security/integrity/ima/ima_policy.c
194
{.action = MEASURE, .func = POLICY_CHECK, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
2019
#define __ima_hook_stringify(func, str) (#func),
security/integrity/ima/ima_policy.c
2078
static void policy_func_show(struct seq_file *m, enum ima_hooks func)
security/integrity/ima/ima_policy.c
2080
if (func > 0 && func < MAX_CHECK)
security/integrity/ima/ima_policy.c
2081
seq_printf(m, "func=%s ", func_tokens[func]);
security/integrity/ima/ima_policy.c
2083
seq_printf(m, "func=%d ", func);
security/integrity/ima/ima_policy.c
213
{.action = APPRAISE, .func = POLICY_CHECK,
security/integrity/ima/ima_policy.c
2149
policy_func_show(m, entry->func);
security/integrity/ima/ima_policy.c
228
{.action = APPRAISE, .func = MODULE_CHECK,
security/integrity/ima/ima_policy.c
232
{.action = APPRAISE, .func = FIRMWARE_CHECK,
security/integrity/ima/ima_policy.c
2340
enum ima_hooks func;
security/integrity/ima/ima_policy.c
2350
func = read_idmap[id] ?: FILE_CHECK;
security/integrity/ima/ima_policy.c
236
{.action = APPRAISE, .func = KEXEC_KERNEL_CHECK,
security/integrity/ima/ima_policy.c
2362
if (entry->func && entry->func != func)
security/integrity/ima/ima_policy.c
240
{.action = APPRAISE, .func = POLICY_CHECK,
security/integrity/ima/ima_policy.c
246
{.action = APPRAISE, .func = MODULE_CHECK,
security/integrity/ima/ima_policy.c
249
{.action = APPRAISE, .func = FIRMWARE_CHECK,
security/integrity/ima/ima_policy.c
251
{.action = APPRAISE, .func = KEXEC_KERNEL_CHECK,
security/integrity/ima/ima_policy.c
253
{.action = APPRAISE, .func = POLICY_CHECK,
security/integrity/ima/ima_policy.c
258
{.action = MEASURE, .func = CRITICAL_DATA, .flags = IMA_FUNC},
security/integrity/ima/ima_policy.c
530
switch (rule->func) {
security/integrity/ima/ima_policy.c
576
struct lsm_prop *prop, enum ima_hooks func, int mask,
security/integrity/ima/ima_policy.c
585
(rule->func != func && func != POST_SETATTR))
security/integrity/ima/ima_policy.c
588
switch (func) {
security/integrity/ima/ima_policy.c
591
return ((rule->func == func) &&
security/integrity/ima/ima_policy.c
598
(rule->mask != mask && func != POST_SETATTR))
security/integrity/ima/ima_policy.c
601
(!(rule->mask & mask) && func != POST_SETATTR))
security/integrity/ima/ima_policy.c
708
static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func)
security/integrity/ima/ima_policy.c
713
switch (func) {
security/integrity/ima/ima_policy.c
754
enum ima_hooks func, int mask, int flags, int *pcr,
security/integrity/ima/ima_policy.c
773
func, mask, func_data))
security/integrity/ima/ima_policy.c
780
action |= get_subaction(entry, func);
security/integrity/ima/ima_policy.c
845
if (entry->func == SETXATTR_CHECK) {
security/integrity/ima/ima_policy.c
864
static int ima_appraise_flag(enum ima_hooks func)
security/integrity/ima/ima_policy.c
866
if (func == MODULE_CHECK)
security/integrity/ima/ima_policy.c
868
else if (func == FIRMWARE_CHECK)
security/integrity/ima/ima_policy.c
870
else if (func == POLICY_CHECK)
security/integrity/ima/ima_policy.c
872
else if (func == KEXEC_KERNEL_CHECK)
security/integrity/ima/ima_policy.c
899
ima_appraise_flag(entries[i].func);
security/integrity/ima/ima_policy.c
902
ima_appraise_flag(entries[i].func);
security/keys/trusted-keys/trusted_tee.c
127
inv_arg.func = TA_CMD_UNSEAL;
security/keys/trusted-keys/trusted_tee.c
173
inv_arg.func = TA_CMD_GET_RANDOM;
security/keys/trusted-keys/trusted_tee.c
80
inv_arg.func = TA_CMD_SEAL;
security/smack/smack.h
470
static inline void smk_ad_init(struct smk_audit_info *a, const char *func,
security/smack/smack.h
476
a->a.smack_audit_data->function = func;
security/smack/smack.h
479
static inline void smk_ad_init_net(struct smk_audit_info *a, const char *func,
security/smack/smack.h
482
smk_ad_init(a, func, type);
security/smack/smack.h
515
static inline void smk_ad_init(struct smk_audit_info *a, const char *func,
security/smack/smack_lsm.c
414
unsigned int mode, const char *func)
security/smack/smack_lsm.c
423
smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK);
sound/core/oss/mulaw.c
133
mulaw_f func;
sound/core/oss/mulaw.c
261
data->func(plugin, src_channels, dst_channels, frames);
sound/core/oss/mulaw.c
295
mulaw_f func;
sound/core/oss/mulaw.c
308
func = mulaw_encode;
sound/core/oss/mulaw.c
312
func = mulaw_decode;
sound/core/oss/mulaw.c
327
data->func = func;
sound/core/oss/rate.c
264
data->func(plugin, src_channels, dst_channels, frames, dst_frames);
sound/core/oss/rate.c
319
data->func = resample_expand;
sound/core/oss/rate.c
322
data->func = resample_shrink;
sound/core/oss/rate.c
33
rate_f func;
sound/core/pcm_lib.c
1167
snd_pcm_hw_rule_func_t func, void *private,
sound/core/pcm_lib.c
1189
c->func = func;
sound/core/pcm_native.c
442
changed = r->func(params, r);
sound/core/seq/seq_clientmgr.c
2154
int (*func)(struct snd_seq_client *client, void *arg);
sound/core/seq/seq_clientmgr.c
2249
err = handler->func(client, &buf);
sound/core/seq/seq_clientmgr.c
2419
return handler->func(client, arg);
sound/core/seq/seq_memory.c
101
return func(private_data, event->data.ext.ptr + offset,
sound/core/seq/seq_memory.c
116
err = func(private_data, curptr + offset, size - offset);
sound/core/seq/seq_memory.c
126
snd_seq_dump_func_t func, void *private_data)
sound/core/seq/seq_memory.c
128
return dump_var_event(event, func, private_data, 0, 0);
sound/core/seq/seq_memory.c
67
snd_seq_dump_func_t func, void *private_data,
sound/core/seq/seq_memory.c
92
err = func(private_data, buf, size);
sound/core/vmaster.c
529
int (*func)(struct snd_kcontrol *vfollower,
sound/core/vmaster.c
543
err = func(follower->kctl, &follower->follower, arg);
sound/drivers/opl4/opl4_synth.c
310
void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice))
sound/drivers/opl4/opl4_synth.c
319
func(opl4, voice);
sound/drivers/opl4/opl4_synth.c
329
void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice))
sound/drivers/opl4/opl4_synth.c
338
func(opl4, voice);
sound/drivers/opl4/opl4_synth.c
347
void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice))
sound/drivers/opl4/opl4_synth.c
356
func(opl4, voice);
sound/hda/codecs/analog.c
1000
.v.func = ad1884_fixup_amp_override,
sound/hda/codecs/analog.c
1004
.v.func = ad1884_fixup_hp_eapd,
sound/hda/codecs/analog.c
1014
.v.func = ad1884_fixup_thinkpad,
sound/hda/codecs/analog.c
260
.v.func = ad_fixup_inv_jack_detect,
sound/hda/codecs/analog.c
317
.v.func = ad1986a_fixup_eapd,
sound/hda/codecs/analog.c
321
.v.func = ad1986a_fixup_eapd_mix_in,
sound/hda/codecs/analog.c
562
.v.func = ad1981_fixup_amp_override,
sound/hda/codecs/analog.c
566
.v.func = ad1981_fixup_hp_eapd,
sound/hda/codecs/cirrus/cs420x.c
492
.v.func = cs420x_fixup_gpio_13,
sound/hda/codecs/cirrus/cs420x.c
496
.v.func = cs420x_fixup_gpio_23,
sound/hda/codecs/cirrus/cs420x.c
679
.v.func = cs4208_fixup_spdif_switch,
sound/hda/codecs/cirrus/cs420x.c
685
.v.func = cs4208_fixup_macmini,
sound/hda/codecs/cirrus/cs420x.c
691
.v.func = cs4208_fixup_gpio0,
sound/hda/codecs/cirrus/cs420x.c
695
.v.func = cs4208_fixup_mac,
sound/hda/codecs/cirrus/cs421x.c
239
.v.func = cs421x_fixup_sense_b,
sound/hda/codecs/cirrus/cs8409-tables.c
669
.v.func = cs8409_cs42l42_fixups,
sound/hda/codecs/cirrus/cs8409-tables.c
679
.v.func = dolphin_fixups,
sound/hda/codecs/cirrus/cs8409-tables.c
695
.v.func = cs8409_cdb35l56_four_autodet_fixup,
sound/hda/codecs/conexant.c
1002
.v.func = cxt_fixup_headset_mic,
sound/hda/codecs/conexant.c
1026
.v.func = cxt_fixup_hp_a_u,
sound/hda/codecs/conexant.c
880
.v.func = cxt_fixup_stereo_dmic,
sound/hda/codecs/conexant.c
892
.v.func = cxt5066_increase_mic_boost,
sound/hda/codecs/conexant.c
905
.v.func = cxt_fixup_headphone_mic,
sound/hda/codecs/conexant.c
918
.v.func = cxt_fixup_stereo_dmic,
sound/hda/codecs/conexant.c
924
.v.func = hda_fixup_thinkpad_acpi,
sound/hda/codecs/conexant.c
928
.v.func = hda_fixup_ideapad_acpi,
sound/hda/codecs/conexant.c
934
.v.func = cxt_fixup_olpc_xo,
sound/hda/codecs/conexant.c
938
.v.func = cxt_fixup_cap_mix_amp,
sound/hda/codecs/conexant.c
960
.v.func = cxt_fixup_cap_mix_amp_5047,
sound/hda/codecs/conexant.c
964
.v.func = cxt_fixup_mute_led_eapd,
sound/hda/codecs/conexant.c
986
.v.func = cxt_fixup_hp_gate_mic_jack,
sound/hda/codecs/conexant.c
990
.v.func = cxt_fixup_mute_led_gpio,
sound/hda/codecs/conexant.c
994
.v.func = cxt_fixup_update_pinctl,
sound/hda/codecs/conexant.c
998
.v.func = cxt_fixup_hp_zbook_mute_led,
sound/hda/codecs/generic.c
3459
put_call_t func, int type)
sound/hda/codecs/generic.c
3475
ret = func(kcontrol, ucontrol);
sound/hda/codecs/realtek/alc260.c
130
.v.func = alc_fixup_gpio1,
sound/hda/codecs/realtek/alc260.c
134
.v.func = alc260_fixup_gpio1_toggle,
sound/hda/codecs/realtek/alc260.c
150
.v.func = alc260_fixup_gpio1_toggle,
sound/hda/codecs/realtek/alc260.c
156
.v.func = alc260_fixup_kn1,
sound/hda/codecs/realtek/alc260.c
160
.v.func = alc260_fixup_fsc_s7020,
sound/hda/codecs/realtek/alc260.c
164
.v.func = alc260_fixup_fsc_s7020_jwse,
sound/hda/codecs/realtek/alc262.c
92
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc262.c
96
.v.func = alc_fixup_no_depop_delay,
sound/hda/codecs/realtek/alc268.c
57
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc269.c
4166
.v.func = alc_fixup_gpio2,
sound/hda/codecs/realtek/alc269.c
4177
.v.func = alc275_fixup_gpio4_off,
sound/hda/codecs/realtek/alc269.c
4192
.v.func = alc_fixup_sku_ignore,
sound/hda/codecs/realtek/alc269.c
4233
.v.func = alc269_fixup_hweq,
sound/hda/codecs/realtek/alc269.c
4239
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4245
.v.func = alc271_fixup_dmic,
sound/hda/codecs/realtek/alc269.c
4249
.v.func = alc269_fixup_pcm_44k,
sound/hda/codecs/realtek/alc269.c
4255
.v.func = alc269_fixup_stereo_dmic,
sound/hda/codecs/realtek/alc269.c
4259
.v.func = alc_fixup_headset_mic,
sound/hda/codecs/realtek/alc269.c
4263
.v.func = alc269_fixup_quanta_mute,
sound/hda/codecs/realtek/alc269.c
4291
.v.func = alc269_fixup_pincfg_no_hp_to_lineout,
sound/hda/codecs/realtek/alc269.c
4295
.v.func = alc269_fixup_pincfg_U7x7_headset_mic,
sound/hda/codecs/realtek/alc269.c
4366
.v.func = alc269_fixup_hp_mute_led,
sound/hda/codecs/realtek/alc269.c
4370
.v.func = alc269_fixup_hp_mute_led_mic1,
sound/hda/codecs/realtek/alc269.c
4374
.v.func = alc269_fixup_hp_mute_led_mic2,
sound/hda/codecs/realtek/alc269.c
4378
.v.func = alc269_fixup_hp_mute_led_mic3,
sound/hda/codecs/realtek/alc269.c
4384
.v.func = alc269_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
4388
.v.func = alc269_fixup_hp_gpio_mic1_led,
sound/hda/codecs/realtek/alc269.c
4392
.v.func = alc269_fixup_hp_line1_mic1_led,
sound/hda/codecs/realtek/alc269.c
4396
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc269.c
4400
.v.func = alc_fixup_no_shutup,
sound/hda/codecs/realtek/alc269.c
4414
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4420
.v.func = alc269_fixup_pincfg_no_hp_to_lineout,
sound/hda/codecs/realtek/alc269.c
4436
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4472
.v.func = alc_fixup_headset_mode,
sound/hda/codecs/realtek/alc269.c
4478
.v.func = alc_fixup_headset_mode_no_hp_mic,
sound/hda/codecs/realtek/alc269.c
4518
.v.func = alc298_fixup_huawei_mbx_stereo,
sound/hda/codecs/realtek/alc269.c
4524
.v.func = alc269_fixup_x101_headset_mic,
sound/hda/codecs/realtek/alc269.c
4558
.v.func = alc271_hp_gate_mic_jack,
sound/hda/codecs/realtek/alc269.c
4564
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4583
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4589
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4615
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4630
.v.func = alc283_fixup_chromebook,
sound/hda/codecs/realtek/alc269.c
4634
.v.func = alc283_fixup_sense_combo_jack,
sound/hda/codecs/realtek/alc269.c
4640
.v.func = alc282_fixup_asus_tx300,
sound/hda/codecs/realtek/alc269.c
4672
.v.func = alc290_fixup_mono_speakers,
sound/hda/codecs/realtek/alc269.c
4676
.v.func = alc290_fixup_mono_speakers,
sound/hda/codecs/realtek/alc269.c
4682
.v.func = alc_fixup_thinkpad_acpi,
sound/hda/codecs/realtek/alc269.c
4688
.v.func = alc_fixup_ideapad_acpi,
sound/hda/codecs/realtek/alc269.c
4694
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc269.c
4728
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
4743
.v.func = alc_fixup_headset_mode_alc255,
sound/hda/codecs/realtek/alc269.c
4749
.v.func = alc_fixup_headset_mode_alc255_no_hp_mic,
sound/hda/codecs/realtek/alc269.c
4763
.v.func = alc_fixup_tpt440_dock,
sound/hda/codecs/realtek/alc269.c
4769
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4782
.v.func = alc_fixup_micmute_led,
sound/hda/codecs/realtek/alc269.c
4802
.v.func = alc269vb_fixup_aspire_e1_coef,
sound/hda/codecs/realtek/alc269.c
4806
.v.func = alc280_fixup_hp_gpio4,
sound/hda/codecs/realtek/alc269.c
4810
.v.func = alc286_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
4814
.v.func = alc280_fixup_hp_gpio2_mic_hotkey,
sound/hda/codecs/realtek/alc269.c
4839
.v.func = alc280_fixup_hp_9480m,
sound/hda/codecs/realtek/alc269.c
4843
.v.func = alc245_fixup_hp_x360_amp,
sound/hda/codecs/realtek/alc269.c
4849
.v.func = alc_fixup_headset_mode_dell_alc288,
sound/hda/codecs/realtek/alc269.c
4865
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4871
.v.func = alc_fixup_dell_xps13,
sound/hda/codecs/realtek/alc269.c
4877
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4883
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4889
.v.func = alc_fixup_dell_xps13,
sound/hda/codecs/realtek/alc269.c
4895
.v.func = alc_fixup_micmute_led,
sound/hda/codecs/realtek/alc269.c
4941
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4947
.v.func = alc233_fixup_lenovo_line2_mic_hotkey,
sound/hda/codecs/realtek/alc269.c
4951
.v.func = alc233_fixup_lenovo_low_en_micmute_led,
sound/hda/codecs/realtek/alc269.c
4955
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc269.c
4961
.v.func = alc269_fixup_limit_int_mic_boost
sound/hda/codecs/realtek/alc269.c
4965
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
4971
.v.func = alc_fixup_disable_mic_vref,
sound/hda/codecs/realtek/alc269.c
4988
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc269.c
5001
.v.func = alc_fixup_tpt440_dock,
sound/hda/codecs/realtek/alc269.c
5007
.v.func = alc298_fixup_speaker_volume,
sound/hda/codecs/realtek/alc269.c
5013
.v.func = alc298_fixup_speaker_volume,
sound/hda/codecs/realtek/alc269.c
5017
.v.func = alc295_fixup_disable_dac3,
sound/hda/codecs/realtek/alc269.c
5021
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5027
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5052
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5077
.v.func = alc_fixup_auto_mute_via_amp,
sound/hda/codecs/realtek/alc269.c
5103
.v.func = alc_fixup_headset_mode,
sound/hda/codecs/realtek/alc269.c
5118
.v.func = alc_fixup_gpio4,
sound/hda/codecs/realtek/alc269.c
5142
.v.func = alc233_alc662_fixup_lenovo_dual_codecs,
sound/hda/codecs/realtek/alc269.c
5182
.v.func = alc225_fixup_s3_pop_noise,
sound/hda/codecs/realtek/alc269.c
5203
.v.func = alc274_fixup_bind_dacs,
sound/hda/codecs/realtek/alc269.c
5218
.v.func = alc_fixup_tpt470_dock,
sound/hda/codecs/realtek/alc269.c
5224
.v.func = alc_fixup_tpt470_dacs,
sound/hda/codecs/realtek/alc269.c
5248
.v.func = alc295_fixup_hp_top_speakers,
sound/hda/codecs/realtek/alc269.c
5263
.v.func = alc285_fixup_invalidate_dacs,
sound/hda/codecs/realtek/alc269.c
5269
.v.func = alc_fixup_auto_mute_via_amp,
sound/hda/codecs/realtek/alc269.c
5332
.v.func = alc295_fixup_chromebook,
sound/hda/codecs/realtek/alc269.c
5338
.v.func = alc_fixup_headset_jack,
sound/hda/codecs/realtek/alc269.c
5382
.v.func = alc_fixup_auto_mute_via_amp,
sound/hda/codecs/realtek/alc269.c
5388
.v.func = alc_fixup_disable_mic_vref,
sound/hda/codecs/realtek/alc269.c
5436
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
5470
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5476
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5482
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5489
.v.func = alc_fixup_gpio4,
sound/hda/codecs/realtek/alc269.c
5495
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
5532
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
5536
.v.func = alc285_fixup_thinkpad_x1_gen7,
sound/hda/codecs/realtek/alc269.c
5542
.v.func = alc_fixup_headset_jack,
sound/hda/codecs/realtek/alc269.c
5582
.v.func = alc294_fixup_gx502_hp,
sound/hda/codecs/realtek/alc269.c
5586
.v.func = tas2781_fixup_tias_i2c,
sound/hda/codecs/realtek/alc269.c
5617
.v.func = alc294_fixup_gu502_hp,
sound/hda/codecs/realtek/alc269.c
5654
.v.func = alc285_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
5658
.v.func = alc285_fixup_hp_mute_led,
sound/hda/codecs/realtek/alc269.c
5662
.v.func = alc285_fixup_hp_spectre_x360_mute_led,
sound/hda/codecs/realtek/alc269.c
5666
.v.func = alc245_fixup_hp_envy_x360_mute_led,
sound/hda/codecs/realtek/alc269.c
5670
.v.func = alc285_fixup_hp_beep,
sound/hda/codecs/realtek/alc269.c
5676
.v.func = alc236_fixup_hp_mute_led_coefbit2,
sound/hda/codecs/realtek/alc269.c
5680
.v.func = alc236_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
5684
.v.func = alc236_fixup_hp_mute_led,
sound/hda/codecs/realtek/alc269.c
5688
.v.func = alc236_fixup_hp_mute_led_micmute_vref,
sound/hda/codecs/realtek/alc269.c
5692
.v.func = alc236_fixup_hp_mute_led_micmute_gpio,
sound/hda/codecs/realtek/alc269.c
5696
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc269.c
5702
.v.func = alc295_fixup_hp_mute_led_coefbit11,
sound/hda/codecs/realtek/alc269.c
5706
.v.func = alc298_fixup_samsung_amp,
sound/hda/codecs/realtek/alc269.c
5712
.v.func = alc298_fixup_samsung_amp_v2_2_amps
sound/hda/codecs/realtek/alc269.c
5716
.v.func = alc298_fixup_samsung_amp_v2_4_amps
sound/hda/codecs/realtek/alc269.c
5720
.v.func = alc298_fixup_lg_gram_style_14
sound/hda/codecs/realtek/alc269.c
5777
.v.func = alc289_fixup_asus_ga401,
sound/hda/codecs/realtek/alc269.c
5799
.v.func = alc285_fixup_hp_gpio_amp_init,
sound/hda/codecs/realtek/alc269.c
5924
.v.func = alc274_fixup_hp_headset_mic,
sound/hda/codecs/realtek/alc269.c
5930
.v.func = alc274_fixup_hp_envy_gpio,
sound/hda/codecs/realtek/alc269.c
5965
.v.func = alc_fixup_headset_jack,
sound/hda/codecs/realtek/alc269.c
5971
.v.func = alc287_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
5975
.v.func = alc274_fixup_hp_headset_mic,
sound/hda/codecs/realtek/alc269.c
5979
.v.func = alc_fixup_no_int_mic,
sound/hda/codecs/realtek/alc269.c
5995
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
6011
.v.func = alc285_fixup_ideapad_s740_coef,
sound/hda/codecs/realtek/alc269.c
6017
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
6023
.v.func = alc295_fixup_asus_dacs,
sound/hda/codecs/realtek/alc269.c
6047
.v.func = alc285_fixup_hp_spectre_x360,
sound/hda/codecs/realtek/alc269.c
6051
.v.func = alc285_fixup_hp_spectre_x360_eb1
sound/hda/codecs/realtek/alc269.c
6055
.v.func = alc285_fixup_hp_spectre_x360_df1
sound/hda/codecs/realtek/alc269.c
6059
.v.func = alc285_fixup_hp_envy_x360,
sound/hda/codecs/realtek/alc269.c
6065
.v.func = alc285_fixup_ideapad_s740_coef,
sound/hda/codecs/realtek/alc269.c
6071
.v.func = alc_fixup_no_shutup,
sound/hda/codecs/realtek/alc269.c
6086
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
6092
.v.func = alc285_fixup_ideapad_s740_coef,
sound/hda/codecs/realtek/alc269.c
6098
.v.func = alc287_fixup_legion_15imhg05_speakers,
sound/hda/codecs/realtek/alc269.c
6144
.v.func = alc287_fixup_legion_15imhg05_speakers,
sound/hda/codecs/realtek/alc269.c
6189
.v.func = alc298_fixup_lenovo_c940_duet7,
sound/hda/codecs/realtek/alc269.c
6193
.v.func = alc287_fixup_lenovo_yoga_book_9i,
sound/hda/codecs/realtek/alc269.c
6219
.v.func = alc256_fixup_set_coef_defaults,
sound/hda/codecs/realtek/alc269.c
6223
.v.func = alc245_fixup_hp_gpio_led,
sound/hda/codecs/realtek/alc269.c
6236
.v.func = alc233_fixup_no_audio_jack,
sound/hda/codecs/realtek/alc269.c
6240
.v.func = alc256_fixup_mic_no_presence_and_resume,
sound/hda/codecs/realtek/alc269.c
6246
.v.func = alc287_fixup_legion_16achg6_speakers,
sound/hda/codecs/realtek/alc269.c
6250
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
6254
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
6260
.v.func = cs35l41_fixup_i2c_four,
sound/hda/codecs/realtek/alc269.c
6264
.v.func = cs35l41_fixup_spi_two,
sound/hda/codecs/realtek/alc269.c
6268
.v.func = cs35l41_fixup_spi_one,
sound/hda/codecs/realtek/alc269.c
6272
.v.func = cs35l41_fixup_spi_two,
sound/hda/codecs/realtek/alc269.c
6278
.v.func = cs35l41_fixup_spi_four,
sound/hda/codecs/realtek/alc269.c
6282
.v.func = cs35l41_fixup_spi_four,
sound/hda/codecs/realtek/alc269.c
6298
.v.func = alc_fixup_dell4_mic_no_presence_quiet,
sound/hda/codecs/realtek/alc269.c
6313
.v.func = alc287_fixup_legion_16ithg6_speakers,
sound/hda/codecs/realtek/alc269.c
6379
.v.func = alc287_fixup_yoga9_14iap7_bass_spk_pin,
sound/hda/codecs/realtek/alc269.c
6385
.v.func = alc287_fixup_yoga9_14iap7_bass_spk_pin,
sound/hda/codecs/realtek/alc269.c
6391
.v.func = alc295_fixup_dell_inspiron_top_speakers,
sound/hda/codecs/realtek/alc269.c
6397
.v.func = alc1220_fixup_gb_dual_codecs,
sound/hda/codecs/realtek/alc269.c
6403
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
6409
.v.func = tas2781_fixup_tias_i2c,
sound/hda/codecs/realtek/alc269.c
6415
.v.func = tas2781_fixup_spi,
sound/hda/codecs/realtek/alc269.c
6421
.v.func = tas2781_fixup_txnw_i2c,
sound/hda/codecs/realtek/alc269.c
6427
.v.func = tas2781_fixup_txnw_i2c,
sound/hda/codecs/realtek/alc269.c
6433
.v.func = yoga7_14arb7_fixup_i2c,
sound/hda/codecs/realtek/alc269.c
6439
.v.func = alc245_fixup_hp_mute_led_coefbit,
sound/hda/codecs/realtek/alc269.c
6443
.v.func = alc245_fixup_hp_mute_led_v1_coefbit,
sound/hda/codecs/realtek/alc269.c
6447
.v.func = alc245_fixup_hp_mute_led_v2_coefbit,
sound/hda/codecs/realtek/alc269.c
6451
.v.func = alc245_fixup_hp_mute_led_coefbit,
sound/hda/codecs/realtek/alc269.c
6457
.v.func = alc287_fixup_bind_dacs,
sound/hda/codecs/realtek/alc269.c
6463
.v.func = alc287_fixup_bind_dacs,
sound/hda/codecs/realtek/alc269.c
6469
.v.func = alc2xx_fixup_headset_mic,
sound/hda/codecs/realtek/alc269.c
6473
.v.func = cs35l41_fixup_spi_two,
sound/hda/codecs/realtek/alc269.c
6479
.v.func = cs35l41_fixup_i2c_two,
sound/hda/codecs/realtek/alc269.c
6483
.v.func = alc256_fixup_acer_sfg16_micmute_led,
sound/hda/codecs/realtek/alc269.c
6487
.v.func = alc256_decrease_headphone_amp_val,
sound/hda/codecs/realtek/alc269.c
6491
.v.func = alc245_fixup_hp_spectre_x360_eu0xxx,
sound/hda/codecs/realtek/alc269.c
6495
.v.func = alc245_fixup_hp_spectre_x360_16_aa0xxx,
sound/hda/codecs/realtek/alc269.c
6499
.v.func = alc245_fixup_hp_zbook_firefly_g12a,
sound/hda/codecs/realtek/alc269.c
6503
.v.func = alc285_fixup_asus_ga403u,
sound/hda/codecs/realtek/alc269.c
6517
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
6531
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
6537
.v.func = alc287_fixup_lenovo_thinkpad_with_alc1318,
sound/hda/codecs/realtek/alc269.c
6543
.v.func = alc256_fixup_chromebook,
sound/hda/codecs/realtek/alc269.c
6549
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
6572
.v.func = alc233_fixup_starlabs_starfighter,
sound/hda/codecs/realtek/alc269.c
6576
.v.func = alc294_fixup_bass_speaker_15,
sound/hda/codecs/realtek/alc269.c
6580
.v.func = alc283_fixup_dell_hp_resume,
sound/hda/codecs/realtek/alc269.c
6584
.v.func = cs35l41_fixup_spi_two,
sound/hda/codecs/realtek/alc269.c
6590
.v.func = alc274_fixup_hp_aio_bind_dacs,
sound/hda/codecs/realtek/alc269.c
6604
.v.func = alc285_fixup_speaker2_to_dac1,
sound/hda/codecs/realtek/alc269.c
6608
.v.func = alc269_fixup_limit_int_mic_boost,
sound/hda/codecs/realtek/alc269.c
6632
.v.func = alc245_tas2781_spi_hp_fixup_muteled,
sound/hda/codecs/realtek/alc269.c
6636
.v.func = alc245_tas2781_i2c_hp_fixup_muteled,
sound/hda/codecs/realtek/alc269.c
6640
.v.func = alc288_fixup_surface_swap_dacs,
sound/hda/codecs/realtek/alc269.c
6644
.v.func = alc233_fixup_lenovo_gpio2_mic_hotkey,
sound/hda/codecs/realtek/alc269.c
6649
.v.func = alc285_fixup_thinkpad_x1_gen7,
sound/hda/codecs/realtek/alc269.c
6653
.v.func = alc285_fixup_hp_coef_micmute_led,
sound/hda/codecs/realtek/alc269.c
6659
.v.func = alc245_fixup_hp_mute_led_coefbit,
sound/hda/codecs/realtek/alc662.c
329
.v.func = alc662_fixup_led_gpio1,
sound/hda/codecs/realtek/alc662.c
342
.v.func = alc272_fixup_mario,
sound/hda/codecs/realtek/alc662.c
372
.v.func = alc_fixup_sku_ignore,
sound/hda/codecs/realtek/alc662.c
489
.v.func = alc_fixup_no_jack_detect,
sound/hda/codecs/realtek/alc662.c
500
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc662.c
504
.v.func = alc_fixup_dell_xps13,
sound/hda/codecs/realtek/alc662.c
510
.v.func = alc_fixup_disable_aamix,
sound/hda/codecs/realtek/alc662.c
516
.v.func = alc_fixup_auto_mute_via_amp,
sound/hda/codecs/realtek/alc662.c
532
.v.func = alc_fixup_headset_mode_alc662,
sound/hda/codecs/realtek/alc662.c
546
.v.func = alc_fixup_headset_mode_alc668,
sound/hda/codecs/realtek/alc662.c
550
.v.func = alc_fixup_bass_chmap,
sound/hda/codecs/realtek/alc662.c
574
.v.func = alc_fixup_bass_chmap,
sound/hda/codecs/realtek/alc662.c
578
.v.func = alc_fixup_auto_mute_via_amp,
sound/hda/codecs/realtek/alc662.c
584
.v.func = alc_fixup_headset_mode_alc668,
sound/hda/codecs/realtek/alc662.c
617
.v.func = alc_fixup_headset_mode,
sound/hda/codecs/realtek/alc662.c
646
.v.func = alc662_fixup_usi_headset_mic,
sound/hda/codecs/realtek/alc662.c
660
.v.func = alc233_alc662_fixup_lenovo_dual_codecs,
sound/hda/codecs/realtek/alc662.c
664
.v.func = alc662_fixup_aspire_ethos_hp,
sound/hda/codecs/realtek/alc662.c
679
.v.func = alc671_fixup_hp_headset_mic2,
sound/hda/codecs/realtek/alc662.c
711
.v.func = alc_fixup_headset_mic,
sound/hda/codecs/realtek/alc662.c
725
.v.func = alc897_fixup_lenovo_headset_mic,
sound/hda/codecs/realtek/alc662.c
745
.v.func = alc897_fixup_lenovo_headset_mode,
sound/hda/codecs/realtek/alc861.c
54
.v.func = alc861_fixup_asus_amp_vref_0f,
sound/hda/codecs/realtek/alc861.c
58
.v.func = alc_fixup_no_jack_detect,
sound/hda/codecs/realtek/alc861.c
62
.v.func = alc861_fixup_asus_amp_vref_0f,
sound/hda/codecs/realtek/alc861vd.c
48
.v.func = alc660vd_fixup_asus_gpio1,
sound/hda/codecs/realtek/alc861vd.c
52
.v.func = alc861vd_fixup_dallas,
sound/hda/codecs/realtek/alc880.c
133
.v.func = alc880_fixup_vol_knob,
sound/hda/codecs/realtek/alc880.c
67
.v.func = alc_fixup_gpio1,
sound/hda/codecs/realtek/alc880.c
71
.v.func = alc_fixup_gpio2,
sound/hda/codecs/realtek/alc882.c
291
.v.func = alc_fixup_sku_ignore,
sound/hda/codecs/realtek/alc882.c
369
.v.func = alc_fixup_gpio1,
sound/hda/codecs/realtek/alc882.c
373
.v.func = alc_fixup_gpio2,
sound/hda/codecs/realtek/alc882.c
377
.v.func = alc_fixup_gpio3,
sound/hda/codecs/realtek/alc882.c
381
.v.func = alc_fixup_gpio1,
sound/hda/codecs/realtek/alc882.c
387
.v.func = alc889_fixup_coef,
sound/hda/codecs/realtek/alc882.c
446
.v.func = alc885_fixup_macpro_gpio,
sound/hda/codecs/realtek/alc882.c
450
.v.func = alc889_fixup_dac_route,
sound/hda/codecs/realtek/alc882.c
454
.v.func = alc889_fixup_mbp_vref,
sound/hda/codecs/realtek/alc882.c
460
.v.func = alc889_fixup_imac91_vref,
sound/hda/codecs/realtek/alc882.c
466
.v.func = alc889_fixup_mba11_vref,
sound/hda/codecs/realtek/alc882.c
472
.v.func = alc889_fixup_mba21_vref,
sound/hda/codecs/realtek/alc882.c
478
.v.func = alc889_fixup_mba11_vref,
sound/hda/codecs/realtek/alc882.c
484
.v.func = alc889_fixup_mbp_vref,
sound/hda/codecs/realtek/alc882.c
490
.v.func = alc_fixup_inv_dmic,
sound/hda/codecs/realtek/alc882.c
494
.v.func = alc882_fixup_no_primary_hp,
sound/hda/codecs/realtek/alc882.c
507
.v.func = alc_fixup_bass_chmap,
sound/hda/codecs/realtek/alc882.c
511
.v.func = alc1220_fixup_gb_dual_codecs,
sound/hda/codecs/realtek/alc882.c
515
.v.func = alc1220_fixup_gb_x570,
sound/hda/codecs/realtek/alc882.c
519
.v.func = alc1220_fixup_clevo_p950,
sound/hda/codecs/realtek/alc882.c
523
.v.func = alc1220_fixup_clevo_pb51ed,
sound/hda/codecs/realtek/alc882.c
544
.v.func = alc887_fixup_asus_jack,
sound/hda/codecs/side-codecs/cs35l41_hda.c
1502
cs35l41->hw_cfg.gpio1.func == CS35l41_VSPK_SWITCH,
sound/hda/codecs/side-codecs/cs35l41_hda.c
1681
switch (hw_cfg->gpio1.func) {
sound/hda/codecs/side-codecs/cs35l41_hda.c
1685
hw_cfg->gpio1.func = CS35L41_GPIO1_GPIO;
sound/hda/codecs/side-codecs/cs35l41_hda.c
1689
hw_cfg->gpio1.func = CS35L41_GPIO1_MDSYNC;
sound/hda/codecs/side-codecs/cs35l41_hda.c
1693
hw_cfg->gpio1.func);
sound/hda/codecs/side-codecs/cs35l41_hda.c
1699
switch (hw_cfg->gpio2.func) {
sound/hda/codecs/side-codecs/cs35l41_hda.c
1704
hw_cfg->gpio2.func = CS35L41_GPIO2_INT_OPEN_DRAIN;
sound/hda/codecs/side-codecs/cs35l41_hda.c
1707
dev_err(cs35l41->dev, "Invalid GPIO2 function %d\n", hw_cfg->gpio2.func);
sound/hda/codecs/side-codecs/cs35l41_hda.c
1832
hw_cfg->gpio1.func = values[cs35l41->index];
sound/hda/codecs/side-codecs/cs35l41_hda.c
1839
hw_cfg->gpio2.func = values[cs35l41->index];
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
349
hw_cfg->gpio1.func = CS35L41_NOT_USED;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
356
hw_cfg->gpio1.func = CS35l41_VSPK_SWITCH;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
360
hw_cfg->gpio2.func = CS35L41_INTERRUPT;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
389
hw_cfg->gpio2.func = CS35L41_INTERRUPT;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
397
hw_cfg->gpio1.func = CS35L41_NOT_USED;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
421
hw_cfg->gpio2.func = CS35L41_INTERRUPT;
sound/hda/codecs/side-codecs/cs35l41_hda_property.c
429
hw_cfg->gpio1.func = CS35l41_VSPK_SWITCH;
sound/hda/codecs/sigmatel.c
1435
.v.func = stac9200_fixup_panasonic,
sound/hda/codecs/sigmatel.c
1891
.v.func = stac92hd73xx_fixup_ref,
sound/hda/codecs/sigmatel.c
1895
.v.func = stac92hd73xx_fixup_dell_m6_amic,
sound/hda/codecs/sigmatel.c
1899
.v.func = stac92hd73xx_fixup_dell_m6_dmic,
sound/hda/codecs/sigmatel.c
1903
.v.func = stac92hd73xx_fixup_dell_m6_both,
sound/hda/codecs/sigmatel.c
1907
.v.func = stac92hd73xx_fixup_dell_eq,
sound/hda/codecs/sigmatel.c
1911
.v.func = stac92hd73xx_fixup_alienware_m17x,
sound/hda/codecs/sigmatel.c
1915
.v.func = stac92hd73xx_disable_automute,
sound/hda/codecs/sigmatel.c
1923
.v.func = stac92hd73xx_fixup_no_jd,
sound/hda/codecs/sigmatel.c
2664
.v.func = stac92hd83xxx_fixup_hp,
sound/hda/codecs/sigmatel.c
2674
.v.func = stac92hd83xxx_fixup_hp_zephyr,
sound/hda/codecs/sigmatel.c
2680
.v.func = stac92hd83xxx_fixup_hp_led,
sound/hda/codecs/sigmatel.c
2686
.v.func = stac92hd83xxx_fixup_hp_inv_led,
sound/hda/codecs/sigmatel.c
2692
.v.func = stac92hd83xxx_fixup_hp_mic_led,
sound/hda/codecs/sigmatel.c
2698
.v.func = stac92hd83xxx_fixup_hp_led_gpio10,
sound/hda/codecs/sigmatel.c
2704
.v.func = stac92hd83xxx_fixup_headset_jack,
sound/hda/codecs/sigmatel.c
2728
.v.func = hp_envy_ts_fixup_dac_bind,
sound/hda/codecs/sigmatel.c
2734
.v.func = stac92hd83xxx_fixup_gpio10_eapd,
sound/hda/codecs/sigmatel.c
3182
.v.func = stac92hd71bxx_fixup_ref,
sound/hda/codecs/sigmatel.c
3198
.v.func = stac92hd71bxx_fixup_hp_m4,
sound/hda/codecs/sigmatel.c
3204
.v.func = stac92hd71bxx_fixup_hp_dv4,
sound/hda/codecs/sigmatel.c
3210
.v.func = stac92hd71bxx_fixup_hp_dv5,
sound/hda/codecs/sigmatel.c
3216
.v.func = stac92hd71bxx_fixup_hp_hdx,
sound/hda/codecs/sigmatel.c
3222
.v.func = stac92hd71bxx_fixup_hp,
sound/hda/codecs/sigmatel.c
3560
.v.func = stac922x_fixup_intel_mac_auto,
sound/hda/codecs/sigmatel.c
3594
.v.func = stac922x_fixup_intel_mac_gpio,
sound/hda/codecs/sigmatel.c
3877
.v.func = stac927x_fixup_ref_no_jd,
sound/hda/codecs/sigmatel.c
3883
.v.func = stac927x_fixup_ref,
sound/hda/codecs/sigmatel.c
3949
.v.func = stac927x_fixup_dell_dmic,
sound/hda/codecs/sigmatel.c
3953
.v.func = stac927x_fixup_volknob,
sound/hda/codecs/sigmatel.c
4151
.v.func = stac9205_fixup_ref,
sound/hda/codecs/sigmatel.c
4159
.v.func = stac9205_fixup_dell_m43,
sound/hda/codecs/sigmatel.c
4167
.v.func = stac9205_fixup_eapd,
sound/hda/codecs/sigmatel.c
4245
.v.func = stac92hd95_fixup_hp_led,
sound/hda/codecs/via.c
916
.v.func = via_fixup_intmic_boost,
sound/hda/codecs/via.c
929
.v.func = via_fixup_power_save,
sound/hda/common/auto_parser.c
856
if (!fix->v.func)
sound/hda/common/auto_parser.c
860
fix->v.func(codec, fix, action);
sound/hda/common/codec.c
1818
const char *suffix, map_follower_func_t func, void *data)
sound/hda/common/codec.c
1838
err = func(codec, data, sctl);
sound/hda/common/hda_jack.h
23
hda_jack_callback_fn func;
sound/hda/common/hda_jack.h
82
int dev_id, hda_jack_callback_fn func);
sound/hda/common/hda_local.h
291
void (*func)(struct hda_codec *codec,
sound/hda/common/jack.c
291
hda_jack_callback_fn func)
sound/hda/common/jack.c
295
if (!func)
sound/hda/common/jack.c
299
if (cb->func == func)
sound/hda/common/jack.c
319
int dev_id, hda_jack_callback_fn func)
sound/hda/common/jack.c
329
callback = find_callback_from_list(jack, func);
sound/hda/common/jack.c
331
if (func && !callback) {
sound/hda/common/jack.c
335
callback->func = func;
sound/hda/common/jack.c
692
cb->func(codec, cb);
sound/hda/common/jack.c
702
cb->func(codec, cb);
sound/pci/ac97/ac97_codec.c
2901
int (*func)(struct snd_ac97 *);
sound/pci/ac97/ac97_codec.c
2923
if (applicable_quirks[type].func)
sound/pci/ac97/ac97_codec.c
2924
return applicable_quirks[type].func(ac97);
sound/pci/asihpi/asihpi.c
1629
u16 (*func)(u32, u16 *))
sound/pci/asihpi/asihpi.c
1634
err = func(h_control, &source);
sound/pci/asihpi/asihpi.c
1651
u16 (*func)(u32, u16))
sound/pci/asihpi/asihpi.c
1663
if (func(h_control, source) != 0)
sound/soc/codecs/cs35l41-lib.c
1386
gpio1->func << CS35L41_GPIO1_CTRL_SHIFT);
sound/soc/codecs/cs35l41-lib.c
1390
gpio2->func << CS35L41_GPIO2_CTRL_SHIFT);
sound/soc/codecs/cs35l41-lib.c
1392
switch (gpio2->func) {
sound/soc/codecs/cs35l41.c
1064
gpio1->func = val;
sound/soc/codecs/cs35l41.c
1073
gpio2->func = val;
sound/soc/codecs/cs42l51.c
326
cs42l51->func = MODE_MASTER;
sound/soc/codecs/cs42l51.c
329
cs42l51->func = MODE_SLAVE_AUTO;
sound/soc/codecs/cs42l51.c
407
switch (cs42l51->func) {
sound/soc/codecs/cs42l51.c
444
switch (cs42l51->func) {
sound/soc/codecs/cs42l51.c
48
enum master_slave_mode func;
sound/soc/codecs/rt1320-sdw.c
1432
unsigned int func, value;
sound/soc/codecs/rt1320-sdw.c
1518
memcpy(&func, (fw_data + 4), 4);
sound/soc/codecs/rt1320-sdw.c
1521
dev_dbg(dev, "%s: func=0x%x, value=0x%x\n", __func__, func, value);
sound/soc/codecs/rt1320-sdw.c
1522
if (func == 1) //DelayMs
sound/soc/codecs/rt1320-sdw.c
738
static int rt1320_pde_transition_delay(struct rt1320_sdw_priv *rt1320, unsigned char func,
sound/soc/codecs/rt1320-sdw.c
748
SDW_SDCA_CTL(func, entity, RT1320_SDCA_CTL_ACTUAL_POWER_STATE, 0), &val);
sound/soc/codecs/rt722-sdca.c
874
static void rt722_pde_transition_delay(struct rt722_sdca_priv *rt722, unsigned char func,
sound/soc/codecs/rt722-sdca.c
884
SDW_SDCA_CTL(func, entity, RT722_SDCA_CTL_ACTUAL_POWER_STATE, 0), &val);
sound/soc/generic/audio-graph-card.c
25
const char *func, int ret)
sound/soc/generic/audio-graph-card.c
27
return snd_soc_ret(simple_priv_to_dev(priv), ret, "at %s()\n", func);
sound/soc/generic/audio-graph-card2.c
1061
GRAPH2_CUSTOM func = NULL;
sound/soc/generic/audio-graph-card2.c
1067
func = hooks->custom_normal;
sound/soc/generic/audio-graph-card2.c
1069
func = audio_graph2_link_normal;
sound/soc/generic/audio-graph-card2.c
1073
func = hooks->custom_dpcm;
sound/soc/generic/audio-graph-card2.c
1075
func = audio_graph2_link_dpcm;
sound/soc/generic/audio-graph-card2.c
1079
func = hooks->custom_c2c;
sound/soc/generic/audio-graph-card2.c
1081
func = audio_graph2_link_c2c;
sound/soc/generic/audio-graph-card2.c
1087
if (!func) {
sound/soc/generic/audio-graph-card2.c
1092
ret = func(priv, lnk, li);
sound/soc/generic/audio-graph-card2.c
1236
GRAPH2_CUSTOM func = NULL;
sound/soc/generic/audio-graph-card2.c
1246
func = graph_count_normal;
sound/soc/generic/audio-graph-card2.c
1249
func = graph_count_dpcm;
sound/soc/generic/audio-graph-card2.c
1252
func = graph_count_c2c;
sound/soc/generic/audio-graph-card2.c
1258
if (!func) {
sound/soc/generic/audio-graph-card2.c
1263
ret = func(priv, lnk, li);
sound/soc/generic/audio-graph-card2.c
1275
int (*func)(struct simple_util_priv *priv,
sound/soc/generic/audio-graph-card2.c
1294
ret = func(priv, hooks, gtype, lnk, li);
sound/soc/generic/audio-graph-card2.c
239
const char *func, int ret)
sound/soc/generic/audio-graph-card2.c
241
return snd_soc_ret(simple_priv_to_dev(priv), ret, "at %s()\n", func);
sound/soc/generic/simple-card-utils.c
20
const char *func, int ret)
sound/soc/generic/simple-card-utils.c
22
return snd_soc_ret(simple_priv_to_dev(priv), ret, "at %s()\n", func);
sound/soc/generic/simple-card.c
34
const char *func, int ret)
sound/soc/generic/simple-card.c
36
return snd_soc_ret(simple_priv_to_dev(priv), ret, "at %s()\n", func);
sound/soc/meson/meson-card-utils.c
224
int (*func)(struct snd_soc_card *c,
sound/soc/meson/meson-card-utils.c
232
return func(card, propname);
sound/soc/renesas/fsi.c
276
#define fsi_stream_handler_call(io, func, args...) \
sound/soc/renesas/fsi.c
278
!((io)->handler->func) ? 0 : \
sound/soc/renesas/fsi.c
279
(io)->handler->func(args))
sound/soc/soc-card.c
16
const char *func, int ret)
sound/soc/soc-card.c
19
"at %s() on %s\n", func, card->name);
sound/soc/soc-component.c
17
static inline int _soc_component_ret(struct snd_soc_component *component, const char *func, int ret)
sound/soc/soc-component.c
20
"at %s() on %s\n", func, component->name);
sound/soc/soc-component.c
25
const char *func, int ret, int reg)
sound/soc/soc-component.c
29
func, component->name, reg);
sound/soc/soc-dai.c
15
const char *func, int ret)
sound/soc/soc-dai.c
18
"at %s() on %s\n", func, dai->name);
sound/soc/soc-link.c
13
const char *func, int ret)
sound/soc/soc-link.c
16
"at %s() on %s\n", func, rtd->dai_link->name);
sound/soc/soc-pcm.c
31
const char *func, int ret)
sound/soc/soc-pcm.c
34
"at %s() on %s\n", func, rtd->dai_link->name);
sound/soc/sof/sof-audio.c
32
const char *func)
sound/soc/sof/sof-audio.c
38
dev_dbg(sdev->dev, "%s: %s is a virtual widget\n", func, widget->name);
sound/usb/mixer_scarlett2.c
428
void (*func)(struct usb_mixer_interface *mixer);
sound/usb/mixer_scarlett2.c
8144
if (notifications->func)
sound/usb/mixer_scarlett2.c
8145
notifications->func(mixer);
sound/usb/validate.c
18
bool (*func)(const void *p, const struct usb_desc_validator *v);
sound/usb/validate.c
245
#define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) }
sound/usb/validate.c
330
if (v->func)
sound/usb/validate.c
331
return v->func(hdr, v);
tools/arch/x86/kcpuid/kcpuid.c
178
struct cpuid_func *func;
tools/arch/x86/kcpuid/kcpuid.c
189
func = &range->funcs[f & CPUID_FUNCTION_MASK];
tools/arch/x86/kcpuid/kcpuid.c
191
if (!func->leafs) {
tools/arch/x86/kcpuid/kcpuid.c
192
func->leafs = malloc(sizeof(struct subleaf));
tools/arch/x86/kcpuid/kcpuid.c
193
if (!func->leafs)
tools/arch/x86/kcpuid/kcpuid.c
196
func->nr = 1;
tools/arch/x86/kcpuid/kcpuid.c
198
s = func->nr;
tools/arch/x86/kcpuid/kcpuid.c
199
func->leafs = realloc(func->leafs, (s + 1) * sizeof(*leaf));
tools/arch/x86/kcpuid/kcpuid.c
200
if (!func->leafs)
tools/arch/x86/kcpuid/kcpuid.c
203
func->nr++;
tools/arch/x86/kcpuid/kcpuid.c
206
leaf = &func->leafs[s];
tools/arch/x86/kcpuid/kcpuid.c
224
struct cpuid_func *func = &range->funcs[f];
tools/arch/x86/kcpuid/kcpuid.c
227
if (!func->nr)
tools/arch/x86/kcpuid/kcpuid.c
231
for (int i = 0; i < func->nr; i++)
tools/arch/x86/kcpuid/kcpuid.c
232
leaf_print_raw(&func->leafs[i]);
tools/arch/x86/kcpuid/kcpuid.c
317
struct cpuid_func *func;
tools/arch/x86/kcpuid/kcpuid.c
369
func = &range->funcs[index];
tools/arch/x86/kcpuid/kcpuid.c
370
if (!func->nr)
tools/arch/x86/kcpuid/kcpuid.c
382
subleaf_end = min(subleaf_end, (u32)(func->nr - 1));
tools/arch/x86/kcpuid/kcpuid.c
387
if (subleaf_start > (u32)(func->nr - 1))
tools/arch/x86/kcpuid/kcpuid.c
412
leaf = &func->leafs[sub];
tools/arch/x86/kcpuid/kcpuid.c
518
static void show_func(struct cpuid_func *func)
tools/arch/x86/kcpuid/kcpuid.c
520
for (int i = 0; i < func->nr; i++)
tools/arch/x86/kcpuid/kcpuid.c
521
show_leaf(&func->leafs[i]);
tools/arch/x86/kcpuid/kcpuid.c
545
struct cpuid_func *func;
tools/arch/x86/kcpuid/kcpuid.c
556
func = index_to_func(user_index);
tools/arch/x86/kcpuid/kcpuid.c
557
if (!func)
tools/arch/x86/kcpuid/kcpuid.c
564
if (user_sub + 1 > (u32)func->nr) {
tools/arch/x86/kcpuid/kcpuid.c
569
show_leaf(&func->leafs[user_sub]);
tools/arch/x86/kcpuid/kcpuid.c
573
show_func(func);
tools/bpf/bpf_dbg.c
1246
{ .name = "load", .func = cmd_load },
tools/bpf/bpf_dbg.c
1247
{ .name = "select", .func = cmd_select },
tools/bpf/bpf_dbg.c
1248
{ .name = "step", .func = cmd_step },
tools/bpf/bpf_dbg.c
1249
{ .name = "run", .func = cmd_run },
tools/bpf/bpf_dbg.c
1250
{ .name = "breakpoint", .func = cmd_breakpoint },
tools/bpf/bpf_dbg.c
1251
{ .name = "disassemble", .func = cmd_disassemble },
tools/bpf/bpf_dbg.c
1252
{ .name = "dump", .func = cmd_dump },
tools/bpf/bpf_dbg.c
1253
{ .name = "quit", .func = cmd_quit },
tools/bpf/bpf_dbg.c
1269
ret = cmds[i].func(cont);
tools/bpf/bpf_dbg.c
98
int (*func)(char *args);
tools/bpf/bpftool/btf_dumper.c
29
const struct btf_type *func, int pos, int size);
tools/bpf/bpftool/btf_dumper.c
712
const struct btf_type *func, int pos, int size)
tools/bpf/bpftool/btf_dumper.c
717
if (func)
tools/bpf/bpftool/btf_dumper.c
718
BTF_PRINT_ARG("%s(", btf__name_by_offset(btf, func->name_off));
tools/bpf/bpftool/cfg.c
134
struct func_node *func, *last_func;
tools/bpf/bpftool/cfg.c
136
func = cfg_append_func(cfg, cur);
tools/bpf/bpftool/cfg.c
137
if (!func)
tools/bpf/bpftool/cfg.c
145
func = cfg_append_func(cfg, cur + cur->off + 1);
tools/bpf/bpftool/cfg.c
146
if (!func)
tools/bpf/bpftool/cfg.c
152
func = cfg_first_func(cfg);
tools/bpf/bpftool/cfg.c
153
list_for_each_entry_from(func, &last_func->l, l) {
tools/bpf/bpftool/cfg.c
154
func->end = func_next(func)->start - 1;
tools/bpf/bpftool/cfg.c
165
static bool func_partition_bb_head(struct func_node *func)
tools/bpf/bpftool/cfg.c
170
cur = func->start;
tools/bpf/bpftool/cfg.c
171
end = func->end;
tools/bpf/bpftool/cfg.c
172
INIT_LIST_HEAD(&func->bbs);
tools/bpf/bpftool/cfg.c
173
bb = func_append_bb(func, cur);
tools/bpf/bpftool/cfg.c
184
bb = func_append_bb(func, cur + cur->off + 1);
tools/bpf/bpftool/cfg.c
189
bb = func_append_bb(func, cur + 1);
tools/bpf/bpftool/cfg.c
199
static void func_partition_bb_tail(struct func_node *func)
tools/bpf/bpftool/cfg.c
204
last = func_last_bb(func);
tools/bpf/bpftool/cfg.c
205
last->tail = func->end;
tools/bpf/bpftool/cfg.c
206
bb = func_first_bb(func);
tools/bpf/bpftool/cfg.c
213
func->bb_num = bb_idx;
tools/bpf/bpftool/cfg.c
216
static bool func_add_special_bb(struct func_node *func)
tools/bpf/bpftool/cfg.c
220
bb = func_insert_dummy_bb(&func->bbs);
tools/bpf/bpftool/cfg.c
225
bb = func_insert_dummy_bb(&func_last_bb(func)->l);
tools/bpf/bpftool/cfg.c
233
static bool func_partition_bb(struct func_node *func)
tools/bpf/bpftool/cfg.c
235
if (func_partition_bb_head(func))
tools/bpf/bpftool/cfg.c
238
func_partition_bb_tail(func);
tools/bpf/bpftool/cfg.c
243
static struct bb_node *func_search_bb_with_head(struct func_node *func,
tools/bpf/bpftool/cfg.c
248
list_for_each_entry(bb, &func->bbs, l) {
tools/bpf/bpftool/cfg.c
277
static bool func_add_bb_edges(struct func_node *func)
tools/bpf/bpftool/cfg.c
283
bb = entry_bb(func);
tools/bpf/bpftool/cfg.c
289
bb = exit_bb(func);
tools/bpf/bpftool/cfg.c
295
bb = entry_bb(func);
tools/bpf/bpftool/cfg.c
297
list_for_each_entry_from(bb, &exit_bb(func)->l, l) {
tools/bpf/bpftool/cfg.c
312
e->dst = func_search_bb_with_head(func,
tools/bpf/bpftool/cfg.c
327
e->dst = func_search_bb_with_head(func, insn + insn->off + 1);
tools/bpf/bpftool/cfg.c
337
struct func_node *func;
tools/bpf/bpftool/cfg.c
344
list_for_each_entry(func, &cfg->funcs, l) {
tools/bpf/bpftool/cfg.c
345
if (func_partition_bb(func) || func_add_special_bb(func))
tools/bpf/bpftool/cfg.c
348
if (func_add_bb_edges(func))
tools/bpf/bpftool/cfg.c
357
struct func_node *func, *func2;
tools/bpf/bpftool/cfg.c
359
list_for_each_entry_safe(func, func2, &cfg->funcs, l) {
tools/bpf/bpftool/cfg.c
362
list_for_each_entry_safe(bb, bb2, &func->bbs, l) {
tools/bpf/bpftool/cfg.c
379
list_del(&func->l);
tools/bpf/bpftool/cfg.c
380
free(func);
tools/bpf/bpftool/cfg.c
385
draw_bb_node(struct func_node *func, struct bb_node *bb, struct dump_data *dd,
tools/bpf/bpftool/cfg.c
396
func->idx, bb->idx, shape);
tools/bpf/bpftool/cfg.c
405
start_idx = bb->head - func->start;
tools/bpf/bpftool/cfg.c
414
static void draw_bb_succ_edges(struct func_node *func, struct bb_node *bb)
tools/bpf/bpftool/cfg.c
418
int func_idx = func->idx;
tools/bpf/bpftool/cfg.c
434
func_output_bb_def(struct func_node *func, struct dump_data *dd,
tools/bpf/bpftool/cfg.c
439
list_for_each_entry(bb, &func->bbs, l) {
tools/bpf/bpftool/cfg.c
440
draw_bb_node(func, bb, dd, opcodes, linum);
tools/bpf/bpftool/cfg.c
444
static void func_output_edges(struct func_node *func)
tools/bpf/bpftool/cfg.c
446
int func_idx = func->idx;
tools/bpf/bpftool/cfg.c
449
list_for_each_entry(bb, &func->bbs, l) {
tools/bpf/bpftool/cfg.c
450
draw_bb_succ_edges(func, bb);
tools/bpf/bpftool/cfg.c
463
struct func_node *func;
tools/bpf/bpftool/cfg.c
466
list_for_each_entry(func, &cfg->funcs, l) {
tools/bpf/bpftool/cfg.c
468
func->idx, func->idx);
tools/bpf/bpftool/cfg.c
469
func_output_bb_def(func, dd, opcodes, linum);
tools/bpf/bpftool/cfg.c
470
func_output_edges(func);
tools/bpf/bpftool/cfg.c
48
#define func_prev(func) list_prev_entry(func, l)
tools/bpf/bpftool/cfg.c
49
#define func_next(func) list_next_entry(func, l)
tools/bpf/bpftool/cfg.c
52
#define entry_bb(func) func_first_bb(func)
tools/bpf/bpftool/cfg.c
53
#define exit_bb(func) func_last_bb(func)
tools/bpf/bpftool/cfg.c
58
#define func_first_bb(func) \
tools/bpf/bpftool/cfg.c
59
list_first_entry(&func->bbs, struct bb_node, l)
tools/bpf/bpftool/cfg.c
60
#define func_last_bb(func) \
tools/bpf/bpftool/cfg.c
61
list_last_entry(&func->bbs, struct bb_node, l)
tools/bpf/bpftool/cfg.c
65
struct func_node *new_func, *func;
tools/bpf/bpftool/cfg.c
67
list_for_each_entry(func, &cfg->funcs, l) {
tools/bpf/bpftool/cfg.c
68
if (func->start == insn)
tools/bpf/bpftool/cfg.c
69
return func;
tools/bpf/bpftool/cfg.c
70
else if (func->start > insn)
tools/bpf/bpftool/cfg.c
74
func = func_prev(func);
tools/bpf/bpftool/cfg.c
82
list_add(&new_func->l, &func->l);
tools/bpf/bpftool/cfg.c
88
static struct bb_node *func_append_bb(struct func_node *func,
tools/bpf/bpftool/cfg.c
93
list_for_each_entry(bb, &func->bbs, l) {
tools/bpf/bpftool/main.c
143
bootstrap = !commands[i].func;
tools/bpf/bpftool/main.c
200
if (argc < 1 && cmds[0].func)
tools/bpf/bpftool/main.c
201
return cmds[0].func(argc, argv);
tools/bpf/bpftool/main.c
205
if (!cmds[i].func) {
tools/bpf/bpftool/main.c
210
return cmds[i].func(argc - 1, argv + 1);
tools/bpf/bpftool/main.h
140
int (*func)(int argc, char **argv);
tools/bpf/bpftool/sign.c
33
#define ERR_get_error_all(file, line, func, data, flags) \
tools/bpf/bpftool/struct_ops.c
186
static struct res do_search(const char *name, work_func func, void *data,
tools/bpf/bpftool/struct_ops.c
204
err = func(fd, info, data, wtr);
tools/bpf/bpftool/struct_ops.c
235
static struct res do_one_id(const char *id_str, work_func func, void *data,
tools/bpf/bpftool/struct_ops.c
282
if (func(fd, info, data, wtr))
tools/bpf/bpftool/struct_ops.c
306
work_func func, void *data,
tools/bpf/bpftool/struct_ops.c
311
return do_one_id(search_term, func, data, wtr);
tools/bpf/bpftool/struct_ops.c
316
return do_search(search_term, func, data, wtr);
tools/include/linux/cfi_types.h
47
#define DEFINE_CFI_TYPE(name, func) \
tools/include/linux/cfi_types.h
52
__ADDRESSABLE(func); \
tools/include/linux/cfi_types.h
61
" .4byte __kcfi_typeid_" #func " \n" \
tools/include/linux/static_call_types.h
101
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
tools/include/linux/static_call_types.h
39
#define DECLARE_STATIC_CALL(name, func) \
tools/include/linux/static_call_types.h
41
extern typeof(func) STATIC_CALL_TRAMP(name);
tools/include/linux/static_call_types.h
64
void *func;
tools/include/linux/static_call_types.h
79
void *func;
tools/include/linux/static_call_types.h
97
void *func;
tools/include/uapi/drm/drm.h
181
} func;
tools/include/uapi/drm/i915_drm.h
319
} func;
tools/lib/api/debug-internal.h
10
(func)("libapi: " fmt, ##__VA_ARGS__); \
tools/lib/api/debug-internal.h
7
#define __pr(func, fmt, ...) \
tools/lib/api/debug-internal.h
9
if ((func)) \
tools/lib/bpf/libbpf.c
12106
char *func;
tools/lib/bpf/libbpf.c
12121
n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset);
tools/lib/bpf/libbpf.c
12127
free(func);
tools/lib/bpf/libbpf.c
12133
*link = bpf_program__attach_kprobe_opts(prog, func, &opts);
tools/lib/bpf/libbpf.c
12134
free(func);
tools/net/ynl/ynltool/main.c
89
if (argc < 1 && cmds[0].func)
tools/net/ynl/ynltool/main.c
90
return cmds[0].func(argc, argv);
tools/net/ynl/ynltool/main.c
94
if (!cmds[i].func) {
tools/net/ynl/ynltool/main.c
98
return cmds[i].func(argc - 1, argv + 1);
tools/net/ynl/ynltool/main.h
56
int (*func)(int argc, char **argv);
tools/objtool/arch/loongarch/decode.c
146
struct symbol *func = find_func_containing(insn->sec, insn->offset);
tools/objtool/arch/loongarch/decode.c
148
if (!func)
tools/objtool/arch/loongarch/decode.c
151
func->frame_pointer = true;
tools/objtool/arch/x86/decode.c
692
struct symbol *func;
tools/objtool/arch/x86/decode.c
707
func = disp->sym;
tools/objtool/arch/x86/decode.c
709
func = find_symbol_by_offset(disp->sym->sec, reloc_addend(disp));
tools/objtool/arch/x86/decode.c
710
if (!func) {
tools/objtool/arch/x86/decode.c
715
objtool_pv_add(file, idx, func);
tools/objtool/check.c
1085
struct symbol *func;
tools/objtool/check.c
1095
func = reloc->sym;
tools/objtool/check.c
1099
func = find_func_by_offset(reloc->sym->sec, reloc_addend(reloc));
tools/objtool/check.c
1100
if (!func)
tools/objtool/check.c
1110
func->ignore = true;
tools/objtool/check.c
1111
if (func->cfunc)
tools/objtool/check.c
1112
func->cfunc->ignore = true;
tools/objtool/check.c
116
#define func_for_each_insn(file, func, insn) \
tools/objtool/check.c
117
for (insn = find_insn(file, func->sec, func->offset); \
tools/objtool/check.c
1310
struct symbol *func;
tools/objtool/check.c
1317
func = find_symbol_by_name(file->elf, *name);
tools/objtool/check.c
1318
if (!func)
tools/objtool/check.c
1321
func->uaccess_safe = true;
tools/objtool/check.c
1532
struct symbol *func = insn_func(insn);
tools/objtool/check.c
1534
if (!func)
tools/objtool/check.c
1537
if (insn->offset == func->offset)
tools/objtool/check.c
1545
insn->offset == func->offset + prev->len)
tools/objtool/check.c
1561
struct symbol *func = insn_func(insn);
tools/objtool/check.c
1598
if (func) {
tools/objtool/check.c
1634
if (file->ignore_unreachables && func &&
tools/objtool/check.c
1636
dest_off == func->offset + func->len)
tools/objtool/check.c
1704
struct symbol *func = insn_func(insn);
tools/objtool/check.c
1716
if (func && func->ignore)
tools/objtool/check.c
1724
if (func && !is_func_sym(insn_call_dest(insn))) {
tools/objtool/check.c
186
static bool is_rust_noreturn(const struct symbol *func)
tools/objtool/check.c
191
if (strncmp(func->name, "_R", 2))
tools/objtool/check.c
200
return str_ends_with(func->name, "_4core3num20from_str_radix_panic") ||
tools/objtool/check.c
201
str_ends_with(func->name, "_4core3num22from_ascii_radix_panic") ||
tools/objtool/check.c
202
str_ends_with(func->name, "_4core5sliceSp15copy_from_slice17len_mismatch_fail") ||
tools/objtool/check.c
203
str_ends_with(func->name, "_4core6option13expect_failed") ||
tools/objtool/check.c
204
str_ends_with(func->name, "_4core6option13unwrap_failed") ||
tools/objtool/check.c
205
str_ends_with(func->name, "_4core6result13unwrap_failed") ||
tools/objtool/check.c
206
str_ends_with(func->name, "_4core9panicking5panic") ||
tools/objtool/check.c
207
str_ends_with(func->name, "_4core9panicking9panic_fmt") ||
tools/objtool/check.c
208
str_ends_with(func->name, "_4core9panicking14panic_explicit") ||
tools/objtool/check.c
209
str_ends_with(func->name, "_4core9panicking14panic_nounwind") ||
tools/objtool/check.c
210
str_ends_with(func->name, "_4core9panicking18panic_bounds_check") ||
tools/objtool/check.c
211
str_ends_with(func->name, "_4core9panicking18panic_nounwind_fmt") ||
tools/objtool/check.c
212
str_ends_with(func->name, "_4core9panicking19assert_failed_inner") ||
tools/objtool/check.c
2128
static void find_jump_table(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
213
str_ends_with(func->name, "_4core9panicking30panic_null_pointer_dereference") ||
tools/objtool/check.c
214
str_ends_with(func->name, "_4core9panicking36panic_misaligned_pointer_dereference") ||
tools/objtool/check.c
2142
insn && insn_func(insn) && insn_func(insn)->pfunc == func;
tools/objtool/check.c
215
str_ends_with(func->name, "_7___rustc17rust_begin_unwind") ||
tools/objtool/check.c
216
strstr(func->name, "_4core9panicking13assert_failed") ||
tools/objtool/check.c
2162
if (!dest_insn || !insn_func(dest_insn) || insn_func(dest_insn)->pfunc != func)
tools/objtool/check.c
217
strstr(func->name, "_4core9panicking11panic_const24panic_const_") ||
tools/objtool/check.c
2178
struct symbol *func)
tools/objtool/check.c
218
(strstr(func->name, "_4core5slice5index") &&
tools/objtool/check.c
2182
func_for_each_insn(file, func, insn) {
tools/objtool/check.c
219
strstr(func->name, "slice_") &&
tools/objtool/check.c
220
str_ends_with(func->name, "_fail"));
tools/objtool/check.c
2202
find_jump_table(file, func, insn);
tools/objtool/check.c
2207
struct symbol *func)
tools/objtool/check.c
2211
func_for_each_insn(file, func, insn) {
tools/objtool/check.c
2229
struct symbol *func;
tools/objtool/check.c
2234
for_each_sym(file->elf, func) {
tools/objtool/check.c
2235
if (!is_func_sym(func) || func->alias != func)
tools/objtool/check.c
2238
mark_func_jump_tables(file, func);
tools/objtool/check.c
2239
if (add_func_jump_tables(file, func))
tools/objtool/check.c
232
static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
2351
int (*func)(struct objtool_file *file, int type, struct instruction *insn))
tools/objtool/check.c
239
#define NORETURN(func) __stringify(func),
tools/objtool/check.c
2390
if (func(file, type, insn))
tools/objtool/check.c
245
if (!func)
tools/objtool/check.c
248
if (!is_local_sym(func)) {
tools/objtool/check.c
249
if (is_rust_noreturn(func))
tools/objtool/check.c
2529
struct symbol *func;
tools/objtool/check.c
253
if (!strcmp(func->name, global_noreturns[i]))
tools/objtool/check.c
2532
for_each_sym(file->elf, func) {
tools/objtool/check.c
2533
if (is_notype_sym(func) && strstarts(func->name, ".L"))
tools/objtool/check.c
2534
func->local_label = true;
tools/objtool/check.c
2536
if (!is_global_sym(func))
tools/objtool/check.c
2539
if (!strncmp(func->name, STATIC_CALL_TRAMP_PREFIX_STR,
tools/objtool/check.c
2541
func->static_call_tramp = true;
tools/objtool/check.c
2543
if (arch_is_retpoline(func))
tools/objtool/check.c
2544
func->retpoline_thunk = true;
tools/objtool/check.c
2546
if (arch_is_rethunk(func))
tools/objtool/check.c
2547
func->return_thunk = true;
tools/objtool/check.c
2549
if (arch_is_embedded_insn(func))
tools/objtool/check.c
2550
func->embedded_insn = true;
tools/objtool/check.c
2552
if (arch_ftrace_match(func->name))
tools/objtool/check.c
2553
func->fentry = true;
tools/objtool/check.c
2555
if (is_profiling_func(func->name))
tools/objtool/check.c
2556
func->profiling_func = true;
tools/objtool/check.c
2558
len = strlen(func->name);
tools/objtool/check.c
257
if (is_weak_sym(func))
tools/objtool/check.c
260
if (!func->len)
tools/objtool/check.c
263
insn = find_insn(file, func->sec, func->offset);
tools/objtool/check.c
267
func_for_each_insn(file, func, insn) {
tools/objtool/check.c
282
func_for_each_insn(file, func, insn) {
tools/objtool/check.c
307
static bool dead_end_function(struct objtool_file *file, struct symbol *func)
tools/objtool/check.c
309
return __dead_end_function(file, func, 0);
tools/objtool/check.c
3437
static inline bool func_uaccess_safe(struct symbol *func)
tools/objtool/check.c
3439
if (func)
tools/objtool/check.c
3440
return func->uaccess_safe;
tools/objtool/check.c
3493
struct symbol *func)
tools/objtool/check.c
3499
if (!func) {
tools/objtool/check.c
3509
if (func->sec->noinstr)
tools/objtool/check.c
3515
if (func->static_call_tramp)
tools/objtool/check.c
3523
if (!strncmp(func->name, "__ubsan_handle_", 15))
tools/objtool/check.c
3564
static int validate_return(struct symbol *func, struct instruction *insn, struct insn_state *state)
tools/objtool/check.c
3571
if (state->uaccess && !func_uaccess_safe(func)) {
tools/objtool/check.c
3576
if (!state->uaccess && func_uaccess_safe(func)) {
tools/objtool/check.c
3586
if (func && has_modified_stack_frame(insn, state)) {
tools/objtool/check.c
3680
struct symbol *func;
tools/objtool/check.c
3687
func = find_symbol_by_name(file->elf, s);
tools/objtool/check.c
3688
if (!func || !is_func_sym(func))
tools/objtool/check.c
3691
func->debug_checksum = 1;
tools/objtool/check.c
3703
static void checksum_update_insn(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
3713
checksum_update(func, insn, insn->sec->data->d_buf + insn->offset, insn->len);
tools/objtool/check.c
3719
checksum_update(func, insn, call_dest->demangled_name,
tools/objtool/check.c
3731
checksum_update(func, insn, str, strlen(str));
tools/objtool/check.c
3743
checksum_update(func, insn, sym->demangled_name, strlen(sym->demangled_name));
tools/objtool/check.c
3744
checksum_update(func, insn, &offset, sizeof(offset));
tools/objtool/check.c
3747
static int validate_branch(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
3749
static int do_validate_branch(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
3752
static int validate_insn(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
3791
sym_for_each_insn_continue_reverse(file, func, i) {
tools/objtool/check.c
3846
ret = validate_branch(file, func, alt->insn, *statep);
tools/objtool/check.c
3866
return validate_return(func, insn, statep);
tools/objtool/check.c
3879
if (opts.stackval && func && !is_special_call(insn) &&
tools/objtool/check.c
3901
ret = validate_branch(file, func, insn->jump_dest, *statep);
tools/objtool/check.c
3930
if (func && (!next_insn || !next_insn->hint)) {
tools/objtool/check.c
3939
if (func && (!next_insn || !next_insn->hint)) {
tools/objtool/check.c
3964
if (!statep->uaccess && func) {
tools/objtool/check.c
3969
if (func_uaccess_safe(func) && !statep->uaccess_stack) {
tools/objtool/check.c
3989
if (!statep->df && func) {
tools/objtool/check.c
4014
static int do_validate_branch(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
4021
if (func && func->ignore)
tools/objtool/check.c
4028
if (opts.checksum && func && insn->sec)
tools/objtool/check.c
4029
checksum_update_insn(file, func, insn);
tools/objtool/check.c
4031
if (func && insn_func(insn) && func != insn_func(insn)->pfunc) {
tools/objtool/check.c
4033
if (is_prefix_func(func))
tools/objtool/check.c
4040
func->name, insn_func(insn)->name);
tools/objtool/check.c
4041
func->warned = 1;
tools/objtool/check.c
4046
ret = validate_insn(file, func, insn, state, prev_insn, next_insn,
tools/objtool/check.c
4063
func ? func->name : "", func ? "(): " : "",
tools/objtool/check.c
4076
static int validate_branch(struct objtool_file *file, struct symbol *func,
tools/objtool/check.c
4082
ret = do_validate_branch(file, func, insn, &state);
tools/objtool/check.c
4093
struct symbol *func = insn_func(insn);
tools/objtool/check.c
4097
checksum_init(func);
tools/objtool/check.c
4099
ret = validate_branch(file, func, insn, *state);
tools/objtool/check.c
414
struct symbol *func;
tools/objtool/check.c
4339
struct symbol *func = insn_func(insn);
tools/objtool/check.c
4344
insn->hole || (func && func->ignore))
tools/objtool/check.c
4355
if (!func)
tools/objtool/check.c
4358
if (func->static_call_tramp)
tools/objtool/check.c
4389
insn_func(insn->jump_dest) == func) {
tools/objtool/check.c
4397
if (insn->offset + insn->len >= func->offset + func->len)
tools/objtool/check.c
4422
static int create_prefix_symbol(struct objtool_file *file, struct symbol *func)
tools/objtool/check.c
4428
if (!is_func_sym(func) || is_prefix_func(func) ||
tools/objtool/check.c
4429
func->cold || func->static_call_tramp)
tools/objtool/check.c
4432
if ((strlen(func->name) + sizeof("__pfx_") > SYM_NAME_LEN)) {
tools/objtool/check.c
4434
func->name);
tools/objtool/check.c
4438
if (snprintf_check(name, SYM_NAME_LEN, "__pfx_%s", func->name))
tools/objtool/check.c
4444
pfx = find_symbol_by_offset(func->sec, func->offset - opts.prefix);
tools/objtool/check.c
4449
insn = find_insn(file, func->sec, func->offset);
tools/objtool/check.c
4451
WARN("%s: can't find starting instruction", func->name);
tools/objtool/check.c
4463
offset = func->offset - prev->offset;
tools/objtool/check.c
4471
if (!elf_create_symbol(file->elf, name, func->sec,
tools/objtool/check.c
4472
GELF_ST_BIND(func->sym.st_info),
tools/objtool/check.c
4473
GELF_ST_TYPE(func->sym.st_info),
tools/objtool/check.c
4502
struct symbol *func;
tools/objtool/check.c
4508
sec_for_each_sym(sec, func) {
tools/objtool/check.c
4509
if (create_prefix_symbol(file, func))
tools/objtool/check.c
4521
struct symbol *func;
tools/objtool/check.c
4539
func = insn_func(insn);
tools/objtool/check.c
4542
checksum_init(func);
tools/objtool/check.c
4549
ret = validate_branch(file, func, insn, *state);
tools/objtool/check.c
4557
checksum_finish(func);
tools/objtool/check.c
4565
struct symbol *func;
tools/objtool/check.c
4568
sec_for_each_sym(sec, func) {
tools/objtool/check.c
4569
if (!is_func_sym(func))
tools/objtool/check.c
4575
warnings += validate_symbol(file, sec, func, &state);
tools/objtool/check.c
482
sec_for_each_sym(sec, func) {
tools/objtool/check.c
483
if (!is_notype_sym(func) && !is_func_sym(func))
tools/objtool/check.c
486
if (func->offset == sec_size(sec)) {
tools/objtool/check.c
488
if (is_notype_sym(func))
tools/objtool/check.c
490
ERROR("%s(): STT_FUNC at end of section", func->name);
tools/objtool/check.c
494
if (func->embedded_insn || func->alias != func)
tools/objtool/check.c
497
if (!find_insn(file, sec, func->offset)) {
tools/objtool/check.c
498
ERROR("%s(): can't find starting instruction", func->name);
tools/objtool/check.c
502
sym_for_each_insn(file, func, insn) {
tools/objtool/check.c
503
insn->sym = func;
tools/objtool/check.c
504
if (is_func_sym(func) &&
tools/objtool/check.c
507
if (insn->offset == func->offset) {
tools/objtool/check.c
556
struct symbol *sym, *func;
tools/objtool/check.c
584
func = reloc->sym;
tools/objtool/check.c
585
if (is_sec_sym(func))
tools/objtool/check.c
586
func = find_symbol_by_offset(reloc->sym->sec,
tools/objtool/check.c
588
if (!func) {
tools/objtool/check.c
594
if (objtool_pv_add(file, idx + idx_off, func))
tools/objtool/check.c
71
struct symbol *func = insn_func(insn);
tools/objtool/check.c
73
if (!func)
tools/objtool/check.c
76
if (next && insn_func(next) == func)
tools/objtool/check.c
80
if (func == func->cfunc)
tools/objtool/check.c
84
return find_insn(file, func->cfunc->sec, func->cfunc->offset);
tools/objtool/disas.c
1182
static void disas_func(struct disas_context *dctx, struct symbol *func)
tools/objtool/disas.c
1187
printf("%s:\n", func->name);
tools/objtool/disas.c
1188
sym_for_each_insn(dctx->file, func, insn) {
tools/objtool/elf.c
186
struct symbol *func;
tools/objtool/elf.c
188
__sym_for_each(func, tree, offset, offset) {
tools/objtool/elf.c
189
if (func->offset == offset && is_func_sym(func))
tools/objtool/elf.c
190
return func->alias;
tools/objtool/elf.c
267
struct symbol *func;
tools/objtool/elf.c
269
__sym_for_each(func, tree, offset, offset) {
tools/objtool/elf.c
270
if (is_func_sym(func))
tools/objtool/elf.c
271
return func->alias;
tools/objtool/include/objtool/checksum.h
11
if (func && !func->csum.state) {
tools/objtool/include/objtool/checksum.h
12
func->csum.state = XXH3_createState();
tools/objtool/include/objtool/checksum.h
13
XXH3_64bits_reset(func->csum.state);
tools/objtool/include/objtool/checksum.h
17
static inline void checksum_update(struct symbol *func,
tools/objtool/include/objtool/checksum.h
21
XXH3_64bits_update(func->csum.state, data, size);
tools/objtool/include/objtool/checksum.h
22
dbg_checksum(func, insn, XXH3_64bits_digest(func->csum.state));
tools/objtool/include/objtool/checksum.h
25
static inline void checksum_finish(struct symbol *func)
tools/objtool/include/objtool/checksum.h
27
if (func && func->csum.state) {
tools/objtool/include/objtool/checksum.h
28
func->csum.checksum = XXH3_64bits_digest(func->csum.state);
tools/objtool/include/objtool/checksum.h
29
func->csum.state = NULL;
tools/objtool/include/objtool/checksum.h
35
static inline void checksum_init(struct symbol *func) {}
tools/objtool/include/objtool/checksum.h
36
static inline void checksum_update(struct symbol *func,
tools/objtool/include/objtool/checksum.h
39
static inline void checksum_finish(struct symbol *func) {}
tools/objtool/include/objtool/checksum.h
9
static inline void checksum_init(struct symbol *func)
tools/objtool/include/objtool/elf.h
487
static inline struct symbol *get_func_prefix(struct symbol *func)
tools/objtool/include/objtool/elf.h
491
if (!is_func_sym(func))
tools/objtool/include/objtool/elf.h
494
prev = sec_prev_sym(func);
tools/objtool/include/objtool/objtool.h
48
int objtool_pv_add(struct objtool_file *file, int idx, struct symbol *func);
tools/objtool/include/objtool/warn.h
124
#define __cleanup(func) __maybe_unused __attribute__((__cleanup__(func)))
tools/objtool/include/objtool/warn.h
150
#define dbg_checksum(func, insn, checksum) \
tools/objtool/include/objtool/warn.h
156
func->name, insn_off, (unsigned long long)checksum);\
tools/objtool/klp-diff.c
649
static void mark_included_function(struct symbol *func)
tools/objtool/klp-diff.c
653
func->included = 1;
tools/objtool/klp-diff.c
656
pfx = get_func_prefix(func);
tools/objtool/klp-diff.c
661
if (func->cfunc && func->cfunc != func)
tools/objtool/klp-diff.c
662
func->cfunc->included = 1;
tools/objtool/klp-diff.c
663
if (func->pfunc && func->pfunc != func)
tools/objtool/klp-diff.c
664
func->pfunc->included = 1;
tools/objtool/objtool.c
48
int objtool_pv_add(struct objtool_file *f, int idx, struct symbol *func)
tools/objtool/objtool.c
62
if (!strcmp(func->name, "_paravirt_nop") ||
tools/objtool/objtool.c
63
!strcmp(func->name, "_paravirt_ident_64"))
tools/objtool/objtool.c
67
if (!list_empty(&func->pv_target))
tools/objtool/objtool.c
70
list_add(&func->pv_target, &f->pv_ops[idx].targets);
tools/perf/arch/x86/tests/amd-ibs-period.c
48
int (*func)(void);
tools/perf/arch/x86/tests/amd-ibs-period.c
69
func = (void *)((unsigned long)(p + page_size - 1) & ~(page_size - 1));
tools/perf/arch/x86/tests/amd-ibs-period.c
71
ret = mprotect(func, page_size, PROT_READ | PROT_WRITE | PROT_EXEC);
tools/perf/arch/x86/tests/amd-ibs-period.c
82
memcpy((void *)func, insn1, sizeof(insn1));
tools/perf/arch/x86/tests/amd-ibs-period.c
83
if (func() != 1) {
tools/perf/arch/x86/tests/amd-ibs-period.c
88
memcpy((void *)func, insn2, sizeof(insn2));
tools/perf/arch/x86/tests/amd-ibs-period.c
89
if (func() != 2) {
tools/perf/bench/sched-messaging.c
151
void *ctx, void *(*func)(void *))
tools/perf/bench/sched-messaging.c
164
ret = pthread_create(&worker->thread, &attr, func, ctx);
tools/perf/bench/sched-messaging.c
172
void *ctx, void *(*func)(void *))
tools/perf/bench/sched-messaging.c
180
(*func) (ctx);
tools/perf/bench/sched-messaging.c
186
void *ctx, void *(*func)(void *))
tools/perf/bench/sched-messaging.c
189
return create_process_worker(worker, ctx, func);
tools/perf/bench/sched-messaging.c
191
return create_thread_worker(worker, ctx, func);
tools/perf/builtin-ftrace.c
1196
static size_t profile_hash(long func, void *ctx __maybe_unused)
tools/perf/builtin-ftrace.c
1198
return str_hash((char *)func);
tools/perf/builtin-ftrace.c
1228
static int add_func_duration(struct perf_ftrace *ftrace, char *func, double time_ns)
tools/perf/builtin-ftrace.c
1232
if (!hashmap__find(ftrace->profile_hash, func, &prof)) {
tools/perf/builtin-ftrace.c
1233
char *key = strdup(func);
tools/perf/builtin-ftrace.c
1272
char *func;
tools/perf/builtin-ftrace.c
1312
func = skip_spaces(p);
tools/perf/builtin-ftrace.c
1315
if (*func == '}')
tools/perf/builtin-ftrace.c
1316
func += 5;
tools/perf/builtin-ftrace.c
1325
return add_func_duration(ftrace, func, duration);
tools/perf/builtin-ftrace.c
727
bool func = !list_empty(&ftrace->filters) ||
tools/perf/builtin-ftrace.c
733
else if (func)
tools/perf/builtin-kmem.c
349
struct alloc_func *func;
tools/perf/builtin-kmem.c
373
func = realloc(alloc_func_list,
tools/perf/builtin-kmem.c
374
(nr_alloc_funcs + 1) * sizeof(*func));
tools/perf/builtin-kmem.c
375
if (func == NULL)
tools/perf/builtin-kmem.c
379
func[nr_alloc_funcs].start = sym->start;
tools/perf/builtin-kmem.c
380
func[nr_alloc_funcs].end = sym->end;
tools/perf/builtin-kmem.c
381
func[nr_alloc_funcs].name = sym->name;
tools/perf/builtin-kmem.c
383
alloc_func_list = func;
tools/perf/builtin-kmem.c
387
qsort(alloc_func_list, nr_alloc_funcs, sizeof(*func), funcmp);
tools/perf/builtin-kvm.c
57
#define GET_EVENT_KEY(func, field) \
tools/perf/builtin-kvm.c
58
static u64 get_event_ ##func(struct kvm_event *event, int vcpu) \
tools/perf/builtin-kvm.c
69
#define COMPARE_EVENT_KEY(func, field) \
tools/perf/builtin-kvm.c
70
GET_EVENT_KEY(func, field) \
tools/perf/builtin-kvm.c
71
static int64_t cmp_event_ ## func(struct kvm_event *one, \
tools/perf/builtin-kvm.c
74
return get_event_ ##func(one, vcpu) - \
tools/perf/builtin-kvm.c
75
get_event_ ##func(two, vcpu); \
tools/perf/tests/builtin-test.c
719
return twl->func(argc, argv);
tools/perf/tests/tests.h
222
workload_fnptr func;
tools/perf/tests/tests.h
231
.func = work, \
tools/perf/util/annotate-arch/annotate-x86.c
224
struct symbol *func = dl->ops.target.sym;
tools/perf/util/annotate-arch/annotate-x86.c
226
if (func == NULL)
tools/perf/util/annotate-arch/annotate-x86.c
230
if (!strcmp(func->name, "__fentry__"))
tools/perf/util/annotate-arch/annotate-x86.c
233
pr_debug_dtp("call [%x] %s\n", insn_offset, func->name);
tools/perf/util/annotate-arch/annotate-x86.c
242
if (die_find_func_rettype(cu_die, func->name, &type_die)) {
tools/perf/util/arm-spe.c
131
#define DS(range, func) \
tools/perf/util/arm-spe.c
134
.ds_synth = arm_spe__synth_##func, \
tools/perf/util/bpf_ftrace.c
109
if (func) {
tools/perf/util/bpf_ftrace.c
111
false, func->name);
tools/perf/util/bpf_ftrace.c
119
true, func->name);
tools/perf/util/bpf_ftrace.c
26
struct filter_entry *func = NULL;
tools/perf/util/bpf_ftrace.c
33
func = list_first_entry(&ftrace->filters, struct filter_entry, list);
tools/perf/util/demangle-rust-v0.c
1055
static NODISCARD overflow_status printer_print_backref(struct printer *printer, backref_fn func, bool *arg) {
tools/perf/util/demangle-rust-v0.c
1067
overflow_status status = func(printer, arg);
tools/perf/util/demangle-rust-v0.c
1101
static NODISCARD overflow_status printer_in_binder(struct printer *printer, printer_fn func) {
tools/perf/util/demangle-rust-v0.c
1107
return func(printer);
tools/perf/util/demangle-rust-v0.c
1122
overflow_status r = func(printer);
tools/perf/util/header.c
3699
#define FEAT_OPR(n, func, __full_only) \
tools/perf/util/header.c
3702
.write = write_##func, \
tools/perf/util/header.c
3703
.print = print_##func, \
tools/perf/util/header.c
3705
.process = process_##func, \
tools/perf/util/header.c
3709
#define FEAT_OPN(n, func, __full_only) \
tools/perf/util/header.c
3712
.write = write_##func, \
tools/perf/util/header.c
3713
.print = print_##func, \
tools/perf/util/header.c
3715
.process = process_##func \
tools/perf/util/parse-events.c
2531
int (*func)(struct evsel *evsel,
tools/perf/util/parse-events.c
2548
err = (*func)(last, arg);
tools/perf/util/probe-finder.c
1596
const char *fname = NULL, *func = NULL, *basefunc = NULL, *tmp;
tools/perf/util/probe-finder.c
1627
func = basefunc = die_get_linkage_name(&spdie);
tools/perf/util/probe-finder.c
1628
if (!func)
tools/perf/util/probe-finder.c
1629
func = basefunc = dwarf_diename(&spdie);
tools/perf/util/probe-finder.c
1631
if (!func ||
tools/perf/util/probe-finder.c
1670
func = tmp;
tools/perf/util/probe-finder.c
1686
func = basefunc;
tools/perf/util/probe-finder.c
1690
if (func) {
tools/perf/util/probe-finder.c
1691
ppt->function = strdup(func);
tools/perf/util/probe-finder.c
1706
if (ret == 0 && (fname || func))
tools/perf/util/sort.c
2580
#define DIM(d, n, func) [d] = { .name = n, .entry = &(func) }
tools/perf/util/sort.c
2623
#define DIM(d, n, func) [d - __SORT_BRANCH_STACK] = { .name = n, .entry = &(func) }
tools/perf/util/sort.c
2652
#define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) }
tools/perf/util/time-utils.c
284
time_pecent_split func)
tools/perf/util/time-utils.c
306
ret = (func)(p1, &ptime_buf[i], start, end);
tools/perf/util/trace-event.c
56
tep_func_resolver_t *func)
tools/perf/util/trace-event.c
61
return tep_set_function_resolver(tevent.pevent, func, machine);
tools/perf/util/trace-event.h
36
tep_func_resolver_t *func);
tools/power/cpupower/utils/helpers/helpers.h
130
int bus, int slot, int func, int vendor,
tools/power/cpupower/utils/helpers/helpers.h
133
int slot, int func);
tools/power/cpupower/utils/helpers/pci.c
27
int slot, int func, int vendor, int dev)
tools/power/cpupower/utils/helpers/pci.c
40
filter_nb_link.func = func;
tools/power/cpupower/utils/helpers/pci.c
58
int func)
tools/power/cpupower/utils/helpers/pci.c
60
return pci_acc_init(pacc, 0, 0, slot, func, -1, -1);
tools/power/x86/turbostat/turbostat.c
2446
int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *),
tools/power/x86/turbostat/turbostat.c
2470
retval |= func(t, c, p);
tools/power/x86/turbostat/turbostat.c
2480
retval |= func(t, c, p);
tools/power/x86/turbostat/turbostat.c
6222
int for_all_cpus_2(int (func) (struct thread_data *, struct core_data *,
tools/power/x86/turbostat/turbostat.c
6250
retval |= func(t, c, p, t2, c2, p2);
tools/power/x86/turbostat/turbostat.c
6261
retval |= func(t, c, p, t2, c2, p2);
tools/power/x86/turbostat/turbostat.c
6271
int for_all_proc_cpus(int (func) (int))
tools/power/x86/turbostat/turbostat.c
6288
retval = func(cpu_num);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1304
int for_all_proc_cpus(int (func)(int))
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1321
retval = func(cpu_num);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1331
void for_all_cpus_in_set(size_t set_size, cpu_set_t *cpu_set, int (func)(int))
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1337
func(cpu_num);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1339
int for_all_cpus_in_set_and(size_t set_size, cpu_set_t *cpu_set, int (func)(int))
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1346
retval &= func(cpu_num);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
511
void for_packages(unsigned long long pkg_set, int (func)(int))
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
517
func(pkg_num);
tools/testing/memblock/tests/alloc_api.c
848
const char *func = get_memblock_alloc_name(flags);
tools/testing/memblock/tests/alloc_api.c
852
prefix_push(func);
tools/testing/memblock/tests/alloc_api.c
853
test_print("Running %s tests...\n", func);
tools/testing/memblock/tests/common.h
153
static inline void run_top_down(int (*func)())
tools/testing/memblock/tests/common.h
157
func();
tools/testing/memblock/tests/common.h
161
static inline void run_bottom_up(int (*func)())
tools/testing/memblock/tests/common.h
165
func();
tools/testing/nvdimm/test/iomap.c
382
u64 rev, u64 func, union acpi_object *argv4)
tools/testing/nvdimm/test/iomap.c
390
obj = ops->evaluate_dsm(handle, guid, rev, func, argv4);
tools/testing/nvdimm/test/iomap.c
394
return acpi_evaluate_dsm(handle, guid, rev, func, argv4);
tools/testing/nvdimm/test/nfit.c
1317
static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func)
tools/testing/nvdimm/test/nfit.c
1335
unsigned int func = cmd;
tools/testing/nvdimm/test/nfit.c
1344
func = pkg->nd_command;
tools/testing/nvdimm/test/nfit.c
1347
nvdimm ? nvdimm_name(nvdimm) : "bus", family, cmd, func,
tools/testing/nvdimm/test/nfit.c
1359
unsigned int func = cmd;
tools/testing/nvdimm/test/nfit.c
1380
func = call_pkg->nd_command;
tools/testing/nvdimm/test/nfit.c
1384
i = get_dimm(nfit_mem, func);
tools/testing/nvdimm/test/nfit.c
1393
switch (func) {
tools/testing/nvdimm/test/nfit.c
1492
return override_return_code(i, func, rc);
tools/testing/nvdimm/test/nfit.c
1496
|| !test_bit(func, &nfit_mem->dsm_mask))
tools/testing/nvdimm/test/nfit.c
1499
i = get_dimm(nfit_mem, func);
tools/testing/nvdimm/test/nfit.c
1503
switch (func) {
tools/testing/nvdimm/test/nfit.c
1518
return override_return_code(i, func, rc);
tools/testing/nvdimm/test/nfit.c
1528
func = call_pkg->nd_command;
tools/testing/nvdimm/test/nfit.c
1532
switch (func) {
tools/testing/nvdimm/test/nfit.c
1554
func = call_pkg->nd_command;
tools/testing/nvdimm/test/nfit.c
1558
switch (func) {
tools/testing/nvdimm/test/nfit.c
1576
switch (func) {
tools/testing/nvdimm/test/nfit.c
2855
const guid_t *guid, u64 rev, u64 func, union acpi_object *argv4)
tools/testing/nvdimm/test/nfit.c
937
static int override_return_code(int dimm, unsigned int func, int rc)
tools/testing/nvdimm/test/nfit.c
939
if ((1 << func) & dimm_fail_cmd_flags[dimm]) {
tools/testing/nvdimm/test/nfit_test.h
237
u64 rev, u64 func, union acpi_object *argv4);
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
18
void (*func)(struct callback_head *head);
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
38
bss->k_probe_in.func = (void *)(long)0x1234;
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
39
bss->k_core_in.func = (void *)(long)0xabcd;
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
42
u_probe_in.func = (void *)(long)0x5678;
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
46
u_core_in.func = (void *)(long)0xdbca;
tools/testing/selftests/bpf/prog_tests/core_read_macros.c
8
void (*func)(struct callback_head *head);
tools/testing/selftests/bpf/prog_tests/lookup_key.c
22
char *func;
tools/testing/selftests/bpf/prog_tests/lookup_key.c
27
func = va_arg(args, char *);
tools/testing/selftests/bpf/prog_tests/lookup_key.c
29
if (strcmp(func, "bpf_lookup_user_key") && strcmp(func, "bpf_key_put") &&
tools/testing/selftests/bpf/prog_tests/lookup_key.c
30
strcmp(func, "bpf_lookup_system_key"))
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
44
BTF_ID(func, func)
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
54
BTF_ID(func, func)
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
62
BTF_ID(func, func)
tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h
54
#define xpthread_create(thread, attr, func, arg) \
tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h
56
int __ret = pthread_create((thread), (attr), (func), (arg)); \
tools/testing/selftests/bpf/prog_tests/summarization.c
116
const char *func;
tools/testing/selftests/bpf/prog_tests/summarization.c
135
mains[t][i].to_be_replaced, replacements[t][j].func);
tools/testing/selftests/bpf/prog_tests/summarization.c
138
test_aux(mains[t][i].main, mains[t][i].to_be_replaced, replacements[t][j].func,
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
867
#define __CONSUMER_TEST(func) \
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
868
noinline int func(struct uprobe_multi_consumers *skel, unsigned long before, \
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
873
void *__ ## func __used __attribute__((section("consumers"))) = (void *) func;
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
875
#define CONSUMER_TEST(func) __CONSUMER_TEST(func)
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
983
const void *func;
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
990
func = *((&__start_consumers) + idx);
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
992
offset = get_uprobe_offset(func);
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
997
if (consumer_test(skel, idx, after, func, offset))
tools/testing/selftests/bpf/progs/btf_dump_test_case_ordering.c
47
void (*func)(struct callback_head *);
tools/testing/selftests/bpf/progs/exhandler_kern.c
23
void *func;
tools/testing/selftests/bpf/progs/exhandler_kern.c
39
func = work->func;
tools/testing/selftests/bpf/progs/exhandler_kern.c
47
barrier_var(func);
tools/testing/selftests/bpf/progs/exhandler_kern.c
48
if (func)
tools/testing/selftests/bpf/progs/kfree_skb.c
21
void (*func)(struct callback_head *head);
tools/testing/selftests/bpf/progs/kfree_skb.c
65
void *func;
tools/testing/selftests/bpf/progs/kfree_skb.c
79
func = ptr->func;
tools/testing/selftests/bpf/progs/kfree_skb.c
94
bpf_printk("rcuhead.next %llx func %llx\n", ptr, func);
tools/testing/selftests/bpf/progs/map_ptr_kern.c
17
#define VERIFY_TYPE(type, func) ({ \
tools/testing/selftests/bpf/progs/map_ptr_kern.c
19
if (!func()) \
tools/testing/selftests/bpf/progs/test_core_read_macros.c
12
void (*func)(struct callback_head___shuffled *head);
tools/testing/selftests/bpf/progs/test_core_read_macros.c
44
k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func);
tools/testing/selftests/bpf/progs/test_core_read_macros.c
45
k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func);
tools/testing/selftests/bpf/progs/test_core_read_macros.c
46
u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func);
tools/testing/selftests/bpf/progs/test_core_read_macros.c
47
u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func);
tools/testing/selftests/bpf/progs/verifier_ref_tracking.c
24
"call %[" #func "];"
tools/testing/selftests/bpf/progs/verifier_ref_tracking.c
9
#define BPF_SK_LOOKUP(func) \
tools/testing/selftests/bpf/progs/verifier_unpriv.c
24
"call %[" #func "];"
tools/testing/selftests/bpf/progs/verifier_unpriv.c
9
#define BPF_SK_LOOKUP(func) \
tools/testing/selftests/bpf/test_kmods/bpf_test_modorder_x.c
17
BTF_ID_FLAGS(func, bpf_test_modorder_retx);
tools/testing/selftests/bpf/test_kmods/bpf_test_modorder_y.c
17
BTF_ID_FLAGS(func, bpf_test_modorder_rety);
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1226
BTF_ID_FLAGS(func, bpf_testmod_test_mod_kfunc)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1227
BTF_ID_FLAGS(func, bpf_kfunc_call_test1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1228
BTF_ID_FLAGS(func, bpf_kfunc_call_test2)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1229
BTF_ID_FLAGS(func, bpf_kfunc_call_test3)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1230
BTF_ID_FLAGS(func, bpf_kfunc_call_test4)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1231
BTF_ID_FLAGS(func, bpf_kfunc_call_test_mem_len_pass1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1232
BTF_ID_FLAGS(func, bpf_kfunc_call_test_mem_len_fail1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1233
BTF_ID_FLAGS(func, bpf_kfunc_call_test_mem_len_fail2)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1234
BTF_ID_FLAGS(func, bpf_kfunc_call_test_acquire, KF_ACQUIRE | KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1235
BTF_ID_FLAGS(func, bpf_kfunc_call_memb_acquire, KF_ACQUIRE | KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1236
BTF_ID_FLAGS(func, bpf_kfunc_call_memb1_release, KF_RELEASE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1237
BTF_ID_FLAGS(func, bpf_kfunc_call_test_get_rdwr_mem, KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1238
BTF_ID_FLAGS(func, bpf_kfunc_call_test_get_rdonly_mem, KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1239
BTF_ID_FLAGS(func, bpf_kfunc_call_test_acq_rdonly_mem, KF_ACQUIRE | KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1240
BTF_ID_FLAGS(func, bpf_kfunc_call_int_mem_release, KF_RELEASE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1241
BTF_ID_FLAGS(func, bpf_kfunc_call_test_pass_ctx)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1242
BTF_ID_FLAGS(func, bpf_kfunc_call_test_pass1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1243
BTF_ID_FLAGS(func, bpf_kfunc_call_test_pass2)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1244
BTF_ID_FLAGS(func, bpf_kfunc_call_test_fail1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1245
BTF_ID_FLAGS(func, bpf_kfunc_call_test_fail2)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1246
BTF_ID_FLAGS(func, bpf_kfunc_call_test_fail3)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1247
BTF_ID_FLAGS(func, bpf_kfunc_call_test_ref, KF_RCU)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1248
BTF_ID_FLAGS(func, bpf_kfunc_call_test_destructive, KF_DESTRUCTIVE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1249
BTF_ID_FLAGS(func, bpf_kfunc_call_test_static_unused_arg)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1250
BTF_ID_FLAGS(func, bpf_kfunc_call_test_offset)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1251
BTF_ID_FLAGS(func, bpf_kfunc_call_test_sleepable, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1252
BTF_ID_FLAGS(func, bpf_kfunc_call_test_call_rcu_tasks_trace)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1253
BTF_ID_FLAGS(func, bpf_kfunc_init_sock, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1254
BTF_ID_FLAGS(func, bpf_kfunc_close_sock, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1255
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_connect, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1256
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_bind, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1257
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_listen, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1258
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_sendmsg, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1259
BTF_ID_FLAGS(func, bpf_kfunc_call_sock_sendmsg, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1260
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_getsockname, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1261
BTF_ID_FLAGS(func, bpf_kfunc_call_kernel_getpeername, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1262
BTF_ID_FLAGS(func, bpf_kfunc_st_ops_test_prologue, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1263
BTF_ID_FLAGS(func, bpf_kfunc_st_ops_test_epilogue, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1264
BTF_ID_FLAGS(func, bpf_kfunc_st_ops_test_pro_epilogue, KF_SLEEPABLE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1265
BTF_ID_FLAGS(func, bpf_kfunc_st_ops_inc10)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1266
BTF_ID_FLAGS(func, bpf_kfunc_multi_st_ops_test_1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1267
BTF_ID_FLAGS(func, bpf_kfunc_multi_st_ops_test_1_assoc, KF_IMPLICIT_ARGS)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1268
BTF_ID_FLAGS(func, bpf_kfunc_implicit_arg, KF_IMPLICIT_ARGS)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1269
BTF_ID_FLAGS(func, bpf_kfunc_implicit_arg_legacy, KF_IMPLICIT_ARGS)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1270
BTF_ID_FLAGS(func, bpf_kfunc_implicit_arg_legacy_impl)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1271
BTF_ID_FLAGS(func, bpf_kfunc_trigger_ctx_check)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
605
uprobe_ret_handler(struct uprobe_consumer *self, unsigned long func,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
714
BTF_ID_FLAGS(func, bpf_iter_testmod_seq_new, KF_ITER_NEW)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
715
BTF_ID_FLAGS(func, bpf_iter_testmod_seq_next, KF_ITER_NEXT | KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
716
BTF_ID_FLAGS(func, bpf_iter_testmod_seq_destroy, KF_ITER_DESTROY)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
717
BTF_ID_FLAGS(func, bpf_iter_testmod_seq_value)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
718
BTF_ID_FLAGS(func, bpf_kfunc_common_test)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
719
BTF_ID_FLAGS(func, bpf_kfunc_dynptr_test)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
720
BTF_ID_FLAGS(func, bpf_kfunc_nested_acquire_nonzero_offset_test, KF_ACQUIRE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
721
BTF_ID_FLAGS(func, bpf_kfunc_nested_acquire_zero_offset_test, KF_ACQUIRE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
722
BTF_ID_FLAGS(func, bpf_kfunc_nested_release_test, KF_RELEASE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
723
BTF_ID_FLAGS(func, bpf_kfunc_trusted_vma_test)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
724
BTF_ID_FLAGS(func, bpf_kfunc_trusted_task_test)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
725
BTF_ID_FLAGS(func, bpf_kfunc_trusted_num_test)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
726
BTF_ID_FLAGS(func, bpf_kfunc_rcu_task_test, KF_RCU)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
727
BTF_ID_FLAGS(func, bpf_kfunc_ret_rcu_test, KF_RET_NULL | KF_RCU_PROTECTED)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
728
BTF_ID_FLAGS(func, bpf_kfunc_ret_rcu_test_nostruct, KF_RET_NULL | KF_RCU_PROTECTED)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
729
BTF_ID_FLAGS(func, bpf_testmod_ctx_create, KF_ACQUIRE | KF_RET_NULL)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
730
BTF_ID_FLAGS(func, bpf_testmod_ctx_release, KF_RELEASE)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
731
BTF_ID_FLAGS(func, bpf_testmod_ops3_call_test_1)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
732
BTF_ID_FLAGS(func, bpf_testmod_ops3_call_test_2)
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
733
BTF_ID_FLAGS(func, bpf_kfunc_get_default_trusted_ptr_test);
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
734
BTF_ID_FLAGS(func, bpf_kfunc_put_default_trusted_ptr_test);
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
739
BTF_ID(func, bpf_testmod_ctx_release_dtor)
tools/testing/selftests/bpf/test_verifier.c
462
#define BPF_SK_LOOKUP(func) \
tools/testing/selftests/bpf/test_verifier.c
477
BPF_EMIT_CALL(BPF_FUNC_ ## func)
tools/testing/selftests/bpf/trace_helpers.c
67
char func[256], buf[256];
tools/testing/selftests/bpf/trace_helpers.c
84
if (sscanf(buf, "%p %c %s", &addr, &symbol, func) != 3)
tools/testing/selftests/bpf/trace_helpers.c
93
ret = ksyms__add_symbol(ksyms, func, (unsigned long)addr);
tools/testing/selftests/bpf/xskxceiver.c
110
static void __exit_with_error(int error, const char *file, const char *func, int line)
tools/testing/selftests/bpf/xskxceiver.c
112
ksft_test_result_fail("[%s:%s:%i]: ERROR: %d/\"%s\"\n", file, func, line,
tools/testing/selftests/filesystems/overlayfs/log.h
10
#define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__)
tools/testing/selftests/futex/functional/futex_requeue_pi.c
121
int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg,
tools/testing/selftests/futex/functional/futex_requeue_pi.c
150
ret = pthread_create(pth, &attr, func, arg);
tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c
40
int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg,
tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c
63
ret = pthread_create(pth, &attr, func, arg);
tools/testing/selftests/kvm/include/guest_modes.h
19
void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg);
tools/testing/selftests/kvm/lib/guest_modes.c
113
void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg)
tools/testing/selftests/kvm/lib/guest_modes.c
123
func(i, arg);
tools/testing/selftests/kvm/steal_time.c
117
static int64_t smccc(uint32_t func, uint64_t arg)
tools/testing/selftests/kvm/steal_time.c
121
do_smccc(func, arg, 0, 0, 0, 0, 0, 0, &res);
tools/testing/selftests/mm/memfd_secret.c
202
void (*func)(int fd, int pipefd[2]))
tools/testing/selftests/mm/memfd_secret.c
220
func(fd, pipefd);
tools/testing/selftests/mqueue/mq_perf_tests.c
377
void (*func)(int *);
tools/testing/selftests/mqueue/mq_perf_tests.c
490
cur_test->func(&prio_out);
tools/testing/selftests/mqueue/mq_perf_tests.c
501
cur_test->func(&prio_out);
tools/testing/selftests/net/bench/page_pool/bench_page_pool_simple.c
127
enum test_type type, const char *func)
tools/testing/selftests/net/bench/page_pool/bench_page_pool_simple.c
148
pr_warn("%s: Error(%d) creating page_pool\n", func, err);
tools/testing/selftests/net/bench/page_pool/bench_page_pool_simple.c
154
pr_warn("%s(): in_serving_softirq fast-path\n", func);
tools/testing/selftests/net/bench/page_pool/bench_page_pool_simple.c
156
pr_warn("%s(): Cannot use page_pool fast-path\n", func);
tools/testing/selftests/net/bench/page_pool/time_bench.c
217
int (*func)(struct time_bench_record *record, void *data))
tools/testing/selftests/net/bench/page_pool/time_bench.c
229
if (!func(&rec, data)) {
tools/testing/selftests/net/bench/page_pool/time_bench.c
333
int (*func)(struct time_bench_record *record, void *data))
tools/testing/selftests/net/bench/page_pool/time_bench.c
361
c->bench_func = func;
tools/testing/selftests/net/bench/page_pool/time_bench.h
202
int (*func)(struct time_bench_record *rec, void *data));
tools/testing/selftests/net/bench/page_pool/time_bench.h
208
int (*func)(struct time_bench_record *record, void *data));
tools/testing/selftests/net/ipsec.c
752
bool init_side, int d_port, in_addr_t to, ping_f func)
tools/testing/selftests/net/ipsec.c
785
ping_succeeded += !func(ping_sock, to, d_port, buf, page_size);
tools/testing/selftests/net/sample_map_ret0.bpf.c
20
SEC("xdp") int func()
tools/testing/selftests/net/sample_ret0.bpf.c
7
int func()
tools/testing/selftests/net/tcp_ao/lib/setup.c
204
thread_fn func;
tools/testing/selftests/net/tcp_ao/lib/setup.c
214
p->func(NULL); /* shouldn't return */
tools/testing/selftests/net/tcp_ao/lib/setup.c
268
targ.func = peer2;
tools/testing/selftests/nolibc/nolibc-test.c
1951
{ .name = "startup", .func = run_startup },
tools/testing/selftests/nolibc/nolibc-test.c
1952
{ .name = "syscall", .func = run_syscall },
tools/testing/selftests/nolibc/nolibc-test.c
1953
{ .name = "stdlib", .func = run_stdlib },
tools/testing/selftests/nolibc/nolibc-test.c
1954
{ .name = "printf", .func = run_printf },
tools/testing/selftests/nolibc/nolibc-test.c
1955
{ .name = "protection", .func = run_protection },
tools/testing/selftests/nolibc/nolibc-test.c
2066
err = test_names[idx].func(min, max);
tools/testing/selftests/nolibc/nolibc-test.c
2079
err = test_names[idx].func(min, max);
tools/testing/selftests/nolibc/nolibc-test.c
642
#define EXPECT_STRTOX(cond, func, input, base, expected, chars, expected_errno) \
tools/testing/selftests/nolibc/nolibc-test.c
643
do { if (!(cond)) result(llen, SKIPPED); else ret += expect_strtox(llen, func, input, base, expected, chars, expected_errno); } while (0)
tools/testing/selftests/nolibc/nolibc-test.c
646
int expect_strtox(int llen, void *func, const char *input, int base, intmax_t expected, int expected_chars, int expected_errno)
tools/testing/selftests/nolibc/nolibc-test.c
653
if (func == strtol) {
tools/testing/selftests/nolibc/nolibc-test.c
655
} else if (func == strtoul) {
tools/testing/selftests/nolibc/nolibc-test.c
80
int (*func)(int min, int max); /* handler */
tools/testing/selftests/openat2/helpers.h
66
#define E_func(func, ...) \
tools/testing/selftests/openat2/helpers.h
69
if (func(__VA_ARGS__) < 0) \
tools/testing/selftests/openat2/helpers.h
71
__FILE__, __LINE__, #func, errno); \
tools/testing/selftests/powerpc/pmu/ebb/ebb.c
420
int catch_sigill(void (*func)(void))
tools/testing/selftests/powerpc/pmu/ebb/ebb.c
428
func();
tools/testing/selftests/powerpc/pmu/ebb/ebb.h
73
int catch_sigill(void (*func)(void));
tools/testing/selftests/ptp/testptp.c
441
desc.func = pin_func;
tools/testing/selftests/ptp/testptp.c
499
desc.name, desc.index, desc.func, desc.chan);
tools/testing/selftests/seccomp/seccomp_bpf.c
1608
tracer_func_t func, void *args, bool ptrace_syscall)
tools/testing/selftests/seccomp/seccomp_bpf.c
1624
start_tracer(_metadata, pipefd[1], tracee, func, args,
tools/testing/selftests/timens/log.h
10
#define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__)
tools/testing/selftests/x86/ldt_gdt.c
225
static int safe_modify_ldt(int func, struct user_desc *ptr,
tools/testing/shared/linux/radix-tree.h
11
void (*func)(struct rcu_head *head))
tools/testing/shared/linux/radix-tree.h
16
call_rcu(head, func);
virt/kvm/async_pf.c
114
WARN_ON_ONCE(work->work.func);