func 54 arch/alpha/include/asm/smp.h #define smp_call_function_on_cpu(func,info,wait,cpu) ({ 0; }) func 110 arch/alpha/kernel/core_lca.c int func = device_fn & 0x7; func 119 arch/alpha/kernel/core_lca.c addr = (1 << (11 + device)) | (func << 8) | where; func 868 arch/alpha/kernel/smc37c669.c unsigned int func func 872 arch/alpha/kernel/smc37c669.c unsigned int func func 876 arch/alpha/kernel/smc37c669.c unsigned int func, func 1054 arch/alpha/kernel/smc37c669.c unsigned int func func 1059 arch/alpha/kernel/smc37c669.c unsigned int func, func 1082 arch/alpha/kernel/smc37c669.c unsigned int func func 1225 arch/alpha/kernel/smc37c669.c unsigned int __init SMC37c669_enable_device ( unsigned int func ) func 1232 arch/alpha/kernel/smc37c669.c switch ( func ) { func 1245 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_irq( local_config[ func ].irq ) func 1253 arch/alpha/kernel/smc37c669.c base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; func 1274 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_irq( local_config[ func ].irq ) func 1282 arch/alpha/kernel/smc37c669.c base_addr.by_field.addr9_3 = local_config[ func ].port1 >> 3; func 1304 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_drq( local_config[ func ].drq ) func 1319 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_irq( local_config[ func ].irq ) func 1330 arch/alpha/kernel/smc37c669.c base_addr.by_field.addr9_2 = local_config[ func ].port1 >> 2; func 1352 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_drq( local_config[ func ].drq ) func 1367 arch/alpha/kernel/smc37c669.c SMC37c669_xlate_irq( local_config[ func ].irq ) func 1378 arch/alpha/kernel/smc37c669.c base_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; func 1394 arch/alpha/kernel/smc37c669.c ide_addr.by_field.addr9_4 = local_config[ func ].port2 >> 4; func 1404 arch/alpha/kernel/smc37c669.c ide_addr.by_field.addr9_4 = local_config[ func ].port1 >> 4; func 1453 arch/alpha/kernel/smc37c669.c unsigned int __init SMC37c669_disable_device ( unsigned int func ) func 1461 arch/alpha/kernel/smc37c669.c switch ( func ) { func 1668 arch/alpha/kernel/smc37c669.c unsigned int func, func 1678 arch/alpha/kernel/smc37c669.c if ( ( cp = SMC37c669_get_config ( func ) ) != NULL ) { func 1695 arch/alpha/kernel/smc37c669.c if ( SMC37c669_is_device_enabled( func ) ) { func 1696 arch/alpha/kernel/smc37c669.c SMC37c669_enable_device( func ); func 1734 arch/alpha/kernel/smc37c669.c static unsigned int __init SMC37c669_is_device_enabled ( unsigned int func ) func 1744 arch/alpha/kernel/smc37c669.c switch ( func ) { func 1834 arch/alpha/kernel/smc37c669.c unsigned int func, func 1844 arch/alpha/kernel/smc37c669.c if ( ( cp = SMC37c669_get_config( func ) ) != NULL ) { func 2200 arch/alpha/kernel/smc37c669.c static struct DEVICE_CONFIG * __init SMC37c669_get_config( unsigned int func ) func 2204 arch/alpha/kernel/smc37c669.c switch ( func ) { func 107 arch/alpha/math-emu/math.c unsigned long fa, fb, fc, func, mode, src; func 116 arch/alpha/math-emu/math.c func = (insn >> 5) & 0xf; func 136 arch/alpha/math-emu/math.c switch (func) { func 163 arch/alpha/math-emu/math.c if ((func & ~3) == FOP_FNC_CMPxUN) { func 181 arch/alpha/math-emu/math.c && ((func & 3) >= 2 func 186 arch/alpha/math-emu/math.c switch (func) { func 198 arch/alpha/math-emu/math.c switch (func) { func 250 arch/alpha/math-emu/math.c switch (func) { func 2 arch/arm/boot/dts/sama5d2-pinfunc.h #define PINMUX_PIN(no, func, ioset) \ func 3 arch/arm/boot/dts/sama5d2-pinfunc.h (((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20)) func 105 arch/arm/include/asm/kgdb.h #define CFI_END_FRAME(func) __CFI_END_FRAME(_PC, _SPT, func) func 108 arch/arm/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 115 arch/arm/kernel/ftrace.c new = ftrace_call_replace(pc, (unsigned long)func); func 122 arch/arm/kernel/ftrace.c new = ftrace_call_replace(pc, (unsigned long)func); func 206 arch/arm/kernel/ftrace.c void (*func) (void), bool enable) func 208 arch/arm/kernel/ftrace.c unsigned long caller_fn = (unsigned long) func; func 223 arch/arm/mach-orion5x/pci.c #define PCI_CONF_FUNC(func) (((func) & 0x3) << 8) func 273 arch/arm/mach-orion5x/pci.c static int orion5x_pci_hw_rd_conf(int bus, int dev, u32 func, func 281 arch/arm/mach-orion5x/pci.c PCI_CONF_FUNC(func) | PCI_CONF_ADDR_EN, PCI_CONF_ADDR); func 295 arch/arm/mach-orion5x/pci.c static int orion5x_pci_hw_wr_conf(int bus, int dev, u32 func, func 305 arch/arm/mach-orion5x/pci.c PCI_CONF_FUNC(func) | PCI_CONF_ADDR_EN, PCI_CONF_ADDR); func 396 arch/arm/mach-orion5x/pci.c int bus_nr, func, reg; func 400 arch/arm/mach-orion5x/pci.c func = PCI_CONF_FUNC_STAT_CMD; func 402 arch/arm/mach-orion5x/pci.c orion5x_pci_hw_rd_conf(bus_nr, 0, func, reg, 4, &val); func 404 arch/arm/mach-orion5x/pci.c orion5x_pci_hw_wr_conf(bus_nr, 0, func, reg, 4, val | 0x7); func 427 arch/arm/mach-orion5x/pci.c u32 func = PCI_CONF_FUNC_BAR_CS(cs->cs_index); func 435 arch/arm/mach-orion5x/pci.c orion5x_pci_hw_rd_conf(bus, 0, func, reg, 4, &val); func 437 arch/arm/mach-orion5x/pci.c orion5x_pci_hw_wr_conf(bus, 0, func, reg, 4, val); func 443 arch/arm/mach-orion5x/pci.c orion5x_pci_hw_wr_conf(bus, 0, func, reg, 4, 0); func 259 arch/arm/mach-qcom/platsmp.c static int qcom_boot_secondary(unsigned int cpu, int (*func)(unsigned int)) func 264 arch/arm/mach-qcom/platsmp.c ret = func(cpu); func 16 arch/arm/mach-s3c64xx/backlight.h int func; func 39 arch/arm/mach-s3c64xx/dev-backlight.c s3c_gpio_cfgpin(bl_gpio_info->no, bl_gpio_info->func); func 617 arch/arm/mach-s3c64xx/mach-smdk6410.c .func = S3C_GPIO_SFN(2), func 355 arch/arm/mach-vexpress/spc.c static int ve_spc_read_sys_cfg(int func, int offset, uint32_t *data) func 366 arch/arm/mach-vexpress/spc.c writel(SYSCFG_START | func | offset >> 2, info->baseaddr + COMMS); func 1780 arch/arm/net/bpf_jit_32.c const u32 func = (u32)__bpf_call_base + (u32)imm; func 1788 arch/arm/net/bpf_jit_32.c emit_a32_mov_i(tmp[1], func, ctx); func 289 arch/arm/probes/kprobes/test-core.c static int call_test_func(long (*func)(long, long), bool check_test_regs) func 296 arch/arm/probes/kprobes/test-core.c ret = (*func)(FUNC_ARG1, FUNC_ARG2); func 332 arch/arm/probes/kprobes/test-core.c static int test_kprobe(long (*func)(long, long)) func 336 arch/arm/probes/kprobes/test-core.c the_kprobe.addr = (kprobe_opcode_t *)func; func 343 arch/arm/probes/kprobes/test-core.c ret = call_test_func(func, true); func 358 arch/arm/probes/kprobes/test-core.c if (!call_test_func(func, false)) func 382 arch/arm/probes/kprobes/test-core.c static int test_kretprobe(long (*func)(long, long)) func 386 arch/arm/probes/kprobes/test-core.c the_kretprobe.kp.addr = (kprobe_opcode_t *)func; func 393 arch/arm/probes/kprobes/test-core.c ret = call_test_func(func, true); func 404 arch/arm/probes/kprobes/test-core.c if (!call_test_func(func, false)) func 414 arch/arm/probes/kprobes/test-core.c static int run_api_tests(long (*func)(long, long)) func 419 arch/arm/probes/kprobes/test-core.c ret = test_kprobe(func); func 424 arch/arm/probes/kprobes/test-core.c ret = test_kretprobe(func); func 245 arch/arm/vfp/vfp.h #define vfp_single_normaliseround(sd,vsd,fpscr,except,func) __vfp_single_normaliseround(sd,vsd,fpscr,except) func 248 arch/arm/vfp/vfp.h u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char *func); func 343 arch/arm/vfp/vfp.h u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func); func 70 arch/arm/vfp/vfpdouble.c u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func) func 195 arch/arm/vfp/vfpdouble.c pr_debug("VFP: %s: d(d%d)=%016llx exceptions=%08x\n", func, func 851 arch/arm/vfp/vfpdouble.c vfp_double_multiply_accumulate(int dd, int dn, int dm, u32 fpscr, u32 negate, char *func) func 876 arch/arm/vfp/vfpdouble.c return vfp_double_normaliseround(dd, &vdd, fpscr, exceptions, func); func 69 arch/arm/vfp/vfpsingle.c #define vfp_single_normaliseround(sd,vsd,fpscr,except,func) __vfp_single_normaliseround(sd,vsd,fpscr,except) func 72 arch/arm/vfp/vfpsingle.c u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char *func) func 201 arch/arm/vfp/vfpsingle.c pr_debug("VFP: %s: d(s%d)=%08x exceptions=%08x\n", func, func 895 arch/arm/vfp/vfpsingle.c vfp_single_multiply_accumulate(int sd, int sn, s32 m, u32 fpscr, u32 negate, char *func) func 925 arch/arm/vfp/vfpsingle.c return vfp_single_normaliseround(sd, &vsd, fpscr, exceptions, func); func 53 arch/arm64/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 59 arch/arm64/kernel/ftrace.c new = aarch64_insn_gen_branch_imm(pc, (unsigned long)func, func 34 arch/arm64/kernel/machine_kexec.c static void _kexec_image_info(const char *func, int line, func 39 arch/arm64/kernel/machine_kexec.c pr_debug("%s:%d:\n", func, line); func 20 arch/csky/include/asm/smp.h void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq); func 37 arch/csky/include/asm/traps.h #define VEC_INIT(i, func) \ func 39 arch/csky/include/asm/traps.h vec_base[i] = (void *)func; \ func 125 arch/csky/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 128 arch/csky/kernel/ftrace.c (unsigned long)func, true, true); func 65 arch/csky/kernel/smp.c void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq) func 70 arch/csky/kernel/smp.c send_arch_ipi = func; func 52 arch/ia64/include/asm/meminit.h extern void call_pernode_memory (unsigned long start, unsigned long len, void *func); func 54 arch/ia64/include/asm/meminit.h # define call_pernode_memory(start, len, func) (*func)(start, len, 0) func 102 arch/ia64/kernel/esi.c enum esi_proc_type proc_type, u64 func, func 134 arch/ia64/kernel/esi.c *isrvp = (*esi_proc)(func, arg1, arg2, arg3, func 154 arch/ia64/kernel/esi.c u64 func, u64 arg1, u64 arg2, u64 arg3, u64 arg4, func 179 arch/ia64/kernel/esi.c esi_params[0] = func; func 183 arch/ia64/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 188 arch/ia64/kernel/ftrace.c if (func == ftrace_stub) func 190 arch/ia64/kernel/ftrace.c ip = ((struct fnptr *)func)->ip; func 59 arch/ia64/kernel/machine_kexec.c const unsigned long *func; func 61 arch/ia64/kernel/machine_kexec.c func = (unsigned long *)&relocate_new_kernel; func 64 arch/ia64/kernel/machine_kexec.c memcpy((void *)control_code_buffer, (const void *)func[0], func 336 arch/ia64/kernel/mca.c ia64_mca_spin(const char *func) func 340 arch/ia64/kernel/mca.c mprintk(KERN_EMERG "%s: spinning here, not returning to SAL\n", func); func 853 arch/ia64/kernel/palinfo.c palinfo_func_t func; /* pointer to function to call */ func 867 arch/ia64/kernel/palinfo.c data->ret = (*data->func)(data->m); func 882 arch/ia64/kernel/palinfo.c ptr.func = palinfo_entries[f->func_id].proc_read; func 4716 arch/ia64/kernel/perfmon.c int (*func)(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs); func 4730 arch/ia64/kernel/perfmon.c func = pfm_cmd_tab[cmd].cmd_func; func 4736 arch/ia64/kernel/perfmon.c if (unlikely(func == NULL)) { func 4832 arch/ia64/kernel/perfmon.c ret = (*func)(ctx, args_k, count, task_pt_regs(current)); func 146 arch/ia64/kernel/setup.c void (*func)(unsigned long, unsigned long, int); func 160 arch/ia64/kernel/setup.c func = arg; func 167 arch/ia64/kernel/setup.c call_pernode_memory(__pa(range_start), range_end - range_start, func); func 185 arch/ia64/kernel/setup.c void (*func)(unsigned long, unsigned long, int); func 195 arch/ia64/kernel/setup.c func = arg; func 197 arch/ia64/kernel/setup.c call_pernode_memory(__pa(start), end - start, func); func 558 arch/ia64/mm/discontig.c void (*func)(unsigned long, unsigned long, int); func 566 arch/ia64/mm/discontig.c func = arg; func 571 arch/ia64/mm/discontig.c (*func)(start, end - start, 0); func 581 arch/ia64/mm/discontig.c (*func)(rs, re - rs, node_memblk[i].nid); func 61 arch/m68k/mac/config.c extern void via_init_clock(irq_handler_t func); func 171 arch/microblaze/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 174 arch/microblaze/kernel/ftrace.c unsigned int upper = (unsigned int)func; func 175 arch/microblaze/kernel/ftrace.c unsigned int lower = (unsigned int)func; func 183 arch/microblaze/kernel/ftrace.c __func__, (unsigned int)func, (unsigned int)ip, upper, lower); func 88 arch/microblaze/pci/xilinx_pci.c u32 val, dev, func, offset; func 93 arch/microblaze/pci/xilinx_pci.c for (func = 0; func < 1; func++) { func 94 arch/microblaze/pci/xilinx_pci.c pr_info("%02x:%02x:%02x", bus, dev, func); func 99 arch/microblaze/pci/xilinx_pci.c PCI_DEVFN(dev, func), offset, &val); func 200 arch/mips/ar7/gpio.c u32 func; func 274 arch/mips/ar7/gpio.c if (!((mux_status == 0) || (mux_status == gpio_cfg.func))) func 279 arch/mips/ar7/gpio.c tmp |= ((gpio_cfg.func & 0x3) << gpio_cfg.shift); func 17 arch/mips/dec/reset.c noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); func 19 arch/mips/dec/reset.c func(); func 117 arch/mips/include/asm/cacheflush.h unsigned long run_uncached(void *func); func 14 arch/mips/include/asm/mach-ralink/pinmux.h .func = _func, .gpio = _mask, \ func 19 arch/mips/include/asm/mach-ralink/pinmux.h .func = _func, .gpio = _gpio, \ func 46 arch/mips/include/asm/mach-ralink/pinmux.h struct rt2880_pmx_func *func; func 78 arch/mips/include/asm/mips-r2-to-r6-emul.h int (*func)(struct pt_regs *regs, u32 inst); func 519 arch/mips/include/asm/uaccess.h #define __invoke_copy_from(func, to, from, n) \ func 530 arch/mips/include/asm/uaccess.h __MODULE_JAL(func) \ func 542 arch/mips/include/asm/uaccess.h #define __invoke_copy_to(func, to, from, n) \ func 552 arch/mips/include/asm/uaccess.h __MODULE_JAL(func) \ func 663 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 693 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 703 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 714 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 724 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 4, func 732 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 742 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 753 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 762 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 4, func 773 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 782 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func:7, func 808 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 819 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 829 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 839 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 851 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 861 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 872 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 882 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 892 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 902 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 6, func 918 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 4, func 928 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 11, func 959 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 4, func 1000 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 5, func 1014 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 3, func 1021 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 3, func 1044 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int func : 3, func 372 arch/mips/kernel/branch.c if (inst.rr.func == MIPS16e_jr_func) { func 432 arch/mips/kernel/branch.c switch (insn.r_format.func) { func 437 arch/mips/kernel/branch.c if (NO_R6EMU && insn.r_format.func == jr_op) func 220 arch/mips/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 224 arch/mips/kernel/ftrace.c new = INSN_JAL((unsigned long)func); func 30 arch/mips/kernel/kprobes.c .func = break_op func 38 arch/mips/kernel/kprobes.c .func = break_op func 891 arch/mips/kernel/mips-r2-to-r6-emul.c for (p = table; p->func; p++) { func 893 arch/mips/kernel/mips-r2-to-r6-emul.c err = (p->func)(regs, inst); func 21 arch/mips/kernel/probes-common.h switch (insn.r_format.func) { func 194 arch/mips/kernel/process.c void *func; func 226 arch/mips/kernel/process.c switch (ip->mm16_m_format.func) { func 253 arch/mips/kernel/process.c switch (ip->mm_m_format.func) { func 306 arch/mips/kernel/process.c ip->r_format.func != mm_pool32axf_op) func 316 arch/mips/kernel/process.c return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; func 383 arch/mips/kernel/process.c ip = (void *)msk_isa16_mode((ulong)info->func); func 473 arch/mips/kernel/process.c schedule_mfi.func = (void *)addr; func 573 arch/mips/kernel/process.c info.func = (void *)(pc - ofs); func 712 arch/mips/kernel/process.c csd->func = handle_backtrace; func 501 arch/mips/kernel/smp.c static inline void smp_on_other_tlbs(void (*func) (void *info), void *info) func 503 arch/mips/kernel/smp.c smp_call_function(func, info, 1); func 506 arch/mips/kernel/smp.c static inline void smp_on_each_tlb(void (*func) (void *info), void *info) func 510 arch/mips/kernel/smp.c smp_on_other_tlbs(func, info); func 511 arch/mips/kernel/smp.c func(info); func 731 arch/mips/kernel/smp.c csd->func = tick_broadcast_callee; func 937 arch/mips/kernel/unaligned.c if (insn.dsp_format.func == lx_op) { func 970 arch/mips/kernel/unaligned.c switch (insn.spec3_format.func) { func 1256 arch/mips/kernel/unaligned.c switch (insn.msa_mi10_format.func) { func 1452 arch/mips/kernel/unaligned.c switch (insn.mm_x_format.func) { func 1461 arch/mips/kernel/unaligned.c switch (insn.mm_m_format.func) { func 1706 arch/mips/kernel/unaligned.c switch (insn.mm_m_format.func) { func 1717 arch/mips/kernel/unaligned.c switch (insn.mm_x_format.func) { func 1784 arch/mips/kernel/unaligned.c switch (insn.mm16_m_format.func) { func 2049 arch/mips/kernel/unaligned.c switch (mips16inst.i64.func) { /* I64/RI64 func field check */ func 2104 arch/mips/kernel/unaligned.c if (mips16inst.i8.func != MIPS16e_swrasp_func) func 70 arch/mips/kernel/uprobes.c switch (inst.r_format.func) { func 109 arch/mips/kvm/dyntrans.c mfc0_inst.r_format.func = add_op; func 64 arch/mips/kvm/emulate.c switch (insn.r_format.func) { func 1283 arch/mips/kvm/emulate.c switch (inst.co_format.func) { func 1959 arch/mips/kvm/emulate.c switch (inst.spec3_format.func) { func 2514 arch/mips/kvm/emulate.c inst.r_format.func == rdhwr_op && func 607 arch/mips/kvm/vz.c switch (inst.spec3_format.func) { func 921 arch/mips/kvm/vz.c switch (inst.co_format.func) { func 1162 arch/mips/kvm/vz.c switch (inst.spec3_format.func) { func 38 arch/mips/lib/uncached.c unsigned long run_uncached(void *func) func 42 arch/mips/lib/uncached.c long lfunc = (long)func, ufunc; func 23 arch/mips/loongson64/common/reset.c void (*func)(void); func 25 arch/mips/loongson64/common/reset.c func = (void *)ioremap_nocache(LOONGSON_BOOT_BASE, 4); func 32 arch/mips/loongson64/common/reset.c : [func] "r" (func)); func 86 arch/mips/math-emu/cp1emu.c int func, fmt, op; func 121 arch/mips/math-emu/cp1emu.c switch (insn.mm_fp0_format.func) { func 130 arch/mips/math-emu/cp1emu.c op = insn.mm_fp0_format.func; func 132 arch/mips/math-emu/cp1emu.c func = madd_s_op; func 134 arch/mips/math-emu/cp1emu.c func = madd_d_op; func 136 arch/mips/math-emu/cp1emu.c func = nmadd_s_op; func 138 arch/mips/math-emu/cp1emu.c func = nmadd_d_op; func 140 arch/mips/math-emu/cp1emu.c func = msub_s_op; func 142 arch/mips/math-emu/cp1emu.c func = msub_d_op; func 144 arch/mips/math-emu/cp1emu.c func = nmsub_s_op; func 146 arch/mips/math-emu/cp1emu.c func = nmsub_d_op; func 152 arch/mips/math-emu/cp1emu.c mips32_insn.fp6_format.func = func; func 155 arch/mips/math-emu/cp1emu.c func = -1; /* Invalid */ func 158 arch/mips/math-emu/cp1emu.c func = ldxc1_op; func 160 arch/mips/math-emu/cp1emu.c func = sdxc1_op; func 162 arch/mips/math-emu/cp1emu.c func = lwxc1_op; func 164 arch/mips/math-emu/cp1emu.c func = swxc1_op; func 166 arch/mips/math-emu/cp1emu.c if (func != -1) { func 174 arch/mips/math-emu/cp1emu.c mips32_insn.r_format.func = func; func 194 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = fmovc_op; func 199 arch/mips/math-emu/cp1emu.c func = -1; /* Invalid */ func 201 arch/mips/math-emu/cp1emu.c func = fadd_op; func 203 arch/mips/math-emu/cp1emu.c func = fsub_op; func 205 arch/mips/math-emu/cp1emu.c func = fmul_op; func 207 arch/mips/math-emu/cp1emu.c func = fdiv_op; func 208 arch/mips/math-emu/cp1emu.c if (func != -1) { func 218 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 223 arch/mips/math-emu/cp1emu.c func = -1; /* Invalid */ func 225 arch/mips/math-emu/cp1emu.c func = fmovn_op; func 227 arch/mips/math-emu/cp1emu.c func = fmovz_op; func 228 arch/mips/math-emu/cp1emu.c if (func != -1) { func 238 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 259 arch/mips/math-emu/cp1emu.c mips32_insn.r_format.func = movc_op; func 267 arch/mips/math-emu/cp1emu.c func = fcvtd_op; func 270 arch/mips/math-emu/cp1emu.c func = fcvts_op; func 280 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 290 arch/mips/math-emu/cp1emu.c func = fmov_op; func 293 arch/mips/math-emu/cp1emu.c func = fabs_op; func 295 arch/mips/math-emu/cp1emu.c func = fneg_op; func 304 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 317 arch/mips/math-emu/cp1emu.c func = ffloorl_op; func 319 arch/mips/math-emu/cp1emu.c func = ffloor_op; func 321 arch/mips/math-emu/cp1emu.c func = fceill_op; func 323 arch/mips/math-emu/cp1emu.c func = fceil_op; func 325 arch/mips/math-emu/cp1emu.c func = ftruncl_op; func 327 arch/mips/math-emu/cp1emu.c func = ftrunc_op; func 329 arch/mips/math-emu/cp1emu.c func = froundl_op; func 331 arch/mips/math-emu/cp1emu.c func = fround_op; func 333 arch/mips/math-emu/cp1emu.c func = fcvtl_op; func 335 arch/mips/math-emu/cp1emu.c func = fcvtw_op; func 344 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 350 arch/mips/math-emu/cp1emu.c func = frsqrt_op; func 352 arch/mips/math-emu/cp1emu.c func = fsqrt_op; func 354 arch/mips/math-emu/cp1emu.c func = frecip_op; func 363 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func; func 390 arch/mips/math-emu/cp1emu.c mips32_insn.fp1_format.func = 0; func 403 arch/mips/math-emu/cp1emu.c mips32_insn.fp0_format.func = func 435 arch/mips/math-emu/cp1emu.c switch (insn.r_format.func) { func 445 arch/mips/math-emu/cp1emu.c if (NO_R6EMU && insn.r_format.func == jr_op) func 97 arch/mips/mm/c-r4k.c void (*func)(void *info), void *info) func 102 arch/mips/mm/c-r4k.c func, info, 1); func 103 arch/mips/mm/c-r4k.c func(info); func 70 arch/mips/net/bpf_jit.h #define DECLARE_LOAD_FUNC(func) \ func 71 arch/mips/net/bpf_jit.h extern u8 func(unsigned long *skb, int offset); \ func 72 arch/mips/net/bpf_jit.h extern u8 func##_negative(unsigned long *skb, int offset); \ func 73 arch/mips/net/bpf_jit.h extern u8 func##_positive(unsigned long *skb, int offset) func 138 arch/mips/net/ebpf_jit.c #define emit_instr(ctx, func, ...) \ func 139 arch/mips/net/ebpf_jit.c emit_instr_long(ctx, func, func, ##__VA_ARGS__) func 56 arch/mips/oprofile/backtrace.c if (ip->r_format.func == jr_op && ip->r_format.rs == 31) func 67 arch/mips/pci/ops-bcm63xx.c unsigned int slot, func, reg; func 71 arch/mips/pci/ops-bcm63xx.c func = PCI_FUNC(devfn); func 78 arch/mips/pci/ops-bcm63xx.c if (func > (MPI_L2PCFG_FUNC_MASK >> MPI_L2PCFG_FUNC_SHIFT)) func 86 arch/mips/pci/ops-bcm63xx.c val |= (func << MPI_L2PCFG_FUNC_SHIFT); func 41 arch/mips/pci/ops-rc32434.c #define PCI_CFG_SET(bus, slot, func, off) \ func 44 arch/mips/pci/ops-rc32434.c ((func)<<8) | (off))) func 51 arch/mips/pci/ops-rc32434.c u8 func = PCI_FUNC(devfn); func 54 arch/mips/pci/ops-rc32434.c PCI_CFG_SET(bus->number, slot, func, where); func 214 arch/mips/pci/pci-ar2315.c int func = PCI_FUNC(devfn); func 216 arch/mips/pci/pci-ar2315.c u32 addr = (1 << (13 + dev)) | (func << 8) | (where & ~3); func 140 arch/mips/pci/pci-mt7620.c u8 func = PCI_FUNC(devfn); func 149 arch/mips/pci/pci-mt7620.c (func << 8) | (where & 0xfc) | 0x80000000; func 172 arch/mips/pci/pci-mt7620.c u8 func = PCI_FUNC(devfn); func 181 arch/mips/pci/pci-mt7620.c (func << 8) | (where & 0xfc) | 0x80000000; func 55 arch/mips/pci/pci-octeon.c uint64_t func:3; func 270 arch/mips/pci/pci-octeon.c pci_addr.s.func = devfn & 0x7; func 304 arch/mips/pci/pci-octeon.c pci_addr.s.func = devfn & 0x7; func 57 arch/mips/pci/pci-rt2880.c unsigned int func, unsigned int where) func 59 arch/mips/pci/pci-rt2880.c return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | func 93 arch/mips/pci/pci-rt3883.c unsigned int func, unsigned int where) func 95 arch/mips/pci/pci-rt3883.c return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | func 101 arch/mips/pci/pci-rt3883.c unsigned func, unsigned reg) func 107 arch/mips/pci/pci-rt3883.c address = rt3883_pci_get_cfgaddr(bus, slot, func, reg); func 117 arch/mips/pci/pci-rt3883.c unsigned func, unsigned reg, u32 val) func 122 arch/mips/pci/pci-rt3883.c address = rt3883_pci_get_cfgaddr(bus, slot, func, reg); func 66 arch/mips/pci/pcie-octeon.c uint64_t func:3; func 249 arch/mips/pci/pcie-octeon.c pcie_addr.config.func = fn; func 78 arch/mips/pic32/pic32mzda/config.c void pic32_syskey_unlock_debug(const char *func, const ulong line) func 82 arch/mips/pic32/pic32mzda/config.c pr_debug("%s: called from %s:%lu\n", __func__, func, line); func 172 arch/nds32/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 178 arch/nds32/kernel/ftrace.c if (func != ftrace_stub) func 179 arch/nds32/kernel/ftrace.c ftrace_gen_call_insn(new_insn, (unsigned long)func); func 72 arch/nds32/math-emu/fpuemu.c union func_t func; func 79 arch/nds32/math-emu/fpuemu.c func.t = fadds; func 83 arch/nds32/math-emu/fpuemu.c func.t = fsubs; func 87 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fmadds; func 91 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fmsubs; func 95 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fnmadds; func 99 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fnmsubs; func 103 arch/nds32/math-emu/fpuemu.c func.t = fmuls; func 107 arch/nds32/math-emu/fpuemu.c func.t = fdivs; func 113 arch/nds32/math-emu/fpuemu.c func.b = fs2d; func 117 arch/nds32/math-emu/fpuemu.c func.b = fs2si; func 121 arch/nds32/math-emu/fpuemu.c func.b = fs2si_z; func 125 arch/nds32/math-emu/fpuemu.c func.b = fs2ui; func 129 arch/nds32/math-emu/fpuemu.c func.b = fs2ui_z; func 133 arch/nds32/math-emu/fpuemu.c func.b = fsi2s; func 137 arch/nds32/math-emu/fpuemu.c func.b = fui2s; func 141 arch/nds32/math-emu/fpuemu.c func.b = fsqrts; func 172 arch/nds32/math-emu/fpuemu.c func.t = faddd; func 176 arch/nds32/math-emu/fpuemu.c func.t = fsubd; func 180 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fmaddd; func 184 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fmsubd; func 188 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fnmaddd; func 192 arch/nds32/math-emu/fpuemu.c func.t = fpemu_fnmsubd; func 196 arch/nds32/math-emu/fpuemu.c func.t = fmuld; func 200 arch/nds32/math-emu/fpuemu.c func.t = fdivd; func 206 arch/nds32/math-emu/fpuemu.c func.b = fd2s; func 210 arch/nds32/math-emu/fpuemu.c func.b = fd2si; func 214 arch/nds32/math-emu/fpuemu.c func.b = fd2si_z; func 218 arch/nds32/math-emu/fpuemu.c func.b = fd2ui; func 222 arch/nds32/math-emu/fpuemu.c func.b = fd2ui_z; func 226 arch/nds32/math-emu/fpuemu.c func.b = fsi2d; func 230 arch/nds32/math-emu/fpuemu.c func.b = fui2d; func 234 arch/nds32/math-emu/fpuemu.c func.b = fsqrtd; func 275 arch/nds32/math-emu/fpuemu.c func.b(ft, fa); func 284 arch/nds32/math-emu/fpuemu.c func.t(ft, fa, fb); func 292 arch/nds32/math-emu/fpuemu.c func.b(ft, fa); func 314 arch/nds32/math-emu/fpuemu.c func.b(ft, fa); func 323 arch/nds32/math-emu/fpuemu.c func.t(ft, fa, fb); func 331 arch/nds32/math-emu/fpuemu.c func.b(ft, fa); func 243 arch/openrisc/kernel/setup.c char *text, void (*func) (void)) func 249 arch/openrisc/kernel/setup.c if (func != NULL) func 250 arch/openrisc/kernel/setup.c func(); func 90 arch/parisc/include/asm/pdc.h int pdc_sti_call(unsigned long func, unsigned long flags, func 1294 arch/parisc/kernel/firmware.c int pdc_sti_call(unsigned long func, unsigned long flags, func 1302 arch/parisc/kernel/firmware.c retval = real32_call(func, flags, inptr, outputr, glob_cfg); func 101 arch/parisc/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 483 arch/parisc/kernel/inventory.c unsigned int func; func 494 arch/parisc/kernel/inventory.c for (func = 0; func < 16; func++) { func 496 arch/parisc/kernel/inventory.c module_path.path.mod = func; func 466 arch/parisc/kernel/irq.c void call_on_stack(unsigned long p1, void *func, unsigned long new_stack); func 468 arch/parisc/kernel/irq.c static void execute_on_irq_stack(void *func, unsigned long param1) func 485 arch/parisc/kernel/irq.c void (*direct_call)(unsigned long p1) = func; func 494 arch/parisc/kernel/irq.c call_on_stack(param1, func, irq_stack); func 79 arch/powerpc/include/asm/code-patching.h static inline unsigned long ppc_function_entry(void *func) func 82 arch/powerpc/include/asm/code-patching.h u32 *insn = func; func 105 arch/powerpc/include/asm/code-patching.h return (unsigned long)func; func 112 arch/powerpc/include/asm/code-patching.h return ((func_descr_t *)func)->entry; func 114 arch/powerpc/include/asm/code-patching.h return (unsigned long)func; func 118 arch/powerpc/include/asm/code-patching.h static inline unsigned long ppc_global_function_entry(void *func) func 122 arch/powerpc/include/asm/code-patching.h return (unsigned long)func; func 125 arch/powerpc/include/asm/code-patching.h return ppc_function_entry(func); func 93 arch/powerpc/include/asm/drmem.h void (*func)(struct drmem_lmb *, const __be32 **)); func 98 arch/powerpc/include/asm/drmem.h void (*func)(struct drmem_lmb *, const __be32 **)); func 225 arch/powerpc/include/asm/eeh.h int (*err_inject)(struct eeh_pe *pe, int type, int func, func 319 arch/powerpc/include/asm/eeh.h int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func, func 22 arch/powerpc/include/asm/irqflags.h #define TRACE_WITH_FRAME_BUFFER(func) \ func 27 arch/powerpc/include/asm/irqflags.h bl func; \ func 31 arch/powerpc/include/asm/irqflags.h #define TRACE_WITH_FRAME_BUFFER(func) \ func 32 arch/powerpc/include/asm/irqflags.h bl func; func 94 arch/powerpc/include/asm/opal.h uint32_t func, uint64_t addr, uint64_t mask); func 52 arch/powerpc/include/asm/pmac_pfunc.h #define PMF_STD_ARGS struct pmf_function *func, void *instdata, \ func 58 arch/powerpc/include/asm/pmac_pfunc.h void * (*begin)(struct pmf_function *func, struct pmf_args *args); func 59 arch/powerpc/include/asm/pmac_pfunc.h void (*end)(struct pmf_function *func, void *instdata); func 61 arch/powerpc/include/asm/pmac_pfunc.h int (*irq_enable)(struct pmf_function *func); func 62 arch/powerpc/include/asm/pmac_pfunc.h int (*irq_disable)(struct pmf_function *func); func 171 arch/powerpc/include/asm/pmac_pfunc.h struct pmf_function *func; func 197 arch/powerpc/include/asm/pmac_pfunc.h extern void pmf_do_irq(struct pmf_function *func); func 243 arch/powerpc/include/asm/pmac_pfunc.h extern struct pmf_function * pmf_get_function(struct pmf_function *func); func 244 arch/powerpc/include/asm/pmac_pfunc.h extern void pmf_put_function(struct pmf_function *func); func 246 arch/powerpc/include/asm/pmac_pfunc.h extern int pmf_call_one(struct pmf_function *func, struct pmf_args *args); func 1746 arch/powerpc/kernel/eeh.c int eeh_pe_inject_err(struct eeh_pe *pe, int type, int func, func 1762 arch/powerpc/kernel/eeh.c if (func < EEH_ERR_FUNC_MIN || func > EEH_ERR_FUNC_MAX) func 1765 arch/powerpc/kernel/eeh.c return eeh_ops->err_inject(pe, type, func, addr, mask); func 41 arch/powerpc/kernel/mce.c .func = machine_check_process_queued_event, func 45 arch/powerpc/kernel/mce.c .func = machine_check_ue_irq_work, func 45 arch/powerpc/kernel/module_64.c static unsigned long stub_func_addr(func_desc_t func) func 47 arch/powerpc/kernel/module_64.c return func; func 76 arch/powerpc/kernel/module_64.c static unsigned long stub_func_addr(func_desc_t func) func 78 arch/powerpc/kernel/module_64.c return func.funcaddr; func 834 arch/powerpc/kernel/trace/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 841 arch/powerpc/kernel/trace/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func, 1); func 849 arch/powerpc/kernel/trace/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func, 1); func 493 arch/powerpc/kvm/book3s_paired_singles.c void (*func)(u64 *fpscr, func 513 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2, &ps0_in3); func 530 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in1, &ps1_in2, &ps1_in3); func 541 arch/powerpc/kvm/book3s_paired_singles.c void (*func)(u64 *fpscr, func 562 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in1, &ps0_in2); func 578 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &ps1_out, &ps1_in1, &ps1_in2); func 592 arch/powerpc/kvm/book3s_paired_singles.c void (*func)(u64 *t, func 604 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &ps0_out, &ps0_in); func 613 arch/powerpc/kvm/book3s_paired_singles.c func(&vcpu->arch.fp.fpscr, &qpr[reg_out], &ps1_in); func 233 arch/powerpc/math-emu/math.c int (*func)(void *, void *, void *, void *); func 241 arch/powerpc/math-emu/math.c case LFS: func = lfs; type = D; break; func 242 arch/powerpc/math-emu/math.c case LFSU: func = lfs; type = DU; break; func 243 arch/powerpc/math-emu/math.c case LFD: func = lfd; type = D; break; func 244 arch/powerpc/math-emu/math.c case LFDU: func = lfd; type = DU; break; func 245 arch/powerpc/math-emu/math.c case STFS: func = stfs; type = D; break; func 246 arch/powerpc/math-emu/math.c case STFSU: func = stfs; type = DU; break; func 247 arch/powerpc/math-emu/math.c case STFD: func = stfd; type = D; break; func 248 arch/powerpc/math-emu/math.c case STFDU: func = stfd; type = DU; break; func 252 arch/powerpc/math-emu/math.c case LFSX: func = lfs; type = XE; break; func 253 arch/powerpc/math-emu/math.c case LFSUX: func = lfs; type = XEU; break; func 254 arch/powerpc/math-emu/math.c case LFDX: func = lfd; type = XE; break; func 255 arch/powerpc/math-emu/math.c case LFDUX: func = lfd; type = XEU; break; func 256 arch/powerpc/math-emu/math.c case STFSX: func = stfs; type = XE; break; func 257 arch/powerpc/math-emu/math.c case STFSUX: func = stfs; type = XEU; break; func 258 arch/powerpc/math-emu/math.c case STFDX: func = stfd; type = XE; break; func 259 arch/powerpc/math-emu/math.c case STFDUX: func = stfd; type = XEU; break; func 260 arch/powerpc/math-emu/math.c case STFIWX: func = stfiwx; type = XE; break; func 268 arch/powerpc/math-emu/math.c case FDIVS: func = fdivs; type = AB; break; func 269 arch/powerpc/math-emu/math.c case FSUBS: func = fsubs; type = AB; break; func 270 arch/powerpc/math-emu/math.c case FADDS: func = fadds; type = AB; break; func 271 arch/powerpc/math-emu/math.c case FSQRTS: func = fsqrts; type = XB; break; func 272 arch/powerpc/math-emu/math.c case FRES: func = fres; type = XB; break; func 273 arch/powerpc/math-emu/math.c case FMULS: func = fmuls; type = AC; break; func 274 arch/powerpc/math-emu/math.c case FRSQRTES: func = frsqrtes;type = XB; break; func 275 arch/powerpc/math-emu/math.c case FMSUBS: func = fmsubs; type = ABC; break; func 276 arch/powerpc/math-emu/math.c case FMADDS: func = fmadds; type = ABC; break; func 277 arch/powerpc/math-emu/math.c case FNMSUBS: func = fnmsubs; type = ABC; break; func 278 arch/powerpc/math-emu/math.c case FNMADDS: func = fnmadds; type = ABC; break; func 287 arch/powerpc/math-emu/math.c case FDIV: func = fdiv; type = AB; break; func 288 arch/powerpc/math-emu/math.c case FSUB: func = fsub; type = AB; break; func 289 arch/powerpc/math-emu/math.c case FADD: func = fadd; type = AB; break; func 290 arch/powerpc/math-emu/math.c case FSQRT: func = fsqrt; type = XB; break; func 291 arch/powerpc/math-emu/math.c case FRE: func = fre; type = XB; break; func 292 arch/powerpc/math-emu/math.c case FSEL: func = fsel; type = ABC; break; func 293 arch/powerpc/math-emu/math.c case FMUL: func = fmul; type = AC; break; func 294 arch/powerpc/math-emu/math.c case FRSQRTE: func = frsqrte; type = XB; break; func 295 arch/powerpc/math-emu/math.c case FMSUB: func = fmsub; type = ABC; break; func 296 arch/powerpc/math-emu/math.c case FMADD: func = fmadd; type = ABC; break; func 297 arch/powerpc/math-emu/math.c case FNMSUB: func = fnmsub; type = ABC; break; func 298 arch/powerpc/math-emu/math.c case FNMADD: func = fnmadd; type = ABC; break; func 306 arch/powerpc/math-emu/math.c case FCMPU: func = fcmpu; type = XCR; break; func 307 arch/powerpc/math-emu/math.c case FRSP: func = frsp; type = XB; break; func 308 arch/powerpc/math-emu/math.c case FCTIW: func = fctiw; type = XB; break; func 309 arch/powerpc/math-emu/math.c case FCTIWZ: func = fctiwz; type = XB; break; func 310 arch/powerpc/math-emu/math.c case FCMPO: func = fcmpo; type = XCR; break; func 311 arch/powerpc/math-emu/math.c case MTFSB1: func = mtfsb1; type = XCRB; break; func 312 arch/powerpc/math-emu/math.c case FNEG: func = fneg; type = XB; break; func 313 arch/powerpc/math-emu/math.c case MCRFS: func = mcrfs; type = XCRL; break; func 314 arch/powerpc/math-emu/math.c case MTFSB0: func = mtfsb0; type = XCRB; break; func 315 arch/powerpc/math-emu/math.c case FMR: func = fmr; type = XB; break; func 316 arch/powerpc/math-emu/math.c case MTFSFI: func = mtfsfi; type = XCRI; break; func 317 arch/powerpc/math-emu/math.c case FNABS: func = fnabs; type = XB; break; func 318 arch/powerpc/math-emu/math.c case FABS: func = fabs; type = XB; break; func 319 arch/powerpc/math-emu/math.c case MFFS: func = mffs; type = X; break; func 320 arch/powerpc/math-emu/math.c case MTFSF: func = mtfsf; type = XFLB; break; func 435 arch/powerpc/math-emu/math.c eflag = func(op0, op1, op2, op3); func 181 arch/powerpc/math-emu/math_efp.c unsigned long type, func, fc, fa, fb, src, speinsn; func 193 arch/powerpc/math-emu/math_efp.c func = speinsn & 0x7ff; func 232 arch/powerpc/math-emu/math_efp.c switch (func) { func 279 arch/powerpc/math-emu/math_efp.c SB_e += (func == EFSCTSF ? 31 : 32); func 281 arch/powerpc/math-emu/math_efp.c (func == EFSCTSF)); func 304 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 315 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 362 arch/powerpc/math-emu/math_efp.c switch (func) { func 409 arch/powerpc/math-emu/math_efp.c DB_e += (func == EFDCTSF ? 31 : 32); func 411 arch/powerpc/math-emu/math_efp.c (func == EFDCTSF)); func 434 arch/powerpc/math-emu/math_efp.c ((func & 0x1) == 0)); func 445 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 456 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 514 arch/powerpc/math-emu/math_efp.c switch (func) { func 568 arch/powerpc/math-emu/math_efp.c SB0_e += (func == EVFSCTSF ? 31 : 32); func 570 arch/powerpc/math-emu/math_efp.c (func == EVFSCTSF)); func 576 arch/powerpc/math-emu/math_efp.c SB1_e += (func == EVFSCTSF ? 31 : 32); func 578 arch/powerpc/math-emu/math_efp.c (func == EVFSCTSF)); func 589 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 596 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 607 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 614 arch/powerpc/math-emu/math_efp.c ((func & 0x3) != 0)); func 728 arch/powerpc/math-emu/math_efp.c unsigned long speinsn, type, fb, fc, fptype, func; func 735 arch/powerpc/math-emu/math_efp.c func = speinsn & 0x7ff; func 736 arch/powerpc/math-emu/math_efp.c type = insn_type(func); func 757 arch/powerpc/math-emu/math_efp.c switch (func) { func 209 arch/powerpc/mm/drmem.c void (*func)(struct drmem_lmb *, const __be32 **)) func 220 arch/powerpc/mm/drmem.c func(&lmb, &usm); func 239 arch/powerpc/mm/drmem.c void (*func)(struct drmem_lmb *, const __be32 **)) func 262 arch/powerpc/mm/drmem.c func(&lmb, &usm); func 269 arch/powerpc/mm/drmem.c void (*func)(struct drmem_lmb *, const __be32 **)) func 284 arch/powerpc/mm/drmem.c __walk_drmem_v1_lmbs(prop, usm, func); func 289 arch/powerpc/mm/drmem.c __walk_drmem_v2_lmbs(prop, usm, func); func 333 arch/powerpc/mm/drmem.c void (*func)(struct drmem_lmb *, const __be32 **)) func 344 arch/powerpc/mm/drmem.c __walk_drmem_v1_lmbs(prop, usm, func); func 348 arch/powerpc/mm/drmem.c __walk_drmem_v2_lmbs(prop, usm, func); func 67 arch/powerpc/net/bpf_jit32.h #define DECLARE_LOAD_FUNC(func) \ func 68 arch/powerpc/net/bpf_jit32.h extern u8 func[], func##_negative_offset[], func##_positive_offset[] func 106 arch/powerpc/net/bpf_jit_comp.c #define CHOOSE_LOAD_FUNC(K, func) \ func 107 arch/powerpc/net/bpf_jit_comp.c ((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset) func 116 arch/powerpc/net/bpf_jit_comp.c u8 *func; func 406 arch/powerpc/net/bpf_jit_comp.c func = CHOOSE_LOAD_FUNC(K, sk_load_word); func 409 arch/powerpc/net/bpf_jit_comp.c func = CHOOSE_LOAD_FUNC(K, sk_load_half); func 412 arch/powerpc/net/bpf_jit_comp.c func = CHOOSE_LOAD_FUNC(K, sk_load_byte); func 416 arch/powerpc/net/bpf_jit_comp.c PPC_FUNC_ADDR(r_scratch1, func); func 429 arch/powerpc/net/bpf_jit_comp.c func = sk_load_word; func 432 arch/powerpc/net/bpf_jit_comp.c func = sk_load_half; func 435 arch/powerpc/net/bpf_jit_comp.c func = sk_load_byte; func 442 arch/powerpc/net/bpf_jit_comp.c PPC_FUNC_ADDR(r_scratch1, func); func 453 arch/powerpc/net/bpf_jit_comp.c func = CHOOSE_LOAD_FUNC(K, sk_load_byte_msh); func 166 arch/powerpc/net/bpf_jit_comp64.c u64 func) func 170 arch/powerpc/net/bpf_jit_comp64.c PPC_LI64(b2p[TMP_REG_2], func); func 184 arch/powerpc/net/bpf_jit_comp64.c PPC_FUNC_ADDR(12, func); func 191 arch/powerpc/net/bpf_jit_comp64.c u64 func) func 196 arch/powerpc/net/bpf_jit_comp64.c PPC_LI64(12, func); func 102 arch/powerpc/platforms/44x/warp.c void (*func)(void *arg); func 107 arch/powerpc/platforms/44x/warp.c int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) func 115 arch/powerpc/platforms/44x/warp.c shutdown->func = func; func 123 arch/powerpc/platforms/44x/warp.c int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) func 128 arch/powerpc/platforms/44x/warp.c if (shutdown->func == func && shutdown->arg == arg) { func 148 arch/powerpc/platforms/44x/warp.c shutdown->func(shutdown->arg); func 299 arch/powerpc/platforms/44x/warp.c int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) func 304 arch/powerpc/platforms/44x/warp.c int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) func 2372 arch/powerpc/platforms/powermac/feature.c feature_call func = NULL; func 2378 arch/powerpc/platforms/powermac/feature.c func = pmac_mb.features[i].function; func 2381 arch/powerpc/platforms/powermac/feature.c if (!func) func 2384 arch/powerpc/platforms/powermac/feature.c func = any_features[i].function; func 2387 arch/powerpc/platforms/powermac/feature.c if (!func) func 2396 arch/powerpc/platforms/powermac/feature.c return func(node, param, value); func 1230 arch/powerpc/platforms/powermac/low_i2c.c static void* pmac_i2c_do_begin(struct pmf_function *func, struct pmf_args *args) func 1235 arch/powerpc/platforms/powermac/low_i2c.c bus = pmac_i2c_find_bus(func->node); func 1238 arch/powerpc/platforms/powermac/low_i2c.c func->node); func 1243 arch/powerpc/platforms/powermac/low_i2c.c func->node); func 1258 arch/powerpc/platforms/powermac/low_i2c.c inst->addr = pmac_i2c_get_dev_addr(func->node); func 1259 arch/powerpc/platforms/powermac/low_i2c.c inst->quirks = (int)(long)func->driver_data; func 1263 arch/powerpc/platforms/powermac/low_i2c.c static void pmac_i2c_do_end(struct pmf_function *func, void *instdata) func 27 arch/powerpc/platforms/powermac/pfunc_base.c static int macio_do_gpio_irq_enable(struct pmf_function *func) func 29 arch/powerpc/platforms/powermac/pfunc_base.c unsigned int irq = irq_of_parse_and_map(func->node, 0); func 32 arch/powerpc/platforms/powermac/pfunc_base.c return request_irq(irq, macio_gpio_irq, 0, func->node->name, func); func 35 arch/powerpc/platforms/powermac/pfunc_base.c static int macio_do_gpio_irq_disable(struct pmf_function *func) func 37 arch/powerpc/platforms/powermac/pfunc_base.c unsigned int irq = irq_of_parse_and_map(func->node, 0); func 40 arch/powerpc/platforms/powermac/pfunc_base.c free_irq(irq, func); func 46 arch/powerpc/platforms/powermac/pfunc_base.c u8 __iomem *addr = (u8 __iomem *)func->driver_data; func 59 arch/powerpc/platforms/powermac/pfunc_base.c tmp, func->node, addr); func 68 arch/powerpc/platforms/powermac/pfunc_base.c u8 __iomem *addr = (u8 __iomem *)func->driver_data; func 146 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 157 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 169 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 180 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 193 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 206 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 219 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 239 arch/powerpc/platforms/powermac/pfunc_base.c struct macio_chip *macio = func->driver_data; func 73 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func; func 131 arch/powerpc/platforms/powermac/pfunc_core.c return handlers->name(cmd->func, cmd->instdata, \ func 579 arch/powerpc/platforms/powermac/pfunc_core.c static int pmf_parse_one(struct pmf_function *func, func 587 arch/powerpc/platforms/powermac/pfunc_core.c cmd.cmdptr = func->data; func 588 arch/powerpc/platforms/powermac/pfunc_core.c cmd.cmdend = func->data + func->length; func 589 arch/powerpc/platforms/powermac/pfunc_core.c cmd.func = func; func 595 arch/powerpc/platforms/powermac/pfunc_core.c func->name, func->length, func 631 arch/powerpc/platforms/powermac/pfunc_core.c func->length = cmd.cmdptr - func->data; func 641 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func = NULL; func 647 arch/powerpc/platforms/powermac/pfunc_core.c func = kzalloc(sizeof(*func), GFP_KERNEL); func 648 arch/powerpc/platforms/powermac/pfunc_core.c if (func == NULL) func 650 arch/powerpc/platforms/powermac/pfunc_core.c kref_init(&func->ref); func 651 arch/powerpc/platforms/powermac/pfunc_core.c INIT_LIST_HEAD(&func->irq_clients); func 652 arch/powerpc/platforms/powermac/pfunc_core.c func->node = dev->node; func 653 arch/powerpc/platforms/powermac/pfunc_core.c func->driver_data = driverdata; func 654 arch/powerpc/platforms/powermac/pfunc_core.c func->name = name; func 655 arch/powerpc/platforms/powermac/pfunc_core.c func->phandle = data[0]; func 656 arch/powerpc/platforms/powermac/pfunc_core.c func->flags = data[1]; func 659 arch/powerpc/platforms/powermac/pfunc_core.c func->data = data; func 660 arch/powerpc/platforms/powermac/pfunc_core.c func->length = length; func 661 arch/powerpc/platforms/powermac/pfunc_core.c func->dev = dev; func 664 arch/powerpc/platforms/powermac/pfunc_core.c count+1, func->flags, func->phandle, length); func 665 arch/powerpc/platforms/powermac/pfunc_core.c if (pmf_parse_one(func, NULL, NULL, NULL)) { func 666 arch/powerpc/platforms/powermac/pfunc_core.c kfree(func); func 669 arch/powerpc/platforms/powermac/pfunc_core.c length -= func->length; func 670 arch/powerpc/platforms/powermac/pfunc_core.c data = (u32 *)(((u8 *)data) + func->length); func 671 arch/powerpc/platforms/powermac/pfunc_core.c list_add(&func->link, &dev->functions); func 749 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *pmf_get_function(struct pmf_function *func) func 751 arch/powerpc/platforms/powermac/pfunc_core.c if (!try_module_get(func->dev->handlers->owner)) func 753 arch/powerpc/platforms/powermac/pfunc_core.c kref_get(&func->ref); func 754 arch/powerpc/platforms/powermac/pfunc_core.c return func; func 760 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func = func 762 arch/powerpc/platforms/powermac/pfunc_core.c pmf_put_device(func->dev); func 763 arch/powerpc/platforms/powermac/pfunc_core.c kfree(func); func 766 arch/powerpc/platforms/powermac/pfunc_core.c static inline void __pmf_put_function(struct pmf_function *func) func 768 arch/powerpc/platforms/powermac/pfunc_core.c kref_put(&func->ref, pmf_release_function); func 771 arch/powerpc/platforms/powermac/pfunc_core.c void pmf_put_function(struct pmf_function *func) func 773 arch/powerpc/platforms/powermac/pfunc_core.c if (func == NULL) func 775 arch/powerpc/platforms/powermac/pfunc_core.c module_put(func->dev->handlers->owner); func 776 arch/powerpc/platforms/powermac/pfunc_core.c __pmf_put_function(func); func 797 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func = func 798 arch/powerpc/platforms/powermac/pfunc_core.c list_entry(dev->functions.next, typeof(*func), link); func 799 arch/powerpc/platforms/powermac/pfunc_core.c list_del(&func->link); func 800 arch/powerpc/platforms/powermac/pfunc_core.c __pmf_put_function(func); func 813 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func, *result = NULL; func 845 arch/powerpc/platforms/powermac/pfunc_core.c list_for_each_entry(func, &dev->functions, link) { func 846 arch/powerpc/platforms/powermac/pfunc_core.c if (name && strcmp(name, func->name)) func 848 arch/powerpc/platforms/powermac/pfunc_core.c if (func->phandle && target->phandle != func->phandle) func 850 arch/powerpc/platforms/powermac/pfunc_core.c if ((func->flags & flags) == 0) func 852 arch/powerpc/platforms/powermac/pfunc_core.c result = func; func 866 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func; func 870 arch/powerpc/platforms/powermac/pfunc_core.c func = __pmf_find_function(target, name, PMF_FLAGS_INT_GEN); func 871 arch/powerpc/platforms/powermac/pfunc_core.c if (func) func 872 arch/powerpc/platforms/powermac/pfunc_core.c func = pmf_get_function(func); func 874 arch/powerpc/platforms/powermac/pfunc_core.c if (func == NULL) func 879 arch/powerpc/platforms/powermac/pfunc_core.c if (list_empty(&func->irq_clients)) func 880 arch/powerpc/platforms/powermac/pfunc_core.c func->dev->handlers->irq_enable(func); func 884 arch/powerpc/platforms/powermac/pfunc_core.c list_add(&client->link, &func->irq_clients); func 887 arch/powerpc/platforms/powermac/pfunc_core.c client->func = func; func 896 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func = client->func; func 899 arch/powerpc/platforms/powermac/pfunc_core.c BUG_ON(func == NULL); func 903 arch/powerpc/platforms/powermac/pfunc_core.c client->func = NULL; func 910 arch/powerpc/platforms/powermac/pfunc_core.c if (list_empty(&func->irq_clients)) func 911 arch/powerpc/platforms/powermac/pfunc_core.c func->dev->handlers->irq_disable(func); func 913 arch/powerpc/platforms/powermac/pfunc_core.c pmf_put_function(func); func 918 arch/powerpc/platforms/powermac/pfunc_core.c void pmf_do_irq(struct pmf_function *func) func 927 arch/powerpc/platforms/powermac/pfunc_core.c list_for_each_entry(client, &func->irq_clients, link) { func 938 arch/powerpc/platforms/powermac/pfunc_core.c int pmf_call_one(struct pmf_function *func, struct pmf_args *args) func 940 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_device *dev = func->dev; func 944 arch/powerpc/platforms/powermac/pfunc_core.c DBG(" ** pmf_call_one(%pOF/%s) **\n", dev->node, func->name); func 947 arch/powerpc/platforms/powermac/pfunc_core.c instdata = dev->handlers->begin(func, args); func 948 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_parse_one(func, dev->handlers, instdata, args); func 950 arch/powerpc/platforms/powermac/pfunc_core.c dev->handlers->end(func, instdata); func 960 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func, *tmp; func 971 arch/powerpc/platforms/powermac/pfunc_core.c list_for_each_entry_safe(func, tmp, &dev->functions, link) { func 972 arch/powerpc/platforms/powermac/pfunc_core.c if (name && strcmp(name, func->name)) func 974 arch/powerpc/platforms/powermac/pfunc_core.c if (phandle && func->phandle && phandle != func->phandle) func 976 arch/powerpc/platforms/powermac/pfunc_core.c if ((func->flags & fflags) == 0) func 978 arch/powerpc/platforms/powermac/pfunc_core.c if (pmf_get_function(func) == NULL) func 981 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_call_one(func, args); func 982 arch/powerpc/platforms/powermac/pfunc_core.c pmf_put_function(func); func 996 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func; func 1000 arch/powerpc/platforms/powermac/pfunc_core.c func = __pmf_find_function(target, name, PMF_FLAGS_ON_DEMAND); func 1001 arch/powerpc/platforms/powermac/pfunc_core.c if (func) func 1002 arch/powerpc/platforms/powermac/pfunc_core.c func = pmf_get_function(func); func 1004 arch/powerpc/platforms/powermac/pfunc_core.c return func; func 1011 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func = pmf_find_function(target, name); func 1014 arch/powerpc/platforms/powermac/pfunc_core.c if (func == NULL) func 1017 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_call_one(func, args); func 1018 arch/powerpc/platforms/powermac/pfunc_core.c pmf_put_function(func); func 125 arch/powerpc/platforms/powernv/eeh-powernv.c int pe_no, type, func; func 140 arch/powerpc/platforms/powernv/eeh-powernv.c &pe_no, &type, &func, &addr, &mask); func 150 arch/powerpc/platforms/powernv/eeh-powernv.c ret = eeh_ops->err_inject(pe, type, func, addr, mask); func 1210 arch/powerpc/platforms/powernv/eeh-powernv.c static int pnv_eeh_err_inject(struct eeh_pe *pe, int type, int func, func 1224 arch/powerpc/platforms/powernv/eeh-powernv.c if (func < OPAL_ERR_INJECT_FUNC_IOA_LD_MEM_ADDR || func 1225 arch/powerpc/platforms/powernv/eeh-powernv.c func > OPAL_ERR_INJECT_FUNC_IOA_DMA_WR_TARGET) { func 1227 arch/powerpc/platforms/powernv/eeh-powernv.c __func__, func); func 1240 arch/powerpc/platforms/powernv/eeh-powernv.c type, func, addr, mask); func 1244 arch/powerpc/platforms/powernv/eeh-powernv.c __func__, rc, type, func, func 618 arch/powerpc/platforms/ps3/interrupt.c const char* func, int line) func 621 arch/powerpc/platforms/ps3/interrupt.c func, line, header, cpu, func 627 arch/powerpc/platforms/ps3/interrupt.c const u64 *p, unsigned cpu, const char* func, int line) func 630 arch/powerpc/platforms/ps3/interrupt.c func, line, header, cpu, p[0], p[1], p[2], p[3]); func 634 arch/powerpc/platforms/ps3/interrupt.c static void _dump_bmp(struct ps3_private* pd, const char* func, int line) func 639 arch/powerpc/platforms/ps3/interrupt.c _dump_64_bmp("stat", &pd->bmp.status, pd->thread_id, func, line); func 640 arch/powerpc/platforms/ps3/interrupt.c _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); func 646 arch/powerpc/platforms/ps3/interrupt.c const char* func, int line) func 651 arch/powerpc/platforms/ps3/interrupt.c _dump_64_bmp("mask", (u64*)&pd->bmp.mask, pd->thread_id, func, line); func 107 arch/powerpc/platforms/ps3/mm.c const char *func, int line) func 109 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.total = %llxh\n", func, line, m->total); func 110 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); func 111 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); func 112 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); func 113 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); func 114 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); func 115 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); func 345 arch/powerpc/platforms/ps3/mm.c const char *func, int line) func 347 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id, func 349 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: page_size %u\n", func, line, r->page_size); func 350 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: bus_addr %lxh\n", func, line, r->bus_addr); func 351 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: len %lxh\n", func, line, r->len); func 352 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: offset %lxh\n", func, line, r->offset); func 379 arch/powerpc/platforms/ps3/mm.c static void _dma_dump_chunk (const struct dma_chunk* c, const char* func, func 382 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.dev %llu:%llu\n", func, line, func 384 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr); func 385 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size); func 386 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.len %lxh\n", func, line, c->region->len); func 387 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset); func 388 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: c.lpar_addr %lxh\n", func, line, c->lpar_addr); func 389 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: c.bus_addr %lxh\n", func, line, c->bus_addr); func 390 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: c.len %lxh\n", func, line, c->len); func 306 arch/powerpc/platforms/ps3/os-area.c static void _dump_header(const struct os_area_header *h, const char *func, func 312 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.magic_num: '%s'\n", func, line, func 314 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.hdr_version: %u\n", func, line, func 316 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.db_area_offset: %u\n", func, line, func 318 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.ldr_area_offset: %u\n", func, line, func 320 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.ldr_format: %u\n", func, line, func 322 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: h.ldr_size: %xh\n", func, line, func 327 arch/powerpc/platforms/ps3/os-area.c static void _dump_params(const struct os_area_params *p, const char *func, func 330 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.boot_flag: %u\n", func, line, p->boot_flag); func 331 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.num_params: %u\n", func, line, p->num_params); func 332 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.rtc_diff %lld\n", func, line, p->rtc_diff); func 333 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.av_multi_out %u\n", func, line, p->av_multi_out); func 334 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.ctrl_button: %u\n", func, line, p->ctrl_button); func 335 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.static_ip_addr: %u.%u.%u.%u\n", func, line, func 338 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.network_mask: %u.%u.%u.%u\n", func, line, func 341 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.default_gateway: %u.%u.%u.%u\n", func, line, func 344 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.dns_primary: %u.%u.%u.%u\n", func, line, func 347 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: p.dns_secondary: %u.%u.%u.%u\n", func, line, func 526 arch/powerpc/platforms/ps3/os-area.c static void _dump_db(const struct os_area_db *db, const char *func, func 532 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.magic_num: '%s'\n", func, line, func 534 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.version: %u\n", func, line, func 536 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.index_64: %u\n", func, line, func 538 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.count_64: %u\n", func, line, func 540 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.index_32: %u\n", func, line, func 542 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.count_32: %u\n", func, line, func 544 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.index_16: %u\n", func, line, func 546 arch/powerpc/platforms/ps3/os-area.c pr_debug("%s:%d: db.count_16: %u\n", func, line, func 24 arch/powerpc/platforms/ps3/repository.c static void _dump_field(const char *hdr, u64 n, const char *func, int line) func 35 arch/powerpc/platforms/ps3/repository.c pr_devel("%s:%d: %s%016llx : %s\n", func, line, hdr, n, s); func 42 arch/powerpc/platforms/ps3/repository.c u64 n4, const char *func, int line) func 44 arch/powerpc/platforms/ps3/repository.c pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id); func 45 arch/powerpc/platforms/ps3/repository.c _dump_field("n1: ", n1, func, line); func 46 arch/powerpc/platforms/ps3/repository.c _dump_field("n2: ", n2, func, line); func 47 arch/powerpc/platforms/ps3/repository.c _dump_field("n3: ", n3, func, line); func 48 arch/powerpc/platforms/ps3/repository.c _dump_field("n4: ", n4, func, line); func 54 arch/powerpc/platforms/ps3/repository.c u64 v1, u64 v2, const char *func, int line) func 56 arch/powerpc/platforms/ps3/repository.c pr_devel("%s:%d: lpar: %u\n", func, line, lpar_id); func 57 arch/powerpc/platforms/ps3/repository.c _dump_field("n1: ", n1, func, line); func 58 arch/powerpc/platforms/ps3/repository.c _dump_field("n2: ", n2, func, line); func 59 arch/powerpc/platforms/ps3/repository.c _dump_field("n3: ", n3, func, line); func 60 arch/powerpc/platforms/ps3/repository.c _dump_field("n4: ", n4, func, line); func 61 arch/powerpc/platforms/ps3/repository.c pr_devel("%s:%d: v1: %016llx\n", func, line, v1); func 62 arch/powerpc/platforms/ps3/repository.c pr_devel("%s:%d: v2: %016llx\n", func, line, v2); func 125 arch/powerpc/platforms/ps3/spu.c const char* func, int line) func 127 arch/powerpc/platforms/ps3/spu.c pr_debug("%s:%d: spe_id: %xh (%u)\n", func, line, spe_id, spe_id); func 128 arch/powerpc/platforms/ps3/spu.c pr_debug("%s:%d: priv2: %lxh\n", func, line, priv2); func 129 arch/powerpc/platforms/ps3/spu.c pr_debug("%s:%d: problem: %lxh\n", func, line, problem); func 130 arch/powerpc/platforms/ps3/spu.c pr_debug("%s:%d: ls: %lxh\n", func, line, ls); func 131 arch/powerpc/platforms/ps3/spu.c pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow); func 231 arch/powerpc/platforms/ps3/system-bus.c const char* func, int line) func 233 arch/powerpc/platforms/ps3/system-bus.c pr_debug("%s:%d: dev %llu:%llu\n", func, line, r->dev->bus_id, func 235 arch/powerpc/platforms/ps3/system-bus.c pr_debug("%s:%d: bus_addr %lxh\n", func, line, r->bus_addr); func 236 arch/powerpc/platforms/ps3/system-bus.c pr_debug("%s:%d: len %lxh\n", func, line, r->len); func 237 arch/powerpc/platforms/ps3/system-bus.c pr_debug("%s:%d: lpar_addr %lxh\n", func, line, r->lpar_addr); func 29 arch/powerpc/platforms/pseries/msi.c static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) func 40 arch/powerpc/platforms/pseries/msi.c if (func == RTAS_CHANGE_MSI_FN || func == RTAS_CHANGE_MSIX_FN || func 41 arch/powerpc/platforms/pseries/msi.c func == RTAS_CHANGE_32MSI_FN) func 44 arch/powerpc/platforms/pseries/msi.c func, num_irqs, seq_num); func 48 arch/powerpc/platforms/pseries/msi.c func, num_irqs, seq_num); func 63 arch/powerpc/platforms/pseries/msi.c func, num_irqs, rtas_ret[0], rc); func 28 arch/powerpc/platforms/pseries/ras.c .func = mce_process_errlog_event, func 3252 arch/powerpc/xmon/xmon.c callfunc_t func; func 3265 arch/powerpc/xmon/xmon.c func = (callfunc_t) adrs; func 3270 arch/powerpc/xmon/xmon.c ret = func(args[0], args[1], args[2], args[3], func 91 arch/riscv/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 94 arch/riscv/kernel/ftrace.c (unsigned long)func, true); func 97 arch/riscv/kernel/ftrace.c (unsigned long)func, true); func 189 arch/s390/crypto/crc32-vx.c #define CRC32_VX_FINUP(alg, func) \ func 201 arch/s390/crypto/crc32-vx.c #define CRC32_VX_DIGEST(alg, func) \ func 213 arch/s390/crypto/crc32-vx.c #define CRC32_VX_UPDATE(alg, func) \ func 218 arch/s390/crypto/crc32-vx.c ctx->crc = func(ctx->crc, data, datalen); \ func 26 arch/s390/crypto/sha.h int func; /* KIMD function to use */ func 40 arch/s390/crypto/sha1_s390.c sctx->func = CPACF_KIMD_SHA_1; func 64 arch/s390/crypto/sha1_s390.c sctx->func = CPACF_KIMD_SHA_1; func 33 arch/s390/crypto/sha256_s390.c sctx->func = CPACF_KIMD_SHA_256; func 57 arch/s390/crypto/sha256_s390.c sctx->func = CPACF_KIMD_SHA_256; func 92 arch/s390/crypto/sha256_s390.c sctx->func = CPACF_KIMD_SHA_256; func 27 arch/s390/crypto/sha3_256_s390.c sctx->func = CPACF_KIMD_SHA3_256; func 52 arch/s390/crypto/sha3_256_s390.c sctx->func = CPACF_KIMD_SHA3_256; func 65 arch/s390/crypto/sha3_256_s390.c sctx->func = CPACF_KIMD_SHA3_224; func 94 arch/s390/crypto/sha3_256_s390.c sctx->func = CPACF_KIMD_SHA3_224; func 26 arch/s390/crypto/sha3_512_s390.c sctx->func = CPACF_KIMD_SHA3_512; func 56 arch/s390/crypto/sha3_512_s390.c sctx->func = CPACF_KIMD_SHA3_512; func 72 arch/s390/crypto/sha3_512_s390.c sctx->func = CPACF_KIMD_SHA3_384; func 103 arch/s390/crypto/sha3_512_s390.c sctx->func = CPACF_KIMD_SHA3_384; func 34 arch/s390/crypto/sha512_s390.c ctx->func = CPACF_KIMD_SHA_512; func 62 arch/s390/crypto/sha512_s390.c sctx->func = CPACF_KIMD_SHA_512; func 99 arch/s390/crypto/sha512_s390.c ctx->func = CPACF_KIMD_SHA_512; func 32 arch/s390/crypto/sha_common.c cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize); func 41 arch/s390/crypto/sha_common.c cpacf_kimd(ctx->func, ctx->state, data, n); func 53 arch/s390/crypto/sha_common.c static int s390_crypto_shash_parmsize(int func) func 55 arch/s390/crypto/sha_common.c switch (func) { func 82 arch/s390/crypto/sha_common.c mbl_offset = s390_crypto_shash_parmsize(ctx->func); func 89 arch/s390/crypto/sha_common.c switch (ctx->func) { func 112 arch/s390/crypto/sha_common.c cpacf_klmd(ctx->func, ctx->state, ctx->buf, n); func 224 arch/s390/include/asm/cpacf.h static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func) func 226 arch/s390/include/asm/cpacf.h return (mask->bytes[func >> 3] & (0x80 >> (func & 7))) != 0; func 229 arch/s390/include/asm/cpacf.h static __always_inline int cpacf_query_func(unsigned int opcode, unsigned int func) func 234 arch/s390/include/asm/cpacf.h return cpacf_test_func(&mask, func); func 249 arch/s390/include/asm/cpacf.h static inline int cpacf_km(unsigned long func, void *param, func 252 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 279 arch/s390/include/asm/cpacf.h static inline int cpacf_kmc(unsigned long func, void *param, func 282 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 306 arch/s390/include/asm/cpacf.h static inline void cpacf_kimd(unsigned long func, void *param, func 309 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 329 arch/s390/include/asm/cpacf.h static inline void cpacf_klmd(unsigned long func, void *param, func 332 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 355 arch/s390/include/asm/cpacf.h static inline int cpacf_kmac(unsigned long func, void *param, func 358 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 385 arch/s390/include/asm/cpacf.h static inline int cpacf_kmctr(unsigned long func, void *param, u8 *dest, func 388 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 416 arch/s390/include/asm/cpacf.h static inline void cpacf_prno(unsigned long func, void *param, func 420 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 467 arch/s390/include/asm/cpacf.h static inline void cpacf_pcc(unsigned long func, void *param) func 469 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 488 arch/s390/include/asm/cpacf.h static inline void cpacf_pckmo(long func, void *param) func 490 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 511 arch/s390/include/asm/cpacf.h static inline void cpacf_kma(unsigned long func, void *param, u8 *dest, func 515 arch/s390/include/asm/cpacf.h register unsigned long r0 asm("0") = (unsigned long) func; func 26 arch/s390/include/asm/smp.h extern void smp_call_online_cpu(void (*func)(void *), void *); func 27 arch/s390/include/asm/smp.h extern void smp_call_ipl_cpu(void (*func)(void *), void *); func 112 arch/s390/include/asm/timex.h #define ptff(ptff_block, len, func) \ func 115 arch/s390/include/asm/timex.h register unsigned int reg0 asm("0") = func; \ func 167 arch/s390/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 299 arch/s390/kernel/smp.c static void pcpu_start_fn(struct pcpu *pcpu, void (*func)(void *), void *data) func 304 arch/s390/kernel/smp.c lc->restart_fn = (unsigned long) func; func 313 arch/s390/kernel/smp.c static void __pcpu_delegate(void (*func)(void*), void *data) func 315 arch/s390/kernel/smp.c func(data); /* should not return */ func 319 arch/s390/kernel/smp.c void (*func)(void *), func 327 arch/s390/kernel/smp.c CALL_ON_STACK(__pcpu_delegate, stack, 2, func, data); func 332 arch/s390/kernel/smp.c mem_assign_absolute(lc->restart_fn, (unsigned long) func); func 370 arch/s390/kernel/smp.c void smp_call_online_cpu(void (*func)(void *), void *data) func 379 arch/s390/kernel/smp.c pcpu_delegate(pcpu, func, data, (unsigned long) restart_stack); func 385 arch/s390/kernel/smp.c void smp_call_ipl_cpu(void (*func)(void *), void *data) func 392 arch/s390/kernel/smp.c pcpu_delegate(&pcpu_devices[0], func, data, func 133 arch/s390/mm/extmem.c dcss_diag(int *func, void *parameter, func 140 arch/s390/mm/extmem.c ry = (unsigned long) *func; func 1016 arch/s390/net/bpf_jit_comp.c u64 func; func 1021 arch/s390/net/bpf_jit_comp.c &func, &func_addr_fixed); func 1029 arch/s390/net/bpf_jit_comp.c EMIT_CONST_U64(func)); func 181 arch/s390/pci/pci_irq.c cpu_data->csd.func = zpci_handle_remote_irq; func 23 arch/sh/drivers/pci/ops-sh7786.c int dev, func, type, reg; func 26 arch/sh/drivers/pci/ops-sh7786.c func = PCI_FUNC(devfn); func 30 arch/sh/drivers/pci/ops-sh7786.c if (bus->number > 255 || dev > 31 || func > 7) func 65 arch/sh/drivers/pci/ops-sh7786.c (func << 16) | reg, SH4A_PCIEPAR); func 222 arch/sh/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 228 arch/sh/kernel/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func); func 25 arch/sh/kernel/sh_bios.c static inline long sh_bios_call(long func, long arg0, long arg1, long arg2, func 28 arch/sh/kernel/sh_bios.c register long r0 __asm__("r0") = func; func 39 arch/sh/mm/cache.c static inline void cacheop_on_each_cpu(void (*func) (void *info), void *info, func 52 arch/sh/mm/cache.c smp_call_function(func, info, wait); func 55 arch/sh/mm/cache.c func(info); func 44 arch/sparc/include/asm/irq_64.h void (*func)(unsigned int, void *, void *), func 7 arch/sparc/include/asm/memctrl.h int register_dimm_printer(dimm_printer_t func); func 8 arch/sparc/include/asm/memctrl.h void unregister_dimm_printer(dimm_printer_t func); func 60 arch/sparc/include/asm/smp_32.h void (*cross_call)(smpfunc_t func, cpumask_t mask, unsigned long arg1, func 69 arch/sparc/include/asm/smp_32.h static inline void xc0(smpfunc_t func) func 71 arch/sparc/include/asm/smp_32.h sparc32_ipi_ops->cross_call(func, *cpu_online_mask, 0, 0, 0, 0); func 74 arch/sparc/include/asm/smp_32.h static inline void xc1(smpfunc_t func, unsigned long arg1) func 76 arch/sparc/include/asm/smp_32.h sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, 0, 0, 0); func 78 arch/sparc/include/asm/smp_32.h static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) func 80 arch/sparc/include/asm/smp_32.h sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); func 83 arch/sparc/include/asm/smp_32.h static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, func 86 arch/sparc/include/asm/smp_32.h sparc32_ipi_ops->cross_call(func, *cpu_online_mask, func 90 arch/sparc/include/asm/smp_32.h static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, func 93 arch/sparc/include/asm/smp_32.h sparc32_ipi_ops->cross_call(func, *cpu_online_mask, func 76 arch/sparc/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 82 arch/sparc/kernel/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func); func 293 arch/sparc/kernel/irq_64.c void (*func)(unsigned int, void *, void *), func 364 arch/sparc/kernel/leon_smp.c smpfunc_t func; func 377 arch/sparc/kernel/leon_smp.c static void leon_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, func 389 arch/sparc/kernel/leon_smp.c register smpfunc_t f asm("i0") = func; func 401 arch/sparc/kernel/leon_smp.c "r"(&ccall_info.func)); func 452 arch/sparc/kernel/leon_smp.c ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, func 423 arch/sparc/kernel/mdesc.c void (*func)(struct mdesc_handle *, u64, func 477 arch/sparc/kernel/mdesc.c func(a, a_node, name); func 862 arch/sparc/kernel/mdesc.c void (*func)(struct mdesc_handle *, u64, int), func 876 arch/sparc/kernel/mdesc.c (*func)(hp, n, val); func 878 arch/sparc/kernel/mdesc.c find_back_node_value(hp, n, srch_val, func, val, depth-1); func 1106 arch/sparc/kernel/mdesc.c static void *mdesc_iterate_over_cpus(void *(*func)(struct mdesc_handle *, u64, int, void *), void *arg, cpumask_t *mask) func 1127 arch/sparc/kernel/mdesc.c ret = func(hp, mp, cpuid, arg); func 264 arch/sparc/kernel/pci_common.c unsigned int func = PCI_FUNC(devfn); func 271 arch/sparc/kernel/pci_common.c HV_PCI_DEVICE_BUILD(bus, device, func), func 297 arch/sparc/kernel/pci_common.c unsigned int func = PCI_FUNC(devfn); func 307 arch/sparc/kernel/pci_common.c HV_PCI_DEVICE_BUILD(bus, device, func), func 434 arch/sparc/kernel/prom_64.c static void *of_iterate_over_cpus(void *(*func)(struct device_node *, int, int), int arg) func 462 arch/sparc/kernel/prom_64.c ret = func(dp, cpuid, arg); func 838 arch/sparc/kernel/smp_64.c static void smp_cross_call_masked(unsigned long *func, u32 ctx, u64 data1, u64 data2, const cpumask_t *mask) func 840 arch/sparc/kernel/smp_64.c u64 data0 = (((u64)ctx)<<32 | (((u64)func) & 0xffffffff)); func 846 arch/sparc/kernel/smp_64.c static void smp_cross_call(unsigned long *func, u32 ctx, u64 data1, u64 data2) func 848 arch/sparc/kernel/smp_64.c smp_cross_call_masked(func, ctx, data1, data2, cpu_online_mask); func 271 arch/sparc/kernel/sun4d_smp.c smpfunc_t func; func 284 arch/sparc/kernel/sun4d_smp.c static void sun4d_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, func 299 arch/sparc/kernel/sun4d_smp.c register smpfunc_t f asm("i0") = func; func 311 arch/sparc/kernel/sun4d_smp.c "r" (&ccall_info.func)); func 359 arch/sparc/kernel/sun4d_smp.c ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, func 160 arch/sparc/kernel/sun4m_smp.c smpfunc_t func; func 173 arch/sparc/kernel/sun4m_smp.c static void sun4m_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, func 183 arch/sparc/kernel/sun4m_smp.c ccall_info.func = func; func 236 arch/sparc/kernel/sun4m_smp.c ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, func 160 arch/sparc/kernel/traps_64.c int register_dimm_printer(dimm_printer_t func) func 167 arch/sparc/kernel/traps_64.c dimm_handler = func; func 176 arch/sparc/kernel/traps_64.c void unregister_dimm_printer(dimm_printer_t func) func 181 arch/sparc/kernel/traps_64.c if (dimm_handler == func) func 329 arch/sparc/net/bpf_jit_comp_32.c u32 temp[8], *prog, *func, seen = 0, pass; func 593 arch/sparc/net/bpf_jit_comp_32.c #define CHOOSE_LOAD_FUNC(K, func) \ func 594 arch/sparc/net/bpf_jit_comp_32.c ((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset) func 597 arch/sparc/net/bpf_jit_comp_32.c func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_word); func 600 arch/sparc/net/bpf_jit_comp_32.c emit_call(func); func 603 arch/sparc/net/bpf_jit_comp_32.c func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_half); func 606 arch/sparc/net/bpf_jit_comp_32.c func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_byte); func 609 arch/sparc/net/bpf_jit_comp_32.c func = CHOOSE_LOAD_FUNC(K, bpf_jit_load_byte_msh); func 612 arch/sparc/net/bpf_jit_comp_32.c func = bpf_jit_load_word; func 624 arch/sparc/net/bpf_jit_comp_32.c emit_call(func); func 627 arch/sparc/net/bpf_jit_comp_32.c func = bpf_jit_load_half; func 630 arch/sparc/net/bpf_jit_comp_32.c func = bpf_jit_load_byte; func 244 arch/sparc/net/bpf_jit_comp_64.c static void emit_call(u32 *func, struct jit_ctx *ctx) func 250 arch/sparc/net/bpf_jit_comp_64.c off = (void *)func - here; func 1216 arch/sparc/net/bpf_jit_comp_64.c u8 *func = ((u8 *)__bpf_call_base) + imm; func 1220 arch/sparc/net/bpf_jit_comp_64.c emit_call((u32 *)func, ctx); func 1816 arch/x86/events/core.c quirk->func(); func 24 arch/x86/events/intel/uncore.h #define UNCORE_PCI_DEV_FULL_DATA(dev, func, type, idx) \ func 25 arch/x86/events/intel/uncore.h ((dev << 24) | (func << 16) | (type << 8) | idx) func 530 arch/x86/events/perf_event.h void (*func)(void); func 724 arch/x86/events/perf_event.h .func = func_, \ func 28 arch/x86/include/asm/amd_nb.h extern int amd_df_indirect_read(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo); func 27 arch/x86/include/asm/apm.h static inline void apm_bios_call_asm(u32 func, u32 ebx_in, u32 ecx_in, func 45 arch/x86/include/asm/apm.h : "a" (func), "b" (ebx_in), "c" (ecx_in) func 49 arch/x86/include/asm/apm.h static inline bool apm_bios_call_simple_asm(u32 func, u32 ebx_in, func 69 arch/x86/include/asm/apm.h : "a" (func), "b" (ebx_in), "c" (ecx_in) func 28 arch/x86/include/asm/atomic64_32.h : out : [func] "i" (atomic64_##g##_cx8), ## in) func 84 arch/x86/include/asm/desc.h static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, func 87 arch/x86/include/asm/desc.h gate->offset_low = (u16) func; func 92 arch/x86/include/asm/desc.h gate->offset_middle = (u16) (func >> 16); func 97 arch/x86/include/asm/desc.h gate->offset_high = (u32) (func >> 32); func 1114 arch/x86/include/asm/kvm_host.h void (*set_supported_cpuid)(u32 func, struct kvm_cpuid_entry2 *entry); func 1291 arch/x86/include/asm/kvm_host.h void (*func)(struct kvm_irq_mask_notifier *kimn, bool masked); func 723 arch/x86/include/asm/paravirt.h #define PV_THUNK_NAME(func) "__raw_callee_save_" #func func 724 arch/x86/include/asm/paravirt.h #define PV_CALLEE_SAVE_REGS_THUNK(func) \ func 725 arch/x86/include/asm/paravirt.h extern typeof(func) __raw_callee_save_##func; \ func 728 arch/x86/include/asm/paravirt.h ".globl " PV_THUNK_NAME(func) ";" \ func 729 arch/x86/include/asm/paravirt.h ".type " PV_THUNK_NAME(func) ", @function;" \ func 730 arch/x86/include/asm/paravirt.h PV_THUNK_NAME(func) ":" \ func 733 arch/x86/include/asm/paravirt.h "call " #func ";" \ func 737 arch/x86/include/asm/paravirt.h ".size " PV_THUNK_NAME(func) ", .-" PV_THUNK_NAME(func) ";" \ func 741 arch/x86/include/asm/paravirt.h #define PV_CALLEE_SAVE(func) \ func 742 arch/x86/include/asm/paravirt.h ((struct paravirt_callee_save) { __raw_callee_save_##func }) func 745 arch/x86/include/asm/paravirt.h #define __PV_IS_CALLEE_SAVE(func) \ func 746 arch/x86/include/asm/paravirt.h ((struct paravirt_callee_save) { func }) func 65 arch/x86/include/asm/paravirt_types.h void *func; func 550 arch/x86/include/asm/paravirt_types.h ____PVOP_CALL(rettype, op.func, CLBR_RET_REG, \ func 575 arch/x86/include/asm/paravirt_types.h ____PVOP_VCALL(op.func, CLBR_RET_REG, \ func 10 arch/x86/include/asm/pci-direct.h extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset); func 11 arch/x86/include/asm/pci-direct.h extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset); func 12 arch/x86/include/asm/pci-direct.h extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset); func 13 arch/x86/include/asm/pci-direct.h extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val); func 14 arch/x86/include/asm/pci-direct.h extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val); func 15 arch/x86/include/asm/pci-direct.h extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val); func 81 arch/x86/include/asm/text-patching.h static inline void int3_emulate_call(struct pt_regs *regs, unsigned long func) func 84 arch/x86/include/asm/text-patching.h int3_emulate_jmp(regs, func); func 181 arch/x86/kernel/amd_nb.c int amd_df_indirect_read(u16 node, u8 func, u16 reg, u8 instance_id, u32 *lo) func 196 arch/x86/kernel/amd_nb.c ficaa |= (func & 0x7) << 11; func 130 arch/x86/kernel/aperture_64.c static u32 __init find_cap(int bus, int slot, int func, int cap) func 135 arch/x86/kernel/aperture_64.c if (!(read_pci_config_16(bus, slot, func, PCI_STATUS) & func 139 arch/x86/kernel/aperture_64.c pos = read_pci_config_byte(bus, slot, func, PCI_CAPABILITY_LIST); func 144 arch/x86/kernel/aperture_64.c id = read_pci_config_byte(bus, slot, func, pos+PCI_CAP_LIST_ID); func 149 arch/x86/kernel/aperture_64.c pos = read_pci_config_byte(bus, slot, func, func 156 arch/x86/kernel/aperture_64.c static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) func 165 arch/x86/kernel/aperture_64.c pr_info("pci 0000:%02x:%02x:%02x: AGP bridge\n", bus, slot, func); func 166 arch/x86/kernel/aperture_64.c apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14); func 169 arch/x86/kernel/aperture_64.c bus, slot, func); func 185 arch/x86/kernel/aperture_64.c aper_low = read_pci_config(bus, slot, func, 0x10); func 186 arch/x86/kernel/aperture_64.c aper_hi = read_pci_config(bus, slot, func, 0x14); func 194 arch/x86/kernel/aperture_64.c bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1, func 198 arch/x86/kernel/aperture_64.c bus, slot, func, 32 << *order, apsizereg); func 203 arch/x86/kernel/aperture_64.c bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1, func 226 arch/x86/kernel/aperture_64.c int bus, slot, func; func 231 arch/x86/kernel/aperture_64.c for (func = 0; func < 8; func++) { func 234 arch/x86/kernel/aperture_64.c class = read_pci_config(bus, slot, func, func 243 arch/x86/kernel/aperture_64.c cap = find_cap(bus, slot, func, func 248 arch/x86/kernel/aperture_64.c return read_agp(bus, slot, func, cap, func 253 arch/x86/kernel/aperture_64.c type = read_pci_config_byte(bus, slot, func, func 547 arch/x86/kernel/apic/apic.c #define DEADLINE_MODEL_MATCH_FUNC(model, func) \ func 548 arch/x86/kernel/apic/apic.c { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&func } func 566 arch/x86/kernel/apm_32.c u32 func; func 611 arch/x86/kernel/apm_32.c apm_bios_call_asm(call->func, call->ebx, call->ecx, func 689 arch/x86/kernel/apm_32.c error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx, func 713 arch/x86/kernel/apm_32.c static int apm_bios_call_simple(u32 func, u32 ebx_in, u32 ecx_in, u32 *eax, func 719 arch/x86/kernel/apm_32.c call.func = func; func 776 arch/x86/kernel/apm_32.c call.func = APM_FUNC_GET_EVENT; func 1036 arch/x86/kernel/apm_32.c call.func = APM_FUNC_GET_STATUS; func 1453 arch/x86/kernel/apm_32.c static int check_apm_user(struct apm_user *as, const char *func) func 1456 arch/x86/kernel/apm_32.c pr_err("%s passed bad filp\n", func); func 552 arch/x86/kernel/cpu/resctrl/rdtgroup.c callback->work.func = move_myself; func 78 arch/x86/kernel/cpuid.c .func = cpuid_smp_cpuid, func 31 arch/x86/kernel/early-quirks.c static void __init fix_hypertransport_config(int num, int slot, int func) func 40 arch/x86/kernel/early-quirks.c htcfg = read_pci_config(num, slot, func, 0x68); func 50 arch/x86/kernel/early-quirks.c write_pci_config(num, slot, func, 0x68, htcfg); func 57 arch/x86/kernel/early-quirks.c static void __init via_bugs(int num, int slot, int func) func 80 arch/x86/kernel/early-quirks.c static void __init nvidia_bugs(int num, int slot, int func) func 116 arch/x86/kernel/early-quirks.c static u32 __init ati_ixp4x0_rev(int num, int slot, int func) func 121 arch/x86/kernel/early-quirks.c b = read_pci_config_byte(num, slot, func, 0xac); func 123 arch/x86/kernel/early-quirks.c write_pci_config_byte(num, slot, func, 0xac, b); func 125 arch/x86/kernel/early-quirks.c d = read_pci_config(num, slot, func, 0x70); func 127 arch/x86/kernel/early-quirks.c write_pci_config(num, slot, func, 0x70, d); func 129 arch/x86/kernel/early-quirks.c d = read_pci_config(num, slot, func, 0x8); func 134 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func) func 142 arch/x86/kernel/early-quirks.c d = ati_ixp4x0_rev(num, slot, func); func 160 arch/x86/kernel/early-quirks.c static u32 __init ati_sbx00_rev(int num, int slot, int func) func 164 arch/x86/kernel/early-quirks.c d = read_pci_config(num, slot, func, 0x8); func 170 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func) func 174 arch/x86/kernel/early-quirks.c rev = ati_sbx00_rev(num, slot, func); func 190 arch/x86/kernel/early-quirks.c d = read_pci_config(num, slot, func, 0x64); func 202 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func) func 206 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func) func 211 arch/x86/kernel/early-quirks.c static void __init intel_remapping_check(int num, int slot, int func) func 216 arch/x86/kernel/early-quirks.c device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); func 217 arch/x86/kernel/early-quirks.c revision = read_pci_config_byte(num, slot, func, PCI_REVISION_ID); func 298 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_base(int num, int slot, int func, func 304 arch/x86/kernel/early-quirks.c static resource_size_t __init i845_stolen_base(int num, int slot, int func, func 310 arch/x86/kernel/early-quirks.c static resource_size_t __init i85x_stolen_base(int num, int slot, int func, func 316 arch/x86/kernel/early-quirks.c static resource_size_t __init i865_stolen_base(int num, int slot, int func, func 326 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_base(int num, int slot, int func, func 336 arch/x86/kernel/early-quirks.c bsm = read_pci_config(num, slot, func, INTEL_BSM); func 341 arch/x86/kernel/early-quirks.c static resource_size_t __init gen11_stolen_base(int num, int slot, int func, func 346 arch/x86/kernel/early-quirks.c bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0); func 348 arch/x86/kernel/early-quirks.c bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32; func 353 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_size(int num, int slot, int func) func 374 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_size(int num, int slot, int func) func 403 arch/x86/kernel/early-quirks.c static resource_size_t __init gen6_stolen_size(int num, int slot, int func) func 408 arch/x86/kernel/early-quirks.c gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL); func 414 arch/x86/kernel/early-quirks.c static resource_size_t __init gen8_stolen_size(int num, int slot, int func) func 419 arch/x86/kernel/early-quirks.c gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL); func 425 arch/x86/kernel/early-quirks.c static resource_size_t __init chv_stolen_size(int num, int slot, int func) func 430 arch/x86/kernel/early-quirks.c gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL); func 446 arch/x86/kernel/early-quirks.c static resource_size_t __init gen9_stolen_size(int num, int slot, int func) func 451 arch/x86/kernel/early-quirks.c gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL); func 463 arch/x86/kernel/early-quirks.c resource_size_t (*stolen_size)(int num, int slot, int func); func 464 arch/x86/kernel/early-quirks.c resource_size_t (*stolen_base)(int num, int slot, int func, func 559 arch/x86/kernel/early-quirks.c intel_graphics_stolen(int num, int slot, int func, func 565 arch/x86/kernel/early-quirks.c size = early_ops->stolen_size(num, slot, func); func 566 arch/x86/kernel/early-quirks.c base = early_ops->stolen_base(num, slot, func, size); func 584 arch/x86/kernel/early-quirks.c static void __init intel_graphics_quirks(int num, int slot, int func) func 590 arch/x86/kernel/early-quirks.c device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); func 600 arch/x86/kernel/early-quirks.c intel_graphics_stolen(num, slot, func, early_ops); func 606 arch/x86/kernel/early-quirks.c static void __init force_disable_hpet(int num, int slot, int func) func 619 arch/x86/kernel/early-quirks.c static void __init apple_airport_reset(int bus, int slot, int func) func 630 arch/x86/kernel/early-quirks.c pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL); func 634 arch/x86/kernel/early-quirks.c write_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL, pmcsr); func 637 arch/x86/kernel/early-quirks.c pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL); func 640 arch/x86/kernel/early-quirks.c bus, slot, func); func 645 arch/x86/kernel/early-quirks.c addr = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); func 646 arch/x86/kernel/early-quirks.c addr |= (u64)read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_1) << 32; func 652 arch/x86/kernel/early-quirks.c bus, slot, func); func 681 arch/x86/kernel/early-quirks.c void (*f)(int num, int slot, int func); func 737 arch/x86/kernel/early-quirks.c static int __init check_dev_quirk(int num, int slot, int func) func 746 arch/x86/kernel/early-quirks.c class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE); func 751 arch/x86/kernel/early-quirks.c vendor = read_pci_config_16(num, slot, func, PCI_VENDOR_ID); func 753 arch/x86/kernel/early-quirks.c device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); func 764 arch/x86/kernel/early-quirks.c early_qrk[i].f(num, slot, func); func 769 arch/x86/kernel/early-quirks.c type = read_pci_config_byte(num, slot, func, func 773 arch/x86/kernel/early-quirks.c sec = read_pci_config_byte(num, slot, func, PCI_SECONDARY_BUS); func 786 arch/x86/kernel/early-quirks.c int slot, func; func 790 arch/x86/kernel/early-quirks.c for (func = 0; func < 8; func++) { func 792 arch/x86/kernel/early-quirks.c if (check_dev_quirk(bus, slot, func)) func 224 arch/x86/kernel/early_printk.c u8 bus, slot, func; func 255 arch/x86/kernel/early_printk.c func = (u8)simple_strtoul(s, &e, 16); func 265 arch/x86/kernel/early_printk.c cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); func 266 arch/x86/kernel/early_printk.c classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); func 267 arch/x86/kernel/early_printk.c bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); func 287 arch/x86/kernel/early_printk.c write_pci_config(bus, slot, func, PCI_COMMAND, func 296 arch/x86/kernel/early_printk.c write_pci_config(bus, slot, func, PCI_COMMAND, func 268 arch/x86/kernel/ftrace.c int ftrace_update_ftrace_func(ftrace_func_t func) func 274 arch/x86/kernel/ftrace.c ftrace_update_func_call = (unsigned long)func; func 276 arch/x86/kernel/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func); func 282 arch/x86/kernel/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func); func 861 arch/x86/kernel/ftrace.c ftrace_func_t func; func 888 arch/x86/kernel/ftrace.c func = ftrace_ops_get_func(ops); func 890 arch/x86/kernel/ftrace.c ftrace_update_func_call = (unsigned long)func; func 893 arch/x86/kernel/ftrace.c new = ftrace_call_replace(ip, (unsigned long)func); func 989 arch/x86/kernel/ftrace.c static int ftrace_mod_jmp(unsigned long ip, void *func) func 994 arch/x86/kernel/ftrace.c new = ftrace_jmp_replace(ip, (unsigned long)func); func 57 arch/x86/kernel/irq_32.c static void call_on_stack(void *func, void *stack) func 64 arch/x86/kernel/irq_32.c [thunk_target] "D"(func) func 553 arch/x86/kernel/ldt.c SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr , func 558 arch/x86/kernel/ldt.c switch (func) { func 20 arch/x86/kernel/paravirt-spinlocks.c return pv_ops.lock.queued_spin_unlock.func == func 32 arch/x86/kernel/paravirt-spinlocks.c return pv_ops.lock.vcpu_is_preempted.func == func 321 arch/x86/kvm/cpuid.c u32 func, int *nent, int maxnent) func 323 arch/x86/kvm/cpuid.c entry->function = func; func 327 arch/x86/kvm/cpuid.c switch (func) { func 814 arch/x86/kvm/cpuid.c static int do_cpuid_func(struct kvm_cpuid_entry2 *entry, u32 func, func 821 arch/x86/kvm/cpuid.c return __do_cpuid_func_emulated(entry, func, nent, maxnent); func 823 arch/x86/kvm/cpuid.c return __do_cpuid_func(entry, func, nent, maxnent); func 829 arch/x86/kvm/cpuid.c u32 func; func 871 arch/x86/kvm/cpuid.c u32 func; func 873 arch/x86/kvm/cpuid.c { .func = 0 }, func 874 arch/x86/kvm/cpuid.c { .func = 0x80000000 }, func 875 arch/x86/kvm/cpuid.c { .func = 0xC0000000, .qualifier = is_centaur_cpu }, func 876 arch/x86/kvm/cpuid.c { .func = KVM_CPUID_SIGNATURE }, func 900 arch/x86/kvm/cpuid.c r = do_cpuid_func(&cpuid_entries[nent], ent->func, func 907 arch/x86/kvm/cpuid.c for (func = ent->func + 1; func <= limit && nent < cpuid->nent && r == 0; ++func) func 908 arch/x86/kvm/cpuid.c r = do_cpuid_func(&cpuid_entries[nent], func, func 684 arch/x86/kvm/i8254.c pit->mask_notifier.func = pit_mask_notifer; func 262 arch/x86/kvm/irq_comm.c kimn->func(kimn, mask); func 5958 arch/x86/kvm/svm.c static void svm_set_supported_cpuid(u32 func, struct kvm_cpuid_entry2 *entry) func 5960 arch/x86/kvm/svm.c switch (func) { func 7089 arch/x86/kvm/vmx/vmx.c static void vmx_set_supported_cpuid(u32 func, struct kvm_cpuid_entry2 *entry) func 7091 arch/x86/kvm/vmx/vmx.c if (func == 1 && nested) func 173 arch/x86/lib/msr-smp.c .func = __rdmsr_safe_on_cpu, func 416 arch/x86/net/bpf_jit_comp.c u8 *func; func 841 arch/x86/net/bpf_jit_comp.c func = (u8 *) __bpf_call_base + imm32; func 842 arch/x86/net/bpf_jit_comp.c jmp_offset = func - (image + addrs[i]); func 845 arch/x86/net/bpf_jit_comp.c imm32, func, image); func 1487 arch/x86/net/bpf_jit_comp32.c u8 *func; func 1891 arch/x86/net/bpf_jit_comp32.c func = (u8 *) __bpf_call_base + imm32; func 1892 arch/x86/net/bpf_jit_comp32.c jmp_offset = func - (image + addrs[i]); func 1896 arch/x86/net/bpf_jit_comp32.c imm32, func, image); func 18 arch/x86/pci/broadcom_bus.c static void __init cnb20le_res(u8 bus, u8 slot, u8 func) func 27 arch/x86/pci/broadcom_bus.c fbus = read_pci_config_byte(bus, slot, func, 0x44); func 28 arch/x86/pci/broadcom_bus.c lbus = read_pci_config_byte(bus, slot, func, 0x45); func 46 arch/x86/pci/broadcom_bus.c word1 = read_pci_config_16(bus, slot, func, 0xc0); func 47 arch/x86/pci/broadcom_bus.c word2 = read_pci_config_16(bus, slot, func, 0xc2); func 56 arch/x86/pci/broadcom_bus.c word1 = read_pci_config_16(bus, slot, func, 0xc4); func 57 arch/x86/pci/broadcom_bus.c word2 = read_pci_config_16(bus, slot, func, 0xc6); func 66 arch/x86/pci/broadcom_bus.c word1 = read_pci_config_16(bus, slot, func, 0xd0); func 67 arch/x86/pci/broadcom_bus.c word2 = read_pci_config_16(bus, slot, func, 0xd2); func 48 arch/x86/pci/ce4100.c #define DEFINE_REG(device, func, offset, size, init_op, read_op, write_op)\ func 49 arch/x86/pci/ce4100.c { PCI_DEVFN(device, func), offset, init_op, read_op, write_op,\ func 11 arch/x86/pci/early.c u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) func 14 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 19 arch/x86/pci/early.c u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) func 22 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 27 arch/x86/pci/early.c u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) func 30 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 35 arch/x86/pci/early.c void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, func 38 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 42 arch/x86/pci/early.c void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) func 44 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 48 arch/x86/pci/early.c void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) func 50 arch/x86/pci/early.c outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); func 611 arch/x86/pci/mmconfig-shared.c extern int (*arch_apei_filter_addr)(int (*func)(__u64 start, __u64 size, func 614 arch/x86/pci/mmconfig-shared.c static int pci_mmcfg_for_each_region(int (*func)(__u64 start, __u64 size, func 624 arch/x86/pci/mmconfig-shared.c rc = func(cfg->res.start, resource_size(&cfg->res), data); func 640 arch/x86/platform/efi/efi_64.c #define runtime_service32(func) \ func 646 arch/x86/platform/efi/efi_64.c ___f = (u32 *)(*rt + offsetof(efi_runtime_services_32_t, func)); \ func 682 arch/x86/platform/efi/efi_64.c u32 func; func 689 arch/x86/platform/efi/efi_64.c func = (u32)(unsigned long)phys_set_virtual_address_map; func 690 arch/x86/platform/efi/efi_64.c status = efi64_thunk(func, memory_map_size, descriptor_size, func 27 arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c unsigned int func = PCI_FUNC(pdev->devfn); func 29 arch/x86/platform/intel-mid/device_libs/platform_mrfld_sd.c if (func == INTEL_MRFLD_SD) func 16 arch/x86/um/ldt.c static inline int modify_ldt (int func, void *ptr, unsigned long bytecount) func 18 arch/x86/um/ldt.c return syscall(__NR_modify_ldt, func, ptr, bytecount); func 21 arch/x86/um/ldt.c static long write_ldt_entry(struct mm_id *mm_idp, int func, func 31 arch/x86/um/ldt.c unsigned long args[] = { func, func 121 arch/x86/um/ldt.c static int write_ldt(void __user * ptr, unsigned long bytecount, int func) func 141 arch/x86/um/ldt.c if (func == 1) func 149 arch/x86/um/ldt.c err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1); func 189 arch/x86/um/ldt.c (func == 1 || LDT_empty(&ldt_info))) { func 194 arch/x86/um/ldt.c if (func == 1) func 207 arch/x86/um/ldt.c static long do_modify_ldt_skas(int func, void __user *ptr, func 212 arch/x86/um/ldt.c switch (func) { func 218 arch/x86/um/ldt.c ret = write_ldt(ptr, bytecount, func); func 373 arch/x86/um/ldt.c SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr , func 377 arch/x86/um/ldt.c return (unsigned int)do_modify_ldt_skas(func, ptr, bytecount); func 577 arch/x86/xen/mmu_pv.c int (*func)(struct mm_struct *mm, struct page *, enum pt_level), func 585 arch/x86/xen/mmu_pv.c flush |= (*func)(mm, pmd_page(pmd[i]), PT_PTE); func 591 arch/x86/xen/mmu_pv.c int (*func)(struct mm_struct *mm, struct page *, enum pt_level), func 605 arch/x86/xen/mmu_pv.c flush |= (*func)(mm, virt_to_page(pmd), PT_PMD); func 606 arch/x86/xen/mmu_pv.c flush |= xen_pmd_walk(mm, pmd, func, func 613 arch/x86/xen/mmu_pv.c int (*func)(struct mm_struct *mm, struct page *, enum pt_level), func 625 arch/x86/xen/mmu_pv.c flush |= (*func)(mm, virt_to_page(pud), PT_PUD); func 626 arch/x86/xen/mmu_pv.c flush |= xen_pud_walk(mm, pud, func, last, limit); func 646 arch/x86/xen/mmu_pv.c int (*func)(struct mm_struct *mm, struct page *, func 677 arch/x86/xen/mmu_pv.c flush |= xen_p4d_walk(mm, p4d, func, i == nr - 1, limit); func 682 arch/x86/xen/mmu_pv.c flush |= (*func)(mm, virt_to_page(pgd), PT_PGD); func 688 arch/x86/xen/mmu_pv.c int (*func)(struct mm_struct *mm, struct page *, func 692 arch/x86/xen/mmu_pv.c return __xen_pgd_walk(mm, mm->pgd, func, limit); func 454 arch/x86/xen/setup.c unsigned long (*func)(unsigned long start_pfn, unsigned long end_pfn, func 483 arch/x86/xen/setup.c ret_val = func(start_pfn, end_pfn, nr_pages, func 937 arch/x86/xen/setup.c static int register_callback(unsigned type, const void *func) func 941 arch/x86/xen/setup.c .address = XEN_CALLBACK(__KERNEL_CS, func), func 619 block/blk-mq.c rq->csd.func = __blk_mq_complete_request_remote; func 255 block/blk-rq-qos.c .func = rq_qos_wake_function, func 66 block/blk-softirq.c data->func = trigger_softirq; func 1500 crypto/drbg.c drbg->random_ready.func = drbg_schedule_async_seed; func 1513 crypto/drbg.c drbg->random_ready.func = NULL; func 1619 crypto/drbg.c if (drbg->random_ready.func) { func 199 drivers/acpi/apei/apei-base.c apei_exec_entry_func_t func, func 219 drivers/acpi/apei/apei-base.c rc = func(ctx, entry, data); func 451 drivers/acpi/apei/apei-base.c int (*arch_apei_filter_addr)(int (*func)(__u64 start, __u64 size, func 83 drivers/acpi/apei/hest.c int apei_hest_parse(apei_hest_func_t func, void *data) func 109 drivers/acpi/apei/hest.c rc = func(hest_hdr, data); func 461 drivers/acpi/device_pm.c if (adev->wakeup.context.func) { func 463 drivers/acpi/device_pm.c adev->wakeup.context.func, func 465 drivers/acpi/device_pm.c adev->wakeup.context.func(&adev->wakeup.context); func 486 drivers/acpi/device_pm.c void (*func)(struct acpi_device_wakeup_context *context)) func 490 drivers/acpi/device_pm.c if (!dev && !func) func 507 drivers/acpi/device_pm.c adev->wakeup.context.func = func; func 536 drivers/acpi/device_pm.c adev->wakeup.context.func = NULL; func 147 drivers/acpi/ec.c acpi_ec_query_func func; func 1085 drivers/acpi/ec.c acpi_handle handle, acpi_ec_query_func func, func 1096 drivers/acpi/ec.c handler->func = func; func 1161 drivers/acpi/ec.c if (handler->func) func 1162 drivers/acpi/ec.c handler->func(handler->data); func 198 drivers/acpi/internal.h acpi_handle handle, acpi_ec_query_func func, func 361 drivers/acpi/nfit/core.c static u8 nfit_dsm_revid(unsigned family, unsigned func) func 389 drivers/acpi/nfit/core.c if (func > NVDIMM_CMD_MAX) func 391 drivers/acpi/nfit/core.c id = revid_table[family][func]; func 397 drivers/acpi/nfit/core.c static bool payload_dumpable(struct nvdimm *nvdimm, unsigned int func) func 402 drivers/acpi/nfit/core.c && func >= NVDIMM_INTEL_GET_SECURITY_STATE func 403 drivers/acpi/nfit/core.c && func <= NVDIMM_INTEL_MASTER_SECURE_ERASE) func 452 drivers/acpi/nfit/core.c int func, rc, i; func 459 drivers/acpi/nfit/core.c func = cmd_to_func(nfit_mem, cmd, call_pkg); func 460 drivers/acpi/nfit/core.c if (func < 0) func 461 drivers/acpi/nfit/core.c return func; func 496 drivers/acpi/nfit/core.c (func > NVDIMM_CMD_MAX || !test_bit(func, &dsm_mask))) func 520 drivers/acpi/nfit/core.c dimm_name, cmd, func, in_buf.buffer.length); func 521 drivers/acpi/nfit/core.c if (payload_dumpable(nvdimm, func)) func 545 drivers/acpi/nfit/core.c revid = nfit_dsm_revid(nfit_mem->family, func); func 548 drivers/acpi/nfit/core.c out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); func 1783 drivers/acpi/nfit/core.c const u8 func = ND_INTEL_SMART; func 1785 drivers/acpi/nfit/core.c u8 revid = nfit_dsm_revid(nfit_mem->family, func); func 1790 drivers/acpi/nfit/core.c if ((nfit_mem->dsm_mask & (1 << func)) == 0) func 1793 drivers/acpi/nfit/core.c out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj); func 3498 drivers/acpi/nfit/core.c unsigned int func; func 3502 drivers/acpi/nfit/core.c func = call_pkg->nd_command; func 3503 drivers/acpi/nfit/core.c if (func > NVDIMM_CMD_MAX || func 3504 drivers/acpi/nfit/core.c (1 << func) & NVDIMM_INTEL_SECURITY_CMDMASK) func 50 drivers/acpi/nvs.c int acpi_nvs_for_each_region(int (*func)(__u64 start, __u64 size, void *data), func 57 drivers/acpi/nvs.c rc = func(region->phys_start, region->size, data); func 885 drivers/acpi/osl.c int (*func)(acpi_osd_exec_callback, void *); func 899 drivers/acpi/osl.c func = acpi_debugger.ops->create_thread; func 903 drivers/acpi/osl.c ret = func(function, context); func 915 drivers/acpi/osl.c ssize_t (*func)(const char *); func 929 drivers/acpi/osl.c func = acpi_debugger.ops->write_log; func 933 drivers/acpi/osl.c ret = func(msg); func 945 drivers/acpi/osl.c ssize_t (*func)(char *, size_t); func 959 drivers/acpi/osl.c func = acpi_debugger.ops->read_cmd; func 963 drivers/acpi/osl.c ret = func(buffer, buffer_length); func 975 drivers/acpi/osl.c int (*func)(bool, char *, size_t); func 989 drivers/acpi/osl.c func = acpi_debugger.ops->wait_command_ready; func 993 drivers/acpi/osl.c ret = func(acpi_gbl_method_executing, func 1006 drivers/acpi/osl.c int (*func)(void); func 1020 drivers/acpi/osl.c func = acpi_debugger.ops->notify_command_complete; func 1024 drivers/acpi/osl.c ret = func(); func 1791 drivers/acpi/osl.c void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, func 1794 drivers/acpi/osl.c __acpi_os_prepare_sleep = func; func 1820 drivers/acpi/osl.c void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, func 1823 drivers/acpi/osl.c __acpi_os_prepare_extended_sleep = func; func 243 drivers/acpi/sbshc.c acpi_handle handle, acpi_ec_query_func func, func 876 drivers/acpi/sleep.c static void acpi_sleep_run_lps0_dsm(unsigned int func) func 880 drivers/acpi/sleep.c if (!(lps0_dsm_func_mask & (1 << func))) func 883 drivers/acpi/sleep.c out_obj = acpi_evaluate_dsm(lps0_device_handle, &lps0_dsm_guid, 1, func, NULL); func 887 drivers/acpi/sleep.c func, out_obj ? "successful" : "failed"); func 616 drivers/acpi/utils.c acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func, func 633 drivers/acpi/utils.c params[2].integer.value = func; func 51 drivers/android/binder_trace.h TP_PROTO(const char *func), \ func 52 drivers/android/binder_trace.h TP_ARGS(func)) func 1297 drivers/ata/ahci.c #define ENCODE_BUSDEVFN(bus, slot, func) \ func 1298 drivers/ata/ahci.c (void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func))) func 304 drivers/atm/lanai.c void (*func)(struct lanai_dev *,vci_t vci)) func 309 drivers/atm/lanai.c func(lanai, vci); func 3361 drivers/base/core.c #define define_dev_printk_level(func, kern_level) \ func 3362 drivers/base/core.c void func(const struct device *dev, const char *fmt, ...) \ func 3376 drivers/base/core.c EXPORT_SYMBOL(func); func 835 drivers/base/memory.c void *arg, walk_memory_blocks_func_t func) func 851 drivers/base/memory.c ret = func(mem, arg); func 860 drivers/base/memory.c walk_memory_blocks_func_t func; func 869 drivers/base/memory.c return cb_data->func(mem, cb_data->arg); func 884 drivers/base/memory.c int for_each_memory_block(void *arg, walk_memory_blocks_func_t func) func 887 drivers/base/memory.c .func = func, func 723 drivers/base/power/main.c static bool dpm_async_fn(struct device *dev, async_func_t func) func 729 drivers/base/power/main.c async_schedule_dev(func, dev); func 60 drivers/bcma/driver_pci_host.c unsigned int func, unsigned int off) func 77 drivers/bcma/driver_pci_host.c addr |= (func << BCMA_CORE_PCI_CFG_FUN_SHIFT); func 85 drivers/bcma/driver_pci_host.c unsigned int func, unsigned int off, func 97 drivers/bcma/driver_pci_host.c if (func > 1) func 104 drivers/bcma/driver_pci_host.c addr = (func << 12); func 109 drivers/bcma/driver_pci_host.c addr |= (func << 8); func 114 drivers/bcma/driver_pci_host.c addr = bcma_get_cfgspace_addr(pc, dev, func, off); func 149 drivers/bcma/driver_pci_host.c unsigned int func, unsigned int off, func 162 drivers/bcma/driver_pci_host.c if (func > 1) func 169 drivers/bcma/driver_pci_host.c addr = (func << 12); func 174 drivers/bcma/driver_pci_host.c addr |= (func << 8); func 179 drivers/bcma/driver_pci_host.c addr = bcma_get_cfgspace_addr(pc, dev, func, off); func 272 drivers/bcma/driver_pci_host.c unsigned int func, u8 req_cap_id, func 281 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, PCI_HEADER_TYPE, &byte_val, func 287 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, PCI_STATUS, &byte_val, func 293 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, PCI_CAPABILITY_LIST, &cap_ptr, func 300 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); func 302 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, cap_ptr + 1, &cap_ptr, func 306 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, func 326 drivers/bcma/driver_pci_host.c bcma_extpci_read_config(pc, dev, func, cap_data, buf, func 196 drivers/block/aoe/aoenet.c .func = aoenet_rcv, func 113 drivers/block/drbd/drbd_bitmap.c static void __bm_print_lock_info(struct drbd_device *device, const char *func) func 120 drivers/block/drbd/drbd_bitmap.c func, b->bm_why ?: "?", func 90 drivers/block/drbd/drbd_int.h #define __drbd_printk_if_same_type(obj, type, func, level, fmt, args...) \ func 93 drivers/block/drbd/drbd_int.h func(level, (const type)(obj), fmt, ## args) func 2028 drivers/block/drbd/drbd_int.h #define ERR_IF_CNT_IS_NEGATIVE(which, func, line) \ func 2031 drivers/block/drbd/drbd_int.h func, line, \ func 2035 drivers/block/drbd/drbd_int.h static inline void _dec_ap_pending(struct drbd_device *device, const char *func, int line) func 2039 drivers/block/drbd/drbd_int.h ERR_IF_CNT_IS_NEGATIVE(ap_pending_cnt, func, line); func 2054 drivers/block/drbd/drbd_int.h static inline void _dec_rs_pending(struct drbd_device *device, const char *func, int line) func 2057 drivers/block/drbd/drbd_int.h ERR_IF_CNT_IS_NEGATIVE(rs_pending_cnt, func, line); func 2075 drivers/block/drbd/drbd_int.h static inline void _dec_unacked(struct drbd_device *device, const char *func, int line) func 2078 drivers/block/drbd/drbd_int.h ERR_IF_CNT_IS_NEGATIVE(unacked_cnt, func, line); func 2082 drivers/block/drbd/drbd_int.h static inline void _sub_unacked(struct drbd_device *device, int n, const char *func, int line) func 2085 drivers/block/drbd/drbd_int.h ERR_IF_CNT_IS_NEGATIVE(unacked_cnt, func, line); func 367 drivers/block/drbd/drbd_main.c int (*func) (struct drbd_thread *), const char *name) func 372 drivers/block/drbd/drbd_main.c thi->function = func; func 3418 drivers/block/drbd/drbd_main.c void drbd_md_mark_dirty_(struct drbd_device *device, unsigned int line, const char *func) func 3423 drivers/block/drbd/drbd_main.c device->last_md_mark_dirty.func = func; func 2127 drivers/block/drbd/drbd_receiver.c sector_t sector, bool missing_ok, const char *func) func 2136 drivers/block/drbd/drbd_receiver.c drbd_err(device, "%s: failed to find request 0x%lx, sector %llus\n", func, func 5717 drivers/block/drbd/drbd_receiver.c struct rb_root *root, const char *func, func 5724 drivers/block/drbd/drbd_receiver.c req = find_request(device, root, id, sector, missing_ok, func); func 1614 drivers/block/drbd/drbd_state.c #define REMEMBER_STATE_CHANGE(func, arg, type) \ func 1616 drivers/block/drbd/drbd_state.c last_func = (typeof(last_func))func; \ func 631 drivers/block/floppy.c static inline void debugt(const char *func, const char *msg) func 634 drivers/block/floppy.c pr_info("%s:%s dtime=%lu\n", func, msg, jiffies - debugtimer); func 638 drivers/block/floppy.c static inline void debugt(const char *func, const char *msg) { } func 645 drivers/block/floppy.c static void is_alive(const char *func, const char *message) func 650 drivers/block/floppy.c DPRINT("%s: timeout handler died. %s\n", func, message); func 1821 drivers/block/floppy.c pr_info("floppy_work.func=%ps\n", floppy_work.func); func 1824 drivers/block/floppy.c fd_timer.work.func, func 1828 drivers/block/floppy.c fd_timeout.work.func, func 247 drivers/block/paride/pd.c enum action (*func)(struct pd_unit *disk); func 327 drivers/block/paride/pd.c static void pd_send_command(struct pd_unit *disk, int n, int s, int h, int c0, int c1, int func) func 335 drivers/block/paride/pd.c write_reg(disk, 7, func); func 340 drivers/block/paride/pd.c static void pd_ide_command(struct pd_unit *disk, int func, int block, int count) func 355 drivers/block/paride/pd.c pd_send_command(disk, count, s, h, c0, c1, func); func 512 drivers/block/paride/pd.c return req->func(pd_current); func 773 drivers/block/paride/pd.c enum action (*func)(struct pd_unit *disk)) func 783 drivers/block/paride/pd.c req->func = func; func 249 drivers/block/paride/pf.c static void pf_lock(struct pf_unit *pf, int func); func 532 drivers/block/paride/pf.c static void pf_lock(struct pf_unit *pf, int func) func 534 drivers/block/paride/pf.c char lo_cmd[12] = { ATAPI_LOCK, pf->lun << 5, 0, 0, func, 0, 0, 0, 0, 0, 0, 0 }; func 536 drivers/block/paride/pf.c pf_atapi(pf, lo_cmd, 0, pf_scratch, func ? "lock" : "unlock"); func 597 drivers/block/paride/pg.c if (hdr.func == PG_RESET) { func 605 drivers/block/paride/pg.c if (hdr.func != PG_COMMAND) func 555 drivers/block/sx8.c static int carm_send_special (struct carm_host *host, carm_sspc_t func) func 571 drivers/block/sx8.c msg_size = func(host, rq->tag, mem); func 65 drivers/bluetooth/btmrvl_sdio.c struct device *dev = &card->func->dev; func 395 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(card->func, card->reg->card_rx_unit, &ret); func 409 drivers/bluetooth/btmrvl_sdio.c fws0 = sdio_readb(card->func, card->reg->card_fw_status0, &ret); func 413 drivers/bluetooth/btmrvl_sdio.c fws1 = sdio_readb(card->func, card->reg->card_fw_status1, &ret); func 427 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(card->func, card->reg->card_rx_len, &ret); func 439 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, mask, card->reg->host_int_mask, &ret); func 454 drivers/bluetooth/btmrvl_sdio.c host_int_mask = sdio_readb(card->func, card->reg->host_int_mask, &ret); func 460 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, host_int_mask, card->reg->host_int_mask, &ret); func 476 drivers/bluetooth/btmrvl_sdio.c status = sdio_readb(card->func, card->reg->card_status, &ret); func 501 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 503 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 527 drivers/bluetooth/btmrvl_sdio.c &card->func->dev); func 584 drivers/bluetooth/btmrvl_sdio.c ret = sdio_writesb(card->func, card->ioport, helperbuf, func 599 drivers/bluetooth/btmrvl_sdio.c ret = sdio_writesb(card->func, card->ioport, helperbuf, func 627 drivers/bluetooth/btmrvl_sdio.c &card->func->dev); func 668 drivers/bluetooth/btmrvl_sdio.c base0 = sdio_readb(card->func, func 678 drivers/bluetooth/btmrvl_sdio.c base1 = sdio_readb(card->func, func 732 drivers/bluetooth/btmrvl_sdio.c ret = sdio_writesb(card->func, card->ioport, fwbuf, func 738 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, HOST_CMD53_FIN, func 767 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) { func 808 drivers/bluetooth/btmrvl_sdio.c ret = sdio_readsb(card->func, payload, card->ioport, func 891 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 903 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 913 drivers/bluetooth/btmrvl_sdio.c ret = sdio_readsb(card->func, adapter->hw_regs, 0, SDIO_BLOCK_SIZE); func 929 drivers/bluetooth/btmrvl_sdio.c *ireg = sdio_readb(card->func, card->reg->host_intstatus, &ret); func 943 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, ~(*ireg) & (DN_LD_HOST_INT_STATUS | func 955 drivers/bluetooth/btmrvl_sdio.c static void btmrvl_sdio_interrupt(struct sdio_func *func) func 963 drivers/bluetooth/btmrvl_sdio.c card = sdio_get_drvdata(func); func 966 drivers/bluetooth/btmrvl_sdio.c func, card); func 992 drivers/bluetooth/btmrvl_sdio.c struct sdio_func *func; func 996 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) { func 1002 drivers/bluetooth/btmrvl_sdio.c func = card->func; func 1004 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(func); func 1006 drivers/bluetooth/btmrvl_sdio.c ret = sdio_enable_func(func); func 1013 drivers/bluetooth/btmrvl_sdio.c ret = sdio_claim_irq(func, btmrvl_sdio_interrupt); func 1020 drivers/bluetooth/btmrvl_sdio.c ret = sdio_set_block_size(card->func, SDIO_BLOCK_SIZE); func 1027 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(func, card->reg->io_port_0, &ret); func 1035 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(func, card->reg->io_port_1, &ret); func 1043 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(func, card->reg->io_port_2, &ret); func 1051 drivers/bluetooth/btmrvl_sdio.c BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport); func 1054 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(func, card->reg->host_int_rsr, &ret); func 1059 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(func, reg | 0x3f, card->reg->host_int_rsr, &ret); func 1065 drivers/bluetooth/btmrvl_sdio.c reg = sdio_readb(func, card->reg->card_misc_cfg, &ret); func 1070 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(func, reg | 0x10, card->reg->card_misc_cfg, &ret); func 1077 drivers/bluetooth/btmrvl_sdio.c sdio_set_drvdata(func, card); func 1079 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(func); func 1084 drivers/bluetooth/btmrvl_sdio.c sdio_release_irq(func); func 1087 drivers/bluetooth/btmrvl_sdio.c sdio_disable_func(func); func 1090 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(func); func 1098 drivers/bluetooth/btmrvl_sdio.c if (card && card->func) { func 1099 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1100 drivers/bluetooth/btmrvl_sdio.c sdio_release_irq(card->func); func 1101 drivers/bluetooth/btmrvl_sdio.c sdio_disable_func(card->func); func 1102 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1103 drivers/bluetooth/btmrvl_sdio.c sdio_set_drvdata(card->func, NULL); func 1113 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) func 1116 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1122 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1131 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) func 1134 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1138 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1154 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) { func 1173 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1177 drivers/bluetooth/btmrvl_sdio.c ret = sdio_writesb(card->func, card->ioport, buf, func 1192 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1204 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) { func 1214 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1217 drivers/bluetooth/btmrvl_sdio.c fws0 = sdio_readb(card->func, card->reg->card_fw_status0, &ret); func 1255 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1260 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1269 drivers/bluetooth/btmrvl_sdio.c if (!card || !card->func) { func 1274 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1276 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, HOST_POWER_UP, card->reg->cfg, &ret); func 1278 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1291 drivers/bluetooth/btmrvl_sdio.c u8 loop, func, data; func 1295 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1303 drivers/bluetooth/btmrvl_sdio.c func = loop; func 1307 drivers/bluetooth/btmrvl_sdio.c func = 2; func 1313 drivers/bluetooth/btmrvl_sdio.c func, reg_start, reg_end); func 1315 drivers/bluetooth/btmrvl_sdio.c if (func == 0) func 1316 drivers/bluetooth/btmrvl_sdio.c data = sdio_f0_readb(card->func, reg, &ret); func 1318 drivers/bluetooth/btmrvl_sdio.c data = sdio_readb(card->func, reg, &ret); func 1331 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1343 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, FW_DUMP_HOST_READY, card->reg->fw_dump_ctrl, func 1352 drivers/bluetooth/btmrvl_sdio.c ctrl_data = sdio_readb(card->func, card->reg->fw_dump_ctrl, func 1366 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, FW_DUMP_HOST_READY, func 1387 drivers/bluetooth/btmrvl_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1397 drivers/bluetooth/btmrvl_sdio.c card = sdio_get_drvdata(func); func 1419 drivers/bluetooth/btmrvl_sdio.c sdio_claim_host(card->func); func 1429 drivers/bluetooth/btmrvl_sdio.c dump_num = sdio_readb(card->func, reg, &ret); func 1447 drivers/bluetooth/btmrvl_sdio.c read_reg = sdio_readb(card->func, reg, &ret); func 1458 drivers/bluetooth/btmrvl_sdio.c sdio_writeb(card->func, FW_DUMP_READ_DONE, func 1496 drivers/bluetooth/btmrvl_sdio.c *dbg_ptr = sdio_readb(card->func, reg, &ret); func 1521 drivers/bluetooth/btmrvl_sdio.c sdio_release_host(card->func); func 1564 drivers/bluetooth/btmrvl_sdio.c dev_coredumpv(&card->func->dev, fw_dump_data, fw_dump_len, GFP_KERNEL); func 1568 drivers/bluetooth/btmrvl_sdio.c static int btmrvl_sdio_probe(struct sdio_func *func, func 1576 drivers/bluetooth/btmrvl_sdio.c id->vendor, id->device, id->class, func->num); func 1578 drivers/bluetooth/btmrvl_sdio.c card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL); func 1582 drivers/bluetooth/btmrvl_sdio.c card->func = func; func 1611 drivers/bluetooth/btmrvl_sdio.c btmrvl_sdio_probe_of(&func->dev, card); func 1642 drivers/bluetooth/btmrvl_sdio.c static void btmrvl_sdio_remove(struct sdio_func *func) func 1646 drivers/bluetooth/btmrvl_sdio.c if (func) { func 1647 drivers/bluetooth/btmrvl_sdio.c card = sdio_get_drvdata(func); func 1667 drivers/bluetooth/btmrvl_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1673 drivers/bluetooth/btmrvl_sdio.c if (func) { func 1674 drivers/bluetooth/btmrvl_sdio.c pm_flags = sdio_get_host_pm_caps(func); func 1675 drivers/bluetooth/btmrvl_sdio.c BT_DBG("%s: suspend: PM flags = 0x%x", sdio_func_id(func), func 1679 drivers/bluetooth/btmrvl_sdio.c sdio_func_id(func)); func 1682 drivers/bluetooth/btmrvl_sdio.c card = sdio_get_drvdata(func); func 1726 drivers/bluetooth/btmrvl_sdio.c return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 1735 drivers/bluetooth/btmrvl_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1741 drivers/bluetooth/btmrvl_sdio.c if (func) { func 1742 drivers/bluetooth/btmrvl_sdio.c pm_flags = sdio_get_host_pm_caps(func); func 1743 drivers/bluetooth/btmrvl_sdio.c BT_DBG("%s: resume: PM flags = 0x%x", sdio_func_id(func), func 1745 drivers/bluetooth/btmrvl_sdio.c card = sdio_get_drvdata(func); func 94 drivers/bluetooth/btmrvl_sdio.h struct sdio_func *func; func 157 drivers/bluetooth/btmtksdio.c struct sdio_func *func; func 281 drivers/bluetooth/btmtksdio.c err = sdio_writesb(bdev->func, MTK_REG_CTDR, skb->data, func 300 drivers/bluetooth/btmtksdio.c return sdio_readl(bdev->func, MTK_REG_CHLPCR, NULL); func 312 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 323 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 401 drivers/bluetooth/btmtksdio.c err = sdio_readsb(bdev->func, skb->data, MTK_REG_CRDR, rx_size); func 479 drivers/bluetooth/btmtksdio.c static void btmtksdio_interrupt(struct sdio_func *func) func 481 drivers/bluetooth/btmtksdio.c struct btmtksdio_dev *bdev = sdio_get_drvdata(func); func 491 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 495 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 498 drivers/bluetooth/btmtksdio.c sdio_writel(func, C_INT_EN_CLR, MTK_REG_CHLPCR, 0); func 500 drivers/bluetooth/btmtksdio.c int_status = sdio_readl(func, MTK_REG_CHISR, NULL); func 511 drivers/bluetooth/btmtksdio.c sdio_writel(func, int_status, MTK_REG_CHISR, NULL); func 532 drivers/bluetooth/btmtksdio.c sdio_writel(func, C_INT_EN_SET, MTK_REG_CHLPCR, 0); func 544 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 546 drivers/bluetooth/btmtksdio.c err = sdio_enable_func(bdev->func); func 551 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_FW_OWN_REQ_CLR, MTK_REG_CHLPCR, &err); func 563 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, &err); func 567 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, 0, MTK_REG_CHIER, &err); func 571 drivers/bluetooth/btmtksdio.c err = sdio_claim_irq(bdev->func, btmtksdio_interrupt); func 575 drivers/bluetooth/btmtksdio.c err = sdio_set_block_size(bdev->func, MTK_SDIO_BLOCK_SIZE); func 582 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, SDIO_INT_CTL | SDIO_RE_INIT_EN, func 588 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_INT_CLR_CTRL, MTK_REG_CHCR, &err); func 593 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, RX_DONE_INT | TX_EMPTY | TX_FIFO_OVERFLOW, func 599 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_INT_EN_SET, MTK_REG_CHLPCR, &err); func 603 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 608 drivers/bluetooth/btmtksdio.c sdio_release_irq(bdev->func); func 611 drivers/bluetooth/btmtksdio.c sdio_disable_func(bdev->func); func 614 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 625 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 628 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL); func 630 drivers/bluetooth/btmtksdio.c sdio_release_irq(bdev->func); func 633 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_FW_OWN_REQ_SET, MTK_REG_CHLPCR, NULL); func 640 drivers/bluetooth/btmtksdio.c sdio_disable_func(bdev->func); func 642 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 925 drivers/bluetooth/btmtksdio.c static int btmtksdio_probe(struct sdio_func *func, func 932 drivers/bluetooth/btmtksdio.c bdev = devm_kzalloc(&func->dev, sizeof(*bdev), GFP_KERNEL); func 940 drivers/bluetooth/btmtksdio.c bdev->dev = &func->dev; func 941 drivers/bluetooth/btmtksdio.c bdev->func = func; func 949 drivers/bluetooth/btmtksdio.c dev_err(&func->dev, "Can't allocate HCI device\n"); func 964 drivers/bluetooth/btmtksdio.c SET_HCIDEV_DEV(hdev, &func->dev); func 971 drivers/bluetooth/btmtksdio.c dev_err(&func->dev, "Can't register HCI device\n"); func 976 drivers/bluetooth/btmtksdio.c sdio_set_drvdata(func, bdev); func 1000 drivers/bluetooth/btmtksdio.c static void btmtksdio_remove(struct sdio_func *func) func 1002 drivers/bluetooth/btmtksdio.c struct btmtksdio_dev *bdev = sdio_get_drvdata(func); func 1013 drivers/bluetooth/btmtksdio.c sdio_set_drvdata(func, NULL); func 1021 drivers/bluetooth/btmtksdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1026 drivers/bluetooth/btmtksdio.c bdev = sdio_get_drvdata(func); func 1030 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 1032 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_FW_OWN_REQ_SET, MTK_REG_CHLPCR, &err); func 1041 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 1048 drivers/bluetooth/btmtksdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1053 drivers/bluetooth/btmtksdio.c bdev = sdio_get_drvdata(func); func 1057 drivers/bluetooth/btmtksdio.c sdio_claim_host(bdev->func); func 1059 drivers/bluetooth/btmtksdio.c sdio_writel(bdev->func, C_FW_OWN_REQ_CLR, MTK_REG_CHLPCR, &err); func 1068 drivers/bluetooth/btmtksdio.c sdio_release_host(bdev->func); func 45 drivers/bluetooth/btsdio.c struct sdio_func *func; func 77 drivers/bluetooth/btsdio.c err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); func 80 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); func 99 drivers/bluetooth/btsdio.c sdio_claim_host(data->func); func 110 drivers/bluetooth/btsdio.c sdio_release_host(data->func); func 121 drivers/bluetooth/btsdio.c err = sdio_readsb(data->func, hdr, REG_RDAT, 4); func 140 drivers/bluetooth/btsdio.c err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4); func 154 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL); func 159 drivers/bluetooth/btsdio.c static void btsdio_interrupt(struct sdio_func *func) func 161 drivers/bluetooth/btsdio.c struct btsdio_data *data = sdio_get_drvdata(func); func 166 drivers/bluetooth/btsdio.c intrd = sdio_readb(func, REG_INTRD, NULL); func 168 drivers/bluetooth/btsdio.c sdio_writeb(func, 0x01, REG_CL_INTRD, NULL); func 172 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x01, REG_PC_RRT, NULL); func 184 drivers/bluetooth/btsdio.c sdio_claim_host(data->func); func 186 drivers/bluetooth/btsdio.c err = sdio_enable_func(data->func); func 190 drivers/bluetooth/btsdio.c err = sdio_claim_irq(data->func, btsdio_interrupt); func 192 drivers/bluetooth/btsdio.c sdio_disable_func(data->func); func 196 drivers/bluetooth/btsdio.c if (data->func->class == SDIO_CLASS_BT_B) func 197 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x00, REG_MD_SET, NULL); func 199 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x01, REG_EN_INTRD, NULL); func 202 drivers/bluetooth/btsdio.c sdio_release_host(data->func); func 213 drivers/bluetooth/btsdio.c sdio_claim_host(data->func); func 215 drivers/bluetooth/btsdio.c sdio_writeb(data->func, 0x00, REG_EN_INTRD, NULL); func 217 drivers/bluetooth/btsdio.c sdio_release_irq(data->func); func 218 drivers/bluetooth/btsdio.c sdio_disable_func(data->func); func 220 drivers/bluetooth/btsdio.c sdio_release_host(data->func); func 266 drivers/bluetooth/btsdio.c static int btsdio_probe(struct sdio_func *func, func 271 drivers/bluetooth/btsdio.c struct sdio_func_tuple *tuple = func->tuples; func 274 drivers/bluetooth/btsdio.c BT_DBG("func %p id %p class 0x%04x", func, id, func->class); func 284 drivers/bluetooth/btsdio.c if (func->vendor == SDIO_VENDOR_ID_BROADCOM && func 285 drivers/bluetooth/btsdio.c !mmc_card_is_removable(func->card->host)) { func 286 drivers/bluetooth/btsdio.c switch (func->device) { func 294 drivers/bluetooth/btsdio.c data = devm_kzalloc(&func->dev, sizeof(*data), GFP_KERNEL); func 298 drivers/bluetooth/btsdio.c data->func = func; func 318 drivers/bluetooth/btsdio.c SET_HCIDEV_DEV(hdev, &func->dev); func 325 drivers/bluetooth/btsdio.c if (func->vendor == 0x0104 && func->device == 0x00c5) func 334 drivers/bluetooth/btsdio.c sdio_set_drvdata(func, data); func 339 drivers/bluetooth/btsdio.c static void btsdio_remove(struct sdio_func *func) func 341 drivers/bluetooth/btsdio.c struct btsdio_data *data = sdio_get_drvdata(func); func 344 drivers/bluetooth/btsdio.c BT_DBG("func %p", func); func 351 drivers/bluetooth/btsdio.c sdio_set_drvdata(func, NULL); func 86 drivers/char/hw_random/optee-rng.c inv_arg.func = TA_CMD_GET_ENTROPY; func 186 drivers/char/hw_random/optee-rng.c inv_arg.func = TA_CMD_GET_RNG_INFO; func 701 drivers/char/random.c rdy->func(rdy); func 97 drivers/char/tpm/tpm_ftpm_tee.c .func = FTPM_OPTEE_TA_SUBMIT_COMMAND, func 42 drivers/char/tpm/tpm_ppi.c tpm_eval_dsm(acpi_handle ppi_handle, int func, acpi_object_type type, func 47 drivers/char/tpm/tpm_ppi.c rev, func, argv4, type); func 118 drivers/char/tpm/tpm_ppi.c int func = TPM_PPI_FN_SUBREQ; func 131 drivers/char/tpm/tpm_ppi.c func = TPM_PPI_FN_SUBREQ2; func 160 drivers/char/tpm/tpm_ppi.c obj = tpm_eval_dsm(chip->acpi_dev_handle, func, ACPI_TYPE_INTEGER, func 320 drivers/clk/clk-stm32mp1.c struct clk_hw * (*func)(struct device *dev, func 1103 drivers/clk/clk-stm32mp1.c .func = _clk_hw_register_gate,\ func 1116 drivers/clk/clk-stm32mp1.c .func = _clk_hw_register_fixed_factor,\ func 1133 drivers/clk/clk-stm32mp1.c .func = _clk_hw_register_divider_table,\ func 1153 drivers/clk/clk-stm32mp1.c .func = _clk_hw_register_mux,\ func 1165 drivers/clk/clk-stm32mp1.c .func = _clk_register_pll,\ func 1178 drivers/clk/clk-stm32mp1.c .func = _clk_register_cktim,\ func 1193 drivers/clk/clk-stm32mp1.c .func = _clk_stm32_register_gate,\ func 1282 drivers/clk/clk-stm32mp1.c .func = _clk_stm32_register_composite,\ func 2029 drivers/clk/clk-stm32mp1.c if (cfg->func) func 2030 drivers/clk/clk-stm32mp1.c hw = (*cfg->func)(dev, clk_data, base, lock, cfg); func 154 drivers/clk/imx/clk-scu.c hdr->func = IMX_SC_PM_FUNC_GET_CLOCK_RATE; func 225 drivers/clk/imx/clk-scu.c hdr->func = IMX_SC_PM_FUNC_SET_CLOCK_RATE; func 244 drivers/clk/imx/clk-scu.c hdr->func = IMX_SC_PM_FUNC_GET_CLOCK_PARENT; func 268 drivers/clk/imx/clk-scu.c hdr->func = IMX_SC_PM_FUNC_SET_CLOCK_PARENT; func 286 drivers/clk/imx/clk-scu.c hdr->func = IMX_SC_PM_FUNC_CLOCK_ENABLE; func 220 drivers/clk/ti/clk.c ti_of_clk_init_cb_t func; func 236 drivers/clk/ti/clk.c ti_of_clk_init_cb_t func) func 246 drivers/clk/ti/clk.c retry->func = func; func 386 drivers/clk/ti/clk.c retry->func(retry->user, retry->node); func 230 drivers/clk/ti/clock.h ti_of_clk_init_cb_t func); func 1137 drivers/clocksource/arm_arch_timer.c irq_handler_t func; func 1149 drivers/clocksource/arm_arch_timer.c func = arch_timer_handler_virt_mem; func 1151 drivers/clocksource/arm_arch_timer.c func = arch_timer_handler_phys_mem; func 1153 drivers/clocksource/arm_arch_timer.c ret = request_irq(irq, func, IRQF_TIMER, "arch_mem_timer", &t->evt); func 291 drivers/cpufreq/acpi-cpufreq.c } func; func 299 drivers/cpufreq/acpi-cpufreq.c cmd->val = cmd->func.read(cmd->reg); func 307 drivers/cpufreq/acpi-cpufreq.c .func.read = data->cpu_freq_read, func 321 drivers/cpufreq/acpi-cpufreq.c cmd->func.write(cmd->reg, cmd->val); func 331 drivers/cpufreq/acpi-cpufreq.c .func.write = data->cpu_freq_write, func 386 drivers/cpufreq/cpufreq_governor.c j_cdbs->update_util.func = NULL; func 676 drivers/cpuidle/coupled.c csd->func = cpuidle_coupled_handle_poke; func 18 drivers/dax/device.c const char *func) func 31 drivers/dax/device.c current->comm, func); func 39 drivers/dax/device.c current->comm, func, vma->vm_start, vma->vm_end, func 48 drivers/dax/device.c current->comm, func); func 55 drivers/dax/device.c current->comm, func); func 149 drivers/dma-buf/dma-fence.c cur->func(fence, cur); func 330 drivers/dma-buf/dma-fence.c dma_fence_func_t func) func 336 drivers/dma-buf/dma-fence.c if (WARN_ON(!fence || !func)) func 361 drivers/dma-buf/dma-fence.c cb->func = func; func 496 drivers/dma-buf/dma-fence.c cb.base.func = dma_fence_default_wait_cb; func 21 drivers/dma-buf/selftest.c #define selftest(n, f) [__idx_##n] = { .name = #n, .func = f }, func 25 drivers/dma-buf/selftest.c int (*func)(void); func 33 drivers/dma-buf/selftest.c #define selftest_0(n, func, id) \ func 35 drivers/dma-buf/selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) func 105 drivers/dma-buf/selftest.c err = st->func(data); func 140 drivers/dma-buf/selftest.c err = st->func(); func 12 drivers/dma-buf/selftest.h #define selftest(name, func) int func(void); func 17 drivers/dma-buf/selftest.h int (*func)(void *data); func 62 drivers/edac/amd64_edac.c u32 *val, const char *func) func 69 drivers/edac/amd64_edac.c func, PCI_FUNC(pdev->devfn), offset); func 75 drivers/edac/amd64_edac.c u32 val, const char *func) func 82 drivers/edac/amd64_edac.c func, PCI_FUNC(pdev->devfn), offset); func 486 drivers/edac/amd64_edac.h u32 *val, const char *func); func 488 drivers/edac/amd64_edac.h u32 val, const char *func); func 641 drivers/edac/i5100_edac.c unsigned func) func 651 drivers/edac/i5100_edac.c if (PCI_FUNC(ret->devfn) == func) func 230 drivers/edac/i7core_edac.c int func; func 281 drivers/edac/i7core_edac.c .func = (function), \ func 1353 drivers/edac/i7core_edac.c dev_descr->dev, dev_descr->func, func 1376 drivers/edac/i7core_edac.c bus, dev_descr->dev, dev_descr->func, func 1386 drivers/edac/i7core_edac.c PCI_FUNC(pdev->devfn) != dev_descr->func)) { func 1392 drivers/edac/i7core_edac.c bus, dev_descr->dev, dev_descr->func); func 1401 drivers/edac/i7core_edac.c bus, dev_descr->dev, dev_descr->func, func 1408 drivers/edac/i7core_edac.c dev_descr->func, func 1458 drivers/edac/i7core_edac.c int i, func, slot; func 1468 drivers/edac/i7core_edac.c func = PCI_FUNC(pdev->devfn); func 1471 drivers/edac/i7core_edac.c if (unlikely(func > MAX_MCR_FUNC)) func 1473 drivers/edac/i7core_edac.c pvt->pci_mcr[func] = pdev; func 1475 drivers/edac/i7core_edac.c if (unlikely(func > MAX_CHAN_FUNC)) func 1477 drivers/edac/i7core_edac.c pvt->pci_ch[slot - 4][func] = pdev; func 1478 drivers/edac/i7core_edac.c } else if (!slot && !func) { func 1525 drivers/edac/i7core_edac.c slot, func); func 2819 drivers/edac/sb_edac.c int dev, func; func 2831 drivers/edac/sb_edac.c func = pdev->devfn & 0x7; func 2842 drivers/edac/sb_edac.c dev, func); func 2859 drivers/edac/sb_edac.c devidx = ((dev-14)*8)+func; func 2864 drivers/edac/sb_edac.c dev, func); func 2882 drivers/edac/sb_edac.c devidx = func-2; func 2884 drivers/edac/sb_edac.c devidx = 3 + (func-2); func 2889 drivers/edac/sb_edac.c dev, func); func 27 drivers/firewire/core-card.c #define define_fw_printk_level(func, kern_level) \ func 28 drivers/firewire/core-card.c void func(const struct fw_card *card, const char *fmt, ...) \ func 235 drivers/firewire/init_ohci1394_dma.c static inline void __init init_ohci1394_controller(int num, int slot, int func) func 241 drivers/firewire/init_ohci1394_dma.c " at %02x:%02x.%x\n", num, slot, func); func 243 drivers/firewire/init_ohci1394_dma.c ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2)) func 259 drivers/firewire/init_ohci1394_dma.c int num, slot, func; func 268 drivers/firewire/init_ohci1394_dma.c for (func = 0; func < 8; func++) { func 269 drivers/firewire/init_ohci1394_dma.c class = read_pci_config(num, slot, func, func 277 drivers/firewire/init_ohci1394_dma.c init_ohci1394_controller(num, slot, func); func 426 drivers/firmware/efi/vars.c int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *), func 486 drivers/firmware/efi/vars.c err = func(variable_name, vendor_guid, func 1085 drivers/firmware/efi/vars.c int __efivar_entry_iter(int (*func)(struct efivar_entry *, void *), func 1094 drivers/firmware/efi/vars.c err = func(entry, data); func 1107 drivers/firmware/efi/vars.c err = func(*prev, data); func 1130 drivers/firmware/efi/vars.c int efivar_entry_iter(int (*func)(struct efivar_entry *, void *), func 1138 drivers/firmware/efi/vars.c err = __efivar_entry_iter(func, head, data, NULL); func 188 drivers/firmware/google/gsmi.c static int gsmi_exec(u8 func, u8 sub) func 190 drivers/firmware/google/gsmi.c u16 cmd = (sub << 8) | func; func 76 drivers/firmware/imx/imx-scu-irq.c hdr->func = IMX_SC_IRQ_FUNC_STATUS; func 108 drivers/firmware/imx/imx-scu-irq.c hdr->func = IMX_SC_IRQ_FUNC_ENABLE; func 173 drivers/firmware/imx/imx-scu.c hdr.func, hdr.size); func 234 drivers/firmware/imx/imx-scu.c ret = hdr->func; func 59 drivers/firmware/imx/misc.c hdr->func = (uint8_t)IMX_SC_MISC_FUNC_SET_CONTROL; func 91 drivers/firmware/imx/misc.c hdr->func = (uint8_t)IMX_SC_MISC_FUNC_GET_CONTROL; func 127 drivers/firmware/imx/misc.c hdr->func = IMX_SC_PM_FUNC_CPU_START; func 187 drivers/firmware/imx/scu-pd.c hdr->func = IMX_SC_PM_FUNC_SET_RESOURCE_POWER_MODE; func 2730 drivers/gpio/gpiolib.c static int validate_desc(const struct gpio_desc *desc, const char *func) func 2735 drivers/gpio/gpiolib.c pr_warn("%s: invalid GPIO (errorpointer)\n", func); func 2739 drivers/gpio/gpiolib.c pr_warn("%s: invalid GPIO (no device)\n", func); func 2744 drivers/gpio/gpiolib.c "%s: backing chip is gone\n", func); func 101 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c man->func = &amdgpu_gtt_mgr_func; func 109 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c man->func = &amdgpu_vram_mgr_func; func 120 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c man->func = &ttm_bo_manager_func; func 1234 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->ttm.ttm.func = &amdgpu_backend_func; func 2140 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c man->func->debug(man, &p); func 37 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h #define amdgpu_umc_for_each_channel(func) \ func 51 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h (func)(adev, err_data, umc_reg_offset, channel_index); \ func 1068 drivers/gpu/drm/amd/amdgpu/atom.c void (*func) (atom_exec_context *, int *, int); func 1245 drivers/gpu/drm/amd/amdgpu/atom.c opcode_table[op].func(&ectx, &ptr, func 1680 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, \ func 1779 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c amdkfd_ioctl_t *func; func 1813 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c func = ioctl->func; func 1815 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (unlikely(!func)) { func 1844 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retcode = func(filep, process, kdata); func 754 drivers/gpu/drm/amd/amdkfd/kfd_priv.h amdkfd_ioctl_t *func; func 193 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static int __set_legacy_tf(struct dc_transfer_func *func, func 210 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c res = mod_color_calculate_regamma_params(func, gamma, true, has_rom, func 217 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static int __set_output_tf(struct dc_transfer_func *func, func 233 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c if (func->tf == TRANSFER_FUNCTION_LINEAR) { func 240 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c res = mod_color_calculate_degamma_params(func, gamma, true); func 247 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c res = mod_color_calculate_regamma_params(func, gamma, false, func 257 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c static int __set_input_tf(struct dc_transfer_func *func, func 272 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c res = mod_color_calculate_degamma_params(func, gamma, true); func 619 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c const char *func) func 629 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c func, func 72 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h const char *func, unsigned int line), func 73 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h TP_ARGS(read_count, write_count, last_read, last_write, func, line), func 79 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h __string(func, func) func 87 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h __assign_str(func, func); func 93 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h __get_str(func), __entry->line, func 161 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_CALL(func,dev,...) \ func 162 drivers/gpu/drm/amd/include/cgs_common.h (((struct cgs_device *)dev)->ops->func(dev, ##__VA_ARGS__)) func 163 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_OS_CALL(func,dev,...) \ func 164 drivers/gpu/drm/amd/include/cgs_common.h (((struct cgs_device *)dev)->os_ops->func(dev, ##__VA_ARGS__)) func 888 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c pp_tables_hw_clock_info_callback func) func 932 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c res = func(hwmgr, &ps->hardware, i, pclock_info); func 959 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c int res = func(hwmgr, &ps->hardware, i, pclock_info); func 45 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.h pp_tables_hw_clock_info_callback func); func 86 drivers/gpu/drm/drm_flip_work.c work->func(work, val); func 133 drivers/gpu/drm/drm_flip_work.c work->func(work, task->data); func 148 drivers/gpu/drm/drm_flip_work.c const char *name, drm_flip_func_t func) func 154 drivers/gpu/drm/drm_flip_work.c work->func = func; func 565 drivers/gpu/drm/drm_ioctl.c .func = _func, \ func 769 drivers/gpu/drm/drm_ioctl.c long drm_ioctl_kernel(struct file *file, drm_ioctl_t *func, void *kdata, func 786 drivers/gpu/drm/drm_ioctl.c retcode = func(dev, kdata, file_priv); func 789 drivers/gpu/drm/drm_ioctl.c retcode = func(dev, kdata, file_priv); func 815 drivers/gpu/drm/drm_ioctl.c drm_ioctl_t *func; func 860 drivers/gpu/drm/drm_ioctl.c func = ioctl->func; func 862 drivers/gpu/drm/drm_ioctl.c if (unlikely(!func)) { func 886 drivers/gpu/drm/drm_ioctl.c retcode = drm_ioctl_kernel(filp, func, kdata, ioctl->flags); func 240 drivers/gpu/drm/drm_irq.c switch (ctl->func) { func 682 drivers/gpu/drm/drm_probe_helper.c return work && work->func == output_poll_execute; func 962 drivers/gpu/drm/drm_syncobj.c (!entries[i].fence_cb.func && func 999 drivers/gpu/drm/drm_syncobj.c if (entries[i].fence_cb.func) func 46 drivers/gpu/drm/drm_vram_mm_helper.c tt->func = &backend_func; func 69 drivers/gpu/drm/drm_vram_mm_helper.c man->func = &ttm_bo_manager_func; func 470 drivers/gpu/drm/etnaviv/etnaviv_drv.c #define ETNA_IOCTL(n, func, flags) \ func 471 drivers/gpu/drm/etnaviv/etnaviv_drv.c DRM_IOCTL_DEF_DRV(ETNAVIV_##n, etnaviv_ioctl_##func, flags) func 434 drivers/gpu/drm/i810/i810_dma.c switch (init->func) { func 14296 drivers/gpu/drm/i915/display/intel_display.c wait->wait.func = do_rps_boost; func 17083 drivers/gpu/drm/i915/display/intel_display.c if (connector->modeset_retry_work.func) func 127 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c cur->func(fence, cur); func 1060 drivers/gpu/drm/i915/gt/intel_engine_cs.c t->func(t->data); func 1669 drivers/gpu/drm/i915/gt/intel_lrc.c if (execlists->tasklet.func == execlists_submission_tasklet) func 2640 drivers/gpu/drm/i915/gt/intel_lrc.c execlists->tasklet.func = nop_submission_tasklet; func 2656 drivers/gpu/drm/i915/gt/intel_lrc.c execlists->tasklet.func(execlists->tasklet.data); func 2996 drivers/gpu/drm/i915/gt/intel_lrc.c engine->execlists.tasklet.func = execlists_submission_tasklet; func 3788 drivers/gpu/drm/i915/gt/intel_lrc.c if (sibling->execlists.tasklet.func != func 1092 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c engine->execlists.tasklet.func = guc_submission_tasklet; func 3523 drivers/gpu/drm/i915/gvt/handlers.c gvt_mmio_func func; func 3534 drivers/gpu/drm/i915/gvt/handlers.c func = is_read ? mmio_block->read : mmio_block->write; func 3535 drivers/gpu/drm/i915/gvt/handlers.c if (func) func 3536 drivers/gpu/drm/i915/gvt/handlers.c return func(vgpu, offset, pdata, bytes); func 1238 drivers/gpu/drm/i915/gvt/kvmgt.c int (*func)(struct intel_vgpu *vgpu, unsigned int index, func 1246 drivers/gpu/drm/i915/gvt/kvmgt.c func = intel_vgpu_set_intx_mask; func 1249 drivers/gpu/drm/i915/gvt/kvmgt.c func = intel_vgpu_set_intx_unmask; func 1252 drivers/gpu/drm/i915/gvt/kvmgt.c func = intel_vgpu_set_intx_trigger; func 1263 drivers/gpu/drm/i915/gvt/kvmgt.c func = intel_vgpu_set_msi_trigger; func 1269 drivers/gpu/drm/i915/gvt/kvmgt.c if (!func) func 1272 drivers/gpu/drm/i915/gvt/kvmgt.c return func(vgpu, index, start, count, flags, data); func 370 drivers/gpu/drm/i915/gvt/opregion.c static const char *opregion_func_name(u32 func) func 374 drivers/gpu/drm/i915/gvt/opregion.c switch (func) { func 443 drivers/gpu/drm/i915/gvt/opregion.c u32 func, subfunc; func 445 drivers/gpu/drm/i915/gvt/opregion.c func = GVT_OPREGION_FUNC(scic); func 448 drivers/gpu/drm/i915/gvt/opregion.c if ((func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSDATA && func 450 drivers/gpu/drm/i915/gvt/opregion.c || (func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSDATA && func 452 drivers/gpu/drm/i915/gvt/opregion.c || (func == INTEL_GVT_OPREGION_SCIC_F_GETBIOSCALLBACKS && func 470 drivers/gpu/drm/i915/gvt/opregion.c u32 func, subfunc; func 520 drivers/gpu/drm/i915/gvt/opregion.c func = GVT_OPREGION_FUNC(scic); func 525 drivers/gpu/drm/i915/gvt/opregion.c opregion_func_name(func), func 361 drivers/gpu/drm/i915/i915_request.c cb->work.func = irq_execute_cb_hook; func 59 drivers/gpu/drm/i915/i915_selftest.h #define selftest(name, func) int func(void); func 62 drivers/gpu/drm/i915/i915_selftest.h #define selftest(name, func) int func(struct drm_i915_private *i915); func 67 drivers/gpu/drm/i915/i915_selftest.h int (*func)(void *data); func 151 drivers/gpu/drm/i915/i915_sw_fence.c if (pos->func == autoremove_wake_function) func 152 drivers/gpu/drm/i915/i915_sw_fence.c pos->func(pos, TASK_NORMAL, 0, continuation); func 161 drivers/gpu/drm/i915/i915_sw_fence.c pos->func(pos, func 260 drivers/gpu/drm/i915/i915_sw_fence.c if (wq->func != i915_sw_fence_wake) func 278 drivers/gpu/drm/i915/i915_sw_fence.c if (wq->func != i915_sw_fence_wake) func 340 drivers/gpu/drm/i915/i915_sw_fence.c wq->func = i915_sw_fence_wake; func 440 drivers/gpu/drm/i915/i915_sw_fence.c dma_fence_func_t func; func 463 drivers/gpu/drm/i915/i915_sw_fence.c func = dma_i915_sw_fence_wake; func 475 drivers/gpu/drm/i915/i915_sw_fence.c func = dma_i915_sw_fence_wake_timer; func 478 drivers/gpu/drm/i915/i915_sw_fence.c ret = dma_fence_add_callback(dma, &cb->base, func); func 482 drivers/gpu/drm/i915/i915_sw_fence.c func(dma, &cb->base); func 57 drivers/gpu/drm/i915/i915_utils.c const char *func, int line) func 67 drivers/gpu/drm/i915/i915_utils.c err, i915_modparams.inject_load_failure, func, line); func 64 drivers/gpu/drm/i915/i915_utils.h const char *func, int line); func 106 drivers/gpu/drm/i915/intel_device_info.h #define DEV_INFO_FOR_EACH_FLAG(func) \ func 107 drivers/gpu/drm/i915/intel_device_info.h func(is_mobile); \ func 108 drivers/gpu/drm/i915/intel_device_info.h func(is_lp); \ func 109 drivers/gpu/drm/i915/intel_device_info.h func(require_force_probe); \ func 111 drivers/gpu/drm/i915/intel_device_info.h func(has_64bit_reloc); \ func 112 drivers/gpu/drm/i915/intel_device_info.h func(gpu_reset_clobbers_display); \ func 113 drivers/gpu/drm/i915/intel_device_info.h func(has_reset_engine); \ func 114 drivers/gpu/drm/i915/intel_device_info.h func(has_fpga_dbg); \ func 115 drivers/gpu/drm/i915/intel_device_info.h func(has_global_mocs); \ func 116 drivers/gpu/drm/i915/intel_device_info.h func(has_gt_uc); \ func 117 drivers/gpu/drm/i915/intel_device_info.h func(has_l3_dpf); \ func 118 drivers/gpu/drm/i915/intel_device_info.h func(has_llc); \ func 119 drivers/gpu/drm/i915/intel_device_info.h func(has_logical_ring_contexts); \ func 120 drivers/gpu/drm/i915/intel_device_info.h func(has_logical_ring_elsq); \ func 121 drivers/gpu/drm/i915/intel_device_info.h func(has_logical_ring_preemption); \ func 122 drivers/gpu/drm/i915/intel_device_info.h func(has_pooled_eu); \ func 123 drivers/gpu/drm/i915/intel_device_info.h func(has_rc6); \ func 124 drivers/gpu/drm/i915/intel_device_info.h func(has_rc6p); \ func 125 drivers/gpu/drm/i915/intel_device_info.h func(has_rps); \ func 126 drivers/gpu/drm/i915/intel_device_info.h func(has_runtime_pm); \ func 127 drivers/gpu/drm/i915/intel_device_info.h func(has_snoop); \ func 128 drivers/gpu/drm/i915/intel_device_info.h func(has_coherent_ggtt); \ func 129 drivers/gpu/drm/i915/intel_device_info.h func(unfenced_needs_alignment); \ func 130 drivers/gpu/drm/i915/intel_device_info.h func(hws_needs_physical); func 132 drivers/gpu/drm/i915/intel_device_info.h #define DEV_INFO_DISPLAY_FOR_EACH_FLAG(func) \ func 134 drivers/gpu/drm/i915/intel_device_info.h func(cursor_needs_physical); \ func 135 drivers/gpu/drm/i915/intel_device_info.h func(has_csr); \ func 136 drivers/gpu/drm/i915/intel_device_info.h func(has_ddi); \ func 137 drivers/gpu/drm/i915/intel_device_info.h func(has_dp_mst); \ func 138 drivers/gpu/drm/i915/intel_device_info.h func(has_fbc); \ func 139 drivers/gpu/drm/i915/intel_device_info.h func(has_gmch); \ func 140 drivers/gpu/drm/i915/intel_device_info.h func(has_hotplug); \ func 141 drivers/gpu/drm/i915/intel_device_info.h func(has_ipc); \ func 142 drivers/gpu/drm/i915/intel_device_info.h func(has_modular_fia); \ func 143 drivers/gpu/drm/i915/intel_device_info.h func(has_overlay); \ func 144 drivers/gpu/drm/i915/intel_device_info.h func(has_psr); \ func 145 drivers/gpu/drm/i915/intel_device_info.h func(overlay_needs_physical); \ func 146 drivers/gpu/drm/i915/intel_device_info.h func(supports_tv); func 1208 drivers/gpu/drm/i915/intel_uncore.c #define __gen_read(func, x) \ func 1210 drivers/gpu/drm/i915/intel_uncore.c func##_read##x(struct intel_uncore *uncore, i915_reg_t reg, bool trace) { \ func 1213 drivers/gpu/drm/i915/intel_uncore.c fw_engine = __##func##_reg_read_fw_domains(uncore, offset); \ func 1220 drivers/gpu/drm/i915/intel_uncore.c #define __gen_reg_read_funcs(func) \ func 1222 drivers/gpu/drm/i915/intel_uncore.c func##_reg_read_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) { \ func 1223 drivers/gpu/drm/i915/intel_uncore.c return __##func##_reg_read_fw_domains(uncore, i915_mmio_reg_offset(reg)); \ func 1226 drivers/gpu/drm/i915/intel_uncore.c __gen_read(func, 8) \ func 1227 drivers/gpu/drm/i915/intel_uncore.c __gen_read(func, 16) \ func 1228 drivers/gpu/drm/i915/intel_uncore.c __gen_read(func, 32) \ func 1229 drivers/gpu/drm/i915/intel_uncore.c __gen_read(func, 64) func 1300 drivers/gpu/drm/i915/intel_uncore.c #define __gen_write(func, x) \ func 1302 drivers/gpu/drm/i915/intel_uncore.c func##_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { \ func 1305 drivers/gpu/drm/i915/intel_uncore.c fw_engine = __##func##_reg_write_fw_domains(uncore, offset); \ func 1312 drivers/gpu/drm/i915/intel_uncore.c #define __gen_reg_write_funcs(func) \ func 1314 drivers/gpu/drm/i915/intel_uncore.c func##_reg_write_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) { \ func 1315 drivers/gpu/drm/i915/intel_uncore.c return __##func##_reg_write_fw_domains(uncore, i915_mmio_reg_offset(reg)); \ func 1318 drivers/gpu/drm/i915/intel_uncore.c __gen_write(func, 8) \ func 1319 drivers/gpu/drm/i915/intel_uncore.c __gen_write(func, 16) \ func 1320 drivers/gpu/drm/i915/intel_uncore.c __gen_write(func, 32) func 994 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c int (*func)(struct drm_i915_private *i915, func 1020 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = func(dev_priv, &ppgtt->vm, 0, ppgtt->vm.total, end_time); func 1077 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c int (*func)(struct drm_i915_private *i915, func 1101 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = func(i915, &ggtt->vm, hole_start, hole_end, end_time); func 1245 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c int (*func)(struct drm_i915_private *i915, func 1259 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = func(i915, ctx->vm, 0, min(ctx->vm->total, limit), end_time); func 81 drivers/gpu/drm/i915/selftests/i915_selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) func 83 drivers/gpu/drm/i915/selftests/i915_selftest.c #define selftest_0(n, func, id) \ func 90 drivers/gpu/drm/i915/selftests/i915_selftest.c #define selftest_0(n, func, id) \ func 324 drivers/gpu/drm/i915/selftests/i915_selftest.c err = teardown(st->func(data), data); func 15 drivers/gpu/drm/i915/selftests/igt_live_test.c const char *func, func 25 drivers/gpu/drm/i915/selftests/igt_live_test.c t->func = func; func 34 drivers/gpu/drm/i915/selftests/igt_live_test.c func, name, err); func 60 drivers/gpu/drm/i915/selftests/igt_live_test.c t->func, t->name, func 71 drivers/gpu/drm/i915/selftests/igt_live_test.c t->func, t->name, engine->name, func 16 drivers/gpu/drm/i915/selftests/igt_live_test.h const char *func; func 31 drivers/gpu/drm/i915/selftests/igt_live_test.h const char *func, func 30 drivers/gpu/drm/lima/lima_device.c #define LIMA_IP_DESC(ipname, mst0, mst1, off0, off1, func, irq) \ func 42 drivers/gpu/drm/lima/lima_device.c .init = lima_##func##_init, \ func 43 drivers/gpu/drm/lima/lima_device.c .fini = lima_##func##_fini, \ func 112 drivers/gpu/drm/lima/lima_device.h static inline int lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func, func 119 drivers/gpu/drm/lima/lima_device.h if (func(ip)) func 1021 drivers/gpu/drm/mga/mga_dma.c switch (init->func) { func 39 drivers/gpu/drm/mga/mga_ioc32.c int func; func 68 drivers/gpu/drm/mga/mga_ioc32.c init.func = init32.func; func 41 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c if (cb->func) func 42 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c cb->func(cb->arg, irq_idx); func 213 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c if (!register_irq_cb || !register_irq_cb->func) { func 217 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c register_irq_cb->func != NULL : -1); func 248 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c if (!register_irq_cb || !register_irq_cb->func) { func 252 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c register_irq_cb->func != NULL : -1); func 282 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c irq->cb.func(phys_enc, irq->irq_idx); func 804 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c irq->cb.func = dpu_encoder_phys_cmd_ctl_start_irq; func 810 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c irq->cb.func = dpu_encoder_phys_cmd_pp_tx_done_irq; func 816 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c irq->cb.func = dpu_encoder_phys_cmd_pp_rd_ptr_irq; func 822 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c irq->cb.func = dpu_encoder_phys_cmd_underrun_irq; func 742 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c irq->cb.func = dpu_encoder_phys_vid_vblank_irq; func 748 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c irq->cb.func = dpu_encoder_phys_vid_underrun_irq; func 75 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h void (*func)(void *arg, int irq_idx); func 200 drivers/gpu/drm/nouveau/dispnv50/base507c.c if (!wndw->func->ilut) { func 258 drivers/gpu/drm/nouveau/dispnv50/base507c.c base507c_new_(const struct nv50_wndw_func *func, const u32 *format, func 269 drivers/gpu/drm/nouveau/dispnv50/base507c.c ret = nv50_wndw_new_(func, drm->dev, DRM_PLANE_TYPE_PRIMARY, func 283 drivers/gpu/drm/nouveau/dispnv50/base507c.c ret = nvif_notify_init(&wndw->wndw.base.user, wndw->notify.func, func 7 drivers/gpu/drm/nouveau/dispnv50/core.h const struct nv50_core_func *func; func 88 drivers/gpu/drm/nouveau/dispnv50/core507d.c core507d_new_(const struct nv50_core_func *func, struct nouveau_drm *drm, func 98 drivers/gpu/drm/nouveau/dispnv50/core507d.c core->func = func; func 88 drivers/gpu/drm/nouveau/dispnv50/curs507a.c ret = head->func->curs_layout(head, asyw, asyh); func 92 drivers/gpu/drm/nouveau/dispnv50/curs507a.c return head->func->curs_format(head, asyw, asyh); func 109 drivers/gpu/drm/nouveau/dispnv50/curs507a.c curs507a_new_(const struct nv50_wimm_func *func, struct nouveau_drm *drm, func 134 drivers/gpu/drm/nouveau/dispnv50/curs507a.c wndw->immd = func; func 381 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->dac->ctrl(core, nv_encoder->or, 0x00000000, NULL); func 396 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->dac->ctrl(core, nv_encoder->or, 1 << nv_crtc->index, asyh); func 1423 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->sor->ctrl(core, nv_encoder->or, nv_encoder->ctrl, asyh); func 1666 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->pior->ctrl(core, nv_encoder->or, 0x00000000, NULL); func 1702 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->pior->ctrl(core, nv_encoder->or, (proto << 8) | owner, asyh); func 1793 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->ntfy_init(disp->sync, NV50_DISP_CORE_NTFY); func 1794 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->update(core, interlock, true); func 1795 drivers/gpu/drm/nouveau/dispnv50/disp.c if (core->func->ntfy_wait_done(disp->sync, NV50_DISP_CORE_NTFY, func 1818 drivers/gpu/drm/nouveau/dispnv50/disp.c if (wndw->func->update) func 1819 drivers/gpu/drm/nouveau/dispnv50/disp.c wndw->func->update(wndw, interlock); func 1977 drivers/gpu/drm/nouveau/dispnv50/disp.c disp->core->func->update(disp->core, interlock, false); func 2280 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->init(core); func 40 drivers/gpu/drm/nouveau/dispnv50/head.c if (clr.olut) head->func->olut_clr(head); func 41 drivers/gpu/drm/nouveau/dispnv50/head.c if (clr.core) head->func->core_clr(head); func 42 drivers/gpu/drm/nouveau/dispnv50/head.c if (clr.curs) head->func->curs_clr(head); func 48 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.view ) head->func->view (head, asyh); func 49 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.mode ) head->func->mode (head, asyh); func 50 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.core ) head->func->core_set(head, asyh); func 56 drivers/gpu/drm/nouveau/dispnv50/head.c head->func->olut_set(head, asyh); func 58 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.curs ) head->func->curs_set(head, asyh); func 59 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.base ) head->func->base (head, asyh); func 60 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.ovly ) head->func->ovly (head, asyh); func 61 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.dither ) head->func->dither (head, asyh); func 62 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.procamp) head->func->procamp (head, asyh); func 63 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->set.or ) head->func->or (head, asyh); func 232 drivers/gpu/drm/nouveau/dispnv50/head.c if (!olut && !head->func->olut_identity) { func 239 drivers/gpu/drm/nouveau/dispnv50/head.c head->func->olut(head, asyh); func 289 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->set.or = head->func->or != NULL; func 325 drivers/gpu/drm/nouveau/dispnv50/head.c asyh->set.or = head->func->or != NULL; func 349 drivers/gpu/drm/nouveau/dispnv50/head.c if (head->func->core_calc) { func 350 drivers/gpu/drm/nouveau/dispnv50/head.c head->func->core_calc(head, asyh); func 490 drivers/gpu/drm/nouveau/dispnv50/head.c head->func = disp->core->func->head; func 519 drivers/gpu/drm/nouveau/dispnv50/head.c if (head->func->olut_set) { func 11 drivers/gpu/drm/nouveau/dispnv50/head.h const struct nv50_head_func *func; func 27 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c oimm507b_init_(const struct nv50_wimm_func *func, struct nouveau_drm *drm, func 44 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c wndw->immd = func; func 169 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c ovly507e_new_(const struct nv50_wndw_func *func, const u32 *format, func 180 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c ret = nv50_wndw_new_(func, drm->dev, DRM_PLANE_TYPE_OVERLAY, func 195 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c ret = nvif_notify_init(&wndw->wndw.base.user, wndw->notify.func, false, func 60 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c wimmc37b_init_(const struct nv50_wimm_func *func, struct nouveau_drm *drm, func 79 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c wndw->immd = func; func 106 drivers/gpu/drm/nouveau/dispnv50/wndw.c return wndw->func->ntfy_wait_begun(disp->sync, func 120 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (clr.sema ) wndw->func-> sema_clr(wndw); func 121 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (clr.ntfy ) wndw->func-> ntfy_clr(wndw); func 122 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (clr.xlut ) wndw->func-> xlut_clr(wndw); func 123 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (clr.csc ) wndw->func-> csc_clr(wndw); func 124 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (clr.image) wndw->func->image_clr(wndw); func 138 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.sema ) wndw->func->sema_set (wndw, asyw); func 139 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); func 140 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.image) wndw->func->image_set(wndw, asyw); func 148 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->xlut_set(wndw, asyw); func 151 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.csc ) wndw->func->csc_set (wndw, asyw); func 152 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.scale) wndw->func->scale_set(wndw, asyw); func 153 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->set.blend) wndw->func->blend_set(wndw, asyw); func 176 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->ntfy_reset(disp->sync, wndw->ntfy); func 187 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->release(wndw, asyw, asyh); func 275 drivers/gpu/drm/nouveau/dispnv50/wndw.c asyw->set.image = wndw->func->image_set != NULL; func 278 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->scale_set) { func 289 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->blend_set) { func 318 drivers/gpu/drm/nouveau/dispnv50/wndw.c return wndw->func->acquire(wndw, asyw, asyh); func 346 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->ilut) func 352 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (!ilut && wndw->func->ilut_identity && func 361 drivers/gpu/drm/nouveau/dispnv50/wndw.c if ((asyw->ilut = wndw->func->ilut ? ilut : NULL)) { func 362 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->ilut(wndw, asyw); func 371 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->olut_core && func 375 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->csc && asyh->state.ctm) { func 377 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->csc(wndw, asyw, ctm); func 423 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (asyw->visible && wndw->func->xlut_set && func 457 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->image_clr) func 509 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->prepare) { func 514 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func->prepare(wndw, asyh, asyw); func 628 drivers/gpu/drm/nouveau/dispnv50/wndw.c nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev, func 643 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->func = func; func 664 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->ilut) { func 670 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->notify.func = nv50_wndw_notify; func 672 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (wndw->func->blend_set) { func 16 drivers/gpu/drm/nouveau/dispnv50/wndw.h const struct nv50_wndw_func *func; func 276 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c wndwc37e_new_(const struct nv50_wndw_func *func, struct nouveau_drm *drm, func 288 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c ret = nv50_wndw_new_(func, drm->dev, type, "wndw", index, func 16 drivers/gpu/drm/nouveau/include/nvif/notify.h int (*func)(struct nvif_notify *); func 27 drivers/gpu/drm/nouveau/include/nvif/notify.h int nvif_notify_init(struct nvif_object *, int (*func)(struct nvif_notify *), func 7 drivers/gpu/drm/nouveau/include/nvif/user.h const struct nvif_user_func *func; func 88 drivers/gpu/drm/nouveau/include/nvkm/core/device.h const struct nvkm_device_func *func; func 10 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h const struct nvkm_engine_func *func; func 9 drivers/gpu/drm/nouveau/include/nvkm/core/event.h const struct nvkm_event_func *func; func 28 drivers/gpu/drm/nouveau/include/nvkm/core/event.h int nvkm_event_init(const struct nvkm_event_func *func, int types_nr, func 12 drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h const struct nvkm_gpuobj_func *func; func 22 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h const struct nvkm_memory_func *func; func 58 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_target(p) (p)->func->target(p) func 59 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_page(p) (p)->func->page(p) func 60 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_bar2(p) (p)->func->bar2(p) func 61 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_addr(p) (p)->func->addr(p) func 62 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_size(p) (p)->func->size(p) func 63 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_memory_boot(p,v) (p)->func->boot((p),(v)) func 65 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h (p)->func->map((p),(o),(vm),(va),(av),(ac)) func 70 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_kmap(o) (o)->func->acquire(o) func 71 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h #define nvkm_done(o) (o)->func->release(o) func 16 drivers/gpu/drm/nouveau/include/nvkm/core/notify.h int (*func)(struct nvkm_notify *); func 32 drivers/gpu/drm/nouveau/include/nvkm/core/notify.h int (*func)(struct nvkm_notify *), bool work, func 9 drivers/gpu/drm/nouveau/include/nvkm/core/object.h const struct nvkm_object_func *func; func 12 drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h const struct nvkm_object_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/core/oproxy.h const struct nvkm_oproxy_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h const struct nvkm_subdev_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h const struct nvkm_device_tegra_func *func; func 9 drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h const struct nvkm_disp_func *func; func 9 drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h const struct nvkm_dmaobj_func *func; func 20 drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h const struct nvkm_dma_func *func; func 19 drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h const struct nvkm_falcon_func *func; func 18 drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h const struct nvkm_fifo_chan_func *func; func 36 drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h const struct nvkm_fifo_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h const struct nvkm_gr_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h const struct nvkm_pm_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/engine/sw.h const struct nvkm_sw_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/engine/xtensa.h const struct nvkm_xtensa_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h const struct nvkm_bar_func *func; func 34 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u8 func; func 50 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/gpio.h u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line, func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h const struct nvkm_bus_func *func; func 84 drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h const struct nvkm_clk_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h const struct nvkm_devinit_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h const struct nvkm_fault_func *func; func 33 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h const struct nvkm_fb_func *func; func 115 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h const struct nvkm_ram_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/fuse.h const struct nvkm_fuse_func *func; func 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h const struct nvkm_gpio_func *func; func 29 drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h void nvkm_gpio_reset(struct nvkm_gpio *, u8 func); func 30 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h const struct nvkm_i2c_bus_func *func; func 52 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h const struct nvkm_i2c_aux_func *func; func 75 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h const struct nvkm_i2c_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h const struct nvkm_instmem_func *func; func 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h const struct nvkm_ltc_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h const struct nvkm_mc_func *func; func 26 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h const struct nvkm_vmm_func *func; func 88 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h const struct nvkm_mmu_func *func; func 13 drivers/gpu/drm/nouveau/include/nvkm/subdev/pci.h const struct nvkm_pci_func *func; func 8 drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h const struct nvkm_pmu_func *func; func 44 drivers/gpu/drm/nouveau/include/nvkm/subdev/secboot.h const struct nvkm_secboot_func *func; func 60 drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h const struct nvkm_therm_func *func; func 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h void (*func)(struct nvkm_alarm *); func 14 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h nvkm_alarm_init(struct nvkm_alarm *alarm, void (*func)(struct nvkm_alarm *)) func 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h alarm->func = func; func 21 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h const struct nvkm_timer_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h const struct nvkm_top_func *func; func 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/volt.h const struct nvkm_volt_func *func; func 72 drivers/gpu/drm/nouveau/nouveau_acpi.c static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result) func 89 drivers/gpu/drm/nouveau/nouveau_acpi.c func, &argv4, ACPI_TYPE_BUFFER); func 131 drivers/gpu/drm/nouveau/nouveau_acpi.c static int nouveau_dsm(acpi_handle handle, int func, int arg) func 141 drivers/gpu/drm/nouveau/nouveau_acpi.c func, &argv4, ACPI_TYPE_INTEGER); func 684 drivers/gpu/drm/nouveau/nouveau_bo.c man->func = &nouveau_vram_manager; func 688 drivers/gpu/drm/nouveau/nouveau_bo.c man->func = &ttm_bo_manager_func; func 693 drivers/gpu/drm/nouveau/nouveau_bo.c man->func = &nouveau_gart_manager; func 696 drivers/gpu/drm/nouveau/nouveau_bo.c man->func = &nv04_gart_manager; func 698 drivers/gpu/drm/nouveau/nouveau_bo.c man->func = &ttm_bo_manager_func; func 1470 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.base = device->func->resource_addr(device, 1); func 1543 drivers/gpu/drm/nouveau/nouveau_bo.c u32 mappable = device->func->resource_size(device, 1) >> PAGE_SHIFT; func 191 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = nvxx_device(device)->func-> func 513 drivers/gpu/drm/nouveau/nouveau_display.c dev->mode_config.fb_base = device->func->resource_addr(device, 1); func 103 drivers/gpu/drm/nouveau/nouveau_dma.c if (user->func && user->func->doorbell) func 104 drivers/gpu/drm/nouveau/nouveau_dma.c user->func->doorbell(user, chan->token); func 141 drivers/gpu/drm/nouveau/nouveau_drm.c work->func(work); func 1278 drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_platform_device_create(const struct nvkm_device_tegra_func *func, func 1285 drivers/gpu/drm/nouveau/nouveau_drm.c err = nvkm_device_tegra_new(func, pdev, nouveau_config, nouveau_debug, func 115 drivers/gpu/drm/nouveau/nouveau_drv.h void (*func)(struct nouveau_cli_work *); func 130 drivers/gpu/drm/nouveau/nouveau_gem.c work->work.func = nouveau_gem_object_delete_work; func 26 drivers/gpu/drm/nouveau/nouveau_platform.c const struct nvkm_device_tegra_func *func; func 31 drivers/gpu/drm/nouveau/nouveau_platform.c func = of_device_get_match_data(&pdev->dev); func 33 drivers/gpu/drm/nouveau/nouveau_platform.c drm = nouveau_platform_device_create(func, pdev, &device); func 95 drivers/gpu/drm/nouveau/nouveau_sgdma.c nvbe->ttm.ttm.func = &nv04_sgdma_backend; func 97 drivers/gpu/drm/nouveau/nouveau_sgdma.c nvbe->ttm.ttm.func = &nv50_sgdma_backend; func 244 drivers/gpu/drm/nouveau/nouveau_ttm.c arch_io_reserve_memtype_wc(device->func->resource_addr(device, 1), func 245 drivers/gpu/drm/nouveau/nouveau_ttm.c device->func->resource_size(device, 1)); func 254 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), func 255 drivers/gpu/drm/nouveau/nouveau_ttm.c device->func->resource_size(device, 1)); func 288 drivers/gpu/drm/nouveau/nouveau_ttm.c arch_io_free_memtype_wc(device->func->resource_addr(device, 1), func 289 drivers/gpu/drm/nouveau/nouveau_ttm.c device->func->resource_size(device, 1)); func 53 drivers/gpu/drm/nouveau/nvif/device.c device->user.func = NULL; func 93 drivers/gpu/drm/nouveau/nvif/notify.c int ret = notify->func(notify); func 165 drivers/gpu/drm/nouveau/nvif/notify.c nvif_notify_init(struct nvif_object *object, int (*func)(struct nvif_notify *), func 179 drivers/gpu/drm/nouveau/nvif/notify.c notify->func = func; func 30 drivers/gpu/drm/nouveau/nvif/user.c if (device->user.func) { func 32 drivers/gpu/drm/nouveau/nvif/user.c device->user.func = NULL; func 42 drivers/gpu/drm/nouveau/nvif/user.c const struct nvif_user_func *func; func 49 drivers/gpu/drm/nouveau/nvif/user.c if (device->user.func) func 62 drivers/gpu/drm/nouveau/nvif/user.c device->user.func = users[cid].func; func 33 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->chsw_load) func 34 drivers/gpu/drm/nouveau/nvkm/core/engine.c return engine->func->chsw_load(engine); func 73 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->tile) func 74 drivers/gpu/drm/nouveau/nvkm/core/engine.c engine->func->tile(engine, region, &fb->tile.region[region]); func 81 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->intr) func 82 drivers/gpu/drm/nouveau/nvkm/core/engine.c engine->func->intr(engine); func 89 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->info) { func 91 drivers/gpu/drm/nouveau/nvkm/core/engine.c int ret = engine->func->info(engine, mthd, data); func 104 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->fini) func 105 drivers/gpu/drm/nouveau/nvkm/core/engine.c return engine->func->fini(engine, suspend); func 122 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->oneinit && !engine->subdev.oneinit) { func 125 drivers/gpu/drm/nouveau/nvkm/core/engine.c ret = engine->func->oneinit(engine); func 136 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->init) func 137 drivers/gpu/drm/nouveau/nvkm/core/engine.c ret = engine->func->init(engine); func 148 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->preinit) func 149 drivers/gpu/drm/nouveau/nvkm/core/engine.c engine->func->preinit(engine); func 157 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (engine->func->dtor) func 158 drivers/gpu/drm/nouveau/nvkm/core/engine.c return engine->func->dtor(engine); func 173 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_ctor(const struct nvkm_engine_func *func, func 178 drivers/gpu/drm/nouveau/nvkm/core/engine.c engine->func = func; func 190 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_new_(const struct nvkm_engine_func *func, func 196 drivers/gpu/drm/nouveau/nvkm/core/engine.c return nvkm_engine_ctor(func, device, index, enable, *pengine); func 32 drivers/gpu/drm/nouveau/nvkm/core/event.c if (event->func->fini) func 33 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func->fini(event, 1 << type, index); func 45 drivers/gpu/drm/nouveau/nvkm/core/event.c if (event->func->init) func 46 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func->init(event, 1 << type, index); func 64 drivers/gpu/drm/nouveau/nvkm/core/event.c if (event->func->send) { func 65 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func->send(data, size, notify); func 84 drivers/gpu/drm/nouveau/nvkm/core/event.c nvkm_event_init(const struct nvkm_event_func *func, int types_nr, int index_nr, func 93 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func = func; func 69 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_heap; func 94 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_heap_fast; func 96 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_heap_slow; func 132 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_func; func 158 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_fast; func 160 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_slow; func 190 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_func; func 206 drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c gpuobj->func = &nvkm_gpuobj_heap; func 66 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c while (object->func->sclass && func 67 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c object->func->sclass(object, i, &oclass) >= 0) { func 102 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!parent->func->sclass) { func 115 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = parent->func->sclass(parent, i++, &oclass); func 382 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c int (*func)(struct nvkm_client *, struct nvkm_object *, void *, u32); func 422 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_ioctl_v0[type].func(client, object, data, size); func 100 drivers/gpu/drm/nouveau/nvkm/core/memory.c nvkm_memory_ctor(const struct nvkm_memory_func *func, func 103 drivers/gpu/drm/nouveau/nvkm/core/memory.c memory->func = func; func 111 drivers/gpu/drm/nouveau/nvkm/core/memory.c if (!WARN_ON(!memory->func)) { func 112 drivers/gpu/drm/nouveau/nvkm/core/memory.c if (memory->func->dtor) func 113 drivers/gpu/drm/nouveau/nvkm/core/memory.c memory = memory->func->dtor(memory); func 73 drivers/gpu/drm/nouveau/nvkm/core/notify.c int ret = notify->func(notify); func 133 drivers/gpu/drm/nouveau/nvkm/core/notify.c int (*func)(struct nvkm_notify *), bool work, func 140 drivers/gpu/drm/nouveau/nvkm/core/notify.c ret = event->func->ctor(object, data, size, notify); func 144 drivers/gpu/drm/nouveau/nvkm/core/notify.c notify->func = func; func 30 drivers/gpu/drm/nouveau/nvkm/core/object.c const struct nvkm_object_func *func) func 52 drivers/gpu/drm/nouveau/nvkm/core/object.c if (unlikely(func && object->func != func)) func 90 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->mthd)) func 91 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->mthd(object, mthd, data, size); func 99 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->ntfy)) func 100 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->ntfy(object, mthd, pevent); func 108 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->map)) func 109 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->map(object, argv, argc, type, addr, size); func 116 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->unmap)) func 117 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->unmap(object); func 124 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->rd08)) func 125 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->rd08(object, addr, data); func 132 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->rd16)) func 133 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->rd16(object, addr, data); func 140 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->rd32)) func 141 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->rd32(object, addr, data); func 148 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->wr08)) func 149 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->wr08(object, addr, data); func 156 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->wr16)) func 157 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->wr16(object, addr, data); func 164 drivers/gpu/drm/nouveau/nvkm/core/object.c if (likely(object->func->wr32)) func 165 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->wr32(object, addr, data); func 173 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->bind) func 174 drivers/gpu/drm/nouveau/nvkm/core/object.c return object->func->bind(object, gpuobj, align, pgpuobj); func 195 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->fini) { func 196 drivers/gpu/drm/nouveau/nvkm/core/object.c ret = object->func->fini(object, suspend); func 209 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->init) { func 210 drivers/gpu/drm/nouveau/nvkm/core/object.c int rret = object->func->init(object); func 230 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->init) { func 231 drivers/gpu/drm/nouveau/nvkm/core/object.c ret = object->func->init(object); func 252 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->fini) func 253 drivers/gpu/drm/nouveau/nvkm/core/object.c object->func->fini(object, false); func 272 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object->func->dtor) func 273 drivers/gpu/drm/nouveau/nvkm/core/object.c data = object->func->dtor(object); func 284 drivers/gpu/drm/nouveau/nvkm/core/object.c if (object && !WARN_ON(!object->func)) { func 294 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_ctor(const struct nvkm_object_func *func, func 297 drivers/gpu/drm/nouveau/nvkm/core/object.c object->func = func; func 312 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_new_(const struct nvkm_object_func *func, func 319 drivers/gpu/drm/nouveau/nvkm/core/object.c nvkm_object_ctor(func, oclass, *pobject); func 333 drivers/gpu/drm/nouveau/nvkm/core/object.c const struct nvkm_object_func *func = func 334 drivers/gpu/drm/nouveau/nvkm/core/object.c oclass->base.func ? oclass->base.func : &nvkm_object_func; func 335 drivers/gpu/drm/nouveau/nvkm/core/object.c return nvkm_object_new_(func, oclass, data, size, pobject); func 103 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (!oproxy->object->func->sclass) func 105 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c return oproxy->object->func->sclass(oproxy->object, index, oclass); func 114 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->fini[0]) { func 115 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->func->fini[0](oproxy, suspend); func 120 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->object->func->fini) { func 121 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->object->func->fini(oproxy->object, suspend); func 126 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->fini[1]) { func 127 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->func->fini[1](oproxy, suspend); func 141 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->init[0]) { func 142 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->func->init[0](oproxy); func 147 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->object->func->init) { func 148 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->object->func->init(oproxy->object); func 153 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->init[1]) { func 154 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c ret = oproxy->func->init[1](oproxy); func 166 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->dtor[0]) func 167 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c oproxy->func->dtor[0](oproxy); func 169 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c if (oproxy->func->dtor[1]) func 170 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c oproxy->func->dtor[1](oproxy); func 194 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_ctor(const struct nvkm_oproxy_func *func, func 198 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c oproxy->func = func; func 202 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_new_(const struct nvkm_oproxy_func *func, func 207 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_ctor(func, oclass, *poproxy); func 97 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->intr) func 98 drivers/gpu/drm/nouveau/nvkm/core/subdev.c subdev->func->intr(subdev); func 104 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->info) func 105 drivers/gpu/drm/nouveau/nvkm/core/subdev.c return subdev->func->info(subdev, mthd, data); func 119 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->fini) { func 120 drivers/gpu/drm/nouveau/nvkm/core/subdev.c int ret = subdev->func->fini(subdev, suspend); func 143 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->preinit) { func 144 drivers/gpu/drm/nouveau/nvkm/core/subdev.c int ret = subdev->func->preinit(subdev); func 165 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->oneinit && !subdev->oneinit) { func 169 drivers/gpu/drm/nouveau/nvkm/core/subdev.c ret = subdev->func->oneinit(subdev); func 180 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->init) { func 181 drivers/gpu/drm/nouveau/nvkm/core/subdev.c ret = subdev->func->init(subdev); func 199 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev && !WARN_ON(!subdev->func)) { func 202 drivers/gpu/drm/nouveau/nvkm/core/subdev.c if (subdev->func->dtor) func 203 drivers/gpu/drm/nouveau/nvkm/core/subdev.c *psubdev = subdev->func->dtor(subdev); func 212 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_subdev_ctor(const struct nvkm_subdev_func *func, func 217 drivers/gpu/drm/nouveau/nvkm/core/subdev.c subdev->func = func; func 2749 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->func->fini) func 2750 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c device->func->fini(device, suspend); func 2779 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->func->preinit) { func 2780 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c ret = device->func->preinit(device); func 2822 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->func->init) { func 2823 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c ret = device->func->init(device); func 2876 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->func->dtor) func 2877 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c *pdevice = device->func->dtor(device); func 2886 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvkm_device_ctor(const struct nvkm_device_func *func, func 2904 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c device->func = func; func 2919 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c mmio_base = device->func->resource_addr(device, 0); func 2920 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c mmio_size = device->func->resource_size(device, 0); func 121 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c if (!tdev->func->iommu_bit) func 153 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c (1ULL << tdev->func->iommu_bit) >> func 275 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c nvkm_device_tegra_new(const struct nvkm_device_tegra_func *func, func 287 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c tdev->func = func; func 290 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c if (func->require_vdd) { func 310 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c if (func->require_ref_clk) func 326 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(tdev->func->iommu_bit)); func 359 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c nvkm_device_tegra_new(const struct nvkm_device_tegra_func *func, func 288 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c *addr = device->func->resource_addr(device, 0); func 289 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c *size = device->func->resource_size(device, 0); func 360 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c !(engine->func->base.sclass)) func 364 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c index -= engine->func->base.sclass(oclass, index, &sclass); func 417 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c const struct nvkm_object_func *func; func 430 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c func = &nvkm_udevice_super; func 432 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c func = &nvkm_udevice; func 436 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_object_ctor(func, oclass, &udev->object); func 48 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c head->func->vblank_put(head); func 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c head->func->vblank_get(head); func 200 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c const struct nvkm_disp_oclass *root = disp->func->root(disp); func 213 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c disp->func->intr(disp); func 223 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (disp->func->fini) func 224 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c disp->func->fini(disp); func 253 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (disp->func->init) { func 254 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c int ret = disp->func->init(disp); func 263 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c ior->func->power(ior, true, true, true, true, true); func 397 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (disp->func->oneinit) { func 398 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c ret = disp->func->oneinit(disp); func 431 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (disp->func->dtor) func 432 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c data = disp->func->dtor(disp); func 475 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c nvkm_disp_ctor(const struct nvkm_disp_func *func, struct nvkm_device *device, func 478 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c disp->func = func; func 487 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c nvkm_disp_new_(const struct nvkm_disp_func *func, struct nvkm_device *device, func 492 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c return nvkm_disp_ctor(func, device, index, *pdisp); func 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c nv50_disp_base_new_(const struct nv50_disp_chan_func *func, func 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c return nv50_disp_dmac_new_(func, mthd, disp, chid + head, func 181 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c u64 size, base = chan->func->user(chan, &size); func 191 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c u64 size, base = chan->func->user(chan, &size); func 218 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c const u64 base = device->func->resource_addr(device, 0); func 220 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c *addr = base + chan->func->user(chan, size); func 264 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c object->hash = chan->func->bind(chan, object->oproxy.object, func 280 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c if (chan->func->bind) func 285 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c if (sclass->engine && sclass->engine->func->base.sclass) { func 286 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c sclass->engine->func->base.sclass(sclass, index, &oclass); func 301 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c chan->func->fini(chan); func 302 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c chan->func->intr(chan, false); func 310 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c chan->func->intr(chan, true); func 311 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c return chan->func->init(chan); func 338 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_new_(const struct nv50_disp_chan_func *func, func 351 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c chan->func = func; func 10 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.h const struct nv50_disp_chan_func *func; func 83 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c struct dcb_gpio_func func; func 101 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c ret = nvkm_gpio_find(gpio, 0, info->hpd, DCB_GPIO_UNUSED, &func); func 111 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c .line = func.line, func 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c nv50_disp_core_new_(const struct nv50_disp_chan_func *func, func 55 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c return nv50_disp_dmac_new_(func, mthd, disp, chid, 0, func 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c nv50_disp_curs_new_(const struct nv50_disp_chan_func *func, func 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c return nv50_disp_chan_new_(func, NULL, disp, ctrl + head, user + head, func 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c dac->func->power(dac, false, true, false, false, false); func 49 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c dac->func->power(dac, false, false, false, false, false); func 34 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c nv50_disp_dmac_new_(const struct nv50_disp_chan_func *func, func 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.c ret = nv50_disp_chan_new_(func, mthd, disp, chid, chid, head, oclass, func 122 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ior->func->dp.drive(ior, i, ocfg.pc, ocfg.dc, func 146 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c dp->outp.ior->func->dp.pattern(dp->outp.ior, pattern); func 260 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = ior->func->dp.links(ior, dp->aux); func 269 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ior->func->dp.power(ior, ior->dp.nr); func 547 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c dp->outp.func->acquire(&dp->outp); func 143 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c disp->func->intr_error(disp, chid); func 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c head->func->state(head, &head->arm); func 72 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c head->func->rgpos(head, &args->v0.hline, &args->v0.vline); func 93 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c nvkm_head_new_(const struct nvkm_head_func *func, func 99 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c head->func = func; func 7 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h const struct nvkm_head_func *func; func 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.c nvkm_ior_new_(const struct nvkm_ior_func *func, struct nvkm_disp *disp, func 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.c ior->func = func; func 8 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h const struct nvkm_ior_func *func; func 94 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h int nvkm_ior_new_(const struct nvkm_ior_func *func, struct nvkm_disp *, func 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c return nv50_disp(base)->func->root; func 49 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->func->intr(disp); func 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->func->fini(disp); func 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c return disp->func->init(disp); func 85 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c const struct nv50_disp_func *func = disp->func; func 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->wndw.cnt) { func 91 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->wndw.nr = func->wndw.cnt(&disp->base, &disp->wndw.mask); func 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->head.nr = func->head.cnt(&disp->base, &disp->head.mask); func 100 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ret = func->head.new(&disp->base, i); func 105 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->dac.cnt) { func 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->dac.nr = func->dac.cnt(&disp->base, &disp->dac.mask); func 110 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ret = func->dac.new(&disp->base, i); func 116 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (func->pior.cnt) { func 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->pior.nr = func->pior.cnt(&disp->base, &disp->pior.mask); func 121 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ret = func->pior.new(&disp->base, i); func 127 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->sor.nr = func->sor.cnt(&disp->base, &disp->sor.mask); func 131 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ret = func->sor.new(&disp->base, i); func 141 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c return nvkm_ramht_new(device, func->ramht_size ? func->ramht_size : func 156 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nv50_disp_new_(const struct nv50_disp_func *func, struct nvkm_device *device, func 164 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c disp->func = func; func 175 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c INIT_WORK(&disp->supervisor, func->super); func 177 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c return nvkm_event_init(func->uevent, 1, ARRAY_SIZE(disp->chan), func 320 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (ior->func->war_3) func 321 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->war_3(ior); func 349 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->dp.audio_sym(ior, head->id, h, v); func 358 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c for (TU = 64; ior->func->dp.activesym && TU >= 32; TU--) { func 409 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (ior->func->dp.activesym) { func 414 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->dp.activesym(ior, head->id, bestTU, func 427 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->dp.watermark(ior, head->id, unk); func 458 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if ((outp = ior->asy.outp) && outp->func->acquire) func 459 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c outp->func->acquire(outp); func 465 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c head->func->rgclk(head, ior->asy.rgdiv); func 472 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->clock(ior); func 473 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (ior->func->war_2) func 474 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->war_2(ior); func 506 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if ((outp = ior->arm.outp) && outp->func->disable) func 507 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c outp->func->disable(outp, ior); func 533 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c head->func->state(head, &head->arm); func 534 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c head->func->state(head, &head->asy); func 538 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->state(ior, &ior->arm); func 539 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->state(ior, &ior->asy); func 11 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h const struct nv50_disp_func *func; func 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c nv50_disp_oimm_new_(const struct nv50_disp_chan_func *func, func 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c return nv50_disp_chan_new_(func, NULL, disp, ctrl + head, user + head, func 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (ior->func->route.set) func 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c ior->func->route.set(outp, NULL); func 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (ior->func->route.set) func 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c ior->func->route.set(outp, ior); func 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (outp->func->release && outp->ior) func 97 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c outp->func->release(outp); func 152 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c (ior->func->route.set || ior->id == __ffs(outp->info.or))) func 161 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c (ior->func->route.set || ior->id == __ffs(outp->info.or))) func 171 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (outp->func->fini) func 172 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c outp->func->fini(outp); func 196 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (ior->func->route.get) { func 197 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c id = ior->func->route.get(outp, &link); func 215 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c ior->func->state(ior, &ior->arm); func 230 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (outp->func->init) func 231 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c outp->func->init(outp); func 238 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (outp && !WARN_ON(!outp->func)) { func 239 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c if (outp->func->dtor) func 240 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c *poutp = outp->func->dtor(outp); func 247 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c nvkm_outp_ctor(const struct nvkm_outp_func *func, struct nvkm_disp *disp, func 254 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c outp->func = func; func 10 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h const struct nvkm_outp_func *func; func 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c nv50_disp_ovly_new_(const struct nv50_disp_chan_func *func, func 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c return nv50_disp_dmac_new_(func, mthd, disp, chid + head, func 125 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ret = outp->ior->func->sense(outp->ior, args->v0.data); func 151 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!ior->func->hda.hpd) func 156 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->dp.audio(ior, hidx, true); func 157 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->hda.hpd(ior, hidx, true); func 158 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->hda.eld(ior, data, size); func 161 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->dp.audio(ior, hidx, false); func 162 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ior->func->hda.hpd(ior, hidx, false); func 199 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!outp->ior->func->hdmi.ctrl) func 202 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp->ior->func->hdmi.ctrl(outp->ior, hidx, args->v0.state, func 207 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (outp->ior->func->hdmi.scdc) func 208 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp->ior->func->hdmi.scdc( func 258 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!outp->ior->func->dp.vcpi) func 260 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp->ior->func->dp.vcpi(outp->ior, hidx, func 292 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (root->func->user[index].ctor) { func 293 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c sclass->base = root->func->user[index].base; func 294 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c sclass->priv = root->func->user + index; func 318 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c nv50_disp_root_new_(const struct nv50_disp_root_func *func, func 330 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c root->func = func; func 9 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h const struct nv50_disp_root_func *func; func 62 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c const u32 shift = sor->func->dp.lanes[ln] * 8; func 92 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c mask |= 1 << sor->func->dp.lanes[i]; func 75 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c const u32 shift = sor->func->dp.lanes[ln] * 8; func 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c const u32 shift = sor->func->dp.lanes[ln] * 8; func 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c gv100_disp_wimm_new_(const struct nv50_disp_chan_func *func, func 72 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c return nv50_disp_dmac_new_(func, mthd, disp, chid + wndw, func 149 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c gv100_disp_wndw_new_(const struct nv50_disp_chan_func *func, func 174 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c return nv50_disp_dmac_new_(func, mthd, disp, chid + wndw, func 40 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c ret = dma->func->class_new(dma, oclass, data, size, &dmaobj); func 106 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c nvkm_dma_new_(const struct nvkm_dma_func *func, struct nvkm_device *device, func 113 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c dma->func = func; func 52 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c return dmaobj->func->bind(dmaobj, gpuobj, align, pgpuobj); func 68 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c nvkm_dmaobj_ctor(const struct nvkm_dmaobj_func *func, struct nvkm_dma *dma, func 85 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c dmaobj->func = func; func 98 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv04.c if (device->mmu->func == &nv04_mmu) func 35 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c while (falcon->func->sclass[c].oclass) { func 37 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c oclass->base = falcon->func->sclass[index]; func 74 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c if (falcon->func->intr) { func 75 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->func->intr(falcon, chan); func 315 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c if (falcon->func->init) func 316 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->func->init(falcon); func 338 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c nvkm_falcon_new_(const struct nvkm_falcon_func *func, func 346 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->func = func; func 348 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->code.data = func->code.data; func 349 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->code.size = func->code.size; func 350 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->data.data = func->data.data; func 351 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c falcon->data.size = func->data.size; func 40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (WARN_ON(!fifo->func->recover_chan)) func 43 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->recover_chan(fifo, chid); func 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->pause(fifo, flags); func 56 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->start(fifo, flags); func 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->fault(fifo, info); func 175 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->uevent_fini(fifo); func 182 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->uevent_init(fifo); func 224 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->class_new(fifo, oclass, data, size, pobject); func 255 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (fifo->func->class_get) { func 256 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c int ret = fifo->func->class_get(fifo, index, oclass); func 262 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c while ((sclass = fifo->func->chan[c])) { func 278 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->intr(fifo); func 285 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (fifo->func->fini) func 286 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->fini(fifo); func 297 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (fifo->func->info) func 298 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->info(fifo, mthd, data); func 308 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (fifo->func->oneinit) func 309 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c return fifo->func->oneinit(fifo); func 323 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func->init(fifo); func 332 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (fifo->func->dtor) func 333 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c data = fifo->func->dtor(fifo); func 353 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_ctor(const struct nvkm_fifo_func *func, struct nvkm_device *device, func 358 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c fifo->func = func; func 372 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (func->uevent_init) { func 52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->engine_fini) { func 53 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = chan->func->engine_fini(chan, engine, suspend); func 91 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->engine_init) { func 92 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = chan->func->engine_init(chan, engine); func 113 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->object_dtor) func 114 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func->object_dtor(chan, object->hash); func 117 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->engine_dtor) func 118 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func->engine_dtor(chan, engine); func 157 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (engine->func->fifo.cclass) { func 158 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = engine->func->fifo.cclass(chan, &cclass, func 161 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (engine->func->cclass) { func 162 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = nvkm_object_new_(engine->func->cclass, &cclass, func 168 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->engine_ctor) { func 169 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = chan->func->engine_ctor(chan, oclass->engine, func 190 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->object_ctor) { func 192 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func->object_ctor(chan, object->oproxy.object); func 217 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (engine->func->fifo.sclass) { func 218 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = engine->func->fifo.sclass(oclass, index); func 230 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c while (engine->func->sclass[c].oclass) { func 232 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c oclass->base = engine->func->sclass[index]; func 250 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (chan->func->ntfy) func 251 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c return chan->func->ntfy(chan, type, pevent); func 300 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func->fini(chan); func 308 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func->init(chan); func 317 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c void *data = chan->func->dtor(chan); func 353 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_fifo_chan_ctor(const struct nvkm_fifo_chan_func *func, func 366 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->func = func; func 416 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c chan->addr = device->func->resource_addr(device, bar) + func 103 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (oclass->engn == &fifo->func->chan) { func 107 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (oclass->engn == &fifo->func->user) { func 122 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (fifo->func->user.ctor && c++ == index) { func 123 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c oclass->base = fifo->func->user.user; func 124 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c oclass->engn = &fifo->func->user; func 128 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (fifo->func->chan.ctor && c++ == index) { func 129 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c oclass->base = fifo->func->chan.user; func 130 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c oclass->engn = &fifo->func->chan; func 181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const struct gk104_fifo_runlist_func *func = fifo->func->runlist; func 194 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c func->chan(chan, mem, nr++ * func->size); func 198 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c func->cgrp(cgrp, mem, nr++ * func->size); func 200 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c func->chan(chan, mem, nr++ * func->size); func 205 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c func->commit(fifo, runl, mem, nr); func 427 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c const struct nvkm_enum *en = fifo->func->fault.engine; func 477 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c er = nvkm_enum_find(fifo->func->fault.reason, info->reason); func 478 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c ee = nvkm_enum_find(fifo->func->fault.engine, info->engine); func 480 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c ec = nvkm_enum_find(fifo->func->fault.hubclient, info->client); func 482 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c ec = nvkm_enum_find(fifo->func->fault.gpcclient, info->client); func 485 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c ea = nvkm_enum_find(fifo->func->fault.access, info->access); func 827 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->func->intr.fault(&fifo->base, unit); func 913 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->pbdma_nr = fifo->func->pbdma->nr(fifo); func 951 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->func->runlist->size, func 985 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->func->pbdma->init(fifo); func 1002 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (fifo->func->pbdma->init_timeout) func 1003 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->func->pbdma->init_timeout(fifo); func 1044 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c gk104_fifo_new_(const struct gk104_fifo_func *func, struct nvkm_device *device, func 1051 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c fifo->func = func; func 13 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.h const struct gk104_fifo_func *func; func 288 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c if (fifo->func->cgrp_force) { func 123 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c gv100_fifo_gpfifo_new_(const struct nvkm_fifo_chan_func *func, func 155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c ret = nvkm_fifo_chan_ctor(func, &fifo->base, 0x1000, 0x1000, true, vmm, func 163 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c *token = chan->base.func->submit_token(&chan->base); func 168 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c if (fifo->func->cgrp_force) { func 328 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c nv04_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, func 340 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c ret = nvkm_fifo_ctor(func, device, index, nr, &fifo->base); func 109 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c nv50_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, func 119 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c ret = nvkm_fifo_ctor(func, device, index, 128, &fifo->base); func 29 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usergv100.c *addr = 0x810000 + device->func->resource_addr(device, 0); func 29 drivers/gpu/drm/nouveau/nvkm/engine/fifo/usertu102.c *addr = 0xbb0000 + device->func->resource_addr(device, 0); func 32 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr && gr->func->ctxsw.inst) func 33 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->ctxsw.inst(gr); func 41 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr && gr->func->ctxsw.resume) func 42 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->ctxsw.resume(gr); func 50 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr && gr->func->ctxsw.pause) func 51 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->ctxsw.pause(gr); func 59 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->chsw_load) func 60 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->chsw_load(gr); func 68 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->tile) func 69 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c gr->func->tile(gr, region, tile); func 75 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->units) func 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->units(gr); func 83 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->tlb_flush) func 84 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->tlb_flush(gr); func 94 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->object_get) { func 95 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c int ret = gr->func->object_get(gr, index, &oclass->base); func 101 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c while (gr->func->sclass[c].oclass) { func 103 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c oclass->base = gr->func->sclass[index]; func 117 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->chan_new) func 118 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->chan_new(gr, chan, oclass, pobject); func 126 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c gr->func->intr(gr); func 133 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->oneinit) func 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->oneinit(gr); func 142 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->init(gr); func 149 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->fini) func 150 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->fini(gr, suspend); func 158 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->dtor) func 159 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->dtor(gr); func 177 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c nvkm_gr_ctor(const struct nvkm_gr_func *func, struct nvkm_device *device, func 180 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c gr->func = func; func 1042 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 1054 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 1067 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 1328 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *func = gr->func->grctx; func 1333 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->sm_id(gr, gr->sm[sm].gpc, gr->sm[sm].tpc, sm); func 1334 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->tpc_nr) func 1335 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->tpc_nr(gr, gr->sm[sm].gpc); func 1345 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->r4060a8) func 1346 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->r4060a8(gr); func 1348 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->rop_mapping(gr); func 1350 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->alpha_beta_tables) func 1351 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->alpha_beta_tables(gr); func 1352 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->max_ways_evict) func 1353 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->max_ways_evict(gr); func 1354 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->dist_skip_table) func 1355 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->dist_skip_table(gr); func 1356 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->r406500) func 1357 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->r406500(gr); func 1358 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->gpc_tpc_nr) func 1359 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->gpc_tpc_nr(gr); func 1360 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->r419f78) func 1361 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->r419f78(gr); func 1362 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->tpc_mask) func 1363 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->tpc_mask(gr); func 1364 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c if (func->smid_config) func 1365 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c func->smid_config(gr); func 1372 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 1441 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 739 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 247 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 877 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 893 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 942 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c for (ppc = 0; ppc < gr->func->ppc_nr; ppc++) { func 31 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 881 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 897 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 912 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 72 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * gr->func->tpc_nr); func 28 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 35 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const struct gf100_grctx_func *grctx = info->gr->func->grctx; func 48 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 107 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c gpcs[gpc + (gr->func->gpc_nr * (tpc / 4))] |= sm << ((tpc % 4) * 8); func 43 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 95 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_color(gr, zbc); func 140 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_depth(gr, zbc); func 292 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_object_ctor(oclass->base.func ? oclass->base.func : func 304 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c while (gr->func->sclass[c].oclass) { func 306 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c *sclass = gr->func->sclass[index]; func 967 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->zbc->stencil_get) { func 968 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->stencil_get(gr, 1, 0x00, 0x00); s++; func 969 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->stencil_get(gr, 1, 0x01, 0x01); s++; func 970 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->stencil_get(gr, 1, 0xff, 0xff); s++; func 975 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_color(gr, index); func 977 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_depth(gr, index); func 979 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->zbc->clear_stencil) { func 981 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_stencil(gr, index); func 1270 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->trap_mp(gr, gpc, tpc); func 1777 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c const struct gf100_grctx_func *grctx = gr->func->grctx; func 1781 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!gr->func->fecs.ucode) { func 1788 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->fecs.ucode->data.data, 0x0, func 1789 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->fecs.ucode->data.size, 0); func 1791 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->fecs.ucode->code.data, 0x0, func 1792 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->fecs.ucode->code.size, 0, 0, false); func 1796 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->gpccs.ucode->data.data, 0x0, func 1797 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->gpccs.ucode->data.size, 0); func 1799 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->gpccs.ucode->code.data, 0x0, func 1800 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->gpccs.ucode->code.size, 0, 0, false); func 1958 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->rop_nr = gr->func->rops(gr); func 1964 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->ppc_nr[i] = gr->func->ppc_nr; func 1981 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->oneinit_tiles(gr); func 1982 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->oneinit_sm_id(gr); func 2029 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c return gr->func->init(gr); func 2060 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->dtor) func 2061 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->dtor(gr); func 2162 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_ctor(const struct gf100_gr_func *func, struct nvkm_device *device, func 2165 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func = func; func 2167 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c func->fecs.ucode == NULL); func 2170 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->firmware || func->fecs.ucode != NULL, func 2175 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_new_(const struct gf100_gr_func *func, struct nvkm_device *device, func 2185 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_ctor(func, device, index, gr); func 2319 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_419bd8) func 2320 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_419bd8(gr); func 2322 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_gpc_mmu(gr); func 2327 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_mmio(gr, gr->func->mmio); func 2331 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_r405a14) func 2332 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_r405a14(gr); func 2334 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->clkgate_pack) func 2335 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_therm_clkgate_init(device->therm, gr->func->clkgate_pack); func 2337 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_bios) func 2338 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_bios(gr); func 2340 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_vsc_stream_master(gr); func 2341 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_zcull(gr); func 2342 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_num_active_ltcs(gr); func 2343 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_rop_active_fbps) func 2344 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_rop_active_fbps(gr); func 2345 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_bios_2) func 2346 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_bios_2(gr); func 2347 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_swdx_pes_mask) func 2348 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_swdx_pes_mask(gr); func 2356 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_fecs_exceptions(gr); func 2357 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_ds_hww_esr_2) func 2358 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_ds_hww_esr_2(gr); func 2364 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_40601c) func 2365 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_40601c(gr); func 2370 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_sked_hww_esr) func 2371 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_sked_hww_esr(gr); func 2376 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_419cc0) func 2377 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_419cc0(gr); func 2378 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_419eb4) func 2379 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_419eb4(gr); func 2380 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_419c9c) func 2381 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_419c9c(gr); func 2383 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_ppc_exceptions) func 2384 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_ppc_exceptions(gr); func 2394 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_tex_hww_esr) func 2395 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_tex_hww_esr(gr, gpc, tpc); func 2397 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_504430) func 2398 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_504430(gr, gpc, tpc); func 2399 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_shader_exceptions(gr, gpc, tpc); func 2419 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_400054) func 2420 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_400054(gr); func 2424 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->func->init_4188a4) func 2425 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->init_4188a4(gr); func 82 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h const struct gf100_gr_func *func; func 239 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c if (gr->func->init_gpc_mmu) func 240 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c gr->func->init_gpc_mmu(gr); func 246 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c gr->func->init_zcull(gr); func 248 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c gr->func->init_rop_active_fbps(gr); func 264 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c if (gr->func->set_hww_esr_report_mask) func 265 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c gr->func->set_hww_esr_report_mask(gr); func 128 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c gm200_gr_new_(const struct gf100_gr_func *func, struct nvkm_device *device, func 138 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c ret = gf100_gr_ctor(func, device, index, gr); func 73 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c gr->func->zbc->clear_stencil(gr, zbc); func 760 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 762 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_patt; break; func 763 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv04_gr_mthd_bind_rop; break; func 764 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_beta1; break; func 765 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_surf_dst; break; func 766 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 770 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 776 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 778 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv04_gr_mthd_bind_patt; break; func 779 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 780 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 781 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta4; break; func 782 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; func 783 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 787 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 793 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 795 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 796 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_clip; break; func 797 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv01_gr_mthd_bind_patt; break; func 798 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_rop; break; func 799 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta1; break; func 800 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break; func 801 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x019c: func = nv04_gr_mthd_bind_surf_src; break; func 802 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 806 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 812 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 814 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 815 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_clip; break; func 816 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_patt; break; func 817 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_rop; break; func 818 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta1; break; func 819 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_beta4; break; func 820 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x019c: func = nv04_gr_mthd_bind_surf2d; break; func 821 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 825 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 831 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 833 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_chroma; break; func 834 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv01_gr_mthd_bind_clip; break; func 835 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_patt; break; func 836 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_rop; break; func 837 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_beta1; break; func 838 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x019c: func = nv04_gr_mthd_bind_beta4; break; func 839 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x01a0: func = nv04_gr_mthd_bind_surf2d_swzsurf; break; func 840 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x03e4: func = nv04_gr_mthd_set_operation; break; func 844 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 850 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 852 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 853 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_clip; break; func 854 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv01_gr_mthd_bind_patt; break; func 855 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_rop; break; func 856 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta1; break; func 857 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break; func 858 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 862 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 868 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 870 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 871 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_clip; break; func 872 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_patt; break; func 873 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_rop; break; func 874 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta1; break; func 875 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_beta4; break; func 876 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x019c: func = nv04_gr_mthd_bind_surf2d; break; func 877 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 881 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 887 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 889 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 890 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_patt; break; func 891 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 892 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 893 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; func 894 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 898 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 904 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 906 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_chroma; break; func 907 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv04_gr_mthd_bind_patt; break; func 908 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 909 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 910 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta4; break; func 911 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; func 912 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 916 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 922 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 924 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_patt; break; func 925 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 926 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 927 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; func 928 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0304: func = nv04_gr_mthd_set_operation; break; func 932 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 938 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 940 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv04_gr_mthd_bind_patt; break; func 941 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 942 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 943 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta4; break; func 944 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; func 945 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0304: func = nv04_gr_mthd_set_operation; break; func 949 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 955 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 957 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02f8: func = nv04_gr_mthd_surf3d_clip_h; break; func 958 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_surf3d_clip_v; break; func 962 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 968 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 970 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_clip; break; func 971 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_surf_color; break; func 972 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_surf_zeta; break; func 976 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 982 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 984 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_clip; break; func 985 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv01_gr_mthd_bind_patt; break; func 986 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 987 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 988 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; func 989 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 993 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 999 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32); func 1001 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0184: func = nv01_gr_mthd_bind_clip; break; func 1002 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0188: func = nv04_gr_mthd_bind_patt; break; func 1003 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x018c: func = nv04_gr_mthd_bind_rop; break; func 1004 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0190: func = nv04_gr_mthd_bind_beta1; break; func 1005 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0194: func = nv04_gr_mthd_bind_beta4; break; func 1006 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; func 1007 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x02fc: func = nv04_gr_mthd_set_operation; break; func 1011 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, data); func 1017 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c bool (*func)(struct nvkm_device *, u32, u32, u32); func 1020 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c func = nv01_gr_mthd_prim; break; func 1021 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x1f: func = nv01_gr_mthd_blit; break; func 1022 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x21: func = nv01_gr_mthd_ifc; break; func 1023 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x36: func = nv03_gr_mthd_sifc; break; func 1024 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x37: func = nv03_gr_mthd_sifm; break; func 1025 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x48: func = nv03_gr_mthd_ttri; break; func 1026 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x4a: func = nv04_gr_mthd_gdi; break; func 1027 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x4b: func = nv03_gr_mthd_gdi; break; func 1028 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x53: func = nv04_gr_mthd_surf3d; break; func 1030 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c func = nv04_gr_mthd_prim; break; func 1031 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x5f: func = nv04_gr_mthd_blit; break; func 1032 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x60: func = nv04_gr_mthd_iifc; break; func 1033 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x61: func = nv04_gr_mthd_ifc; break; func 1034 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x76: func = nv04_gr_mthd_sifc; break; func 1035 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c case 0x77: func = nv04_gr_mthd_sifm; break; func 1039 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return func(device, inst, mthd, data); func 518 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c void (*func)(struct nv10_gr_chan *, u32, u32); func 521 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c func = nv17_gr_mthd_lma_window; break; func 522 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c case 0x1658: func = nv17_gr_mthd_lma_enable; break; func 526 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c func(chan, mthd, data); func 533 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c bool (*func)(struct nv10_gr_chan *, u32, u32); func 535 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c case 0x99: func = nv17_gr_mthd_celcius; break; func 539 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c return func(chan, mthd, data); func 1175 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c nv10_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, func 1185 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c return nvkm_gr_ctor(func, device, index, true, &gr->base); func 300 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c vramsz = device->func->resource_size(device, 1) - 1; func 332 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, func 341 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c return nvkm_gr_ctor(func, device, index, true, &gr->base); func 389 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c vramsz = device->func->resource_size(device, 1) - 1; func 431 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nv40_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, func 441 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c return nvkm_gr_ctor(func, device, index, true, &gr->base); func 763 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c nv50_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, func 773 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c return nvkm_gr_ctor(func, device, index, true, &gr->base); func 9 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h const struct nv50_gr_func *func; func 176 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c return mpeg->func->mthd_dma(device, mthd, data); func 276 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c nv31_mpeg_new_(const struct nv31_mpeg_func *func, struct nvkm_device *device, func 283 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c mpeg->func = func; func 9 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.h const struct nv31_mpeg_func *func; func 27 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c nvkm_mspdec_new_(const struct nvkm_falcon_func *func, func 31 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c return nvkm_falcon_new_(func, device, index, true, 0x085000, pengine); func 27 drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c nvkm_msppp_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device, func 30 drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c return nvkm_falcon_new_(func, device, index, true, 0x086000, pengine); func 27 drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c nvkm_msvld_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device, func 30 drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c return nvkm_falcon_new_(func, device, index, true, 0x084000, pengine); func 225 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->init(pm, dom, dom->ctr[i]); func 233 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->next(pm, dom); func 256 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->next(pm, dom); func 279 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func->read(pm, dom, dom->ctr[i]); func 422 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func = sdom->func; func 798 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->func = sdom->func; func 826 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (pm->func->fini) func 827 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->func->fini(pm); func 860 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_pm_ctor(const struct nvkm_pm_func *func, struct nvkm_device *device, func 863 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c pm->func = func; func 189 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_pm_new_(const struct gf100_pm_func *func, struct nvkm_device *device, func 205 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c func->doms_hub); func 215 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 0x1000, 0x200, func->doms_gpc); func 225 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 0x1000, 0x200, func->doms_part); func 67 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h const struct nvkm_funcdom *func; func 78 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h const struct nvkm_funcdom *func; func 64 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c while (sw->func->sclass[c].ctor) { func 66 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c oclass->engn = &sw->func->sclass[index]; func 67 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c oclass->base = sw->func->sclass[index].base; func 82 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c return sw->func->chan_new(sw, fifoch, oclass, pobject); func 99 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c nvkm_sw_new_(const struct nvkm_sw_func *func, struct nvkm_device *device, func 107 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c sw->func = func; func 42 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c if (chan->func->mthd) func 43 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c return chan->func->mthd(chan, subc, mthd, data); func 80 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c if (chan->func->dtor) func 81 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c data = chan->func->dtor(chan); func 96 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c nvkm_sw_chan_ctor(const struct nvkm_sw_chan_func *func, struct nvkm_sw *sw, func 103 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c chan->func = func; func 11 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.h const struct nvkm_sw_chan_func *func; func 33 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c if (nvsw->func->mthd) func 34 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c return nvsw->func->mthd(nvsw, mthd, data, size); func 60 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c nvkm_nvsw_new_(const struct nvkm_nvsw_func *func, struct nvkm_sw_chan *chan, func 71 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c nvsw->func = func; func 9 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.h const struct nvkm_nvsw_func *func; func 33 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c while (xtensa->func->sclass[c].oclass) { func 35 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c oclass->base = xtensa->func->sclass[index]; func 74 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_mask(device, xtensa->addr + 0xd94, 0, xtensa->func->fifo_val); func 143 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_wr32(device, base + 0xd28, xtensa->func->unkd28); /* ?? */ func 178 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_xtensa_new_(const struct nvkm_xtensa_func *func, func 186 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c xtensa->func = func; func 36 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->load_imem(falcon, data, start, size, tag, port, func 46 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->load_dmem(falcon, data, start, size, port); func 57 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->read_dmem(falcon, start, size, port, data); func 65 drivers/gpu/drm/nouveau/nvkm/falcon/base.c if (!falcon->func->bind_context) { func 71 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->bind_context(falcon, inst); func 77 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->set_start_addr(falcon, start_addr); func 83 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->start(falcon); func 94 drivers/gpu/drm/nouveau/nvkm/falcon/base.c ret = falcon->func->enable(falcon); func 113 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func->disable(falcon); func 128 drivers/gpu/drm/nouveau/nvkm/falcon/base.c return falcon->func->wait_for_halt(falcon, ms); func 134 drivers/gpu/drm/nouveau/nvkm/falcon/base.c return falcon->func->clear_interrupt(falcon, mask); func 169 drivers/gpu/drm/nouveau/nvkm/falcon/base.c nvkm_falcon_ctor(const struct nvkm_falcon_func *func, func 176 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->func = func; func 332 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue = priv->func->cmd_queue(priv, prio); func 426 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c ret = priv->func->init_func->init_callback(priv, hdr); func 459 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (!queue || !queue->func || !queue->func->init_func) func 462 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue->func->init_func->gen_cmdline(queue, buf); func 471 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (!queue || !queue->func->acr_func) func 475 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (queue->func->acr_func->boot_multiple_falcons) func 476 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c return queue->func->acr_func->boot_multiple_falcons(queue, func 480 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (!queue->func->acr_func->boot_falcon) func 484 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c int ret = queue->func->acr_func->boot_falcon(queue, falcon); func 530 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c (*queue)->func->dtor(*queue); func 538 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (!queue->func || !queue->func->recv) { func 545 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue->func->recv(queue); func 562 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c nvkm_msgqueue_ctor(const struct nvkm_msgqueue_func *func, func 568 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c queue->func = func; func 188 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.h const struct nvkm_msgqueue_func *func; func 29 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c if (bar && bar->func->flush) func 30 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->flush(bar); func 36 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c return device->bar->func->bar1.vmm(device->bar); func 44 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar1.init(bar); func 45 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar1.wait(bar); func 57 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c return bar->func->bar2.vmm(bar); func 66 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar2.init(bar); func 67 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar2.wait(bar); func 76 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar2.fini(bar); func 85 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) { func 86 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar2.init(bar); func 87 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar2.wait(bar); func 96 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c if (bar->func->bar1.fini) func 97 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar1.fini(bar); func 105 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar1.init(bar); func 106 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->bar1.wait(bar); func 107 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c if (bar->func->init) func 108 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func->init(bar); func 116 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c return bar->func->oneinit(bar); func 124 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c return bar->func->dtor(bar); func 136 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_bar_ctor(const struct nvkm_bar_func *func, struct nvkm_device *device, func 140 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c bar->func = func; func 96 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c bar_len = device->func->resource_size(device, bar_nr); func 131 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c if (bar->base.func->bar2.init) { func 164 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c gf100_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device, func 170 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c nvkm_bar_ctor(func, device, index, &bar->base); func 130 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c size = device->func->resource_size(device, 3); func 170 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c size = device->func->resource_size(device, 1); func 222 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c nv50_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device, func 228 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c nvkm_bar_ctor(func, device, index, &bar->base); func 83 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c struct nvbios_extdev_func *func) func 91 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c extdev_parse_entry(bios, entry, func); func 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c struct nvbios_extdev_func *func) func 104 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c extdev_parse_entry(bios, entry, func); func 105 drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c if (func->type == type) func 87 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .func = (info & 0x07e0) >> 5, func 97 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .func = (info & 0x0000ff00) >> 8, func 107 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .func = (info & 0x0000ff00) >> 8, func 119 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, func 127 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c (func == 0xff || func == gpio->func)) func 133 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c if (*ver >= 0x22 && *ver < 0x30 && func == DCB_GPIO_TVDAC0) { func 138 drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.c .func = DCB_GPIO_TVDAC0, func 2195 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct dcb_gpio_func func; func 2207 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c while ((data = dcb_gpio_parse(bios, 0, idx++, &ver, &len, &func))) { func 2208 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (func.func != DCB_GPIO_UNUSED) { func 2210 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (func.func == nvbios_rd08(bios, i)) func 2214 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("\tFUNC[0x%02x]", func.func); func 2218 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c nvkm_gpio_reset(gpio, func.func); func 32 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c const struct nvbios_source *func; func 45 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c u32 read = mthd->func->read(data, start, limit - start, bios); func 58 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd->func->no_pcir) { func 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c image.size = mthd->func->size(mthd->data); func 85 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!mthd->func->ignore_checksum && func 89 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (!mthd->func->require_checksum) { func 90 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd->func->rw) func 112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c const struct nvbios_source *func = mthd->func; func 114 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (func->name) { func 115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c nvkm_debug(subdev, "trying %s...\n", name ? name : func->name); func 116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (func->init) { func 117 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c mthd->data = func->init(bios, name); func 124 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (func->fini) func 125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c func->fini(mthd->data); func 190 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c for (mthd = mthds; mthd->func; mthd++) { func 191 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c if (mthd->func->name && func 192 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c !strcasecmp(source, mthd->func->name)) { func 201 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c mthd->func = &shadow_fw; func 203 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c mthd->func = NULL; func 215 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c for (mthd = mthds, best = mthd; mthd->func; mthd++) { func 226 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c for (mthd = mthds; mthd->func; mthd++) { func 236 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c nvkm_debug(subdev, "using image from %s\n", best->func ? func 237 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c best->func->name : source); func 56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c struct pci_dev *pdev = device->func->pci(device)->pdev; func 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c if (device->func->pci) func 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c pdev = device->func->pci(device)->pdev; func 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c if (device->func->pci) func 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c pdev = device->func->pci(device)->pdev; func 30 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c bus->func->intr(bus); func 37 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c bus->func->init(bus); func 55 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c nvkm_bus_new_(const struct nvkm_bus_func *func, struct nvkm_device *device, func 62 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c bus->func = func; func 69 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c if (hwsq->c.size <= bus->func->hwsq_size) { func 71 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c ret = bus->func->hwsq_exec(bus, func 193 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = clk->func->calc(clk, cstate); func 195 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = clk->func->prog(clk); func 196 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->func->tidy(clk); func 283 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (fb && fb->ram && fb->ram->func->calc) { func 287 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = ram->func->calc(ram, khz); func 289 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = ram->func->prog(ram); func 291 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ram->func->tidy(ram); func 576 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return clk->func->read(clk, src); func 585 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (clk->func->fini) func 586 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->func->fini(clk); func 613 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (clk->func->init) func 614 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return clk->func->init(clk); func 633 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (clk->func->pstates) func 651 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_ctor(const struct nvkm_clk_func *func, struct nvkm_device *device, func 670 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->func = func; func 672 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->domains = func->domains; func 682 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (!func->pstates) { func 688 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c for (idx = 0; idx < func->nr_pstates; idx++) func 689 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c list_add_tail(&func->pstates[idx].head, &clk->states); func 690 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c clk->state_nr = func->nr_pstates; func 718 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_new_(const struct nvkm_clk_func *func, struct nvkm_device *device, func 723 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return nvkm_clk_ctor(func, device, index, allow_reclock, *pclk); func 585 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c base->func->calc(base, &base->func->pstates[0].base); func 586 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c ret = base->func->prog(&clk->base); func 614 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c const struct nvkm_clk_func *func, func 618 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c struct nvkm_device_tegra *tdev = device->func->tegra(device); func 623 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c for (i = 0; i < func->nr_pstates; i++) { func 624 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c INIT_LIST_HEAD(&func->pstates[i].list); func 625 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c func->pstates[i].pstate = i + 1; func 631 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c ret = nvkm_clk_ctor(func, device, index, true, &clk->base); func 851 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c if (clk->base.func == &gm20b_clk) { func 865 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c base->func->calc(base, &base->func->pstates[0].base); func 866 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c ret = base->func->prog(base); func 983 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c struct nvkm_pstate *pstates = clk->base.base.func->pstates; func 984 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c int nr_pstates = clk->base.base.func->nr_pstates; func 1019 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c struct nvkm_device_tegra *tdev = device->func->tegra(device); func 509 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_new_(const struct nvkm_clk_func *func, struct nvkm_device *device, func 517 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c ret = nvkm_clk_ctor(func, device, index, allow_reclock, &clk->base); func 32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init->func->mmio) func 33 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c addr = init->func->mmio(init, addr); func 40 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c return init->func->pll_set(init, type, khz); func 46 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init->func->meminit) func 47 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c init->func->meminit(init); func 53 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init && init->func->disable) func 54 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c return init->func->disable(init); func 62 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init && init->func->post) func 63 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c ret = init->func->post(init, init->post); func 83 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init->func->preinit) func 84 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c init->func->preinit(init); func 101 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init->func->init) func 102 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c init->func->init(init); func 112 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c if (init->func->dtor) func 113 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c data = init->func->dtor(init); func 129 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_devinit_ctor(const struct nvkm_devinit_func *func, func 134 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c init->func = func; func 50 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h return io_mapping_create_wc(dev->func->resource_addr(dev, 1), func 51 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/fbmem.h dev->func->resource_size(dev, 1)); func 437 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nv04_devinit_new_(const struct nvkm_devinit_func *func, func 447 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nvkm_devinit_ctor(func, device, index, &init->base); func 151 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nv50_devinit_new_(const struct nvkm_devinit_func *func, func 161 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nvkm_devinit_ctor(func, device, index, &init->base); func 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], false); func 38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], true); func 66 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c return fault->func->intr(fault); func 73 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (fault->func->fini) func 74 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->fini(fault); func 82 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (fault->func->init) func 83 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->init(fault); func 99 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.info(buffer); func 105 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.entry_size, 0x1000, true, func 125 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (i < fault->func->buffer.nr) { func 138 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c if (fault->func->oneinit) func 139 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c ret = fault->func->oneinit(fault); func 172 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_new_(const struct nvkm_fault_func *func, struct nvkm_device *device, func 179 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func = func; func 181 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->user.base = func->user.base; func 42 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c const u32 base = get * buffer->fault->func->buffer.entry_size; func 188 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c fault->func->buffer.fini(fault->buffer[0]); func 196 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c fault->func->buffer.init(fault->buffer[0]); func 136 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c fault->func->buffer.fini(fault->buffer[0]); func 144 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c fault->func->buffer.init(fault->buffer[0]); func 37 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c *addr = device->func->resource_addr(device, 3) + buffer->addr; func 58 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c buffer->fault->func->buffer.fini(buffer); func 66 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c buffer->fault->func->buffer.init(buffer); func 93 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c struct nvkm_fault_buffer *buffer = fault->buffer[fault->func->user.rp]; func 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.fini(fb, region, tile); func 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); func 51 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->tile.prog) { func 52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.prog(fb, region, tile); func 92 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->intr) func 93 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->intr(fb); func 102 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->ram_new) { func 103 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c int ret = fb->func->ram_new(fb, &fb->ram); func 110 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->oneinit) { func 111 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c int ret = fb->func->oneinit(fb); func 120 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->tags) { func 121 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c tags = fb->func->tags(fb); func 141 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.prog(fb, i, &fb->tile.region[i]); func 143 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->init) func 144 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->init(fb); func 146 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->init_remapper) func 147 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->init_remapper(fb); func 149 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->init_page) { func 150 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c ret = fb->func->init_page(fb); func 155 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->init_unkn) func 156 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->init_unkn(fb); func 170 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.fini(fb, i, &fb->tile.region[i]); func 175 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (fb->func->dtor) func 176 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c return fb->func->dtor(fb); func 189 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_ctor(const struct nvkm_fb_func *func, struct nvkm_device *device, func 193 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func = func; func 194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->tile.regions = fb->func->tile.regions; func 196 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->default_bigpage); func 200 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device, func 205 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_ctor(func, device, index, *pfb); func 97 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c if (base->func->clkgate_pack) { func 99 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c base->func->clkgate_pack); func 119 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c gf100_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device, func 126 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c nvkm_fb_ctor(func, device, index, &fb->base); func 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c fb->func->tile.comp(fb, i, size, flags, tile); func 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c if (fb->func->tile.comp) /* z compression */ func 38 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c fb->func->tile.comp(fb, i, size, flags, tile); func 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c return fb->func->ram_new(&fb->base, pram); func 226 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c nvkm_wr32(device, 0x100c90, fb->func->trap); func 233 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c if (fb->func->tags) func 234 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c return fb->func->tags(&fb->base); func 264 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c nv50_fb_new_(const struct nv50_fb_func *func, struct nvkm_device *device, func 272 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c fb->func = func; func 8 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h const struct nv50_fb_func *func; func 153 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c if (ram->func->init) func 154 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c return ram->func->init(ram); func 162 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c if (ram && !WARN_ON(!ram->func)) { func 163 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c if (ram->func->dtor) func 164 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c *pram = ram->func->dtor(ram); func 172 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb, func 195 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c ram->func = func; func 211 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c nvkm_ram_new_(const struct nvkm_ram_func *func, struct nvkm_fb *fb, func 216 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.c return nvkm_ram_ctor(func, fb, type, size, *pram); func 472 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao, func 477 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c return func->probe_fbpa_amount(device, fbp); func 483 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_probe_fbp(const struct nvkm_ram_func *func, func 487 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c return func->probe_fbp_amount(func, fbpao, device, fbp, pltcs); func 491 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb, func 506 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c u32 size = func->probe_fbp(func, device, fbp, <cs); func 519 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c ubase = lcomm + func->upper; func 526 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c ret = nvkm_ram_ctor(func, fb, type, total, ram); func 567 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_new_(const struct nvkm_ram_func *func, func 579 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c ret = gf100_ram_ctor(func, fb, &ram->base); func 27 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c gf108_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao, func 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.c size += func->probe_fbpa_amount(device, fbpa); func 1521 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_new_(const struct nvkm_ram_func *func, struct nvkm_fb *fb, func 1537 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ret = gf100_ram_ctor(func, fb, &ram->base); func 27 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.c gm107_ram_probe_fbp(const struct nvkm_ram_func *func, func 31 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.c return func->probe_fbp_amount(func, fbpao, device, fbp, pltcs); func 27 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.c gm200_ram_probe_fbp_amount(const struct nvkm_ram_func *func, u32 fbpao, func 40 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.c size += func->probe_fbpa_amount(device, fbpa); func 194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c ret = ram->base.func->calc(&ram->base, (u32) M0205T.freq * 1000); func 237 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c ram->base.func->calc(&ram->base, clk_current); func 469 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c struct dcb_gpio_func func; func 474 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c ret = nvkm_gpio_find(gpio, 0, tag, DCB_GPIO_UNUSED, &func); func 478 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c reg = func.line >> 3; func 479 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c sh = (func.line & 0x7) << 2; func 483 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c if (!(func.log[1] & 1)) func 195 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c struct dcb_gpio_func func; func 200 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c ret = nvkm_gpio_find(gpio, 0, tag, DCB_GPIO_UNUSED, &func); func 204 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c reg = func.line >> 3; func 205 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c sh = (func.line & 0x7) << 2; func 210 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c if (!(func.log[1] & 1)) func 542 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c nv50_ram_ctor(const struct nvkm_ram_func *func, func 570 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c ret = nvkm_ram_ctor(func, fb, type, size, ram); func 29 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c return fuse->func->read(fuse, addr); func 44 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c nvkm_fuse_new_(const struct nvkm_fuse_func *func, struct nvkm_device *device, func 51 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c fuse->func = func; func 32 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c return gpio->func->drive(gpio, line, dir, out); func 38 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c return gpio->func->sense(gpio, line); func 42 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) func 44 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c if (gpio->func->reset) func 45 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->reset(gpio, func); func 50 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct dcb_gpio_func *func) func 60 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); func 67 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c *func = (struct dcb_gpio_func) { func 68 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c .func = DCB_GPIO_TVDAC0, func 83 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct dcb_gpio_func func; func 86 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = nvkm_gpio_find(gpio, idx, tag, line, &func); func 88 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c int dir = !!(func.log[state] & 0x02); func 89 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c int out = !!(func.log[state] & 0x01); func 90 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = nvkm_gpio_drive(gpio, idx, func.line, dir, out); func 99 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct dcb_gpio_func func; func 102 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = nvkm_gpio_find(gpio, idx, tag, line, &func); func 104 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = nvkm_gpio_sense(gpio, idx, func.line); func 106 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = (ret == (func.log[1] & 1)); func 116 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_mask(gpio, type, 1 << index, 0); func 123 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_mask(gpio, type, 1 << index, 1 << index); func 153 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_stat(gpio, &hi, &lo); func 155 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c for (i = 0; (hi | lo) && i < gpio->func->lines; i++) { func 168 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c u32 mask = (1ULL << gpio->func->lines) - 1; func 170 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0); func 171 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_stat(gpio, &mask, &mask); func 196 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct dcb_gpio_func func; func 206 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c DCB_GPIO_UNUSED, &func); func 210 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c ret = nvkm_gpio_get(gpio, 0, func.func, func.line); func 243 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_new_(const struct nvkm_gpio_func *func, struct nvkm_device *device, func 252 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func = func; func 254 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c return nvkm_event_init(&nvkm_gpio_intr_func, 2, func->lines, func 39 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c u8 func = (data & 0x0000ff00) >> 8; func 43 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c if ( func == DCB_GPIO_UNUSED || func 44 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c (match != DCB_GPIO_UNUSED && match != func)) func 47 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c nvkm_gpio_set(gpio, 0, func, line, defs); func 39 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c u8 func = (data & 0x0000ff00) >> 8; func 47 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c if ( func == DCB_GPIO_UNUSED || func 48 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c (match != DCB_GPIO_UNUSED && match != func)) func 51 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c nvkm_gpio_set(gpio, 0, func, line, defs); func 57 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c ret = aux->func->xfer(aux, true, cmd, func 136 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (!*size && !aux->func->address_only) { func 140 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return aux->func->xfer(aux, retry, type, addr, data, size); func 146 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (aux->func->lnk_ctl) func 147 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return aux->func->lnk_ctl(aux, nr, bw, ef); func 155 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c if (aux && !WARN_ON(!aux->func)) { func 183 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_ctor(const struct nvkm_i2c_aux_func *func, func 189 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c aux->func = func; func 205 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_new_(const struct nvkm_i2c_aux_func *func, func 211 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c return nvkm_i2c_aux_ctor(func, pad, id, *paux); func 164 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_new_(const struct nvkm_i2c_aux_func *func, func 174 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c nvkm_i2c_aux_ctor(func, pad, index, &aux->base); func 95 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_mask(i2c, type, aux->intr, 0); func 104 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_mask(i2c, type, aux->intr, aux->intr); func 135 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (!i2c->func->aux_stat) func 138 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_stat(i2c, &hi, &lo, &rq, &tx); func 175 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if ((mask = (1 << i2c->func->aux) - 1), i2c->func->aux_stat) { func 176 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_mask(i2c, NVKM_I2C_ANY, mask, 0); func 177 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func->aux_stat(i2c, &mask, &mask, &mask, &mask); func 279 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_i2c_new_(const struct nvkm_i2c_func *func, struct nvkm_device *device, func 293 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c i2c->func = func; func 311 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = func->pad_s_new(i2c, id, &pad); func 315 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = func->pad_x_new(i2c, NVKM_I2C_PAD_CCB(i), &pad); func 324 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (pad->func->bus_new_0 && ccbE.type == DCB_I2C_NV04_BIT) { func 325 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->bus_new_0(pad, NVKM_I2C_BUS_CCB(i), func 329 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (pad->func->bus_new_4 && func 334 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->bus_new_4(pad, NVKM_I2C_BUS_CCB(i), func 343 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (pad->func->aux_new_6 && func 347 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->aux_new_6(pad, NVKM_I2C_BUS_CCB(i), func 408 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (pad->func->aux_new_6 && dcbE.type == DCB_OUTPUT_DP) { func 411 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->aux_new_6(pad, id, 0, &aux); func 418 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c if (pad->func->bus_new_4) { func 421 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c ret = pad->func->bus_new_4(pad, id, 0, &bus); func 34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c bus->func->drive_scl(bus, state); func 40 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c bus->func->drive_sda(bus, state); func 46 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c return bus->func->sense_scl(bus); func 52 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c return bus->func->sense_sda(bus); func 50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c bus->func->drive_scl(bus, state); func 57 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c bus->func->drive_sda(bus, state); func 64 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c return bus->func->sense_scl(bus); func 71 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c return bus->func->sense_sda(bus); func 87 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c ret = bus->func->xfer(bus, msgs, num); func 111 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c if (bus->func->init) func 112 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c bus->func->init(bus); func 197 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c if (bus && !WARN_ON(!bus->func)) { func 208 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c nvkm_i2c_bus_ctor(const struct nvkm_i2c_bus_func *func, func 221 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c bus->func = func; func 233 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c if ( bus->func->drive_scl && func 257 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c nvkm_i2c_bus_new_(const struct nvkm_i2c_bus_func *func, func 263 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c return nvkm_i2c_bus_ctor(func, pad, id, *pbus); func 31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c if (pad->func->mode) func 32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c pad->func->mode(pad, mode); func 96 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c nvkm_i2c_pad_ctor(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c, func 99 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c pad->func = func; func 109 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c nvkm_i2c_pad_new_(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c, func 114 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c nvkm_i2c_pad_ctor(func, i2c, id, *ppad); func 7 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.h const struct nvkm_i2c_pad_func *func; func 82 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instobj_ctor(const struct nvkm_memory_func *func, func 85 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_memory_ctor(func, &iobj->memory); func 101 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c ret = imem->func->memory_new(imem, size, align, zero, &memory); func 110 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c if (!imem->func->zero && zero) { func 135 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c return imem->func->rd32(imem, addr); func 141 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c return imem->func->wr32(imem, addr, data); func 181 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c if (imem->func->fini) func 182 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c imem->func->fini(imem); func 212 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c if (imem->func->oneinit) func 213 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c return imem->func->oneinit(imem); func 221 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c if (imem->func->dtor) func 222 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c return imem->func->dtor(imem); func 235 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_instmem_ctor(const struct nvkm_instmem_func *func, func 240 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c imem->func = func; func 574 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c struct nvkm_device_tegra *tdev = device->func->tegra(device); func 593 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c imem->iommu_bit = tdev->func->iommu_bit; func 251 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c if (device->func->resource_size(device, 2)) func 256 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c imem->iomem = ioremap_wc(device->func->resource_addr(device, bar), func 257 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c device->func->resource_size(device, bar)); func 174 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c iobj->map = ioremap_wc(device->func->resource_addr(device, 3) + func 30 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h void nvkm_instobj_ctor(const struct nvkm_memory_func *func, func 37 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->cbc_clear(ltc, first, limit); func 38 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->cbc_wait(ltc); func 46 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_color(ltc, index, color); func 54 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_depth(ltc, index, depth); func 62 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_stencil(ltc, index, stencil); func 69 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c if (ltc->func->invalidate) func 70 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->invalidate(ltc); func 76 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c if (ltc->func->flush) func 77 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->flush(ltc); func 84 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->intr(ltc); func 91 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c return ltc->func->oneinit(ltc); func 101 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_color(ltc, i, ltc->zbc_color[i]); func 102 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_depth(ltc, i, ltc->zbc_depth[i]); func 103 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c if (ltc->func->zbc_clear_stencil) func 104 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_stencil(ltc, i, ltc->zbc_stencil[i]); func 107 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->init(ltc); func 128 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_new_(const struct nvkm_ltc_func *func, struct nvkm_device *device, func 137 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func = func; func 139 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->zbc_max = min(func->zbc, NVKM_LTC_MAX_ZBC_CNT) - 1; func 33 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (likely(mc) && mc->func->unk260) func 34 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->unk260(mc, data); func 42 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (likely(mc) && mc->func->intr_mask) { func 44 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->intr; !mask && map->stat; map++) { func 48 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->intr_mask(mc, mask, en ? mask : 0); func 57 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->intr_unarm(mc); func 65 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->intr_rearm(mc); func 71 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c u32 intr = mc->func->intr_stat(mc); func 99 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->intr; map->stat; map++) { func 112 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (mc->func->intr_hack) func 113 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->intr_hack(mc, handled); func 125 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c for (map = mc->func->reset; map && map->stat; map++) { func 188 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c if (mc->func->init) func 189 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func->init(mc); func 208 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_ctor(const struct nvkm_mc_func *func, struct nvkm_device *device, func 212 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c mc->func = func; func 216 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_new_(const struct nvkm_mc_func *func, struct nvkm_device *device, func 222 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_ctor(func, device, index, *pmc); func 108 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c gp100_mc_new_(const struct nvkm_mc_func *func, struct nvkm_device *device, func 115 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c nvkm_mc_ctor(func, device, index, &mc->base); func 281 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c u8 type = NVKM_MEM_KIND * !!mmu->func->kind_sys; func 307 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c if (device->func->cpu_coherent) func 322 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c u8 type = NVKM_MEM_KIND * !!mmu->func->kind; func 378 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c if (mmu->func->vmm.global) { func 392 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c if (mmu->func->init) func 393 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c mmu->func->init(mmu); func 416 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_ctor(const struct nvkm_mmu_func *func, struct nvkm_device *device, func 420 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c mmu->func = func; func 421 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c mmu->dma_bits = func->dma_bits; func 424 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c mmu->user.base = func->mmu.user; func 428 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_new_(const struct nvkm_mmu_func *func, struct nvkm_device *device, func 433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_ctor(func, device, index, *pmmu); func 231 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c ret = mmu->func->mem.vram(mmu, type, page, size, func 63 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c *paddr = device->func->resource_addr(device, 1) + (*pvma)->addr; func 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c *paddr = device->func->resource_addr(device, 1) + addr; func 60 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c *paddr = device->func->resource_addr(device, 1) + (*pvma)->addr; func 110 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc, func 37 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (mmu->func->mem.user.oclass && oclass->client->super) { func 39 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c oclass->base = mmu->func->mem.user; func 45 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (mmu->func->vmm.user.oclass) { func 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c oclass->base = mmu->func->vmm.user; func 115 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (mmu->func->kind) func 116 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c kind = mmu->func->kind(mmu, &count); func 161 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (mmu->func->kind) func 162 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c mmu->func->kind(mmu, &kinds); func 314 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c page = uvmm->vmm->func->page; func 345 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (uvmm->vmm->func->mthd) { func 346 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c return uvmm->vmm->func->mthd(uvmm->vmm, func 399 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c ret = mmu->func->vmm.ctor(mmu, managed, addr, size, argv, argc, func 412 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c page = uvmm->vmm->func->page; func 129 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (it->vmm->func->flush) { func 131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it->vmm->func->flush(it->vmm, it->flush); func 151 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_desc_func *func = desc[it->lvl].func; func 159 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->sparse(vmm, pgd->pt[0], pdei, 1); func 162 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->unmap(vmm, pgd->pt[0], pdei, 1); func 170 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->pde(vmm, pgd, pdei); func 177 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->pde(vmm, pgd, pdei); func 244 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c pair->func->sparse(vmm, pgt->pt[0], pteb, ptes); func 246 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (pair->func->invalid) { func 252 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c pair->func->invalid(vmm, pgt->pt[0], pteb, ptes); func 267 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c dma = desc->func->pfn_clear(it->vmm, pgt->pt[type], ptei, ptes); func 272 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->pfn_unmap(it->vmm, pgt->pt[type], ptei, ptes); func 348 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->sparse(vmm, pgt->pt[1], spti, sptc); func 351 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c pair->func->unmap(vmm, pgt->pt[0], pteb, ptes); func 353 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (pair->func->invalid) { func 358 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c pair->func->unmap(vmm, pgt->pt[0], pteb, ptes); func 418 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const bool zero = !pgt->sparse && !desc->func->invalid; func 457 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->sparse(vmm, pt, pteb, ptes); func 459 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->invalid(vmm, pt, pteb, ptes); func 462 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->unmap(vmm, pt, pteb, ptes); func 470 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->sparse(vmm, pt, 0, pten); func 472 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->invalid(vmm, pt, 0, pten); func 478 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c it->desc[it->lvl].func->pde(it->vmm, pgd, pdei); func 607 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c page->desc->func->invalid ? func 608 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c page->desc->func->invalid : page->desc->func->unmap); func 618 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c NULL, NULL, page->desc->func->sparse); func 632 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = vmm->func->page; func 683 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_desc_func *func = page->desc->func; func 686 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c sparse ? func->sparse : func->invalid ? func->invalid : func 687 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->unmap); func 693 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_pte_func func) func 696 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c false, nvkm_vmm_ref_ptes, func, map, NULL); func 709 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_desc_func *func = page->desc->func; func 712 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c sparse ? func->sparse : func->invalid ? func->invalid : func 713 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func->unmap); func 719 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_pte_func func) func 722 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c NULL, func, map, NULL); func 992 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = vmm->func->page; func 1034 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu, func 1040 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = func->page; func 1045 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->func = func; func 1140 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_new_(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu, func 1147 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c return nvkm_vmm_ctor(func, mmu, hdr, managed, addr, size, key, name, *pvmm); func 1190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd], func 1213 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = vmm->func->page; func 1224 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c page->desc->func->pfn == NULL) func 1277 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->func->page, map); func 1284 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tmp->refd = page - vmm->func->page; func 1299 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c desc->func->pfn); func 1302 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c page->desc->func->pfn); func 1353 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd]; func 1408 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c return vmm->func->valid(vmm, argv, argc, map); func 1415 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (map->page = vmm->func->page; map->page->shift; map->page++) { func 1427 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_pte_func func; func 1454 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c map->page = &vmm->func->page[vma->refd]; func 1456 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c map->page = &vmm->func->page[vma->page]; func 1474 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func = map->page->desc->func->mem; func 1483 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func = map->page->desc->func->sgl; func 1487 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c func = map->page->desc->func->dma; func 1492 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = nvkm_vmm_ptes_get_map(vmm, map->page, vma->addr, vma->size, map, func); func 1496 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->refd = map->page - vmm->func->page; func 1498 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_ptes_map(vmm, map->page, vma->addr, vma->size, map, func); func 1543 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = vmm->func->page; func 1639 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = &vmm->func->page[NVKM_VMA_PAGE_NONE]; func 1662 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (unlikely((getref || vmm->func->page_block) && !shift)) { func 1664 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c getref, vmm->func->page_block); func 1672 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c for (page = vmm->func->page; page->shift; page++) { func 1708 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const int p = page - vmm->func->page; func 1711 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (vmm->func->page_block && prev && prev->page != p) func 1712 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c addr = ALIGN(addr, vmm->func->page_block); func 1716 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (vmm->func->page_block && next && next->page != p) func 1717 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tail = ALIGN_DOWN(tail, vmm->func->page_block); func 1765 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma->page = page - vmm->func->page; func 1786 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (inst && vmm && vmm->func->part) { func 1788 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vmm->func->part(vmm, inst); func 1797 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (vmm->func->join) { func 1799 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = vmm->func->join(vmm, inst); func 1817 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c const struct nvkm_vmm_page *page = vmm->func->page; func 1868 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ret = mmu->func->vmm.ctor(mmu, false, addr, size, argv, argc, func 99 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h const struct nvkm_vmm_desc_func *func; func 215 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c vmm->func->invalidate_pdb(vmm, addr); func 243 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c const bool gm20x = page->desc->func->sparse != NULL; func 273 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c aper = vmm->func->aper(target); func 277 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c kindm = vmm->mmu->func->kind(vmm->mmu, &kindn); func 98 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (vmm->func->page[1].shift == 16) func 148 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c const struct nvkm_vmm_func *func; func 157 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c case 16: func = func_16; break; func 158 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c case 17: func = func_17; break; func 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c func = func_17; func 168 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c return nvkm_vmm_new_(func, mmu, 0, managed, addr, size, key, name, pvmm); func 346 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c aper = vmm->func->aper(target); func 350 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c kindm = vmm->mmu->func->kind(vmm->mmu, &kindn); func 508 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c gp100_vmm_new_(const struct nvkm_vmm_func *func, func 528 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c ret = nvkm_vmm_new_(func, mmu, 0, managed, addr, size, key, name, pvmm); func 102 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c nv04_vmm_new_(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu, func 112 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c ret = nvkm_vmm_new_(func, mmu, pd_header, managed, addr, size, func 148 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c u32 pdeo = vmm->mmu->func->vmm.pd_offset + (pdei * 8); func 281 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c kindm = vmm->mmu->func->kind(vmm->mmu, &kindn); func 341 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c const u32 pd_offset = vmm->mmu->func->vmm.pd_offset; func 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c return pci->func->rd32(pci, addr); func 40 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr08(pci, addr, data); func 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr32(pci, addr, data); func 52 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c u32 data = pci->func->rd32(pci, addr); func 53 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr32(pci, addr, (data & ~mask) | value); func 80 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->msi_rearm(pci); func 141 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->func->init) func 142 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->init(pci); func 148 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->msi_rearm(pci); func 185 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_new_(const struct nvkm_pci_func *func, struct nvkm_device *device, func 193 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func = func; func 194 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->pdev = device->func->pci(device)->pdev; func 223 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi && func->msi_rearm) { func 35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c struct pci_dev *pdev = device->func->pci(device)->pdev; func 53 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.version) func 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c return pci->func->pcie.version(pci); func 62 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.version_supported) func 65 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c return pci->func->pcie.version_supported(pci); func 71 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.set_version) func 75 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.set_version(pci, version); func 82 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.max_speed) func 84 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]); func 105 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.init) func 106 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.init(pci); func 126 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.set_link) func 131 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.version(pci) < 2) { func 136 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c cur_speed = pci->func->pcie.cur_speed(pci); func 138 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.max_speed(pci)); func 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c ret = pci->func->pcie.set_link(pci, speed, width); func 37 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (pmu && pmu->func->code.size) func 50 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (pmu && pmu->func->pgob) func 51 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c pmu->func->pgob(pmu, enable); func 58 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c return pmu->func->recv(pmu); func 65 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (!pmu || !pmu->func->send) func 67 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c return pmu->func->send(pmu, reply, process, message, data0, data1); func 74 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (!pmu->func->intr) func 76 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c pmu->func->intr(pmu); func 84 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (pmu->func->fini) func 85 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c pmu->func->fini(pmu); func 96 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (!pmu->func->enabled(pmu)) func 107 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (pmu->func->reset) func 108 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c pmu->func->reset(pmu); func 131 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c if (ret == 0 && pmu->func->init) func 132 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c ret = pmu->func->init(pmu); func 163 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_ctor(const struct nvkm_pmu_func *func, struct nvkm_device *device, func 167 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c pmu->func = func; func 174 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_pmu_new_(const struct nvkm_pmu_func *func, struct nvkm_device *device, func 180 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c return nvkm_pmu_ctor(func, device, index, *ppmu); func 206 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c for (i = 0; i < pmu->func->data.size / 4; i++) func 207 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c nvkm_wr32(device, 0x10a1c4, pmu->func->data.data[i]); func 211 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c for (i = 0; i < pmu->func->code.size / 4; i++) { func 214 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c nvkm_wr32(device, 0x10a184, pmu->func->code.data[i]); func 53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr.h const struct nvkm_acr_func *func; func 232 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_lsf_func *func; func 248 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_ls_func *func = acr->func->ls_func[falcon_id]; func 258 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = func->load(sb, func->version_max, &img->base); func 266 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c img->func = func->version[ret]; func 309 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_lsf_func *func = img->func; func 360 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->flags = func->lhdr_flags; func 365 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c lhdr->bl_data_size = ALIGN(func->bl_desc_size, LSF_BL_DATA_SIZE_ALIGN); func 426 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_lsf_func *ls_func = img->func; func 439 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_lsf_func *ls_func = img->func; func 500 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c img = acr->func->ls_ucode_img_load(acr, sb, falcon_id); func 523 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c if (acr->func->ls_func[acr->base.boot_falcon] && func 538 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c image_wpr_size = acr->func->ls_fill_headers(acr, &imgs); func 547 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c if (wpr_size == 0 && acr->func->shadow_blob) func 562 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c if (acr->func->shadow_blob) func 579 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = acr->func->ls_write_wpr(acr, &imgs, acr->ls_blob, wpr_addr); func 679 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr->func->fixup_hs_desc(acr, sb, desc); func 785 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const u32 bl_desc_size = acr->func->hs_bl_desc_size; func 827 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr->func->generate_hs_bl_desc(load_hdr, bl_desc, offset); func 850 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = sb->func->run_blob(sb, acr->unload_blob, sb->halt_falcon); func 920 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = sb->func->run_blob(sb, acr->load_blob, sb->boot_falcon); func 939 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c const struct acr_r352_ls_func *func = func 940 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr->func->ls_func[falcon_id]; func 942 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c if (func->post_run) { func 943 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c ret = func->post_run(&acr->base, sb); func 1211 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr_r352_new_(const struct acr_r352_func *func, func 1220 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c if (!func->ls_func[i]) func 1230 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr->base.func = &acr_r352_base_func; func 1231 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c acr->func = func; func 109 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.h const struct acr_r352_func *func; func 74 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c if (acr->func->shadow_blob) func 85 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c if (acr->func->shadow_blob) func 104 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c const struct acr_r352_lsf_func *func; func 117 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c const struct acr_r352_ls_func *func = acr->func->ls_func[falcon_id]; func 127 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c ret = func->load(sb, func->version_max, &img->base); func 135 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c img->func = func->version[ret]; func 167 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c const struct acr_r352_lsf_func *func = img->func; func 219 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->flags = func->lhdr_flags; func 224 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c lhdr->bl_data_size = ALIGN(func->bl_desc_size, LSF_BL_DATA_SIZE_ALIGN); func 278 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c const struct acr_r352_lsf_func *ls_func = img->func; func 291 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c const struct acr_r352_lsf_func *ls_func = img->func; func 363 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c if (acr->func->shadow_blob) func 374 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c if (acr->func->shadow_blob) func 113 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c return sb->acr->func->reset(sb->acr, sb, falcon_mask); func 152 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c if (sb->func->oneinit) func 153 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c ret = sb->func->oneinit(sb); func 169 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c if (sb->func->fini) func 170 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c ret = sb->func->fini(sb, suspend); func 181 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c if (sb->func->dtor) func 182 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c ret = sb->func->dtor(sb); func 195 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c nvkm_secboot_ctor(const struct nvkm_secboot_func *func, struct nvkm_acr *acr, func 202 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c sb->func = func; func 68 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c ret = sb->acr->func->load(sb->acr, falcon, blob, vma->addr); func 129 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c if (sb->acr->func->oneinit) { func 130 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c ret = sb->acr->func->oneinit(sb->acr, sb); func 143 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c if (sb->acr->func->fini) func 144 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c ret = sb->acr->func->fini(sb->acr, sb, suspend); func 154 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c sb->acr->func->dtor(sb->acr); func 40 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp108.c acr->func->dtor(acr); func 32 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (therm->func->temp_get) func 33 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c return therm->func->temp_get(therm); func 43 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 temp = therm->func->temp_get(therm); func 73 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c u8 temp = therm->func->temp_get(therm); func 203 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->temp_get(therm) < 0) func 268 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 272 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 276 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 280 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 284 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 288 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 292 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 296 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->program_alarms(therm); func 306 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (!therm || !therm->func->clkgate_enable || !therm->clkgating_enabled) func 311 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->clkgate_enable(therm); func 317 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (!therm || !therm->func->clkgate_fini || !therm->clkgating_enabled) func 323 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->clkgate_fini(therm, suspend); func 329 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (!therm->func->clkgate_enable || !therm->clkgating_enabled) func 339 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (therm->func->intr) func 340 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->intr(therm); func 348 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (therm->func->fini) func 349 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->fini(therm); func 380 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (therm->func->init) func 381 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->init(therm); func 400 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c if (!therm || !therm->func->clkgate_init || !therm->clkgating_enabled) func 403 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func->clkgate_init(therm, p); func 425 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c int index, const struct nvkm_therm_func *func) func 428 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c therm->func = func; func 445 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device, func 453 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_ctor(therm, device, index, func); func 132 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c if (therm->func->fan_sense) func 133 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c return therm->func->fan_sense(therm); func 135 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c if (therm->fan->tach.func == DCB_GPIO_UNUSED) func 143 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c prev = nvkm_gpio_get(gpio, 0, therm->fan->tach.func, func 149 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c cur = nvkm_gpio_get(gpio, 0, therm->fan->tach.func, func 229 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c struct dcb_gpio_func func; func 233 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c ret = nvkm_gpio_find(gpio, 0, DCB_GPIO_FAN, 0xff, &func); func 236 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c if (func.line != 16 && func.log[0] & DCB_GPIO_LOG_DIR_IN) { func 240 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c ret = nvkm_fanpwm_create(therm, &func); func 242 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c ret = nvkm_fantog_create(therm, &func); func 262 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c therm->fan->tach.func = DCB_GPIO_UNUSED; func 34 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c struct dcb_gpio_func func; func 47 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c ret = therm->func->pwm_get(therm, fan->func.line, &divs, &duty); func 50 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c if (card_type <= NV_40 || (fan->func.log[0] & 1)) func 55 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100; func 69 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c if (therm->func->pwm_clock) func 70 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c divs = therm->func->pwm_clock(therm, fan->func.line); func 75 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c if (card_type <= NV_40 || (fan->func.log[0] & 1)) func 78 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c ret = therm->func->pwm_set(therm, fan->func.line, divs, duty); func 80 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c ret = therm->func->pwm_ctrl(therm, fan->func.line, true); func 85 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c nvkm_fanpwm_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) func 95 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c if (!nvkm_boolopt(device->cfgopt, "NvFanPWM", func->param) || func 96 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c !therm->func->pwm_ctrl || info.type == NVBIOS_THERM_FAN_TOGGLE || func 97 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c therm->func->pwm_get(therm, func->line, &divs, &duty) == -ENODEV) func 108 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fanpwm.c fan->func = *func; func 35 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c struct dcb_gpio_func func; func 84 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c if (therm->func->pwm_ctrl) func 85 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c therm->func->pwm_ctrl(therm, fan->func.line, false); func 91 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c nvkm_fantog_create(struct nvkm_therm *therm, struct dcb_gpio_func *func) func 96 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c if (therm->func->pwm_ctrl) { func 97 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c ret = therm->func->pwm_ctrl(therm, func->line, false); func 113 drivers/gpu/drm/nouveau/nvkm/subdev/therm/fantog.c fan->func = *func; func 118 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c cur = therm->func->temp_get(therm); func 127 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c if (therm->fan->tach.func != DCB_GPIO_UNUSED) { func 109 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c gk104_therm_new_(const struct nvkm_therm_func *func, func 121 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c nvkm_therm_ctor(&therm->base, device, index, func); func 49 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c if (tach->func != DCB_GPIO_UNUSED) { func 36 drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h int index, const struct nvkm_therm_func *func); func 89 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c int temperature = therm->func->temp_get(therm); func 143 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c int temp = therm->func->temp_get(therm); func 188 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c if (therm->func->temp_get(therm) >= 0) func 214 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c therm->func->program_alarms(therm); func 232 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c if (therm->func->temp_get(therm) < 0) func 65 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c return tmr->func->read(tmr); func 81 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->alarm_init(tmr, alarm->timestamp); func 95 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->alarm_fini(tmr); func 101 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c alarm->func(alarm); func 132 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->alarm_init(tmr, alarm->timestamp); func 148 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->intr(tmr); func 155 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->alarm_fini(tmr); func 163 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c if (tmr->func->init) func 164 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->init(tmr); func 165 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->time(tmr, ktime_to_ns(ktime_get())); func 185 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_new_(const struct nvkm_timer_func *func, struct nvkm_device *device, func 194 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func = func; func 164 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c return top->func->oneinit(top); func 188 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_new_(const struct nvkm_top_func *func, struct nvkm_device *device, func 195 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c top->func = func; func 36 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (volt->func->volt_get) func 37 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return volt->func->volt_get(volt); func 39 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c ret = volt->func->vid_get(volt); func 56 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (volt->func->volt_set) func 57 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return volt->func->volt_set(volt, uv); func 75 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c ret = volt->func->vid_set(volt, volt->vid[best].vid); func 165 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (volt->func->set_id) func 166 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return volt->func->set_id(volt, id, condition); func 235 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (volt->func->speedo_read) func 236 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return volt->func->speedo_read(volt); func 263 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c if (volt->func->oneinit) func 264 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c return volt->func->oneinit(volt); func 283 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_ctor(const struct nvkm_volt_func *func, struct nvkm_device *device, func 290 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->func = func; func 321 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_new_(const struct nvkm_volt_func *func, struct nvkm_device *device, func 326 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_ctor(func, device, index, *pvolt); func 151 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c struct nvkm_device_tegra *tdev = device->func->tegra(device); func 69 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c struct nvkm_device_tegra *tdev = device->func->tegra(device); func 76 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c struct dcb_gpio_func func; func 87 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c int ret = nvkm_gpio_find(gpio, 0, tags[i], 0xff, &func); func 3668 drivers/gpu/drm/omapdrm/dss/dispc.c dispc_div_calc_func func, void *data) func 3718 drivers/gpu/drm/omapdrm/dss/dispc.c if (func(lckd, pckd, lck, pck, data)) func 599 drivers/gpu/drm/omapdrm/dss/dss.c unsigned long fck_min, dss_div_calc_func func, void *data) func 619 drivers/gpu/drm/omapdrm/dss/dss.c return func(fck, data); func 635 drivers/gpu/drm/omapdrm/dss/dss.c if (func(fck, data)) func 345 drivers/gpu/drm/omapdrm/dss/dss.h unsigned long fck_min, dss_div_calc_func func, void *data); func 407 drivers/gpu/drm/omapdrm/dss/dss.h dispc_div_calc_func func, void *data); func 459 drivers/gpu/drm/omapdrm/dss/dss.h dss_hsdiv_calc_func func, void *data); func 462 drivers/gpu/drm/omapdrm/dss/dss.h dss_pll_calc_func func, void *data); func 178 drivers/gpu/drm/omapdrm/dss/pll.c dss_hsdiv_calc_func func, void *data) func 194 drivers/gpu/drm/omapdrm/dss/pll.c if (func(m, out, data)) func 207 drivers/gpu/drm/omapdrm/dss/pll.c dss_pll_calc_func func, void *data) func 250 drivers/gpu/drm/omapdrm/dss/pll.c if (func(n, m, fint, clkdco, data)) func 260 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c #define s6e3ha2_call_write_func(ret, func) do { \ func 261 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ret = (func); \ func 109 drivers/gpu/drm/panel/panel-sitronix-st7789v.c #define ST7789V_TEST(val, func) \ func 111 drivers/gpu/drm/panel/panel-sitronix-st7789v.c if ((val = (func))) \ func 535 drivers/gpu/drm/panfrost/panfrost_drv.c #define PANFROST_IOCTL(n, func, flags) \ func 536 drivers/gpu/drm/panfrost/panfrost_drv.c DRM_IOCTL_DEF_DRV(PANFROST_##n, panfrost_ioctl_##func, flags) func 118 drivers/gpu/drm/qxl/qxl_ttm.c man->func = &ttm_bo_manager_func; func 253 drivers/gpu/drm/qxl/qxl_ttm.c gtt->ttm.func = &qxl_backend_func; func 646 drivers/gpu/drm/r128/r128_cce.c switch (init->func) { func 40 drivers/gpu/drm/r128/r128_ioc32.c int func; func 72 drivers/gpu/drm/r128/r128_ioc32.c init.func = init32.func; func 100 drivers/gpu/drm/r128/r128_ioc32.c int func; func 117 drivers/gpu/drm/r128/r128_ioc32.c depth.func = depth32.func; func 1472 drivers/gpu/drm/r128/r128_state.c switch (depth->func) { func 1031 drivers/gpu/drm/radeon/atom.c void (*func) (atom_exec_context *, int *, int); func 1202 drivers/gpu/drm/radeon/atom.c opcode_table[op].func(&ectx, &ptr, func 423 drivers/gpu/drm/radeon/radeon_fence.c fence->fence_wake.func = radeon_fence_check_signaled; func 89 drivers/gpu/drm/radeon/radeon_ttm.c man->func = &ttm_bo_manager_func; func 111 drivers/gpu/drm/radeon/radeon_ttm.c man->func = &ttm_bo_manager_func; func 650 drivers/gpu/drm/radeon/radeon_ttm.c gtt->ttm.ttm.func = &radeon_backend_func; func 661 drivers/gpu/drm/radeon/radeon_ttm.c if (!ttm || ttm->func != &radeon_backend_func) func 936 drivers/gpu/drm/radeon/radeon_ttm.c man->func->debug(man, &p); func 928 drivers/gpu/drm/savage/savage_bci.c switch (init->func) { func 26 drivers/gpu/drm/selftests/drm_selftest.c #define selftest(name, func) __idx_##name, func 32 drivers/gpu/drm/selftests/drm_selftest.c #define selftest(n, f) [__idx_##n] = { .name = #n, .func = f }, func 36 drivers/gpu/drm/selftests/drm_selftest.c int (*func)(void *); func 44 drivers/gpu/drm/selftests/drm_selftest.c #define selftest_0(n, func, id) \ func 46 drivers/gpu/drm/selftests/drm_selftest.c #define selftest(n, func) selftest_0(n, func, param(n)) func 76 drivers/gpu/drm/selftests/drm_selftest.c err = st->func(data); func 100 drivers/gpu/drm/selftests/drm_selftest.c err = st->func(data); func 28 drivers/gpu/drm/selftests/drm_selftest.h int (*func)(void *data); func 671 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c enum sun6i_dsi_start_inst func) func 673 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c switch (func) { func 708 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c if (func == DSI_START_HSC) func 126 drivers/gpu/drm/ttm/ttm_agp_backend.c agp_be->ttm.func = &ttm_agp_func; func 92 drivers/gpu/drm/ttm/ttm_bo.c (*man->func->debug)(man, p); func 922 drivers/gpu/drm/ttm/ttm_bo.c (*man->func->put_node)(man, mem); func 976 drivers/gpu/drm/ttm/ttm_bo.c ret = (*man->func->get_node)(man, bo, place, mem); func 1125 drivers/gpu/drm/ttm/ttm_bo.c ret = (*man->func->get_node)(man, bo, place, mem); func 1134 drivers/gpu/drm/ttm/ttm_bo.c (*man->func->put_node)(man, mem); func 1558 drivers/gpu/drm/ttm/ttm_bo.c ret = (*man->func->takedown)(man); func 1608 drivers/gpu/drm/ttm/ttm_bo.c ret = (*man->func->init)(man, p_size); func 223 drivers/gpu/drm/ttm/ttm_tt.c ttm->func->destroy(ttm); func 316 drivers/gpu/drm/ttm/ttm_tt.c ret = ttm->func->unbind(ttm); func 337 drivers/gpu/drm/ttm/ttm_tt.c ret = ttm->func->bind(ttm, bo_mem); func 305 drivers/gpu/drm/vc4/vc4_drv.h void (*func)(struct vc4_seqno_cb *cb); func 810 drivers/gpu/drm/vc4/vc4_drv.h void (*func)(struct vc4_seqno_cb *cb)); func 1022 drivers/gpu/drm/vc4/vc4_gem.c cb->func(cb); func 1027 drivers/gpu/drm/vc4/vc4_gem.c void (*func)(struct vc4_seqno_cb *cb)) func 1033 drivers/gpu/drm/vc4/vc4_gem.c cb->func = func; func 432 drivers/gpu/drm/vc4/vc4_validate.c #define VC4_DEFINE_PACKET(packet, func) \ func 433 drivers/gpu/drm/vc4/vc4_validate.c [packet] = { packet ## _SIZE, #packet, func } func 438 drivers/gpu/drm/vc4/vc4_validate.c int (*func)(struct vc4_exec_info *exec, void *validated, func 519 drivers/gpu/drm/vc4/vc4_validate.c if (info->func && info->func(exec, func 242 drivers/gpu/drm/via/via_dma.c switch (init->func) { func 699 drivers/gpu/drm/via/via_dma.c switch (d_siz->func) { func 88 drivers/gpu/drm/via/via_map.c switch (init->func) { func 84 drivers/gpu/drm/via/via_video.c switch (fx->func) { func 126 drivers/gpu/drm/virtio/virtgpu_ttm.c man->func = &virtio_gpu_bo_manager_func; func 243 drivers/gpu/drm/virtio/virtgpu_ttm.c gtt->ttm.ttm.func = &virtio_gpu_tt_func; func 129 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c if (entry->res->func->commit_notify) func 130 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c entry->res->func->commit_notify(entry->res, func 146 drivers/gpu/drm/vmwgfx/vmwgfx_context.c if (res->func->destroy == vmw_gb_context_destroy || func 147 drivers/gpu/drm/vmwgfx/vmwgfx_context.c res->func->destroy == vmw_dx_context_destroy) { func 152 drivers/gpu/drm/vmwgfx/vmwgfx_context.c (void) res->func->destroy(res); func 159 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c #define VMW_IOCTL_DEF(ioctl, func, flags) \ func 160 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func} func 176 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h const struct vmw_res_func *func; func 130 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c int (*func) (struct vmw_private *, struct vmw_sw_context *, func 3229 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (unlikely(!entry->func)) func 3241 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c ret = entry->func(dev_priv, sw_context, header); func 196 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c cb.base.func = vmwgfx_wait_cb; func 45 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->used_prio = (res->res_dirty) ? res->func->dirty_prio : func 46 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->prio; func 88 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c struct idr *idr = &dev_priv->res_idr[res->func->res_type]; func 103 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c struct idr *idr = &dev_priv->res_idr[res->func->res_type]; func 113 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->unbind != NULL) { func 118 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->unbind(res, false, &val_buf); func 166 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c struct idr *idr = &dev_priv->res_idr[res->func->res_type]; func 196 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c const struct vmw_res_func *func) func 202 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func = func; func 352 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->backup_placement, func 379 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c const struct vmw_res_func *func = res->func; func 382 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ret = func->create(res); func 387 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (func->bind && func 388 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ((func->needs_backup && !vmw_resource_mob_attached(res) && func 390 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c (!func->needs_backup && val_buf->bo != NULL))) { func 391 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ret = func->bind(res, val_buf); func 394 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (func->needs_backup) func 401 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c func->destroy(res); func 452 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (!res->func->may_evict || res->id == -1 || res->pin_count) func 457 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c &res->dev_priv->res_lru[res->func->res_type]); func 500 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (res->func->needs_backup && !vmw_resource_mob_attached(res)) func 505 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->backup_placement, func 544 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (res->func->needs_backup && res->backup == NULL && func 593 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c const struct vmw_res_func *func = res->func; func 596 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c BUG_ON(!func->may_evict); func 604 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (unlikely(func->unbind != NULL && func 605 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c (!func->needs_backup || vmw_resource_mob_attached(res)))) { func 606 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ret = func->unbind(res, res->res_dirty, &val_buf); func 611 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c ret = func->destroy(res); func 640 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; func 644 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (!res->func->create) func 657 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (list_empty(lru_list) || !res->func->may_evict) { func 659 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c "for %s.\n", res->func->type_name); func 690 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c else if (!res->func->needs_backup && res->backup) { func 724 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c if (!res->func->unbind) func 727 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c (void) res->func->unbind(res, res->res_dirty, &val_buf); func 834 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c return res->func->needs_backup; func 940 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c res->func->backup_placement, func 1009 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c return res->func->res_type; func 121 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h const struct vmw_simple_resource_func *func; func 129 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h const struct vmw_res_func *func); func 134 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h const struct vmw_simple_resource_func *func); func 138 drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h const struct vmw_simple_resource_func *func); func 152 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c if (likely(res->func->destroy)) func 153 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c (void) res->func->destroy(res); func 71 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c &simple->func->res_func); func 78 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c ret = simple->func->init(res, data); func 84 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c simple->res.hw_destroy = simple->func->hw_destroy; func 145 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c const struct vmw_simple_resource_func *func) func 161 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c func->size; func 175 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c " creation.\n", func->res_func.type_name); func 188 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c usimple->simple.func = func; func 204 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c func->ttm_res_type, func 212 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c func->set_arg_handle(data, usimple->base.handle); func 234 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c const struct vmw_simple_resource_func *func) func 243 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c func->res_func.type_name, func 248 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c if (ttm_base_object_type(base) != func->ttm_res_type) { func 251 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c func->res_func.type_name, func 342 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c if (res->func->destroy == vmw_gb_surface_destroy) { func 722 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c vmw_be->dma_ttm.ttm.func = &vmw_ttm_func; func 757 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c man->func = &ttm_bo_manager_func; func 770 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c man->func = &vmw_gmrid_manager_func; func 991 drivers/gpu/vga/vgaarb.c unsigned int slot, func; func 994 drivers/gpu/vga/vgaarb.c n = sscanf(buf, "PCI:%x:%x:%x.%x", domain, bus, &slot, &func); func 998 drivers/gpu/vga/vgaarb.c *devfn = PCI_DEVFN(slot, func); func 1586 drivers/hid/hid-wiimote-core.c void (*func)(struct wiimote_data *wdata, const __u8 *payload); func 1590 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_STATUS, .size = 6, .func = handler_status }, func 1591 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_STATUS, .size = 2, .func = handler_status_K }, func 1592 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DATA, .size = 21, .func = handler_data }, func 1593 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DATA, .size = 2, .func = handler_generic_K }, func 1594 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_RETURN, .size = 4, .func = handler_return }, func 1595 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_RETURN, .size = 2, .func = handler_generic_K }, func 1596 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_K, .size = 2, .func = handler_keys }, func 1597 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KA, .size = 5, .func = handler_drm_KA }, func 1598 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KA, .size = 2, .func = handler_generic_K }, func 1599 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KE, .size = 10, .func = handler_drm_KE }, func 1600 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KE, .size = 2, .func = handler_generic_K }, func 1601 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAI, .size = 17, .func = handler_drm_KAI }, func 1602 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAI, .size = 2, .func = handler_generic_K }, func 1603 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KEE, .size = 21, .func = handler_drm_KEE }, func 1604 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KEE, .size = 2, .func = handler_generic_K }, func 1605 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAE, .size = 21, .func = handler_drm_KAE }, func 1606 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAE, .size = 2, .func = handler_generic_K }, func 1607 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KIE, .size = 21, .func = handler_drm_KIE }, func 1608 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KIE, .size = 2, .func = handler_generic_K }, func 1609 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAIE, .size = 21, .func = handler_drm_KAIE }, func 1610 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_KAIE, .size = 2, .func = handler_generic_K }, func 1611 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_E, .size = 21, .func = handler_drm_E }, func 1612 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_SKAI1, .size = 21, .func = handler_drm_SKAI1 }, func 1613 drivers/hid/hid-wiimote-core.c { .id = WIIPROTO_REQ_DRM_SKAI2, .size = 21, .func = handler_drm_SKAI2 }, func 1633 drivers/hid/hid-wiimote-core.c h->func(wdata, &raw_data[1]); func 328 drivers/hwmon/ibmpex.c int counter, int sensor, int func) func 339 drivers/hwmon/ibmpex.c counter, sensor_name_suffixes[func]); func 342 drivers/hwmon/ibmpex.c counter, sensor_name_suffixes[func]); func 344 drivers/hwmon/ibmpex.c sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); func 345 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.name = n; func 346 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.mode = 0444; func 347 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.show = ibmpex_show_sensor; func 348 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].index = sensor; func 349 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].nr = func; func 352 drivers/hwmon/ibmpex.c &data->sensors[sensor].attr[func].dev_attr); func 354 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.name = NULL; func 2592 drivers/hwmon/lm93.c int func; func 2596 drivers/hwmon/lm93.c func = i2c_get_functionality(client->adapter); func 2597 drivers/hwmon/lm93.c if (((LM93_SMBUS_FUNC_FULL & func) == LM93_SMBUS_FUNC_FULL) && func 2601 drivers/hwmon/lm93.c } else if ((LM93_SMBUS_FUNC_MIN & func) == LM93_SMBUS_FUNC_MIN) { func 532 drivers/hwmon/pmbus/adm1275.c info->func[0] = PMBUS_HAVE_IOUT | PMBUS_HAVE_STATUS_IOUT | func 564 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_VIN | PMBUS_HAVE_PIN func 567 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 597 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT | func 614 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 617 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_VIN; func 631 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 634 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 650 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_VIN | PMBUS_HAVE_PIN func 653 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 668 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_PIN | PMBUS_HAVE_STATUS_INPUT | func 685 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 688 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_VIN; func 734 drivers/hwmon/pmbus/adm1275.c info->func[0] |= func 737 drivers/hwmon/pmbus/adm1275.c info->func[0] |= PMBUS_HAVE_PIN | func 378 drivers/hwmon/pmbus/ibm-cffps.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | func 389 drivers/hwmon/pmbus/ibm-cffps.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | func 395 drivers/hwmon/pmbus/ibm-cffps.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | func 180 drivers/hwmon/pmbus/inspur-ipsps.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | func 113 drivers/hwmon/pmbus/ir35221.c info->func[0] = PMBUS_HAVE_VIN func 119 drivers/hwmon/pmbus/ir35221.c info->func[1] = info->func[0]; func 31 drivers/hwmon/pmbus/ir38064.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT func 34 drivers/hwmon/pmbus/irps5401.c .func[0] = IRPS5401_SW_FUNC, func 35 drivers/hwmon/pmbus/irps5401.c .func[1] = IRPS5401_SW_FUNC, func 36 drivers/hwmon/pmbus/irps5401.c .func[2] = IRPS5401_SW_FUNC, func 37 drivers/hwmon/pmbus/irps5401.c .func[3] = IRPS5401_SW_FUNC, func 38 drivers/hwmon/pmbus/irps5401.c .func[4] = IRPS5401_LDO_FUNC, func 132 drivers/hwmon/pmbus/isl68137.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_PIN func 137 drivers/hwmon/pmbus/isl68137.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 441 drivers/hwmon/pmbus/lm25066.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VMON func 446 drivers/hwmon/pmbus/lm25066.c info->func[0] |= PMBUS_HAVE_STATUS_VMON; func 451 drivers/hwmon/pmbus/lm25066.c info->func[0] |= PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT; func 643 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT func 646 drivers/hwmon/pmbus/ltc2978.c info->func[i] |= PMBUS_HAVE_VOUT func 655 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_IIN | PMBUS_HAVE_PIN func 659 drivers/hwmon/pmbus/ltc2978.c info->func[i] |= PMBUS_HAVE_VOUT func 671 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT func 675 drivers/hwmon/pmbus/ltc2978.c info->func[i] = PMBUS_HAVE_VOUT func 687 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN func 693 drivers/hwmon/pmbus/ltc2978.c info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 702 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN func 708 drivers/hwmon/pmbus/ltc2978.c info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 717 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN func 728 drivers/hwmon/pmbus/ltc2978.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN func 734 drivers/hwmon/pmbus/ltc2978.c info->func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 167 drivers/hwmon/pmbus/ltc3815.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_IIN | PMBUS_HAVE_VOUT | func 78 drivers/hwmon/pmbus/max16064.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP func 80 drivers/hwmon/pmbus/max16064.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 81 drivers/hwmon/pmbus/max16064.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 82 drivers/hwmon/pmbus/max16064.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 23 drivers/hwmon/pmbus/max20751.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | func 265 drivers/hwmon/pmbus/max31785.c .func[0] = MAX31785_FAN_FUNCS, func 266 drivers/hwmon/pmbus/max31785.c .func[1] = MAX31785_FAN_FUNCS, func 267 drivers/hwmon/pmbus/max31785.c .func[2] = MAX31785_FAN_FUNCS, func 268 drivers/hwmon/pmbus/max31785.c .func[3] = MAX31785_FAN_FUNCS, func 269 drivers/hwmon/pmbus/max31785.c .func[4] = MAX31785_FAN_FUNCS, func 270 drivers/hwmon/pmbus/max31785.c .func[5] = MAX31785_FAN_FUNCS, func 276 drivers/hwmon/pmbus/max31785.c .func[6] = MAX31785_TEMP_FUNCS, func 277 drivers/hwmon/pmbus/max31785.c .func[7] = MAX31785_TEMP_FUNCS, func 278 drivers/hwmon/pmbus/max31785.c .func[8] = MAX31785_TEMP_FUNCS, func 279 drivers/hwmon/pmbus/max31785.c .func[9] = MAX31785_TEMP_FUNCS, func 280 drivers/hwmon/pmbus/max31785.c .func[10] = MAX31785_TEMP_FUNCS, func 281 drivers/hwmon/pmbus/max31785.c .func[11] = MAX31785_TEMP_FUNCS, func 282 drivers/hwmon/pmbus/max31785.c .func[12] = MAX31785_TEMP_FUNCS, func 283 drivers/hwmon/pmbus/max31785.c .func[13] = MAX31785_TEMP_FUNCS, func 284 drivers/hwmon/pmbus/max31785.c .func[14] = MAX31785_TEMP_FUNCS, func 285 drivers/hwmon/pmbus/max31785.c .func[15] = MAX31785_TEMP_FUNCS, func 286 drivers/hwmon/pmbus/max31785.c .func[16] = MAX31785_TEMP_FUNCS, func 292 drivers/hwmon/pmbus/max31785.c .func[17] = MAX31785_VOUT_FUNCS, func 293 drivers/hwmon/pmbus/max31785.c .func[18] = MAX31785_VOUT_FUNCS, func 294 drivers/hwmon/pmbus/max31785.c .func[19] = MAX31785_VOUT_FUNCS, func 295 drivers/hwmon/pmbus/max31785.c .func[20] = MAX31785_VOUT_FUNCS, func 296 drivers/hwmon/pmbus/max31785.c .func[21] = MAX31785_VOUT_FUNCS, func 297 drivers/hwmon/pmbus/max31785.c .func[22] = MAX31785_VOUT_FUNCS, func 319 drivers/hwmon/pmbus/max31785.c info->func[virtual] |= PMBUS_HAVE_FAN12; func 320 drivers/hwmon/pmbus/max31785.c info->func[virtual] |= PMBUS_PAGE_VIRTUAL; func 226 drivers/hwmon/pmbus/max34440.c data->info.func[page] = PMBUS_HAVE_VOUT | func 230 drivers/hwmon/pmbus/max34440.c data->info.func[page] = PMBUS_HAVE_VOUT; func 233 drivers/hwmon/pmbus/max34440.c data->info.func[page] = PMBUS_HAVE_IOUT | func 237 drivers/hwmon/pmbus/max34440.c data->info.func[page] = PMBUS_HAVE_IOUT; func 266 drivers/hwmon/pmbus/max34440.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 268 drivers/hwmon/pmbus/max34440.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 270 drivers/hwmon/pmbus/max34440.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 272 drivers/hwmon/pmbus/max34440.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 274 drivers/hwmon/pmbus/max34440.c .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 276 drivers/hwmon/pmbus/max34440.c .func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 278 drivers/hwmon/pmbus/max34440.c .func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 279 drivers/hwmon/pmbus/max34440.c .func[7] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 280 drivers/hwmon/pmbus/max34440.c .func[8] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 281 drivers/hwmon/pmbus/max34440.c .func[9] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 282 drivers/hwmon/pmbus/max34440.c .func[10] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 283 drivers/hwmon/pmbus/max34440.c .func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 284 drivers/hwmon/pmbus/max34440.c .func[12] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 285 drivers/hwmon/pmbus/max34440.c .func[13] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 312 drivers/hwmon/pmbus/max34440.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 314 drivers/hwmon/pmbus/max34440.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 316 drivers/hwmon/pmbus/max34440.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 318 drivers/hwmon/pmbus/max34440.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 320 drivers/hwmon/pmbus/max34440.c .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 322 drivers/hwmon/pmbus/max34440.c .func[5] = PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12, func 323 drivers/hwmon/pmbus/max34440.c .func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 324 drivers/hwmon/pmbus/max34440.c .func[7] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 325 drivers/hwmon/pmbus/max34440.c .func[8] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 326 drivers/hwmon/pmbus/max34440.c .func[9] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 327 drivers/hwmon/pmbus/max34440.c .func[10] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 328 drivers/hwmon/pmbus/max34440.c .func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 355 drivers/hwmon/pmbus/max34440.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 357 drivers/hwmon/pmbus/max34440.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 359 drivers/hwmon/pmbus/max34440.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 361 drivers/hwmon/pmbus/max34440.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT func 363 drivers/hwmon/pmbus/max34440.c .func[4] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 364 drivers/hwmon/pmbus/max34440.c .func[5] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 365 drivers/hwmon/pmbus/max34440.c .func[6] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 385 drivers/hwmon/pmbus/max34440.c .func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 386 drivers/hwmon/pmbus/max34440.c .func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 387 drivers/hwmon/pmbus/max34440.c .func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 388 drivers/hwmon/pmbus/max34440.c .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 389 drivers/hwmon/pmbus/max34440.c .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 404 drivers/hwmon/pmbus/max34440.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 405 drivers/hwmon/pmbus/max34440.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 406 drivers/hwmon/pmbus/max34440.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 407 drivers/hwmon/pmbus/max34440.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 408 drivers/hwmon/pmbus/max34440.c .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 409 drivers/hwmon/pmbus/max34440.c .func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 410 drivers/hwmon/pmbus/max34440.c .func[6] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 411 drivers/hwmon/pmbus/max34440.c .func[7] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 412 drivers/hwmon/pmbus/max34440.c .func[8] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 413 drivers/hwmon/pmbus/max34440.c .func[9] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 414 drivers/hwmon/pmbus/max34440.c .func[10] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 415 drivers/hwmon/pmbus/max34440.c .func[11] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 416 drivers/hwmon/pmbus/max34440.c .func[13] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 417 drivers/hwmon/pmbus/max34440.c .func[14] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 418 drivers/hwmon/pmbus/max34440.c .func[15] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 419 drivers/hwmon/pmbus/max34440.c .func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 420 drivers/hwmon/pmbus/max34440.c .func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 435 drivers/hwmon/pmbus/max34440.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 436 drivers/hwmon/pmbus/max34440.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 437 drivers/hwmon/pmbus/max34440.c .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 438 drivers/hwmon/pmbus/max34440.c .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 439 drivers/hwmon/pmbus/max34440.c .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 440 drivers/hwmon/pmbus/max34440.c .func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 441 drivers/hwmon/pmbus/max34440.c .func[6] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 442 drivers/hwmon/pmbus/max34440.c .func[7] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 443 drivers/hwmon/pmbus/max34440.c .func[8] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 444 drivers/hwmon/pmbus/max34440.c .func[9] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 445 drivers/hwmon/pmbus/max34440.c .func[10] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 446 drivers/hwmon/pmbus/max34440.c .func[11] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 447 drivers/hwmon/pmbus/max34440.c .func[12] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 448 drivers/hwmon/pmbus/max34440.c .func[13] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 449 drivers/hwmon/pmbus/max34440.c .func[14] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 450 drivers/hwmon/pmbus/max34440.c .func[15] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT, func 452 drivers/hwmon/pmbus/max34440.c .func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 453 drivers/hwmon/pmbus/max34440.c .func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 454 drivers/hwmon/pmbus/max34440.c .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 455 drivers/hwmon/pmbus/max34440.c .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 456 drivers/hwmon/pmbus/max34440.c .func[21] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, func 157 drivers/hwmon/pmbus/max8688.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT | PMBUS_HAVE_TEMP func 33 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_VIN; func 35 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_VCAP; func 37 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_IIN; func 39 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_PIN; func 40 drivers/hwmon/pmbus/pmbus.c if (info->func[0] func 42 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_STATUS_INPUT; func 45 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_FAN12; func 47 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_STATUS_FAN12; func 51 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_FAN34; func 53 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_STATUS_FAN34; func 56 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_TEMP; func 58 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_TEMP2; func 60 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_TEMP3; func 61 drivers/hwmon/pmbus/pmbus.c if (info->func[0] & (PMBUS_HAVE_TEMP | PMBUS_HAVE_TEMP2 func 65 drivers/hwmon/pmbus/pmbus.c info->func[0] |= PMBUS_HAVE_STATUS_TEMP; func 70 drivers/hwmon/pmbus/pmbus.c info->func[page] |= PMBUS_HAVE_VOUT; func 73 drivers/hwmon/pmbus/pmbus.c info->func[page] |= PMBUS_HAVE_STATUS_VOUT; func 76 drivers/hwmon/pmbus/pmbus.c info->func[page] |= PMBUS_HAVE_IOUT; func 79 drivers/hwmon/pmbus/pmbus.c info->func[page] |= PMBUS_HAVE_STATUS_IOUT; func 82 drivers/hwmon/pmbus/pmbus.c info->func[page] |= PMBUS_HAVE_POUT; func 394 drivers/hwmon/pmbus/pmbus.h u32 func[PMBUS_PAGES]; /* Functionality, per page */ func 157 drivers/hwmon/pmbus/pmbus_core.c if (!(data->info->func[page] & PMBUS_PAGE_VIRTUAL)) { func 494 drivers/hwmon/pmbus/pmbus_core.c int (*func)(struct i2c_client *client, func 501 drivers/hwmon/pmbus/pmbus_core.c rv = func(client, page, reg); func 546 drivers/hwmon/pmbus/pmbus_core.c u32 func; func 575 drivers/hwmon/pmbus/pmbus_core.c if (!(info->func[i] & s->func)) func 583 drivers/hwmon/pmbus/pmbus_core.c if (info->func[0] & PMBUS_HAVE_STATUS_INPUT) func 588 drivers/hwmon/pmbus/pmbus_core.c if (info->func[0] & PMBUS_HAVE_STATUS_VMON) func 1164 drivers/hwmon/pmbus/pmbus_core.c u32 func; /* sensor mask */ func 1197 drivers/hwmon/pmbus/pmbus_core.c if (l->sbit && (info->func[page] & attr->sfunc)) { func 1280 drivers/hwmon/pmbus/pmbus_core.c if (info->func[p] & attr->func) func 1303 drivers/hwmon/pmbus/pmbus_core.c if (!(info->func[page] & attrs->func)) func 1424 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_VIN, func 1434 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_VMON, func 1443 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_VCAP, func 1449 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_VOUT, func 1528 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_IIN, func 1539 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_IOUT, func 1613 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_PIN, func 1624 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_POUT, func 1743 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_TEMP, func 1755 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_TEMP2, func 1767 drivers/hwmon/pmbus/pmbus_core.c .func = PMBUS_HAVE_TEMP3, func 1820 drivers/hwmon/pmbus/pmbus_core.c if (!((data->info->func[page] & PMBUS_HAVE_PWM12) || func 1821 drivers/hwmon/pmbus/pmbus_core.c (data->info->func[page] & PMBUS_HAVE_PWM34))) func 1855 drivers/hwmon/pmbus/pmbus_core.c if (!(info->func[page] & pmbus_fan_flags[f])) func 1891 drivers/hwmon/pmbus/pmbus_core.c if ((info->func[page] & pmbus_fan_status_flags[f]) && func 2007 drivers/hwmon/pmbus/pmbus_core.c if (!(info->func[0] & PMBUS_HAVE_SAMPLES)) func 2326 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_VOUT) { func 2336 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_IOUT) { func 2346 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_INPUT) { func 2356 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_TEMP) { func 2397 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_FAN12) { func 2407 drivers/hwmon/pmbus/pmbus_core.c if (data->info->func[i] & PMBUS_HAVE_STATUS_FAN34) { func 56 drivers/hwmon/pmbus/pxe1610.c .func[0] = PMBUS_HAVE_VIN func 62 drivers/hwmon/pmbus/pxe1610.c .func[1] = PMBUS_HAVE_VIN func 68 drivers/hwmon/pmbus/pxe1610.c .func[2] = PMBUS_HAVE_VIN func 20 drivers/hwmon/pmbus/tps40422.c .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP2 func 23 drivers/hwmon/pmbus/tps40422.c .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_TEMP2 func 60 drivers/hwmon/pmbus/tps53679.c .func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | func 64 drivers/hwmon/pmbus/tps53679.c .func[1] = PMBUS_HAVE_VIN | PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | func 537 drivers/hwmon/pmbus/ucd9000.c info->func[0] = PMBUS_HAVE_TEMP; func 555 drivers/hwmon/pmbus/ucd9000.c info->func[page] |= PMBUS_HAVE_VOUT func 559 drivers/hwmon/pmbus/ucd9000.c info->func[page] |= PMBUS_HAVE_TEMP2 func 563 drivers/hwmon/pmbus/ucd9000.c info->func[page] |= PMBUS_HAVE_IOUT func 585 drivers/hwmon/pmbus/ucd9000.c info->func[0] |= PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12 func 178 drivers/hwmon/pmbus/ucd9200.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT | func 186 drivers/hwmon/pmbus/ucd9200.c info->func[i] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT | func 193 drivers/hwmon/pmbus/ucd9200.c info->func[0] |= PMBUS_HAVE_FAN12 | PMBUS_HAVE_STATUS_FAN12; func 364 drivers/hwmon/pmbus/zl6100.c info->func[0] = PMBUS_HAVE_VIN | PMBUS_HAVE_STATUS_INPUT func 374 drivers/hwmon/pmbus/zl6100.c info->func[0] |= PMBUS_HAVE_VMON | PMBUS_HAVE_STATUS_VMON; func 381 drivers/hwmon/pmbus/zl6100.c info->func[0] |= PMBUS_HAVE_TEMP2; func 43 drivers/hwtracing/coresight/coresight-priv.h #define __coresight_simple_func(type, func, name, lo_off, hi_off) \ func 48 drivers/hwtracing/coresight/coresight-priv.h coresight_read_fn fn = func; \ func 61 drivers/hwtracing/coresight/coresight-priv.h #define coresight_simple_func(type, func, name, offset) \ func 62 drivers/hwtracing/coresight/coresight-priv.h __coresight_simple_func(type, func, name, offset, -1) func 291 drivers/i2c/busses/i2c-viapro.c u32 func = I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | func 296 drivers/i2c/busses/i2c-viapro.c func |= I2C_FUNC_SMBUS_I2C_BLOCK; func 297 drivers/i2c/busses/i2c-viapro.c return func; func 126 drivers/ide/ide-acpi.c unsigned int bus, devnum, func; func 135 drivers/ide/ide-acpi.c func = PCI_FUNC(pdev->devfn); func 137 drivers/ide/ide-acpi.c addr = (u64)(devnum << 16 | func); func 139 drivers/ide/ide-acpi.c DEBPRINT("ENTER: pci %02x:%02x.%01x\n", bus, devnum, func); func 165 drivers/ide/ide-acpi.c devnum, func, (unsigned long long)addr, *handle); func 22 drivers/iio/iio_core.h ssize_t (*func)(struct device *dev, func 231 drivers/infiniband/core/device.c #define define_ibdev_printk_level(func, level) \ func 232 drivers/infiniband/core/device.c void func(const struct ib_device *ibdev, const char *fmt, ...) \ func 246 drivers/infiniband/core/device.c EXPORT_SYMBOL(func); func 262 drivers/infiniband/hw/cxgb4/iw_cxgb4.h const char *func) func 274 drivers/infiniband/hw/cxgb4/iw_cxgb4.h func, pci_name(rdev->lldi.pdev), hwtid, qpid); func 292 drivers/infiniband/hw/cxgb4/iw_cxgb4.h const char *func) func 296 drivers/infiniband/hw/cxgb4/iw_cxgb4.h pr_debug("%s wr_wait %p hwtid %u qpid %u\n", func, wr_waitp, hwtid, func 304 drivers/infiniband/hw/cxgb4/iw_cxgb4.h return c4iw_wait_for_reply(rdev, wr_waitp, hwtid, qpid, func); func 753 drivers/infiniband/hw/hfi1/chip.h const char *func); func 1456 drivers/infiniband/hw/hfi1/firmware.c const char *func) func 1460 drivers/infiniband/hw/hfi1/firmware.c func); func 1586 drivers/infiniband/hw/hfi1/firmware.c const char *func) func 1597 drivers/infiniband/hw/hfi1/firmware.c if (func) func 1600 drivers/infiniband/hw/hfi1/firmware.c func, dd->hfi1_id, resource); func 1606 drivers/infiniband/hw/hfi1/firmware.c static void clear_chip_resources(struct hfi1_devdata *dd, const char *func) func 1614 drivers/infiniband/hw/hfi1/firmware.c fail_mutex_acquire_message(dd, func); func 42 drivers/infiniband/hw/hfi1/iowait.c void (*func)(struct work_struct *work), func 71 drivers/infiniband/hw/hfi1/iowait.c INIT_WORK(&wait->wait[i].iowork, func); func 85 drivers/infiniband/hw/hfi1/iowait.c if (iowait_get_tid_work(w)->iowork.func) func 172 drivers/infiniband/hw/hfi1/iowait.h void (*func)(struct work_struct *work), func 96 drivers/infiniband/hw/hfi1/trace_dbg.h void __printf(2, 3) __hfi1_trace_##lvl(const char *func, char *fmt, ...)\ func 105 drivers/infiniband/hw/hfi1/trace_dbg.h trace_hfi1_ ##lvl(func, &vaf); \ func 106 drivers/infiniband/hw/mlx4/mcg.c struct mcast_member func[MAX_VFS]; func 132 drivers/infiniband/hw/mlx4/mcg.c int func; func 345 drivers/infiniband/hw/mlx4/mcg.c sa_data->scope_join_state |= (group->func[slave].join_state & 0x0f); func 501 drivers/infiniband/hw/mlx4/mcg.c join_state = join_mask & (~group->func[slave].join_state); func 503 drivers/infiniband/hw/mlx4/mcg.c group->func[slave].join_state |= join_state; func 504 drivers/infiniband/hw/mlx4/mcg.c if (group->func[slave].state != MCAST_MEMBER && join_state) { func 505 drivers/infiniband/hw/mlx4/mcg.c group->func[slave].state = MCAST_MEMBER; func 516 drivers/infiniband/hw/mlx4/mcg.c group->func[slave].join_state &= ~leave_state; func 517 drivers/infiniband/hw/mlx4/mcg.c if (!group->func[slave].join_state) { func 518 drivers/infiniband/hw/mlx4/mcg.c group->func[slave].state = MCAST_NOT_MEMBER; func 526 drivers/infiniband/hw/mlx4/mcg.c if (group->func[slave].state != MCAST_MEMBER) func 530 drivers/infiniband/hw/mlx4/mcg.c if (~group->func[slave].join_state & leave_mask) func 553 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 590 drivers/infiniband/hw/mlx4/mcg.c leave_mask = group->func[req->func].join_state; func 592 drivers/infiniband/hw/mlx4/mcg.c status = check_leave(group, req->func, leave_mask); func 594 drivers/infiniband/hw/mlx4/mcg.c leave_group(group, req->func, leave_mask); func 597 drivers/infiniband/hw/mlx4/mcg.c send_reply_to_slave(req->func, group, &req->sa_mad, status); func 598 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 617 drivers/infiniband/hw/mlx4/mcg.c join_group(group, req->func, join_mask); func 619 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 620 drivers/infiniband/hw/mlx4/mcg.c send_reply_to_slave(req->func, group, &req->sa_mad, status); func 629 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 678 drivers/infiniband/hw/mlx4/mcg.c send_reply_to_slave(req->func, group, &req->sa_mad, status); func 679 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 768 drivers/infiniband/hw/mlx4/mcg.c --group->func[req->func].num_pend_reqs; func 836 drivers/infiniband/hw/mlx4/mcg.c INIT_LIST_HEAD(&group->func[i].pending); func 876 drivers/infiniband/hw/mlx4/mcg.c list_add_tail(&req->func_list, &group->func[req->func].pending); func 953 drivers/infiniband/hw/mlx4/mcg.c req->func = slave; func 964 drivers/infiniband/hw/mlx4/mcg.c if (group->func[slave].num_pend_reqs > MAX_PEND_REQS_PER_FUNC) { func 972 drivers/infiniband/hw/mlx4/mcg.c ++group->func[slave].num_pend_reqs; func 1021 drivers/infiniband/hw/mlx4/mcg.c if (group->func[f].state == MCAST_MEMBER) func 1023 drivers/infiniband/hw/mlx4/mcg.c f, group->func[f].join_state); func 1172 drivers/infiniband/hw/mlx4/mcg.c list_for_each_entry_safe(req, tmp, &group->func[vf].pending, func_list) { func 1182 drivers/infiniband/hw/mlx4/mcg.c --group->func[vf].num_pend_reqs; func 1190 drivers/infiniband/hw/mlx4/mcg.c if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { func 1192 drivers/infiniband/hw/mlx4/mcg.c list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs); func 1201 drivers/infiniband/hw/mlx4/mcg.c if (!group->func[slave].join_state) func 1208 drivers/infiniband/hw/mlx4/mcg.c if (!list_empty(&group->func[slave].pending)) { func 1209 drivers/infiniband/hw/mlx4/mcg.c pend_req = list_entry(group->func[slave].pending.prev, struct mcast_req, group_list); func 1217 drivers/infiniband/hw/mlx4/mcg.c req->func = slave; func 1219 drivers/infiniband/hw/mlx4/mcg.c ++group->func[slave].num_pend_reqs; func 45 drivers/infiniband/sw/rxe/rxe_task.c while ((ret = task->func(task->arg)) == 0) func 87 drivers/infiniband/sw/rxe/rxe_task.c ret = task->func(task->arg); func 118 drivers/infiniband/sw/rxe/rxe_task.c void *arg, int (*func)(void *), char *name) func 122 drivers/infiniband/sw/rxe/rxe_task.c task->func = func; func 54 drivers/infiniband/sw/rxe/rxe_task.h int (*func)(void *arg); func 66 drivers/infiniband/sw/rxe/rxe_task.h void *arg, int (*func)(void *), char *name); func 2910 drivers/infiniband/ulp/srp/ib_srp.c u8 func, u8 *status) func 2946 drivers/infiniband/ulp/srp/ib_srp.c tsk_mgmt->tsk_mgmt_func = func; func 402 drivers/input/mouse/cyapa.h u8 *buf, int *len, cb_sort func); func 407 drivers/input/mouse/cyapa.h cb_sort func, func 1233 drivers/input/mouse/cyapa_gen3.c u8 *buf, int *len, cb_sort func) { return 0; } func 443 drivers/input/mouse/cyapa_gen5.c u8 *buf, int *len, cb_sort func) func 494 drivers/input/mouse/cyapa_gen5.c if (buf && buf_len && func && func 495 drivers/input/mouse/cyapa_gen5.c func(cyapa, pip->empty_buf, length)) { func 514 drivers/input/mouse/cyapa_gen5.c } else if (buf && buf_len && func && func 515 drivers/input/mouse/cyapa_gen5.c func(cyapa, pip->empty_buf, length)) { func 569 drivers/input/mouse/cyapa_gen5.c cb_sort func) func 584 drivers/input/mouse/cyapa_gen5.c if (resp_data && resp_len && length != 0 && func) { func 590 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, func); func 609 drivers/input/mouse/cyapa_gen5.c cb_sort func, func 623 drivers/input/mouse/cyapa_gen5.c pip->resp_sort_func = func; func 643 drivers/input/mouse/cyapa_gen5.c resp_len && *resp_len != 0 && func) { func 650 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, func); func 657 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, timeout, func); func 151 drivers/input/rmi4/rmi_bus.c return fn->fd.function_number == handler->func; func 398 drivers/input/rmi4/rmi_bus.c __func__, fn_handlers[i]->func, ret); func 78 drivers/input/rmi4/rmi_bus.h u8 func; func 186 drivers/input/rmi4/rmi_bus.h int rmi_for_each_dev(void *data, int (*func)(struct device *dev, void *data)); func 720 drivers/input/rmi4/rmi_f01.c .func = 0x01, func 319 drivers/input/rmi4/rmi_f03.c .func = 0x03, func 1343 drivers/input/rmi4/rmi_f11.c .func = 0x11, func 547 drivers/input/rmi4/rmi_f12.c .func = 0x12, func 401 drivers/input/rmi4/rmi_f30.c .func = 0x30, func 605 drivers/input/rmi4/rmi_f34.c .func = 0x34, func 740 drivers/input/rmi4/rmi_f54.c .func = 0x54, func 126 drivers/input/rmi4/rmi_f55.c .func = 0x55, func 443 drivers/input/serio/hil_mlc.c { HILSE_FUNC, { .func = funct }, funct_arg, zero_rc, neg_rc, pos_rc }, func 640 drivers/input/serio/hil_mlc.c BUG_ON(node->object.func == NULL); func 641 drivers/input/serio/hil_mlc.c rc = node->object.func(mlc, node->arg); func 1924 drivers/iommu/dmar.c static inline bool dmar_detect_dsm(acpi_handle handle, int func) func 1926 drivers/iommu/dmar.c return acpi_check_dsm(handle, &dmar_hp_guid, DMAR_DSM_REV_ID, 1 << func); func 1929 drivers/iommu/dmar.c static int dmar_walk_dsm_resource(acpi_handle handle, int func, func 1942 drivers/iommu/dmar.c if (!dmar_detect_dsm(handle, func)) func 1946 drivers/iommu/dmar.c func, NULL, ACPI_TYPE_BUFFER); func 1951 drivers/iommu/dmar.c callback.cb[res_type[func]] = handler; func 1952 drivers/iommu/dmar.c callback.arg[res_type[func]] = arg; func 245 drivers/md/bcache/closure.h != offsetof(struct work_struct, func)); func 247 drivers/md/bcache/closure.h INIT_WORK(&cl->work, cl->work.func); func 1648 drivers/md/bcache/super.c c->journal.work.work.func(&c->journal.work.work); func 1716 drivers/md/dm-table.c iterate_devices_callout_fn func) func 1725 drivers/md/dm-table.c !ti->type->iterate_devices(ti, func, NULL)) func 7784 drivers/md/md.c if (mddev->event_work.func) func 9200 drivers/md/md.c if (mddev->event_work.func) func 1007 drivers/media/common/cx2341x.c static int cx2341x_api(void *priv, cx2341x_mbox_func func, func 1019 drivers/media/common/cx2341x.c return func(priv, cmd, args, 0, data); func 1024 drivers/media/common/cx2341x.c int cx2341x_update(void *priv, cx2341x_mbox_func func, func 1038 drivers/media/common/cx2341x.c cx2341x_api(priv, func, CX2341X_ENC_SET_OUTPUT_PORT, 2, new->port, 0); func 1042 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_RATE, 1, func 1059 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_SIZE, 2, func 1066 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_STREAM_TYPE, 1, func 1073 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_ASPECT_RATIO, 1, func 1081 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_GOP_PROPERTIES, 2, func 1088 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_GOP_CLOSURE, 1, func 1095 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_AUDIO_PROPERTIES, func 1102 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_MUTE_AUDIO, 1, func 1111 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_BIT_RATE, 5, func 1121 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_DNR_FILTER_MODE, func 1134 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_CORING_LEVELS, 4, func 1145 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, func 1155 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_DNR_FILTER_PROPS, func 1163 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_SET_FRAME_DROP_RATE, func 1171 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_MUTE_VIDEO, 1, func 1178 drivers/media/common/cx2341x.c err = cx2341x_api(priv, func, CX2341X_ENC_MISC, 2, func 1312 drivers/media/common/cx2341x.c return hdl->func(hdl->priv, cmd, args, 0, data); func 906 drivers/media/dvb-core/dvbdev.c int (*func)(struct file *file, func 943 drivers/media/dvb-core/dvbdev.c if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD) func 407 drivers/media/mc/mc-device.c #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ func 410 drivers/media/mc/mc-device.c .fn = (long (*)(struct media_device *, void *))func, \ func 416 drivers/media/mc/mc-device.c #define MEDIA_IOC(__cmd, func, fl) \ func 417 drivers/media/mc/mc-device.c MEDIA_IOC_ARG(__cmd, func, fl, copy_arg_from_user, copy_arg_to_user) func 77 drivers/media/mmc/siano/smssdio.c struct sdio_func *func; func 95 drivers/media/mmc/siano/smssdio.c sdio_claim_host(smsdev->func); func 98 drivers/media/mmc/siano/smssdio.c while (size >= smsdev->func->cur_blksize) { func 99 drivers/media/mmc/siano/smssdio.c ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA, func 100 drivers/media/mmc/siano/smssdio.c buffer, smsdev->func->cur_blksize); func 104 drivers/media/mmc/siano/smssdio.c buffer += smsdev->func->cur_blksize; func 105 drivers/media/mmc/siano/smssdio.c size -= smsdev->func->cur_blksize; func 109 drivers/media/mmc/siano/smssdio.c ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA, func 114 drivers/media/mmc/siano/smssdio.c sdio_release_host(smsdev->func); func 123 drivers/media/mmc/siano/smssdio.c static void smssdio_interrupt(struct sdio_func *func) func 132 drivers/media/mmc/siano/smssdio.c smsdev = sdio_get_drvdata(func); func 138 drivers/media/mmc/siano/smssdio.c (void)sdio_readb(func, SMSSDIO_INT, &ret); func 151 drivers/media/mmc/siano/smssdio.c ret = sdio_memcpy_fromio(smsdev->func, func 167 drivers/media/mmc/siano/smssdio.c if (hdr->msg_length > smsdev->func->cur_blksize) func 168 drivers/media/mmc/siano/smssdio.c size = hdr->msg_length - smsdev->func->cur_blksize; func 186 drivers/media/mmc/siano/smssdio.c BUG_ON(smsdev->func->cur_blksize != SMSSDIO_BLOCK_SIZE); func 191 drivers/media/mmc/siano/smssdio.c ret = sdio_memcpy_fromio(smsdev->func, func 210 drivers/media/mmc/siano/smssdio.c ret = sdio_memcpy_fromio(smsdev->func, func 212 drivers/media/mmc/siano/smssdio.c smsdev->func->cur_blksize); func 220 drivers/media/mmc/siano/smssdio.c buffer += smsdev->func->cur_blksize; func 221 drivers/media/mmc/siano/smssdio.c if (size > smsdev->func->cur_blksize) func 222 drivers/media/mmc/siano/smssdio.c size -= smsdev->func->cur_blksize; func 236 drivers/media/mmc/siano/smssdio.c static int smssdio_probe(struct sdio_func *func, func 251 drivers/media/mmc/siano/smssdio.c smsdev->func = func; func 255 drivers/media/mmc/siano/smssdio.c params.device = &func->dev; func 261 drivers/media/mmc/siano/smssdio.c "sdio\\%s", sdio_func_id(func)); func 283 drivers/media/mmc/siano/smssdio.c sdio_claim_host(func); func 285 drivers/media/mmc/siano/smssdio.c ret = sdio_enable_func(func); func 289 drivers/media/mmc/siano/smssdio.c ret = sdio_set_block_size(func, SMSSDIO_BLOCK_SIZE); func 293 drivers/media/mmc/siano/smssdio.c ret = sdio_claim_irq(func, smssdio_interrupt); func 297 drivers/media/mmc/siano/smssdio.c sdio_set_drvdata(func, smsdev); func 299 drivers/media/mmc/siano/smssdio.c sdio_release_host(func); func 308 drivers/media/mmc/siano/smssdio.c sdio_claim_host(func); func 309 drivers/media/mmc/siano/smssdio.c sdio_release_irq(func); func 311 drivers/media/mmc/siano/smssdio.c sdio_disable_func(func); func 313 drivers/media/mmc/siano/smssdio.c sdio_release_host(func); func 321 drivers/media/mmc/siano/smssdio.c static void smssdio_remove(struct sdio_func *func) func 325 drivers/media/mmc/siano/smssdio.c smsdev = sdio_get_drvdata(func); func 333 drivers/media/mmc/siano/smssdio.c sdio_claim_host(func); func 334 drivers/media/mmc/siano/smssdio.c sdio_release_irq(func); func 335 drivers/media/mmc/siano/smssdio.c sdio_disable_func(func); func 336 drivers/media/mmc/siano/smssdio.c sdio_release_host(func); func 738 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.func = cx18_api_func; func 1517 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.func = cx23885_api_func; func 1174 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.func = blackbird_mbox_func; func 1031 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.func = ivtv_api_func; func 25 drivers/media/pci/ttpci/av7110_ipack.c void (*func)(u8 *buf, int size, void *priv)) func 32 drivers/media/pci/ttpci/av7110_ipack.c p->func = func; func 81 drivers/media/pci/ttpci/av7110_ipack.c p->func(p->buf, p->count, p->data); func 103 drivers/media/pci/ttpci/av7110_ipack.c p->func(p->buf, p->count, p->data); func 6 drivers/media/pci/ttpci/av7110_ipack.h void (*func)(u8 *buf, int size, void *priv)); func 147 drivers/media/pci/ttpci/dvb_filter.h void (*func)(u8 *buf, int size, void *priv); func 14 drivers/media/platform/qcom/venus/hfi_parser.c typedef void (*func)(struct venus_caps *cap, const void *data, func 38 drivers/media/platform/qcom/venus/hfi_parser.c u32 codecs, u32 domain, func cb, void *data, func 2484 drivers/media/platform/ti-vpe/vpe.c int ret, irq, func; func 2539 drivers/media/platform/ti-vpe/vpe.c func = read_field_reg(dev, VPE_PID, VPE_PID_FUNC_MASK, func 2541 drivers/media/platform/ti-vpe/vpe.c vpe_dbg(dev, "VPE PID function %x\n", func); func 128 drivers/media/platform/via-camera.c #define sensor_call(cam, optype, func, args...) \ func 129 drivers/media/platform/via-camera.c v4l2_subdev_call(cam->sensor, optype, func, ##args) func 834 drivers/media/platform/vivid/vivid-vid-common.c struct v4l2_format *f, fmtfunc func) func 845 drivers/media/platform/vivid/vivid-vid-common.c ret = func(file, priv, &fmt); func 19 drivers/media/platform/vivid/vivid-vid-common.h struct v4l2_format *f, fmtfunc func); func 474 drivers/media/radio/radio-si476x.c enum si476x_func func) func 498 drivers/media/radio/radio-si476x.c switch (func) { func 513 drivers/media/radio/radio-si476x.c enum si476x_func func) func 526 drivers/media/radio/radio-si476x.c switch (func) { func 545 drivers/media/radio/radio-si476x.c enum si476x_func func) func 584 drivers/media/radio/radio-si476x.c if (func == SI476X_FUNC_FM_RECEIVER) { func 599 drivers/media/radio/radio-si476x.c return si476x_radio_init_vtable(radio, func); func 604 drivers/media/radio/radio-si476x.c enum si476x_func func) func 613 drivers/media/radio/radio-si476x.c if (func == radio->core->power_up_parameters.func) func 631 drivers/media/radio/radio-si476x.c radio->core->power_up_parameters.func = func; func 641 drivers/media/radio/radio-si476x.c if (func != SI476X_FUNC_FM_RECEIVER && func 642 drivers/media/radio/radio-si476x.c func != SI476X_FUNC_AM_RECEIVER) func 645 drivers/media/radio/radio-si476x.c return si476x_radio_do_post_powerup_init(radio, func); func 695 drivers/media/radio/radio-si476x.c const enum si476x_func func = (band == SI476X_BAND_AM) ? func 716 drivers/media/radio/radio-si476x.c err = si476x_radio_change_func(radio, func); func 739 drivers/media/radio/radio-si476x.c enum si476x_func func; func 776 drivers/media/radio/radio-si476x.c func = SI476X_FUNC_FM_RECEIVER; func 781 drivers/media/radio/radio-si476x.c func = SI476X_FUNC_AM_RECEIVER; func 787 drivers/media/radio/radio-si476x.c err = si476x_radio_change_func(radio, func); func 1052 drivers/media/radio/radio-si476x.c radio->core->power_up_parameters.func); func 1057 drivers/media/radio/radio-si476x.c radio->core->power_up_parameters.func); func 32 drivers/media/rc/bpf-lirc.c .func = bpf_rc_repeat, func 56 drivers/media/rc/bpf-lirc.c .func = bpf_rc_keydown, func 79 drivers/media/rc/bpf-lirc.c .func = bpf_rc_pointer_rel, func 14 drivers/media/rc/img-ir/img-ir-sony.c unsigned int dev, subdev, func; func 20 drivers/media/rc/img-ir/img-ir-sony.c func = raw & 0x7f; /* first 7 bits */ func 29 drivers/media/rc/img-ir/img-ir-sony.c func = raw & 0x7f; /* first 7 bits */ func 38 drivers/media/rc/img-ir/img-ir-sony.c func = raw & 0x7f; /* first 7 bits */ func 48 drivers/media/rc/img-ir/img-ir-sony.c request->scancode = dev << 16 | subdev << 8 | func; func 56 drivers/media/rc/img-ir/img-ir-sony.c unsigned int dev, subdev, func; func 64 drivers/media/rc/img-ir/img-ir-sony.c func = (in->data >> 0) & 0x7f; func 108 drivers/media/rc/img-ir/img-ir-sony.c out->data = func | func 706 drivers/media/tuners/tda18271-common.c const char *func, const char *fmt, ...) func 718 drivers/media/tuners/tda18271-common.c level, func, i2c_adapter_id(state->i2c_props.adap), func 723 drivers/media/tuners/tda18271-common.c printk("%s%s: %pV", level, func, &vaf); func 133 drivers/media/tuners/tda18271-priv.h const char *func, const char *fmt, ...); func 232 drivers/media/usb/b2c2/flexcop-usb.c flexcop_usb_request_t req, flexcop_usb_i2c_function_t func, func 245 drivers/media/usb/b2c2/flexcop-usb.c switch (func) { func 262 drivers/media/usb/b2c2/flexcop-usb.c deb_info("unsupported function for i2c_req %x\n", func); func 265 drivers/media/usb/b2c2/flexcop-usb.c wValue = (func << 8) | (i2c->port << 4); func 269 drivers/media/usb/b2c2/flexcop-usb.c func, request_type, req, func 2000 drivers/media/usb/cx231xx/cx231xx-417.c dev->mpeg_ctrl_handler.func = cx231xx_mbox_func; func 34 drivers/media/usb/dvb-usb/dvb-usb.h #define debug_dump(b,l,func) {\ func 36 drivers/media/usb/dvb-usb/dvb-usb.h for (loop_ = 0; loop_ < l; loop_++) func("%02x ", b[loop_]); \ func 37 drivers/media/usb/dvb-usb/dvb-usb.h func("\n");\ func 42 drivers/media/usb/dvb-usb/dvb-usb.h #define debug_dump(b,l,func) func 492 drivers/media/usb/pvrusb2/pvrusb2-io.c pvr2_stream_callback func, func 500 drivers/media/usb/pvrusb2/pvrusb2-io.c sp->callback_func = func; func 40 drivers/media/usb/pvrusb2/pvrusb2-io.h pvr2_stream_callback func, func 2349 drivers/media/usb/uvc/uvc_ctrl.c if (dev->async_ctrl.work.func) func 2627 drivers/media/v4l2-core/v4l2-ioctl.c int (*func)(const struct v4l2_ioctl_ops *ops, struct file *file, func 2659 drivers/media/v4l2-core/v4l2-ioctl.c .func = _func, \ func 2913 drivers/media/v4l2-core/v4l2-ioctl.c ret = info->func(ops, file, fh, arg); func 3016 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_kioctl func) func 3095 drivers/media/v4l2-core/v4l2-ioctl.c err = func(file, cmd, parg); func 2652 drivers/message/fusion/mptbase.c unsigned int func = PCI_FUNC(pdev->devfn); func 2658 drivers/message/fusion/mptbase.c pdev->devfn, func-1, func+1)); func 2660 drivers/message/fusion/mptbase.c peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func-1)); func 2662 drivers/message/fusion/mptbase.c peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func+1)); func 187 drivers/message/fusion/mptfc.c int (*func)(struct scsi_cmnd *SCpnt), func 231 drivers/message/fusion/mptfc.c return (*func)(SCpnt); func 284 drivers/message/fusion/mptfc.c void(*func)(MPT_ADAPTER *ioc,int channel, FCDevicePage0_t *arg)) func 385 drivers/message/fusion/mptfc.c func(ioc, ioc_port, fc); func 358 drivers/mfd/si476x-cmd.c switch (core->power_up_parameters.func) { func 420 drivers/mfd/si476x-cmd.c info->func = resp[6]; func 1079 drivers/mfd/si476x-cmd.c puargs->func << 4 | puargs->freq, func 1101 drivers/mfd/si476x-cmd.c puargs->func << 4 | puargs->freq, func 548 drivers/mfd/si476x-i2c.c int func, int major, func 551 drivers/mfd/si476x-i2c.c switch (func) { func 627 drivers/mfd/si476x-i2c.c core->revision = si476x_core_fwver_to_revision(core, info.func, func 671 drivers/mfd/si476x-i2c.c (core->power_up_parameters.func == SI476X_FUNC_AM_RECEIVER); func 97 drivers/mfd/stmfx.c static u8 stmfx_func_to_mask(u32 func) func 101 drivers/mfd/stmfx.c if (func & STMFX_FUNC_GPIO) func 104 drivers/mfd/stmfx.c if ((func & STMFX_FUNC_ALTGPIO_LOW) || (func & STMFX_FUNC_ALTGPIO_HIGH)) func 107 drivers/mfd/stmfx.c if (func & STMFX_FUNC_TS) func 110 drivers/mfd/stmfx.c if (func & STMFX_FUNC_IDD) func 116 drivers/mfd/stmfx.c int stmfx_function_enable(struct stmfx *stmfx, u32 func) func 132 drivers/mfd/stmfx.c if (((func & STMFX_FUNC_IDD) || (func & STMFX_FUNC_TS)) && func 139 drivers/mfd/stmfx.c if ((func & STMFX_FUNC_ALTGPIO_LOW) && func 146 drivers/mfd/stmfx.c if ((func & STMFX_FUNC_ALTGPIO_HIGH) && func 152 drivers/mfd/stmfx.c mask = stmfx_func_to_mask(func); func 158 drivers/mfd/stmfx.c int stmfx_function_disable(struct stmfx *stmfx, u32 func) func 160 drivers/mfd/stmfx.c u8 mask = stmfx_func_to_mask(func); func 45 drivers/mfd/wm8350-gpio.c static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) func 55 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 0)); func 61 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 4)); func 67 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 8)); func 73 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 12)); func 79 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 0)); func 85 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 4)); func 91 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 8)); func 97 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 12)); func 103 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 0)); func 109 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 4)); func 115 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 8)); func 121 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 12)); func 127 drivers/mfd/wm8350-gpio.c reg | ((func & 0xf) << 0)); func 183 drivers/mfd/wm8350-gpio.c int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, func 212 drivers/mfd/wm8350-gpio.c return gpio_set_func(wm8350, gpio, func); func 456 drivers/misc/genwqe/card_base.h int genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func); func 466 drivers/misc/genwqe/card_base.h u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func); func 987 drivers/misc/genwqe/card_utils.c int genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func) func 989 drivers/misc/genwqe/card_utils.c __genwqe_writeq(cd, IO_PF_SLC_VIRTUAL_WINDOW, func & 0xf); func 1000 drivers/misc/genwqe/card_utils.c u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func) func 1002 drivers/misc/genwqe/card_utils.c __genwqe_writeq(cd, IO_PF_SLC_VIRTUAL_WINDOW, func & 0xf); func 1364 drivers/misc/habanalabs/habanalabs.h hl_ioctl_t *func; func 336 drivers/misc/habanalabs/habanalabs_ioctl.c [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func} func 360 drivers/misc/habanalabs/habanalabs_ioctl.c hl_ioctl_t *func; func 371 drivers/misc/habanalabs/habanalabs_ioctl.c func = ioctl->func; func 373 drivers/misc/habanalabs/habanalabs_ioctl.c if (unlikely(!func)) { func 407 drivers/misc/habanalabs/habanalabs_ioctl.c retcode = func(hpriv, kdata); func 31 drivers/misc/lkdtm/cfi.c void (*func)(int *); func 34 drivers/misc/lkdtm/cfi.c func = lkdtm_increment_void; func 35 drivers/misc/lkdtm/cfi.c func(&called_count); func 38 drivers/misc/lkdtm/cfi.c func = (void *)lkdtm_increment_int; func 39 drivers/misc/lkdtm/cfi.c func(&called_count); func 93 drivers/misc/lkdtm/core.c void (*func)(void); func 99 drivers/misc/lkdtm/core.c .func = lkdtm_ ## _name, \ func 221 drivers/misc/lkdtm/core.c if (WARN_ON(!crashtype || !crashtype->func)) func 223 drivers/misc/lkdtm/core.c crashtype->func(); func 48 drivers/misc/lkdtm/perms.c void (*func)(void) = dst; func 58 drivers/misc/lkdtm/perms.c pr_info("attempting bad execution at %px\n", func); func 59 drivers/misc/lkdtm/perms.c func(); func 67 drivers/misc/lkdtm/perms.c void (*func)(void) = dst; func 76 drivers/misc/lkdtm/perms.c pr_info("attempting bad execution at %px\n", func); func 77 drivers/misc/lkdtm/perms.c func(); func 89 drivers/misc/mic/bus/scif_bus.h irqreturn_t (*func)(int irq, func 87 drivers/misc/mic/bus/vop_bus.h irqreturn_t (*func)(int irq, void *data), func 174 drivers/misc/mic/card/mic_device.c irqreturn_t (*func)(int irq, void *data), func 178 drivers/misc/mic/card/mic_device.c return mic_request_card_irq(func, NULL, name, data, db); func 247 drivers/misc/mic/card/mic_device.c irqreturn_t (*func)(int irq, void *data), func 250 drivers/misc/mic/card/mic_device.c return mic_request_card_irq(func, NULL, name, data, intr_src); func 53 drivers/misc/mic/host/mic_boot.c irqreturn_t (*func)(int irq, void *data), func 58 drivers/misc/mic/host/mic_boot.c return mic_request_threaded_irq(mdev, func, NULL, name, data, func 247 drivers/misc/mic/host/mic_boot.c irqreturn_t (*func)(int irq, void *data), func 253 drivers/misc/mic/host/mic_boot.c return mic_request_threaded_irq(mdev, func, NULL, name, data, func 252 drivers/misc/sgi-xp/xp.h xpc_channel_func func; /* function to call */ func 260 drivers/misc/sgi-xp/xp.h #define XPC_CHANNEL_REGISTERED(_c) (xpc_registrations[_c].func != NULL) func 304 drivers/misc/sgi-xp/xp.h u16 payload_size, xpc_notify_func func, void *key) func 310 drivers/misc/sgi-xp/xp.h payload_size, func, key); func 133 drivers/misc/sgi-xp/xp_main.c xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, func 140 drivers/misc/sgi-xp/xp_main.c DBUG_ON(func == NULL); func 152 drivers/misc/sgi-xp/xp_main.c if (registration->func != NULL) { func 163 drivers/misc/sgi-xp/xp_main.c registration->func = func; func 204 drivers/misc/sgi-xp/xp_main.c if (registration->func == NULL) { func 210 drivers/misc/sgi-xp/xp_main.c registration->func = NULL; func 292 drivers/misc/sgi-xp/xpc.h xpc_notify_func func; /* user's notify function */ func 344 drivers/misc/sgi-xp/xpc.h xpc_channel_func func; /* user's channel function */ func 141 drivers/misc/sgi-xp/xpc_channel.c ch->func = NULL; func 497 drivers/misc/sgi-xp/xpc_channel.c ch->func = registration->func; func 498 drivers/misc/sgi-xp/xpc_channel.c DBUG_ON(registration->func == NULL); func 681 drivers/misc/sgi-xp/xpc_channel.c if (ch->func != NULL) { func 685 drivers/misc/sgi-xp/xpc_channel.c ch->func(xpConnected, ch->partid, ch->number, func 809 drivers/misc/sgi-xp/xpc_channel.c if (ch->func != NULL) { func 813 drivers/misc/sgi-xp/xpc_channel.c ch->func(reason, ch->partid, ch->number, NULL, ch->key); func 924 drivers/misc/sgi-xp/xpc_channel.c u16 payload_size, xpc_notify_func func, void *key) func 935 drivers/misc/sgi-xp/xpc_channel.c DBUG_ON(func == NULL); func 939 drivers/misc/sgi-xp/xpc_channel.c flags, payload, payload_size, XPC_N_CALL, func, key); func 965 drivers/misc/sgi-xp/xpc_channel.c if (ch->func != NULL) { func 971 drivers/misc/sgi-xp/xpc_channel.c ch->func(xpMsgReceived, ch->partid, ch->number, payload, func 1373 drivers/misc/sgi-xp/xpc_uv.c xpc_notify_func func = msg_slot->func; func 1375 drivers/misc/sgi-xp/xpc_uv.c if (func != NULL && cmpxchg(&msg_slot->func, func, NULL) == func) { func 1383 drivers/misc/sgi-xp/xpc_uv.c func(reason, ch->partid, ch->number, msg_slot->key); func 1403 drivers/misc/sgi-xp/xpc_uv.c if (msg_slot->func != NULL) func 1535 drivers/misc/sgi-xp/xpc_uv.c u16 payload_size, u8 notify_type, xpc_notify_func func, func 1565 drivers/misc/sgi-xp/xpc_uv.c if (func != NULL) { func 1570 drivers/misc/sgi-xp/xpc_uv.c msg_slot->func = func; func 1592 drivers/misc/sgi-xp/xpc_uv.c if (func != NULL) { func 1603 drivers/misc/sgi-xp/xpc_uv.c if (cmpxchg(&msg_slot->func, func, NULL) != func) { func 1638 drivers/misc/sgi-xp/xpc_uv.c if (msg_slot->func != NULL) func 49 drivers/misc/vexpress-syscfg.c static int vexpress_syscfg_exec(struct vexpress_syscfg_func *func, func 52 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg *syscfg = func->syscfg; func 57 drivers/misc/vexpress-syscfg.c if (WARN_ON(index >= func->num_templates)) func 64 drivers/misc/vexpress-syscfg.c command = func->template[index]; func 73 drivers/misc/vexpress-syscfg.c func, command, *data); func 104 drivers/misc/vexpress-syscfg.c dev_dbg(syscfg->dev, "func %p, read data %x\n", func, *data); func 113 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg_func *func = context; func 115 drivers/misc/vexpress-syscfg.c return vexpress_syscfg_exec(func, index, false, val); func 121 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg_func *func = context; func 123 drivers/misc/vexpress-syscfg.c return vexpress_syscfg_exec(func, index, true, &val); func 143 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg_func *func; func 178 drivers/misc/vexpress-syscfg.c func = kzalloc(struct_size(func, template, num), GFP_KERNEL); func 179 drivers/misc/vexpress-syscfg.c if (!func) func 182 drivers/misc/vexpress-syscfg.c func->syscfg = syscfg; func 183 drivers/misc/vexpress-syscfg.c func->num_templates = num; func 192 drivers/misc/vexpress-syscfg.c func, site, position, dcc, func 195 drivers/misc/vexpress-syscfg.c func->template[i] = SYS_CFGCTRL_DCC(dcc); func 196 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_SITE(site); func 197 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_POSITION(position); func 198 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_FUNC(function); func 199 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_DEVICE(device); func 204 drivers/misc/vexpress-syscfg.c func->regmap = regmap_init(dev, NULL, func, func 207 drivers/misc/vexpress-syscfg.c if (IS_ERR(func->regmap)) { func 208 drivers/misc/vexpress-syscfg.c void *err = func->regmap; func 210 drivers/misc/vexpress-syscfg.c kfree(func); func 214 drivers/misc/vexpress-syscfg.c list_add(&func->list, &syscfg->funcs); func 216 drivers/misc/vexpress-syscfg.c return func->regmap; func 222 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg_func *func, *tmp; func 226 drivers/misc/vexpress-syscfg.c list_for_each_entry_safe(func, tmp, &syscfg->funcs, list) { func 227 drivers/misc/vexpress-syscfg.c if (func->regmap == regmap) { func 229 drivers/misc/vexpress-syscfg.c kfree(func); func 30 drivers/mmc/core/sdio.c static int sdio_read_fbr(struct sdio_func *func) func 35 drivers/mmc/core/sdio.c if (mmc_card_nonstd_func_interface(func->card)) { func 36 drivers/mmc/core/sdio.c func->class = SDIO_CLASS_NONE; func 40 drivers/mmc/core/sdio.c ret = mmc_io_rw_direct(func->card, 0, 0, func 41 drivers/mmc/core/sdio.c SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF, 0, &data); func 48 drivers/mmc/core/sdio.c ret = mmc_io_rw_direct(func->card, 0, 0, func 49 drivers/mmc/core/sdio.c SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT, 0, &data); func 54 drivers/mmc/core/sdio.c func->class = data; func 63 drivers/mmc/core/sdio.c struct sdio_func *func; func 68 drivers/mmc/core/sdio.c func = sdio_alloc_func(card); func 69 drivers/mmc/core/sdio.c if (IS_ERR(func)) func 70 drivers/mmc/core/sdio.c return PTR_ERR(func); func 72 drivers/mmc/core/sdio.c func->num = fn; func 75 drivers/mmc/core/sdio.c ret = sdio_read_fbr(func); func 79 drivers/mmc/core/sdio.c ret = sdio_read_func_cis(func); func 83 drivers/mmc/core/sdio.c func->vendor = func->card->cis.vendor; func 84 drivers/mmc/core/sdio.c func->device = func->card->cis.device; func 85 drivers/mmc/core/sdio.c func->max_blksize = func->card->cis.blksize; func 88 drivers/mmc/core/sdio.c card->sdio_func[fn - 1] = func; func 97 drivers/mmc/core/sdio.c sdio_remove_func(func); func 930 drivers/mmc/core/sdio.c struct sdio_func *func = host->card->sdio_func[i]; func 931 drivers/mmc/core/sdio.c if (func && sdio_func_present(func) && func->dev.driver) { func 932 drivers/mmc/core/sdio.c const struct dev_pm_ops *pmops = func->dev.driver->pm; func 35 drivers/mmc/core/sdio_bus.c struct sdio_func *func; \ func 37 drivers/mmc/core/sdio_bus.c func = dev_to_sdio_func (dev); \ func 38 drivers/mmc/core/sdio_bus.c return sprintf (buf, format_string, func->field); \ func 48 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func (dev); func 51 drivers/mmc/core/sdio_bus.c func->class, func->vendor, func->device); func 64 drivers/mmc/core/sdio_bus.c static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, func 67 drivers/mmc/core/sdio_bus.c if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class) func 69 drivers/mmc/core/sdio_bus.c if (id->vendor != (__u16)SDIO_ANY_ID && id->vendor != func->vendor) func 71 drivers/mmc/core/sdio_bus.c if (id->device != (__u16)SDIO_ANY_ID && id->device != func->device) func 76 drivers/mmc/core/sdio_bus.c static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, func 85 drivers/mmc/core/sdio_bus.c if (sdio_match_one(func, ids)) func 96 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func(dev); func 99 drivers/mmc/core/sdio_bus.c if (sdio_match_device(func, sdrv)) func 108 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func(dev); func 111 drivers/mmc/core/sdio_bus.c "SDIO_CLASS=%02X", func->class)) func 115 drivers/mmc/core/sdio_bus.c "SDIO_ID=%04X:%04X", func->vendor, func->device)) func 120 drivers/mmc/core/sdio_bus.c func->class, func->vendor, func->device)) func 129 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func(dev); func 133 drivers/mmc/core/sdio_bus.c id = sdio_match_device(func, drv); func 141 drivers/mmc/core/sdio_bus.c atomic_inc(&func->card->sdio_funcs_probed); func 149 drivers/mmc/core/sdio_bus.c if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) { func 157 drivers/mmc/core/sdio_bus.c sdio_claim_host(func); func 158 drivers/mmc/core/sdio_bus.c if (mmc_card_removed(func->card)) func 161 drivers/mmc/core/sdio_bus.c ret = sdio_set_block_size(func, 0); func 162 drivers/mmc/core/sdio_bus.c sdio_release_host(func); func 166 drivers/mmc/core/sdio_bus.c ret = drv->probe(func, id); func 173 drivers/mmc/core/sdio_bus.c atomic_dec(&func->card->sdio_funcs_probed); func 174 drivers/mmc/core/sdio_bus.c if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) func 183 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func(dev); func 186 drivers/mmc/core/sdio_bus.c if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) func 189 drivers/mmc/core/sdio_bus.c drv->remove(func); func 190 drivers/mmc/core/sdio_bus.c atomic_dec(&func->card->sdio_funcs_probed); func 192 drivers/mmc/core/sdio_bus.c if (func->irq_handler) { func 195 drivers/mmc/core/sdio_bus.c sdio_claim_host(func); func 196 drivers/mmc/core/sdio_bus.c sdio_release_irq(func); func 197 drivers/mmc/core/sdio_bus.c sdio_release_host(func); func 201 drivers/mmc/core/sdio_bus.c if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) func 205 drivers/mmc/core/sdio_bus.c if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) func 267 drivers/mmc/core/sdio_bus.c struct sdio_func *func = dev_to_sdio_func(dev); func 269 drivers/mmc/core/sdio_bus.c sdio_free_func_cis(func); func 271 drivers/mmc/core/sdio_bus.c kfree(func->info); func 272 drivers/mmc/core/sdio_bus.c kfree(func->tmpbuf); func 273 drivers/mmc/core/sdio_bus.c kfree(func); func 281 drivers/mmc/core/sdio_bus.c struct sdio_func *func; func 283 drivers/mmc/core/sdio_bus.c func = kzalloc(sizeof(struct sdio_func), GFP_KERNEL); func 284 drivers/mmc/core/sdio_bus.c if (!func) func 291 drivers/mmc/core/sdio_bus.c func->tmpbuf = kmalloc(4, GFP_KERNEL); func 292 drivers/mmc/core/sdio_bus.c if (!func->tmpbuf) { func 293 drivers/mmc/core/sdio_bus.c kfree(func); func 297 drivers/mmc/core/sdio_bus.c func->card = card; func 299 drivers/mmc/core/sdio_bus.c device_initialize(&func->dev); func 301 drivers/mmc/core/sdio_bus.c func->dev.parent = &card->dev; func 302 drivers/mmc/core/sdio_bus.c func->dev.bus = &sdio_bus_type; func 303 drivers/mmc/core/sdio_bus.c func->dev.release = sdio_release_func; func 305 drivers/mmc/core/sdio_bus.c return func; func 309 drivers/mmc/core/sdio_bus.c static void sdio_acpi_set_handle(struct sdio_func *func) func 311 drivers/mmc/core/sdio_bus.c struct mmc_host *host = func->card->host; func 312 drivers/mmc/core/sdio_bus.c u64 addr = ((u64)host->slotno << 16) | func->num; func 314 drivers/mmc/core/sdio_bus.c acpi_preset_companion(&func->dev, ACPI_COMPANION(host->parent), addr); func 317 drivers/mmc/core/sdio_bus.c static inline void sdio_acpi_set_handle(struct sdio_func *func) {} func 320 drivers/mmc/core/sdio_bus.c static void sdio_set_of_node(struct sdio_func *func) func 322 drivers/mmc/core/sdio_bus.c struct mmc_host *host = func->card->host; func 324 drivers/mmc/core/sdio_bus.c func->dev.of_node = mmc_of_find_child_device(host, func->num); func 330 drivers/mmc/core/sdio_bus.c int sdio_add_func(struct sdio_func *func) func 334 drivers/mmc/core/sdio_bus.c dev_set_name(&func->dev, "%s:%d", mmc_card_id(func->card), func->num); func 336 drivers/mmc/core/sdio_bus.c sdio_set_of_node(func); func 337 drivers/mmc/core/sdio_bus.c sdio_acpi_set_handle(func); func 338 drivers/mmc/core/sdio_bus.c device_enable_async_suspend(&func->dev); func 339 drivers/mmc/core/sdio_bus.c ret = device_add(&func->dev); func 341 drivers/mmc/core/sdio_bus.c sdio_func_set_present(func); func 352 drivers/mmc/core/sdio_bus.c void sdio_remove_func(struct sdio_func *func) func 354 drivers/mmc/core/sdio_bus.c if (!sdio_func_present(func)) func 357 drivers/mmc/core/sdio_bus.c device_del(&func->dev); func 358 drivers/mmc/core/sdio_bus.c of_node_put(func->dev.of_node); func 359 drivers/mmc/core/sdio_bus.c put_device(&func->dev); func 14 drivers/mmc/core/sdio_bus.h int sdio_add_func(struct sdio_func *func); func 15 drivers/mmc/core/sdio_bus.h void sdio_remove_func(struct sdio_func *func); func 23 drivers/mmc/core/sdio_cis.c static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, func 59 drivers/mmc/core/sdio_cis.c if (func) { func 60 drivers/mmc/core/sdio_cis.c func->num_info = nr_strings; func 61 drivers/mmc/core/sdio_cis.c func->info = (const char**)buffer; func 70 drivers/mmc/core/sdio_cis.c static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, func 81 drivers/mmc/core/sdio_cis.c if (func) { func 82 drivers/mmc/core/sdio_cis.c func->vendor = vendor; func 83 drivers/mmc/core/sdio_cis.c func->device = device; func 107 drivers/mmc/core/sdio_cis.c static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, func 123 drivers/mmc/core/sdio_cis.c ret = tpl->parse(card, func, buf, size); func 142 drivers/mmc/core/sdio_cis.c static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, func 146 drivers/mmc/core/sdio_cis.c if (func) func 159 drivers/mmc/core/sdio_cis.c static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, func 166 drivers/mmc/core/sdio_cis.c if (!func) func 173 drivers/mmc/core/sdio_cis.c vsn = func->card->cccr.sdio_vsn; func 185 drivers/mmc/core/sdio_cis.c func->max_blksize = buf[12] | (buf[13] << 8); func 189 drivers/mmc/core/sdio_cis.c func->enable_timeout = (buf[28] | (buf[29] << 8)) * 10; func 191 drivers/mmc/core/sdio_cis.c func->enable_timeout = jiffies_to_msecs(HZ); func 209 drivers/mmc/core/sdio_cis.c static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, func 215 drivers/mmc/core/sdio_cis.c return cis_tpl_parse(card, func, "CISTPL_FUNCE", func 230 drivers/mmc/core/sdio_cis.c static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) func 244 drivers/mmc/core/sdio_cis.c if (func) func 245 drivers/mmc/core/sdio_cis.c fn = func->num; func 256 drivers/mmc/core/sdio_cis.c if (func) func 257 drivers/mmc/core/sdio_cis.c prev = &func->tuples; func 303 drivers/mmc/core/sdio_cis.c ret = cis_tpl_parse(card, func, "CIS", func 343 drivers/mmc/core/sdio_cis.c if (func) func 369 drivers/mmc/core/sdio_cis.c int sdio_read_func_cis(struct sdio_func *func) func 373 drivers/mmc/core/sdio_cis.c ret = sdio_read_cis(func->card, func); func 381 drivers/mmc/core/sdio_cis.c get_device(&func->card->dev); func 387 drivers/mmc/core/sdio_cis.c if (func->vendor == 0) { func 388 drivers/mmc/core/sdio_cis.c func->vendor = func->card->cis.vendor; func 389 drivers/mmc/core/sdio_cis.c func->device = func->card->cis.device; func 395 drivers/mmc/core/sdio_cis.c void sdio_free_func_cis(struct sdio_func *func) func 399 drivers/mmc/core/sdio_cis.c tuple = func->tuples; func 401 drivers/mmc/core/sdio_cis.c while (tuple && tuple != func->card->tuples) { func 407 drivers/mmc/core/sdio_cis.c func->tuples = NULL; func 413 drivers/mmc/core/sdio_cis.c put_device(&func->card->dev); func 19 drivers/mmc/core/sdio_cis.h int sdio_read_func_cis(struct sdio_func *func); func 20 drivers/mmc/core/sdio_cis.h void sdio_free_func_cis(struct sdio_func *func); func 27 drivers/mmc/core/sdio_io.c void sdio_claim_host(struct sdio_func *func) func 29 drivers/mmc/core/sdio_io.c if (WARN_ON(!func)) func 32 drivers/mmc/core/sdio_io.c mmc_claim_host(func->card->host); func 43 drivers/mmc/core/sdio_io.c void sdio_release_host(struct sdio_func *func) func 45 drivers/mmc/core/sdio_io.c if (WARN_ON(!func)) func 48 drivers/mmc/core/sdio_io.c mmc_release_host(func->card->host); func 59 drivers/mmc/core/sdio_io.c int sdio_enable_func(struct sdio_func *func) func 65 drivers/mmc/core/sdio_io.c if (!func) func 68 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Enabling device %s...\n", sdio_func_id(func)); func 70 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, ®); func 74 drivers/mmc/core/sdio_io.c reg |= 1 << func->num; func 76 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IOEx, reg, NULL); func 80 drivers/mmc/core/sdio_io.c timeout = jiffies + msecs_to_jiffies(func->enable_timeout); func 83 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IORx, 0, ®); func 86 drivers/mmc/core/sdio_io.c if (reg & (1 << func->num)) func 93 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Enabled device %s\n", sdio_func_id(func)); func 98 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Failed to enable device %s\n", sdio_func_id(func)); func 110 drivers/mmc/core/sdio_io.c int sdio_disable_func(struct sdio_func *func) func 115 drivers/mmc/core/sdio_io.c if (!func) func 118 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Disabling device %s...\n", sdio_func_id(func)); func 120 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, ®); func 124 drivers/mmc/core/sdio_io.c reg &= ~(1 << func->num); func 126 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IOEx, reg, NULL); func 130 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Disabled device %s\n", sdio_func_id(func)); func 135 drivers/mmc/core/sdio_io.c pr_debug("SDIO: Failed to disable device %s\n", sdio_func_id(func)); func 159 drivers/mmc/core/sdio_io.c int sdio_set_block_size(struct sdio_func *func, unsigned blksz) func 163 drivers/mmc/core/sdio_io.c if (blksz > func->card->host->max_blk_size) func 167 drivers/mmc/core/sdio_io.c blksz = min(func->max_blksize, func->card->host->max_blk_size); func 171 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, 0, func 172 drivers/mmc/core/sdio_io.c SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE, func 176 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, 0, func 177 drivers/mmc/core/sdio_io.c SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE + 1, func 181 drivers/mmc/core/sdio_io.c func->cur_blksize = blksz; func 189 drivers/mmc/core/sdio_io.c static inline unsigned int sdio_max_byte_size(struct sdio_func *func) func 191 drivers/mmc/core/sdio_io.c unsigned mval = func->card->host->max_blk_size; func 193 drivers/mmc/core/sdio_io.c if (mmc_blksz_for_byte_mode(func->card)) func 194 drivers/mmc/core/sdio_io.c mval = min(mval, func->cur_blksize); func 196 drivers/mmc/core/sdio_io.c mval = min(mval, func->max_blksize); func 198 drivers/mmc/core/sdio_io.c if (mmc_card_broken_byte_mode_512(func->card)) func 233 drivers/mmc/core/sdio_io.c unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz) func 252 drivers/mmc/core/sdio_io.c if (sz <= sdio_max_byte_size(func)) func 255 drivers/mmc/core/sdio_io.c if (func->card->cccr.multi_block) { func 259 drivers/mmc/core/sdio_io.c if ((sz % func->cur_blksize) == 0) func 266 drivers/mmc/core/sdio_io.c blk_sz = ((sz + func->cur_blksize - 1) / func 267 drivers/mmc/core/sdio_io.c func->cur_blksize) * func->cur_blksize; func 274 drivers/mmc/core/sdio_io.c if ((blk_sz % func->cur_blksize) == 0) func 281 drivers/mmc/core/sdio_io.c byte_sz = _sdio_align_size(sz % func->cur_blksize); func 282 drivers/mmc/core/sdio_io.c if (byte_sz <= sdio_max_byte_size(func)) { func 283 drivers/mmc/core/sdio_io.c blk_sz = sz / func->cur_blksize; func 284 drivers/mmc/core/sdio_io.c return blk_sz * func->cur_blksize + byte_sz; func 291 drivers/mmc/core/sdio_io.c chunk_sz = _sdio_align_size(sdio_max_byte_size(func)); func 292 drivers/mmc/core/sdio_io.c if (chunk_sz == sdio_max_byte_size(func)) { func 315 drivers/mmc/core/sdio_io.c static int sdio_io_rw_ext_helper(struct sdio_func *func, int write, func 322 drivers/mmc/core/sdio_io.c if (!func || (func->num > 7)) func 326 drivers/mmc/core/sdio_io.c if (func->card->cccr.multi_block && (size > sdio_max_byte_size(func))) { func 329 drivers/mmc/core/sdio_io.c max_blocks = min(func->card->host->max_blk_count, 511u); func 331 drivers/mmc/core/sdio_io.c while (remainder >= func->cur_blksize) { func 334 drivers/mmc/core/sdio_io.c blocks = remainder / func->cur_blksize; func 337 drivers/mmc/core/sdio_io.c size = blocks * func->cur_blksize; func 339 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_extended(func->card, write, func 340 drivers/mmc/core/sdio_io.c func->num, addr, incr_addr, buf, func 341 drivers/mmc/core/sdio_io.c blocks, func->cur_blksize); func 354 drivers/mmc/core/sdio_io.c size = min(remainder, sdio_max_byte_size(func)); func 357 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_extended(func->card, write, func->num, addr, func 380 drivers/mmc/core/sdio_io.c u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret) func 385 drivers/mmc/core/sdio_io.c if (!func) { func 391 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 0, func->num, addr, 0, &val); func 412 drivers/mmc/core/sdio_io.c void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret) func 416 drivers/mmc/core/sdio_io.c if (!func) { func 422 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, func->num, addr, b, NULL); func 441 drivers/mmc/core/sdio_io.c u8 sdio_writeb_readb(struct sdio_func *func, u8 write_byte, func 447 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, func->num, addr, func 468 drivers/mmc/core/sdio_io.c int sdio_memcpy_fromio(struct sdio_func *func, void *dst, func 471 drivers/mmc/core/sdio_io.c return sdio_io_rw_ext_helper(func, 0, addr, 1, dst, count); func 485 drivers/mmc/core/sdio_io.c int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, func 488 drivers/mmc/core/sdio_io.c return sdio_io_rw_ext_helper(func, 1, addr, 1, src, count); func 502 drivers/mmc/core/sdio_io.c int sdio_readsb(struct sdio_func *func, void *dst, unsigned int addr, func 505 drivers/mmc/core/sdio_io.c return sdio_io_rw_ext_helper(func, 0, addr, 0, dst, count); func 519 drivers/mmc/core/sdio_io.c int sdio_writesb(struct sdio_func *func, unsigned int addr, void *src, func 522 drivers/mmc/core/sdio_io.c return sdio_io_rw_ext_helper(func, 1, addr, 0, src, count); func 536 drivers/mmc/core/sdio_io.c u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret) func 540 drivers/mmc/core/sdio_io.c ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 2); func 546 drivers/mmc/core/sdio_io.c return le16_to_cpup((__le16 *)func->tmpbuf); func 561 drivers/mmc/core/sdio_io.c void sdio_writew(struct sdio_func *func, u16 b, unsigned int addr, int *err_ret) func 565 drivers/mmc/core/sdio_io.c *(__le16 *)func->tmpbuf = cpu_to_le16(b); func 567 drivers/mmc/core/sdio_io.c ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 2); func 584 drivers/mmc/core/sdio_io.c u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret) func 588 drivers/mmc/core/sdio_io.c ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 4); func 594 drivers/mmc/core/sdio_io.c return le32_to_cpup((__le32 *)func->tmpbuf); func 609 drivers/mmc/core/sdio_io.c void sdio_writel(struct sdio_func *func, u32 b, unsigned int addr, int *err_ret) func 613 drivers/mmc/core/sdio_io.c *(__le32 *)func->tmpbuf = cpu_to_le32(b); func 615 drivers/mmc/core/sdio_io.c ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 4); func 631 drivers/mmc/core/sdio_io.c unsigned char sdio_f0_readb(struct sdio_func *func, unsigned int addr, func 637 drivers/mmc/core/sdio_io.c if (!func) { func 643 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 0, 0, addr, 0, &val); func 667 drivers/mmc/core/sdio_io.c void sdio_f0_writeb(struct sdio_func *func, unsigned char b, unsigned int addr, func 672 drivers/mmc/core/sdio_io.c if (!func) { func 678 drivers/mmc/core/sdio_io.c if ((addr < 0xF0 || addr > 0xFF) && (!mmc_card_lenient_fn0(func->card))) { func 684 drivers/mmc/core/sdio_io.c ret = mmc_io_rw_direct(func->card, 1, 0, addr, b, NULL); func 700 drivers/mmc/core/sdio_io.c mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func) func 702 drivers/mmc/core/sdio_io.c if (!func) func 705 drivers/mmc/core/sdio_io.c return func->card->host->pm_caps; func 721 drivers/mmc/core/sdio_io.c int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags) func 725 drivers/mmc/core/sdio_io.c if (!func) func 728 drivers/mmc/core/sdio_io.c host = func->card->host; func 758 drivers/mmc/core/sdio_io.c void sdio_retune_crc_disable(struct sdio_func *func) func 760 drivers/mmc/core/sdio_io.c func->card->host->retune_crc_disable = true; func 770 drivers/mmc/core/sdio_io.c void sdio_retune_crc_enable(struct sdio_func *func) func 772 drivers/mmc/core/sdio_io.c func->card->host->retune_crc_disable = false; func 793 drivers/mmc/core/sdio_io.c void sdio_retune_hold_now(struct sdio_func *func) func 795 drivers/mmc/core/sdio_io.c mmc_retune_hold_now(func->card->host); func 809 drivers/mmc/core/sdio_io.c void sdio_retune_release(struct sdio_func *func) func 811 drivers/mmc/core/sdio_io.c mmc_retune_release(func->card->host); func 64 drivers/mmc/core/sdio_irq.c struct sdio_func *func; func 78 drivers/mmc/core/sdio_irq.c func = card->sdio_single_irq; func 79 drivers/mmc/core/sdio_irq.c if (func && sdio_irq_pending) { func 80 drivers/mmc/core/sdio_irq.c func->irq_handler(func); func 91 drivers/mmc/core/sdio_irq.c func = card->sdio_func[i - 1]; func 92 drivers/mmc/core/sdio_irq.c if (!func) { func 96 drivers/mmc/core/sdio_irq.c } else if (func->irq_handler) { func 97 drivers/mmc/core/sdio_irq.c func->irq_handler(func); func 101 drivers/mmc/core/sdio_irq.c sdio_func_id(func)); func 274 drivers/mmc/core/sdio_irq.c struct sdio_func *func; func 281 drivers/mmc/core/sdio_irq.c func = card->sdio_func[i]; func 282 drivers/mmc/core/sdio_irq.c if (func && func->irq_handler) { func 283 drivers/mmc/core/sdio_irq.c card->sdio_single_irq = func; func 299 drivers/mmc/core/sdio_irq.c int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler) func 304 drivers/mmc/core/sdio_irq.c if (!func) func 307 drivers/mmc/core/sdio_irq.c pr_debug("SDIO: Enabling IRQ for %s...\n", sdio_func_id(func)); func 309 drivers/mmc/core/sdio_irq.c if (func->irq_handler) { func 310 drivers/mmc/core/sdio_irq.c pr_debug("SDIO: IRQ for %s already in use.\n", sdio_func_id(func)); func 314 drivers/mmc/core/sdio_irq.c ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IENx, 0, ®); func 318 drivers/mmc/core/sdio_irq.c reg |= 1 << func->num; func 322 drivers/mmc/core/sdio_irq.c ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IENx, reg, NULL); func 326 drivers/mmc/core/sdio_irq.c func->irq_handler = handler; func 327 drivers/mmc/core/sdio_irq.c ret = sdio_card_irq_get(func->card); func 329 drivers/mmc/core/sdio_irq.c func->irq_handler = NULL; func 330 drivers/mmc/core/sdio_irq.c sdio_single_irq_set(func->card); func 342 drivers/mmc/core/sdio_irq.c int sdio_release_irq(struct sdio_func *func) func 347 drivers/mmc/core/sdio_irq.c if (!func) func 350 drivers/mmc/core/sdio_irq.c pr_debug("SDIO: Disabling IRQ for %s...\n", sdio_func_id(func)); func 352 drivers/mmc/core/sdio_irq.c if (func->irq_handler) { func 353 drivers/mmc/core/sdio_irq.c func->irq_handler = NULL; func 354 drivers/mmc/core/sdio_irq.c sdio_card_irq_put(func->card); func 355 drivers/mmc/core/sdio_irq.c sdio_single_irq_set(func->card); func 358 drivers/mmc/core/sdio_irq.c ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IENx, 0, ®); func 362 drivers/mmc/core/sdio_irq.c reg &= ~(1 << func->num); func 368 drivers/mmc/core/sdio_irq.c ret = mmc_io_rw_direct(func->card, 1, 0, SDIO_CCCR_IENx, reg, NULL); func 66 drivers/mmc/core/sdio_uart.c struct sdio_func *func; func 132 drivers/mmc/core/sdio_uart.c struct sdio_func *func; func 147 drivers/mmc/core/sdio_uart.c func = port->func; func 148 drivers/mmc/core/sdio_uart.c sdio_claim_host(func); func 149 drivers/mmc/core/sdio_uart.c port->func = NULL; func 154 drivers/mmc/core/sdio_uart.c sdio_release_irq(func); func 155 drivers/mmc/core/sdio_uart.c sdio_disable_func(func); func 156 drivers/mmc/core/sdio_uart.c sdio_release_host(func); func 164 drivers/mmc/core/sdio_uart.c if (unlikely(!port->func)) { func 169 drivers/mmc/core/sdio_uart.c sdio_claim_host(port->func); func 177 drivers/mmc/core/sdio_uart.c sdio_release_host(port->func); func 183 drivers/mmc/core/sdio_uart.c c = sdio_readb(port->func, port->regs_offset + offset, NULL); func 189 drivers/mmc/core/sdio_uart.c sdio_writeb(port->func, value, port->regs_offset + offset, NULL); func 512 drivers/mmc/core/sdio_uart.c static void sdio_uart_irq(struct sdio_func *func) func 514 drivers/mmc/core/sdio_uart.c struct sdio_uart_port *port = sdio_get_drvdata(func); func 611 drivers/mmc/core/sdio_uart.c ret = sdio_enable_func(port->func); func 614 drivers/mmc/core/sdio_uart.c ret = sdio_claim_irq(port->func, sdio_uart_irq); func 655 drivers/mmc/core/sdio_uart.c sdio_uart_irq(port->func); func 661 drivers/mmc/core/sdio_uart.c sdio_disable_func(port->func); func 690 drivers/mmc/core/sdio_uart.c sdio_release_irq(port->func); func 704 drivers/mmc/core/sdio_uart.c sdio_disable_func(port->func); func 783 drivers/mmc/core/sdio_uart.c if (!port->func) func 791 drivers/mmc/core/sdio_uart.c sdio_uart_irq(port->func); func 821 drivers/mmc/core/sdio_uart.c sdio_uart_irq(port->func); func 844 drivers/mmc/core/sdio_uart.c sdio_uart_irq(port->func); func 870 drivers/mmc/core/sdio_uart.c sdio_uart_irq(port->func); func 1036 drivers/mmc/core/sdio_uart.c static int sdio_uart_probe(struct sdio_func *func, func 1046 drivers/mmc/core/sdio_uart.c if (func->class == SDIO_CLASS_UART) { func 1048 drivers/mmc/core/sdio_uart.c sdio_func_id(func)); func 1051 drivers/mmc/core/sdio_uart.c } else if (func->class == SDIO_CLASS_GPS) { func 1057 drivers/mmc/core/sdio_uart.c for (tpl = func->tuples; tpl; tpl = tpl->next) { func 1067 drivers/mmc/core/sdio_uart.c sdio_func_id(func)); func 1072 drivers/mmc/core/sdio_uart.c sdio_func_id(func), tpl->data[2], tpl->data[3]); func 1077 drivers/mmc/core/sdio_uart.c sdio_func_id(func), port->regs_offset); func 1082 drivers/mmc/core/sdio_uart.c sdio_func_id(func), port->uartclk, func 1089 drivers/mmc/core/sdio_uart.c port->func = func; func 1090 drivers/mmc/core/sdio_uart.c sdio_set_drvdata(func, port); func 1100 drivers/mmc/core/sdio_uart.c sdio_uart_tty_driver, port->index, &func->dev); func 1110 drivers/mmc/core/sdio_uart.c static void sdio_uart_remove(struct sdio_func *func) func 1112 drivers/mmc/core/sdio_uart.c struct sdio_uart_port *port = sdio_get_drvdata(func); func 1139 drivers/mmc/host/sdhci-pci-core.c unsigned int func = PCI_FUNC(slot->chip->pdev->devfn); func 1141 drivers/mmc/host/sdhci-pci-core.c switch (func) { func 531 drivers/mmc/host/vub300.c *register_access, u8 func) func 533 drivers/mmc/host/vub300.c u8 r = vub300->fn[func].offload_point + vub300->fn[func].offload_count; func 534 drivers/mmc/host/vub300.c memcpy(&vub300->fn[func].reg[MAXREGMASK & r], register_access, func 536 drivers/mmc/host/vub300.c vub300->fn[func].offload_count += 1; func 546 drivers/mmc/host/vub300.c u8 func = ((0x70 & register_access->command_byte[0]) >> 4); func 550 drivers/mmc/host/vub300.c if (vub300->sdio_register[i].func_num == func && func 564 drivers/mmc/host/vub300.c __add_offloaded_reg_to_fifo(vub300, register_access, func); func 1857 drivers/mmc/host/vub300.c u8 func = FUN(cmd); func 1860 drivers/mmc/host/vub300.c if ((vub300->sdio_register[i].func_num == func) && func 1892 drivers/mmc/host/vub300.c else if (vub300->fn[func].offload_count == 0) func 1895 drivers/mmc/host/vub300.c return examine_cyclic_buffer(vub300, cmd, func); func 298 drivers/mtd/ubi/fastmap-wl.c wrk->func = &wear_leveling_worker; func 349 drivers/mtd/ubi/fastmap-wl.c return wrk->func == erase_worker; func 802 drivers/mtd/ubi/ubi.h int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown); func 220 drivers/mtd/ubi/wl.c err = wrk->func(ubi, wrk, 0); func 604 drivers/mtd/ubi/wl.c wl_wrk->func = &erase_worker; func 1055 drivers/mtd/ubi/wl.c wrk->func = &wear_leveling_worker; func 1411 drivers/mtd/ubi/wl.c err = wrk->func(ubi, wrk, 0); func 1681 drivers/mtd/ubi/wl.c wrk->func(ubi, wrk, 1); func 546 drivers/net/dsa/mv88e6xxx/chip.h int *func); func 548 drivers/net/dsa/mv88e6xxx/chip.h int func); func 574 drivers/net/dsa/mv88e6xxx/chip.h enum ptp_pin_function func, unsigned int chan); func 189 drivers/net/dsa/mv88e6xxx/global2_scratch.c unsigned int pin, int *func) func 201 drivers/net/dsa/mv88e6xxx/global2_scratch.c *func = (val & mask) >> offset; func 213 drivers/net/dsa/mv88e6xxx/global2_scratch.c unsigned int pin, int func) func 225 drivers/net/dsa/mv88e6xxx/global2_scratch.c val = (val & ~mask) | ((func & mask) << offset); func 71 drivers/net/dsa/mv88e6xxx/ptp.c int func, int input) func 82 drivers/net/dsa/mv88e6xxx/ptp.c return chip->info->ops->gpio_ops->set_pctl(chip, pin, func); func 272 drivers/net/dsa/mv88e6xxx/ptp.c int func; func 297 drivers/net/dsa/mv88e6xxx/ptp.c func = MV88E6352_G2_SCRATCH_GPIO_PCTL_EVREQ; func 299 drivers/net/dsa/mv88e6xxx/ptp.c err = mv88e6352_set_gpio_func(chip, pin, func, true); func 308 drivers/net/dsa/mv88e6xxx/ptp.c func = MV88E6352_G2_SCRATCH_GPIO_PCTL_GPIO; func 310 drivers/net/dsa/mv88e6xxx/ptp.c err = mv88e6352_set_gpio_func(chip, pin, func, true); func 335 drivers/net/dsa/mv88e6xxx/ptp.c enum ptp_pin_function func, unsigned int chan) func 337 drivers/net/dsa/mv88e6xxx/ptp.c switch (func) { func 481 drivers/net/dsa/mv88e6xxx/ptp.c ppd->func = PTP_PF_NONE; func 179 drivers/net/ethernet/8390/mcf8390.c static void mcf8390_dmaing_err(const char *func, struct net_device *dev, func 183 drivers/net/ethernet/8390/mcf8390.c func, ei_local->dmaing, ei_local->irqlock); func 2286 drivers/net/ethernet/amazon/ena/ena_com.c enum ena_admin_hash_functions func, func 2306 drivers/net/ethernet/amazon/ena/ena_com.c if (!((1 << func) & get_resp.u.flow_hash_func.supported_func)) { func 2307 drivers/net/ethernet/amazon/ena/ena_com.c pr_err("Flow hash function %d isn't supported\n", func); func 2311 drivers/net/ethernet/amazon/ena/ena_com.c switch (func) { func 2328 drivers/net/ethernet/amazon/ena/ena_com.c pr_err("Invalid hash function (%d)\n", func); func 2332 drivers/net/ethernet/amazon/ena/ena_com.c rss->hash_func = func; func 2343 drivers/net/ethernet/amazon/ena/ena_com.c enum ena_admin_hash_functions *func, func 2364 drivers/net/ethernet/amazon/ena/ena_com.c if (func) func 2365 drivers/net/ethernet/amazon/ena/ena_com.c *func = rss->hash_func; func 682 drivers/net/ethernet/amazon/ena/ena_com.h enum ena_admin_hash_functions func, func 712 drivers/net/ethernet/amazon/ena/ena_com.h enum ena_admin_hash_functions *func, func 666 drivers/net/ethernet/amazon/ena/ena_ethtool.c u8 func; func 693 drivers/net/ethernet/amazon/ena/ena_ethtool.c func = ETH_RSS_HASH_TOP; func 696 drivers/net/ethernet/amazon/ena/ena_ethtool.c func = ETH_RSS_HASH_CRC32; func 705 drivers/net/ethernet/amazon/ena/ena_ethtool.c *hfunc = func; func 715 drivers/net/ethernet/amazon/ena/ena_ethtool.c enum ena_admin_hash_functions func; func 740 drivers/net/ethernet/amazon/ena/ena_ethtool.c func = ena_com_get_current_hash_function(ena_dev); func 743 drivers/net/ethernet/amazon/ena/ena_ethtool.c func = ENA_ADMIN_TOEPLITZ; func 746 drivers/net/ethernet/amazon/ena/ena_ethtool.c func = ENA_ADMIN_CRC32; func 755 drivers/net/ethernet/amazon/ena/ena_ethtool.c rc = ena_com_fill_hash_function(ena_dev, func, key, func 7964 drivers/net/ethernet/broadcom/bnx2.c if (bp->func == 0) { func 8263 drivers/net/ethernet/broadcom/bnx2.c bp->func = 1; func 8267 drivers/net/ethernet/broadcom/bnx2.c u32 off = bp->func << 2; func 6986 drivers/net/ethernet/broadcom/bnx2.h u8 func; func 813 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct cstorm_status_block_u, func) func 815 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct cstorm_status_block_c, func) func 2080 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id, func 2104 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define FUNC_ILT_BASE(func) (func * ILT_PER_FUNC) func 2362 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DEF_USB_FUNC_OFF offsetof(struct cstorm_def_status_block_u, func) func 2363 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DEF_CSB_FUNC_OFF offsetof(struct cstorm_def_status_block_c, func) func 2364 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DEF_XSB_FUNC_OFF offsetof(struct xstorm_def_status_block, func) func 2365 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define DEF_TSB_FUNC_OFF offsetof(struct tstorm_def_status_block, func) func 1399 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c int func = BP_FUNC(bp); func 1481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(func), func 1484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c USTORM_MEM_WORKAROUND_ADDRESS_OFFSET(func) + 4, func 1328 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h int func; func 1336 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h func = func_by_vn(bp, vn); func 1338 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h (LINK_SYNC_ATTENTION_BIT_FUNC_0 + func)*4, 1); func 905 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 941 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cstorm_offset = CSTORM_SP_STATUS_BLOCK_DATA_OFFSET(func); func 1714 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 1728 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (func <= 5) func 1729 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); func 1732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8); func 1981 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 1992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (func <= 5) { func 1993 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); func 1996 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8); func 2030 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 2040 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (func <= 5) { func 2041 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c hw_lock_control_reg = (MISC_REG_DRIVER_CONTROL_1 + func*8); func 2044 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MISC_REG_DRIVER_CONTROL_7 + (func - 6)*8); func 2533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int /*abs*/func = n * (2 * vn + BP_PORT(bp)) + BP_PATH(bp); func 2535 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (func >= E1H_FUNC_MAX) func 2539 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_mf_config[func].config); func 2598 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = func_by_vn(bp, vn); func 2601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c XSTORM_RATE_SHAPING_PER_VN_VARS_OFFSET(func); func 2607 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c XSTORM_FAIRNESS_PER_VN_VARS_OFFSET(func); func 2787 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 func = BP_ABS_FUNC(bp); func 2835 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c mf_config = MF_CFG_RD(bp, func_mf_config[func].config); func 2863 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) & func 2867 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) & func 2876 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].afex_config) & func 2881 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].afex_config) & func 2920 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_ABS_FUNC(bp); func 2924 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) & func 3812 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 3821 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR16_RELAXED(bp, BAR_XSTRORM_INTMEM + XSTORM_SPQ_PROD_OFFSET(func), func 4263 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 4265 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0); func 5873 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 5877 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c CSTORM_SP_STATUS_BLOCK_DATA_OFFSET(func) + func 5884 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 5894 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c CSTORM_SP_STATUS_BLOCK_OFFSET(func), 0, func 5897 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c CSTORM_SP_SYNC_BLOCK_OFFSET(func), 0, func 6022 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 6089 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sp_sb_data.p_func.pf_id = func; func 7735 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id, bool is_pf) func 7742 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 func_encode = func | (is_pf ? 1 : 0) << IGU_FID_ENCODE_IS_PF_SHIFT; func 7783 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static void bnx2x_clear_func_ilt(struct bnx2x *bp, u32 func) func 7785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 i, base = FUNC_ILT_BASE(func); func 7933 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 7934 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int init_phase = PHASE_PF0 + func; func 7941 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(NETIF_MSG_HW, "starting func init func %d\n", func); func 8042 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, TSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func); func 8043 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, USEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func); func 8044 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, CSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func); func 8045 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, XSEM_REG_VFPF_ERR_NUM, BNX2X_MAX_NUM_OF_VFS + func); func 8087 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0); func 8097 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, MISC_REG_AEU_GENERAL_ATTN_12 + func*4, 0); func 8965 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_FUNC(bp); func 8969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(func), 0); func 8970 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(func), 0); func 8971 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(func), 0); func 8972 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_FUNC_EN_OFFSET(func), 0); func 8990 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c CSTORM_SP_STATUS_BLOCK_DATA_STATE_OFFSET(func), func 8994 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, BAR_XSTRORM_INTMEM + XSTORM_SPQ_DATA_OFFSET(func), func 9020 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_clear_func_ilt(bp, func); func 11670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static void bnx2x_get_ext_wwn_info(struct bnx2x *bp, int func) func 11674 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_port_name_upper); func 11676 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_port_name_lower); func 11680 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_node_name_upper); func 11682 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_ext_config[func].fcoe_wwn_node_name_lower); func 11730 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_ABS_FUNC(bp); func 11778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_get_ext_wwn_info(bp, func); func 11781 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_get_ext_wwn_info(bp, func); func 11810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_ABS_FUNC(bp); func 11822 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 cfg = MF_CFG_RD(bp, func_ext_config[func].func_cfg); func 11824 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val2 = MF_CFG_RD(bp, func_ext_config[func]. func 11826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_ext_config[func]. func 11836 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val2 = MF_CFG_RD(bp, func_ext_config[func]. func 11838 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_ext_config[func]. func 11902 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func = BP_ABS_FUNC(bp); func 11912 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val2 = MF_CFG_RD(bp, func_mf_config[func].mac_upper); func 11913 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_mf_config[func].mac_lower); func 11972 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u8 func = BP_ABS_FUNC(bp); func 11975 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_mf_config[func].mac_upper); func 11981 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MF_CFG_RD(bp, func_mf_config[func].config); func 11988 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int /*abs*/func = BP_ABS_FUNC(bp); func 12110 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (MF_CFG_RD(bp, func_mf_config[func]. func 12116 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].config); func 12130 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].config); func 12139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].config); func 12163 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func_mf_config[func].config); func 12197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = MF_CFG_RD(bp, func_mf_config[func].e1hov_tag) & func 12204 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func, bp->mf_ov, bp->mf_ov); func 12209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func); func 12214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func); func 12219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_DEV_INFO("func %d is in MF afex mode\n", func); func 12223 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func); func 12405 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int func; func 12435 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func = BP_FUNC(bp); func 12455 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (BP_NOMCP(bp) && (func == 0)) func 13523 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c #define BNX2X_ALLOC_AND_SET(arr, lbl, func) \ func 13529 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c func(bp->firmware->data + be32_to_cpu(fw_hdr->arr.offset), \ func 4680 drivers/net/ethernet/broadcom/cnic.c val = cp->func << 2; func 5099 drivers/net/ethernet/broadcom/cnic.c cp->func = bp->pf_num; func 5328 drivers/net/ethernet/broadcom/cnic.c cp->func = PCI_FUNC(dev->pcidev->devfn); func 308 drivers/net/ethernet/broadcom/cnic.h int func; func 403 drivers/net/ethernet/broadcom/cnic.h #define CNIC_FUNC(cp) ((cp)->func) func 16067 drivers/net/ethernet/broadcom/tg3.c unsigned int func, devnr = tp->pdev->devfn & ~7; func 16069 drivers/net/ethernet/broadcom/tg3.c for (func = 0; func < 8; func++) { func 16070 drivers/net/ethernet/broadcom/tg3.c peer = pci_get_slot(tp->pdev->bus, devnr | func); func 731 drivers/net/ethernet/cavium/liquidio/lio_core.c csd->func = napi_schedule_wrapper; func 761 drivers/net/ethernet/cavium/liquidio/octeon_device.c int bus, int dev, int func, int is_pf) func 767 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.func = func; func 804 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); func 821 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->loc.bus, oct->loc.dev, oct->loc.func, refcount); func 597 drivers/net/ethernet/cavium/liquidio/octeon_device.h int func; func 656 drivers/net/ethernet/cavium/liquidio/octeon_device.h int bus, int dev, int func, int is_pf); func 1369 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 func, bool is_pf) func 1374 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff = qbase->pf_data_value[func]; func 1376 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c buff = qbase->vf_data_value[func]; func 1380 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c func += 8; func 1383 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_write_reg(padap, qbase->reg_addr, func); func 5661 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int func, chip_ver; func 5709 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c func = chip_ver <= CHELSIO_T5 ? func 5715 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adapter->mbox = func; func 5716 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adapter->pf = func; func 5733 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (func != ent->driver_data) { func 5917 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c err = t4_port_init(adapter, func, func, 0); func 950 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } func; func 975 drivers/net/ethernet/emulex/benet/be.h int be_load_fw(struct be_adapter *adapter, u8 *func); func 378 drivers/net/ethernet/emulex/benet/be_cmds.h u8 func[8]; /* dword 2*/ func 469 drivers/net/ethernet/emulex/benet/be_cmds.h u8 func[8]; /* dword 2*/ func 5041 drivers/net/ethernet/emulex/benet/be_main.c void (*func)(struct work_struct *)) func 5052 drivers/net/ethernet/emulex/benet/be_main.c INIT_WORK(&work->work, func); func 5168 drivers/net/ethernet/emulex/benet/be_main.c void (*func)(struct work_struct *)) func 5179 drivers/net/ethernet/emulex/benet/be_main.c cmd_work = be_alloc_work(adapter, func); func 9106 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->service_task.work.func) func 9108 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->rst_service_task.func) func 9110 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->mbx_service_task.func) func 2237 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hdev->keep_alive_task.func) func 2241 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hdev->service_task.func) func 2243 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hdev->mbx_service_task.func) func 2245 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (hdev->rst_service_task.func) func 3335 drivers/net/ethernet/ibm/ibmvnic.c static void print_subcrq_error(struct device *dev, int rc, const char *func) func 3341 drivers/net/ethernet/ibm/ibmvnic.c func, rc); func 3346 drivers/net/ethernet/ibm/ibmvnic.c func, rc); func 3349 drivers/net/ethernet/ibm/ibmvnic.c dev_err_ratelimited(dev, "%s failed: (rc=%d)\n", func, rc); func 182 drivers/net/ethernet/intel/e1000e/80003es2lan.c mask = hw->bus.func ? E1000_SWFW_PHY1_SM : E1000_SWFW_PHY0_SM; func 196 drivers/net/ethernet/intel/e1000e/80003es2lan.c mask = hw->bus.func ? E1000_SWFW_PHY1_SM : E1000_SWFW_PHY0_SM; func 497 drivers/net/ethernet/intel/e1000e/80003es2lan.c if (hw->bus.func == 1) func 624 drivers/net/ethernet/intel/e1000e/hw.h u16 func; func 55 drivers/net/ethernet/intel/e1000e/mac.c bus->func = (reg & E1000_STATUS_FUNC_MASK) >> E1000_STATUS_FUNC_SHIFT; func 68 drivers/net/ethernet/intel/e1000e/mac.c bus->func = 0; func 167 drivers/net/ethernet/intel/e1000e/mac.c if (hw->bus.func == E1000_FUNC_1) func 7303 drivers/net/ethernet/intel/e1000e/netdev.c (adapter->hw.bus.func == 1)) func 1487 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c if (!msg_data->func) func 1517 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c if ((msg_data->id != FM10K_TLV_ERROR) || !msg_data->func) func 1275 drivers/net/ethernet/intel/fm10k/fm10k_pci.c PCI_SLOT(fault->func), PCI_FUNC(fault->func)); func 1286 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fault->func && iov_data) { func 1287 drivers/net/ethernet/intel/fm10k/fm10k_pci.c int vf = fault->func - 1; func 1548 drivers/net/ethernet/intel/fm10k/fm10k_pf.c u32 func; func 1561 drivers/net/ethernet/intel/fm10k/fm10k_pf.c func = fm10k_read_reg(hw, type + FM10K_FAULT_FUNC); func 1562 drivers/net/ethernet/intel/fm10k/fm10k_pf.c if (!(func & FM10K_FAULT_FUNC_VALID)) func 1575 drivers/net/ethernet/intel/fm10k/fm10k_pf.c if (func & FM10K_FAULT_FUNC_PF) func 1576 drivers/net/ethernet/intel/fm10k/fm10k_pf.c fault->func = 0; func 1578 drivers/net/ethernet/intel/fm10k/fm10k_pf.c fault->func = 1 + ((func & FM10K_FAULT_FUNC_VF_MASK) >> func 1582 drivers/net/ethernet/intel/fm10k/fm10k_pf.c fault->type = func & FM10K_FAULT_FUNC_TYPE_MASK; func 87 drivers/net/ethernet/intel/fm10k/fm10k_pf.h #define FM10K_PF_MSG_LPORT_MAP_HANDLER(func) \ func 89 drivers/net/ethernet/intel/fm10k/fm10k_pf.h fm10k_lport_map_msg_attr, func) func 91 drivers/net/ethernet/intel/fm10k/fm10k_pf.h #define FM10K_PF_MSG_UPDATE_PVID_HANDLER(func) \ func 93 drivers/net/ethernet/intel/fm10k/fm10k_pf.h fm10k_update_pvid_msg_attr, func) func 97 drivers/net/ethernet/intel/fm10k/fm10k_pf.h #define FM10K_PF_MSG_ERR_HANDLER(msg, func) \ func 98 drivers/net/ethernet/intel/fm10k/fm10k_pf.h FM10K_MSG_HANDLER(FM10K_PF_MSG_ID_##msg, fm10k_err_msg_attr, func) func 577 drivers/net/ethernet/intel/fm10k/fm10k_tlv.c return data->func(hw, results, mbx); func 85 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h s32 (*func)(struct fm10k_hw *, u32 **, func 89 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func } func 160 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define FM10K_TLV_MSG_TEST_HANDLER(func) \ func 161 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h FM10K_MSG_HANDLER(FM10K_TLV_MSG_ID_TEST, fm10k_tlv_msg_test_attr, func) func 162 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define FM10K_TLV_MSG_ERROR_HANDLER(func) \ func 163 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h FM10K_MSG_HANDLER(FM10K_TLV_ERROR, NULL, func) func 504 drivers/net/ethernet/intel/fm10k/fm10k_type.h u8 func; /* Function number of the fault */ func 34 drivers/net/ethernet/intel/fm10k/fm10k_vf.h #define FM10K_VF_MSG_MSIX_HANDLER(func) \ func 35 drivers/net/ethernet/intel/fm10k/fm10k_vf.h FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MSIX, NULL, func) func 39 drivers/net/ethernet/intel/fm10k/fm10k_vf.h #define FM10K_VF_MSG_MAC_VLAN_HANDLER(func) \ func 41 drivers/net/ethernet/intel/fm10k/fm10k_vf.h fm10k_mac_vlan_msg_attr, func) func 46 drivers/net/ethernet/intel/fm10k/fm10k_vf.h #define FM10K_VF_MSG_LPORT_STATE_HANDLER(func) \ func 48 drivers/net/ethernet/intel/fm10k/fm10k_vf.h fm10k_lport_state_msg_attr, func) func 425 drivers/net/ethernet/intel/i40e/i40e_client.c pf->hw.bus.device, pf->hw.bus.func); func 464 drivers/net/ethernet/intel/i40e/i40e_client.c pf->hw.bus.device, pf->hw.bus.func); func 324 drivers/net/ethernet/intel/i40e/i40e_common.c hw->bus.func); func 428 drivers/net/ethernet/intel/i40e/i40e_ddp.c if (pf->hw.bus.func != 0) { func 10288 drivers/net/ethernet/intel/i40e/i40e_main.c u8 func = (reg & I40E_GL_MDET_RX_FUNCTION_MASK) >> func 10297 drivers/net/ethernet/intel/i40e/i40e_main.c event, queue, func); func 14816 drivers/net/ethernet/intel/i40e/i40e_main.c hw->bus.func = PCI_FUNC(pdev->devfn); func 15341 drivers/net/ethernet/intel/i40e/i40e_main.c if (pf->service_task.func) func 57 drivers/net/ethernet/intel/i40e/i40e_osdep.h (h)->bus.func, ##__VA_ARGS__); \ func 492 drivers/net/ethernet/intel/i40e/i40e_type.h u16 func; func 314 drivers/net/ethernet/intel/iavf/iavf_client.c adapter->hw.bus.func); func 343 drivers/net/ethernet/intel/iavf/iavf_client.c adapter->hw.bus.func); func 299 drivers/net/ethernet/intel/iavf/iavf_common.c hw->bus.func); func 3719 drivers/net/ethernet/intel/iavf/iavf_main.c hw->bus.func = PCI_FUNC(pdev->devfn); func 52 drivers/net/ethernet/intel/iavf/iavf_osdep.h (h)->bus.func, ##__VA_ARGS__); \ func 161 drivers/net/ethernet/intel/iavf/iavf_type.h u16 func; func 1187 drivers/net/ethernet/intel/ice/ice_main.c if (pf->serv_task.func) func 2841 drivers/net/ethernet/intel/ice/ice_main.c hw->bus.func = PCI_FUNC(pdev->devfn); func 217 drivers/net/ethernet/intel/ice/ice_type.h u8 func; func 225 drivers/net/ethernet/intel/igb/e1000_82575.c hw->bus.func = (rd32(E1000_STATUS) & E1000_STATUS_FUNC_MASK) >> func 722 drivers/net/ethernet/intel/igb/e1000_82575.c if (hw->bus.func == E1000_FUNC_1) func 724 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_2) func 726 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_3) func 743 drivers/net/ethernet/intel/igb/e1000_82575.c if (hw->bus.func == E1000_FUNC_1) func 745 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_2) func 747 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_3) func 1235 drivers/net/ethernet/intel/igb/e1000_82575.c if (hw->bus.func == 1) func 1237 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_2) func 1239 drivers/net/ethernet/intel/igb/e1000_82575.c else if (hw->bus.func == E1000_FUNC_3) func 2226 drivers/net/ethernet/intel/igb/e1000_82575.c NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1, func 2790 drivers/net/ethernet/intel/igb/e1000_82575.c if ((hw->mac.type != e1000_i350) || (hw->bus.func != 0)) func 2845 drivers/net/ethernet/intel/igb/e1000_82575.c if ((hw->mac.type != e1000_i350) || (hw->bus.func != 0)) func 460 drivers/net/ethernet/intel/igb/e1000_hw.h u16 func; func 59 drivers/net/ethernet/intel/igb/e1000_mac.c bus->func = (reg & E1000_STATUS_FUNC_MASK) >> E1000_STATUS_FUNC_SHIFT; func 311 drivers/net/ethernet/intel/igb/e1000_mac.c if (hw->bus.func == E1000_FUNC_1) func 313 drivers/net/ethernet/intel/igb/e1000_mac.c if (hw->bus.func == E1000_FUNC_2) func 316 drivers/net/ethernet/intel/igb/e1000_mac.c if (hw->bus.func == E1000_FUNC_3) func 776 drivers/net/ethernet/intel/igb/e1000_mac.c lan_offset = NVM_82580_LAN_FUNC_OFFSET(hw->bus.func); func 2399 drivers/net/ethernet/intel/igb/igb_main.c if (mac->type == e1000_i350 && hw->bus.func == 0) { func 2919 drivers/net/ethernet/intel/igb/igb_main.c switch (hw->bus.func) { func 2925 drivers/net/ethernet/intel/igb/igb_main.c hw->bus.func); func 2933 drivers/net/ethernet/intel/igb/igb_main.c hw->bus.func); func 2941 drivers/net/ethernet/intel/igb/igb_main.c hw->bus.func); func 2949 drivers/net/ethernet/intel/igb/igb_main.c hw->bus.func); func 3242 drivers/net/ethernet/intel/igb/igb_main.c if (hw->bus.func == 0) func 3248 drivers/net/ethernet/intel/igb/igb_main.c NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1, func 3250 drivers/net/ethernet/intel/igb/igb_main.c else if (hw->bus.func == 1) func 3313 drivers/net/ethernet/intel/igb/igb_main.c (hw->bus.func == 0)) { func 3357 drivers/net/ethernet/intel/igb/igb_main.c if (hw->mac.type == e1000_i350 && hw->bus.func == 0) { func 663 drivers/net/ethernet/intel/igb/igb_ptp.c enum ptp_pin_function func, unsigned int chan) func 665 drivers/net/ethernet/intel/igb/igb_ptp.c switch (func) { func 1226 drivers/net/ethernet/intel/igb/igb_ptp.c ppd->func = PTP_PF_NONE; func 170 drivers/net/ethernet/intel/igc/igc_base.c hw->bus.func = (rd32(IGC_STATUS) & IGC_STATUS_FUNC_MASK) >> func 167 drivers/net/ethernet/intel/igc/igc_hw.h u16 func; func 4174 drivers/net/ethernet/intel/igc/igc_main.c adapter->port_num = hw->bus.func; func 1071 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c bus->func = 0; func 687 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bus->func = (reg & IXGBE_STATUS_LAN_ID) >> IXGBE_STATUS_LAN_ID_SHIFT; func 688 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bus->lan_id = bus->func; func 693 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bus->func ^= 0x1; func 2883 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c (hw->bus.func) ? (san_mac_offset += IXGBE_SAN_MAC_ADDR_PORT1_OFFSET) : func 3766 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c fw_cmd.port_num = hw->bus.func; func 10637 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (hw->bus.func == 0))) func 10651 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (hw->bus.func != 0) func 3286 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 func; func 2783 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.port_num = (u8)hw->bus.func; func 333 drivers/net/ethernet/marvell/octeontx2/af/rvu.c int pf, func; func 337 drivers/net/ethernet/marvell/octeontx2/af/rvu.c func = pcifunc & RVU_PFVF_FUNC_MASK; func 342 drivers/net/ethernet/marvell/octeontx2/af/rvu.c return ((cfg & 0xFFF) + func - 1); func 204 drivers/net/ethernet/mellanox/mlx4/fw.c int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave) func 236 drivers/net/ethernet/mellanox/mlx4/fw.c func->bus = field & 0xf; func 238 drivers/net/ethernet/mellanox/mlx4/fw.c func->device = field & 0xf1; func 240 drivers/net/ethernet/mellanox/mlx4/fw.c func->function = field & 0x7; func 242 drivers/net/ethernet/mellanox/mlx4/fw.c func->physical_function = field & 0xf; func 244 drivers/net/ethernet/mellanox/mlx4/fw.c func->rsvd_eqs = field16 & 0xffff; func 246 drivers/net/ethernet/mellanox/mlx4/fw.c func->max_eq = field16 & 0xffff; func 248 drivers/net/ethernet/mellanox/mlx4/fw.c func->rsvd_uars = field & 0x0f; func 251 drivers/net/ethernet/mellanox/mlx4/fw.c func->bus, func->device, func->function, func->physical_function, func 252 drivers/net/ethernet/mellanox/mlx4/fw.c func->max_eq, func->rsvd_eqs, func->rsvd_uars); func 335 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_func func; func 491 drivers/net/ethernet/mellanox/mlx4/fw.c mlx4_QUERY_FUNC(dev, &func, slave)) { func 502 drivers/net/ethernet/mellanox/mlx4/fw.c func.max_eq : func 503 drivers/net/ethernet/mellanox/mlx4/fw.c rounddown_pow_of_two(func.max_eq); func 505 drivers/net/ethernet/mellanox/mlx4/fw.c size = func.rsvd_eqs; func 239 drivers/net/ethernet/mellanox/mlx4/fw.h int mlx4_QUERY_FUNC(struct mlx4_dev *dev, struct mlx4_func *func, int slave); func 346 drivers/net/ethernet/mellanox/mlx4/main.c struct mlx4_func func; func 349 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_QUERY_FUNC(dev, &func, 0); func 354 drivers/net/ethernet/mellanox/mlx4/main.c dev_cap->max_eqs = func.max_eq; func 355 drivers/net/ethernet/mellanox/mlx4/main.c dev_cap->reserved_eqs = func.rsvd_eqs; func 356 drivers/net/ethernet/mellanox/mlx4/main.c dev_cap->reserved_uars = func.rsvd_uars; func 245 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c lbtp->pt.func = mlx5e_test_loopback_validate; func 392 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c enum ptp_pin_function func, unsigned int chan) func 394 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c return (func == PTP_PF_PHYSYNC) ? -EOPNOTSUPP : 0; func 433 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->ptp_info.pin_config[i].func = PTP_PF_NONE; func 477 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c switch (clock->ptp_info.pin_config[pin].func) { func 509 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->ptp_info.pin_config[pin].func); func 1323 drivers/net/ethernet/mellanox/mlxsw/core.c return (rxl_a->func == rxl_b->func && func 1390 drivers/net/ethernet/mellanox/mlxsw/core.c event_listener_item->el.func(®, payload, event_listener_item->priv); func 1397 drivers/net/ethernet/mellanox/mlxsw/core.c return (el_a->func == el_b->func && func 1423 drivers/net/ethernet/mellanox/mlxsw/core.c .func = mlxsw_core_event_listener_func, func 1460 drivers/net/ethernet/mellanox/mlxsw/core.c .func = mlxsw_core_event_listener_func, func 1808 drivers/net/ethernet/mellanox/mlxsw/core.c rxl->func(skb, local_port, rxl_item->priv); func 55 drivers/net/ethernet/mellanox/mlxsw/core.h void (*func)(struct sk_buff *skb, u8 local_port, void *priv); func 62 drivers/net/ethernet/mellanox/mlxsw/core.h void (*func)(const struct mlxsw_reg_info *reg, func 86 drivers/net/ethernet/mellanox/mlxsw/core.h .func = _func, \ func 102 drivers/net/ethernet/mellanox/mlxsw/core.h .func = _func, \ func 899 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->pin_config[0].func = PTP_PF_PEROUT; func 420 drivers/net/ethernet/neterion/vxge/vxge-main.h void vxge_os_timer(struct timer_list *timer, void (*func)(struct timer_list *), func 423 drivers/net/ethernet/neterion/vxge/vxge-main.h timer_setup(timer, func, 0); func 1285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP(func, expl, args...) \ func 1290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ func 1291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->func(expl, ##args); \ func 1295 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP_NR(func, expl, args...) \ func 1299 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ func 1300 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->func(expl, ##args); \ func 821 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h #define PCIE_CRB_WINDOW_REG(func) (((func) < 4) ? \ func 822 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_CRB_WINDOW_F0 + (0x20 * (func))) :\ func 823 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_CRB_WINDOW_F4 + (0x10 * ((func)-4)))) func 834 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h #define PCIE_MN_WINDOW_REG(func) (((func) < 4) ? \ func 835 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_MN_WINDOW_F0 + (0x20 * (func))) :\ func 836 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_MN_WINDOW_F4 + (0x10 * ((func)-4)))) func 847 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h #define PCIE_SN_WINDOW_REG(func) (((func) < 4) ? \ func 848 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_SN_WINDOW_F0 + (0x20 * (func))) :\ func 849 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h (PCIX_SN_WINDOW_F4 + (0x10 * ((func)-4)))) func 852 drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h #define PCIX_OCM_WINDOW_REG(func) (PCIX_OCM_WINDOW + 0x20 * (func)) func 1051 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u8 func = adapter->ahw.pci_func; func 1057 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NETXEN_PCIX_PH_REG(PCIE_CRB_WINDOW_REG(func))); func 56 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c work_func_t func, int delay); func 2489 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c work_func_t func, int delay) func 2491 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c INIT_DELAYED_WORK(&adapter->fw_work, func); func 542 drivers/net/ethernet/qlogic/qed/qed.h void (*func)(void *); func 12922 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct public_func func[MCP_GLOB_FUNC_MAX]; func 13343 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct nvm_cfg1_func func[MCP_GLOB_FUNC_MAX]; func 643 drivers/net/ethernet/qlogic/qed/qed_main.c hwfn->simd_proto_handler[relative_idx].func = handler; func 691 drivers/net/ethernet/qlogic/qed/qed_main.c if (p_handler->func) func 692 drivers/net/ethernet/qlogic/qed/qed_main.c p_handler->func(p_handler->token); func 509 drivers/net/ethernet/qlogic/qede/qede.h void (*func)(struct qede_dev *edev, struct qede_reload_args *args); func 1071 drivers/net/ethernet/qlogic/qede/qede_ethtool.c args.func = &qede_update_mtu; func 962 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func = &qede_set_features_reload; func 970 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func(edev, &args); func 1107 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func = &qede_xdp_reload_func; func 2347 drivers/net/ethernet/qlogic/qede/qede_main.c args->func(edev, args); func 2353 drivers/net/ethernet/qlogic/qede/qede_main.c args->func(edev, args); func 265 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c int func, int *port_id) func 272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c err = qlcnic_get_nic_info(adapter, &nic_info, func); func 1060 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c int qlcnic_get_port_stats(struct qlcnic_adapter *adapter, const u8 func, func 1075 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c (func != adapter->ahw->pci_func)) { func 1077 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c "Not privilege to query stats for func=%d", func); func 1086 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c arg1 = func | QLCNIC_STATS_VERSION << 8 | QLCNIC_STATS_PORT << 12; func 567 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hdr.h #define PCIX_OCM_WINDOW_REG(func) (PCIX_OCM_WINDOW + 0x4 * (func)) func 1597 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u32 func; func 1600 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c pci_read_config_dword(adapter->pdev, QLCNIC_MSIX_TABLE_OFFSET, &func); func 1603 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c func = (func - msix_base) / QLCNIC_MSIX_TBL_PGSIZE; func 1604 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->pci_func = func; func 453 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (!adapter->fw_work.work.func) func 3646 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c work_func_t func, int delay) func 3651 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c INIT_DELAYED_WORK(&adapter->fw_work, func); func 849 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c work_func_t func) func 1380 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u8 func = ahw->pci_func; func 1394 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c QLCNIC_MBX_RSP(cmd->req.arg[0]), func); func 1398 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c err = qlcnic_sriov_send_bc_cmd(adapter, trans, func); func 1401 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c (cmd->req.arg[0] & 0xffff), func); func 1431 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c opcode, mbx_err_code, func); func 1741 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u8 func = ahw->pci_func; func 1751 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c __func__, func); func 1755 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c __func__, func); func 1771 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u8 func = ahw->pci_func; func 1799 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c dev_info(dev, "Resetting context of VF 0x%x\n", func); func 1801 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c __func__, adapter->reset_ctx_cnt, func); func 1813 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c dev_info(dev, "Done resetting context for VF 0x%x\n", func); func 1816 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c __func__, func); func 1873 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u8 func = adapter->ahw->pci_func; func 1877 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c "Firmware hang detected by VF 0x%x\n", func); func 69 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c struct qlcnic_info *info, u16 func) func 78 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); func 92 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (adapter->ahw->pci_func == func) { func 106 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c id = qlcnic_sriov_func_to_index(adapter, func); func 234 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 func) func 240 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (adapter->ahw->pci_func == func) { func 243 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); func 252 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u16 vport_handle, u8 func) func 258 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (adapter->ahw->pci_func == func) { func 261 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); func 270 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 func) func 276 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (adapter->ahw->pci_func == func) { func 279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); func 290 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 flag, u16 func) func 300 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c cmd.req.arg[3] = func << 8; func 302 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); func 314 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c (flag ? "enable" : "disable"), ret, func); func 320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_set_vport_handle(adapter, vpid, func); func 322 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_reset_vport_handle(adapter, func); func 382 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 func, u8 enable) func 391 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c cmd.req.arg[1] = ((func & 0xf) << 2) | BIT_6 | BIT_1; func 436 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 func = adapter->ahw->pci_func; func 443 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_config_vport(adapter, 0, func); func 444 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_cfg_eswitch(adapter, func, 0); func 509 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 func = ahw->pci_func; func 524 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_cfg_eswitch(adapter, func, 1); func 528 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_config_vport(adapter, 1, func); func 536 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_get_nic_info(adapter, &nic_info, func); func 540 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_cal_res_limit(adapter, &vp_info, func); func 556 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_config_vport(adapter, 0, func); func 559 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_cfg_eswitch(adapter, func, 0); func 683 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c static int qlcnic_sriov_set_vf_acl(struct qlcnic_adapter *adapter, u8 func) func 690 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c id = qlcnic_sriov_func_to_index(adapter, func); func 699 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c cmd.req.arg[1] = 0x3 | func << 16; func 723 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u16 func) func 728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_cal_res_limit(adapter, &defvp_info, func); func 732 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_set_vf_acl(adapter, func); func 746 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u16 func = vf->pci_func; func 754 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_config_vport(adapter, 1, func); func 756 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_set_vf_vport_info(adapter, func); func 758 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_sriov_pf_config_vport(adapter, 0, func); func 767 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c err = qlcnic_sriov_pf_config_vport(adapter, 0, func); func 1696 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c work_func_t func) func 1701 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c INIT_WORK(&vf->flr_work, func); func 4357 drivers/net/ethernet/realtek/r8169_main.c u32 func = PCI_FUNC(tp->pci_dev->devfn); func 4361 drivers/net/ethernet/realtek/r8169_main.c CSIAR_BYTE_ENABLE | func << 16); func 4368 drivers/net/ethernet/realtek/r8169_main.c u32 func = PCI_FUNC(tp->pci_dev->devfn); func 4370 drivers/net/ethernet/realtek/r8169_main.c RTL_W32(tp, CSIAR, (addr & CSIAR_ADDR_MASK) | func << 16 | func 25 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c unsigned int func; func 30 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c const struct stmmac_pci_func_data *func; func 44 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c int func = PCI_FUNC(pdev->devfn); func 52 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c func_data = dmi_data->func; func 55 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c if (func_data->func == func) func 274 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .func = 6, func 280 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .func = galileo_stmmac_func_data, func 286 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .func = 6, func 290 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .func = 7, func 296 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c .func = iot2040_stmmac_func_data, func 330 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_loopback_validate; func 750 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_flowctrl_validate; func 908 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_vlan_validate; func 984 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_vlan_validate; func 1241 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_vlan_validate; func 1599 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c tpriv->pt.func = stmmac_test_arp_validate; func 7936 drivers/net/ethernet/sun/niu.c static int niu_set_ldg_sid(struct niu *np, int ldg, int func, int vector) func 7939 drivers/net/ethernet/sun/niu.c (func < 0 || func > 3) || func 7943 drivers/net/ethernet/sun/niu.c nw64(SID(ldg), (func << SID_FUNC_SHIFT) | vector); func 71 drivers/net/ethernet/ti/cpsw.c #define for_each_slave(priv, func, arg...) \ func 77 drivers/net/ethernet/ti/cpsw.c (func)((cpsw)->slaves + priv->emac_port, ##arg);\ func 82 drivers/net/ethernet/ti/cpsw.c (func)(slave++, ##arg); \ func 578 drivers/net/ethernet/xscale/ixp4xx_eth.c static inline void debug_pkt(struct net_device *dev, const char *func, func 584 drivers/net/ethernet/xscale/ixp4xx_eth.c printk(KERN_DEBUG "%s: %s(%i) ", dev->name, func, len); func 92 drivers/net/hamradio/bpqether.c .func = bpq_rcv, func 186 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_PHYSYNC; func 190 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_PEROUT; func 195 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_EXTTS; func 522 drivers/net/phy/dp83640.c enum ptp_pin_function func, unsigned int chan) func 527 drivers/net/phy/dp83640.c if (clock->caps.pin_config[pin].func == PTP_PF_PHYSYNC && func 531 drivers/net/phy/dp83640.c if (func == PTP_PF_PHYSYNC) func 519 drivers/net/ppp/pppoe.c .func = pppoe_rcv, func 524 drivers/net/ppp/pppoe.c .func = pppoe_disc_rcv, func 147 drivers/net/team/team_mode_loadbalance.c lb_select_tx_port_func_t *func; func 153 drivers/net/team/team_mode_loadbalance.c .func = lb_hash_select_tx_port, func 157 drivers/net/team/team_mode_loadbalance.c .func = lb_htpm_select_tx_port, func 162 drivers/net/team/team_mode_loadbalance.c static char *lb_select_tx_port_get_name(lb_select_tx_port_func_t *func) func 170 drivers/net/team/team_mode_loadbalance.c if (item->func == func) func 185 drivers/net/team/team_mode_loadbalance.c return item->func; func 341 drivers/net/team/team_mode_loadbalance.c lb_select_tx_port_func_t *func; func 344 drivers/net/team/team_mode_loadbalance.c func = rcu_dereference_protected(lb_priv->select_tx_port_func, func 346 drivers/net/team/team_mode_loadbalance.c name = lb_select_tx_port_get_name(func); func 355 drivers/net/team/team_mode_loadbalance.c lb_select_tx_port_func_t *func; func 357 drivers/net/team/team_mode_loadbalance.c func = lb_select_tx_port_get_func(ctx->data.str_val); func 358 drivers/net/team/team_mode_loadbalance.c if (!func) func 360 drivers/net/team/team_mode_loadbalance.c rcu_assign_pointer(lb_priv->select_tx_port_func, func); func 606 drivers/net/team/team_mode_loadbalance.c lb_select_tx_port_func_t *func; func 610 drivers/net/team/team_mode_loadbalance.c func = lb_select_tx_port_get_func("hash"); func 611 drivers/net/team/team_mode_loadbalance.c BUG_ON(!func); func 612 drivers/net/team/team_mode_loadbalance.c rcu_assign_pointer(lb_priv->select_tx_port_func, func); func 1703 drivers/net/usb/usbnet.c dev->bh.func = (void (*)(unsigned long))usbnet_bh; func 360 drivers/net/wan/hdlc.c .func = hdlc_rcv, func 553 drivers/net/wan/ixp4xx_hss.c static inline void debug_pkt(struct net_device *dev, const char *func, func 559 drivers/net/wan/ixp4xx_hss.c printk(KERN_DEBUG "%s: %s(%i)", dev->name, func, len); func 401 drivers/net/wan/lapbether.c .func = lapbeth_rcv, func 130 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 136 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 139 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_rd_byte(func->card, func 147 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_wr_byte(func->card, func 153 drivers/net/wireless/ath/ath10k/sdio.c func->card, func 161 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_wr_byte(func->card, func 170 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_rd_byte(func->card, func 176 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_wr_byte(func->card, func 186 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_rd_byte(func->card, func 193 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_func0_cmd52_wr_byte(func->card, func 198 drivers/net/wireless/ath/ath10k/sdio.c func->enable_timeout = 100; func 200 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_set_block_size(func, ar_sdio->mbox_info.block_size); func 208 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 215 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 218 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 220 drivers/net/wireless/ath/ath10k/sdio.c sdio_writel(func, val, addr, &ret); func 231 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 239 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 249 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 251 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_writesb(func, addr, buf, sizeof(*buf)); func 262 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 272 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 275 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 276 drivers/net/wireless/ath/ath10k/sdio.c *val = sdio_readl(func, addr, &ret); func 287 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 295 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 298 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 300 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_memcpy_fromio(func, buf, addr, len); func 312 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 320 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 323 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 328 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_memcpy_toio(func, addr, (void *)buf, len); func 340 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 348 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 351 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 355 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_readsb(func, buf, addr, len); func 367 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 1033 drivers/net/wireless/ath/ath10k/sdio.c u16 device = ar_sdio->func->device, dev_id_base, dev_id_chiprev; func 1348 drivers/net/wireless/ath/ath10k/sdio.c static void ath10k_sdio_irq_handler(struct sdio_func *func) func 1350 drivers/net/wireless/ath/ath10k/sdio.c struct ath10k_sdio *ar_sdio = sdio_get_drvdata(func); func 1359 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1370 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(ar_sdio->func); func 1403 drivers/net/wireless/ath/ath10k/sdio.c struct sdio_func *func = ar_sdio->func; func 1417 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(func); func 1419 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_enable_func(func); func 1422 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 1426 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(func); func 1453 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(ar_sdio->func); func 1455 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_disable_func(ar_sdio->func); func 1458 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1462 drivers/net/wireless/ath/ath10k/sdio.c ret = mmc_hw_reset(ar_sdio->func->card->host); func 1466 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1699 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(ar_sdio->func); func 1702 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_claim_irq(ar_sdio->func, ath10k_sdio_irq_handler); func 1705 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1709 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1769 drivers/net/wireless/ath/ath10k/sdio.c sdio_claim_host(ar_sdio->func); func 1771 drivers/net/wireless/ath/ath10k/sdio.c ret = sdio_release_irq(ar_sdio->func); func 1775 drivers/net/wireless/ath/ath10k/sdio.c sdio_release_host(ar_sdio->func); func 1983 drivers/net/wireless/ath/ath10k/sdio.c static int ath10k_sdio_probe(struct sdio_func *func, func 2001 drivers/net/wireless/ath/ath10k/sdio.c ar = ath10k_core_create(sizeof(*ar_sdio), &func->dev, ATH10K_BUS_SDIO, func 2004 drivers/net/wireless/ath/ath10k/sdio.c dev_err(&func->dev, "failed to allocate core\n"); func 2010 drivers/net/wireless/ath/ath10k/sdio.c func->num, func->vendor, func->device, func 2011 drivers/net/wireless/ath/ath10k/sdio.c func->max_blksize, func->cur_blksize); func 2037 drivers/net/wireless/ath/ath10k/sdio.c ar_sdio->func = func; func 2038 drivers/net/wireless/ath/ath10k/sdio.c sdio_set_drvdata(func, ar_sdio); func 2102 drivers/net/wireless/ath/ath10k/sdio.c static void ath10k_sdio_remove(struct sdio_func *func) func 2104 drivers/net/wireless/ath/ath10k/sdio.c struct ath10k_sdio *ar_sdio = sdio_get_drvdata(func); func 2109 drivers/net/wireless/ath/ath10k/sdio.c func->num, func->vendor, func->device); func 179 drivers/net/wireless/ath/ath10k/sdio.h struct sdio_func *func; func 34 drivers/net/wireless/ath/ath6kl/sdio.c struct sdio_func *func; func 109 drivers/net/wireless/ath/ath6kl/sdio.c static inline void ath6kl_sdio_set_cmd53_arg(u32 *arg, u8 rw, u8 func, func 114 drivers/net/wireless/ath/ath6kl/sdio.c ((func & 0x7) << 28) | func 125 drivers/net/wireless/ath/ath6kl/sdio.c const u8 func = 0; func 128 drivers/net/wireless/ath/ath6kl/sdio.c ((func & 0x7) << 28) | func 150 drivers/net/wireless/ath/ath6kl/sdio.c static int ath6kl_sdio_io(struct sdio_func *func, u32 request, u32 addr, func 155 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(func); func 168 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_writesb(func, addr, buf, len); func 170 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_memcpy_toio(func, addr, buf, len); func 173 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_readsb(func, buf, addr, len); func 175 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_memcpy_fromio(func, buf, addr, len); func 178 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(func); func 277 drivers/net/wireless/ath/ath6kl/sdio.c status = ath6kl_sdio_io(ar_sdio->func, scat_req->req, func 304 drivers/net/wireless/ath/ath6kl/sdio.c ath6kl_sdio_set_cmd53_arg(&cmd.arg, rw, ar_sdio->func->num, func 314 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 316 drivers/net/wireless/ath/ath6kl/sdio.c mmc_set_data_timeout(&data, ar_sdio->func->card); func 325 drivers/net/wireless/ath/ath6kl/sdio.c mmc_wait_for_req(ar_sdio->func->card->host, &mmc_req); func 327 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 434 drivers/net/wireless/ath/ath6kl/sdio.c ret = ath6kl_sdio_io(ar_sdio->func, request, addr, tbuf, len); func 479 drivers/net/wireless/ath/ath6kl/sdio.c static void ath6kl_sdio_irq_handler(struct sdio_func *func) func 486 drivers/net/wireless/ath/ath6kl/sdio.c ar_sdio = sdio_get_drvdata(func); func 492 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 495 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 506 drivers/net/wireless/ath/ath6kl/sdio.c struct sdio_func *func = ar_sdio->func; func 514 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(func); func 516 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_enable_func(func); func 519 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(func); func 523 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(func); func 554 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 555 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_disable_func(ar_sdio->func); func 556 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 597 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 600 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_claim_irq(ar_sdio->func, ath6kl_sdio_irq_handler); func 604 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 619 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 622 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 629 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(ar_sdio->func); func 632 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_release_irq(ar_sdio->func); func 636 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(ar_sdio->func); func 744 drivers/net/wireless/ath/ath6kl/sdio.c if (ar_sdio->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { func 746 drivers/net/wireless/ath/ath6kl/sdio.c ar_sdio->func->card->host->max_segs, func 797 drivers/net/wireless/ath/ath6kl/sdio.c struct sdio_func *func = ar_sdio->func; func 800 drivers/net/wireless/ath/ath6kl/sdio.c sdio_claim_host(func); func 805 drivers/net/wireless/ath/ath6kl/sdio.c ret = ath6kl_sdio_func0_cmd52_wr_byte(func->card, func 818 drivers/net/wireless/ath/ath6kl/sdio.c func->enable_timeout = 100; func 820 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_set_block_size(func, HIF_MBOX_BLOCK_SIZE); func 828 drivers/net/wireless/ath/ath6kl/sdio.c sdio_release_host(func); func 836 drivers/net/wireless/ath/ath6kl/sdio.c struct sdio_func *func = ar_sdio->func; func 840 drivers/net/wireless/ath/ath6kl/sdio.c flags = sdio_get_host_pm_caps(func); func 848 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 855 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_WAKE_SDIO_IRQ); func 865 drivers/net/wireless/ath/ath6kl/sdio.c struct sdio_func *func = ar_sdio->func; func 893 drivers/net/wireless/ath/ath6kl/sdio.c flags = sdio_get_host_pm_caps(func); func 897 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 908 drivers/net/wireless/ath/ath6kl/sdio.c ret = sdio_set_host_pm_flags(func, func 923 drivers/net/wireless/ath/ath6kl/sdio.c if (func->card && func->card->host) func 924 drivers/net/wireless/ath/ath6kl/sdio.c func->card->host->pm_flags &= ~MMC_PM_KEEP_POWER; func 1307 drivers/net/wireless/ath/ath6kl/sdio.c static int ath6kl_sdio_probe(struct sdio_func *func, func 1317 drivers/net/wireless/ath/ath6kl/sdio.c func->num, func->vendor, func->device, func 1318 drivers/net/wireless/ath/ath6kl/sdio.c func->max_blksize, func->cur_blksize); func 1330 drivers/net/wireless/ath/ath6kl/sdio.c ar_sdio->func = func; func 1331 drivers/net/wireless/ath/ath6kl/sdio.c sdio_set_drvdata(func, ar_sdio); func 1352 drivers/net/wireless/ath/ath6kl/sdio.c ar = ath6kl_core_create(&ar_sdio->func->dev); func 1391 drivers/net/wireless/ath/ath6kl/sdio.c static void ath6kl_sdio_remove(struct sdio_func *func) func 1397 drivers/net/wireless/ath/ath6kl/sdio.c func->num, func->vendor, func->device); func 1399 drivers/net/wireless/ath/ath6kl/sdio.c ar_sdio = sdio_get_drvdata(func); func 4356 drivers/net/wireless/atmel/atmel.c .func Get_Whole_NVRAM, GET_WHOLE_NVRAM func 4368 drivers/net/wireless/atmel/atmel.c .func Get_MAC_Addr, GET_MAC_ADDR func 4380 drivers/net/wireless/atmel/atmel.c .func Delay9, DELAY9 func 4391 drivers/net/wireless/atmel/atmel.c .func SP_Init, SP_INIT func 4418 drivers/net/wireless/atmel/atmel.c .func NVRAM_Init, NVRAM_INIT func 4447 drivers/net/wireless/atmel/atmel.c .func NVRAM_Xfer, NVRAM_XFER func 4476 drivers/net/wireless/atmel/atmel.c .func NVRAM_Xfer2, NVRAM_XFER2 func 49 drivers/net/wireless/broadcom/b43/sdio.c static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) func 51 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); func 57 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 59 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 66 drivers/net/wireless/broadcom/b43/sdio.c struct sdio_func *func = bus->host_sdio; func 67 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); func 72 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 73 drivers/net/wireless/broadcom/b43/sdio.c err = sdio_claim_irq(func, b43_sdio_interrupt_dispatcher); func 74 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 82 drivers/net/wireless/broadcom/b43/sdio.c struct sdio_func *func = bus->host_sdio; func 83 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); func 85 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 86 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_irq(func); func 87 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 92 drivers/net/wireless/broadcom/b43/sdio.c static int b43_sdio_probe(struct sdio_func *func, func 101 drivers/net/wireless/broadcom/b43/sdio.c tuple = func->tuples; func 111 drivers/net/wireless/broadcom/b43/sdio.c dev_info(&func->dev, "Chip ID %04x:%04x\n", func 128 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 129 drivers/net/wireless/broadcom/b43/sdio.c error = sdio_set_block_size(func, B43_SDIO_BLOCK_SIZE); func 131 drivers/net/wireless/broadcom/b43/sdio.c dev_err(&func->dev, "failed to set block size to %u bytes," func 135 drivers/net/wireless/broadcom/b43/sdio.c error = sdio_enable_func(func); func 137 drivers/net/wireless/broadcom/b43/sdio.c dev_err(&func->dev, "failed to enable func, error %d\n", error); func 140 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 145 drivers/net/wireless/broadcom/b43/sdio.c dev_err(&func->dev, "failed to allocate ssb bus\n"); func 148 drivers/net/wireless/broadcom/b43/sdio.c error = ssb_bus_sdiobus_register(&sdio->ssb, func, func 151 drivers/net/wireless/broadcom/b43/sdio.c dev_err(&func->dev, "failed to register ssb sdio bus," func 155 drivers/net/wireless/broadcom/b43/sdio.c sdio_set_drvdata(func, sdio); func 162 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 163 drivers/net/wireless/broadcom/b43/sdio.c sdio_disable_func(func); func 165 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 170 drivers/net/wireless/broadcom/b43/sdio.c static void b43_sdio_remove(struct sdio_func *func) func 172 drivers/net/wireless/broadcom/b43/sdio.c struct b43_sdio *sdio = sdio_get_drvdata(func); func 175 drivers/net/wireless/broadcom/b43/sdio.c sdio_claim_host(func); func 176 drivers/net/wireless/broadcom/b43/sdio.c sdio_disable_func(func); func 177 drivers/net/wireless/broadcom/b43/sdio.c sdio_release_host(func); func 179 drivers/net/wireless/broadcom/b43/sdio.c sdio_set_drvdata(func, NULL); func 79 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c static void brcmf_sdiod_ib_irqhandler(struct sdio_func *func) func 81 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct brcmf_bus *bus_if = dev_get_drvdata(&func->dev); func 90 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c static void brcmf_sdiod_dummy_irqhandler(struct sdio_func *func) func 285 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func, u32 addr, func 295 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c switch (func->num) { func 297 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c err = sdio_memcpy_fromio(func, ((u8 *)(skb->data)), addr, func 301 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c err = sdio_readsb(func, ((u8 *)(skb->data)), addr, req_sz); func 305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c WARN(1, "invalid sdio function number: %d\n", func->num); func 316 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func, u32 addr, func 326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c err = sdio_memcpy_toio(func, addr, ((u8 *)(skb->data)), req_sz); func 338 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func, int write) func 347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num == 1) func 350 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mmc_set_data_timeout(md, func->card); func 351 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mmc_wait_for_req(func->card->host, mr); func 378 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func, func 404 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c req_sz = ALIGN(req_sz, func->cur_blksize); func 423 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c func_blk_sz = func->cur_blksize; func 437 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mmc_cmd.arg |= (func->num & 0x7) << 28; /* SDIO func num */ func 440 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c mmc_cmd.arg |= (func->num == 1) ? 1 << 26 : 0; func 467 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c &addr, sdiodev, func, write); func 479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c &addr, sdiodev, func, write); func 739 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func) func 744 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_sdiod_func0_wb(sdiodev, SDIO_CCCR_ABORT, func->num, NULL); func 752 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func; func 758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c func = sdiodev->func2; func 759 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c host = func->card->host; func 763 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c max_blocks * func->cur_blksize); func 991 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c static int brcmf_ops_sdio_probe(struct sdio_func *func, func 1000 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "Class=%x\n", func->class); func 1001 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor); func 1002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device); func 1003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "Function#: %d\n", func->num); func 1005 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c dev = &func->dev; func 1008 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c func->card->quirks |= MMC_QUIRK_LENIENT_FN0; func 1014 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num == 1) func 1018 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num != 2) func 1033 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev->func1 = func->card->sdio_func[0]; func 1034 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdiodev->func2 = func; func 1039 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c dev_set_drvdata(&func->dev, bus_if); func 1056 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c dev_set_drvdata(&func->dev, NULL); func 1063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c static void brcmf_ops_sdio_remove(struct sdio_func *func) func 1069 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "sdio vendor ID: 0x%04x\n", func->vendor); func 1070 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "sdio device ID: 0x%04x\n", func->device); func 1071 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "Function: %d\n", func->num); func 1073 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c bus_if = dev_get_drvdata(&func->dev); func 1080 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num != 1) func 1108 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func; func 1113 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c func = container_of(dev, struct sdio_func, dev); func 1114 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "Enter: F%d\n", func->num); func 1115 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num != 1) func 1141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c struct sdio_func *func = container_of(dev, struct sdio_func, dev); func 1143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c brcmf_dbg(SDIO, "Enter: F%d\n", func->num); func 1144 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (func->num != 2) func 344 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...) func 354 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c dev_err(bus->dev, "%s: %pV", func, &vaf); func 356 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c pr_err("%s: %pV", func, &vaf); func 363 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...) func 373 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c pr_debug("%s %pV", func, &vaf); func 374 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c trace_brcmf_dbg(level, func, &vaf); func 40 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...); func 69 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...); func 160 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h int func; func 345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.h int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func); func 15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c void __brcmf_err(struct brcmf_bus *bus, const char *func, const char *fmt, ...) func 25 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c dev_err(bus->dev, "%s: %pV", func, &vaf); func 27 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c pr_err("%s: %pV", func, &vaf); func 28 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c trace_brcmf_err(func, &vaf); func 32 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_PROTO(const char *func, struct va_format *vaf), func 33 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_ARGS(func, vaf), func 35 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __string(func, func) func 39 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __assign_str(func, func); func 44 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_printk("%s: %s", __get_str(func), __get_str(msg)) func 48 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_PROTO(u32 level, const char *func, struct va_format *vaf), func 49 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_ARGS(level, func, vaf), func 52 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __string(func, func) func 57 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h __assign_str(func, func); func 62 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h TP_printk("%s: %s", __get_str(func), __get_str(msg)) func 62 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h TP_PROTO(u32 level, const char *func, struct va_format *vaf), func 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h TP_ARGS(level, func, vaf), func 66 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h __string(func, func) func 71 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h __assign_str(func, func); func 76 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_msg.h TP_printk("%s: %s", __get_str(func), __get_str(msg)) func 234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c void __brcms_dbg(struct device *dev, u32 level, const char *func, func 246 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c dev_err(dev, "%s %pV", func, &vaf); func 248 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c trace_brcms_dbg(level, func, &vaf); func 38 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h void __brcms_dbg(struct device *dev, u32 level, const char *func, func 42 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h void __brcms_dbg(struct device *dev, u32 level, const char *func, func 20 drivers/net/wireless/intersil/hostap/hostap.h void (*func)(struct sk_buff *, int ok, void *), func 213 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c need_headroom = local->func->need_tx_headroom + hdr_len + encaps_len; func 535 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c if (local->func->tx == NULL || local->func->tx(skb, dev)) { func 147 drivers/net/wireless/intersil/hostap/hostap_ap.c if (local->func->set_tim) func 148 drivers/net/wireless/intersil/hostap/hostap_ap.c local->func->set_tim(local->dev, aid, set); func 396 drivers/net/wireless/intersil/hostap/hostap_download.c local->func->cor_sreset(local); func 398 drivers/net/wireless/intersil/hostap/hostap_download.c local->func->genesis_reset(local, hcr); func 430 drivers/net/wireless/intersil/hostap/hostap_download.c local->func->genesis_reset(local, ret == 16 ? 0x07 : 0x17); func 449 drivers/net/wireless/intersil/hostap/hostap_download.c if (!local->func->genesis_reset || !local->func->cor_sreset) { func 506 drivers/net/wireless/intersil/hostap/hostap_download.c local->func->genesis_reset(local, ram16 ? 0x07 : 0x17); func 608 drivers/net/wireless/intersil/hostap/hostap_download.c ret = local->func->get_rid(dev, HFA384X_RID_DOWNLOADBUFFER, func 687 drivers/net/wireless/intersil/hostap/hostap_download.c local->func->hw_reset(dev); func 255 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->func->card_present && !local->func->card_present(local)) func 808 drivers/net/wireless/intersil/hostap/hostap_hw.c if ((local->func->card_present && !local->func->card_present(local)) || func 886 drivers/net/wireless/intersil/hostap/hostap_hw.c if ((local->func->card_present && !local->func->card_present(local)) || func 1526 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->func->card_present && !local->func->card_present(local)) { func 1588 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->func->cor_sreset) { func 1596 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->cor_sreset(local); func 1815 drivers/net/wireless/intersil/hostap/hostap_hw.c if ((local->func->card_present && !local->func->card_present(local)) || func 2208 drivers/net/wireless/intersil/hostap/hostap_hw.c cb->func(skb, ok, cb->data); func 2479 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->func->card_present && !local->func->card_present(local)) func 2627 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->func->card_present && !local->func->card_present(local)) { func 3085 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func = funcs; func 3086 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->cmd = hfa384x_cmd; func 3087 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->read_regs = hfa384x_read_regs; func 3088 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->get_rid = hfa384x_get_rid; func 3089 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->set_rid = hfa384x_set_rid; func 3090 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->hw_enable = prism2_hw_enable; func 3091 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->hw_config = prism2_hw_config; func 3092 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->hw_reset = prism2_hw_reset; func 3093 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->hw_shutdown = prism2_hw_shutdown; func 3094 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->reset_port = prism2_reset_port; func 3095 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->schedule_reset = prism2_schedule_reset; func 3097 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->read_aux_fops = &prism2_download_aux_dump_proc_fops; func 3098 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->download = prism2_download; func 3100 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->tx = prism2_tx_80211; func 3101 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->set_tim = prism2_set_tim; func 3102 drivers/net/wireless/intersil/hostap/hostap_hw.c local->func->need_tx_headroom = 0; /* no need to add txdesc in func 3162 drivers/net/wireless/intersil/hostap/hostap_hw.c do { memset((q), 0, sizeof(*(q))); (q)->func = (f); (q)->data = (d); } \ func 228 drivers/net/wireless/intersil/hostap/hostap_info.c if (local->func->set_rid(dev, HFA384X_RID_JOINREQUEST, &req, func 427 drivers/net/wireless/intersil/hostap/hostap_info.c if (local->func->get_rid(local->dev, HFA384X_RID_CURRENTBSSID, func 88 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = local->func->get_rid(dev, HFA384X_RID_SUPPORTEDDATARATES, buf, func 218 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->iw_mode != IW_MODE_INFRA && local->func->reset_port(dev)) { func 270 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CNFWEPFLAGS, &val, 2, 1) < 0) func 317 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)); func 405 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_TXRATECONTROL, &val, 2, 1) < func 424 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CURRENTTXRATE, &val, 2, 1) < func 467 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 485 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CNFSYSTEMSCALE, &val, 2, 1) < func 556 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_RTSTHRESHOLD, &val, 2) || func 557 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 576 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_RTSTHRESHOLD, &val, 2, 1) < func 607 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_FRAGMENTATIONTHRESHOLD, &val, func 609 drivers/net/wireless/intersil/hostap/hostap_ioctl.c || local->func->reset_port(dev)) func 626 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_FRAGMENTATIONTHRESHOLD, func 666 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_JOINREQUEST, &req, func 701 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_SCANREQUEST, func 743 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CURRENTBSSID, func 772 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 791 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = local->func->get_rid(dev, HFA384X_RID_CNFOWNNAME, func 836 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 853 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CURRENTCHANNEL, &val, 2, 1) < func 916 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 944 drivers/net/wireless/intersil/hostap/hostap_ioctl.c len = local->func->get_rid(dev, HFA384X_RID_CURRENTSSID, func 1103 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->reset_port(dev) || func 1104 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->cmd(dev, HFA384X_CMDCODE_TEST | func 1125 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_TEST | func 1193 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->reset_port(dev)) func 1195 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (double_reset && local->func->reset_port(dev)) func 1307 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CNFPMENABLED, &enable, 2, 1) func 1320 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, func 1329 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CNFMAXSLEEPDURATION, func 1337 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_CNFMULTICASTRECEIVE, &mcast, func 1423 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, HFA384X_RID_SHORTRETRYLIMIT, &shortretry, func 1425 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->get_rid(dev, HFA384X_RID_LONGRETRYLIMIT, &longretry, func 1427 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->get_rid(dev, HFA384X_RID_MAXTRANSMITLIFETIME, func 1439 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->get_rid(dev, func 1524 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF, func 1536 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF, func 1547 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->cmd(dev, HFA384X_CMDCODE_TEST | func 1556 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->cmd(dev, HFA384X_CMDCODE_TEST | func 1576 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF, func 1604 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_READMIF, func 1655 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_HOSTSCAN, &scan_req, func 1692 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_SCANREQUEST, &scan_req, func 2309 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_INQUIRE, *i, NULL, NULL)) func 2338 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2366 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->reset_port(dev)) func 2375 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->cmd(dev, HFA384X_CMDCODE_TEST | func 2413 drivers/net/wireless/intersil/hostap/hostap_ioctl.c || local->func->reset_port(dev)) func 2451 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2458 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2469 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (hostap_set_roaming(local) || local->func->reset_port(dev)) func 2537 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2542 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->set_rid(dev, HFA384X_RID_HOSTSCAN, &scan_req, func 2560 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2586 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) { func 2610 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2640 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 2865 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_READMIF, *extra, NULL, func 2888 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF, cr, &val, NULL)) func 2953 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->hw_shutdown(dev, 1); func 2954 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->hw_config(dev, 0); func 2959 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->hw_reset(dev); func 2964 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev); func 2969 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_DISABLE, 0, NULL, func 2975 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (local->func->cmd(dev, HFA384X_CMDCODE_ENABLE, 0, NULL, func 3056 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ret = local->func->download(local, param); func 3087 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return local->func->set_rid(local->dev, HFA384X_RID_GENERICELEMENT, func 3130 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 3142 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(dev)) func 3364 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(local->dev)))) func 3566 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local->func->reset_port(local->dev)))) { func 3642 drivers/net/wireless/intersil/hostap/hostap_ioctl.c res = local->func->get_rid(local->dev, param->u.rid.rid, func 3663 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return local->func->set_rid(local->dev, param->u.rid.rid, func 235 drivers/net/wireless/intersil/hostap/hostap_main.c void (*func)(struct sk_buff *, int ok, void *), func 245 drivers/net/wireless/intersil/hostap/hostap_main.c entry->func = func; func 288 drivers/net/wireless/intersil/hostap/hostap_main.c return iface->local->func->set_rid(dev, rid, &tmp, 2); func 306 drivers/net/wireless/intersil/hostap/hostap_main.c return iface->local->func->set_rid(dev, rid, &buf, MAX_SSID_LEN + 2); func 342 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->get_rid(local->dev, HFA384X_RID_CNFWEPFLAGS, &val, 2, func 397 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->set_rid(local->dev, func 424 drivers/net/wireless/intersil/hostap/hostap_main.c local->func->cmd(local->dev, HFA384X_CMDCODE_READMIF, func 439 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->cmd(local->dev, HFA384X_CMDCODE_WRITEMIF, func 448 drivers/net/wireless/intersil/hostap/hostap_main.c local->func->cmd(local->dev, HFA384X_CMDCODE_READMIF, func 463 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->cmd(local->dev, HFA384X_CMDCODE_WRITEMIF, func 613 drivers/net/wireless/intersil/hostap/hostap_main.c (!local->func->card_present || local->func->card_present(local)) && func 619 drivers/net/wireless/intersil/hostap/hostap_main.c local->func->hw_shutdown(dev, HOSTAP_HW_ENABLE_CMDCOMPL); func 667 drivers/net/wireless/intersil/hostap/hostap_main.c if ((local->func->card_present && !local->func->card_present(local)) || func 675 drivers/net/wireless/intersil/hostap/hostap_main.c if (!local->dev_enabled && local->func->hw_enable(dev, 1)) { func 709 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->set_rid(dev, HFA384X_RID_CNFOWNMACADDR, addr->sa_data, func 710 drivers/net/wireless/intersil/hostap/hostap_main.c ETH_ALEN) < 0 || local->func->reset_port(dev)) func 776 drivers/net/wireless/intersil/hostap/hostap_main.c local->func->read_regs(dev, ®s); func 782 drivers/net/wireless/intersil/hostap/hostap_main.c local->func->schedule_reset(local); func 1000 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->get_rid(local->dev, func 1010 drivers/net/wireless/intersil/hostap/hostap_main.c if (local->func->get_rid(local->dev, HFA384X_RID_COMMSQUALITY, func 39 drivers/net/wireless/intersil/hostap/hostap_proc.c seq_printf(m, "pci=%d\n", local->func->hw_type == HOSTAP_HW_PCI); func 384 drivers/net/wireless/intersil/hostap/hostap_proc.c local->func->read_aux_fops ?: &prism2_aux_dump_proc_fops, func 529 drivers/net/wireless/intersil/hostap/hostap_wlan.h void (*func)(struct sk_buff *, int ok, void *); func 794 drivers/net/wireless/intersil/hostap/hostap_wlan.h struct prism2_helper_functions *func; func 47 drivers/net/wireless/marvell/libertas/if_sdio.c static void if_sdio_interrupt(struct sdio_func *func); func 110 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func; func 148 drivers/net/wireless/marvell/libertas/if_sdio.c scratch = sdio_readb(card->func, card->scratch_reg, &ret); func 150 drivers/net/wireless/marvell/libertas/if_sdio.c scratch |= sdio_readb(card->func, card->scratch_reg + 1, func 167 drivers/net/wireless/marvell/libertas/if_sdio.c rx_unit = sdio_readb(card->func, IF_SDIO_RX_UNIT, &ret); func 187 drivers/net/wireless/marvell/libertas/if_sdio.c rx_len = sdio_readb(card->func, IF_SDIO_RX_LEN, &ret); func 271 drivers/net/wireless/marvell/libertas/if_sdio.c event = sdio_readb(card->func, IF_SDIO_EVENT, &ret); func 305 drivers/net/wireless/marvell/libertas/if_sdio.c status = sdio_readb(card->func, IF_SDIO_STATUS, &ret); func 342 drivers/net/wireless/marvell/libertas/if_sdio.c chunk = sdio_align_size(card->func, size); func 344 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk); func 415 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 419 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_writesb(card->func, card->ioport, func 426 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 454 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 456 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_set_block_size(card->func, 32); func 480 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_writesb(card->func, card->ioport, func 491 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_writesb(card->func, card->ioport, chunk_buffer, 64); func 502 drivers/net/wireless/marvell/libertas/if_sdio.c req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, &ret); func 506 drivers/net/wireless/marvell/libertas/if_sdio.c req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, &ret) << 8; func 524 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 550 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 552 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_set_block_size(card->func, 32); func 566 drivers/net/wireless/marvell/libertas/if_sdio.c req_size = sdio_readb(card->func, IF_SDIO_RD_BASE, func 571 drivers/net/wireless/marvell/libertas/if_sdio.c req_size |= sdio_readb(card->func, IF_SDIO_RD_BASE + 1, func 618 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_writesb(card->func, card->ioport, func 656 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 699 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 700 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_writeb(card->func, 0x00, IF_SDIO_H_INT_MASK, &ret); func 701 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 703 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 705 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 734 drivers/net/wireless/marvell/libertas/if_sdio.c ret = lbs_get_firmware_async(card->priv, &card->func->dev, card->model, func 748 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func = card->func; func 752 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(func); func 753 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_set_block_size(card->func, IF_SDIO_BLOCK_SIZE); func 776 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_claim_irq(func, if_sdio_interrupt); func 783 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_writeb(func, 0x0f, IF_SDIO_H_INT_MASK, &ret); func 787 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(func); func 817 drivers/net/wireless/marvell/libertas/if_sdio.c pm_runtime_put(&func->dev); func 824 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_irq(func); func 826 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(func); func 831 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func = card->func; func 832 drivers/net/wireless/marvell/libertas/if_sdio.c struct mmc_host *host = func->card->host; func 835 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(func); func 837 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_enable_func(func); func 849 drivers/net/wireless/marvell/libertas/if_sdio.c func->card->quirks |= MMC_QUIRK_LENIENT_FN0; func 850 drivers/net/wireless/marvell/libertas/if_sdio.c reg = sdio_f0_readb(func, SDIO_CCCR_IF, &ret); func 855 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_f0_writeb(func, reg, SDIO_CCCR_IF, &ret); func 860 drivers/net/wireless/marvell/libertas/if_sdio.c card->ioport = sdio_readb(func, IF_SDIO_IOPORT, &ret); func 864 drivers/net/wireless/marvell/libertas/if_sdio.c card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 1, &ret) << 8; func 868 drivers/net/wireless/marvell/libertas/if_sdio.c card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 2, &ret) << 16; func 872 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(func); func 875 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(func); func 882 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_disable_func(func); func 884 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(func); func 890 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func = card->func; func 895 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(func); func 896 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_irq(func); func 897 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_disable_func(func); func 898 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(func); func 928 drivers/net/wireless/marvell/libertas/if_sdio.c size = sdio_align_size(card->func, nb + 4); func 1004 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 1006 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_writeb(card->func, HOST_POWER_UP, CONFIGURATION_REG, &ret); func 1010 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 1020 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_claim_host(card->func); func 1022 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_writeb(card->func, 0, CONFIGURATION_REG, &ret); func 1026 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_release_host(card->func); func 1059 drivers/net/wireless/marvell/libertas/if_sdio.c reset_host = card->func->card->host; func 1073 drivers/net/wireless/marvell/libertas/if_sdio.c pm_runtime_put_sync(&card->func->dev); func 1084 drivers/net/wireless/marvell/libertas/if_sdio.c pm_runtime_get_sync(&card->func->dev); func 1099 drivers/net/wireless/marvell/libertas/if_sdio.c static void if_sdio_interrupt(struct sdio_func *func) func 1105 drivers/net/wireless/marvell/libertas/if_sdio.c card = sdio_get_drvdata(func); func 1107 drivers/net/wireless/marvell/libertas/if_sdio.c cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); func 1113 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); func 1133 drivers/net/wireless/marvell/libertas/if_sdio.c static int if_sdio_probe(struct sdio_func *func, func 1142 drivers/net/wireless/marvell/libertas/if_sdio.c for (i = 0;i < func->card->num_info;i++) { func 1143 drivers/net/wireless/marvell/libertas/if_sdio.c if (sscanf(func->card->info[i], func 1146 drivers/net/wireless/marvell/libertas/if_sdio.c if (sscanf(func->card->info[i], func 1149 drivers/net/wireless/marvell/libertas/if_sdio.c if (!strcmp(func->card->info[i], "IBIS Wireless SDIO Card")) { func 1155 drivers/net/wireless/marvell/libertas/if_sdio.c if (i == func->card->num_info) { func 1164 drivers/net/wireless/marvell/libertas/if_sdio.c card->func = func; func 1200 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_set_drvdata(func, card); func 1204 drivers/net/wireless/marvell/libertas/if_sdio.c func->class, func->vendor, func->device, func 1208 drivers/net/wireless/marvell/libertas/if_sdio.c priv = lbs_add_card(card, &func->dev); func 1224 drivers/net/wireless/marvell/libertas/if_sdio.c priv->is_polling = !(func->card->host->caps & MMC_CAP_SDIO_IRQ); func 1249 drivers/net/wireless/marvell/libertas/if_sdio.c static void if_sdio_remove(struct sdio_func *func) func 1254 drivers/net/wireless/marvell/libertas/if_sdio.c card = sdio_get_drvdata(func); func 1257 drivers/net/wireless/marvell/libertas/if_sdio.c pm_runtime_get_noresume(&func->dev); func 1293 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1294 drivers/net/wireless/marvell/libertas/if_sdio.c struct if_sdio_card *card = sdio_get_drvdata(func); func 1298 drivers/net/wireless/marvell/libertas/if_sdio.c mmc_pm_flag_t flags = sdio_get_host_pm_caps(func); func 1313 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_func_id(func), flags); func 1334 drivers/net/wireless/marvell/libertas/if_sdio.c sdio_func_id(func)); func 1338 drivers/net/wireless/marvell/libertas/if_sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 1346 drivers/net/wireless/marvell/libertas/if_sdio.c return sdio_set_host_pm_flags(func, MMC_PM_WAKE_SDIO_IRQ); func 1351 drivers/net/wireless/marvell/libertas/if_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1352 drivers/net/wireless/marvell/libertas/if_sdio.c struct if_sdio_card *card = sdio_get_drvdata(func); func 1355 drivers/net/wireless/marvell/libertas/if_sdio.c dev_info(dev, "%s: resume: we're back\n", sdio_func_id(func)); func 80 drivers/net/wireless/marvell/mwifiex/scan.c _dbg_security_flags(int log_level, const char *func, const char *desc, func 86 drivers/net/wireless/marvell/mwifiex/scan.c func, desc, func 90 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) func 96 drivers/net/wireless/marvell/mwifiex/sdio.c func->vendor, func->device, func->class, func->num); func 98 drivers/net/wireless/marvell/mwifiex/sdio.c card = devm_kzalloc(&func->dev, sizeof(*card), GFP_KERNEL); func 104 drivers/net/wireless/marvell/mwifiex/sdio.c card->func = func; func 106 drivers/net/wireless/marvell/mwifiex/sdio.c func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; func 127 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 128 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_enable_func(func); func 129 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 132 drivers/net/wireless/marvell/mwifiex/sdio.c dev_err(&func->dev, "failed to enable function\n"); func 137 drivers/net/wireless/marvell/mwifiex/sdio.c if (func->dev.of_node) { func 138 drivers/net/wireless/marvell/mwifiex/sdio.c ret = mwifiex_sdio_probe_of(&func->dev); func 144 drivers/net/wireless/marvell/mwifiex/sdio.c MWIFIEX_SDIO, &func->dev); func 146 drivers/net/wireless/marvell/mwifiex/sdio.c dev_err(&func->dev, "add card failed\n"); func 153 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 154 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_disable_func(func); func 155 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 172 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 176 drivers/net/wireless/marvell/mwifiex/sdio.c card = sdio_get_drvdata(func); func 203 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_write_reg_locked(struct sdio_func *func, u32 reg, u8 data) func 207 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_writeb(func, data, reg, &ret); func 219 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 220 drivers/net/wireless/marvell/mwifiex/sdio.c ret = mwifiex_write_reg_locked(card->func, reg, data); func 221 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 235 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 236 drivers/net/wireless/marvell/mwifiex/sdio.c val = sdio_readb(card->func, reg, &ret); func 237 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 269 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 271 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); func 273 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 293 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 295 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); func 298 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 372 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_sdio_remove(struct sdio_func *func) func 380 drivers/net/wireless/marvell/mwifiex/sdio.c card = sdio_get_drvdata(func); func 390 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_dbg(adapter, INFO, "info: SDIO func num=%d\n", func->num); func 417 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 423 drivers/net/wireless/marvell/mwifiex/sdio.c pm_flag = sdio_get_host_pm_caps(func); func 425 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_func_id(func), pm_flag); func 428 drivers/net/wireless/marvell/mwifiex/sdio.c " suspended\n", sdio_func_id(func)); func 432 drivers/net/wireless/marvell/mwifiex/sdio.c card = sdio_get_drvdata(func); func 463 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 474 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 477 drivers/net/wireless/marvell/mwifiex/sdio.c card = sdio_get_drvdata(func); func 578 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 580 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 839 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = card->func; func 841 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 842 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_write_reg_locked(func, card->reg->host_int_mask_reg, 0); func 843 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_irq(func); func 844 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 887 drivers/net/wireless/marvell/mwifiex/sdio.c mwifiex_sdio_interrupt(struct sdio_func *func) func 892 drivers/net/wireless/marvell/mwifiex/sdio.c card = sdio_get_drvdata(func); func 895 drivers/net/wireless/marvell/mwifiex/sdio.c func, card, card ? card->adapter : NULL); func 916 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = card->func; func 919 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 922 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_claim_irq(func, mwifiex_sdio_interrupt); func 930 drivers/net/wireless/marvell/mwifiex/sdio.c ret = mwifiex_write_reg_locked(func, card->reg->host_int_mask_reg, func 935 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_irq(func); func 939 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 1018 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 1129 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 2017 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 2018 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_disable_func(card->func); func 2019 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 2032 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = card->func; func 2038 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 2041 drivers/net/wireless/marvell/mwifiex/sdio.c ret = sdio_set_block_size(card->func, MWIFIEX_SDIO_BLOCK_SIZE); func 2042 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 2080 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_set_drvdata(card->func, card); func 2223 drivers/net/wireless/marvell/mwifiex/sdio.c struct sdio_func *func = card->func; func 2232 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(func); func 2233 drivers/net/wireless/marvell/mwifiex/sdio.c ret = mmc_hw_reset(func->card->host); func 2234 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(func); func 2238 drivers/net/wireless/marvell/mwifiex/sdio.c dev_dbg(&func->dev, "SDIO HW reset asynchronous\n"); func 2244 drivers/net/wireless/marvell/mwifiex/sdio.c dev_err(&func->dev, "reinit failed: %d\n", ret); func 2247 drivers/net/wireless/marvell/mwifiex/sdio.c dev_err(&func->dev, "SDIO HW reset failed: %d\n", ret); func 2261 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_writeb(card->func, card->reg->fw_dump_host_ready, func 2268 drivers/net/wireless/marvell/mwifiex/sdio.c ctrl_data = sdio_readb(card->func, card->reg->fw_dump_ctrl, func 2281 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_writeb(card->func, card->reg->fw_dump_host_ready, func 2323 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 2333 drivers/net/wireless/marvell/mwifiex/sdio.c dump_num = sdio_readb(card->func, reg, &ret); func 2350 drivers/net/wireless/marvell/mwifiex/sdio.c read_reg = sdio_readb(card->func, reg, &ret); func 2396 drivers/net/wireless/marvell/mwifiex/sdio.c *dbg_ptr = sdio_readb(card->func, reg, &ret); func 2420 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 2443 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 2455 drivers/net/wireless/marvell/mwifiex/sdio.c start_flag = sdio_readb(card->func, reg, &ret); func 2491 drivers/net/wireless/marvell/mwifiex/sdio.c *dbg_ptr = sdio_readb(card->func, reg, &ret); func 2534 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 2598 drivers/net/wireless/marvell/mwifiex/sdio.c u8 count, func, data, index = 0, size = 0; func 2609 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(cardp->func); func 2618 drivers/net/wireless/marvell/mwifiex/sdio.c func = count; func 2624 drivers/net/wireless/marvell/mwifiex/sdio.c func = count; func 2630 drivers/net/wireless/marvell/mwifiex/sdio.c func = 1; func 2639 drivers/net/wireless/marvell/mwifiex/sdio.c func = 1; func 2646 drivers/net/wireless/marvell/mwifiex/sdio.c func, reg_start, reg_end); func 2648 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "SDIO Func%d: ", func); func 2651 drivers/net/wireless/marvell/mwifiex/sdio.c if (func == 0) func 2652 drivers/net/wireless/marvell/mwifiex/sdio.c data = sdio_f0_readb(cardp->func, reg, &ret); func 2654 drivers/net/wireless/marvell/mwifiex/sdio.c data = sdio_readb(cardp->func, reg, &ret); func 2675 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(cardp->func); func 2690 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_claim_host(card->func); func 2691 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_enable_func(card->func); func 2692 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_set_block_size(card->func, MWIFIEX_SDIO_BLOCK_SIZE); func 2693 drivers/net/wireless/marvell/mwifiex/sdio.c sdio_release_host(card->func); func 241 drivers/net/wireless/marvell/mwifiex/sdio.h struct sdio_func *func; func 74 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func, func 81 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c .id = cpu_to_le32(func), func 86 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c if (func != Q_SELECT) func 98 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_function_select(struct mt76x02_dev *dev, enum mcu_function func, func 154 drivers/net/wireless/mediatek/mt7601u/mcu.c enum mcu_function func, u32 val) func 161 drivers/net/wireless/mediatek/mt7601u/mcu.c .id = cpu_to_le32(func), func 168 drivers/net/wireless/mediatek/mt7601u/mcu.c return mt7601u_mcu_msg_send(dev, skb, CMD_FUN_SET_OP, func == 5); func 313 drivers/net/wireless/realtek/rtlwifi/usb.c rtlusb->rx_work_tasklet.func = _rtl_rx_work; func 2584 drivers/net/wireless/realtek/rtw88/rtw8822c.c u8 (*func)(struct rtw_dev *rtwdev, struct rtw8822c_dpk_data *data); func 2592 drivers/net/wireless/realtek/rtw88/rtw8822c.c func = dpk_state[state]; func 2593 drivers/net/wireless/realtek/rtw88/rtw8822c.c state = func(rtwdev, &data); func 43 drivers/net/wireless/rsi/rsi_91x_sdio.c u8 func, func 48 drivers/net/wireless/rsi/rsi_91x_sdio.c return ((rw & 1) << 31) | ((func & 0x7) << 28) | func 116 drivers/net/wireless/rsi/rsi_91x_sdio.c static int rsi_issue_sdiocommand(struct sdio_func *func, func 126 drivers/net/wireless/rsi/rsi_91x_sdio.c host = func->card->host; func 1268 drivers/net/wireless/rsi/rsi_91x_sdio.c struct sdio_func *func = dev->pfunction; func 1271 drivers/net/wireless/rsi/rsi_91x_sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 46 drivers/net/wireless/st/cw1200/cw1200_sdio.c struct sdio_func *func; func 70 drivers/net/wireless/st/cw1200/cw1200_sdio.c return sdio_memcpy_fromio(self->func, dst, addr, count); func 77 drivers/net/wireless/st/cw1200/cw1200_sdio.c return sdio_memcpy_toio(self->func, addr, (void *)src, count); func 82 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(self->func); func 87 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(self->func); func 90 drivers/net/wireless/st/cw1200/cw1200_sdio.c static void cw1200_sdio_irq_handler(struct sdio_func *func) func 92 drivers/net/wireless/st/cw1200/cw1200_sdio.c struct hwbus_priv *self = sdio_get_drvdata(func); func 123 drivers/net/wireless/st/cw1200/cw1200_sdio.c cccr = sdio_f0_readb(self->func, SDIO_CCCR_IENx, &ret); func 131 drivers/net/wireless/st/cw1200/cw1200_sdio.c cccr |= BIT(self->func->num); func 133 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_f0_writeb(self->func, cccr, SDIO_CCCR_IENx, &ret); func 160 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(self->func); func 164 drivers/net/wireless/st/cw1200/cw1200_sdio.c ret = sdio_claim_irq(self->func, cw1200_sdio_irq_handler); func 166 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(self->func); func 180 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(self->func); func 181 drivers/net/wireless/st/cw1200/cw1200_sdio.c ret = sdio_release_irq(self->func); func 182 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(self->func); func 252 drivers/net/wireless/st/cw1200/cw1200_sdio.c size = sdio_align_size(self->func, size); func 276 drivers/net/wireless/st/cw1200/cw1200_sdio.c static int cw1200_sdio_probe(struct sdio_func *func, func 285 drivers/net/wireless/st/cw1200/cw1200_sdio.c if (func->num != 0x01) func 294 drivers/net/wireless/st/cw1200/cw1200_sdio.c func->card->quirks |= MMC_QUIRK_LENIENT_FN0; func 297 drivers/net/wireless/st/cw1200/cw1200_sdio.c self->func = func; func 298 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_set_drvdata(func, self); func 299 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(func); func 300 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_enable_func(func); func 301 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(func); func 306 drivers/net/wireless/st/cw1200/cw1200_sdio.c self, &func->dev, &self->core, func 313 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(func); func 314 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_disable_func(func); func 315 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(func); func 316 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_set_drvdata(func, NULL); func 326 drivers/net/wireless/st/cw1200/cw1200_sdio.c static void cw1200_sdio_disconnect(struct sdio_func *func) func 328 drivers/net/wireless/st/cw1200/cw1200_sdio.c struct hwbus_priv *self = sdio_get_drvdata(func); func 336 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_claim_host(func); func 337 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_disable_func(func); func 338 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_release_host(func); func 339 drivers/net/wireless/st/cw1200/cw1200_sdio.c sdio_set_drvdata(func, NULL); func 348 drivers/net/wireless/st/cw1200/cw1200_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 349 drivers/net/wireless/st/cw1200/cw1200_sdio.c struct hwbus_priv *self = sdio_get_drvdata(func); func 355 drivers/net/wireless/st/cw1200/cw1200_sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 36 drivers/net/wireless/st/cw1200/cw1200_spi.c struct spi_device *func; func 89 drivers/net/wireless/st/cw1200/cw1200_spi.c if (self->func->bits_per_word == 8) func 96 drivers/net/wireless/st/cw1200/cw1200_spi.c ret = spi_sync(self->func, &m); func 112 drivers/net/wireless/st/cw1200/cw1200_spi.c if (self->func->bits_per_word == 8) func 154 drivers/net/wireless/st/cw1200/cw1200_spi.c if (self->func->bits_per_word == 8) func 176 drivers/net/wireless/st/cw1200/cw1200_spi.c rval = spi_sync(self->func, &m); func 184 drivers/net/wireless/st/cw1200/cw1200_spi.c if (self->func->bits_per_word == 8) func 252 drivers/net/wireless/st/cw1200/cw1200_spi.c ret = request_threaded_irq(self->func->irq, NULL, func 259 drivers/net/wireless/st/cw1200/cw1200_spi.c ret = enable_irq_wake(self->func->irq); func 266 drivers/net/wireless/st/cw1200/cw1200_spi.c free_irq(self->func->irq, self); func 276 drivers/net/wireless/st/cw1200/cw1200_spi.c disable_irq_wake(self->func->irq); func 277 drivers/net/wireless/st/cw1200/cw1200_spi.c free_irq(self->func->irq, self); func 349 drivers/net/wireless/st/cw1200/cw1200_spi.c return irq_set_irq_wake(self->func->irq, suspend); func 362 drivers/net/wireless/st/cw1200/cw1200_spi.c static int cw1200_spi_probe(struct spi_device *func) func 365 drivers/net/wireless/st/cw1200/cw1200_spi.c dev_get_platdata(&func->dev); func 370 drivers/net/wireless/st/cw1200/cw1200_spi.c if (func->max_speed_hz > 52000000) func 371 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz = 52000000; func 372 drivers/net/wireless/st/cw1200/cw1200_spi.c if (func->max_speed_hz < 1000000) func 373 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz = 1000000; func 377 drivers/net/wireless/st/cw1200/cw1200_spi.c func->bits_per_word = plat_data->spi_bits_per_word; func 378 drivers/net/wireless/st/cw1200/cw1200_spi.c if (!func->bits_per_word) func 379 drivers/net/wireless/st/cw1200/cw1200_spi.c func->bits_per_word = 16; func 382 drivers/net/wireless/st/cw1200/cw1200_spi.c func->mode = SPI_MODE_0; func 385 drivers/net/wireless/st/cw1200/cw1200_spi.c func->chip_select, func->mode, func->bits_per_word, func 386 drivers/net/wireless/st/cw1200/cw1200_spi.c func->max_speed_hz); func 393 drivers/net/wireless/st/cw1200/cw1200_spi.c if (spi_setup(func)) { func 398 drivers/net/wireless/st/cw1200/cw1200_spi.c self = devm_kzalloc(&func->dev, sizeof(*self), GFP_KERNEL); func 405 drivers/net/wireless/st/cw1200/cw1200_spi.c self->func = func; func 408 drivers/net/wireless/st/cw1200/cw1200_spi.c spi_set_drvdata(func, self); func 415 drivers/net/wireless/st/cw1200/cw1200_spi.c self, &func->dev, &self->core, func 430 drivers/net/wireless/st/cw1200/cw1200_spi.c static int cw1200_spi_disconnect(struct spi_device *func) func 432 drivers/net/wireless/st/cw1200/cw1200_spi.c struct hwbus_priv *self = spi_get_drvdata(func); func 441 drivers/net/wireless/st/cw1200/cw1200_spi.c cw1200_spi_off(dev_get_platdata(&func->dev)); func 31 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func; func 38 drivers/net/wireless/ti/wl1251/sdio.c return wl_sdio->func; func 41 drivers/net/wireless/ti/wl1251/sdio.c static void wl1251_sdio_interrupt(struct sdio_func *func) func 43 drivers/net/wireless/ti/wl1251/sdio.c struct wl1251 *wl = sdio_get_drvdata(func); func 62 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_to_func(wl); func 64 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 65 drivers/net/wireless/ti/wl1251/sdio.c ret = sdio_memcpy_fromio(func, buf, addr, len); func 68 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 75 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_to_func(wl); func 77 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 78 drivers/net/wireless/ti/wl1251/sdio.c ret = sdio_memcpy_toio(func, addr, buf, len); func 81 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 88 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_sdio->func; func 96 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 97 drivers/net/wireless/ti/wl1251/sdio.c *val = sdio_writeb_readb(func, wl_sdio->elp_val, addr, &ret); func 98 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 108 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_sdio->func; func 110 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 111 drivers/net/wireless/ti/wl1251/sdio.c sdio_writeb(func, val, addr, &ret); func 112 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 126 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_to_func(wl); func 128 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 129 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_irq(func, wl1251_sdio_interrupt); func 130 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 135 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_to_func(wl); func 137 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 138 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_irq(func); func 139 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 164 drivers/net/wireless/ti/wl1251/sdio.c struct sdio_func *func = wl_to_func(wl); func 177 drivers/net/wireless/ti/wl1251/sdio.c ret = pm_runtime_get_sync(&func->dev); func 179 drivers/net/wireless/ti/wl1251/sdio.c pm_runtime_put_sync(&func->dev); func 183 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 184 drivers/net/wireless/ti/wl1251/sdio.c sdio_enable_func(func); func 185 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 187 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 188 drivers/net/wireless/ti/wl1251/sdio.c sdio_disable_func(func); func 189 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 191 drivers/net/wireless/ti/wl1251/sdio.c ret = pm_runtime_put_sync(&func->dev); func 212 drivers/net/wireless/ti/wl1251/sdio.c static int wl1251_sdio_probe(struct sdio_func *func, func 233 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 234 drivers/net/wireless/ti/wl1251/sdio.c ret = sdio_enable_func(func); func 238 drivers/net/wireless/ti/wl1251/sdio.c sdio_set_block_size(func, 512); func 239 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 241 drivers/net/wireless/ti/wl1251/sdio.c SET_IEEE80211_DEV(hw, &func->dev); func 242 drivers/net/wireless/ti/wl1251/sdio.c wl_sdio->func = func; func 254 drivers/net/wireless/ti/wl1251/sdio.c ret = devm_gpio_request(&func->dev, wl->power_gpio, func 287 drivers/net/wireless/ti/wl1251/sdio.c sdio_set_drvdata(func, wl); func 290 drivers/net/wireless/ti/wl1251/sdio.c pm_runtime_put_noidle(&func->dev); func 298 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 299 drivers/net/wireless/ti/wl1251/sdio.c sdio_disable_func(func); func 301 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 308 drivers/net/wireless/ti/wl1251/sdio.c static void wl1251_sdio_remove(struct sdio_func *func) func 310 drivers/net/wireless/ti/wl1251/sdio.c struct wl1251 *wl = sdio_get_drvdata(func); func 314 drivers/net/wireless/ti/wl1251/sdio.c pm_runtime_get_noresume(&func->dev); func 321 drivers/net/wireless/ti/wl1251/sdio.c sdio_claim_host(func); func 322 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_irq(func); func 323 drivers/net/wireless/ti/wl1251/sdio.c sdio_disable_func(func); func 324 drivers/net/wireless/ti/wl1251/sdio.c sdio_release_host(func); func 54 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(glue->dev); func 56 drivers/net/wireless/ti/wlcore/sdio.c sdio_claim_host(func); func 57 drivers/net/wireless/ti/wlcore/sdio.c sdio_set_block_size(func, blksz); func 58 drivers/net/wireless/ti/wlcore/sdio.c sdio_release_host(func); func 66 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(glue->dev); func 68 drivers/net/wireless/ti/wlcore/sdio.c sdio_claim_host(func); func 71 drivers/net/wireless/ti/wlcore/sdio.c ((u8 *)buf)[0] = sdio_f0_readb(func, addr, &ret); func 76 drivers/net/wireless/ti/wlcore/sdio.c ret = sdio_readsb(func, buf, addr, len); func 78 drivers/net/wireless/ti/wlcore/sdio.c ret = sdio_memcpy_fromio(func, buf, addr, len); func 84 drivers/net/wireless/ti/wlcore/sdio.c sdio_release_host(func); func 104 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(glue->dev); func 106 drivers/net/wireless/ti/wlcore/sdio.c sdio_claim_host(func); func 116 drivers/net/wireless/ti/wlcore/sdio.c sdio_f0_writeb(func, ((u8 *)buf)[0], addr, &ret); func 124 drivers/net/wireless/ti/wlcore/sdio.c ret = sdio_writesb(func, addr, buf, len); func 126 drivers/net/wireless/ti/wlcore/sdio.c ret = sdio_memcpy_toio(func, addr, buf, len); func 129 drivers/net/wireless/ti/wlcore/sdio.c sdio_release_host(func); func 140 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(glue->dev); func 141 drivers/net/wireless/ti/wlcore/sdio.c struct mmc_card *card = func->card; func 152 drivers/net/wireless/ti/wlcore/sdio.c sdio_claim_host(func); func 159 drivers/net/wireless/ti/wlcore/sdio.c sdio_enable_func(func); func 160 drivers/net/wireless/ti/wlcore/sdio.c sdio_release_host(func); func 167 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(glue->dev); func 168 drivers/net/wireless/ti/wlcore/sdio.c struct mmc_card *card = func->card; func 170 drivers/net/wireless/ti/wlcore/sdio.c sdio_claim_host(func); func 171 drivers/net/wireless/ti/wlcore/sdio.c sdio_disable_func(func); func 172 drivers/net/wireless/ti/wlcore/sdio.c sdio_release_host(func); func 265 drivers/net/wireless/ti/wlcore/sdio.c static int wl1271_probe(struct sdio_func *func, func 277 drivers/net/wireless/ti/wlcore/sdio.c if (func->num != 0x02) func 280 drivers/net/wireless/ti/wlcore/sdio.c pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); func 286 drivers/net/wireless/ti/wlcore/sdio.c glue = devm_kzalloc(&func->dev, sizeof(*glue), GFP_KERNEL); func 290 drivers/net/wireless/ti/wlcore/sdio.c glue->dev = &func->dev; func 293 drivers/net/wireless/ti/wlcore/sdio.c func->card->quirks |= MMC_QUIRK_LENIENT_FN0; func 296 drivers/net/wireless/ti/wlcore/sdio.c func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; func 298 drivers/net/wireless/ti/wlcore/sdio.c ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); func 303 drivers/net/wireless/ti/wlcore/sdio.c mmcflags = sdio_get_host_pm_caps(func); func 309 drivers/net/wireless/ti/wlcore/sdio.c sdio_set_drvdata(func, glue); func 312 drivers/net/wireless/ti/wlcore/sdio.c pm_runtime_put_noidle(&func->dev); func 320 drivers/net/wireless/ti/wlcore/sdio.c if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00) func 332 drivers/net/wireless/ti/wlcore/sdio.c glue->core->dev.parent = &func->dev; func 378 drivers/net/wireless/ti/wlcore/sdio.c static void wl1271_remove(struct sdio_func *func) func 380 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func); func 383 drivers/net/wireless/ti/wlcore/sdio.c pm_runtime_get_noresume(&func->dev); func 393 drivers/net/wireless/ti/wlcore/sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 394 drivers/net/wireless/ti/wlcore/sdio.c struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func); func 409 drivers/net/wireless/ti/wlcore/sdio.c sdio_flags = sdio_get_host_pm_caps(func); func 419 drivers/net/wireless/ti/wlcore/sdio.c ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER); func 1183 drivers/net/wireless/zydas/zd1211rw/zd_usb.c rx->reset_timer_tasklet.func = zd_usb_reset_rx_idle_timer_tasklet; func 989 drivers/nvdimm/bus.c unsigned int func = cmd; func 1061 drivers/nvdimm/bus.c func = pkg.nd_command; func 1118 drivers/nvdimm/bus.c rc = nd_cmd_clear_to_send(nvdimm_bus, nvdimm, func, buf); func 57 drivers/nvmem/imx-ocotp-scu.c hdr->func = IMX_SC_MISC_FUNC_OTP_FUSE_READ; func 1165 drivers/parport/parport_pc.c void (*func)(int io, int key); func 1173 drivers/parport/parport_pc.c func = NULL; func 1178 drivers/parport/parport_pc.c func = show_parconfig_smsc37c669; func 1191 drivers/parport/parport_pc.c if (func) func 1192 drivers/parport/parport_pc.c func(efer, key); func 151 drivers/pci/controller/pci-hyperv.c u32 func:3; func 304 drivers/pci/controller/pci-hyperv.c struct pci_function_description func[0]; func 513 drivers/pci/controller/pci-hyperv.c struct pci_function_description func[0]; func 626 drivers/pci/controller/pci-hyperv.c wslot.bits.func = PCI_FUNC(devfn); func 644 drivers/pci/controller/pci-hyperv.c return PCI_DEVFN(slot_no.bits.dev, slot_no.bits.func); func 2020 drivers/pci/controller/pci-hyperv.c new_desc = &dr->func[child_no]; func 2114 drivers/pci/controller/pci-hyperv.c dr = kzalloc(offsetof(struct hv_dr_state, func) + func 2126 drivers/pci/controller/pci-hyperv.c memcpy(dr->func, relations->func, func 2310 drivers/pci/controller/pci-hyperv.c offsetof(struct pci_bus_relations, func) + func 755 drivers/pci/controller/pcie-mediatek.c u32 func = PCI_FUNC(port->slot << 3); func 790 drivers/pci/controller/pcie-mediatek.c writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0), func 795 drivers/pci/controller/pcie-mediatek.c writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0), func 800 drivers/pci/controller/pcie-mediatek.c writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0), func 805 drivers/pci/controller/pcie-mediatek.c writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0), func 199 drivers/pci/controller/pcie-rcar.c unsigned int dev, func, reg, index; func 202 drivers/pci/controller/pcie-rcar.c func = PCI_FUNC(devfn); func 246 drivers/pci/controller/pcie-rcar.c PCIE_CONF_DEV(dev) | PCIE_CONF_FUNC(func) | reg, PCIECAR); func 185 drivers/pci/controller/pcie-rockchip.h #define PCIE_ECAM_ADDR(bus, dev, func, reg) \ func 187 drivers/pci/controller/pcie-rockchip.h PCIE_ECAM_FUNC(func) | PCIE_ECAM_REG(reg)) func 110 drivers/pci/hotplug/acpiphp.h struct acpiphp_func func; func 120 drivers/pci/hotplug/acpiphp.h static inline struct acpiphp_context *func_to_context(struct acpiphp_func *func) func 122 drivers/pci/hotplug/acpiphp.h return container_of(func, struct acpiphp_context, func); func 125 drivers/pci/hotplug/acpiphp.h static inline struct acpi_device *func_to_acpi_device(struct acpiphp_func *func) func 127 drivers/pci/hotplug/acpiphp.h return func_to_context(func)->hp.self; func 130 drivers/pci/hotplug/acpiphp.h static inline acpi_handle func_to_handle(struct acpiphp_func *func) func 132 drivers/pci/hotplug/acpiphp.h return func_to_acpi_device(func)->handle; func 126 drivers/pci/hotplug/acpiphp_glue.c if (!context || context->func.parent->is_going_away) { func 130 drivers/pci/hotplug/acpiphp_glue.c get_bridge(context->func.parent); func 138 drivers/pci/hotplug/acpiphp_glue.c put_bridge(context->func.parent); func 146 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func, *tmp; func 153 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) func 154 drivers/pci/hotplug/acpiphp_glue.c acpiphp_put_context(func_to_context(func)); func 163 drivers/pci/hotplug/acpiphp_glue.c put_bridge(context->func.parent); func 190 drivers/pci/hotplug/acpiphp_glue.c bus = context->func.slot->bus; func 253 drivers/pci/hotplug/acpiphp_glue.c newfunc = &context->func; func 333 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 336 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 337 drivers/pci/hotplug/acpiphp_glue.c struct acpi_device *adev = func_to_acpi_device(func); func 387 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 391 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 399 drivers/pci/hotplug/acpiphp_glue.c acpi_evaluate_object(func_to_handle(func), "_REG", &arg_list, func 406 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 412 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 413 drivers/pci/hotplug/acpiphp_glue.c if (PCI_FUNC(dev->devfn) == func->function) { func 422 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 424 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 425 drivers/pci/hotplug/acpiphp_glue.c struct acpi_device *adev = func_to_acpi_device(func); func 476 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 526 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 528 drivers/pci/hotplug/acpiphp_glue.c func->function)); func 546 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 558 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) func 559 drivers/pci/hotplug/acpiphp_glue.c acpi_bus_trim(func_to_acpi_device(func)); func 591 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 594 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) { func 595 drivers/pci/hotplug/acpiphp_glue.c if (func->flags & FUNC_HAS_STA) { func 598 drivers/pci/hotplug/acpiphp_glue.c status = acpi_evaluate_integer(func_to_handle(func), func 604 drivers/pci/hotplug/acpiphp_glue.c PCI_DEVFN(slot->device, func->function), func 775 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func = &context->func; func 776 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_slot *slot = func->slot; func 810 drivers/pci/hotplug/acpiphp_glue.c acpiphp_check_bridge(func->parent); func 903 drivers/pci/hotplug/acpiphp_glue.c get_bridge(context->func.parent); func 995 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func; func 1003 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(func, &slot->funcs, sibling) func 1004 drivers/pci/hotplug/acpiphp_glue.c if (func->flags & FUNC_HAS_EJ0) { func 1005 drivers/pci/hotplug/acpiphp_glue.c acpi_handle handle = func_to_handle(func); func 408 drivers/pci/hotplug/cpqphp.h int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func); func 409 drivers/pci/hotplug/cpqphp.h int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func); func 420 drivers/pci/hotplug/cpqphp.h int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func); func 421 drivers/pci/hotplug/cpqphp.h int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func); func 422 drivers/pci/hotplug/cpqphp.h int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func); func 424 drivers/pci/hotplug/cpqphp.h int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func); func 425 drivers/pci/hotplug/cpqphp.h void cpqhp_destroy_board_resources(struct pci_func *func); func 426 drivers/pci/hotplug/cpqphp.h int cpqhp_return_board_resources(struct pci_func *func, func 429 drivers/pci/hotplug/cpqphp.h int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func); func 430 drivers/pci/hotplug/cpqphp.h int cpqhp_unconfigure_device(struct pci_func *func); func 374 drivers/pci/hotplug/cpqphp_core.c cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, func 379 drivers/pci/hotplug/cpqphp_core.c if (func == NULL) func 382 drivers/pci/hotplug/cpqphp_core.c hp_slot = func->device - ctrl->slot_device_offset; func 765 drivers/pci/hotplug/cpqphp_core.c struct pci_func *func; func 1183 drivers/pci/hotplug/cpqphp_core.c func = cpqhp_slot_find(ctrl->bus, device, 0); func 1184 drivers/pci/hotplug/cpqphp_core.c if (!func) func 1187 drivers/pci/hotplug/cpqphp_core.c hp_slot = func->device - ctrl->slot_device_offset; func 1192 drivers/pci/hotplug/cpqphp_core.c func->presence_save = (temp_word >> hp_slot) & 0x01; func 1193 drivers/pci/hotplug/cpqphp_core.c func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; func 1196 drivers/pci/hotplug/cpqphp_core.c func->switch_save = 0; func 1198 drivers/pci/hotplug/cpqphp_core.c func->switch_save = 0x10; func 1201 drivers/pci/hotplug/cpqphp_core.c if (!func->is_a_board) { func 28 drivers/pci/hotplug/cpqphp_ctrl.c static u32 configure_new_device(struct controller *ctrl, struct pci_func *func, func 30 drivers/pci/hotplug/cpqphp_ctrl.c static int configure_new_function(struct controller *ctrl, struct pci_func *func, func 58 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 72 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, func 85 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save = (temp_word >> hp_slot) & 0x01; func 86 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; func 93 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0; func 101 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0x10; func 133 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 151 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, func 167 drivers/pci/hotplug/cpqphp_ctrl.c if (func->switch_save && (ctrl->push_button == 1)) { func 172 drivers/pci/hotplug/cpqphp_ctrl.c if (temp_byte != func->presence_save) { func 202 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save = (temp_word >> hp_slot) & 0x01; func 203 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; func 225 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 242 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, func 255 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0x00; func 283 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0xFF; func 1070 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 1072 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_list[bus]; func 1074 drivers/pci/hotplug/cpqphp_ctrl.c if ((func == NULL) || ((func->device == device) && (index == 0))) func 1075 drivers/pci/hotplug/cpqphp_ctrl.c return func; func 1077 drivers/pci/hotplug/cpqphp_ctrl.c if (func->device == device) func 1080 drivers/pci/hotplug/cpqphp_ctrl.c while (func->next != NULL) { func 1081 drivers/pci/hotplug/cpqphp_ctrl.c func = func->next; func 1083 drivers/pci/hotplug/cpqphp_ctrl.c if (func->device == device) func 1087 drivers/pci/hotplug/cpqphp_ctrl.c return func; func 1096 drivers/pci/hotplug/cpqphp_ctrl.c static int is_bridge(struct pci_func *func) func 1099 drivers/pci/hotplug/cpqphp_ctrl.c if (((func->config_space[0x03] >> 16) & 0xFF) == 0x01) func 1254 drivers/pci/hotplug/cpqphp_ctrl.c static u32 board_replaced(struct pci_func *func, struct controller *ctrl) func 1262 drivers/pci/hotplug/cpqphp_ctrl.c hp_slot = func->device - ctrl->slot_device_offset; func 1332 drivers/pci/hotplug/cpqphp_ctrl.c if (func->status == 0xFF) { func 1335 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0; func 1337 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_valid_replace(ctrl, func); func 1342 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_configure_board(ctrl, func); func 1405 drivers/pci/hotplug/cpqphp_ctrl.c static u32 board_added(struct pci_func *func, struct controller *ctrl) func 1418 drivers/pci/hotplug/cpqphp_ctrl.c hp_slot = func->device - ctrl->slot_device_offset; func 1420 drivers/pci/hotplug/cpqphp_ctrl.c __func__, func->device, ctrl->slot_device_offset, hp_slot); func 1496 drivers/pci/hotplug/cpqphp_ctrl.c dbg("%s: func status = %x\n", __func__, func->status); func 1498 drivers/pci/hotplug/cpqphp_ctrl.c if (func->status == 0xFF) { func 1503 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0; func 1506 drivers/pci/hotplug/cpqphp_ctrl.c ctrl->pci_bus->number = func->bus; func 1507 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), PCI_VENDOR_ID, &temp_register); func 1528 drivers/pci/hotplug/cpqphp_ctrl.c rc = configure_new_device(ctrl, func, 0, &res_lists); func 1556 drivers/pci/hotplug/cpqphp_ctrl.c cpqhp_save_slot_config(ctrl, func); func 1560 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0; func 1561 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0x10; func 1562 drivers/pci/hotplug/cpqphp_ctrl.c func->is_a_board = 0x01; func 1569 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++); func 1610 drivers/pci/hotplug/cpqphp_ctrl.c static u32 remove_board(struct pci_func *func, u32 replace_flag, struct controller *ctrl) func 1621 drivers/pci/hotplug/cpqphp_ctrl.c if (cpqhp_unconfigure_device(func)) func 1624 drivers/pci/hotplug/cpqphp_ctrl.c device = func->device; func 1626 drivers/pci/hotplug/cpqphp_ctrl.c hp_slot = func->device - ctrl->slot_device_offset; func 1632 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_save_base_addr_length(ctrl, func); func 1633 drivers/pci/hotplug/cpqphp_ctrl.c else if (!func->bus_head && !func->mem_head && func 1634 drivers/pci/hotplug/cpqphp_ctrl.c !func->p_mem_head && !func->io_head) { func 1639 drivers/pci/hotplug/cpqphp_ctrl.c temp_func = cpqhp_slot_find(func->bus, func->device, index++); func 1650 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_save_used_resources(ctrl, func); func 1653 drivers/pci/hotplug/cpqphp_ctrl.c if (func->is_a_board) func 1654 drivers/pci/hotplug/cpqphp_ctrl.c func->status = 0x01; func 1655 drivers/pci/hotplug/cpqphp_ctrl.c func->configured = 0; func 1675 drivers/pci/hotplug/cpqphp_ctrl.c while (func) { func 1681 drivers/pci/hotplug/cpqphp_ctrl.c cpqhp_return_board_resources(func, &res_lists); func 1693 drivers/pci/hotplug/cpqphp_ctrl.c if (is_bridge(func)) { func 1694 drivers/pci/hotplug/cpqphp_ctrl.c bridge_slot_remove(func); func 1696 drivers/pci/hotplug/cpqphp_ctrl.c slot_remove(func); func 1698 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, 0); func 1702 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_create(ctrl->bus); func 1704 drivers/pci/hotplug/cpqphp_ctrl.c if (func == NULL) func 1707 drivers/pci/hotplug/cpqphp_ctrl.c func->bus = ctrl->bus; func 1708 drivers/pci/hotplug/cpqphp_ctrl.c func->device = device; func 1709 drivers/pci/hotplug/cpqphp_ctrl.c func->function = 0; func 1710 drivers/pci/hotplug/cpqphp_ctrl.c func->configured = 0; func 1711 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0x10; func 1712 drivers/pci/hotplug/cpqphp_ctrl.c func->is_a_board = 0; func 1713 drivers/pci/hotplug/cpqphp_ctrl.c func->p_task_event = NULL; func 1772 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 1784 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, (hp_slot + ctrl->slot_device_offset), 0); func 1785 drivers/pci/hotplug/cpqphp_ctrl.c if (!func) func 1793 drivers/pci/hotplug/cpqphp_ctrl.c hp_slot, func, p_slot); func 1889 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *func; func 1901 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0); func 1902 drivers/pci/hotplug/cpqphp_ctrl.c dbg("In power_down_board, func = %p, ctrl = %p\n", func, ctrl); func 1903 drivers/pci/hotplug/cpqphp_ctrl.c if (!func) { func 1908 drivers/pci/hotplug/cpqphp_ctrl.c if (cpqhp_process_SS(ctrl, func) != 0) { func 1923 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(p_slot->bus, p_slot->device, 0); func 1924 drivers/pci/hotplug/cpqphp_ctrl.c dbg("In add_board, func = %p, ctrl = %p\n", func, ctrl); func 1925 drivers/pci/hotplug/cpqphp_ctrl.c if (!func) { func 1931 drivers/pci/hotplug/cpqphp_ctrl.c if (cpqhp_process_SI(ctrl, func) != 0) { func 1947 drivers/pci/hotplug/cpqphp_ctrl.c int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func) func 1958 drivers/pci/hotplug/cpqphp_ctrl.c device = func->device; func 1970 drivers/pci/hotplug/cpqphp_ctrl.c if (func->is_a_board) { func 1971 drivers/pci/hotplug/cpqphp_ctrl.c rc = board_replaced(func, ctrl); func 1974 drivers/pci/hotplug/cpqphp_ctrl.c slot_remove(func); func 1976 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_create(ctrl->bus); func 1977 drivers/pci/hotplug/cpqphp_ctrl.c if (func == NULL) func 1980 drivers/pci/hotplug/cpqphp_ctrl.c func->bus = ctrl->bus; func 1981 drivers/pci/hotplug/cpqphp_ctrl.c func->device = device; func 1982 drivers/pci/hotplug/cpqphp_ctrl.c func->function = 0; func 1983 drivers/pci/hotplug/cpqphp_ctrl.c func->configured = 0; func 1984 drivers/pci/hotplug/cpqphp_ctrl.c func->is_a_board = 1; func 1988 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save = (temp_word >> hp_slot) & 0x01; func 1989 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; func 1992 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0; func 1994 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0x10; func 1997 drivers/pci/hotplug/cpqphp_ctrl.c rc = board_added(func, ctrl); func 1999 drivers/pci/hotplug/cpqphp_ctrl.c if (is_bridge(func)) { func 2000 drivers/pci/hotplug/cpqphp_ctrl.c bridge_slot_remove(func); func 2002 drivers/pci/hotplug/cpqphp_ctrl.c slot_remove(func); func 2005 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_create(ctrl->bus); func 2007 drivers/pci/hotplug/cpqphp_ctrl.c if (func == NULL) func 2010 drivers/pci/hotplug/cpqphp_ctrl.c func->bus = ctrl->bus; func 2011 drivers/pci/hotplug/cpqphp_ctrl.c func->device = device; func 2012 drivers/pci/hotplug/cpqphp_ctrl.c func->function = 0; func 2013 drivers/pci/hotplug/cpqphp_ctrl.c func->configured = 0; func 2014 drivers/pci/hotplug/cpqphp_ctrl.c func->is_a_board = 0; func 2018 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save = (temp_word >> hp_slot) & 0x01; func 2019 drivers/pci/hotplug/cpqphp_ctrl.c func->presence_save |= func 2023 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0; func 2025 drivers/pci/hotplug/cpqphp_ctrl.c func->switch_save = 0x10; func 2037 drivers/pci/hotplug/cpqphp_ctrl.c int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func) func 2048 drivers/pci/hotplug/cpqphp_ctrl.c device = func->device; func 2049 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, index++); func 2055 drivers/pci/hotplug/cpqphp_ctrl.c while (func && !rc) { func 2056 drivers/pci/hotplug/cpqphp_ctrl.c pci_bus->number = func->bus; func 2057 drivers/pci/hotplug/cpqphp_ctrl.c devfn = PCI_DEVFN(func->device, func->function); func 2086 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, index++); func 2089 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, 0); func 2090 drivers/pci/hotplug/cpqphp_ctrl.c if ((func != NULL) && !rc) { func 2093 drivers/pci/hotplug/cpqphp_ctrl.c rc = remove_board(func, replace_flag, ctrl); func 2222 drivers/pci/hotplug/cpqphp_ctrl.c static u32 configure_new_device(struct controller *ctrl, struct pci_func *func, func 2231 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = func; func 2235 drivers/pci/hotplug/cpqphp_ctrl.c ctrl->pci_bus->number = func->bus; func 2236 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); func 2274 drivers/pci/hotplug/cpqphp_ctrl.c pci_bus_read_config_dword(ctrl->pci_bus, PCI_DEVFN(func->device, function), 0x00, &ID); func 2280 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_create(func->bus); func 2285 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->bus = func->bus; func 2286 drivers/pci/hotplug/cpqphp_ctrl.c new_slot->device = func->device; func 2318 drivers/pci/hotplug/cpqphp_ctrl.c static int configure_new_function(struct controller *ctrl, struct pci_func *func, func 2349 drivers/pci/hotplug/cpqphp_ctrl.c pci_bus->number = func->bus; func 2350 drivers/pci/hotplug/cpqphp_ctrl.c devfn = PCI_DEVFN(func->device, func->function); func 2359 drivers/pci/hotplug/cpqphp_ctrl.c dbg("set Primary bus = %d\n", func->bus); func 2360 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_PRIMARY_BUS, func->bus); func 2518 drivers/pci/hotplug/cpqphp_ctrl.c pci_bus->number = func->bus; func 2553 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_set_irq(func->bus, func->device, func 2566 drivers/pci/hotplug/cpqphp_ctrl.c hold_bus_node->next = func->bus_head; func 2567 drivers/pci/hotplug/cpqphp_ctrl.c func->bus_head = hold_bus_node; func 2608 drivers/pci/hotplug/cpqphp_ctrl.c hold_IO_node->next = func->io_head; func 2609 drivers/pci/hotplug/cpqphp_ctrl.c func->io_head = hold_IO_node; func 2625 drivers/pci/hotplug/cpqphp_ctrl.c hold_IO_node->next = func->io_head; func 2626 drivers/pci/hotplug/cpqphp_ctrl.c func->io_head = hold_IO_node; func 2630 drivers/pci/hotplug/cpqphp_ctrl.c hold_IO_node->next = func->io_head; func 2631 drivers/pci/hotplug/cpqphp_ctrl.c func->io_head = hold_IO_node; func 2658 drivers/pci/hotplug/cpqphp_ctrl.c hold_mem_node->next = func->mem_head; func 2659 drivers/pci/hotplug/cpqphp_ctrl.c func->mem_head = hold_mem_node; func 2677 drivers/pci/hotplug/cpqphp_ctrl.c hold_mem_node->next = func->mem_head; func 2678 drivers/pci/hotplug/cpqphp_ctrl.c func->mem_head = hold_mem_node; func 2682 drivers/pci/hotplug/cpqphp_ctrl.c hold_mem_node->next = func->mem_head; func 2683 drivers/pci/hotplug/cpqphp_ctrl.c func->mem_head = hold_mem_node; func 2711 drivers/pci/hotplug/cpqphp_ctrl.c hold_p_mem_node->next = func->p_mem_head; func 2712 drivers/pci/hotplug/cpqphp_ctrl.c func->p_mem_head = hold_p_mem_node; func 2728 drivers/pci/hotplug/cpqphp_ctrl.c hold_p_mem_node->next = func->p_mem_head; func 2729 drivers/pci/hotplug/cpqphp_ctrl.c func->p_mem_head = hold_p_mem_node; func 2733 drivers/pci/hotplug/cpqphp_ctrl.c hold_p_mem_node->next = func->p_mem_head; func 2734 drivers/pci/hotplug/cpqphp_ctrl.c func->p_mem_head = hold_p_mem_node; func 2786 drivers/pci/hotplug/cpqphp_ctrl.c dbg("func (%p) io_head (%p)\n", func, func->io_head); func 2790 drivers/pci/hotplug/cpqphp_ctrl.c io_node->next = func->io_head; func 2791 drivers/pci/hotplug/cpqphp_ctrl.c func->io_head = io_node; func 2804 drivers/pci/hotplug/cpqphp_ctrl.c p_mem_node->next = func->p_mem_head; func 2805 drivers/pci/hotplug/cpqphp_ctrl.c func->p_mem_head = p_mem_node; func 2820 drivers/pci/hotplug/cpqphp_ctrl.c mem_node->next = func->mem_head; func 2821 drivers/pci/hotplug/cpqphp_ctrl.c func->mem_head = mem_node; func 2873 drivers/pci/hotplug/cpqphp_ctrl.c rc = cpqhp_set_irq(func->bus, func->device, temp_byte, IRQ); func 2912 drivers/pci/hotplug/cpqphp_ctrl.c func->configured = 1; func 70 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func) func 77 drivers/pci/hotplug/cpqphp_pci.c if (func->pci_dev == NULL) func 78 drivers/pci/hotplug/cpqphp_pci.c func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus, func 79 drivers/pci/hotplug/cpqphp_pci.c PCI_DEVFN(func->device, func 80 drivers/pci/hotplug/cpqphp_pci.c func->function)); func 83 drivers/pci/hotplug/cpqphp_pci.c if (func->pci_dev == NULL) { func 86 drivers/pci/hotplug/cpqphp_pci.c num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function)); func 90 drivers/pci/hotplug/cpqphp_pci.c func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus, func 91 drivers/pci/hotplug/cpqphp_pci.c PCI_DEVFN(func->device, func 92 drivers/pci/hotplug/cpqphp_pci.c func->function)); func 93 drivers/pci/hotplug/cpqphp_pci.c if (func->pci_dev == NULL) { func 99 drivers/pci/hotplug/cpqphp_pci.c if (func->pci_dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { func 100 drivers/pci/hotplug/cpqphp_pci.c pci_hp_add_bridge(func->pci_dev); func 101 drivers/pci/hotplug/cpqphp_pci.c child = func->pci_dev->subordinate; func 106 drivers/pci/hotplug/cpqphp_pci.c pci_dev_put(func->pci_dev); func 114 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_unconfigure_device(struct pci_func *func) func 118 drivers/pci/hotplug/cpqphp_pci.c dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function); func 123 drivers/pci/hotplug/cpqphp_pci.c func->bus, func 124 drivers/pci/hotplug/cpqphp_pci.c PCI_DEVFN(func->device, func 548 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func) func 563 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 565 drivers/pci/hotplug/cpqphp_pci.c while (func != NULL) { func 566 drivers/pci/hotplug/cpqphp_pci.c pci_bus->number = func->bus; func 567 drivers/pci/hotplug/cpqphp_pci.c devfn = PCI_DEVFN(func->device, func->function); func 586 drivers/pci/hotplug/cpqphp_pci.c pci_bus->number = func->bus; func 620 drivers/pci/hotplug/cpqphp_pci.c func->base_length[(cloop - 0x10) >> 2] = func 622 drivers/pci/hotplug/cpqphp_pci.c func->base_type[(cloop - 0x10) >> 2] = type; func 660 drivers/pci/hotplug/cpqphp_pci.c func->base_length[(cloop - 0x10) >> 2] = base; func 661 drivers/pci/hotplug/cpqphp_pci.c func->base_type[(cloop - 0x10) >> 2] = type; func 669 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 685 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func) func 708 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 710 drivers/pci/hotplug/cpqphp_pci.c while ((func != NULL) && func->is_a_board) { func 711 drivers/pci/hotplug/cpqphp_pci.c pci_bus->number = func->bus; func 712 drivers/pci/hotplug/cpqphp_pci.c devfn = PCI_DEVFN(func->device, func->function); func 738 drivers/pci/hotplug/cpqphp_pci.c bus_node->next = func->bus_head; func 739 drivers/pci/hotplug/cpqphp_pci.c func->bus_head = bus_node; func 753 drivers/pci/hotplug/cpqphp_pci.c io_node->next = func->io_head; func 754 drivers/pci/hotplug/cpqphp_pci.c func->io_head = io_node; func 769 drivers/pci/hotplug/cpqphp_pci.c mem_node->next = func->mem_head; func 770 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = mem_node; func 785 drivers/pci/hotplug/cpqphp_pci.c p_mem_node->next = func->p_mem_head; func 786 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = p_mem_node; func 818 drivers/pci/hotplug/cpqphp_pci.c io_node->next = func->io_head; func 819 drivers/pci/hotplug/cpqphp_pci.c func->io_head = io_node; func 835 drivers/pci/hotplug/cpqphp_pci.c p_mem_node->next = func->p_mem_head; func 836 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = p_mem_node; func 852 drivers/pci/hotplug/cpqphp_pci.c mem_node->next = func->mem_head; func 853 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = mem_node; func 889 drivers/pci/hotplug/cpqphp_pci.c io_node->next = func->io_head; func 890 drivers/pci/hotplug/cpqphp_pci.c func->io_head = io_node; func 906 drivers/pci/hotplug/cpqphp_pci.c p_mem_node->next = func->p_mem_head; func 907 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = p_mem_node; func 923 drivers/pci/hotplug/cpqphp_pci.c mem_node->next = func->mem_head; func 924 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = mem_node; func 932 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 948 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func) func 961 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 963 drivers/pci/hotplug/cpqphp_pci.c while (func != NULL) { func 964 drivers/pci/hotplug/cpqphp_pci.c pci_bus->number = func->bus; func 965 drivers/pci/hotplug/cpqphp_pci.c devfn = PCI_DEVFN(func->device, func->function); func 971 drivers/pci/hotplug/cpqphp_pci.c pci_bus_write_config_dword(pci_bus, devfn, cloop, func->config_space[cloop >> 2]); func 999 drivers/pci/hotplug/cpqphp_pci.c if (temp != func->config_space[cloop >> 2]) { func 1001 drivers/pci/hotplug/cpqphp_pci.c dbg("bus = %x, device = %x, function = %x\n", func->bus, func->device, func->function); func 1002 drivers/pci/hotplug/cpqphp_pci.c dbg("temp = %x, config space = %x\n\n", temp, func->config_space[cloop >> 2]); func 1008 drivers/pci/hotplug/cpqphp_pci.c func->configured = 1; func 1010 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 1026 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func) func 1040 drivers/pci/hotplug/cpqphp_pci.c if (!func->is_a_board) func 1043 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 1045 drivers/pci/hotplug/cpqphp_pci.c while (func != NULL) { func 1046 drivers/pci/hotplug/cpqphp_pci.c pci_bus->number = func->bus; func 1047 drivers/pci/hotplug/cpqphp_pci.c devfn = PCI_DEVFN(func->device, func->function); func 1055 drivers/pci/hotplug/cpqphp_pci.c if (temp_register != func->config_space[0]) func 1062 drivers/pci/hotplug/cpqphp_pci.c if (temp_register != func->config_space[0x08 >> 2]) func 1074 drivers/pci/hotplug/cpqphp_pci.c temp_register = func->config_space[0x18 >> 2]; func 1095 drivers/pci/hotplug/cpqphp_pci.c if (temp_register != func->config_space[0x2C >> 2]) { func 1100 drivers/pci/hotplug/cpqphp_pci.c if (!((func->config_space[0] == 0xAE100E11) func 1134 drivers/pci/hotplug/cpqphp_pci.c if (func->base_length[(cloop - 0x10) >> 2] != base) func 1137 drivers/pci/hotplug/cpqphp_pci.c if (func->base_type[(cloop - 0x10) >> 2] != type) func 1151 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); func 1175 drivers/pci/hotplug/cpqphp_pci.c struct pci_func *func = NULL; func 1272 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(primary_bus, dev_func >> 3, 0); func 1274 drivers/pci/hotplug/cpqphp_pci.c while (func && (func->function != (dev_func & 0x07))) { func 1275 drivers/pci/hotplug/cpqphp_pci.c dbg("func = %p (bus, dev, fun) = (%d, %d, %d)\n", func, primary_bus, dev_func >> 3, index); func 1276 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(primary_bus, dev_func >> 3, index++); func 1280 drivers/pci/hotplug/cpqphp_pci.c if (!func) { func 1317 drivers/pci/hotplug/cpqphp_pci.c io_node->next = func->io_head; func 1318 drivers/pci/hotplug/cpqphp_pci.c func->io_head = io_node; func 1340 drivers/pci/hotplug/cpqphp_pci.c mem_node->next = func->mem_head; func 1341 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = mem_node; func 1365 drivers/pci/hotplug/cpqphp_pci.c p_mem_node->next = func->p_mem_head; func 1366 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = p_mem_node; func 1388 drivers/pci/hotplug/cpqphp_pci.c bus_node->next = func->bus_head; func 1389 drivers/pci/hotplug/cpqphp_pci.c func->bus_head = bus_node; func 1418 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_return_board_resources(struct pci_func *func, struct resource_lists *resources) func 1425 drivers/pci/hotplug/cpqphp_pci.c if (!func) func 1428 drivers/pci/hotplug/cpqphp_pci.c node = func->io_head; func 1429 drivers/pci/hotplug/cpqphp_pci.c func->io_head = NULL; func 1436 drivers/pci/hotplug/cpqphp_pci.c node = func->mem_head; func 1437 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = NULL; func 1444 drivers/pci/hotplug/cpqphp_pci.c node = func->p_mem_head; func 1445 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = NULL; func 1452 drivers/pci/hotplug/cpqphp_pci.c node = func->bus_head; func 1453 drivers/pci/hotplug/cpqphp_pci.c func->bus_head = NULL; func 1521 drivers/pci/hotplug/cpqphp_pci.c void cpqhp_destroy_board_resources(struct pci_func *func) func 1525 drivers/pci/hotplug/cpqphp_pci.c res = func->io_head; func 1526 drivers/pci/hotplug/cpqphp_pci.c func->io_head = NULL; func 1534 drivers/pci/hotplug/cpqphp_pci.c res = func->mem_head; func 1535 drivers/pci/hotplug/cpqphp_pci.c func->mem_head = NULL; func 1543 drivers/pci/hotplug/cpqphp_pci.c res = func->p_mem_head; func 1544 drivers/pci/hotplug/cpqphp_pci.c func->p_mem_head = NULL; func 1552 drivers/pci/hotplug/cpqphp_pci.c res = func->bus_head; func 1553 drivers/pci/hotplug/cpqphp_pci.c func->bus_head = NULL; func 702 drivers/pci/hotplug/ibmphp.h struct pci_func *func; func 615 drivers/pci/hotplug/ibmphp_core.c if (slot_cur->func) { func 616 drivers/pci/hotplug/ibmphp_core.c func_cur = slot_cur->func; func 658 drivers/pci/hotplug/ibmphp_core.c static void ibm_unconfigure_device(struct pci_func *func) func 665 drivers/pci/hotplug/ibmphp_core.c func->device, func->function); func 666 drivers/pci/hotplug/ibmphp_core.c debug("func->device << 3 | 0x0 = %x\n", func->device << 3 | 0x0); func 671 drivers/pci/hotplug/ibmphp_core.c temp = pci_get_domain_bus_and_slot(0, func->busno, func 672 drivers/pci/hotplug/ibmphp_core.c (func->device << 3) | j); func 679 drivers/pci/hotplug/ibmphp_core.c pci_dev_put(func->dev); func 731 drivers/pci/hotplug/ibmphp_core.c static int ibm_configure_device(struct pci_func *func) func 740 drivers/pci/hotplug/ibmphp_core.c if (!(bus_structure_fixup(func->busno))) func 742 drivers/pci/hotplug/ibmphp_core.c if (func->dev == NULL) func 743 drivers/pci/hotplug/ibmphp_core.c func->dev = pci_get_domain_bus_and_slot(0, func->busno, func 744 drivers/pci/hotplug/ibmphp_core.c PCI_DEVFN(func->device, func->function)); func 746 drivers/pci/hotplug/ibmphp_core.c if (func->dev == NULL) { func 747 drivers/pci/hotplug/ibmphp_core.c struct pci_bus *bus = pci_find_bus(0, func->busno); func 752 drivers/pci/hotplug/ibmphp_core.c PCI_DEVFN(func->device, func->function)); func 756 drivers/pci/hotplug/ibmphp_core.c func->dev = pci_get_domain_bus_and_slot(0, func->busno, func 757 drivers/pci/hotplug/ibmphp_core.c PCI_DEVFN(func->device, func->function)); func 758 drivers/pci/hotplug/ibmphp_core.c if (func->dev == NULL) { func 763 drivers/pci/hotplug/ibmphp_core.c if (!(flag) && (func->dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) { func 764 drivers/pci/hotplug/ibmphp_core.c pci_hp_add_bridge(func->dev); func 765 drivers/pci/hotplug/ibmphp_core.c child = func->dev->subordinate; func 1060 drivers/pci/hotplug/ibmphp_core.c slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL); func 1061 drivers/pci/hotplug/ibmphp_core.c if (!slot_cur->func) { func 1066 drivers/pci/hotplug/ibmphp_core.c slot_cur->func->busno = slot_cur->bus; func 1067 drivers/pci/hotplug/ibmphp_core.c slot_cur->func->device = slot_cur->device; func 1069 drivers/pci/hotplug/ibmphp_core.c slot_cur->func->irq[i] = slot_cur->irq[i]; func 1074 drivers/pci/hotplug/ibmphp_core.c if (ibmphp_configure_card(slot_cur->func, slot_cur->number)) { func 1080 drivers/pci/hotplug/ibmphp_core.c slot_cur->func = NULL; func 1087 drivers/pci/hotplug/ibmphp_core.c tmp_func = ibm_slot_find(slot_cur->bus, slot_cur->func->device, func 1165 drivers/pci/hotplug/ibmphp_core.c if (slot_cur->func == NULL) { func 1167 drivers/pci/hotplug/ibmphp_core.c slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL); func 1168 drivers/pci/hotplug/ibmphp_core.c if (!slot_cur->func) { func 1172 drivers/pci/hotplug/ibmphp_core.c slot_cur->func->busno = slot_cur->bus; func 1173 drivers/pci/hotplug/ibmphp_core.c slot_cur->func->device = slot_cur->device; func 1176 drivers/pci/hotplug/ibmphp_core.c ibm_unconfigure_device(slot_cur->func); func 1191 drivers/pci/hotplug/ibmphp_core.c slot_cur->func = NULL; func 67 drivers/pci/hotplug/ibmphp_pci.c int ibmphp_configure_card(struct pci_func *func, u8 slotno) func 81 drivers/pci/hotplug/ibmphp_pci.c debug("inside configure_card, func->busno = %x\n", func->busno); func 83 drivers/pci/hotplug/ibmphp_pci.c device = func->device; func 84 drivers/pci/hotplug/ibmphp_pci.c cur_func = func; func 183 drivers/pci/hotplug/ibmphp_pci.c func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */ func 191 drivers/pci/hotplug/ibmphp_pci.c if (func->devices[i]) { func 211 drivers/pci/hotplug/ibmphp_pci.c func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */ func 251 drivers/pci/hotplug/ibmphp_pci.c func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */ func 262 drivers/pci/hotplug/ibmphp_pci.c if (func->devices[i]) { func 284 drivers/pci/hotplug/ibmphp_pci.c func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */ func 330 drivers/pci/hotplug/ibmphp_pci.c static int configure_device(struct pci_func *func) func 353 drivers/pci/hotplug/ibmphp_pci.c devfn = PCI_DEVFN(func->device, func->function); func 354 drivers/pci/hotplug/ibmphp_pci.c ibmphp_pci_bus->number = func->busno; func 377 drivers/pci/hotplug/ibmphp_pci.c debug("Device %x BAR %d wants %x\n", func->device, count, bar[count]); func 394 drivers/pci/hotplug/ibmphp_pci.c io[count]->busno = func->busno; func 395 drivers/pci/hotplug/ibmphp_pci.c io[count]->devfunc = PCI_DEVFN(func->device, func->function); func 399 drivers/pci/hotplug/ibmphp_pci.c func->io[count] = io[count]; func 402 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, func->function, len[count]); func 406 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start); func 409 drivers/pci/hotplug/ibmphp_pci.c debug("b4 writing, the IO address is %x\n", func->io[count]->start); func 430 drivers/pci/hotplug/ibmphp_pci.c pfmem[count]->busno = func->busno; func 431 drivers/pci/hotplug/ibmphp_pci.c pfmem[count]->devfunc = PCI_DEVFN(func->device, func 432 drivers/pci/hotplug/ibmphp_pci.c func->function); func 437 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[count] = pfmem[count]; func 456 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[count] = pfmem[count]; func 459 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, len[count]); func 466 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start); func 469 drivers/pci/hotplug/ibmphp_pci.c debug("b4 writing, start address is %x\n", func->pfmem[count]->start); func 494 drivers/pci/hotplug/ibmphp_pci.c mem[count]->busno = func->busno; func 495 drivers/pci/hotplug/ibmphp_pci.c mem[count]->devfunc = PCI_DEVFN(func->device, func 496 drivers/pci/hotplug/ibmphp_pci.c func->function); func 500 drivers/pci/hotplug/ibmphp_pci.c func->mem[count] = mem[count]; func 503 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, len[count]); func 507 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start); func 509 drivers/pci/hotplug/ibmphp_pci.c debug("b4 writing, start address is %x\n", func->mem[count]->start); func 525 drivers/pci/hotplug/ibmphp_pci.c func->bus = 0; /* To indicate that this is not a PPB */ func 528 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_INTERRUPT_LINE, func->irq[irq - 1]); func 573 drivers/pci/hotplug/ibmphp_pci.c struct pci_func *func = *func_passed; func 580 drivers/pci/hotplug/ibmphp_pci.c devfn = PCI_DEVFN(func->function, func->device); func 581 drivers/pci/hotplug/ibmphp_pci.c ibmphp_pci_bus->number = func->busno; func 587 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_PRIMARY_BUS, func->busno); func 595 drivers/pci/hotplug/ibmphp_pci.c sec_number = find_sec_number(func->busno, slotno); func 602 drivers/pci/hotplug/ibmphp_pci.c debug("AFTER FIND_SEC_NUMBER, func->busno IS %x\n", func->busno); func 622 drivers/pci/hotplug/ibmphp_pci.c debug("func->busno is %x\n", func->busno); func 659 drivers/pci/hotplug/ibmphp_pci.c bus_io[count]->busno = func->busno; func 660 drivers/pci/hotplug/ibmphp_pci.c bus_io[count]->devfunc = PCI_DEVFN(func->device, func 661 drivers/pci/hotplug/ibmphp_pci.c func->function); func 665 drivers/pci/hotplug/ibmphp_pci.c func->io[count] = bus_io[count]; func 668 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, len[count]); func 673 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start); func 690 drivers/pci/hotplug/ibmphp_pci.c bus_pfmem[count]->busno = func->busno; func 691 drivers/pci/hotplug/ibmphp_pci.c bus_pfmem[count]->devfunc = PCI_DEVFN(func->device, func 692 drivers/pci/hotplug/ibmphp_pci.c func->function); func 697 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[count] = bus_pfmem[count]; func 713 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[count] = bus_pfmem[count]; func 716 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, len[count]); func 723 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start); func 745 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->busno = func->busno; func 746 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->devfunc = PCI_DEVFN(func->device, func 747 drivers/pci/hotplug/ibmphp_pci.c func->function); func 751 drivers/pci/hotplug/ibmphp_pci.c func->mem[count] = bus_mem[count]; func 754 drivers/pci/hotplug/ibmphp_pci.c func->busno, func->device, len[count]); func 759 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start); func 773 drivers/pci/hotplug/ibmphp_pci.c amount_needed = scan_behind_bridge(func, sec_number); func 777 drivers/pci/hotplug/ibmphp_pci.c ibmphp_pci_bus->number = func->busno; func 790 drivers/pci/hotplug/ibmphp_pci.c func->io[count] = NULL; func 793 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[count] = NULL; func 796 drivers/pci/hotplug/ibmphp_pci.c func->mem[count] = NULL; func 815 drivers/pci/hotplug/ibmphp_pci.c io->busno = func->busno; func 816 drivers/pci/hotplug/ibmphp_pci.c io->devfunc = PCI_DEVFN(func->device, func->function); func 836 drivers/pci/hotplug/ibmphp_pci.c mem->busno = func->busno; func 837 drivers/pci/hotplug/ibmphp_pci.c mem->devfunc = PCI_DEVFN(func->device, func->function); func 857 drivers/pci/hotplug/ibmphp_pci.c pfmem->busno = func->busno; func 858 drivers/pci/hotplug/ibmphp_pci.c pfmem->devfunc = PCI_DEVFN(func->device, func->function); func 902 drivers/pci/hotplug/ibmphp_pci.c rc = add_new_bus(bus, io, mem, pfmem, func->busno); func 912 drivers/pci/hotplug/ibmphp_pci.c ibmphp_remove_bus(bus, func->busno); func 990 drivers/pci/hotplug/ibmphp_pci.c pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_INTERRUPT_LINE, func->irq[irq - 1]); func 1002 drivers/pci/hotplug/ibmphp_pci.c func->devices[i] = 1; func 1005 drivers/pci/hotplug/ibmphp_pci.c func->bus = 1; /* For unconfiguring, to indicate it's PPB */ func 1006 drivers/pci/hotplug/ibmphp_pci.c func_passed = &func; func 1007 drivers/pci/hotplug/ibmphp_pci.c debug("func->busno b4 returning is %x\n", func->busno); func 1029 drivers/pci/hotplug/ibmphp_pci.c func->io[i] = NULL; func 1032 drivers/pci/hotplug/ibmphp_pci.c func->pfmem[i] = NULL; func 1035 drivers/pci/hotplug/ibmphp_pci.c func->mem[i] = NULL; func 1047 drivers/pci/hotplug/ibmphp_pci.c static struct res_needed *scan_behind_bridge(struct pci_func *func, u8 busno) func 1553 drivers/pci/hotplug/ibmphp_pci.c if (sl->func) { func 1554 drivers/pci/hotplug/ibmphp_pci.c cur_func = sl->func; func 1591 drivers/pci/hotplug/ibmphp_pci.c sl->func = NULL; func 221 drivers/pci/pci.c int seg, bus, slot, func; func 235 drivers/pci/pci.c ret = sscanf(p, "/%x.%x%c", &slot, &func, &end); func 241 drivers/pci/pci.c if (dev->devfn != PCI_DEVFN(slot, func)) { func 262 drivers/pci/pci.c &func, &end); func 265 drivers/pci/pci.c ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end); func 274 drivers/pci/pci.c dev->devfn == PCI_DEVFN(slot, func)); func 5922 drivers/pci/pci.c void __init pci_register_set_vga_state(arch_set_vga_state_t func) func 5924 drivers/pci/pci.c arch_set_vga_state = func; /* NULL disables */ func 630 drivers/pci/vpd.c int func = (dev->device & 0x0f00) >> 8; func 646 drivers/pci/vpd.c else if (chip >= 0x4 && func < 0x8) func 1015 drivers/pci/xen-pcifront.c unsigned int domain, bus, slot, func; func 1054 drivers/pci/xen-pcifront.c "%x:%x:%x.%x", &domain, &bus, &slot, &func); func 1064 drivers/pci/xen-pcifront.c PCI_DEVFN(slot, func)); func 1068 drivers/pci/xen-pcifront.c domain, bus, slot, func); func 1078 drivers/pci/xen-pcifront.c domain, bus, slot, func); func 857 drivers/pcmcia/cistpl.c f->func = p[0]; func 276 drivers/pcmcia/ds.c ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG, func 424 drivers/pcmcia/ds.c if (!pccard_read_tuple(p_dev->socket, p_dev->func, func 427 drivers/pcmcia/ds.c p_dev->func_id = func_id.func; func 441 drivers/pcmcia/ds.c if (!pccard_read_tuple(p_dev->socket, p_dev->func, func 513 drivers/pcmcia/ds.c p_dev->func = function; func 537 drivers/pcmcia/ds.c if (p_dev->func == tmp_dev->func) { func 815 drivers/pcmcia/ds.c if (dev->func != did->function) func 964 drivers/pcmcia/ds.c p_dev->func, func 1030 drivers/pcmcia/ds.c return p_dev->socket ? sprintf(buf, "0x%02x\n", p_dev->func) : -ENODEV; func 1094 drivers/pcmcia/ds.c p_dev->func, p_dev->device_no, func 1170 drivers/pcmcia/ds.c if (p_dev->device_no == p_dev->func) { func 1202 drivers/pcmcia/ds.c if (p_dev->device_no == p_dev->func) { func 274 drivers/pcmcia/pcmcia_cis.c ret = pccard_loop_tuple(p_dev->socket, p_dev->func, func 329 drivers/pcmcia/pcmcia_cis.c return pccard_loop_tuple(p_dev->socket, p_dev->func, code, NULL, func 61 drivers/pcmcia/soc_common.c void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func, func 72 drivers/pcmcia/soc_common.c printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf); func 169 drivers/pcmcia/soc_common.h extern void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func, func 653 drivers/pcmcia/ti113x.h struct pci_dev *func; func 707 drivers/pcmcia/ti113x.h func = pci_get_slot(socket->dev->bus, func 709 drivers/pcmcia/ti113x.h if (!func) func 718 drivers/pcmcia/ti113x.h if (socket->dev->device != func->device) func 721 drivers/pcmcia/ti113x.h slot2 = pci_get_drvdata(func); func 733 drivers/pcmcia/ti113x.h pci_dev_put(func); func 376 drivers/phy/tegra/xusb.c const char *func = lane->soc->funcs[lane->function]; func 378 drivers/phy/tegra/xusb.c return strcmp(function, func) == 0; func 276 drivers/phy/tegra/xusb.h const char *func; func 25 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c #define SIG_EXPR_DECL_SINGLE(sig, func, ...) \ func 26 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c SIG_EXPR_DECL(sig, func, func, __VA_ARGS__) func 25 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c #define SIG_EXPR_DECL_SINGLE(sig, func, ...) \ func 26 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c SIG_EXPR_DECL(sig, func, func, __VA_ARGS__) func 519 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_EXPR_DECL_(sig, group, func) \ func 523 drivers/pinctrl/aspeed/pinmux-aspeed.h .function = #func, \ func 545 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_EXPR_DECL(sig, group, func, ...) \ func 547 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_EXPR_DECL_(sig, group, func) func 612 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \ func 613 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_DESC_LIST_DECL(sig, func, __VA_ARGS__); \ func 614 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_EXPR_DECL_(sig, func, func); \ func 615 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_EXPR_LIST_DECL(sig, func, SIG_EXPR_PTR(sig, func)); \ func 616 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_EXPR_LIST_ALIAS(pin, sig, func) func 628 drivers/pinctrl/aspeed/pinmux-aspeed.h #define SIG_EXPR_LIST_DECL_SEMG(pin, sig, group, func, ...) \ func 630 drivers/pinctrl/aspeed/pinmux-aspeed.h SIG_EXPR_DECL_(sig, group, func); \ func 736 drivers/pinctrl/aspeed/pinmux-aspeed.h #define FUNC_SYM(func) func_groups_ ## func func 737 drivers/pinctrl/aspeed/pinmux-aspeed.h #define FUNC_DECL_(func, ...) \ func 738 drivers/pinctrl/aspeed/pinmux-aspeed.h static const char *FUNC_SYM(func)[] = { __VA_ARGS__ } func 740 drivers/pinctrl/aspeed/pinmux-aspeed.h #define FUNC_DECL_2(func, one, two) FUNC_DECL_(func, #one, #two) func 741 drivers/pinctrl/aspeed/pinmux-aspeed.h #define FUNC_DECL_3(func, one, two, three) FUNC_DECL_(func, #one, #two, #three) func 743 drivers/pinctrl/aspeed/pinmux-aspeed.h #define FUNC_GROUP_DECL(func, ...) \ func 744 drivers/pinctrl/aspeed/pinmux-aspeed.h GROUP_DECL(func, __VA_ARGS__); \ func 745 drivers/pinctrl/aspeed/pinmux-aspeed.h FUNC_DECL_(func, #func) func 725 drivers/pinctrl/bcm/pinctrl-bcm2835.c u32 pin, func, pull; func 790 drivers/pinctrl/bcm/pinctrl-bcm2835.c (num_funcs > 1) ? i : 0, &func); func 794 drivers/pinctrl/bcm/pinctrl-bcm2835.c func, &cur_map); func 649 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c #define CYGNUS_PIN_FUNCTION(func) \ func 651 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c .name = #func, \ func 652 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c .groups = func ## _grps, \ func 653 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c .num_groups = ARRAY_SIZE(func ## _grps), \ func 776 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c const struct cygnus_pin_function *func, func 804 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c func->name, grp->name); func 834 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c const struct cygnus_pin_function *func = func 839 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c func_select, func->name, grp_select, grp->name); func 844 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c return cygnus_pinmux_set(pinctrl, func, grp, pinctrl->mux_log); func 480 drivers/pinctrl/bcm/pinctrl-ns2-mux.c #define NS2_PIN_FUNCTION(func) \ func 482 drivers/pinctrl/bcm/pinctrl-ns2-mux.c .name = #func, \ func 483 drivers/pinctrl/bcm/pinctrl-ns2-mux.c .groups = func ## _grps, \ func 484 drivers/pinctrl/bcm/pinctrl-ns2-mux.c .num_groups = ARRAY_SIZE(func ## _grps), \ func 572 drivers/pinctrl/bcm/pinctrl-ns2-mux.c const struct ns2_pin_function *func, func 600 drivers/pinctrl/bcm/pinctrl-ns2-mux.c func->name, grp->name); func 640 drivers/pinctrl/bcm/pinctrl-ns2-mux.c const struct ns2_pin_function *func; func 647 drivers/pinctrl/bcm/pinctrl-ns2-mux.c func = &pinctrl->functions[func_select]; func 651 drivers/pinctrl/bcm/pinctrl-ns2-mux.c func_select, func->name, grp_select, grp->name); func 656 drivers/pinctrl/bcm/pinctrl-ns2-mux.c return ns2_pinmux_set(pinctrl, func, grp, pinctrl->mux_log); func 291 drivers/pinctrl/bcm/pinctrl-nsp-mux.c #define NSP_PIN_FUNCTION(func) \ func 293 drivers/pinctrl/bcm/pinctrl-nsp-mux.c .name = #func, \ func 294 drivers/pinctrl/bcm/pinctrl-nsp-mux.c .groups = func ## _grps, \ func 295 drivers/pinctrl/bcm/pinctrl-nsp-mux.c .num_groups = ARRAY_SIZE(func ## _grps), \ func 389 drivers/pinctrl/bcm/pinctrl-nsp-mux.c const struct nsp_pin_function *func, func 416 drivers/pinctrl/bcm/pinctrl-nsp-mux.c func->name, grp->name); func 460 drivers/pinctrl/bcm/pinctrl-nsp-mux.c const struct nsp_pin_function *func; func 467 drivers/pinctrl/bcm/pinctrl-nsp-mux.c func = &pinctrl->functions[func_select]; func 471 drivers/pinctrl/bcm/pinctrl-nsp-mux.c func_select, func->name, grp_select, grp->name); func 476 drivers/pinctrl/bcm/pinctrl-nsp-mux.c return nsp_pinmux_set(pinctrl, func, grp, pinctrl->mux_log); func 156 drivers/pinctrl/berlin/berlin.c struct berlin_pinctrl_function *func = pctrl->functions + function; func 159 drivers/pinctrl/berlin/berlin.c func->name); func 911 drivers/pinctrl/cirrus/pinctrl-lochnagar.c const struct lochnagar_func *func = &priv->funcs[func_idx]; func 915 drivers/pinctrl/cirrus/pinctrl-lochnagar.c switch (func->type) { func 918 drivers/pinctrl/cirrus/pinctrl-lochnagar.c group->name, func->name); func 920 drivers/pinctrl/cirrus/pinctrl-lochnagar.c return lochnagar_aif_set_mux(priv, group, func->op); func 924 drivers/pinctrl/cirrus/pinctrl-lochnagar.c dev_dbg(priv->dev, "Set pin %s to %s\n", pin->name, func->name); func 926 drivers/pinctrl/cirrus/pinctrl-lochnagar.c return lochnagar_pin_set_mux(priv, pin, func->op); func 122 drivers/pinctrl/cirrus/pinctrl-madera-core.c u32 func; func 127 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 132 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 137 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 142 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 147 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 152 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 157 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 162 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 167 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 172 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 177 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 182 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 187 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x000 func 192 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x001 func 197 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x002 func 202 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x003 func 207 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x004 func 212 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x010 func 217 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x011 func 222 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x012 func 227 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x013 func 232 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x018 func 237 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x019 func 242 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x01a func 247 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x01b func 252 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x040 func 257 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x041 func 262 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x048 func 267 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x049 func 272 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x04c func 277 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x088 func 282 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x089 func 287 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x08a func 292 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x08b func 297 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x0b6 func 302 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x0b7 func 307 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x0e0 func 312 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x0e1 func 317 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x0e2 func 322 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x140 func 327 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x141 func 332 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x142 func 337 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x143 func 342 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x144 func 347 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x145 func 352 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x146 func 357 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x147 func 362 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x150 func 367 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x151 func 372 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x152 func 377 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x153 func 382 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x154 func 387 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x155 func 392 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x156 func 397 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x157 func 402 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x280 func 407 drivers/pinctrl/cirrus/pinctrl-madera-core.c .func = 0x281 func 491 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (madera_mux_funcs[i].func == fn) { func 597 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (madera_mux_funcs[selector].func == 0) { func 624 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (madera_mux_funcs[selector].func == 0) { func 658 drivers/pinctrl/cirrus/pinctrl-madera-core.c __func__, reg, madera_mux_funcs[selector].func); func 663 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_mux_funcs[selector].func); func 105 drivers/pinctrl/core.h unsigned func; func 245 drivers/pinctrl/freescale/pinctrl-imx.c struct function_desc *func; func 259 drivers/pinctrl/freescale/pinctrl-imx.c func = pinmux_generic_get_function(pctldev, selector); func 260 drivers/pinctrl/freescale/pinctrl-imx.c if (!func) func 266 drivers/pinctrl/freescale/pinctrl-imx.c func->name, grp->name); func 648 drivers/pinctrl/freescale/pinctrl-imx.c struct function_desc *func; func 654 drivers/pinctrl/freescale/pinctrl-imx.c func = pinmux_generic_get_function(pctl, index); func 655 drivers/pinctrl/freescale/pinctrl-imx.c if (!func) func 659 drivers/pinctrl/freescale/pinctrl-imx.c func->name = np->name; func 660 drivers/pinctrl/freescale/pinctrl-imx.c func->num_group_names = of_get_child_count(np); func 661 drivers/pinctrl/freescale/pinctrl-imx.c if (func->num_group_names == 0) { func 665 drivers/pinctrl/freescale/pinctrl-imx.c func->group_names = devm_kcalloc(ipctl->dev, func->num_group_names, func 667 drivers/pinctrl/freescale/pinctrl-imx.c if (!func->group_names) func 671 drivers/pinctrl/freescale/pinctrl-imx.c func->group_names[i] = child->name; func 510 drivers/pinctrl/freescale/pinctrl-imx1-core.c struct imx1_pmx_func *func; func 518 drivers/pinctrl/freescale/pinctrl-imx1-core.c func = &info->functions[index]; func 521 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->name = np->name; func 522 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->num_groups = of_get_child_count(np); func 523 drivers/pinctrl/freescale/pinctrl-imx1-core.c if (func->num_groups == 0) func 526 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->groups = devm_kcalloc(info->dev, func 527 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->num_groups, sizeof(char *), GFP_KERNEL); func 529 drivers/pinctrl/freescale/pinctrl-imx1-core.c if (!func->groups) func 533 drivers/pinctrl/freescale/pinctrl-imx1-core.c func->groups[i] = child->name; func 55 drivers/pinctrl/freescale/pinctrl-scu.c hdr->func = IMX_SC_PAD_FUNC_GET; func 91 drivers/pinctrl/freescale/pinctrl-scu.c hdr->func = IMX_SC_PAD_FUNC_SET; func 657 drivers/pinctrl/intel/pinctrl-baytrail.c unsigned int func) func 678 drivers/pinctrl/intel/pinctrl-baytrail.c value |= func; func 687 drivers/pinctrl/intel/pinctrl-baytrail.c const unsigned int *func) func 708 drivers/pinctrl/intel/pinctrl-baytrail.c value |= func[i]; func 719 drivers/pinctrl/intel/pinctrl-baytrail.c const struct intel_function func = vg->soc_data->functions[func_selector]; func 724 drivers/pinctrl/intel/pinctrl-baytrail.c else if (!strcmp(func.name, "gpio")) func 42 drivers/pinctrl/mediatek/pinctrl-moore.c struct function_desc *func; func 46 drivers/pinctrl/mediatek/pinctrl-moore.c func = pinmux_generic_get_function(pctldev, selector); func 47 drivers/pinctrl/mediatek/pinctrl-moore.c if (!func) func 55 drivers/pinctrl/mediatek/pinctrl-moore.c func->name, grp->name); func 572 drivers/pinctrl/mediatek/pinctrl-moore.c const struct function_desc *func = hw->soc->funcs + i; func 574 drivers/pinctrl/mediatek/pinctrl-moore.c err = pinmux_generic_add_function(hw->pctrl, func->name, func 575 drivers/pinctrl/mediatek/pinctrl-moore.c func->group_names, func 576 drivers/pinctrl/mediatek/pinctrl-moore.c func->num_group_names, func 577 drivers/pinctrl/mediatek/pinctrl-moore.c func->data); func 580 drivers/pinctrl/mediatek/pinctrl-moore.c func->name); func 428 drivers/pinctrl/mediatek/pinctrl-mtk-common.c const struct mtk_desc_function *func = pin->functions; func 430 drivers/pinctrl/mediatek/pinctrl-mtk-common.c while (func && func->name) { func 431 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (func->muxval == fnum) func 432 drivers/pinctrl/mediatek/pinctrl-mtk-common.c return func; func 433 drivers/pinctrl/mediatek/pinctrl-mtk-common.c func++; func 448 drivers/pinctrl/mediatek/pinctrl-mtk-common.c const struct mtk_desc_function *func = func 451 drivers/pinctrl/mediatek/pinctrl-mtk-common.c while (func && func->name) { func 452 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (func->muxval == fnum) func 454 drivers/pinctrl/mediatek/pinctrl-mtk-common.c func++; func 497 drivers/pinctrl/mediatek/pinctrl-mtk-common.c u32 pinfunc, pin, func; func 549 drivers/pinctrl/mediatek/pinctrl-mtk-common.c func = MTK_GET_PIN_FUNC(pinfunc); func 552 drivers/pinctrl/mediatek/pinctrl-mtk-common.c func >= ARRAY_SIZE(mtk_gpio_functions)) { func 566 drivers/pinctrl/mediatek/pinctrl-mtk-common.c err = mtk_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map, func 739 drivers/pinctrl/mediatek/pinctrl-mtk-common.c const struct mtk_desc_function *func = pin->functions; func 741 drivers/pinctrl/mediatek/pinctrl-mtk-common.c while (func && func->name) { func 742 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (!strncmp(func->name, GPIO_MODE_PREFIX, func 744 drivers/pinctrl/mediatek/pinctrl-mtk-common.c return func->muxval; func 745 drivers/pinctrl/mediatek/pinctrl-mtk-common.c func++; func 362 drivers/pinctrl/mediatek/pinctrl-paris.c const struct mtk_func_desc *func = pin->funcs; func 364 drivers/pinctrl/mediatek/pinctrl-paris.c while (func && func->name) { func 365 drivers/pinctrl/mediatek/pinctrl-paris.c if (func->muxval == fnum) func 366 drivers/pinctrl/mediatek/pinctrl-paris.c return func; func 367 drivers/pinctrl/mediatek/pinctrl-paris.c func++; func 382 drivers/pinctrl/mediatek/pinctrl-paris.c const struct mtk_func_desc *func = pin->funcs; func 384 drivers/pinctrl/mediatek/pinctrl-paris.c while (func && func->name) { func 385 drivers/pinctrl/mediatek/pinctrl-paris.c if (func->muxval == fnum) func 387 drivers/pinctrl/mediatek/pinctrl-paris.c func++; func 437 drivers/pinctrl/mediatek/pinctrl-paris.c u32 pinfunc, pin, func; func 482 drivers/pinctrl/mediatek/pinctrl-paris.c func = MTK_GET_PIN_FUNC(pinfunc); func 485 drivers/pinctrl/mediatek/pinctrl-paris.c func >= ARRAY_SIZE(mtk_gpio_functions)) { func 499 drivers/pinctrl/mediatek/pinctrl-paris.c err = mtk_pctrl_dt_node_to_map_func(hw, pin, func, grp, map, func 61 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c unsigned int pin, unsigned int func) func 75 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c 0xf << offset, (func & 0xf) << offset); func 86 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c struct meson_pmx_func *func = &pc->data->funcs[func_num]; func 91 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c dev_dbg(pc->dev, "enable function %s, group %s\n", func->name, func 96 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c pmx_data->func); func 34 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h unsigned int func; func 39 drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h .func = f, \ func 60 drivers/pinctrl/meson/pinctrl-meson8-pmx.c struct meson_pmx_func *func = &pc->data->funcs[func_num]; func 66 drivers/pinctrl/meson/pinctrl-meson8-pmx.c dev_dbg(pc->dev, "enable function %s, group %s\n", func->name, func 346 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c int func, val; func 351 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c func = match_string(grp->funcs, NB_FUNCS, name); func 352 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c if (func < 0) func 355 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c val = grp->val[func]; func 69 drivers/pinctrl/mvebu/pinctrl-dove.c unsigned long func; func 74 drivers/pinctrl/mvebu/pinctrl-dove.c func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); func 75 drivers/pinctrl/mvebu/pinctrl-dove.c *config = (func >> shift) & MVEBU_MPP_MASK; func 87 drivers/pinctrl/mvebu/pinctrl-dove.c unsigned long func; func 95 drivers/pinctrl/mvebu/pinctrl-dove.c func = readl(pmu_base + PMU_SIGNAL_SELECT_0 + off); func 96 drivers/pinctrl/mvebu/pinctrl-dove.c func &= ~(MVEBU_MPP_MASK << shift); func 97 drivers/pinctrl/mvebu/pinctrl-dove.c func |= (config & MVEBU_MPP_MASK) << shift; func 98 drivers/pinctrl/mvebu/pinctrl-dove.c writel(func, pmu_base + PMU_SIGNAL_SELECT_0 + off); func 288 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct mvebu_pinctrl_function *func = &pctl->functions[fid]; func 295 drivers/pinctrl/mvebu/pinctrl-mvebu.c func->name); func 299 drivers/pinctrl/mvebu/pinctrl-mvebu.c func->name, func->groups[gid]); func 307 drivers/pinctrl/mvebu/pinctrl-mvebu.c func->groups[gid], func->name); func 523 drivers/pinctrl/pinctrl-at91-pio4.c const char *group, *func; func 530 drivers/pinctrl/pinctrl-at91-pio4.c &func); func 535 drivers/pinctrl/pinctrl-at91-pio4.c group, func); func 1226 drivers/pinctrl/pinctrl-at91.c struct at91_pmx_func *func; func 1234 drivers/pinctrl/pinctrl-at91.c func = &info->functions[index]; func 1237 drivers/pinctrl/pinctrl-at91.c func->name = np->name; func 1238 drivers/pinctrl/pinctrl-at91.c func->ngroups = of_get_child_count(np); func 1239 drivers/pinctrl/pinctrl-at91.c if (func->ngroups == 0) { func 1243 drivers/pinctrl/pinctrl-at91.c func->groups = devm_kcalloc(info->dev, func 1244 drivers/pinctrl/pinctrl-at91.c func->ngroups, sizeof(char *), GFP_KERNEL); func 1245 drivers/pinctrl/pinctrl-at91.c if (!func->groups) func 1249 drivers/pinctrl/pinctrl-at91.c func->groups[i] = child->name; func 317 drivers/pinctrl/pinctrl-axp209.c struct axp20x_pinctrl_function *func, func 325 drivers/pinctrl/pinctrl-axp209.c func->ngroups = ngroups; func 326 drivers/pinctrl/pinctrl-axp209.c if (func->ngroups > 0) { func 327 drivers/pinctrl/pinctrl-axp209.c func->groups = devm_kcalloc(dev, func 330 drivers/pinctrl/pinctrl-axp209.c if (!func->groups) func 332 drivers/pinctrl/pinctrl-axp209.c group = func->groups; func 986 drivers/pinctrl/pinctrl-bm1880.c const struct bm1880_pinmux_function *func = &pctrl->funcs[function]; func 997 drivers/pinctrl/pinctrl-bm1880.c regval |= func->mux_val << mux_offset; func 55 drivers/pinctrl/pinctrl-falcon.c .func = { \ func 2192 drivers/pinctrl/pinctrl-gemini.c const struct gemini_pmx_func *func; func 2200 drivers/pinctrl/pinctrl-gemini.c func = &gemini_pmx_functions[selector]; func 2212 drivers/pinctrl/pinctrl-gemini.c func->name, grp->name); func 1664 drivers/pinctrl/pinctrl-ingenic.c int pin, int func) func 1670 drivers/pinctrl/pinctrl-ingenic.c 'A' + offt, idx, func); func 1675 drivers/pinctrl/pinctrl-ingenic.c ingenic_shadow_config_pin(jzpc, pin, JZ4760_GPIO_PAT1, func & 0x2); func 1676 drivers/pinctrl/pinctrl-ingenic.c ingenic_shadow_config_pin(jzpc, pin, JZ4760_GPIO_PAT0, func & 0x1); func 1681 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4760_GPIO_PAT1, func & 0x2); func 1682 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4760_GPIO_PAT0, func & 0x1); func 1685 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4740_GPIO_TRIG, func & 0x2); func 1686 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4740_GPIO_SELECT, func > 0); func 1696 drivers/pinctrl/pinctrl-ingenic.c struct function_desc *func; func 1700 drivers/pinctrl/pinctrl-ingenic.c func = pinmux_generic_get_function(pctldev, selector); func 1701 drivers/pinctrl/pinctrl-ingenic.c if (!func) func 1709 drivers/pinctrl/pinctrl-ingenic.c func->name, grp->name); func 2112 drivers/pinctrl/pinctrl-ingenic.c const struct function_desc *func = &chip_info->functions[i]; func 2114 drivers/pinctrl/pinctrl-ingenic.c err = pinmux_generic_add_function(jzpc->pctl, func->name, func 2115 drivers/pinctrl/pinctrl-ingenic.c func->group_names, func->num_group_names, func 2116 drivers/pinctrl/pinctrl-ingenic.c func->data); func 2119 drivers/pinctrl/pinctrl-ingenic.c func->name); func 199 drivers/pinctrl/pinctrl-lantiq.c unsigned func, func 205 drivers/pinctrl/pinctrl-lantiq.c *groups = info->funcs[func].groups; func 206 drivers/pinctrl/pinctrl-lantiq.c *num_groups = info->funcs[func].num_groups; func 216 drivers/pinctrl/pinctrl-lantiq.c if (mfp->func[i] == mux) func 259 drivers/pinctrl/pinctrl-lantiq.c unsigned func, func 46 drivers/pinctrl/pinctrl-lantiq.h const unsigned short func[LTQ_MAX_MUX]; func 190 drivers/pinctrl/pinctrl-lpc18xx.c struct lpc18xx_pmx_func func[FUNC_MAX]; func 1146 drivers/pinctrl/pinctrl-lpc18xx.c *groups = scu->func[function].groups; func 1147 drivers/pinctrl/pinctrl-lpc18xx.c *num_groups = scu->func[function].ngroups; func 1157 drivers/pinctrl/pinctrl-lpc18xx.c int func; func 1202 drivers/pinctrl/pinctrl-lpc18xx.c for (func = 0; func < LPC18XX_SCU_FUNC_PER_PIN; func++) { func 1203 drivers/pinctrl/pinctrl-lpc18xx.c if (function == pin->functions[func]) func 1207 drivers/pinctrl/pinctrl-lpc18xx.c if (func >= LPC18XX_SCU_FUNC_PER_PIN) func 1212 drivers/pinctrl/pinctrl-lpc18xx.c writel(reg | func, scu->base + pin->offset); func 1302 drivers/pinctrl/pinctrl-lpc18xx.c int func, ngroups, i; func 1304 drivers/pinctrl/pinctrl-lpc18xx.c for (func = 0; func < FUNC_MAX; func++) { func 1306 drivers/pinctrl/pinctrl-lpc18xx.c if (lpc18xx_valid_pin_function(i, func)) func 1310 drivers/pinctrl/pinctrl-lpc18xx.c scu->func[func].ngroups = ngroups; func 1311 drivers/pinctrl/pinctrl-lpc18xx.c scu->func[func].groups = devm_kcalloc(dev, func 1314 drivers/pinctrl/pinctrl-lpc18xx.c if (!scu->func[func].groups) func 1318 drivers/pinctrl/pinctrl-lpc18xx.c scu->func[func].groups[i] = lpc18xx_pins[pins[i]].name; func 149 drivers/pinctrl/pinctrl-ocelot.c struct ocelot_pmx_func func[FUNC_MAX]; func 379 drivers/pinctrl/pinctrl-ocelot.c *groups = info->func[function].groups; func 380 drivers/pinctrl/pinctrl-ocelot.c *num_groups = info->func[function].ngroups; func 539 drivers/pinctrl/pinctrl-ocelot.c info->func[f].ngroups = npins; func 540 drivers/pinctrl/pinctrl-ocelot.c info->func[f].groups = devm_kcalloc(dev, npins, sizeof(char *), func 542 drivers/pinctrl/pinctrl-ocelot.c if (!info->func[f].groups) { func 548 drivers/pinctrl/pinctrl-ocelot.c info->func[f].groups[i] = info->desc->pins[pins[i]].name; func 567 drivers/pinctrl/pinctrl-oxnas.c oxnas_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned int func) func 571 drivers/pinctrl/pinctrl-oxnas.c return pctl->functions[func].name; func 575 drivers/pinctrl/pinctrl-oxnas.c unsigned int func, func 581 drivers/pinctrl/pinctrl-oxnas.c *groups = pctl->functions[func].groups; func 582 drivers/pinctrl/pinctrl-oxnas.c *num_groups = pctl->functions[func].ngroups; func 588 drivers/pinctrl/pinctrl-oxnas.c unsigned int func, unsigned int group) func 592 drivers/pinctrl/pinctrl-oxnas.c const struct oxnas_function *pf = &pctl->functions[func]; func 632 drivers/pinctrl/pinctrl-oxnas.c dev_err(pctl->dev, "cannot mux pin %u to function %u\n", group, func); func 638 drivers/pinctrl/pinctrl-oxnas.c unsigned int func, unsigned int group) func 642 drivers/pinctrl/pinctrl-oxnas.c const struct oxnas_function *pf = &pctl->functions[func]; func 687 drivers/pinctrl/pinctrl-oxnas.c dev_err(pctl->dev, "cannot mux pin %u to function %u\n", group, func); func 1749 drivers/pinctrl/pinctrl-pic32.c pic32_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func) func 1753 drivers/pinctrl/pinctrl-pic32.c return pctl->functions[func].name; func 1757 drivers/pinctrl/pinctrl-pic32.c unsigned func, func 1763 drivers/pinctrl/pinctrl-pic32.c *groups = pctl->functions[func].groups; func 1764 drivers/pinctrl/pinctrl-pic32.c *num_groups = pctl->functions[func].ngroups; func 1770 drivers/pinctrl/pinctrl-pic32.c unsigned func, unsigned group) func 1774 drivers/pinctrl/pinctrl-pic32.c const struct pic32_function *pf = &pctl->functions[func]; func 1792 drivers/pinctrl/pinctrl-pic32.c dev_err(pctl->dev, "cannot mux pin %u to function %u\n", group, func); func 923 drivers/pinctrl/pinctrl-pistachio.c pistachio_pinmux_get_function_name(struct pinctrl_dev *pctldev, unsigned func) func 927 drivers/pinctrl/pinctrl-pistachio.c return pctl->functions[func].name; func 931 drivers/pinctrl/pinctrl-pistachio.c unsigned func, func 937 drivers/pinctrl/pinctrl-pistachio.c *groups = pctl->functions[func].groups; func 938 drivers/pinctrl/pinctrl-pistachio.c *num_groups = pctl->functions[func].ngroups; func 944 drivers/pinctrl/pinctrl-pistachio.c unsigned func, unsigned group) func 948 drivers/pinctrl/pinctrl-pistachio.c const struct pistachio_function *pf = &pctl->functions[func]; func 955 drivers/pinctrl/pinctrl-pistachio.c if (pg->mux_option[i] == func) func 960 drivers/pinctrl/pinctrl-pistachio.c group, func); func 319 drivers/pinctrl/pinctrl-rockchip.c u8 func; func 354 drivers/pinctrl/pinctrl-rockchip.c unsigned int func; func 709 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 716 drivers/pinctrl/pinctrl-rockchip.c .func = 3, func 723 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 730 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 737 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 744 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 751 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 758 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 769 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 776 drivers/pinctrl/pinctrl-rockchip.c .func = 3, func 783 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 790 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 797 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 804 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 811 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 822 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 830 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 842 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 849 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 856 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 863 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 870 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 877 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 884 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 891 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 898 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 905 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 912 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 919 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 926 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 933 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 940 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 947 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 954 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 961 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 972 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 979 drivers/pinctrl/pinctrl-rockchip.c .func = 4, func 990 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 997 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 1004 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1011 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1018 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1025 drivers/pinctrl/pinctrl-rockchip.c .func = 3, func 1032 drivers/pinctrl/pinctrl-rockchip.c .func = 4, func 1039 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 1046 drivers/pinctrl/pinctrl-rockchip.c .func = 6, func 1053 drivers/pinctrl/pinctrl-rockchip.c .func = 3, func 1060 drivers/pinctrl/pinctrl-rockchip.c .func = 3, func 1067 drivers/pinctrl/pinctrl-rockchip.c .func = 4, func 1078 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1085 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1092 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 1099 drivers/pinctrl/pinctrl-rockchip.c .func = 2, func 1106 drivers/pinctrl/pinctrl-rockchip.c .func = 1, func 1123 drivers/pinctrl/pinctrl-rockchip.c (data->pin == pin) && (data->func == mux)) func 2183 drivers/pinctrl/pinctrl-rockchip.c data[cnt].func); func 2527 drivers/pinctrl/pinctrl-rockchip.c grp->data[j].func = be32_to_cpu(*list++); func 2548 drivers/pinctrl/pinctrl-rockchip.c struct rockchip_pmx_func *func; func 2556 drivers/pinctrl/pinctrl-rockchip.c func = &info->functions[index]; func 2559 drivers/pinctrl/pinctrl-rockchip.c func->name = np->name; func 2560 drivers/pinctrl/pinctrl-rockchip.c func->ngroups = of_get_child_count(np); func 2561 drivers/pinctrl/pinctrl-rockchip.c if (func->ngroups <= 0) func 2564 drivers/pinctrl/pinctrl-rockchip.c func->groups = devm_kcalloc(info->dev, func 2565 drivers/pinctrl/pinctrl-rockchip.c func->ngroups, sizeof(char *), GFP_KERNEL); func 2566 drivers/pinctrl/pinctrl-rockchip.c if (!func->groups) func 2570 drivers/pinctrl/pinctrl-rockchip.c func->groups[i] = child->name; func 83 drivers/pinctrl/pinctrl-rza1.c u8 func: 4; func 101 drivers/pinctrl/pinctrl-rza1.c u16 func: 4; func 126 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 127 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 128 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 129 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 130 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 131 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 132 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 133 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 137 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 138 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 139 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 140 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 141 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 142 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 4 }, func 143 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 4 }, func 144 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 4 }, func 145 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 4 }, func 146 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 147 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 148 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 149 drivers/pinctrl/pinctrl-rza1.c { .pin = 8, .func = 1 }, func 150 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 1 }, func 151 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 1 }, func 152 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 1 }, func 153 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 1 }, func 154 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 1 }, func 155 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 1 }, func 156 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 1 }, func 157 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 4 }, func 158 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 4 }, func 159 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 4 }, func 160 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 4 }, func 164 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 2 }, func 165 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 7 }, func 166 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 7 }, func 167 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 7 }, func 168 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 7 }, func 169 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 7 }, func 170 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 8 }, func 171 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 8 }, func 172 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 8 }, func 173 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 8 }, func 174 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 8 }, func 178 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 8 }, func 179 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 8 }, func 180 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 8 }, func 181 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 8 }, func 182 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 3 }, func 183 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 3 }, func 184 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 3 }, func 185 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 3 }, func 186 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 3 }, func 187 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 4 }, func 188 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 4 }, func 189 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 4 }, func 190 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 4 }, func 191 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 4 }, func 192 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 5 }, func 193 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 5 }, func 194 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 5 }, func 195 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 5 }, func 199 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 200 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 201 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 202 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 203 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 204 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 205 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 206 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 207 drivers/pinctrl/pinctrl-rza1.c { .pin = 8, .func = 1 }, func 208 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 1 }, func 209 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 1 }, func 210 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 1 }, func 211 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 1 }, func 212 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 1 }, func 213 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 1 }, func 214 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 1 }, func 218 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 3 }, func 222 drivers/pinctrl/pinctrl-rza1.c { .pin = 8, .func = 3 }, func 223 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 3 }, func 224 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 3 }, func 225 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 3 }, func 226 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 2 }, func 227 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 2 }, func 228 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 3 }, func 229 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 3 }, func 233 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 2 }, func 234 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 2 }, func 235 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 2 }, func 236 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 2 }, func 237 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 2 }, func 238 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 2 }, func 242 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 2 }, func 243 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 2 }, func 244 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 2 }, func 245 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 4 }, func 246 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 4 }, func 247 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 4 }, func 248 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 2 }, func 249 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 2 }, func 250 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 4 }, func 251 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 4 }, func 252 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 4 }, func 253 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 4 }, func 254 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 4 }, func 255 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 4 }, func 259 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 7, .func = 4, .input = 0 }, func 260 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 11, .func = 4, .input = 0 }, func 261 drivers/pinctrl/pinctrl-rza1.c { .port = 3, .pin = 7, .func = 3, .input = 0 }, func 262 drivers/pinctrl/pinctrl-rza1.c { .port = 3, .pin = 7, .func = 8, .input = 0 }, func 263 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 7, .func = 5, .input = 0 }, func 264 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 7, .func = 11, .input = 0 }, func 265 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 15, .func = 6, .input = 0 }, func 266 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 0, .func = 1, .input = 1 }, func 267 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 1, .func = 1, .input = 1 }, func 268 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 2, .func = 1, .input = 1 }, func 269 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 3, .func = 1, .input = 1 }, func 270 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 4, .func = 1, .input = 1 }, func 271 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 5, .func = 1, .input = 1 }, func 272 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 6, .func = 1, .input = 1 }, func 273 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 7, .func = 1, .input = 1 }, func 274 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 4, .func = 6, .input = 0 }, func 275 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 11, .func = 2, .input = 0 }, func 276 drivers/pinctrl/pinctrl-rza1.c { .port = 8, .pin = 10, .func = 8, .input = 0 }, func 277 drivers/pinctrl/pinctrl-rza1.c { .port = 10, .pin = 15, .func = 2, .input = 0 }, func 307 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 308 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 309 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 310 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 311 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 312 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 313 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 314 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 318 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 2 }, func 319 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 2 }, func 320 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 2 }, func 321 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 2 }, func 322 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 2 }, func 323 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 2 }, func 324 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 2 }, func 325 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 2 }, func 326 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 2 }, func 330 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 4 }, func 331 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 2 }, func 332 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 2 }, func 333 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 2 }, func 334 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 2 }, func 338 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 339 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 340 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 341 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 342 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 343 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 344 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 345 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 346 drivers/pinctrl/pinctrl-rza1.c { .pin = 8, .func = 1 }, func 347 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 1 }, func 348 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 1 }, func 349 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 1 }, func 350 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 1 }, func 351 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 1 }, func 352 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 1 }, func 353 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 1 }, func 354 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 2 }, func 355 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 2 }, func 356 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 2 }, func 357 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 2 }, func 361 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 1 }, func 362 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 1 }, func 363 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 1 }, func 364 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 1 }, func 365 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 1 }, func 366 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 1 }, func 367 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 1 }, func 368 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 1 }, func 369 drivers/pinctrl/pinctrl-rza1.c { .pin = 8, .func = 1 }, func 370 drivers/pinctrl/pinctrl-rza1.c { .pin = 9, .func = 1 }, func 371 drivers/pinctrl/pinctrl-rza1.c { .pin = 10, .func = 1 }, func 372 drivers/pinctrl/pinctrl-rza1.c { .pin = 11, .func = 1 }, func 373 drivers/pinctrl/pinctrl-rza1.c { .pin = 12, .func = 1 }, func 374 drivers/pinctrl/pinctrl-rza1.c { .pin = 13, .func = 1 }, func 375 drivers/pinctrl/pinctrl-rza1.c { .pin = 14, .func = 1 }, func 376 drivers/pinctrl/pinctrl-rza1.c { .pin = 15, .func = 1 }, func 380 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 2 }, func 381 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 2 }, func 382 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 2 }, func 383 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 2 }, func 384 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 2 }, func 385 drivers/pinctrl/pinctrl-rza1.c { .pin = 2, .func = 3 }, func 386 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 3 }, func 387 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 3 }, func 388 drivers/pinctrl/pinctrl-rza1.c { .pin = 6, .func = 3 }, func 389 drivers/pinctrl/pinctrl-rza1.c { .pin = 7, .func = 3 }, func 393 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 2 }, func 394 drivers/pinctrl/pinctrl-rza1.c { .pin = 0, .func = 3 }, func 395 drivers/pinctrl/pinctrl-rza1.c { .pin = 1, .func = 3 }, func 396 drivers/pinctrl/pinctrl-rza1.c { .pin = 3, .func = 3 }, func 397 drivers/pinctrl/pinctrl-rza1.c { .pin = 4, .func = 3 }, func 398 drivers/pinctrl/pinctrl-rza1.c { .pin = 5, .func = 3 }, func 402 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 8, .func = 2, .input = 0 }, func 403 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 6, .func = 3, .input = 0 }, func 404 drivers/pinctrl/pinctrl-rza1.c { .port = 6, .pin = 6, .func = 3, .input = 0 }, func 405 drivers/pinctrl/pinctrl-rza1.c { .port = 6, .pin = 10, .func = 3, .input = 0 }, func 406 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 10, .func = 2, .input = 0 }, func 407 drivers/pinctrl/pinctrl-rza1.c { .port = 8, .pin = 2, .func = 3, .input = 0 }, func 504 drivers/pinctrl/pinctrl-rza1.c unsigned int func, func 513 drivers/pinctrl/pinctrl-rza1.c if (bidir_pin->pin == pin && bidir_pin->func == func) func 522 drivers/pinctrl/pinctrl-rza1.c unsigned int func, func 532 drivers/pinctrl/pinctrl-rza1.c swio_pin->func == func) func 543 drivers/pinctrl/pinctrl-rza1.c unsigned int func, func 553 drivers/pinctrl/pinctrl-rza1.c if (rza1_pinmux_get_bidir(port, pin, func, bidir_entries)) func 556 drivers/pinctrl/pinctrl-rza1.c ret = rza1_pinmux_get_swio(port, pin, func, swio_entries); func 1122 drivers/pinctrl/pinctrl-rza1.c struct function_desc *func; func 1130 drivers/pinctrl/pinctrl-rza1.c func = pinmux_generic_get_function(pctldev, selector); func 1131 drivers/pinctrl/pinctrl-rza1.c if (!func) func 1134 drivers/pinctrl/pinctrl-rza1.c mux_confs = (struct rza1_mux_conf *)func->data; func 73 drivers/pinctrl/pinctrl-rza2.c u8 func) func 95 drivers/pinctrl/pinctrl-rza2.c writeb(func, pfc_base + RZA2_PFS(port, pin)); func 425 drivers/pinctrl/pinctrl-rza2.c struct function_desc *func; func 433 drivers/pinctrl/pinctrl-rza2.c func = pinmux_generic_get_function(pctldev, selector); func 434 drivers/pinctrl/pinctrl-rza2.c if (!func) func 437 drivers/pinctrl/pinctrl-rza2.c psel_val = func->data; func 101 drivers/pinctrl/pinctrl-rzn1.c const char *func; func 196 drivers/pinctrl/pinctrl-rzn1.c u32 func) func 198 drivers/pinctrl/pinctrl-rzn1.c if (ipctl->mdio_func[mdio] >= 0 && ipctl->mdio_func[mdio] != func) func 200 drivers/pinctrl/pinctrl-rzn1.c ipctl->mdio_func[mdio] = func; func 202 drivers/pinctrl/pinctrl-rzn1.c dev_dbg(ipctl->dev, "setting mdio%d to %u\n", mdio, func); func 204 drivers/pinctrl/pinctrl-rzn1.c writel(func, &ipctl->lev2->l2_mdio[mdio]); func 375 drivers/pinctrl/pinctrl-rzn1.c grp->name, grp->func); func 390 drivers/pinctrl/pinctrl-rzn1.c grp->func, grp->name, grp->npins); func 757 drivers/pinctrl/pinctrl-rzn1.c struct rzn1_pmx_func *func; func 763 drivers/pinctrl/pinctrl-rzn1.c func = &ipctl->functions[index]; func 766 drivers/pinctrl/pinctrl-rzn1.c func->name = np->name; func 767 drivers/pinctrl/pinctrl-rzn1.c func->num_groups = rzn1_pinctrl_count_function_groups(np); func 768 drivers/pinctrl/pinctrl-rzn1.c if (func->num_groups == 0) { func 773 drivers/pinctrl/pinctrl-rzn1.c np->name, func->num_groups); func 775 drivers/pinctrl/pinctrl-rzn1.c func->groups = devm_kmalloc_array(ipctl->dev, func 776 drivers/pinctrl/pinctrl-rzn1.c func->num_groups, sizeof(char *), func 778 drivers/pinctrl/pinctrl-rzn1.c if (!func->groups) func 782 drivers/pinctrl/pinctrl-rzn1.c func->groups[i] = np->name; func 784 drivers/pinctrl/pinctrl-rzn1.c grp->func = func->name; func 793 drivers/pinctrl/pinctrl-rzn1.c func->groups[i] = child->name; func 795 drivers/pinctrl/pinctrl-rzn1.c grp->func = func->name; func 806 drivers/pinctrl/pinctrl-rzn1.c np->name, i, func->num_groups); func 312 drivers/pinctrl/pinctrl-single.c struct pcs_function **func) func 324 drivers/pinctrl/pinctrl-single.c fselector = setting->func; func 326 drivers/pinctrl/pinctrl-single.c *func = function->data; func 327 drivers/pinctrl/pinctrl-single.c if (!(*func)) { func 340 drivers/pinctrl/pinctrl-single.c struct pcs_function *func; func 348 drivers/pinctrl/pinctrl-single.c func = function->data; func 349 drivers/pinctrl/pinctrl-single.c if (!func) func 353 drivers/pinctrl/pinctrl-single.c func->name, fselector); func 355 drivers/pinctrl/pinctrl-single.c for (i = 0; i < func->nvals; i++) { func 360 drivers/pinctrl/pinctrl-single.c vals = &func->vals[i]; func 463 drivers/pinctrl/pinctrl-single.c struct pcs_function *func; func 467 drivers/pinctrl/pinctrl-single.c ret = pcs_get_function(pctldev, pin, &func); func 471 drivers/pinctrl/pinctrl-single.c for (i = 0; i < func->nconfs; i++) { func 480 drivers/pinctrl/pinctrl-single.c } else if (param != func->conf[i].param) { func 485 drivers/pinctrl/pinctrl-single.c data = pcs->read(pcs->base + offset) & func->conf[i].mask; func 486 drivers/pinctrl/pinctrl-single.c switch (func->conf[i].param) { func 491 drivers/pinctrl/pinctrl-single.c if ((data != func->conf[i].enable) || func 492 drivers/pinctrl/pinctrl-single.c (data == func->conf[i].disable)) func 498 drivers/pinctrl/pinctrl-single.c for (j = 0; j < func->nconfs; j++) { func 499 drivers/pinctrl/pinctrl-single.c switch (func->conf[j].param) { func 501 drivers/pinctrl/pinctrl-single.c if (data != func->conf[j].enable) func 527 drivers/pinctrl/pinctrl-single.c struct pcs_function *func; func 532 drivers/pinctrl/pinctrl-single.c ret = pcs_get_function(pctldev, pin, &func); func 537 drivers/pinctrl/pinctrl-single.c for (i = 0; i < func->nconfs; i++) { func 539 drivers/pinctrl/pinctrl-single.c != func->conf[i].param) func 545 drivers/pinctrl/pinctrl-single.c switch (func->conf[i].param) { func 551 drivers/pinctrl/pinctrl-single.c shift = ffs(func->conf[i].mask) - 1; func 552 drivers/pinctrl/pinctrl-single.c data &= ~func->conf[i].mask; func 553 drivers/pinctrl/pinctrl-single.c data |= (arg << shift) & func->conf[i].mask; func 565 drivers/pinctrl/pinctrl-single.c data &= ~func->conf[i].mask; func 567 drivers/pinctrl/pinctrl-single.c data |= func->conf[i].enable; func 569 drivers/pinctrl/pinctrl-single.c data |= func->conf[i].disable; func 578 drivers/pinctrl/pinctrl-single.c if (i >= func->nconfs) func 896 drivers/pinctrl/pinctrl-single.c struct pcs_function *func, func 933 drivers/pinctrl/pinctrl-single.c func->conf = devm_kcalloc(pcs->dev, func 936 drivers/pinctrl/pinctrl-single.c if (!func->conf) func 938 drivers/pinctrl/pinctrl-single.c func->nconfs = nconfs; func 939 drivers/pinctrl/pinctrl-single.c conf = &(func->conf[0]); func 1244 drivers/pinctrl/pinctrl-st.c struct st_pmx_func *func; func 1248 drivers/pinctrl/pinctrl-st.c func = &info->functions[index]; func 1249 drivers/pinctrl/pinctrl-st.c func->name = np->name; func 1250 drivers/pinctrl/pinctrl-st.c func->ngroups = of_get_child_count(np); func 1251 drivers/pinctrl/pinctrl-st.c if (func->ngroups == 0) { func 1255 drivers/pinctrl/pinctrl-st.c func->groups = devm_kcalloc(info->dev, func 1256 drivers/pinctrl/pinctrl-st.c func->ngroups, sizeof(char *), GFP_KERNEL); func 1257 drivers/pinctrl/pinctrl-st.c if (!func->groups) func 1262 drivers/pinctrl/pinctrl-st.c func->groups[i] = child->name; func 1272 drivers/pinctrl/pinctrl-st.c index, func->name, func->ngroups); func 569 drivers/pinctrl/pinctrl-stmfx.c u32 func = STMFX_FUNC_GPIO; func 575 drivers/pinctrl/pinctrl-stmfx.c func |= STMFX_FUNC_ALTGPIO_LOW; func 581 drivers/pinctrl/pinctrl-stmfx.c func |= STMFX_FUNC_ALTGPIO_HIGH; func 585 drivers/pinctrl/pinctrl-stmfx.c return stmfx_function_enable(pctl->stmfx, func); func 67 drivers/pinctrl/pinctrl-xway.c .func = { \ func 79 drivers/pinctrl/pinctrl-xway.c { .func = f, .mux = XWAY_MUX_##m, } func 895 drivers/pinctrl/pinctrl-zynq.c const struct zynq_pinmux_function *func = &pctrl->funcs[function]; func 907 drivers/pinctrl/pinctrl-zynq.c pctrl->pctrl_offset + func->mux, ®); func 911 drivers/pinctrl/pinctrl-zynq.c reg &= ~func->mux_mask; func 912 drivers/pinctrl/pinctrl-zynq.c reg |= pgrp->pins[0] << func->mux_shift; func 914 drivers/pinctrl/pinctrl-zynq.c pctrl->pctrl_offset + func->mux, reg); func 927 drivers/pinctrl/pinctrl-zynq.c reg |= func->mux_val << ZYNQ_PINMUX_MUX_SHIFT; func 357 drivers/pinctrl/pinmux.c setting->data.mux.func = ret; func 359 drivers/pinctrl/pinmux.c ret = pmxops->get_function_groups(pctldev, setting->data.mux.func, func 460 drivers/pinctrl/pinmux.c ret = ops->set_mux(pctldev, setting->data.mux.func, func 548 drivers/pinctrl/pinmux.c const char *func = pmxops->get_function_name(pctldev, func 559 drivers/pinctrl/pinmux.c func); func 564 drivers/pinctrl/pinmux.c seq_printf(s, "function: %s, groups = [ ", func); func 637 drivers/pinctrl/pinmux.c desc->mux_setting->func), func 666 drivers/pinctrl/pinmux.c pmxops->get_function_name(pctldev, setting->data.mux.func), func 667 drivers/pinctrl/pinmux.c setting->data.mux.func); func 255 drivers/pinctrl/pxa/pinctrl-pxa2xx.c const struct pxa_pinctrl_function *func; func 257 drivers/pinctrl/pxa/pinctrl-pxa2xx.c for (func = functions; func->name; func++) func 258 drivers/pinctrl/pxa/pinctrl-pxa2xx.c if (!strcmp(fname, func->name)) func 259 drivers/pinctrl/pxa/pinctrl-pxa2xx.c return func; func 298 drivers/pinctrl/pxa/pinctrl-pxa2xx.c struct pxa_pinctrl_function *func; func 316 drivers/pinctrl/pxa/pinctrl-pxa2xx.c func = pctl->functions + i; func 317 drivers/pinctrl/pxa/pinctrl-pxa2xx.c func->ngroups = ngroups; func 318 drivers/pinctrl/pxa/pinctrl-pxa2xx.c func->groups = func 321 drivers/pinctrl/pxa/pinctrl-pxa2xx.c if (!func->groups) func 324 drivers/pinctrl/pxa/pinctrl-pxa2xx.c memcpy(func->groups, gtmp, ngroups * sizeof(*gtmp)); func 536 drivers/pinctrl/qcom/pinctrl-msm.c unsigned func; func 564 drivers/pinctrl/qcom/pinctrl-msm.c func = (ctl_reg >> g->mux_bit) & 7; func 574 drivers/pinctrl/qcom/pinctrl-msm.c seq_printf(s, " %-4s func%d", val ? "high" : "low", func); func 1092 drivers/pinctrl/qcom/pinctrl-msm.c const struct msm_function *func = pctrl->soc->functions; func 1095 drivers/pinctrl/qcom/pinctrl-msm.c if (!strcmp(func[i].name, "ps_hold")) { func 385 drivers/pinctrl/samsung/pinctrl-samsung.c const struct samsung_pmx_func *func; func 389 drivers/pinctrl/samsung/pinctrl-samsung.c func = &drvdata->pmx_functions[selector]; func 407 drivers/pinctrl/samsung/pinctrl-samsung.c data |= func->val << shift; func 698 drivers/pinctrl/samsung/pinctrl-samsung.c struct samsung_pmx_func *func) func 704 drivers/pinctrl/samsung/pinctrl-samsung.c if (of_property_read_u32(func_np, "samsung,pin-function", &func->val)) func 713 drivers/pinctrl/samsung/pinctrl-samsung.c func->name = func_np->full_name; func 715 drivers/pinctrl/samsung/pinctrl-samsung.c func->groups = devm_kcalloc(dev, npins, sizeof(char *), GFP_KERNEL); func 716 drivers/pinctrl/samsung/pinctrl-samsung.c if (!func->groups) func 731 drivers/pinctrl/samsung/pinctrl-samsung.c func->groups[i] = gname; func 734 drivers/pinctrl/samsung/pinctrl-samsung.c func->num_groups = npins; func 743 drivers/pinctrl/samsung/pinctrl-samsung.c struct samsung_pmx_func *functions, *func; func 776 drivers/pinctrl/samsung/pinctrl-samsung.c func = functions; func 788 drivers/pinctrl/samsung/pinctrl-samsung.c cfg_np, func); func 794 drivers/pinctrl/samsung/pinctrl-samsung.c ++func; func 802 drivers/pinctrl/samsung/pinctrl-samsung.c func_np, func); func 809 drivers/pinctrl/samsung/pinctrl-samsung.c ++func; func 85 drivers/pinctrl/samsung/pinctrl-samsung.h .func = f \ func 316 drivers/pinctrl/samsung/pinctrl-samsung.h u8 func; func 765 drivers/pinctrl/sh-pfc/core.c const struct sh_pfc_function *func; func 807 drivers/pinctrl/sh-pfc/core.c func = &info->functions[i]; func 808 drivers/pinctrl/sh-pfc/core.c if (!func->name) { func 813 drivers/pinctrl/sh-pfc/core.c for (j = 0; j < func->nr_groups; j++) { func 816 drivers/pinctrl/sh-pfc/core.c !strcmp(func->groups[j], func 825 drivers/pinctrl/sh-pfc/core.c drvname, func->name, func->groups[j]); func 217 drivers/pinctrl/sirf/pinctrl-atlas7.c u8 func; func 238 drivers/pinctrl/sirf/pinctrl-atlas7.c u32 func; func 249 drivers/pinctrl/sirf/pinctrl-atlas7.c .func = f, \ func 5045 drivers/pinctrl/sirf/pinctrl-atlas7.c u32 pin, u32 func) func 5053 drivers/pinctrl/sirf/pinctrl-atlas7.c pin, func); func 5060 drivers/pinctrl/sirf/pinctrl-atlas7.c if (FUNC_ANALOGUE == func) { func 5085 drivers/pinctrl/sirf/pinctrl-atlas7.c writel(regv | (func << conf->mux_bit), func 5124 drivers/pinctrl/sirf/pinctrl-atlas7.c ret = __atlas7_pmx_pin_enable(pmx, mux->pin, mux->func); func 5129 drivers/pinctrl/sirf/pinctrl-atlas7.c mux->pin, mux->func, ret); func 5496 drivers/pinctrl/sirf/pinctrl-atlas7.c status->func = (regv >> conf->mux_bit) & FUNC_CLEAR_MASK; func 5504 drivers/pinctrl/sirf/pinctrl-atlas7.c status->func = FUNC_ANALOGUE; func 5548 drivers/pinctrl/sirf/pinctrl-atlas7.c __atlas7_pmx_pin_enable(pmx, idx, (u32)status->func & 0xff); func 5550 drivers/pinctrl/sirf/pinctrl-atlas7.c if (FUNC_ANALOGUE == status->func) func 465 drivers/pinctrl/stm32/pinctrl-stm32.c const struct stm32_desc_function *func = pin->functions; func 470 drivers/pinctrl/stm32/pinctrl-stm32.c while (func && func->name) { func 471 drivers/pinctrl/stm32/pinctrl-stm32.c if (func->num == fnum) func 473 drivers/pinctrl/stm32/pinctrl-stm32.c func++; func 514 drivers/pinctrl/stm32/pinctrl-stm32.c u32 pinfunc, pin, func; func 565 drivers/pinctrl/stm32/pinctrl-stm32.c func = STM32_GET_PIN_FUNC(pinfunc); func 567 drivers/pinctrl/stm32/pinctrl-stm32.c if (!stm32_pctrl_is_function_valid(pctl, pin, func)) { func 581 drivers/pinctrl/stm32/pinctrl-stm32.c err = stm32_pctrl_dt_node_to_map_func(pctl, pin, func, grp, map, func 60 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_function *func = pctl->functions; func 64 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!func[i].name) func 67 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!strcmp(func[i].name, name)) func 68 drivers/pinctrl/sunxi/pinctrl-sunxi.c return func + i; func 85 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_desc_function *func = pin->functions; func 87 drivers/pinctrl/sunxi/pinctrl-sunxi.c while (func->name) { func 88 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!strcmp(func->name, func_name) && func 89 drivers/pinctrl/sunxi/pinctrl-sunxi.c (!func->variant || func 90 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->variant & pctl->variant)) func 91 drivers/pinctrl/sunxi/pinctrl-sunxi.c return func; func 93 drivers/pinctrl/sunxi/pinctrl-sunxi.c func++; func 112 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_desc_function *func = pin->functions; func 114 drivers/pinctrl/sunxi/pinctrl-sunxi.c while (func->name) { func 115 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!strcmp(func->name, func_name)) func 116 drivers/pinctrl/sunxi/pinctrl-sunxi.c return func; func 118 drivers/pinctrl/sunxi/pinctrl-sunxi.c func++; func 723 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_function *func = pctl->functions + function; func 727 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->name); func 745 drivers/pinctrl/sunxi/pinctrl-sunxi.c const char *func; func 748 drivers/pinctrl/sunxi/pinctrl-sunxi.c func = "gpio_in"; func 750 drivers/pinctrl/sunxi/pinctrl-sunxi.c func = "gpio_out"; func 752 drivers/pinctrl/sunxi/pinctrl-sunxi.c desc = sunxi_pinctrl_desc_find_function_by_pin(pctl, offset, func); func 934 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_desc_function *func; func 937 drivers/pinctrl/sunxi/pinctrl-sunxi.c func = sunxi_pinctrl_desc_find_function_by_pin(pctl, func 939 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!func) func 951 drivers/pinctrl/sunxi/pinctrl-sunxi.c sunxi_pmx_set(pctl->pctl_dev, pctl->irq_array[d->hwirq], func->muxval); func 1152 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_pinctrl_function *func = pctl->functions; func 1154 drivers/pinctrl/sunxi/pinctrl-sunxi.c while (func->name) { func 1156 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (strcmp(func->name, name) == 0) { func 1157 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->ngroups++; func 1160 drivers/pinctrl/sunxi/pinctrl-sunxi.c func++; func 1163 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->name = name; func 1164 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->ngroups = 1; func 1221 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_desc_function *func; func 1226 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (func = pin->functions; func->name; func++) { func 1227 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (func->variant && !(pctl->variant & func->variant)) func 1231 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!strcmp(func->name, "irq")) { func 1232 drivers/pinctrl/sunxi/pinctrl-sunxi.c int irqnum = func->irqnum + func->irqbank * IRQ_PER_BANK; func 1236 drivers/pinctrl/sunxi/pinctrl-sunxi.c sunxi_pinctrl_add_function(pctl, func->name); func 1253 drivers/pinctrl/sunxi/pinctrl-sunxi.c struct sunxi_desc_function *func; func 1258 drivers/pinctrl/sunxi/pinctrl-sunxi.c for (func = pin->functions; func->name; func++) { func 1262 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (func->variant && !(pctl->variant & func->variant)) func 1266 drivers/pinctrl/sunxi/pinctrl-sunxi.c func->name); func 737 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_function *func = &soc_data->functions[fn]; func 739 drivers/pinctrl/tegra/pinctrl-tegra.c func->groups = group_pins; func 756 drivers/pinctrl/tegra/pinctrl-tegra.c func->ngroups++; func 176 drivers/pinctrl/uniphier/pinctrl-uniphier.h #define UNIPHIER_PINMUX_FUNCTION(func) \ func 178 drivers/pinctrl/uniphier/pinctrl-uniphier.h .name = #func, \ func 179 drivers/pinctrl/uniphier/pinctrl-uniphier.h .groups = func##_groups, \ func 180 drivers/pinctrl/uniphier/pinctrl-uniphier.h .num_groups = ARRAY_SIZE(func##_groups), \ func 84 drivers/pinctrl/vt8500/pinctrl-wmt.c static int wmt_set_pinmux(struct wmt_pinctrl_data *data, unsigned func, func 102 drivers/pinctrl/vt8500/pinctrl-wmt.c switch (func) { func 302 drivers/pinctrl/vt8500/pinctrl-wmt.c u32 pin, func, pull; func 365 drivers/pinctrl/vt8500/pinctrl-wmt.c (num_funcs > 1 ? i : 0), &func); func 369 drivers/pinctrl/vt8500/pinctrl-wmt.c err = wmt_pctl_dt_node_to_map_func(data, np, pin, func, func 66 drivers/pinctrl/zte/pinctrl-zx.c struct function_desc *func; func 79 drivers/pinctrl/zte/pinctrl-zx.c func = pinmux_generic_get_function(pctldev, func_selector); func 80 drivers/pinctrl/zte/pinctrl-zx.c if (!func) func 84 drivers/pinctrl/zte/pinctrl-zx.c if (strcmp(mux->name, func->name) == 0) func 312 drivers/pinctrl/zte/pinctrl-zx.c struct function_desc *func = functions; func 315 drivers/pinctrl/zte/pinctrl-zx.c while (func->name) { func 316 drivers/pinctrl/zte/pinctrl-zx.c if (strcmp(mux->name, func->name) == 0) { func 318 drivers/pinctrl/zte/pinctrl-zx.c func->num_group_names++; func 321 drivers/pinctrl/zte/pinctrl-zx.c func++; func 324 drivers/pinctrl/zte/pinctrl-zx.c if (!func->name) { func 326 drivers/pinctrl/zte/pinctrl-zx.c func->name = mux->name; func 327 drivers/pinctrl/zte/pinctrl-zx.c func->num_group_names = 1; func 329 drivers/pinctrl/zte/pinctrl-zx.c nfunctions++, func); func 351 drivers/pinctrl/zte/pinctrl-zx.c struct function_desc *func; func 360 drivers/pinctrl/zte/pinctrl-zx.c func = functions + j; func 361 drivers/pinctrl/zte/pinctrl-zx.c if (!func->group_names) { func 362 drivers/pinctrl/zte/pinctrl-zx.c func->group_names = devm_kcalloc(&pdev->dev, func 363 drivers/pinctrl/zte/pinctrl-zx.c func->num_group_names, func 364 drivers/pinctrl/zte/pinctrl-zx.c sizeof(*func->group_names), func 366 drivers/pinctrl/zte/pinctrl-zx.c if (!func->group_names) { func 372 drivers/pinctrl/zte/pinctrl-zx.c group = func->group_names; func 142 drivers/platform/x86/fujitsu-laptop.c int func, int op, int feature, int state) func 145 drivers/platform/x86/fujitsu-laptop.c { .integer.type = ACPI_TYPE_INTEGER, .integer.value = func }, func 163 drivers/platform/x86/fujitsu-laptop.c func, op, feature, state, (int)value); func 25 drivers/platform/x86/mxm-wmi.c u32 func; func 33 drivers/platform/x86/mxm-wmi.c .func = MXM_WMMX_FUNC_MXDS, func 58 drivers/platform/x86/mxm-wmi.c .func = MXM_WMMX_FUNC_MXMX, func 219 drivers/platform/x86/panasonic-laptop.c static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) func 223 drivers/platform/x86/panasonic-laptop.c .integer.value = func, }, func 81 drivers/pnp/pnpbios/bioscalls.c static inline u16 call_pnp_bios(u16 func, u16 arg1, u16 arg2, u16 arg3, func 130 drivers/pnp/pnpbios/bioscalls.c :"0"((func) | (((u32) arg1) << 16)), func 57 drivers/ps3/ps3-sys-manager.c const struct ps3_sys_manager_header *h, const char *func, int line) func 59 drivers/ps3/ps3-sys-manager.c pr_debug("%s:%d: version: %xh\n", func, line, h->version); func 60 drivers/ps3/ps3-sys-manager.c pr_debug("%s:%d: size: %xh\n", func, line, h->size); func 61 drivers/ps3/ps3-sys-manager.c pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size); func 62 drivers/ps3/ps3-sys-manager.c pr_debug("%s:%d: service_id: %xh\n", func, line, h->service_id); func 63 drivers/ps3/ps3-sys-manager.c pr_debug("%s:%d: request_tag: %xh\n", func, line, h->request_tag); func 104 drivers/ps3/ps3-vuart.c const struct ports_bmp *bmp, const char *func, int line) func 106 drivers/ps3/ps3-vuart.c pr_debug("%s:%d: ports_bmp: %016llxh\n", func, line, bmp->status); func 111 drivers/ps3/ps3-vuart.c const char *func, int line) func 132 drivers/ps3/ps3-vuart.c pr_debug("%s:%d: port_%u: %s failed: %s\n", func, line, func 137 drivers/ps3/ps3-vuart.c func, line, port_number, strings[i], value); func 19 drivers/ptp/ptp_chardev.c enum ptp_pin_function func, unsigned int chan) func 26 drivers/ptp/ptp_chardev.c switch (func) { func 49 drivers/ptp/ptp_chardev.c enum ptp_pin_function func, unsigned int chan) func 57 drivers/ptp/ptp_chardev.c if (info->pin_config[i].func == func && func 67 drivers/ptp/ptp_chardev.c switch (func) { func 86 drivers/ptp/ptp_chardev.c if (info->verify(info, pin, func, chan)) { func 87 drivers/ptp/ptp_chardev.c pr_err("driver cannot use function %u on pin %u\n", func, chan); func 93 drivers/ptp/ptp_chardev.c ptp_disable_pinfunc(info, func, chan); func 94 drivers/ptp/ptp_chardev.c pin1->func = PTP_PF_NONE; func 97 drivers/ptp/ptp_chardev.c ptp_disable_pinfunc(info, pin2->func, pin2->chan); func 98 drivers/ptp/ptp_chardev.c pin2->func = func; func 373 drivers/ptp/ptp_chardev.c err = ptp_set_pinfunc(ptp, pin_index, pd.func, pd.chan); func 346 drivers/ptp/ptp_clock.c enum ptp_pin_function func, unsigned int chan) func 353 drivers/ptp/ptp_clock.c if (ptp->info->pin_config[i].func == func && func 70 drivers/ptp/ptp_private.h enum ptp_pin_function func, unsigned int chan); func 215 drivers/ptp/ptp_sysfs.c unsigned int func, chan; func 225 drivers/ptp/ptp_sysfs.c func = ptp->info->pin_config[index].func; func 230 drivers/ptp/ptp_sysfs.c return snprintf(page, PAGE_SIZE, "%u %u\n", func, chan); func 237 drivers/ptp/ptp_sysfs.c unsigned int func, chan; func 240 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %u", &func, &chan); func 250 drivers/ptp/ptp_sysfs.c err = ptp_set_pinfunc(ptp, index, func, chan); func 910 drivers/rtc/interface.c if (timer->func) func 911 drivers/rtc/interface.c timer->func(timer->rtc); func 967 drivers/rtc/interface.c timer->func = f; func 50 drivers/rtc/rtc-imx-sc.c hdr->func = IMX_SC_TIMER_FUNC_GET_RTC_SEC1970; func 102 drivers/rtc/rtc-imx-sc.c hdr->func = IMX_SC_TIMER_FUNC_SET_RTC_ALARM; func 36 drivers/rtc/rtc-mc13xxx.c int (*func)(struct mc13xxx *mc13xxx, int irq); func 41 drivers/rtc/rtc-mc13xxx.c func = enabled ? mc13xxx_irq_unmask : mc13xxx_irq_mask; func 42 drivers/rtc/rtc-mc13xxx.c return func(priv->mc13xxx, irq); func 115 drivers/s390/char/hmcdrv_cache.c hmcdrv_cache_ftpfunc func) func 134 drivers/s390/char/hmcdrv_cache.c len = func(&cftp, &hmcdrv_cache_file.fsize); /* now do */ func 149 drivers/s390/char/hmcdrv_cache.c len = func(ftp, &hmcdrv_cache_file.fsize); func 178 drivers/s390/char/hmcdrv_cache.c hmcdrv_cache_ftpfunc func) func 191 drivers/s390/char/hmcdrv_cache.c len = hmcdrv_cache_do(ftp, func); func 197 drivers/s390/char/hmcdrv_cache.c len = func(ftp, NULL); /* simply do original command */ func 21 drivers/s390/char/hmcdrv_cache.h hmcdrv_cache_ftpfunc func); func 1316 drivers/s390/crypto/ap_bus.c static int ap_get_compatible_type(ap_qid_t qid, int rawtype, unsigned int func) func 1335 drivers/s390/crypto/ap_bus.c apinfo.mode = (func >> 26) & 0x07; func 1387 drivers/s390/crypto/ap_bus.c unsigned int func; func 1419 drivers/s390/crypto/ap_bus.c if (ap_query_queue(qid, &depth, &type, &func) == 0) func 1430 drivers/s390/crypto/ap_bus.c } else if (ac->functions != func) { func 1471 drivers/s390/crypto/ap_bus.c rc = ap_query_queue(qid, &depth, &type, &func); func 1493 drivers/s390/crypto/ap_bus.c comp_type = ap_get_compatible_type(qid, type, func); func 1498 drivers/s390/crypto/ap_bus.c ac = ap_card_create(id, depth, type, comp_type, func); func 255 drivers/s390/net/lcs.c card->read.irq_tasklet.func = lcs_tasklet; func 302 drivers/s390/net/lcs.c card->write.irq_tasklet.func = lcs_tasklet; func 173 drivers/s390/net/qeth_core.h enum qeth_ipa_setadp_cmd func) func 175 drivers/s390/net/qeth_core.h return (ipa->supported_funcs & func); func 179 drivers/s390/net/qeth_core.h enum qeth_ipa_funcs func) func 181 drivers/s390/net/qeth_core.h return (ipa->supported_funcs & func); func 185 drivers/s390/net/qeth_core.h enum qeth_ipa_funcs func) func 187 drivers/s390/net/qeth_core.h return (ipa->supported_funcs & ipa->enabled_funcs & func); func 82 drivers/scsi/aic94xx/aic94xx.h int asd_control_phy(struct asd_sas_phy *phy, enum phy_func func, void *arg); func 886 drivers/scsi/aic94xx/aic94xx_scb.c int asd_control_phy(struct asd_sas_phy *phy, enum phy_func func, void *arg) func 894 drivers/scsi/aic94xx/aic94xx_scb.c switch (func) { func 908 drivers/scsi/aic94xx/aic94xx_scb.c func = PHY_FUNC_LINK_RESET; func 918 drivers/scsi/aic94xx/aic94xx_scb.c asd_build_control_phy(ascb, phy->id, phy_func_table[func]); func 226 drivers/scsi/arm/fas216.c static void __fas216_checkmagic(FAS216_Info *info, const char *func) func 239 drivers/scsi/arm/fas216.c panic("scsi memory space corrupted in %s", func); func 754 drivers/scsi/be2iscsi/be_cmds.c AMAP_SET_BITS(struct amap_eq_context, func, req->context, func 807 drivers/scsi/be2iscsi/be_cmds.c AMAP_SET_BITS(struct amap_cq_context, func, ctxt, func 303 drivers/scsi/be2iscsi/be_cmds.h u8 func[8]; /* dword 2 */ func 590 drivers/scsi/be2iscsi/be_cmds.h u8 func[8]; /* dword 2 */ func 1265 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fip_packet_type.func = bnx2fc_fip_recv; func 1270 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fcoe_packet_type.func = bnx2fc_rcv; func 706 drivers/scsi/esas2r/esas2r.h u8 func; func 185 drivers/scsi/esas2r/esas2r_flash.c if (fc->func == VDA_FLASH_BEGINW) { func 196 drivers/scsi/esas2r/esas2r_flash.c fc->func, func 342 drivers/scsi/esas2r/esas2r_flash.c if (fc->func == VDA_FLASH_READ func 389 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_BEGINW; func 403 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_READ; func 426 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_BEGINW; func 438 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_READ; func 461 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_BEGINW; func 474 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_READ; func 497 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_BEGINW; func 508 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_READ; func 543 drivers/scsi/esas2r/esas2r_flash.c if (fc->func == VDA_FLASH_READ func 852 drivers/scsi/esas2r/esas2r_flash.c u8 func = 0; func 868 drivers/scsi/esas2r/esas2r_flash.c func = cmd_to_fls_func[fsc->command]; func 869 drivers/scsi/esas2r/esas2r_flash.c if (func == 0xFF) { func 903 drivers/scsi/esas2r/esas2r_flash.c func, func 908 drivers/scsi/esas2r/esas2r_flash.c if (func == VDA_FLASH_WRITE func 909 drivers/scsi/esas2r/esas2r_flash.c || func == VDA_FLASH_READ) { func 924 drivers/scsi/esas2r/esas2r_flash.c if (func == VDA_FLASH_COMMIT) func 1454 drivers/scsi/esas2r/esas2r_flash.c fc->func = VDA_FLASH_BEGINW; func 353 drivers/scsi/fcoe/fcoe.c fcoe->fcoe_packet_type.func = fcoe_rcv; func 358 drivers/scsi/fcoe/fcoe.c fcoe->fip_packet_type.func = fcoe_fip_recv; func 364 drivers/scsi/fcoe/fcoe.c fcoe->fip_vlan_packet_type.func = fcoe_fip_vlan_recv; func 20 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, func 1117 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func, func 1124 drivers/scsi/hisi_sas/hisi_sas_main.c switch (func) { func 4617 drivers/scsi/hpsa.c const char *func) func 4621 drivers/scsi/hpsa.c func, cdb_len, cdb); func 586 drivers/scsi/ips.c ha->func.isintr = ips_isintr_morpheus; func 587 drivers/scsi/ips.c ha->func.isinit = ips_isinit_morpheus; func 588 drivers/scsi/ips.c ha->func.issue = ips_issue_i2o_memio; func 589 drivers/scsi/ips.c ha->func.init = ips_init_morpheus; func 590 drivers/scsi/ips.c ha->func.statupd = ips_statupd_morpheus; func 591 drivers/scsi/ips.c ha->func.reset = ips_reset_morpheus; func 592 drivers/scsi/ips.c ha->func.intr = ips_intr_morpheus; func 593 drivers/scsi/ips.c ha->func.enableint = ips_enable_int_morpheus; func 596 drivers/scsi/ips.c ha->func.isintr = ips_isintr_copperhead_memio; func 597 drivers/scsi/ips.c ha->func.isinit = ips_isinit_copperhead_memio; func 598 drivers/scsi/ips.c ha->func.init = ips_init_copperhead_memio; func 599 drivers/scsi/ips.c ha->func.statupd = ips_statupd_copperhead_memio; func 600 drivers/scsi/ips.c ha->func.statinit = ips_statinit_memio; func 601 drivers/scsi/ips.c ha->func.reset = ips_reset_copperhead_memio; func 602 drivers/scsi/ips.c ha->func.intr = ips_intr_copperhead; func 603 drivers/scsi/ips.c ha->func.erasebios = ips_erase_bios_memio; func 604 drivers/scsi/ips.c ha->func.programbios = ips_program_bios_memio; func 605 drivers/scsi/ips.c ha->func.verifybios = ips_verify_bios_memio; func 606 drivers/scsi/ips.c ha->func.enableint = ips_enable_int_copperhead_memio; func 608 drivers/scsi/ips.c ha->func.issue = ips_issue_i2o_memio; func 610 drivers/scsi/ips.c ha->func.issue = ips_issue_copperhead_memio; func 613 drivers/scsi/ips.c ha->func.isintr = ips_isintr_copperhead; func 614 drivers/scsi/ips.c ha->func.isinit = ips_isinit_copperhead; func 615 drivers/scsi/ips.c ha->func.init = ips_init_copperhead; func 616 drivers/scsi/ips.c ha->func.statupd = ips_statupd_copperhead; func 617 drivers/scsi/ips.c ha->func.statinit = ips_statinit; func 618 drivers/scsi/ips.c ha->func.reset = ips_reset_copperhead; func 619 drivers/scsi/ips.c ha->func.intr = ips_intr_copperhead; func 620 drivers/scsi/ips.c ha->func.erasebios = ips_erase_bios; func 621 drivers/scsi/ips.c ha->func.programbios = ips_program_bios; func 622 drivers/scsi/ips.c ha->func.verifybios = ips_verify_bios; func 623 drivers/scsi/ips.c ha->func.enableint = ips_enable_int_copperhead; func 626 drivers/scsi/ips.c ha->func.issue = ips_issue_i2o; func 628 drivers/scsi/ips.c ha->func.issue = ips_issue_copperhead; func 925 drivers/scsi/ips.c ret = (*ha->func.reset) (ha); func 1233 drivers/scsi/ips.c (*ha->func.intr) (ha); func 1244 drivers/scsi/ips.c irqstatus = (*ha->func.intr) (ha); func 1280 drivers/scsi/ips.c intrstatus = (*ha->func.isintr) (ha); func 1293 drivers/scsi/ips.c intrstatus = (*ha->func.isintr) (ha); func 1298 drivers/scsi/ips.c cstatus.value = (*ha->func.statupd) (ha); func 1344 drivers/scsi/ips.c intrstatus = (*ha->func.isintr) (ha); func 1357 drivers/scsi/ips.c intrstatus = (*ha->func.isintr) (ha); func 1362 drivers/scsi/ips.c cstatus.value = (*ha->func.statupd) (ha); func 1727 drivers/scsi/ips.c if ((!ha->func.programbios) || (!ha->func.erasebios) || func 1728 drivers/scsi/ips.c (!ha->func.verifybios)) func 1730 drivers/scsi/ips.c if ((*ha->func.erasebios) (ha)) { func 1736 drivers/scsi/ips.c if ((*ha->func.programbios) (ha, func 1746 drivers/scsi/ips.c if ((*ha->func.verifybios) (ha, func 1760 drivers/scsi/ips.c if (!ha->func.erasebios) func 1762 drivers/scsi/ips.c if ((*ha->func.erasebios) (ha)) { func 2397 drivers/scsi/ips.c if (ha->func.statinit) func 2398 drivers/scsi/ips.c (*ha->func.statinit) (ha); func 2400 drivers/scsi/ips.c if (ha->func.enableint) func 2401 drivers/scsi/ips.c (*ha->func.enableint) (ha); func 3817 drivers/scsi/ips.c return ((*ha->func.issue) (ha, scb)); func 4595 drivers/scsi/ips.c (*ha->func.reset) (ha); func 4617 drivers/scsi/ips.c cstatus.value = (*ha->func.statupd) (ha); func 5025 drivers/scsi/ips.c if ((*ha->func.init) (ha)) func 5070 drivers/scsi/ips.c if ((*ha->func.init) (ha)) func 5114 drivers/scsi/ips.c if ((*ha->func.init) (ha)) func 5570 drivers/scsi/ips.c (*ha->func.intr) (ha); func 6839 drivers/scsi/ips.c uint8_t func; func 6861 drivers/scsi/ips.c func = pci_dev->devfn; func 7027 drivers/scsi/ips.c if (!(*ha->func.isinit) (ha)) { func 7028 drivers/scsi/ips.c if (!(*ha->func.init) (ha)) { func 1049 drivers/scsi/ips.h ips_hw_func_t func; /* hw function pointers */ func 1432 drivers/scsi/isci/phy.c enum phy_func func, func 1443 drivers/scsi/isci/phy.c __func__, sas_phy, func, buf, iphy, port); func 1445 drivers/scsi/isci/phy.c switch (func) { func 1483 drivers/scsi/isci/phy.c __func__, sas_phy, func); func 458 drivers/scsi/isci/phy.h int isci_phy_control(struct asd_sas_phy *phy, enum phy_func func, void *buf); func 3205 drivers/scsi/isci/request.c switch (smp_req->func) { func 201 drivers/scsi/isci/sas.h u8 func; /* byte 1 */ func 642 drivers/scsi/libsas/sas_ata.c static void sas_ata_flush_pm_eh(struct asd_sas_port *port, const char *func) func 654 drivers/scsi/libsas/sas_ata.c sas_fail_probe(dev, func, -ENODEV); func 108 drivers/scsi/libsas/sas_internal.h static inline void sas_fail_probe(struct domain_device *dev, const char *func, int err) func 111 drivers/scsi/libsas/sas_internal.h func, dev->parent ? "exp-attached" : func 3030 drivers/scsi/lpfc/lpfc_ct.c int (*func)(struct lpfc_vport *vport, struct lpfc_fdmi_attr_def *ad); func 3113 drivers/scsi/lpfc/lpfc_ct.c func = lpfc_fdmi_hba_action[bit_pos]; func 3114 drivers/scsi/lpfc/lpfc_ct.c size += func(vport, func 3158 drivers/scsi/lpfc/lpfc_ct.c func = lpfc_fdmi_port_action[bit_pos]; func 3159 drivers/scsi/lpfc/lpfc_ct.c size += func(vport, func 2916 drivers/scsi/lpfc/lpfc_nportdisc.c uint32_t(*func) (struct lpfc_vport *, struct lpfc_nodelist *, void *, func 2939 drivers/scsi/lpfc/lpfc_nportdisc.c func = lpfc_disc_action[(cur_state * NLP_EVT_MAX_EVENT) + evt]; func 2940 drivers/scsi/lpfc/lpfc_nportdisc.c rc = (func) (vport, ndlp, arg, evt); func 163 drivers/scsi/mvsas/mv_sas.c int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, func 179 drivers/scsi/mvsas/mv_sas.c switch (func) { func 435 drivers/scsi/mvsas/mv_sas.h int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, func 312 drivers/scsi/nsp32.c static void nsp32_message(const char *func, int line, char *type, char *fmt, ...) func 324 drivers/scsi/nsp32.c printk("%snsp32: %s (%d): %s\n", type, func, line, buf); func 329 drivers/scsi/nsp32.c static void nsp32_dmessage(const char *func, int line, int mask, char *fmt, ...) func 339 drivers/scsi/nsp32.c printk("nsp32-debug: 0x%x %s (%d): %s\n", mask, func, line, buf); func 139 drivers/scsi/pcmcia/nsp_cs.c static void nsp_cs_message(const char *func, int line, char *type, char *fmt, ...) func 151 drivers/scsi/pcmcia/nsp_cs.c printk("%snsp_cs: %s (%d): %s\n", type, func, line, buf); func 156 drivers/scsi/pcmcia/nsp_cs.c static void nsp_cs_dmessage(const char *func, int line, int mask, char *fmt, ...) func 166 drivers/scsi/pcmcia/nsp_cs.c printk("nsp_cs-debug: 0x%x %s (%d): %s\n", mask, func, line, buf); func 154 drivers/scsi/pm8001/pm8001_sas.c int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, func 167 drivers/scsi/pm8001/pm8001_sas.c switch (func) { func 640 drivers/scsi/pm8001/pm8001_sas.h int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func, func 10 drivers/scsi/qedf/qedf_dbg.c qedf_dbg_err(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 23 drivers/scsi/qedf/qedf_dbg.c func, line, qedf->host_no, &vaf); func 25 drivers/scsi/qedf/qedf_dbg.c pr_err("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 31 drivers/scsi/qedf/qedf_dbg.c qedf_dbg_warn(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 47 drivers/scsi/qedf/qedf_dbg.c func, line, qedf->host_no, &vaf); func 49 drivers/scsi/qedf/qedf_dbg.c pr_warn("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 56 drivers/scsi/qedf/qedf_dbg.c qedf_dbg_notice(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 72 drivers/scsi/qedf/qedf_dbg.c dev_name(&(qedf->pdev->dev)), func, line, func 75 drivers/scsi/qedf/qedf_dbg.c pr_notice("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 82 drivers/scsi/qedf/qedf_dbg.c qedf_dbg_info(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 98 drivers/scsi/qedf/qedf_dbg.c func, line, qedf->host_no, &vaf); func 100 drivers/scsi/qedf/qedf_dbg.c pr_info("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 82 drivers/scsi/qedf/qedf_dbg.h void qedf_dbg_err(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 85 drivers/scsi/qedf/qedf_dbg.h void qedf_dbg_warn(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 88 drivers/scsi/qedf/qedf_dbg.h void qedf_dbg_notice(struct qedf_dbg_ctx *qedf, const char *func, func 91 drivers/scsi/qedf/qedf_dbg.h void qedf_dbg_info(struct qedf_dbg_ctx *qedf, const char *func, u32 line, func 11 drivers/scsi/qedi/qedi_dbg.c qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 24 drivers/scsi/qedi/qedi_dbg.c func, line, qedi->host_no, &vaf); func 26 drivers/scsi/qedi/qedi_dbg.c pr_err("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 32 drivers/scsi/qedi/qedi_dbg.c qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 48 drivers/scsi/qedi/qedi_dbg.c func, line, qedi->host_no, &vaf); func 50 drivers/scsi/qedi/qedi_dbg.c pr_warn("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 57 drivers/scsi/qedi/qedi_dbg.c qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 73 drivers/scsi/qedi/qedi_dbg.c dev_name(&qedi->pdev->dev), func, line, func 76 drivers/scsi/qedi/qedi_dbg.c pr_notice("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 83 drivers/scsi/qedi/qedi_dbg.c qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 99 drivers/scsi/qedi/qedi_dbg.c func, line, qedi->host_no, &vaf); func 101 drivers/scsi/qedi/qedi_dbg.c pr_info("[0000:00:00.0]:[%s:%d]: %pV", func, line, &vaf); func 82 drivers/scsi/qedi/qedi_dbg.h void qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 84 drivers/scsi/qedi/qedi_dbg.h void qedi_dbg_warn(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 86 drivers/scsi/qedi/qedi_dbg.h void qedi_dbg_notice(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 88 drivers/scsi/qedi/qedi_dbg.h void qedi_dbg_info(struct qedi_dbg_ctx *qedi, const char *func, u32 line, func 1309 drivers/scsi/qla2xxx/qla_isr.c qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func, func 1350 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "MBX-IOCB"; func 1358 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, mbx); func 1436 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "MBX-IOCB2"; func 1442 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 1461 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "nack"; func 1465 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 1479 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "CT_IOCB"; func 1487 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 1551 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "ELS_CT_IOCB"; func 1561 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 1681 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "LOGIO-IOCB"; func 1689 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, logio); func 1814 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "TMF-IOCB"; func 1821 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, tsk); func 1962 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "CTRLVP-IOCB"; func 1966 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, vce); func 2868 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "ERROR-IOCB"; func 2898 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 2957 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "ABT_IOCB"; func 2961 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 2974 drivers/scsi/qla2xxx/qla_isr.c const char func[] = "LS4_IOCB"; func 2977 drivers/scsi/qla2xxx/qla_isr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 2194 drivers/scsi/qla2xxx/qla_mr.c const char func[] = "ABT_IOCB"; func 2198 drivers/scsi/qla2xxx/qla_mr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 2211 drivers/scsi/qla2xxx/qla_mr.c const char func[] = "IOSB_IOCB"; func 2220 drivers/scsi/qla2xxx/qla_mr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 2694 drivers/scsi/qla2xxx/qla_mr.c const char func[] = "ERROR-IOCB"; func 2701 drivers/scsi/qla2xxx/qla_mr.c sp = qla2x00_get_sp_from_handle(vha, func, req, pkt); func 719 drivers/scsi/qla2xxx/qla_tmpl.c uint func = vha->hw->port_no & 0x3; func 721 drivers/scsi/qla2xxx/qla_tmpl.c if (type != cond1 || func != cond2) { func 1705 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_RPORT_ATTRIBUTE(field, func) \ func 1706 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, i->f->func) func 1715 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE_RW(field, func) \ func 1717 drivers/scsi/scsi_transport_sas.c !i->f->func, S_IRUGO) func 1722 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE(field, func) \ func 1723 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func) func 1728 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(field, func) \ func 1729 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func) func 80 drivers/sh/clk/core.c long (*func)(unsigned int, struct clk_rate_round_data *); func 85 drivers/sh/clk/core.c for (pos = r->min, freq = r->func(pos, r); \ func 86 drivers/sh/clk/core.c pos <= r->max; pos++, freq = r->func(pos, r)) \ func 144 drivers/sh/clk/core.c .func = clk_rate_table_iter, func 167 drivers/sh/clk/core.c .func = clk_rate_div_range_iter, func 187 drivers/sh/clk/core.c .func = clk_rate_mult_range_iter, func 46 drivers/soc/imx/soc-imx-scu.c hdr->func = IMX_SC_MISC_FUNC_UNIQUE_ID; func 72 drivers/soc/imx/soc-imx-scu.c hdr->func = IMX_SC_MISC_FUNC_GET_CONTROL; func 25 drivers/soc/sunxi/sunxi_sram.c char *func; func 35 drivers/soc/sunxi/sunxi_sram.c struct sunxi_sram_func *func; func 46 drivers/soc/sunxi/sunxi_sram.c .func = _func, \ func 57 drivers/soc/sunxi/sunxi_sram.c .func = (struct sunxi_sram_func[]){ \ func 115 drivers/soc/sunxi/sunxi_sram.c struct sunxi_sram_func *func; func 145 drivers/soc/sunxi/sunxi_sram.c for (func = sram_data->func; func->func; func++) { func 146 drivers/soc/sunxi/sunxi_sram.c seq_printf(s, "\t\t%s%c\n", func->func, func 147 drivers/soc/sunxi/sunxi_sram.c func->reg_val == val ? func 170 drivers/soc/sunxi/sunxi_sram.c struct sunxi_sram_func *func; func 199 drivers/soc/sunxi/sunxi_sram.c for (func = data->func; func->func; func++) { func 200 drivers/soc/sunxi/sunxi_sram.c if (val == func->val) { func 202 drivers/soc/sunxi/sunxi_sram.c *reg_value = func->reg_val; func 208 drivers/soc/sunxi/sunxi_sram.c if (!func->func) { func 72 drivers/ssb/driver_pcicore.c unsigned int func, unsigned int off) func 92 drivers/ssb/driver_pcicore.c addr |= (func << 8); func 102 drivers/ssb/driver_pcicore.c addr |= (func << 8); func 111 drivers/ssb/driver_pcicore.c unsigned int func, unsigned int off, func 121 drivers/ssb/driver_pcicore.c addr = get_cfgspace_addr(pc, bus, dev, func, off); func 157 drivers/ssb/driver_pcicore.c unsigned int func, unsigned int off, func 167 drivers/ssb/driver_pcicore.c addr = get_cfgspace_addr(pc, bus, dev, func, off); func 94 drivers/ssb/main.c int (*func)(struct ssb_bus *bus, unsigned long data)) func 101 drivers/ssb/main.c res = func(bus, data); func 747 drivers/ssb/main.c int ssb_bus_sdiobus_register(struct ssb_bus *bus, struct sdio_func *func, func 753 drivers/ssb/main.c bus->host_sdio = func; func 759 drivers/ssb/main.c dev_info(&func->dev, func 761 drivers/ssb/main.c sdio_func_id(func)); func 163 drivers/ssb/ssb_private.h int (*func)(struct ssb_bus *bus, unsigned long data)); func 240 drivers/staging/comedi/drivers/addi_apci_3501.c unsigned char func; func 243 drivers/staging/comedi/drivers/addi_apci_3501.c func = apci3501_eeprom_readw(devpriv->amcc, 12 + offset) & 0x3f; func 246 drivers/staging/comedi/drivers/addi_apci_3501.c if (func == EEPROM_ANALOGOUTPUT) { func 14 drivers/staging/fbtft/fbtft-bus.c #define define_fbtft_write_reg(func, buffer_type, data_type, modifier) \ func 15 drivers/staging/fbtft/fbtft-bus.c void func(struct fbtft_par *par, int len, ...) \ func 63 drivers/staging/fbtft/fbtft-bus.c EXPORT_SYMBOL(func); func 108 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func; func 116 drivers/staging/ks7010/ks7010_sdio.c return ks_sdio->func; func 123 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 126 drivers/staging/ks7010/ks7010_sdio.c *byte = sdio_readb(func, address, &ret); func 135 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 137 drivers/staging/ks7010/ks7010_sdio.c return sdio_memcpy_fromio(func, buffer, address, length); func 144 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 147 drivers/staging/ks7010/ks7010_sdio.c sdio_writeb(func, byte, address, &ret); func 156 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 158 drivers/staging/ks7010/ks7010_sdio.c return sdio_memcpy_toio(func, address, buffer, length); func 479 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 493 drivers/staging/ks7010/ks7010_sdio.c dev_info(&func->dev, "wake: %lu %lu\n", func 498 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 537 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 540 drivers/staging/ks7010/ks7010_sdio.c static void ks_sdio_interrupt(struct sdio_func *func) func 547 drivers/staging/ks7010/ks7010_sdio.c card = sdio_get_drvdata(func); func 753 drivers/staging/ks7010/ks7010_sdio.c struct sdio_func *func = ks7010_to_func(priv); func 759 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 772 drivers/staging/ks7010/ks7010_sdio.c &func->dev); func 801 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 878 drivers/staging/ks7010/ks7010_sdio.c static int ks7010_sdio_setup_irqs(struct sdio_func *func) func 883 drivers/staging/ks7010/ks7010_sdio.c sdio_writeb(func, 0, INT_ENABLE_REG, &ret); func 887 drivers/staging/ks7010/ks7010_sdio.c sdio_writeb(func, 0xff, INT_PENDING_REG, &ret); func 892 drivers/staging/ks7010/ks7010_sdio.c ret = sdio_claim_irq(func, ks_sdio_interrupt); func 898 drivers/staging/ks7010/ks7010_sdio.c static void ks7010_sdio_init_irqs(struct sdio_func *func, func 909 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 911 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 917 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 919 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 951 drivers/staging/ks7010/ks7010_sdio.c static int ks7010_sdio_probe(struct sdio_func *func, func 963 drivers/staging/ks7010/ks7010_sdio.c card->func = func; func 965 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 967 drivers/staging/ks7010/ks7010_sdio.c ret = sdio_set_block_size(func, KS7010_IO_BLOCK_SIZE); func 971 drivers/staging/ks7010/ks7010_sdio.c dev_dbg(&card->func->dev, "multi_block=%d sdio_set_block_size()=%d %d\n", func 972 drivers/staging/ks7010/ks7010_sdio.c func->card->cccr.multi_block, func->cur_blksize, ret); func 974 drivers/staging/ks7010/ks7010_sdio.c ret = sdio_enable_func(func); func 978 drivers/staging/ks7010/ks7010_sdio.c ret = ks7010_sdio_setup_irqs(func); func 982 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 984 drivers/staging/ks7010/ks7010_sdio.c sdio_set_drvdata(func, card); func 986 drivers/staging/ks7010/ks7010_sdio.c dev_dbg(&card->func->dev, "class = 0x%X, vendor = 0x%X, device = 0x%X\n", func 987 drivers/staging/ks7010/ks7010_sdio.c func->class, func->vendor, func->device); func 992 drivers/staging/ks7010/ks7010_sdio.c dev_err(&card->func->dev, "Unable to alloc new net device\n"); func 998 drivers/staging/ks7010/ks7010_sdio.c dev_err(&card->func->dev, "Couldn't get name!\n"); func 1005 drivers/staging/ks7010/ks7010_sdio.c SET_NETDEV_DEV(netdev, &card->func->dev); func 1016 drivers/staging/ks7010/ks7010_sdio.c ks7010_sdio_init_irqs(func, priv); func 1038 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 1039 drivers/staging/ks7010/ks7010_sdio.c sdio_release_irq(func); func 1041 drivers/staging/ks7010/ks7010_sdio.c sdio_disable_func(func); func 1043 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 1044 drivers/staging/ks7010/ks7010_sdio.c sdio_set_drvdata(func, NULL); func 1051 drivers/staging/ks7010/ks7010_sdio.c static int send_stop_request(struct sdio_func *func) func 1057 drivers/staging/ks7010/ks7010_sdio.c card = sdio_get_drvdata(func); func 1067 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 1069 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 1075 drivers/staging/ks7010/ks7010_sdio.c static void ks7010_sdio_remove(struct sdio_func *func) func 1081 drivers/staging/ks7010/ks7010_sdio.c card = sdio_get_drvdata(func); func 1093 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 1094 drivers/staging/ks7010/ks7010_sdio.c sdio_writeb(func, 0, INT_ENABLE_REG, &ret); func 1095 drivers/staging/ks7010/ks7010_sdio.c sdio_writeb(func, 0xff, INT_PENDING_REG, &ret); func 1096 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 1098 drivers/staging/ks7010/ks7010_sdio.c ret = send_stop_request(func); func 1115 drivers/staging/ks7010/ks7010_sdio.c sdio_claim_host(func); func 1116 drivers/staging/ks7010/ks7010_sdio.c sdio_release_irq(func); func 1117 drivers/staging/ks7010/ks7010_sdio.c sdio_disable_func(func); func 1118 drivers/staging/ks7010/ks7010_sdio.c sdio_release_host(func); func 1120 drivers/staging/ks7010/ks7010_sdio.c sdio_set_drvdata(func, NULL); func 395 drivers/staging/media/hantro/hantro_drv.c struct hantro_func *func = hantro_vdev_to_func(vdev); func 413 drivers/staging/media/hantro/hantro_drv.c if (func->id == MEDIA_ENT_F_PROC_VIDEO_ENCODER) { func 418 drivers/staging/media/hantro/hantro_drv.c } else if (func->id == MEDIA_ENT_F_PROC_VIDEO_DECODER) { func 526 drivers/staging/media/hantro/hantro_drv.c struct hantro_func *func) func 533 drivers/staging/media/hantro/hantro_drv.c func->source_pad.flags = MEDIA_PAD_FL_SOURCE; func 534 drivers/staging/media/hantro/hantro_drv.c ret = hantro_register_entity(mdev, &func->vdev.entity, "source", func 535 drivers/staging/media/hantro/hantro_drv.c &func->source_pad, 1, MEDIA_ENT_F_IO_V4L, func 536 drivers/staging/media/hantro/hantro_drv.c &func->vdev); func 540 drivers/staging/media/hantro/hantro_drv.c func->proc_pads[0].flags = MEDIA_PAD_FL_SINK; func 541 drivers/staging/media/hantro/hantro_drv.c func->proc_pads[1].flags = MEDIA_PAD_FL_SOURCE; func 542 drivers/staging/media/hantro/hantro_drv.c ret = hantro_register_entity(mdev, &func->proc, "proc", func 543 drivers/staging/media/hantro/hantro_drv.c func->proc_pads, 2, func->id, func 544 drivers/staging/media/hantro/hantro_drv.c &func->vdev); func 548 drivers/staging/media/hantro/hantro_drv.c func->sink_pad.flags = MEDIA_PAD_FL_SINK; func 549 drivers/staging/media/hantro/hantro_drv.c ret = hantro_register_entity(mdev, &func->sink, "sink", func 550 drivers/staging/media/hantro/hantro_drv.c &func->sink_pad, 1, MEDIA_ENT_F_IO_V4L, func 551 drivers/staging/media/hantro/hantro_drv.c &func->vdev); func 556 drivers/staging/media/hantro/hantro_drv.c ret = media_create_pad_link(&func->vdev.entity, 0, &func->proc, 0, func 562 drivers/staging/media/hantro/hantro_drv.c ret = media_create_pad_link(&func->proc, 1, &func->sink, 0, func 569 drivers/staging/media/hantro/hantro_drv.c func->intf_devnode = media_devnode_create(mdev, MEDIA_INTF_T_V4L_VIDEO, func 571 drivers/staging/media/hantro/hantro_drv.c func->vdev.minor); func 572 drivers/staging/media/hantro/hantro_drv.c if (!func->intf_devnode) { func 578 drivers/staging/media/hantro/hantro_drv.c link = media_create_intf_link(&func->vdev.entity, func 579 drivers/staging/media/hantro/hantro_drv.c &func->intf_devnode->intf, func 587 drivers/staging/media/hantro/hantro_drv.c link = media_create_intf_link(&func->sink, &func->intf_devnode->intf, func 597 drivers/staging/media/hantro/hantro_drv.c media_devnode_remove(func->intf_devnode); func 600 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->sink); func 603 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->proc); func 604 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->vdev.entity); func 607 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->sink); func 610 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->proc); func 613 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->vdev.entity); func 617 drivers/staging/media/hantro/hantro_drv.c static void hantro_detach_func(struct hantro_func *func) func 619 drivers/staging/media/hantro/hantro_drv.c media_devnode_remove(func->intf_devnode); func 620 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->sink); func 621 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->proc); func 622 drivers/staging/media/hantro/hantro_drv.c media_entity_remove_links(&func->vdev.entity); func 623 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->sink); func 624 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->proc); func 625 drivers/staging/media/hantro/hantro_drv.c media_device_unregister_entity(&func->vdev.entity); func 631 drivers/staging/media/hantro/hantro_drv.c struct hantro_func *func; func 636 drivers/staging/media/hantro/hantro_drv.c func = devm_kzalloc(vpu->dev, sizeof(*func), GFP_KERNEL); func 637 drivers/staging/media/hantro/hantro_drv.c if (!func) { func 642 drivers/staging/media/hantro/hantro_drv.c func->id = funcid; func 644 drivers/staging/media/hantro/hantro_drv.c vfd = &func->vdev; func 656 drivers/staging/media/hantro/hantro_drv.c vpu->encoder = func; func 658 drivers/staging/media/hantro/hantro_drv.c vpu->decoder = func; func 668 drivers/staging/media/hantro/hantro_drv.c ret = hantro_attach_func(vpu, func); func 704 drivers/staging/media/hantro/hantro_drv.c struct hantro_func *func; func 707 drivers/staging/media/hantro/hantro_drv.c func = vpu->encoder; func 709 drivers/staging/media/hantro/hantro_drv.c func = vpu->decoder; func 711 drivers/staging/media/hantro/hantro_drv.c if (!func) func 714 drivers/staging/media/hantro/hantro_drv.c hantro_detach_func(func); func 715 drivers/staging/media/hantro/hantro_drv.c video_unregister_device(&func->vdev); func 1465 drivers/staging/media/ipu3/ipu3-abi.h u8 func; func 84 drivers/staging/media/ipu3/ipu3-mmu.c void (*func)(struct imgu_mmu *mmu)) func 89 drivers/staging/media/ipu3/ipu3-mmu.c func(mmu); func 169 drivers/staging/mt7621-pci/pci-mt7621.c unsigned int func, unsigned int where) func 172 drivers/staging/mt7621-pci/pci-mt7621.c (func << 8) | (where & 0xfc) | 0x80000000; func 35 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_pmx_func **func; func 71 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c *pins = p->groups[group].func[0].pins; func 72 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c *num_pins = p->groups[group].func[0].pin_count; func 93 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c unsigned int func) func 97 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c return p->func[func]->name; func 101 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c unsigned int func, func 107 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c if (p->func[func]->group_count == 1) func 108 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c *groups = &p->group_names[p->func[func]->groups[0]]; func 112 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c *num_groups = p->func[func]->group_count; func 118 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c unsigned int func, unsigned int group) func 134 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->func[func]->enabled = 1; func 145 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c for (i = 0; i < p->groups[group].func[0].pin_count; i++) func 146 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->gpio[p->groups[group].func[0].pins[i]] = 1; func 149 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c if (func == 0) { func 152 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c for (i = 0; i < p->func[func]->pin_count; i++) func 153 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->gpio[p->func[func]->pins[i]] = 0; func 154 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c mode |= p->func[func]->value << shift; func 221 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c f = p->func = devm_kcalloc(p->dev, func 241 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c f[c] = &p->groups[i].func[j]; func 263 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c if (!p->func[i]->pin_count) func 266 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->func[i]->pins = devm_kcalloc(p->dev, func 267 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->func[i]->pin_count, func 270 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c for (j = 0; j < p->func[i]->pin_count; j++) func 271 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->func[i]->pins[j] = p->func[i]->pin_first + j; func 273 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c pin = p->func[i]->pin_first + p->func[i]->pin_count; func 290 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c if (!p->func[i]->pin_count) func 293 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c for (j = 0; j < p->func[i]->pin_count; j++) func 294 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c p->gpio[p->func[i]->pins[j]] = 0; func 2072 drivers/staging/qlge/qlge.h u32 func; /* PCI function for this adapter */ func 177 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) func 186 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) func 194 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 209 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 226 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 239 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 254 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 271 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 286 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 303 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 775 drivers/staging/qlge/qlge_dbg.c if (qdev->func & 1) { func 1087 drivers/staging/qlge/qlge_dbg.c mpi_coredump->misc_nic_info.function = qdev->func; func 1253 drivers/staging/qlge/qlge_dbg.c mpi_coredump->misc_nic_info.function = qdev->func; func 1467 drivers/staging/qlge/qlge_dbg.c pr_err("reg dump for function #%d\n", qdev->func); func 411 drivers/staging/qlge/qlge_main.c func << CAM_OUT_FUNC_SHIFT) | func 472 drivers/staging/qlge/qlge_main.c MAC_ADDR_TYPE_CAM_MAC, qdev->func * MAX_CQ); func 3916 drivers/staging/qlge/qlge_main.c qdev->func, func 4013 drivers/staging/qlge/qlge_main.c qdev->func); func 4432 drivers/staging/qlge/qlge_main.c MAC_ADDR_TYPE_CAM_MAC, qdev->func * MAX_CQ); func 4508 drivers/staging/qlge/qlge_main.c if (qdev->func == nic_func1) func 4510 drivers/staging/qlge/qlge_main.c else if (qdev->func == nic_func2) func 4521 drivers/staging/qlge/qlge_main.c qdev->func = func 4523 drivers/staging/qlge/qlge_main.c if (qdev->func > 3) func 4530 drivers/staging/qlge/qlge_main.c qdev->port = (qdev->func < qdev->alt_func) ? 0 : 1; func 111 drivers/staging/qlge/qlge_mpi.c if (qdev->func < qdev->alt_func) func 3821 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); func 4071 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (ptable->func) { func 4076 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); func 4135 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func = &OnAuth; func 4137 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable->func = &OnAuthClient; func 229 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame); func 235 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame); func 507 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (ptable->func) { func 513 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); func 568 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func = &OnAuth; func 570 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func = &OnAuthClient; func 2213 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable->func(padapter, precv_frame); func 6867 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (p->func) func 6868 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p->func(p->context); func 1173 drivers/staging/rtl8723bs/hal/sdio_ops.c struct sdio_func *func; func 1186 drivers/staging/rtl8723bs/hal/sdio_ops.c func = psdio_data->func; func 1189 drivers/staging/rtl8723bs/hal/sdio_ops.c sdio_claim_host(func); func 1199 drivers/staging/rtl8723bs/hal/sdio_ops.c sdio_release_host(func); func 487 drivers/staging/rtl8723bs/include/drv_types.h return &dvobj->intf_data.func->dev; func 27 drivers/staging/rtl8723bs/include/drv_types_sdio.h struct sdio_func *func; func 798 drivers/staging/rtl8723bs/include/rtw_cmd.h void (*func)(void*); func 318 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame); func 324 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame); func 29 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id); func 30 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void rtw_dev_remove(struct sdio_func *func); func 54 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void sd_sync_int_hdl(struct sdio_func *func) func 59 drivers/staging/rtl8723bs/os_dep/sdio_intf.c psdpriv = sdio_get_drvdata(func); func 74 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func; func 78 drivers/staging/rtl8723bs/os_dep/sdio_intf.c func = psdio_data->func; func 80 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_claim_host(func); func 82 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_claim_irq(func, &sd_sync_int_hdl); func 91 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_release_host(func); func 99 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func; func 104 drivers/staging/rtl8723bs/os_dep/sdio_intf.c func = psdio_data->func; func 106 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (func) { func 107 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_claim_host(func); func 108 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_release_irq(func); func 114 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_release_host(func); func 171 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func; func 175 drivers/staging/rtl8723bs/os_dep/sdio_intf.c func = psdio_data->func; func 178 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_claim_host(func); func 180 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_enable_func(func); func 187 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_set_block_size(func, 512); func 198 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_release_host(func); func 207 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func; func 213 drivers/staging/rtl8723bs/os_dep/sdio_intf.c func = dvobj->intf_data.func; func 215 drivers/staging/rtl8723bs/os_dep/sdio_intf.c if (func) { func 216 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_claim_host(func); func 217 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_disable_func(func); func 224 drivers/staging/rtl8723bs/os_dep/sdio_intf.c err = sdio_release_irq(func); func 232 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_release_host(func); func 235 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func) func 246 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_set_drvdata(func, dvobj); func 249 drivers/staging/rtl8723bs/os_dep/sdio_intf.c psdio->func = func; func 260 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_set_drvdata(func, NULL); func 270 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void sdio_dvobj_deinit(struct sdio_func *func) func 272 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct dvobj_priv *dvobj = sdio_get_drvdata(func); func 274 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_set_drvdata(func, NULL); func 383 drivers/staging/rtl8723bs/os_dep/sdio_intf.c rtw_macaddr_cfg(&psdio->func->dev, padapter->eeprompriv.mac_addr); func 458 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func, func 465 drivers/staging/rtl8723bs/os_dep/sdio_intf.c dvobj = sdio_dvobj_init(func); func 502 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_dvobj_deinit(func); func 507 drivers/staging/rtl8723bs/os_dep/sdio_intf.c static void rtw_dev_remove(struct sdio_func *func) func 509 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct dvobj_priv *dvobj = sdio_get_drvdata(func); func 522 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_claim_host(func); func 523 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_readb(func, 0, &err); func 524 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_release_host(func); func 542 drivers/staging/rtl8723bs/os_dep/sdio_intf.c sdio_dvobj_deinit(func); func 552 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func =dev_to_sdio_func(dev); func 553 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct dvobj_priv *psdpriv = sdio_get_drvdata(func); func 589 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct sdio_func *func =dev_to_sdio_func(dev); func 590 drivers/staging/rtl8723bs/os_dep/sdio_intf.c struct dvobj_priv *psdpriv = sdio_get_drvdata(func); func 12 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c static bool rtw_sdio_claim_host_needed(struct sdio_func *func) func 14 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct dvobj_priv *dvobj = sdio_get_drvdata(func); func 36 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 48 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 49 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 52 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 53 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c v = sdio_f0_readb(func, addr, err); func 55 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 73 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 84 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 87 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c pdata[i] = sdio_readb(func, addr+i, &err); func 108 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 120 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 121 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 124 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 127 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 143 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 154 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 157 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_writeb(func, pdata[i], addr+i, &err); func 178 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 190 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 191 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 194 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 197 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 208 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 220 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 221 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 224 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 225 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c v = sdio_readb(func, addr, err); func 227 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 239 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 251 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 252 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 255 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 256 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c v = sdio_readl(func, addr, err); func 258 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 267 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (claim_needed) sdio_claim_host(func); func 268 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c v = sdio_readl(func, addr, err); func 269 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (claim_needed) sdio_release_host(func); func 301 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 313 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 314 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 317 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 318 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_writeb(func, v, addr, err); func 320 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 330 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 342 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 343 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 346 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 347 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_writel(func, v, addr, err); func 349 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 358 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (claim_needed) sdio_claim_host(func); func 359 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_writel(func, v, addr, err); func 360 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c if (claim_needed) sdio_release_host(func); func 406 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 417 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 424 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c *(pbuf+i) = sdio_readb(func, addr+i, &err); func 434 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = sdio_memcpy_fromio(func, pdata, addr, cnt); func 460 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 472 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 473 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 476 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 479 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 504 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 517 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 525 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_writeb(func, *(pbuf+i), addr+i, &err); func 536 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c err = sdio_memcpy_toio(func, addr, pdata, size); func 561 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c struct sdio_func *func; func 574 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c func = psdio->func; func 575 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c claim_needed = rtw_sdio_claim_host_needed(func); func 578 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_claim_host(func); func 581 drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c sdio_release_host(func); func 1434 drivers/staging/rts5208/rtsx_chip.c int rtsx_write_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, func 1479 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_cfg_dw(chip, func, aligned_addr + i * 4, func 1494 drivers/staging/rts5208/rtsx_chip.c int rtsx_read_cfg_seq(struct rtsx_chip *chip, u8 func, u16 addr, u8 *buf, func 1515 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_cfg_dw(chip, func, aligned_addr + i * 4, func 966 drivers/staging/rts5208/rtsx_chip.h u8 func, u16 addr, u8 *buf, int len); func 968 drivers/staging/rts5208/rtsx_chip.h u8 func, u16 addr, u8 *buf, int len); func 2214 drivers/staging/rts5208/rtsx_scsi.c u8 func; func 2226 drivers/staging/rts5208/rtsx_scsi.c func = srb->cmnd[3]; func 2231 drivers/staging/rts5208/rtsx_scsi.c __func__, func, addr, len); func 2238 drivers/staging/rts5208/rtsx_scsi.c if (func > func_max) { func 2248 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_cfg_seq(chip, func, addr, buf, len); func 2269 drivers/staging/rts5208/rtsx_scsi.c u8 func; func 2281 drivers/staging/rts5208/rtsx_scsi.c func = srb->cmnd[3]; func 2286 drivers/staging/rts5208/rtsx_scsi.c __func__, func, addr); func 2293 drivers/staging/rts5208/rtsx_scsi.c if (func > func_max) { func 2307 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_cfg_seq(chip, func, addr, buf, len); func 136 drivers/staging/speakup/keyhelp.c u_char func, *kp; func 195 drivers/staging/speakup/keyhelp.c func = funcvals[cur_item]; func 197 drivers/staging/speakup/keyhelp.c if (key_offsets[func] == 0) { func 201 drivers/staging/speakup/keyhelp.c p_keys = key_data + key_offsets[func]; func 490 drivers/staging/uwb/uwb.h int uwb_dev_for_each(struct uwb_rc *rc, uwb_dev_for_each_f func, void *priv); func 56 drivers/staging/wilc1000/wilc_sdio.c static void wilc_sdio_interrupt(struct sdio_func *func) func 58 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 59 drivers/staging/wilc1000/wilc_sdio.c wilc_handle_isr(sdio_get_drvdata(func)); func 60 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 65 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); func 69 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 71 drivers/staging/wilc1000/wilc_sdio.c func->num = cmd->function; func 74 drivers/staging/wilc1000/wilc_sdio.c sdio_writeb(func, cmd->data, cmd->address, &ret); func 75 drivers/staging/wilc1000/wilc_sdio.c data = sdio_readb(func, cmd->address, &ret); func 78 drivers/staging/wilc1000/wilc_sdio.c sdio_writeb(func, cmd->data, cmd->address, &ret); func 81 drivers/staging/wilc1000/wilc_sdio.c data = sdio_readb(func, cmd->address, &ret); func 85 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 88 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret); func 94 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); func 97 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 99 drivers/staging/wilc1000/wilc_sdio.c func->num = cmd->function; func 100 drivers/staging/wilc1000/wilc_sdio.c func->cur_blksize = cmd->block_size; func 107 drivers/staging/wilc1000/wilc_sdio.c ret = sdio_memcpy_toio(func, cmd->address, func 110 drivers/staging/wilc1000/wilc_sdio.c ret = sdio_memcpy_fromio(func, (void *)cmd->buffer, func 114 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 117 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret); func 122 drivers/staging/wilc1000/wilc_sdio.c static int wilc_sdio_probe(struct sdio_func *func, func 135 drivers/staging/wilc1000/wilc_sdio.c gpio = gpiod_get(&func->dev, "irq", GPIOD_IN); func 140 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "failed to get irq gpio\n"); func 144 drivers/staging/wilc1000/wilc_sdio.c ret = wilc_cfg80211_init(&wilc, &func->dev, WILC_HIF_SDIO, func 150 drivers/staging/wilc1000/wilc_sdio.c sdio_set_drvdata(func, wilc); func 152 drivers/staging/wilc1000/wilc_sdio.c wilc->dev = &func->dev; func 155 drivers/staging/wilc1000/wilc_sdio.c wilc->rtc_clk = devm_clk_get(&func->card->dev, "rtc_clk"); func 161 drivers/staging/wilc1000/wilc_sdio.c dev_info(&func->dev, "Driver Initializing success\n"); func 165 drivers/staging/wilc1000/wilc_sdio.c static void wilc_sdio_remove(struct sdio_func *func) func 167 drivers/staging/wilc1000/wilc_sdio.c struct wilc *wilc = sdio_get_drvdata(func); func 183 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 192 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail cmd 52, reset cmd ...\n"); func 200 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 201 drivers/staging/wilc1000/wilc_sdio.c struct wilc *wilc = sdio_get_drvdata(func); func 217 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail reset sdio\n"); func 220 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 227 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); func 230 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 231 drivers/staging/wilc1000/wilc_sdio.c ret = sdio_claim_irq(func, wilc_sdio_interrupt); func 232 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 235 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "can't claim sdio_irq, err(%d)\n", ret); func 243 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); func 246 drivers/staging/wilc1000/wilc_sdio.c sdio_claim_host(func); func 247 drivers/staging/wilc1000/wilc_sdio.c ret = sdio_release_irq(func); func 249 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "can't release sdio_irq, err(%d)\n", ret); func 250 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 261 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 275 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x10c data...\n"); func 283 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x10d data...\n"); func 291 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x10e data...\n"); func 302 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 313 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x10 data...\n"); func 321 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x11 data...\n"); func 338 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 349 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x110 data...\n"); func 356 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed cmd52, set 0x111 data...\n"); func 372 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 388 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 411 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 426 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 478 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 501 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 516 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 529 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 551 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 568 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 620 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 643 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 669 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 688 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail cmd 52, enable csa...\n"); func 696 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail cmd 52, set func 0 block size...\n"); func 711 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 728 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 737 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail func 1 is not ready...\n"); func 745 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail set func 1 block size...\n"); func 759 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail cmd 52, set IEN register...\n"); func 768 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Fail cmd read chip id...\n"); func 771 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "chipid (%08x)\n", chipid); func 776 drivers/staging/wilc1000/wilc_sdio.c dev_info(&func->dev, "has_thrpt_enh3 = %d...\n", func 814 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 847 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 873 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 909 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 942 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 956 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 985 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 998 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(wilc->dev); func 1003 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Too many interrupts (%d)...\n", nint); func 1007 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 1018 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed read misc reg...\n"); func 1024 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed write misc reg...\n"); func 1037 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed read reg (%08x)...\n", func 1044 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed write reg (%08x)...\n", func 1054 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed read reg (%08x)...\n", func 1063 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, "Failed write reg (%08x)...\n", func 1070 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 1081 drivers/staging/wilc1000/wilc_sdio.c dev_err(&func->dev, func 1111 drivers/staging/wilc1000/wilc_sdio.c struct sdio_func *func = dev_to_sdio_func(dev); func 1112 drivers/staging/wilc1000/wilc_sdio.c struct wilc *wilc = sdio_get_drvdata(func); func 1115 drivers/staging/wilc1000/wilc_sdio.c sdio_release_host(func); func 486 drivers/staging/wilc1000/wilc_wlan.c const struct wilc_hif_func *func; func 540 drivers/staging/wilc1000/wilc_wlan.c func = wilc->hif_func; func 542 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_read_reg(wilc, WILC_HOST_TX_CTRL, ®); func 552 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_write_reg(wilc, WILC_HOST_TX_CTRL, 0); func 562 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_block_tx(wilc, func 569 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_write_reg(wilc, WILC_HOST_VMM_CTL, 0x2); func 574 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_read_reg(wilc, WILC_HOST_VMM_CTL, ®); func 583 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_write_reg(wilc, WILC_HOST_VMM_CTL, 0x0); func 591 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_read_reg(wilc, WILC_HOST_TX_CTRL, ®); func 595 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_write_reg(wilc, WILC_HOST_TX_CTRL, reg); func 665 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_clear_int_ext(wilc, ENABLE_TX_VMM); func 669 drivers/staging/wilc1000/wilc_wlan.c ret = func->hif_block_tx_ext(wilc, 0, txb, offset); func 290 drivers/staging/wilc1000/wilc_wlan.h u32 buffer_size, void (*func)(void *, int)); func 89 drivers/staging/wlan-ng/prism2mib.c int (*func)(struct mibrec *mib, func 322 drivers/staging/wlan-ng/prism2mib.c result = mib->func(mib, isget, wlandev, hw, msg, (void *)mibitem->data); func 35 drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_wake_up(struct cxgbit_wr_wait *wr_waitp, const char *func, u8 ret) func 43 drivers/target/iscsi/cxgbit/cxgbit_cm.c pr_err("%s: err:%u", func, ret); func 51 drivers/target/iscsi/cxgbit/cxgbit_cm.c const char *func) func 63 drivers/target/iscsi/cxgbit/cxgbit_cm.c func, pci_name(cdev->lldi.pdev), tid); func 331 drivers/tee/optee/call.c msg_arg->func = arg->func; func 45 drivers/tee/optee/device.c inv_arg.func = PTA_CMD_GET_DEVICES; func 193 drivers/tee/optee/optee_msg.h u32 func; func 130 drivers/tee/optee/optee_private.h u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, func 139 drivers/tee/optee/optee_private.h int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, func 325 drivers/tee/optee/optee_smc.h #define OPTEE_SMC_RPC_VAL(func) ((func) | OPTEE_SMC_RETURN_RPC_PREFIX) func 14 drivers/tee/optee/supp.c u32 func; func 76 drivers/tee/optee/supp.c u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, func 98 drivers/tee/optee/supp.c req->func = func; func 229 drivers/tee/optee/supp.c int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, func 283 drivers/tee/optee/supp.c *func = req->func; func 512 drivers/tee/tee_core.c u32 func; func 539 drivers/tee/tee_core.c rc = ctx->teedev->desc->ops->supp_recv(ctx, &func, &num_params, params); func 543 drivers/tee/tee_core.c if (put_user(func, &uarg->func) || func 45 drivers/usb/cdns3/cdns3-pci-wrap.c struct pci_dev *func; func 53 drivers/usb/cdns3/cdns3-pci-wrap.c func = pci_get_device(pdev->vendor, pdev->device, NULL); func 54 drivers/usb/cdns3/cdns3-pci-wrap.c if (unlikely(!func)) func 57 drivers/usb/cdns3/cdns3-pci-wrap.c if (func->devfn == pdev->devfn) { func 58 drivers/usb/cdns3/cdns3-pci-wrap.c func = pci_get_device(pdev->vendor, pdev->device, func); func 59 drivers/usb/cdns3/cdns3-pci-wrap.c if (unlikely(!func)) func 63 drivers/usb/cdns3/cdns3-pci-wrap.c return func; func 72 drivers/usb/cdns3/cdns3-pci-wrap.c struct pci_dev *func; func 83 drivers/usb/cdns3/cdns3-pci-wrap.c func = cdns3_get_second_fun(pdev); func 84 drivers/usb/cdns3/cdns3-pci-wrap.c if (unlikely(!func)) func 95 drivers/usb/cdns3/cdns3-pci-wrap.c if (pci_is_enabled(func)) { func 96 drivers/usb/cdns3/cdns3-pci-wrap.c wrap = pci_get_drvdata(func); func 147 drivers/usb/cdns3/cdns3-pci-wrap.c if (pci_is_enabled(func)) { func 175 drivers/usb/cdns3/cdns3-pci-wrap.c struct pci_dev *func; func 177 drivers/usb/cdns3/cdns3-pci-wrap.c func = cdns3_get_second_fun(pdev); func 183 drivers/usb/cdns3/cdns3-pci-wrap.c if (!pci_is_enabled(func)) func 67 drivers/usb/early/ehci-dbgp.c u32 func; func 369 drivers/usb/early/ehci-dbgp.c static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap) func 374 drivers/usb/early/ehci-dbgp.c if (!(read_pci_config_16(num, slot, func, PCI_STATUS) & func 378 drivers/usb/early/ehci-dbgp.c pos = read_pci_config_byte(num, slot, func, PCI_CAPABILITY_LIST); func 383 drivers/usb/early/ehci-dbgp.c id = read_pci_config_byte(num, slot, func, pos+PCI_CAP_LIST_ID); func 389 drivers/usb/early/ehci-dbgp.c pos = read_pci_config_byte(num, slot, func, func 395 drivers/usb/early/ehci-dbgp.c static u32 __init __find_dbgp(u32 bus, u32 slot, u32 func) func 399 drivers/usb/early/ehci-dbgp.c class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION); func 403 drivers/usb/early/ehci-dbgp.c return find_cap(bus, slot, func, PCI_CAP_ID_EHCI_DEBUG); func 408 drivers/usb/early/ehci-dbgp.c u32 bus, slot, func; func 412 drivers/usb/early/ehci-dbgp.c for (func = 0; func < 8; func++) { func 415 drivers/usb/early/ehci-dbgp.c cap = __find_dbgp(bus, slot, func); func 423 drivers/usb/early/ehci-dbgp.c *rfunc = func; func 687 drivers/usb/early/ehci-dbgp.c dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, func 691 drivers/usb/early/ehci-dbgp.c write_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, 0x74, func 700 drivers/usb/early/ehci-dbgp.c vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, func 725 drivers/usb/early/ehci-dbgp.c ehci_dev.func, offset); func 731 drivers/usb/early/ehci-dbgp.c ehci_dev.func, offset + 3, 1); func 740 drivers/usb/early/ehci-dbgp.c ehci_dev.func, offset); func 748 drivers/usb/early/ehci-dbgp.c ehci_dev.func, offset + 2, 0); func 752 drivers/usb/early/ehci-dbgp.c write_pci_config_byte(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, func 833 drivers/usb/early/ehci-dbgp.c u32 bus, slot, func, cap; func 849 drivers/usb/early/ehci-dbgp.c cap = find_dbgp(dbgp_num, &bus, &slot, &func); func 854 drivers/usb/early/ehci-dbgp.c func); func 856 drivers/usb/early/ehci-dbgp.c debug_port = read_pci_config(bus, slot, func, cap); func 867 drivers/usb/early/ehci-dbgp.c bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0); func 876 drivers/usb/early/ehci-dbgp.c byte = read_pci_config_byte(bus, slot, func, 0x04); func 879 drivers/usb/early/ehci-dbgp.c write_pci_config_byte(bus, slot, func, 0x04, byte); func 897 drivers/usb/early/ehci-dbgp.c ehci_dev.func = func; func 38 drivers/usb/early/xhci-dbc.c static void __iomem * __init xdbc_map_pci_mmio(u32 bus, u32 dev, u32 func) func 45 drivers/usb/early/xhci-dbc.c val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); func 46 drivers/usb/early/xhci-dbc.c write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, ~0); func 47 drivers/usb/early/xhci-dbc.c sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0); func 48 drivers/usb/early/xhci-dbc.c write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0, val); func 60 drivers/usb/early/xhci-dbc.c val = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); func 61 drivers/usb/early/xhci-dbc.c write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, ~0); func 62 drivers/usb/early/xhci-dbc.c sz = read_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4); func 63 drivers/usb/early/xhci-dbc.c write_pci_config(bus, dev, func, PCI_BASE_ADDRESS_0 + 4, val); func 80 drivers/usb/early/xhci-dbc.c byte = read_pci_config_byte(bus, dev, func, PCI_COMMAND); func 83 drivers/usb/early/xhci-dbc.c write_pci_config_byte(bus, dev, func, PCI_COMMAND, byte); func 109 drivers/usb/early/xhci-dbc.c u32 bus, dev, func, class; func 113 drivers/usb/early/xhci-dbc.c for (func = 0; func < XDBC_PCI_MAX_FUNCTION; func++) { func 115 drivers/usb/early/xhci-dbc.c class = read_pci_config(bus, dev, func, PCI_CLASS_REVISION); func 124 drivers/usb/early/xhci-dbc.c *f = func; func 604 drivers/usb/early/xhci-dbc.c u32 bus, dev, func, offset; func 622 drivers/usb/early/xhci-dbc.c ret = xdbc_find_dbgp(dbgp_num, &bus, &dev, &func); func 628 drivers/usb/early/xhci-dbc.c xdbc.vendor = read_pci_config_16(bus, dev, func, PCI_VENDOR_ID); func 629 drivers/usb/early/xhci-dbc.c xdbc.device = read_pci_config_16(bus, dev, func, PCI_DEVICE_ID); func 632 drivers/usb/early/xhci-dbc.c xdbc.func = func; func 635 drivers/usb/early/xhci-dbc.c xdbc.xhci_base = xdbc_map_pci_mmio(bus, dev, func); func 757 drivers/usb/early/xhci-dbc.c cmd = read_pci_config_byte(xdbc.bus, xdbc.dev, xdbc.func, PCI_COMMAND); func 760 drivers/usb/early/xhci-dbc.c write_pci_config_byte(xdbc.bus, xdbc.dev, xdbc.func, PCI_COMMAND, cmd); func 145 drivers/usb/early/xhci-dbc.h u32 func; func 76 drivers/usb/gadget/function/f_acm.c return container_of(f, struct f_acm, port.func); func 309 drivers/usb/gadget/function/f_acm.c struct usb_composite_dev *cdev = acm->port.func.config->cdev; func 522 drivers/usb/gadget/function/f_acm.c ERROR(acm->port.func.config->cdev, func 533 drivers/usb/gadget/function/f_acm.c struct usb_composite_dev *cdev = acm->port.func.config->cdev; func 741 drivers/usb/gadget/function/f_acm.c acm->port.func.name = "acm"; func 742 drivers/usb/gadget/function/f_acm.c acm->port.func.strings = acm_strings; func 744 drivers/usb/gadget/function/f_acm.c acm->port.func.bind = acm_bind; func 745 drivers/usb/gadget/function/f_acm.c acm->port.func.set_alt = acm_set_alt; func 746 drivers/usb/gadget/function/f_acm.c acm->port.func.setup = acm_setup; func 747 drivers/usb/gadget/function/f_acm.c acm->port.func.disable = acm_disable; func 751 drivers/usb/gadget/function/f_acm.c acm->port.func.unbind = acm_unbind; func 752 drivers/usb/gadget/function/f_acm.c acm->port.func.free_func = acm_free_func; func 754 drivers/usb/gadget/function/f_acm.c return &acm->port.func; func 65 drivers/usb/gadget/function/f_ecm.c return container_of(f, struct f_ecm, port.func); func 379 drivers/usb/gadget/function/f_ecm.c struct usb_composite_dev *cdev = ecm->port.func.config->cdev; func 446 drivers/usb/gadget/function/f_ecm.c struct usb_composite_dev *cdev = ecm->port.func.config->cdev; func 660 drivers/usb/gadget/function/f_ecm.c struct f_ecm *ecm = func_to_ecm(&geth->func); func 662 drivers/usb/gadget/function/f_ecm.c DBG(ecm->port.func.config->cdev, "%s\n", __func__); func 670 drivers/usb/gadget/function/f_ecm.c struct f_ecm *ecm = func_to_ecm(&geth->func); func 672 drivers/usb/gadget/function/f_ecm.c DBG(ecm->port.func.config->cdev, "%s\n", __func__); func 950 drivers/usb/gadget/function/f_ecm.c ecm->port.func.name = "cdc_ethernet"; func 952 drivers/usb/gadget/function/f_ecm.c ecm->port.func.bind = ecm_bind; func 953 drivers/usb/gadget/function/f_ecm.c ecm->port.func.unbind = ecm_unbind; func 954 drivers/usb/gadget/function/f_ecm.c ecm->port.func.set_alt = ecm_set_alt; func 955 drivers/usb/gadget/function/f_ecm.c ecm->port.func.get_alt = ecm_get_alt; func 956 drivers/usb/gadget/function/f_ecm.c ecm->port.func.setup = ecm_setup; func 957 drivers/usb/gadget/function/f_ecm.c ecm->port.func.disable = ecm_disable; func 958 drivers/usb/gadget/function/f_ecm.c ecm->port.func.free_func = ecm_free; func 960 drivers/usb/gadget/function/f_ecm.c return &ecm->port.func; func 35 drivers/usb/gadget/function/f_eem.c return container_of(f, struct f_eem, port.func); func 392 drivers/usb/gadget/function/f_eem.c struct usb_composite_dev *cdev = port->func.config->cdev; func 630 drivers/usb/gadget/function/f_eem.c eem->port.func.name = "cdc_eem"; func 632 drivers/usb/gadget/function/f_eem.c eem->port.func.bind = eem_bind; func 633 drivers/usb/gadget/function/f_eem.c eem->port.func.unbind = eem_unbind; func 634 drivers/usb/gadget/function/f_eem.c eem->port.func.set_alt = eem_set_alt; func 635 drivers/usb/gadget/function/f_eem.c eem->port.func.setup = eem_setup; func 636 drivers/usb/gadget/function/f_eem.c eem->port.func.disable = eem_disable; func 637 drivers/usb/gadget/function/f_eem.c eem->port.func.free_func = eem_free; func 642 drivers/usb/gadget/function/f_eem.c return &eem->port.func; func 95 drivers/usb/gadget/function/f_fs.c static void ffs_func_eps_disable(struct ffs_function *func); func 96 drivers/usb/gadget/function/f_fs.c static int __must_check ffs_func_eps_enable(struct ffs_function *func); func 111 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_ep(struct ffs_function *func, u8 num); func 112 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_intf(struct ffs_function *func, u8 intf); func 640 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs->func; func 641 drivers/usb/gadget/function/f_fs.c ret = func ? ffs_func_revmap_intf(func, value) : -ENODEV; func 1938 drivers/usb/gadget/function/f_fs.c static void ffs_func_eps_disable(struct ffs_function *func) func 1940 drivers/usb/gadget/function/f_fs.c struct ffs_ep *ep = func->eps; func 1941 drivers/usb/gadget/function/f_fs.c struct ffs_epfile *epfile = func->ffs->epfiles; func 1942 drivers/usb/gadget/function/f_fs.c unsigned count = func->ffs->eps_count; func 1945 drivers/usb/gadget/function/f_fs.c spin_lock_irqsave(&func->ffs->eps_lock, flags); func 1958 drivers/usb/gadget/function/f_fs.c spin_unlock_irqrestore(&func->ffs->eps_lock, flags); func 1961 drivers/usb/gadget/function/f_fs.c static int ffs_func_eps_enable(struct ffs_function *func) func 1963 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; func 1964 drivers/usb/gadget/function/f_fs.c struct ffs_ep *ep = func->eps; func 1970 drivers/usb/gadget/function/f_fs.c spin_lock_irqsave(&func->ffs->eps_lock, flags); func 1974 drivers/usb/gadget/function/f_fs.c ret = config_ep_by_speed(func->gadget, &func->function, ep->ep); func 1995 drivers/usb/gadget/function/f_fs.c spin_unlock_irqrestore(&func->ffs->eps_lock, flags); func 2814 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = priv; func 2829 drivers/usb/gadget/function/f_fs.c if (func->function.ss_descriptors) { func 2831 drivers/usb/gadget/function/f_fs.c func->function.ss_descriptors[(long)valuep] = desc; func 2832 drivers/usb/gadget/function/f_fs.c } else if (func->function.hs_descriptors) { func 2834 drivers/usb/gadget/function/f_fs.c func->function.hs_descriptors[(long)valuep] = desc; func 2837 drivers/usb/gadget/function/f_fs.c func->function.fs_descriptors[(long)valuep] = desc; func 2843 drivers/usb/gadget/function/f_fs.c idx = ffs_ep_addr2idx(func->ffs, ds->bEndpointAddress) - 1; func 2847 drivers/usb/gadget/function/f_fs.c ffs_ep = func->eps + idx; func 2879 drivers/usb/gadget/function/f_fs.c ep = usb_ep_autoconfig(func->gadget, ds); func 2882 drivers/usb/gadget/function/f_fs.c ep->driver_data = func->eps + idx; func 2890 drivers/usb/gadget/function/f_fs.c func->eps_revmap[ds->bEndpointAddress & func 2896 drivers/usb/gadget/function/f_fs.c if (func->ffs->user_flags & FUNCTIONFS_VIRTUAL_ADDR) func 2913 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = priv; func 2925 drivers/usb/gadget/function/f_fs.c if (func->interfaces_nums[idx] < 0) { func 2926 drivers/usb/gadget/function/f_fs.c int id = usb_interface_id(func->conf, &func->function); func 2929 drivers/usb/gadget/function/f_fs.c func->interfaces_nums[idx] = id; func 2931 drivers/usb/gadget/function/f_fs.c newValue = func->interfaces_nums[idx]; func 2936 drivers/usb/gadget/function/f_fs.c newValue = func->ffs->stringtabs[0]->strings[*valuep - 1].id; func 2948 drivers/usb/gadget/function/f_fs.c if (unlikely(!func->eps[idx].ep)) func 2953 drivers/usb/gadget/function/f_fs.c descs = func->eps[idx].descs; func 2968 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = priv; func 2976 drivers/usb/gadget/function/f_fs.c t = &func->function.os_desc_table[desc->bFirstInterfaceNumber]; func 2977 drivers/usb/gadget/function/f_fs.c t->if_id = func->interfaces_nums[desc->bFirstInterfaceNumber]; func 2991 drivers/usb/gadget/function/f_fs.c t = &func->function.os_desc_table[h->interface]; func 2992 drivers/usb/gadget/function/f_fs.c t->if_id = func->interfaces_nums[h->interface]; func 2994 drivers/usb/gadget/function/f_fs.c ext_prop = func->ffs->ms_os_descs_ext_prop_avail; func 2995 drivers/usb/gadget/function/f_fs.c func->ffs->ms_os_descs_ext_prop_avail += sizeof(*ext_prop); func 3003 drivers/usb/gadget/function/f_fs.c ext_prop_name = func->ffs->ms_os_descs_ext_prop_name_avail; func 3004 drivers/usb/gadget/function/f_fs.c func->ffs->ms_os_descs_ext_prop_name_avail += func 3007 drivers/usb/gadget/function/f_fs.c ext_prop_data = func->ffs->ms_os_descs_ext_prop_data_avail; func 3008 drivers/usb/gadget/function/f_fs.c func->ffs->ms_os_descs_ext_prop_data_avail += func 3046 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3063 drivers/usb/gadget/function/f_fs.c func->ffs = ffs_opts->dev->ffs_data; func 3069 drivers/usb/gadget/function/f_fs.c func->conf = c; func 3070 drivers/usb/gadget/function/f_fs.c func->gadget = c->cdev->gadget; func 3080 drivers/usb/gadget/function/f_fs.c ret = functionfs_bind(func->ffs, c->cdev); func 3085 drivers/usb/gadget/function/f_fs.c func->function.strings = func->ffs->stringtabs; func 3093 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3094 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; func 3096 drivers/usb/gadget/function/f_fs.c const int full = !!func->ffs->fs_descs_count; func 3097 drivers/usb/gadget/function/f_fs.c const int high = !!func->ffs->hs_descs_count; func 3098 drivers/usb/gadget/function/f_fs.c const int super = !!func->ffs->ss_descs_count; func 3157 drivers/usb/gadget/function/f_fs.c func->eps = vla_ptr(vlabuf, d, eps); func 3158 drivers/usb/gadget/function/f_fs.c func->interfaces_nums = vla_ptr(vlabuf, d, inums); func 3166 drivers/usb/gadget/function/f_fs.c func->function.fs_descriptors = vla_ptr(vlabuf, d, fs_descs); func 3170 drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_descs, func); func 3180 drivers/usb/gadget/function/f_fs.c func->function.hs_descriptors = vla_ptr(vlabuf, d, hs_descs); func 3184 drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_descs, func); func 3194 drivers/usb/gadget/function/f_fs.c func->function.ss_descriptors = vla_ptr(vlabuf, d, ss_descs); func 3198 drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_descs, func); func 3216 drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_nums, func); func 3220 drivers/usb/gadget/function/f_fs.c func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); func 3225 drivers/usb/gadget/function/f_fs.c desc = func->function.os_desc_table[i].os_desc = func 3237 drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_os_desc, func); func 3241 drivers/usb/gadget/function/f_fs.c func->function.os_desc_n = func 3257 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3265 drivers/usb/gadget/function/f_fs.c functionfs_unbind(func->ffs); func 3283 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3284 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; func 3288 drivers/usb/gadget/function/f_fs.c intf = ffs_func_revmap_intf(func, interface); func 3293 drivers/usb/gadget/function/f_fs.c if (ffs->func) func 3294 drivers/usb/gadget/function/f_fs.c ffs_func_eps_disable(ffs->func); func 3307 drivers/usb/gadget/function/f_fs.c ffs->func = NULL; func 3312 drivers/usb/gadget/function/f_fs.c ffs->func = func; func 3313 drivers/usb/gadget/function/f_fs.c ret = ffs_func_eps_enable(func); func 3327 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3328 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; func 3355 drivers/usb/gadget/function/f_fs.c ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); func 3361 drivers/usb/gadget/function/f_fs.c ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); func 3364 drivers/usb/gadget/function/f_fs.c if (func->ffs->user_flags & FUNCTIONFS_VIRTUAL_ADDR) func 3365 drivers/usb/gadget/function/f_fs.c ret = func->ffs->eps_addrmap[ret]; func 3369 drivers/usb/gadget/function/f_fs.c if (func->ffs->user_flags & FUNCTIONFS_ALL_CTRL_RECIP) func 3388 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3390 drivers/usb/gadget/function/f_fs.c if (config0 && !(func->ffs->user_flags & FUNCTIONFS_CONFIG0_SETUP)) func 3395 drivers/usb/gadget/function/f_fs.c return (ffs_func_revmap_intf(func, func 3398 drivers/usb/gadget/function/f_fs.c return (ffs_func_revmap_ep(func, func 3401 drivers/usb/gadget/function/f_fs.c return (bool) (func->ffs->user_flags & func 3421 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_ep(struct ffs_function *func, u8 num) func 3423 drivers/usb/gadget/function/f_fs.c num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK]; func 3427 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_intf(struct ffs_function *func, u8 intf) func 3429 drivers/usb/gadget/function/f_fs.c short *nums = func->interfaces_nums; func 3430 drivers/usb/gadget/function/f_fs.c unsigned count = func->ffs->interfaces_count; func 3434 drivers/usb/gadget/function/f_fs.c return nums - func->interfaces_nums; func 3569 drivers/usb/gadget/function/f_fs.c struct ffs_function *func = ffs_func_from_usb(f); func 3570 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; func 3573 drivers/usb/gadget/function/f_fs.c struct ffs_ep *ep = func->eps; func 3578 drivers/usb/gadget/function/f_fs.c if (ffs->func == func) { func 3579 drivers/usb/gadget/function/f_fs.c ffs_func_eps_disable(func); func 3580 drivers/usb/gadget/function/f_fs.c ffs->func = NULL; func 3587 drivers/usb/gadget/function/f_fs.c spin_lock_irqsave(&func->ffs->eps_lock, flags); func 3594 drivers/usb/gadget/function/f_fs.c spin_unlock_irqrestore(&func->ffs->eps_lock, flags); func 3595 drivers/usb/gadget/function/f_fs.c kfree(func->eps); func 3596 drivers/usb/gadget/function/f_fs.c func->eps = NULL; func 3601 drivers/usb/gadget/function/f_fs.c func->function.fs_descriptors = NULL; func 3602 drivers/usb/gadget/function/f_fs.c func->function.hs_descriptors = NULL; func 3603 drivers/usb/gadget/function/f_fs.c func->function.ss_descriptors = NULL; func 3604 drivers/usb/gadget/function/f_fs.c func->interfaces_nums = NULL; func 3611 drivers/usb/gadget/function/f_fs.c struct ffs_function *func; func 3615 drivers/usb/gadget/function/f_fs.c func = kzalloc(sizeof(*func), GFP_KERNEL); func 3616 drivers/usb/gadget/function/f_fs.c if (unlikely(!func)) func 3619 drivers/usb/gadget/function/f_fs.c func->function.name = "Function FS Gadget"; func 3621 drivers/usb/gadget/function/f_fs.c func->function.bind = ffs_func_bind; func 3622 drivers/usb/gadget/function/f_fs.c func->function.unbind = ffs_func_unbind; func 3623 drivers/usb/gadget/function/f_fs.c func->function.set_alt = ffs_func_set_alt; func 3624 drivers/usb/gadget/function/f_fs.c func->function.disable = ffs_func_disable; func 3625 drivers/usb/gadget/function/f_fs.c func->function.setup = ffs_func_setup; func 3626 drivers/usb/gadget/function/f_fs.c func->function.req_match = ffs_func_req_match; func 3627 drivers/usb/gadget/function/f_fs.c func->function.suspend = ffs_func_suspend; func 3628 drivers/usb/gadget/function/f_fs.c func->function.resume = ffs_func_resume; func 3629 drivers/usb/gadget/function/f_fs.c func->function.free_func = ffs_free; func 3631 drivers/usb/gadget/function/f_fs.c return &func->function; func 62 drivers/usb/gadget/function/f_hid.c struct usb_function func; func 70 drivers/usb/gadget/function/f_hid.c return container_of(f, struct f_hidg, func); func 324 drivers/usb/gadget/function/f_hid.c ERROR(hidg->func.config->cdev, func 370 drivers/usb/gadget/function/f_hid.c ERROR(hidg->func.config->cdev, func 398 drivers/usb/gadget/function/f_hid.c ERROR(hidg->func.config->cdev, func 464 drivers/usb/gadget/function/f_hid.c struct usb_composite_dev *cdev = hidg->func.config->cdev; func 1118 drivers/usb/gadget/function/f_hid.c hidg->func.name = "hid"; func 1119 drivers/usb/gadget/function/f_hid.c hidg->func.bind = hidg_bind; func 1120 drivers/usb/gadget/function/f_hid.c hidg->func.unbind = hidg_unbind; func 1121 drivers/usb/gadget/function/f_hid.c hidg->func.set_alt = hidg_set_alt; func 1122 drivers/usb/gadget/function/f_hid.c hidg->func.disable = hidg_disable; func 1123 drivers/usb/gadget/function/f_hid.c hidg->func.setup = hidg_setup; func 1124 drivers/usb/gadget/function/f_hid.c hidg->func.free_func = hidg_free; func 1129 drivers/usb/gadget/function/f_hid.c return &hidg->func; func 337 drivers/usb/gadget/function/f_mass_storage.c const char *func, unsigned line) func 341 drivers/usb/gadget/function/f_mass_storage.c ERROR(common, "common->fsg is NULL in %s at %u\n", func, line); func 80 drivers/usb/gadget/function/f_midi.c struct usb_function func; func 107 drivers/usb/gadget/function/f_midi.c return container_of(f, struct f_midi, func); func 273 drivers/usb/gadget/function/f_midi.c struct usb_composite_dev *cdev = midi->func.config->cdev; func 1337 drivers/usb/gadget/function/f_midi.c midi->func.name = "gmidi function"; func 1338 drivers/usb/gadget/function/f_midi.c midi->func.bind = f_midi_bind; func 1339 drivers/usb/gadget/function/f_midi.c midi->func.unbind = f_midi_unbind; func 1340 drivers/usb/gadget/function/f_midi.c midi->func.set_alt = f_midi_set_alt; func 1341 drivers/usb/gadget/function/f_midi.c midi->func.disable = f_midi_disable; func 1342 drivers/usb/gadget/function/f_midi.c midi->func.free_func = f_midi_free; func 1344 drivers/usb/gadget/function/f_midi.c return &midi->func; func 82 drivers/usb/gadget/function/f_ncm.c return container_of(f, struct f_ncm, port.func); func 546 drivers/usb/gadget/function/f_ncm.c struct usb_composite_dev *cdev = ncm->port.func.config->cdev; func 629 drivers/usb/gadget/function/f_ncm.c struct usb_composite_dev *cdev = ncm->port.func.config->cdev; func 1016 drivers/usb/gadget/function/f_ncm.c struct f_ncm *ncm = func_to_ncm(&port->func); func 1178 drivers/usb/gadget/function/f_ncm.c struct f_ncm *ncm = func_to_ncm(&port->func); func 1193 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "Wrong NTH SIGN, skblen %d\n", func 1203 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "Wrong NTB headersize\n"); func 1210 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "OUT size exceeded\n"); func 1221 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "Bad index: %#X\n", func 1229 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "Wrong NDP SIGN\n"); func 1245 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, "Bad NDP length: %#X\n", func 1263 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, func 1277 drivers/usb/gadget/function/f_ncm.c INFO(port->func.config->cdev, func 1310 drivers/usb/gadget/function/f_ncm.c VDBG(port->func.config->cdev, func 1360 drivers/usb/gadget/function/f_ncm.c struct f_ncm *ncm = func_to_ncm(&geth->func); func 1362 drivers/usb/gadget/function/f_ncm.c DBG(ncm->port.func.config->cdev, "%s\n", __func__); func 1372 drivers/usb/gadget/function/f_ncm.c struct f_ncm *ncm = func_to_ncm(&geth->func); func 1374 drivers/usb/gadget/function/f_ncm.c DBG(ncm->port.func.config->cdev, "%s\n", __func__); func 1697 drivers/usb/gadget/function/f_ncm.c ncm->port.func.name = "cdc_network"; func 1699 drivers/usb/gadget/function/f_ncm.c ncm->port.func.bind = ncm_bind; func 1700 drivers/usb/gadget/function/f_ncm.c ncm->port.func.unbind = ncm_unbind; func 1701 drivers/usb/gadget/function/f_ncm.c ncm->port.func.set_alt = ncm_set_alt; func 1702 drivers/usb/gadget/function/f_ncm.c ncm->port.func.get_alt = ncm_get_alt; func 1703 drivers/usb/gadget/function/f_ncm.c ncm->port.func.setup = ncm_setup; func 1704 drivers/usb/gadget/function/f_ncm.c ncm->port.func.disable = ncm_disable; func 1705 drivers/usb/gadget/function/f_ncm.c ncm->port.func.free_func = ncm_free; func 1710 drivers/usb/gadget/function/f_ncm.c return &ncm->port.func; func 39 drivers/usb/gadget/function/f_obex.c return container_of(f, struct f_obex, port.func); func 262 drivers/usb/gadget/function/f_obex.c struct usb_composite_dev *cdev = g->func.config->cdev; func 265 drivers/usb/gadget/function/f_obex.c status = usb_function_activate(&g->func); func 275 drivers/usb/gadget/function/f_obex.c struct usb_composite_dev *cdev = g->func.config->cdev; func 278 drivers/usb/gadget/function/f_obex.c status = usb_function_deactivate(&g->func); func 476 drivers/usb/gadget/function/f_obex.c obex->port.func.name = "obex"; func 478 drivers/usb/gadget/function/f_obex.c obex->port.func.bind = obex_bind; func 479 drivers/usb/gadget/function/f_obex.c obex->port.func.unbind = obex_unbind; func 480 drivers/usb/gadget/function/f_obex.c obex->port.func.set_alt = obex_set_alt; func 481 drivers/usb/gadget/function/f_obex.c obex->port.func.get_alt = obex_get_alt; func 482 drivers/usb/gadget/function/f_obex.c obex->port.func.disable = obex_disable; func 483 drivers/usb/gadget/function/f_obex.c obex->port.func.free_func = obex_free; func 484 drivers/usb/gadget/function/f_obex.c obex->port.func.bind_deactivated = true; func 486 drivers/usb/gadget/function/f_obex.c return &obex->port.func; func 84 drivers/usb/gadget/function/f_rndis.c return container_of(f, struct f_rndis, port.func); func 387 drivers/usb/gadget/function/f_rndis.c struct usb_composite_dev *cdev = rndis->port.func.config->cdev; func 412 drivers/usb/gadget/function/f_rndis.c struct usb_composite_dev *cdev = rndis->port.func.config->cdev; func 635 drivers/usb/gadget/function/f_rndis.c struct f_rndis *rndis = func_to_rndis(&geth->func); func 636 drivers/usb/gadget/function/f_rndis.c struct usb_composite_dev *cdev = geth->func.config->cdev; func 647 drivers/usb/gadget/function/f_rndis.c struct f_rndis *rndis = func_to_rndis(&geth->func); func 649 drivers/usb/gadget/function/f_rndis.c DBG(geth->func.config->cdev, "%s\n", __func__); func 1009 drivers/usb/gadget/function/f_rndis.c rndis->port.func.name = "rndis"; func 1011 drivers/usb/gadget/function/f_rndis.c rndis->port.func.bind = rndis_bind; func 1012 drivers/usb/gadget/function/f_rndis.c rndis->port.func.unbind = rndis_unbind; func 1013 drivers/usb/gadget/function/f_rndis.c rndis->port.func.set_alt = rndis_set_alt; func 1014 drivers/usb/gadget/function/f_rndis.c rndis->port.func.setup = rndis_setup; func 1015 drivers/usb/gadget/function/f_rndis.c rndis->port.func.disable = rndis_disable; func 1016 drivers/usb/gadget/function/f_rndis.c rndis->port.func.free_func = rndis_free; func 1025 drivers/usb/gadget/function/f_rndis.c return &rndis->port.func; func 35 drivers/usb/gadget/function/f_serial.c return container_of(f, struct f_gser, port.func); func 344 drivers/usb/gadget/function/f_serial.c gser->port.func.name = "gser"; func 345 drivers/usb/gadget/function/f_serial.c gser->port.func.strings = gser_strings; func 346 drivers/usb/gadget/function/f_serial.c gser->port.func.bind = gser_bind; func 347 drivers/usb/gadget/function/f_serial.c gser->port.func.unbind = gser_unbind; func 348 drivers/usb/gadget/function/f_serial.c gser->port.func.set_alt = gser_set_alt; func 349 drivers/usb/gadget/function/f_serial.c gser->port.func.disable = gser_disable; func 350 drivers/usb/gadget/function/f_serial.c gser->port.func.free_func = gser_free; func 352 drivers/usb/gadget/function/f_serial.c return &gser->port.func; func 57 drivers/usb/gadget/function/f_subset.c return container_of(f, struct f_gether, port.func); func 494 drivers/usb/gadget/function/f_subset.c geth->port.func.name = "cdc_subset"; func 495 drivers/usb/gadget/function/f_subset.c geth->port.func.bind = geth_bind; func 496 drivers/usb/gadget/function/f_subset.c geth->port.func.unbind = geth_unbind; func 497 drivers/usb/gadget/function/f_subset.c geth->port.func.set_alt = geth_set_alt; func 498 drivers/usb/gadget/function/f_subset.c geth->port.func.disable = geth_disable; func 499 drivers/usb/gadget/function/f_subset.c geth->port.func.free_func = geth_free; func 501 drivers/usb/gadget/function/f_subset.c return &geth->port.func; func 30 drivers/usb/gadget/function/f_uac1.c return container_of(f, struct f_uac1, g_audio.func); func 786 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.name = "uac1_func"; func 787 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.bind = f_audio_bind; func 788 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.unbind = f_audio_unbind; func 789 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.set_alt = f_audio_set_alt; func 790 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.get_alt = f_audio_get_alt; func 791 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.setup = f_audio_setup; func 792 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.disable = f_audio_disable; func 793 drivers/usb/gadget/function/f_uac1.c uac1->g_audio.func.free_func = f_audio_free; func 795 drivers/usb/gadget/function/f_uac1.c return &uac1->g_audio.func; func 296 drivers/usb/gadget/function/f_uac1_legacy.c return container_of(f, struct f_audio, card.func); func 324 drivers/usb/gadget/function/f_uac1_legacy.c struct usb_composite_dev *cdev = audio->card.func.config->cdev; func 330 drivers/usb/gadget/function/f_uac1_legacy.c opts = container_of(audio->card.func.fi, struct f_uac1_legacy_opts, func 992 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.name = "g_audio"; func 1001 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.bind = f_audio_bind; func 1002 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.unbind = f_audio_unbind; func 1003 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.set_alt = f_audio_set_alt; func 1004 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.get_alt = f_audio_get_alt; func 1005 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.setup = f_audio_setup; func 1006 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.disable = f_audio_disable; func 1007 drivers/usb/gadget/function/f_uac1_legacy.c audio->card.func.free_func = f_audio_free; func 1013 drivers/usb/gadget/function/f_uac1_legacy.c return &audio->card.func; func 53 drivers/usb/gadget/function/f_uac2.c return container_of(f, struct f_uac2, g_audio.func); func 59 drivers/usb/gadget/function/f_uac2.c return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); func 1125 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.name = "uac2_func"; func 1126 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.bind = afunc_bind; func 1127 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.unbind = afunc_unbind; func 1128 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.set_alt = afunc_set_alt; func 1129 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.get_alt = afunc_get_alt; func 1130 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.disable = afunc_disable; func 1131 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.setup = afunc_setup; func 1132 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.free_func = afunc_free; func 1134 drivers/usb/gadget/function/f_uac2.c return &uac2->g_audio.func; func 254 drivers/usb/gadget/function/f_uvc.c struct usb_composite_dev *cdev = uvc->func.config->cdev; func 344 drivers/usb/gadget/function/f_uvc.c &(uvc->func), uvc->video.ep); func 386 drivers/usb/gadget/function/f_uvc.c if ((ret = usb_function_activate(&uvc->func)) < 0) func 387 drivers/usb/gadget/function/f_uvc.c uvcg_info(&uvc->func, "UVC connect failed with %d\n", ret); func 395 drivers/usb/gadget/function/f_uvc.c if ((ret = usb_function_deactivate(&uvc->func)) < 0) func 396 drivers/usb/gadget/function/f_uvc.c uvcg_info(&uvc->func, "UVC disconnect failed with %d\n", ret); func 408 drivers/usb/gadget/function/f_uvc.c return sprintf(buf, "%s\n", uvc->func.fi->group.cg_item.ci_name); func 416 drivers/usb/gadget/function/f_uvc.c struct usb_composite_dev *cdev = uvc->func.config->cdev; func 937 drivers/usb/gadget/function/f_uvc.c uvc->func.name = "uvc"; func 938 drivers/usb/gadget/function/f_uvc.c uvc->func.bind = uvc_function_bind; func 939 drivers/usb/gadget/function/f_uvc.c uvc->func.unbind = uvc_unbind; func 940 drivers/usb/gadget/function/f_uvc.c uvc->func.get_alt = uvc_function_get_alt; func 941 drivers/usb/gadget/function/f_uvc.c uvc->func.set_alt = uvc_function_set_alt; func 942 drivers/usb/gadget/function/f_uvc.c uvc->func.disable = uvc_function_disable; func 943 drivers/usb/gadget/function/f_uvc.c uvc->func.setup = uvc_function_setup; func 944 drivers/usb/gadget/function/f_uvc.c uvc->func.free_func = uvc_free; func 945 drivers/usb/gadget/function/f_uvc.c uvc->func.bind_deactivated = true; func 947 drivers/usb/gadget/function/f_uvc.c return &uvc->func; func 21 drivers/usb/gadget/function/storage_common.h #define _LMSG(func, lun, fmt, args...) \ func 24 drivers/usb/gadget/function/storage_common.h func("%s/%s: " fmt, *(lun)->name_pfx, \ func 27 drivers/usb/gadget/function/storage_common.h func("%s: " fmt, (lun)->name, ## args); \ func 378 drivers/usb/gadget/function/u_audio.c config_ep_by_speed(gadget, &audio_dev->func, ep); func 431 drivers/usb/gadget/function/u_audio.c config_ep_by_speed(gadget, &audio_dev->func, ep); func 29 drivers/usb/gadget/function/u_audio.h struct usb_function func; func 48 drivers/usb/gadget/function/u_audio.h return container_of(f, struct g_audio, func); func 53 drivers/usb/gadget/function/u_ether.h struct usb_function func; func 220 drivers/usb/gadget/function/u_fs.h struct ffs_function *func; func 35 drivers/usb/gadget/function/u_serial.h struct usb_function func; func 203 drivers/usb/gadget/function/u_uac1_legacy.c opts = container_of(card->func.fi, struct f_uac1_legacy_opts, func 45 drivers/usb/gadget/function/u_uac1_legacy.h struct usb_function func; func 116 drivers/usb/gadget/function/uvc.h struct usb_function func; func 142 drivers/usb/gadget/function/uvc.h return container_of(f, struct uvc_device, func); func 35 drivers/usb/gadget/function/uvc_v4l2.c struct usb_composite_dev *cdev = uvc->func.config->cdev; func 68 drivers/usb/gadget/function/uvc_v4l2.c struct usb_composite_dev *cdev = uvc->func.config->cdev; func 114 drivers/usb/gadget/function/uvc_v4l2.c uvcg_info(&uvc->func, "Unsupported format 0x%08x.\n", func 134 drivers/usb/gadget/function/uvc_video.c uvcg_err(&video->uvc->func, "Failed to queue request (%d).\n", func 189 drivers/usb/gadget/function/uvc_video.c uvcg_dbg(&video->uvc->func, "VS request cancelled.\n"); func 194 drivers/usb/gadget/function/uvc_video.c uvcg_info(&video->uvc->func, func 360 drivers/usb/gadget/function/uvc_video.c uvcg_info(&video->uvc->func, func 34 drivers/usb/gadget/legacy/hid.c struct hidg_func_descriptor *func; func 152 drivers/usb/gadget/legacy/hid.c hid_opts->subclass = n->func->subclass; func 153 drivers/usb/gadget/legacy/hid.c hid_opts->protocol = n->func->protocol; func 154 drivers/usb/gadget/legacy/hid.c hid_opts->report_length = n->func->report_length; func 155 drivers/usb/gadget/legacy/hid.c hid_opts->report_desc_length = n->func->report_desc_length; func 156 drivers/usb/gadget/legacy/hid.c hid_opts->report_desc = n->func->report_desc; func 220 drivers/usb/gadget/legacy/hid.c struct hidg_func_descriptor *func = dev_get_platdata(&pdev->dev); func 223 drivers/usb/gadget/legacy/hid.c if (!func) { func 232 drivers/usb/gadget/legacy/hid.c entry->func = func; func 1339 drivers/usb/host/xhci.c const char *func) { func 1344 drivers/usb/host/xhci.c pr_debug("xHCI %s called with invalid args\n", func); func 1348 drivers/usb/host/xhci.c pr_debug("xHCI %s called for root hub\n", func); func 1356 drivers/usb/host/xhci.c func); func 1363 drivers/usb/host/xhci.c "virt_dev does not match\n", func); func 54 drivers/usb/renesas_usbhs/common.c #define usbhs_platform_call(priv, func, args...)\ func 56 drivers/usb/renesas_usbhs/common.c !((priv)->pfunc->func) ? 0 : \ func 57 drivers/usb/renesas_usbhs/common.c (priv)->pfunc->func(args)) func 153 drivers/usb/renesas_usbhs/fifo.c int (*func)(struct usbhs_pkt *pkt, int *is_done); func 167 drivers/usb/renesas_usbhs/fifo.c func = pkt->handler->prepare; func 170 drivers/usb/renesas_usbhs/fifo.c func = pkt->handler->try_run; func 173 drivers/usb/renesas_usbhs/fifo.c func = pkt->handler->dma_done; func 180 drivers/usb/renesas_usbhs/fifo.c if (likely(func)) func 181 drivers/usb/renesas_usbhs/fifo.c ret = func(pkt, &is_done); func 130 drivers/usb/renesas_usbhs/mod.h #define usbhs_mod_call(priv, func, param...) \ func 135 drivers/usb/renesas_usbhs/mod.h !mod->func ? 0 : \ func 136 drivers/usb/renesas_usbhs/mod.h mod->func(param); \ func 140 drivers/usb/renesas_usbhs/mod.h #define usbhs_mod_info_call(priv, func, param...) \ func 144 drivers/usb/renesas_usbhs/mod.h !info->func ? 0 : \ func 145 drivers/usb/renesas_usbhs/mod.h info->func(param); \ func 412 drivers/usb/renesas_usbhs/mod_gadget.c int (*func)(struct usbhs_priv *priv, struct usbhsg_uep *uep, func 426 drivers/usb/renesas_usbhs/mod_gadget.c func = handler->device; func 430 drivers/usb/renesas_usbhs/mod_gadget.c func = handler->interface; func 434 drivers/usb/renesas_usbhs/mod_gadget.c func = handler->endpoint; func 438 drivers/usb/renesas_usbhs/mod_gadget.c func = NULL; func 442 drivers/usb/renesas_usbhs/mod_gadget.c if (func) { func 444 drivers/usb/renesas_usbhs/mod_gadget.c ret = func(priv, uep, ctrl); func 180 drivers/usb/typec/tcpm/wcove.c enum wcove_typec_func func, int param) func 189 drivers/usb/typec/tcpm/wcove.c obj = acpi_evaluate_dsm(ACPI_HANDLE(wcove->dev), &wcove->guid, 1, func, func 26 drivers/usb/typec/ucsi/ucsi_acpi.c static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func) func 30 drivers/usb/typec/ucsi/ucsi_acpi.c obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), &ua->guid, 1, func, func 34 drivers/usb/typec/ucsi/ucsi_acpi.c __func__, func); func 626 drivers/vfio/pci/vfio_pci_intrs.c int (*func)(struct vfio_pci_device *vdev, unsigned index, func 634 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_intx_mask; func 637 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_intx_unmask; func 640 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_intx_trigger; func 652 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_msi_trigger; func 660 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_err_trigger; func 667 drivers/vfio/pci/vfio_pci_intrs.c func = vfio_pci_set_req_trigger; func 673 drivers/vfio/pci/vfio_pci_intrs.c if (!func) func 676 drivers/vfio/pci/vfio_pci_intrs.c return func(vdev, index, start, count, flags, data); func 260 drivers/vfio/platform/vfio_platform_irq.c int (*func)(struct vfio_platform_device *vdev, unsigned index, func 266 drivers/vfio/platform/vfio_platform_irq.c func = vfio_platform_set_irq_mask; func 269 drivers/vfio/platform/vfio_platform_irq.c func = vfio_platform_set_irq_unmask; func 272 drivers/vfio/platform/vfio_platform_irq.c func = vfio_platform_set_irq_trigger; func 276 drivers/vfio/platform/vfio_platform_irq.c if (!func) func 279 drivers/vfio/platform/vfio_platform_irq.c return func(vdev, index, start, count, flags, data); func 92 drivers/vfio/vfio_spapr_eeh.c ret = eeh_pe_inject_err(pe, op.err.type, op.err.func, func 1094 drivers/video/console/sticore.c int sti_call(const struct sti_struct *sti, unsigned long func, func 1111 drivers/video/console/sticore.c ret = pdc_sti_call(func, _flags, _inptr, _outptr, _glob_cfg); func 435 drivers/video/fbdev/core/fbcon.c if ((!info->queue.func || info->queue.func == fb_flashcursor) && func 438 drivers/video/fbdev/core/fbcon.c if (!info->queue.func) func 451 drivers/video/fbdev/core/fbcon.c if (info->queue.func == fb_flashcursor && func 3651 drivers/video/fbdev/core/fbcon.c if (info->queue.func) func 3678 drivers/video/fbdev/core/fbcon.c if (info->queue.func == fb_flashcursor) func 3679 drivers/video/fbdev/core/fbcon.c info->queue.func = NULL; func 147 drivers/video/fbdev/grvga.c u32 func = 0; func 166 drivers/video/fbdev/grvga.c func = 1; func 170 drivers/video/fbdev/grvga.c func = 2; func 175 drivers/video/fbdev/grvga.c func = 3; func 181 drivers/video/fbdev/grvga.c __raw_writel((par->clk_sel << 6) | (func << 4) | 1, func 93 drivers/video/fbdev/omap2/omapfb/dss/core.c void (*func)(struct seq_file *) = s->private; func 94 drivers/video/fbdev/omap2/omapfb/dss/core.c func(s); func 3705 drivers/video/fbdev/omap2/omapfb/dss/dispc.c dispc_div_calc_func func, void *data) func 3755 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (func(lckd, pckd, lck, pck, data)) func 511 drivers/video/fbdev/omap2/omapfb/dss/dss.c dss_div_calc_func func, void *data) func 531 drivers/video/fbdev/omap2/omapfb/dss/dss.c return func(fck, data); func 547 drivers/video/fbdev/omap2/omapfb/dss/dss.c if (func(fck, data)) func 308 drivers/video/fbdev/omap2/omapfb/dss/dss.h dss_div_calc_func func, void *data); func 387 drivers/video/fbdev/omap2/omapfb/dss/dss.h dispc_div_calc_func func, void *data); func 492 drivers/video/fbdev/omap2/omapfb/dss/dss.h dss_hsdiv_calc_func func, void *data); func 495 drivers/video/fbdev/omap2/omapfb/dss/dss.h dss_pll_calc_func func, void *data); func 123 drivers/video/fbdev/omap2/omapfb/dss/pll.c dss_hsdiv_calc_func func, void *data) func 139 drivers/video/fbdev/omap2/omapfb/dss/pll.c if (func(m, out, data)) func 148 drivers/video/fbdev/omap2/omapfb/dss/pll.c dss_pll_calc_func func, void *data) func 179 drivers/video/fbdev/omap2/omapfb/dss/pll.c if (func(n, m, fint, clkdco, data)) func 387 drivers/video/fbdev/sticore.h int sti_call(const struct sti_struct *sti, unsigned long func, func 1316 drivers/vme/vme.c call = bridge->irq[level - 1].callback[statid].func; func 1366 drivers/vme/vme.c if (bridge->irq[level - 1].callback[statid].func) { func 1374 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].func = callback; func 1421 drivers/vme/vme.c bridge->irq[level - 1].callback[statid].func = NULL; func 91 drivers/vme/vme_bridge.h void (*func)(int, int, void*); func 73 drivers/watchdog/diag288_wdt.c static int __diag288(unsigned int func, unsigned int timeout, func 76 drivers/watchdog/diag288_wdt.c register unsigned long __func asm("2") = func; func 93 drivers/watchdog/diag288_wdt.c static int __diag288_vm(unsigned int func, unsigned int timeout, func 97 drivers/watchdog/diag288_wdt.c return __diag288(func, timeout, virt_to_phys(cmd), len); func 100 drivers/watchdog/diag288_wdt.c static int __diag288_lpar(unsigned int func, unsigned int timeout, func 104 drivers/watchdog/diag288_wdt.c return __diag288(func, timeout, action, 0); func 116 drivers/watchdog/diag288_wdt.c unsigned int func; func 133 drivers/watchdog/diag288_wdt.c func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL) func 135 drivers/watchdog/diag288_wdt.c ret = __diag288_vm(func, dev->timeout, ebc_cmd, len); func 168 drivers/watchdog/diag288_wdt.c unsigned int func; func 185 drivers/watchdog/diag288_wdt.c func = conceal_on ? (WDT_FUNC_INIT | WDT_FUNC_CONCEAL) func 188 drivers/watchdog/diag288_wdt.c ret = __diag288_vm(func, dev->timeout, ebc_cmd, len); func 942 drivers/xen/grant-table.c const char *func) func 953 drivers/xen/grant-table.c pr_err("%s: %s eagain grant\n", func, current->comm); func 156 drivers/xen/xen-pciback/pci_stub.c int slot, int func) func 165 drivers/xen/xen-pciback/pci_stub.c && func == PCI_FUNC(psdev->dev->devfn)) { func 174 drivers/xen/xen-pciback/pci_stub.c int slot, int func) func 181 drivers/xen/xen-pciback/pci_stub.c psdev = pcistub_device_find_locked(domain, bus, slot, func); func 212 drivers/xen/xen-pciback/pci_stub.c int slot, int func) func 220 drivers/xen/xen-pciback/pci_stub.c psdev = pcistub_device_find_locked(domain, bus, slot, func); func 1009 drivers/xen/xen-pciback/pci_stub.c int *slot, int *func) func 1013 drivers/xen/xen-pciback/pci_stub.c switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func, func 1016 drivers/xen/xen-pciback/pci_stub.c *func = -1; func 1020 drivers/xen/xen-pciback/pci_stub.c *slot = *func = -1; func 1029 drivers/xen/xen-pciback/pci_stub.c switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) { func 1031 drivers/xen/xen-pciback/pci_stub.c *func = -1; func 1035 drivers/xen/xen-pciback/pci_stub.c *slot = *func = -1; func 1046 drivers/xen/xen-pciback/pci_stub.c *slot, int *func, int *reg, int *size, int *mask) func 1050 drivers/xen/xen-pciback/pci_stub.c sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func, func 1057 drivers/xen/xen-pciback/pci_stub.c sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size, func 1065 drivers/xen/xen-pciback/pci_stub.c static int pcistub_device_id_add(int domain, int bus, int slot, int func) func 1068 drivers/xen/xen-pciback/pci_stub.c int rc = 0, devfn = PCI_DEVFN(slot, func); func 1072 drivers/xen/xen-pciback/pci_stub.c rc = pcistub_device_id_add(domain, bus, slot, func); func 1076 drivers/xen/xen-pciback/pci_stub.c if (func < 0) { func 1077 drivers/xen/xen-pciback/pci_stub.c for (func = 0; !rc && func < 8; ++func) func 1078 drivers/xen/xen-pciback/pci_stub.c rc = pcistub_device_id_add(domain, bus, slot, func); func 1090 drivers/xen/xen-pciback/pci_stub.c || PCI_FUNC(devfn) != func) func 1098 drivers/xen/xen-pciback/pci_stub.c domain, bus, slot, func); func 1105 drivers/xen/xen-pciback/pci_stub.c static int pcistub_device_id_remove(int domain, int bus, int slot, int func) func 1116 drivers/xen/xen-pciback/pci_stub.c && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { func 1126 drivers/xen/xen-pciback/pci_stub.c domain, bus, slot, func); func 1134 drivers/xen/xen-pciback/pci_stub.c static int pcistub_reg_add(int domain, int bus, int slot, int func, func 1146 drivers/xen/xen-pciback/pci_stub.c psdev = pcistub_device_find(domain, bus, slot, func); func 1179 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func; func 1182 drivers/xen/xen-pciback/pci_stub.c err = str_to_slot(buf, &domain, &bus, &slot, &func); func 1186 drivers/xen/xen-pciback/pci_stub.c err = pcistub_device_id_add(domain, bus, slot, func); func 1198 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func; func 1201 drivers/xen/xen-pciback/pci_stub.c err = str_to_slot(buf, &domain, &bus, &slot, &func); func 1205 drivers/xen/xen-pciback/pci_stub.c err = pcistub_device_id_remove(domain, bus, slot, func); func 1271 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func; func 1274 drivers/xen/xen-pciback/pci_stub.c err = str_to_slot(buf, &domain, &bus, &slot, &func); func 1278 drivers/xen/xen-pciback/pci_stub.c psdev = pcistub_device_find(domain, bus, slot, func); func 1309 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func, reg, size, mask; func 1312 drivers/xen/xen-pciback/pci_stub.c err = str_to_quirk(buf, &domain, &bus, &slot, &func, ®, &size, func 1317 drivers/xen/xen-pciback/pci_stub.c err = pcistub_reg_add(domain, bus, slot, func, reg, size, mask); func 1373 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func; func 1378 drivers/xen/xen-pciback/pci_stub.c err = str_to_slot(buf, &domain, &bus, &slot, &func); func 1382 drivers/xen/xen-pciback/pci_stub.c psdev = pcistub_device_find(domain, bus, slot, func); func 1454 drivers/xen/xen-pciback/pci_stub.c int domain, bus, slot, func; func 1463 drivers/xen/xen-pciback/pci_stub.c &domain, &bus, &slot, &func, &parsed); func 1466 drivers/xen/xen-pciback/pci_stub.c func = -1; func 1472 drivers/xen/xen-pciback/pci_stub.c slot = func = -1; func 1483 drivers/xen/xen-pciback/pci_stub.c &bus, &slot, &func, &parsed); func 1486 drivers/xen/xen-pciback/pci_stub.c func = -1; func 1492 drivers/xen/xen-pciback/pci_stub.c slot = func = -1; func 1503 drivers/xen/xen-pciback/pci_stub.c err = pcistub_device_id_add(domain, bus, slot, func); func 65 drivers/xen/xen-pciback/pciback.h int slot, int func); func 72 drivers/xen/xen-pciback/vpci.c int err = 0, slot, func = -1; func 113 drivers/xen/xen-pciback/vpci.c func = PCI_FUNC(dev->devfn); func 126 drivers/xen/xen-pciback/vpci.c func = dev->is_virtfn ? 0 : PCI_FUNC(dev->devfn); func 140 drivers/xen/xen-pciback/vpci.c err = publish_cb(pdev, 0, 0, PCI_DEVFN(slot, func), devid); func 226 drivers/xen/xen-pciback/xenbus.c int domain, int bus, int slot, int func, func 233 drivers/xen/xen-pciback/xenbus.c domain, bus, slot, func); func 235 drivers/xen/xen-pciback/xenbus.c dev = pcistub_get_pci_dev_by_slot(pdev, domain, bus, slot, func); func 242 drivers/xen/xen-pciback/xenbus.c domain, bus, slot, func); func 273 drivers/xen/xen-pciback/xenbus.c int domain, int bus, int slot, int func) func 279 drivers/xen/xen-pciback/xenbus.c domain, bus, slot, func); func 281 drivers/xen/xen-pciback/xenbus.c dev = xen_pcibk_get_pci_dev(pdev, domain, bus, PCI_DEVFN(slot, func)); func 286 drivers/xen/xen-pciback/xenbus.c domain, bus, slot, func); func 365 drivers/xen/xen-pciback/xenbus.c int domain, bus, slot, func; func 416 drivers/xen/xen-pciback/xenbus.c &domain, &bus, &slot, &func); func 432 drivers/xen/xen-pciback/xenbus.c func, i); func 470 drivers/xen/xen-pciback/xenbus.c &domain, &bus, &slot, &func); func 486 drivers/xen/xen-pciback/xenbus.c func); func 561 drivers/xen/xen-pciback/xenbus.c int domain, bus, slot, func; func 598 drivers/xen/xen-pciback/xenbus.c "%x:%x:%x.%x", &domain, &bus, &slot, &func); func 612 drivers/xen/xen-pciback/xenbus.c err = xen_pcibk_export_device(pdev, domain, bus, slot, func, i); func 2214 fs/block_dev.c void iterate_bdevs(void (*func)(struct block_device *, void *), void *arg) func 2246 fs/block_dev.c func(bdev, arg); func 326 fs/btrfs/async-thread.c work->func(work); func 335 fs/btrfs/async-thread.c void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, func 338 fs/btrfs/async-thread.c work->func = func; func 21 fs/btrfs/async-thread.h btrfs_func_t func; func 37 fs/btrfs/async-thread.h void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, func 3301 fs/buffer.c SYSCALL_DEFINE2(bdflush, int, func, long, data) func 3316 fs/buffer.c if (func == 1) func 568 fs/cifs/sess.c void (*func)(struct sess_data *); func 792 fs/cifs/sess.c sess_data->func = NULL; func 902 fs/cifs/sess.c sess_data->func = NULL; func 1010 fs/cifs/sess.c sess_data->func = NULL; func 1149 fs/cifs/sess.c sess_data->func = NULL; func 1280 fs/cifs/sess.c sess_data->func = sess_auth_rawntlmssp_authenticate; func 1290 fs/cifs/sess.c sess_data->func = NULL; func 1397 fs/cifs/sess.c sess_data->func = NULL; func 1421 fs/cifs/sess.c sess_data->func = sess_auth_lanman; func 1427 fs/cifs/sess.c sess_data->func = sess_auth_ntlm; func 1430 fs/cifs/sess.c sess_data->func = sess_auth_ntlmv2; func 1434 fs/cifs/sess.c sess_data->func = sess_auth_kerberos; func 1442 fs/cifs/sess.c sess_data->func = sess_auth_rawntlmssp_negotiate; func 1476 fs/cifs/sess.c while (sess_data->func) func 1477 fs/cifs/sess.c sess_data->func(sess_data); func 1176 fs/cifs/smb2pdu.c void (*func)(struct SMB2_sess_data *); func 1372 fs/cifs/smb2pdu.c sess_data->func = NULL; func 1381 fs/cifs/smb2pdu.c sess_data->func = NULL; func 1467 fs/cifs/smb2pdu.c sess_data->func = SMB2_sess_auth_rawntlmssp_authenticate; func 1474 fs/cifs/smb2pdu.c sess_data->func = NULL; func 1527 fs/cifs/smb2pdu.c sess_data->func = NULL; func 1545 fs/cifs/smb2pdu.c sess_data->func = SMB2_auth_kerberos; func 1548 fs/cifs/smb2pdu.c sess_data->func = SMB2_sess_auth_rawntlmssp_negotiate; func 1592 fs/cifs/smb2pdu.c while (sess_data->func) func 1593 fs/cifs/smb2pdu.c sess_data->func(sess_data); func 219 fs/dax.c ewait.wait.func = wake_exceptional_entry_func; func 252 fs/dax.c ewait.wait.func = wake_exceptional_entry_func; func 2754 fs/ext4/ext4.h #define ext4_error_inode(inode, func, line, block, fmt, ...) \ func 2755 fs/ext4/ext4.h __ext4_error_inode(inode, func, line, block, fmt, ##__VA_ARGS__) func 2756 fs/ext4/ext4.h #define ext4_error_file(file, func, line, block, fmt, ...) \ func 2757 fs/ext4/ext4.h __ext4_error_file(file, func, line, block, fmt, ##__VA_ARGS__) func 2776 fs/ext4/ext4.h #define ext4_error_inode(inode, func, line, block, fmt, ...) \ func 2781 fs/ext4/ext4.h #define ext4_error_file(file, func, line, block, fmt, ...) \ func 176 fs/ext4/ext4_jbd2.h void (*func)(struct super_block *sb, func 185 fs/ext4/ext4_jbd2.h jce->jce_func = func; func 407 fs/ext4/inode.c static int __check_block_validity(struct inode *inode, const char *func, func 417 fs/ext4/inode.c ext4_error_inode(inode, func, line, map->m_pblk, func 105 fs/ext4/namei.c const char *func, func 114 fs/ext4/namei.c __ext4_warning(inode->i_sb, func, line, func 123 fs/ext4/namei.c ext4_error_inode(inode, func, line, block, func 141 fs/ext4/namei.c ext4_error_inode(inode, func, line, block, func 159 fs/ext4/namei.c ext4_error_inode(inode, func, line, block, func 169 fs/ext4/namei.c ext4_error_inode(inode, func, line, block, func 354 fs/ext4/namei.c static void __warn_no_space_for_csum(struct inode *inode, const char *func, func 357 fs/ext4/namei.c __ext4_warning_inode(inode, func, line, func 358 fs/ext4/super.c static void __save_error_info(struct super_block *sb, const char *func, func 368 fs/ext4/super.c strncpy(es->s_last_error_func, func, sizeof(es->s_last_error_func)); func 373 fs/ext4/super.c strncpy(es->s_first_error_func, func, func 388 fs/ext4/super.c static void save_error_info(struct super_block *sb, const char *func, func 391 fs/ext4/super.c __save_error_info(sb, func, line); func 707 fs/fat/dir.c #define FAT_IOCTL_FILLDIR_FUNC(func, dirent_type) \ func 708 fs/fat/dir.c static int func(struct dir_context *ctx, const char *name, int name_len, \ func 753 fs/gfs2/glock.c wait.wait.func = glock_wake_function; func 589 fs/gfs2/trace_gfs2.h TP_PROTO(const struct gfs2_blkreserv *rs, u8 func), func 591 fs/gfs2/trace_gfs2.h TP_ARGS(rs, func), func 601 fs/gfs2/trace_gfs2.h __field( u8, func ) func 613 fs/gfs2/trace_gfs2.h __entry->func = func; func 623 fs/gfs2/trace_gfs2.h rs_func_name(__entry->func), (unsigned long)__entry->free) func 2976 fs/io_uring.c .func = io_wake_function, func 103 fs/jbd2/journal.c void __jbd2_debug(int level, const char *file, const char *func, func 114 fs/jbd2/journal.c printk(KERN_DEBUG "%s: (%s, %u): %pV", file, func, line, &vaf); func 289 fs/lockd/svc4proc.c __be32 (*func)(struct svc_rqst *, struct nlm_res *)) func 307 fs/lockd/svc4proc.c stat = func(rqstp, &call->a_res); func 330 fs/lockd/svcproc.c __be32 (*func)(struct svc_rqst *, struct nlm_res *)) func 348 fs/lockd/svcproc.c stat = func(rqstp, &call->a_res); func 7132 fs/nfs/nfs4proc.c wait.func = nfs4_wake_lock_waiter; func 7134 fs/nfsd/nfs4state.c bool (*func)(struct nfs4_ol_stateid *)) func 7147 fs/nfsd/nfs4state.c if (func) { func 7148 fs/nfsd/nfs4state.c if (func(lst)) func 7267 fs/nfsd/nfs4state.c void (*func)(struct nfs4_openowner *)) func 7278 fs/nfsd/nfs4state.c if (func) { func 7279 fs/nfsd/nfs4state.c func(oop); func 1880 fs/nfsd/vfs.c static __be32 nfsd_buffered_readdir(struct file *file, nfsd_filldir_t func, func 1920 fs/nfsd/vfs.c if (func(cdp, de->name, de->namlen, de->offset, func 1953 fs/nfsd/vfs.c struct readdir_cd *cdp, nfsd_filldir_t func) func 1974 fs/nfsd/vfs.c err = nfsd_buffered_readdir(file, func, cdp, offsetp); func 2205 fs/nilfs2/segment.c wrq->wq.func(&wrq->wq, func 1790 fs/ocfs2/alloc.c path_insert_t *func, void *data) func 1859 fs/ocfs2/alloc.c if (func) func 1860 fs/ocfs2/alloc.c func(data, bh); func 2252 fs/ocfs2/cluster/heartbeat.c o2hb_cb_func *func, func 2257 fs/ocfs2/cluster/heartbeat.c hc->hc_func = func; func 56 fs/ocfs2/cluster/heartbeat.h o2hb_cb_func *func, func 53 fs/ocfs2/cluster/masklog.c void __mlog_printk(const u64 *mask, const char *func, int line, func 81 fs/ocfs2/cluster/masklog.c raw_smp_processor_id(), func, line, prefix, &vaf); func 152 fs/ocfs2/cluster/masklog.h void __mlog_printk(const u64 *m, const char *func, int line, func 799 fs/ocfs2/cluster/tcp.c o2net_msg_handler_func *func, void *data, func 815 fs/ocfs2/cluster/tcp.c mlog(0, "no message type provided: %u, %p\n", msg_type, func); func 820 fs/ocfs2/cluster/tcp.c if (!func) { func 822 fs/ocfs2/cluster/tcp.c msg_type, func); func 833 fs/ocfs2/cluster/tcp.c nmh->nh_func = func; func 853 fs/ocfs2/cluster/tcp.c func, msg_type, key); func 90 fs/ocfs2/cluster/tcp.h o2net_msg_handler_func *func, void *data, func 228 fs/ocfs2/dlm/dlmcommon.h dlm_workfunc_t *func; func 244 fs/ocfs2/dlm/dlmcommon.h i->func = f; func 156 fs/ocfs2/dlm/dlmrecovery.c workfunc = item->func; func 3316 fs/ocfs2/refcounttree.c if (context->post_refcount && context->post_refcount->func) { func 3317 fs/ocfs2/refcounttree.c ret = context->post_refcount->func(context->inode, handle, func 3744 fs/ocfs2/refcounttree.c if (post && post->func) { func 3745 fs/ocfs2/refcounttree.c ret = post->func(inode, handle, post->para); func 63 fs/ocfs2/refcounttree.h ocfs2_post_refcount_func *func; /* real function. */ func 3970 fs/ocfs2/xattr.c xattr_bucket_func *func, func 4004 fs/ocfs2/xattr.c if (func) { func 4005 fs/ocfs2/xattr.c ret = func(inode, bucket, para); func 5815 fs/ocfs2/xattr.c refcount.func = func 6053 fs/ocfs2/xattr.c .func = ocfs2_xattr_bucket_post_refcount, func 6219 fs/ocfs2/xattr.c get_xattr_value_root *func, func 6231 fs/ocfs2/xattr.c ret = func(sb, bh, xh, i, &xv, NULL, para); func 6346 fs/ocfs2/xattr.c get_xattr_value_root *func, func 6387 fs/ocfs2/xattr.c ret = func(sb, old_bh, xh, i, &xv, NULL, para); func 6393 fs/ocfs2/xattr.c ret = func(sb, new_bh, new_xh, j, &new_xv, &value_bh, para); func 54 fs/pstore/ftrace.c .func = pstore_ftrace_call, func 135 fs/quota/dquot.c void __quota_error(struct super_block *sb, const char *func, func 148 fs/quota/dquot.c sb->s_id, func, &vaf); func 403 fs/reiserfs/procfs.c int (*func) (struct seq_file *, void *)) func 405 fs/reiserfs/procfs.c proc_create_single_data(name, 0, REISERFS_SB(sb)->procdir, func, sb); func 903 fs/reiserfs/reiserfs.h const char *func, const char *fmt, ...); func 1878 fs/reiserfs/super.c static int function2code(hashf_t func) func 1880 fs/reiserfs/super.c if (func == keyed_hash) func 1882 fs/reiserfs/super.c if (func == yura_hash) func 1884 fs/reiserfs/super.c if (func == r5_hash) func 25 fs/unicode/utf8-selftest.c #define _test(cond, func, line, fmt, ...) do { \ func 30 fs/unicode/utf8-selftest.c func, line, #cond, (fmt?":":".")); \ func 1208 fs/xfs/xfs_buf.c const char *func) func 1212 fs/xfs/xfs_buf.c func, (uint64_t)XFS_BUF_ADDR(bp), bp->b_length, func 263 fs/xfs/xfs_buf.h extern void xfs_buf_ioerror_alert(struct xfs_buf *, const char *func); func 30 fs/xfs/xfs_message.c #define define_xfs_printk_level(func, kern_level) \ func 31 fs/xfs/xfs_message.c void func(const struct xfs_mount *mp, const char *fmt, ...) \ func 34 fs/xfs/xfs_message.h #define xfs_printk_ratelimited(func, dev, fmt, ...) \ func 40 fs/xfs/xfs_message.h func(dev, fmt, ##__VA_ARGS__); \ func 53 include/acpi/acpi_bus.h u64 rev, u64 func, union acpi_object *argv4); func 57 include/acpi/acpi_bus.h u64 func, union acpi_object *argv4, func 62 include/acpi/acpi_bus.h obj = acpi_evaluate_dsm(handle, guid, rev, func, argv4); func 310 include/acpi/acpi_bus.h void (*func)(struct acpi_device_wakeup_context *context); func 612 include/acpi/acpi_bus.h void (*func)(struct acpi_device_wakeup_context *context)); func 624 include/acpi/acpi_bus.h void (*func)(struct acpi_device_wakeup_context *context)) func 41 include/acpi/apei.h int apei_hest_parse(apei_hest_func_t func, void *data); func 75 include/drm/drm_flip_work.h drm_flip_func_t func; func 89 include/drm/drm_flip_work.h const char *name, drm_flip_func_t func); func 147 include/drm/drm_ioctl.h drm_ioctl_t *func; func 164 include/drm/drm_ioctl.h .func = _func, \ func 184 include/drm/ttm/ttm_bo_driver.h const struct ttm_mem_type_manager_func *func; func 107 include/drm/ttm/ttm_tt.h struct ttm_backend_func *func; func 609 include/linux/acpi.h extern int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *), func 795 include/linux/acpi.h static inline int acpi_nvs_for_each_region(int (*func)(__u64, __u64, void *), func 822 include/linux/acpi.h int rev, int func, func 896 include/linux/acpi.h void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, func 902 include/linux/acpi.h void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, func 917 include/linux/acpi.h #define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } while (0) func 38 include/linux/async.h async_cookie_t async_schedule_node(async_func_t func, void *data, func 40 include/linux/async.h async_cookie_t async_schedule_node_domain(async_func_t func, void *data, func 52 include/linux/async.h static inline async_cookie_t async_schedule(async_func_t func, void *data) func 54 include/linux/async.h return async_schedule_node(func, data, NUMA_NO_NODE); func 69 include/linux/async.h async_schedule_domain(async_func_t func, void *data, func 72 include/linux/async.h return async_schedule_node_domain(func, data, NUMA_NO_NODE, domain); func 88 include/linux/async.h async_schedule_dev(async_func_t func, struct device *dev) func 90 include/linux/async.h return async_schedule_node(func, dev, dev_to_node(dev)); func 109 include/linux/async.h async_schedule_dev_domain(async_func_t func, struct device *dev, func 112 include/linux/async.h return async_schedule_node_domain(func, dev, dev_to_node(dev), domain); func 232 include/linux/bpf.h u64 (*func)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5); func 380 include/linux/bpf.h struct bpf_prog **func; func 538 include/linux/bpf.h #define __BPF_PROG_RUN_ARRAY(array, ctx, func, check_non_null) \ func 552 include/linux/bpf.h _ret &= func(_prog, ctx); \ func 583 include/linux/bpf.h #define BPF_PROG_CGROUP_INET_EGRESS_RUN_ARRAY(array, ctx, func) \ func 597 include/linux/bpf.h ret = func(_prog, ctx); \ func 611 include/linux/bpf.h #define BPF_PROG_RUN_ARRAY(array, ctx, func) \ func 612 include/linux/bpf.h __BPF_PROG_RUN_ARRAY(array, ctx, func, false) func 614 include/linux/bpf.h #define BPF_PROG_RUN_ARRAY_CHECK(array, ctx, func) \ func 615 include/linux/bpf.h __BPF_PROG_RUN_ARRAY(array, ctx, func, true) func 193 include/linux/btree.h void (*func)(void *elem, unsigned long opaque, func 201 include/linux/btree.h void (*func)(void *elem, unsigned long opaque, func 85 include/linux/cacheinfo.h #define DEFINE_SMP_CALL_CACHE_FUNCTION(func) \ func 86 include/linux/cacheinfo.h static inline void _##func(void *ret) \ func 89 include/linux/cacheinfo.h *(int *)ret = __##func(cpu); \ func 92 include/linux/cacheinfo.h int func(unsigned int cpu) \ func 95 include/linux/cacheinfo.h smp_call_function_single(cpu, _##func, &ret, true); \ func 59 include/linux/can/core.h void (*func)(struct sk_buff *, void *), func 64 include/linux/can/core.h void (*func)(struct sk_buff *, void *), func 29 include/linux/compiler.h .data.func = __func__, \ func 65 include/linux/compiler.h .func = __func__, \ func 86 include/linux/compiler_types.h const char *func; func 118 include/linux/dma-fence.h dma_fence_func_t func; func 366 include/linux/dma-fence.h dma_fence_func_t func); func 122 include/linux/dynamic_debug.h #define __dynamic_func_call(id, fmt, func, ...) do { \ func 125 include/linux/dynamic_debug.h func(&id, ##__VA_ARGS__); \ func 128 include/linux/dynamic_debug.h #define __dynamic_func_call_no_desc(id, fmt, func, ...) do { \ func 131 include/linux/dynamic_debug.h func(__VA_ARGS__); \ func 142 include/linux/dynamic_debug.h #define _dynamic_func_call(fmt, func, ...) \ func 143 include/linux/dynamic_debug.h __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) func 149 include/linux/dynamic_debug.h #define _dynamic_func_call_no_desc(fmt, func, ...) \ func 150 include/linux/dynamic_debug.h __dynamic_func_call_no_desc(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) func 1486 include/linux/efi.h int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *), func 1510 include/linux/efi.h int __efivar_entry_iter(int (*func)(struct efivar_entry *, void *), func 1513 include/linux/efi.h int efivar_entry_iter(int (*func)(struct efivar_entry *, void *), func 854 include/linux/filter.h bool bpf_helper_changes_pkt_data(void *func); func 35 include/linux/firmware/imx/ipc.h uint8_t func; func 14 include/linux/frame.h #define STACK_FRAME_NON_STANDARD(func) \ func 16 include/linux/frame.h *__func_stack_frame_non_standard_##func = func func 20 include/linux/frame.h #define STACK_FRAME_NON_STANDARD(func) func 192 include/linux/ftrace.h ftrace_func_t func; func 455 include/linux/ftrace.h extern int ftrace_update_ftrace_func(ftrace_func_t func); func 722 include/linux/ftrace.h unsigned long func; /* Current function */ func 732 include/linux/ftrace.h unsigned long func; /* Current function */ func 760 include/linux/ftrace.h unsigned long func; func 781 include/linux/ftrace.h function_graph_enter(unsigned long ret, unsigned long func, func 95 include/linux/hil_mlc.h hilse_func *func; /* Function to call if HILSE_FUNC */ func 868 include/linux/i2c.h static inline int i2c_check_functionality(struct i2c_adapter *adap, u32 func) func 870 include/linux/i2c.h return (func & i2c_get_functionality(adap)) == func; func 136 include/linux/ima.h extern bool ima_appraise_signature(enum kernel_read_file_id func); func 138 include/linux/ima.h static inline bool ima_appraise_signature(enum kernel_read_file_id func) func 297 include/linux/init.h #define __setup(str, func) /* nothing */ func 597 include/linux/interrupt.h void (*func)(unsigned long); func 601 include/linux/interrupt.h #define DECLARE_TASKLET(name, func, data) \ func 602 include/linux/interrupt.h struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(0), func, data } func 604 include/linux/interrupt.h #define DECLARE_TASKLET_DISABLED(name, func, data) \ func 605 include/linux/interrupt.h struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(1), func, data } func 674 include/linux/interrupt.h void (*func)(unsigned long), unsigned long data); func 281 include/linux/ioport.h void *arg, int (*func)(unsigned long, unsigned long, void *)); func 284 include/linux/ioport.h int (*func)(struct resource *, void *)); func 287 include/linux/ioport.h int (*func)(struct resource *, void *)); func 290 include/linux/ioport.h void *arg, int (*func)(struct resource *, void *)); func 27 include/linux/irq_work.h void (*func)(struct irq_work *); func 31 include/linux/irq_work.h void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) func 34 include/linux/irq_work.h work->func = func; func 37 include/linux/irq_work.h #define DEFINE_IRQ_WORK(name, _f) struct irq_work name = { .func = (_f), } func 57 include/linux/jbd2.h void __jbd2_debug(int level, const char *file, const char *func, func 205 include/linux/kdb.h static inline int kdb_register(char *cmd, kdb_func_t func, char *usage, func 207 include/linux/kdb.h static inline int kdb_register_flags(char *cmd, kdb_func_t func, char *usage, func 97 include/linux/kthread.h kthread_work_func_t func; func 116 include/linux/kthread.h .func = (fn), \ func 161 include/linux/kthread.h (work)->func = (fn); \ func 171 include/linux/livepatch.h #define klp_for_each_func_static(obj, func) \ func 172 include/linux/livepatch.h for (func = obj->funcs; \ func 173 include/linux/livepatch.h func->old_name || func->new_func || func->old_sympos; \ func 174 include/linux/livepatch.h func++) func 176 include/linux/livepatch.h #define klp_for_each_func_safe(obj, func, tmp_func) \ func 177 include/linux/livepatch.h list_for_each_entry_safe(func, tmp_func, &obj->func_list, node) func 179 include/linux/livepatch.h #define klp_for_each_func(obj, func) \ func 180 include/linux/livepatch.h list_for_each_entry(func, &obj->func_list, node) func 121 include/linux/memory.h void *arg, walk_memory_blocks_func_t func); func 122 include/linux/memory.h extern int for_each_memory_block(void *arg, walk_memory_blocks_func_t func); func 256 include/linux/memory_hotplug.h static inline int mhp_notimplemented(const char *func) func 258 include/linux/memory_hotplug.h printk(KERN_WARNING "%s() called, with CONFIG_MEMORY_HOTPLUG disabled\n", func); func 190 include/linux/mfd/si476x-core.h switch (core->power_up_parameters.func) { func 207 include/linux/mfd/si476x-core.h switch (core->power_up_parameters.func) { func 259 include/linux/mfd/si476x-core.h enum si476x_func func; func 213 include/linux/mfd/si476x-platform.h enum si476x_func func; func 121 include/linux/mfd/stmfx.h int stmfx_function_enable(struct stmfx *stmfx, u32 func); func 122 include/linux/mfd/stmfx.h int stmfx_function_disable(struct stmfx *stmfx, u32 func); func 344 include/linux/mfd/wm8350/gpio.h int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, func 125 include/linux/mmc/sdio_func.h extern void sdio_claim_host(struct sdio_func *func); func 126 include/linux/mmc/sdio_func.h extern void sdio_release_host(struct sdio_func *func); func 128 include/linux/mmc/sdio_func.h extern int sdio_enable_func(struct sdio_func *func); func 129 include/linux/mmc/sdio_func.h extern int sdio_disable_func(struct sdio_func *func); func 131 include/linux/mmc/sdio_func.h extern int sdio_set_block_size(struct sdio_func *func, unsigned blksz); func 133 include/linux/mmc/sdio_func.h extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler); func 134 include/linux/mmc/sdio_func.h extern int sdio_release_irq(struct sdio_func *func); func 136 include/linux/mmc/sdio_func.h extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz); func 138 include/linux/mmc/sdio_func.h extern u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret); func 139 include/linux/mmc/sdio_func.h extern u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret); func 140 include/linux/mmc/sdio_func.h extern u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret); func 142 include/linux/mmc/sdio_func.h extern int sdio_memcpy_fromio(struct sdio_func *func, void *dst, func 144 include/linux/mmc/sdio_func.h extern int sdio_readsb(struct sdio_func *func, void *dst, func 147 include/linux/mmc/sdio_func.h extern void sdio_writeb(struct sdio_func *func, u8 b, func 149 include/linux/mmc/sdio_func.h extern void sdio_writew(struct sdio_func *func, u16 b, func 151 include/linux/mmc/sdio_func.h extern void sdio_writel(struct sdio_func *func, u32 b, func 154 include/linux/mmc/sdio_func.h extern u8 sdio_writeb_readb(struct sdio_func *func, u8 write_byte, func 157 include/linux/mmc/sdio_func.h extern int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, func 159 include/linux/mmc/sdio_func.h extern int sdio_writesb(struct sdio_func *func, unsigned int addr, func 162 include/linux/mmc/sdio_func.h extern unsigned char sdio_f0_readb(struct sdio_func *func, func 164 include/linux/mmc/sdio_func.h extern void sdio_f0_writeb(struct sdio_func *func, unsigned char b, func 167 include/linux/mmc/sdio_func.h extern mmc_pm_flag_t sdio_get_host_pm_caps(struct sdio_func *func); func 168 include/linux/mmc/sdio_func.h extern int sdio_set_host_pm_flags(struct sdio_func *func, mmc_pm_flag_t flags); func 170 include/linux/mmc/sdio_func.h extern void sdio_retune_crc_disable(struct sdio_func *func); func 171 include/linux/mmc/sdio_func.h extern void sdio_retune_crc_enable(struct sdio_func *func); func 173 include/linux/mmc/sdio_func.h extern void sdio_retune_hold_now(struct sdio_func *func); func 174 include/linux/mmc/sdio_func.h extern void sdio_retune_release(struct sdio_func *func); func 2359 include/linux/netdevice.h int (*func) (struct sk_buff *, func 38 include/linux/once.h #define DO_ONCE(func, ...) \ func 47 include/linux/once.h func(__VA_ARGS__); \ func 1614 include/linux/pci.h void pci_register_set_vga_state(arch_set_vga_state_t func); func 87 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ func 95 include/linux/pinctrl/machine.h .function = func, \ func 99 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ func 100 include/linux/pinctrl/machine.h PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func) func 102 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ func 103 include/linux/pinctrl/machine.h PIN_MAP_MUX_GROUP(dev, state, dev, grp, func) func 105 include/linux/pinctrl/machine.h #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ func 106 include/linux/pinctrl/machine.h PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func) func 183 include/linux/printk.h extern int __printk_ratelimit(const char *func); func 141 include/linux/ptp_clock_kernel.h enum ptp_pin_function func, unsigned int chan); func 234 include/linux/ptp_clock_kernel.h enum ptp_pin_function func, unsigned int chan); func 258 include/linux/ptp_clock_kernel.h enum ptp_pin_function func, unsigned int chan) func 39 include/linux/quotaops.h void __quota_error(struct super_block *sb, const char *func, func 17 include/linux/random.h void (*func)(struct random_ready_callback *rdy); func 76 include/linux/ratelimit.h extern int ___ratelimit(struct ratelimit_state *rs, const char *func); func 38 include/linux/rcupdate.h void call_rcu(struct rcu_head *head, rcu_callback_t func); func 139 include/linux/rcupdate.h void call_rcu_tasks(struct rcu_head *head, rcu_callback_t func); func 870 include/linux/rcupdate.h rhp->func = (rcu_callback_t)~0L; func 889 include/linux/rcupdate.h rcu_callback_t func = READ_ONCE(rhp->func); func 891 include/linux/rcupdate.h if (func == f) func 893 include/linux/rcupdate.h WARN_ON_ONCE(func != (rcu_callback_t)~0L); func 37 include/linux/rcutiny.h static inline void kfree_call_rcu(struct rcu_head *head, rcu_callback_t func) func 39 include/linux/rcutiny.h call_rcu(head, func); func 36 include/linux/rcutree.h void kfree_call_rcu(struct rcu_head *head, rcu_callback_t func); func 104 include/linux/rslib.h struct rs_control *init_rs_non_canonical(int symsize, int (*func)(int), func 92 include/linux/rtc.h void (*func)(struct rtc_device *rtc); func 561 include/linux/sbitmap.h .func = autoremove_wake_function, \ func 1523 include/linux/sched.h #define TASK_PFA_TEST(name, func) \ func 1524 include/linux/sched.h static inline bool task_##func(struct task_struct *p) \ func 1527 include/linux/sched.h #define TASK_PFA_SET(name, func) \ func 1528 include/linux/sched.h static inline void task_set_##func(struct task_struct *p) \ func 1531 include/linux/sched.h #define TASK_PFA_CLEAR(name, func) \ func 1532 include/linux/sched.h static inline void task_clear_##func(struct task_struct *p) \ func 18 include/linux/sched/cpufreq.h void (*func)(struct update_util_data *data, u64 time, unsigned int flags); func 22 include/linux/sched/cpufreq.h void (*func)(struct update_util_data *data, u64 time, func 20 include/linux/smp.h smp_call_func_t func; func 32 include/linux/smp.h int smp_call_function_single(int cpuid, smp_call_func_t func, void *info, func 38 include/linux/smp.h void on_each_cpu(smp_call_func_t func, void *info, int wait); func 44 include/linux/smp.h void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, func 53 include/linux/smp.h smp_call_func_t func, void *info, bool wait, func 57 include/linux/smp.h smp_call_func_t func, void *info, bool wait, func 104 include/linux/smp.h void smp_call_function(smp_call_func_t func, void *info, int wait); func 106 include/linux/smp.h smp_call_func_t func, void *info, bool wait); func 109 include/linux/smp.h smp_call_func_t func, void *info, int wait); func 147 include/linux/smp.h static inline void up_smp_call_function(smp_call_func_t func, void *info) func 150 include/linux/smp.h #define smp_call_function(func, info, wait) \ func 151 include/linux/smp.h (up_smp_call_function(func, info)) func 155 include/linux/smp.h #define smp_call_function_many(mask, func, info, wait) \ func 156 include/linux/smp.h (up_smp_call_function(func, info)) func 160 include/linux/smp.h smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, func 163 include/linux/smp.h return smp_call_function_single(0, func, info, wait); func 236 include/linux/smp.h int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, func 58 include/linux/srcu.h void (*func)(struct rcu_head *head)); func 1110 include/linux/syscalls.h asmlinkage long sys_bdflush(int func, long data); func 11 include/linux/task_work.h init_task_work(struct callback_head *twork, task_work_func_t func) func 13 include/linux/task_work.h twork->func = func; func 106 include/linux/tee_drv.h int (*supp_recv)(struct tee_context *ctx, u32 *func, u32 *num_params, func 91 include/linux/timer.h void (*func)(struct timer_list *), unsigned int flags, func 96 include/linux/timer.h void (*func)(struct timer_list *), func 101 include/linux/timer.h void (*func)(struct timer_list *), func 106 include/linux/timer.h init_timer_key(timer, func, flags, name, key); func 25 include/linux/tracepoint-defs.h void *func; func 191 include/linux/tracepoint.h it_func = (it_func_ptr)->func; \ func 194 include/linux/tracepoint.h } while ((++it_func_ptr)->func); \ func 221 include/linux/types.h void (*func)(struct callback_head *head); func 226 include/linux/types.h typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func); func 39 include/linux/uprobes.h unsigned long func, func 85 include/linux/uprobes.h unsigned long func; func 30 include/linux/wait.h wait_queue_func_t func; func 48 include/linux/wait.h .func = default_wake_function, \ func 83 include/linux/wait.h wq_entry->func = default_wake_function; func 87 include/linux/wait.h init_waitqueue_func_entry(struct wait_queue_entry *wq_entry, wait_queue_func_t func) func 91 include/linux/wait.h wq_entry->func = func; func 1134 include/linux/wait.h .func = function, \ func 1143 include/linux/wait.h (wait)->func = autoremove_wake_function; \ func 43 include/linux/wait_bit.h .func = wake_bit_function, \ func 105 include/linux/workqueue.h work_func_t func; func 187 include/linux/workqueue.h .func = (f), \ func 237 include/linux/workqueue.h (_work)->func = (_func); \ func 245 include/linux/workqueue.h (_work)->func = (_func); \ func 457 include/linux/workqueue.h extern int schedule_on_each_cpu(work_func_t func); func 81 include/media/drv-intf/cx2341x.h int cx2341x_update(void *priv, cx2341x_mbox_func func, func 115 include/media/drv-intf/cx2341x.h cx2341x_mbox_func func; func 361 include/media/dvbdev.h int (*func)(struct file *file, unsigned int cmd, void *arg)); func 712 include/media/v4l2-ioctl.h unsigned long int arg, v4l2_kioctl func); func 52 include/net/9p/9p.h void _p9_debug(enum p9_debug_flags level, const char *func, func 374 include/net/ax25.h int (*func)(struct sk_buff *, ax25_cb *); func 382 include/net/ax25.h void (*func)(ax25_cb *, int); func 1485 include/net/bluetooth/hci_core.h int (*func) (struct sock *sk, struct hci_dev *hdev, void *data, func 324 include/net/ip6_fib.h int (*func)(struct fib6_walker *); func 421 include/net/ip6_fib.h void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *arg), func 424 include/net/ip6_fib.h int (*func)(struct fib6_info *, void *arg), func 6 include/net/p8022.h int (*func)(struct sk_buff *skb, func 36 include/net/pkt_cls.h bool tcf_queue_work(struct rcu_work *rwork, work_func_t func); func 1474 include/net/xfrm.h int (*func)(struct xfrm_state *, int, void*), void *); func 1634 include/net/xfrm.h int (*func)(struct xfrm_policy *, int, int, void*), func 158 include/pcmcia/cistpl.h u_char func; func 20 include/pcmcia/device_id.h #define PCMCIA_DEVICE_FUNC_ID(func) { \ func 22 include/pcmcia/device_id.h .func_id = (func), } func 99 include/pcmcia/ds.h u8 func; func 906 include/scsi/libfc.h void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *); func 240 include/sound/control.h int (*func)(struct snd_kcontrol *vslave, func 232 include/sound/pcm.h snd_pcm_hw_rule_func_t func; func 1009 include/sound/pcm.h snd_pcm_hw_rule_func_t func, void *private, func 74 include/sound/seq_kernel.h snd_seq_dump_func_t func, void *private_data); func 924 include/sound/soc.h #define SND_SOC_DAILINK_REGx(_1, _2, _3, func, ...) func func 1370 include/trace/events/btrfs.h __field( const void *, func ) func 1379 include/trace/events/btrfs.h __entry->func = work->func; func 1388 include/trace/events/btrfs.h __entry->func, __entry->ordered_func, __entry->ordered_free) func 29 include/trace/events/initcall.h TP_PROTO(initcall_t func), func 31 include/trace/events/initcall.h TP_ARGS(func), func 38 include/trace/events/initcall.h __field_struct(initcall_t, func) func 42 include/trace/events/initcall.h __entry->func = func; func 45 include/trace/events/initcall.h TP_printk("func=%pS", __entry->func) func 50 include/trace/events/initcall.h TP_PROTO(initcall_t func, int ret), func 52 include/trace/events/initcall.h TP_ARGS(func, ret), func 59 include/trace/events/initcall.h __field_struct(initcall_t, func) func 64 include/trace/events/initcall.h __entry->func = func; func 68 include/trace/events/initcall.h TP_printk("func=%pS ret=%d", __entry->func, __entry->ret) func 485 include/trace/events/rcu.h __field(void *, func) func 493 include/trace/events/rcu.h __entry->func = rhp->func; func 499 include/trace/events/rcu.h __entry->rcuname, __entry->rhp, __entry->func, func 585 include/trace/events/rcu.h __field(void *, func) func 591 include/trace/events/rcu.h __entry->func = rhp->func; func 595 include/trace/events/rcu.h __entry->rcuname, __entry->rhp, __entry->func) func 57 include/trace/events/workqueue.h __entry->function = work->func; func 102 include/trace/events/workqueue.h __entry->function = work->func; func 448 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ func 182 include/uapi/drm/drm.h } func; func 111 include/uapi/drm/i810_drm.h drm_i810_init_func_t func; func 131 include/uapi/drm/i810_drm.h drm_i810_init_func_t func; func 194 include/uapi/drm/i915_drm.h } func; func 278 include/uapi/drm/mga_drm.h } func; func 230 include/uapi/drm/r128_drm.h } func; func 296 include/uapi/drm/r128_drm.h } func; func 319 include/uapi/drm/r128_drm.h } func; func 571 include/uapi/drm/radeon_drm.h } func; func 602 include/uapi/drm/radeon_drm.h } func; func 83 include/uapi/drm/savage_drm.h } func; func 141 include/uapi/drm/via_drm.h } func; func 153 include/uapi/drm/via_drm.h } func; func 164 include/uapi/drm/via_drm.h } func; func 215 include/uapi/drm/via_drm.h } func; func 31 include/uapi/linux/pci.h #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) func 50 include/uapi/linux/pg.h char func; /* PG_RESET or PG_COMMAND */ func 160 include/uapi/linux/ptp_clock.h unsigned int func; func 248 include/uapi/linux/tee.h __u32 func; func 307 include/uapi/linux/tee.h __u32 func; func 852 include/uapi/linux/vfio.h __u32 func; func 350 include/uapi/linux/wireless.h #define IW_HANDLER(id, func) \ func 351 include/uapi/linux/wireless.h [IW_IOCTL_IDX(id)] = func func 500 ipc/util.c void (*func)(struct rcu_head *head)) func 505 ipc/util.c call_rcu(&ptr->rcu, func); func 172 ipc/util.h void (*func)(struct rcu_head *head)); func 72 kernel/async.c async_func_t func; func 120 kernel/async.c entry->func, task_pid_nr(current)); func 123 kernel/async.c entry->func(entry->data, entry->cookie); func 129 kernel/async.c entry->func, func 165 kernel/async.c async_cookie_t async_schedule_node_domain(async_func_t func, void *data, func 186 kernel/async.c func(data, newcookie); func 192 kernel/async.c entry->func = func; func 231 kernel/async.c async_cookie_t async_schedule_node(async_func_t func, void *data, int node) func 233 kernel/async.c return async_schedule_node_domain(func, data, node, &async_dfl_domain); func 1198 kernel/bpf/cgroup.c .func = bpf_sysctl_get_name, func 1240 kernel/bpf/cgroup.c .func = bpf_sysctl_get_current_value, func 1260 kernel/bpf/cgroup.c .func = bpf_sysctl_get_new_value, func 1285 kernel/bpf/cgroup.c .func = bpf_sysctl_set_new_value, func 510 kernel/bpf/core.c bpf_prog_kallsyms_del(fp->aux->func[i]); func 873 kernel/bpf/core.c else if (prog->aux->func && func 875 kernel/bpf/core.c addr = (u8 *)prog->aux->func[off]->bpf_func; func 1980 kernel/bpf/core.c bpf_jit_free(aux->func[i]); func 1982 kernel/bpf/core.c kfree(aux->func); func 2061 kernel/bpf/core.c .func = NULL, func 2085 kernel/bpf/core.c bool __weak bpf_helper_changes_pkt_data(void *func) func 33 kernel/bpf/helpers.c .func = bpf_map_lookup_elem, func 49 kernel/bpf/helpers.c .func = bpf_map_update_elem, func 66 kernel/bpf/helpers.c .func = bpf_map_delete_elem, func 80 kernel/bpf/helpers.c .func = bpf_map_push_elem, func 95 kernel/bpf/helpers.c .func = bpf_map_pop_elem, func 108 kernel/bpf/helpers.c .func = bpf_map_pop_elem, func 116 kernel/bpf/helpers.c .func = bpf_user_rnd_u32, func 127 kernel/bpf/helpers.c .func = bpf_get_smp_processor_id, func 138 kernel/bpf/helpers.c .func = bpf_get_numa_node_id, func 150 kernel/bpf/helpers.c .func = bpf_ktime_get_ns, func 166 kernel/bpf/helpers.c .func = bpf_get_current_pid_tgid, func 186 kernel/bpf/helpers.c .func = bpf_get_current_uid_gid, func 212 kernel/bpf/helpers.c .func = bpf_get_current_comm, func 276 kernel/bpf/helpers.c .func = bpf_spin_lock, func 293 kernel/bpf/helpers.c .func = bpf_spin_unlock, func 324 kernel/bpf/helpers.c .func = bpf_get_current_cgroup_id, func 354 kernel/bpf/helpers.c .func = bpf_get_local_storage, func 453 kernel/bpf/helpers.c .func = bpf_strtol, func 481 kernel/bpf/helpers.c .func = bpf_strtoul, func 438 kernel/bpf/stackmap.c .func = bpf_get_stackid, func 504 kernel/bpf/stackmap.c .func = bpf_get_stack, func 2426 kernel/bpf/syscall.c info.jited_prog_len += prog->aux->func[i]->jited_len; func 2445 kernel/bpf/syscall.c len = prog->aux->func[i]->jited_len; func 2447 kernel/bpf/syscall.c img = (u8 *) prog->aux->func[i]->bpf_func; func 2480 kernel/bpf/syscall.c prog->aux->func[i]->bpf_func; func 2508 kernel/bpf/syscall.c prog->aux->func[i]->jited_len; func 2582 kernel/bpf/syscall.c prog->aux->func[i]->tag, func 1633 kernel/bpf/verifier.c struct bpf_func_state *func; func 1642 kernel/bpf/verifier.c func = st->frame[i]; func 1644 kernel/bpf/verifier.c reg = &func->regs[j]; func 1649 kernel/bpf/verifier.c for (j = 0; j < func->allocated_stack / BPF_REG_SIZE; j++) { func 1650 kernel/bpf/verifier.c if (func->stack[j].slot_type[0] != STACK_SPILL) func 1652 kernel/bpf/verifier.c reg = &func->stack[j].spilled_ptr; func 1666 kernel/bpf/verifier.c struct bpf_func_state *func; func 1678 kernel/bpf/verifier.c func = st->frame[st->curframe]; func 1680 kernel/bpf/verifier.c reg = &func->regs[regno]; func 1693 kernel/bpf/verifier.c if (func->stack[spi].slot_type[0] != STACK_SPILL) { func 1697 kernel/bpf/verifier.c reg = &func->stack[spi].spilled_ptr; func 1759 kernel/bpf/verifier.c func = st->frame[st->curframe]; func 1762 kernel/bpf/verifier.c reg = &func->regs[i]; func 1774 kernel/bpf/verifier.c if (i >= func->allocated_stack / BPF_REG_SIZE) { func 1792 kernel/bpf/verifier.c if (func->stack[i].slot_type[0] != STACK_SPILL) { func 1796 kernel/bpf/verifier.c reg = &func->stack[i].spilled_ptr; func 1806 kernel/bpf/verifier.c print_verifier_state(env, func); func 2587 kernel/bpf/verifier.c const struct bpf_func_state *func, func 2590 kernel/bpf/verifier.c u16 stack = env->subprog_info[func->subprogno].stack_depth; func 2596 kernel/bpf/verifier.c env->subprog_info[func->subprogno].stack_depth = -off; func 2834 kernel/bpf/verifier.c state = func(env, reg); func 2977 kernel/bpf/verifier.c struct bpf_func_state *state = func(env, reg); func 4002 kernel/bpf/verifier.c changes_data = bpf_helper_changes_pkt_data(fn->func); func 8744 kernel/bpf/verifier.c struct bpf_prog *prog = env->prog, **func, *tmp; func 8784 kernel/bpf/verifier.c func = kcalloc(env->subprog_cnt, sizeof(prog), GFP_KERNEL); func 8785 kernel/bpf/verifier.c if (!func) func 8798 kernel/bpf/verifier.c func[i] = bpf_prog_alloc_no_stats(bpf_prog_size(len), GFP_USER); func 8799 kernel/bpf/verifier.c if (!func[i]) func 8801 kernel/bpf/verifier.c memcpy(func[i]->insnsi, &prog->insnsi[subprog_start], func 8803 kernel/bpf/verifier.c func[i]->type = prog->type; func 8804 kernel/bpf/verifier.c func[i]->len = len; func 8805 kernel/bpf/verifier.c if (bpf_prog_calc_tag(func[i])) func 8807 kernel/bpf/verifier.c func[i]->is_func = 1; func 8808 kernel/bpf/verifier.c func[i]->aux->func_idx = i; func 8810 kernel/bpf/verifier.c func[i]->aux->btf = prog->aux->btf; func 8811 kernel/bpf/verifier.c func[i]->aux->func_info = prog->aux->func_info; func 8816 kernel/bpf/verifier.c func[i]->aux->name[0] = 'F'; func 8817 kernel/bpf/verifier.c func[i]->aux->stack_depth = env->subprog_info[i].stack_depth; func 8818 kernel/bpf/verifier.c func[i]->jit_requested = 1; func 8819 kernel/bpf/verifier.c func[i]->aux->linfo = prog->aux->linfo; func 8820 kernel/bpf/verifier.c func[i]->aux->nr_linfo = prog->aux->nr_linfo; func 8821 kernel/bpf/verifier.c func[i]->aux->jited_linfo = prog->aux->jited_linfo; func 8822 kernel/bpf/verifier.c func[i]->aux->linfo_idx = env->subprog_info[i].linfo_idx; func 8823 kernel/bpf/verifier.c func[i] = bpf_int_jit_compile(func[i]); func 8824 kernel/bpf/verifier.c if (!func[i]->jited) { func 8835 kernel/bpf/verifier.c insn = func[i]->insnsi; func 8836 kernel/bpf/verifier.c for (j = 0; j < func[i]->len; j++, insn++) { func 8841 kernel/bpf/verifier.c insn->imm = BPF_CAST_CALL(func[subprog]->bpf_func) - func 8856 kernel/bpf/verifier.c func[i]->aux->func = func; func 8857 kernel/bpf/verifier.c func[i]->aux->func_cnt = env->subprog_cnt; func 8860 kernel/bpf/verifier.c old_bpf_func = func[i]->bpf_func; func 8861 kernel/bpf/verifier.c tmp = bpf_int_jit_compile(func[i]); func 8862 kernel/bpf/verifier.c if (tmp != func[i] || func[i]->bpf_func != old_bpf_func) { func 8874 kernel/bpf/verifier.c bpf_prog_lock_ro(func[i]); func 8875 kernel/bpf/verifier.c bpf_prog_kallsyms_add(func[i]); func 8892 kernel/bpf/verifier.c prog->bpf_func = func[0]->bpf_func; func 8893 kernel/bpf/verifier.c prog->aux->func = func; func 8899 kernel/bpf/verifier.c if (func[i]) func 8900 kernel/bpf/verifier.c bpf_jit_free(func[i]); func 8901 kernel/bpf/verifier.c kfree(func); func 9227 kernel/bpf/verifier.c if (!fn->func) { func 9233 kernel/bpf/verifier.c insn->imm = fn->func - __bpf_call_base; func 271 kernel/debug/debug_core.c csd->func = kgdb_call_nmi_hook; func 2659 kernel/debug/kdb/kdb_main.c kdb_func_t func, func 2674 kernel/debug/kdb/kdb_main.c "%s, func %px help %s\n", cmd, func, help); func 2711 kernel/debug/kdb/kdb_main.c kp->cmd_func = func; func 2735 kernel/debug/kdb/kdb_main.c kdb_func_t func, func 2740 kernel/debug/kdb/kdb_main.c return kdb_register_flags(cmd, func, usage, help, minlen, 0); func 61 kernel/events/core.c remote_function_f func; func 86 kernel/events/core.c tfc->ret = tfc->func(tfc->info); func 103 kernel/events/core.c task_function_call(struct task_struct *p, remote_function_f func, void *info) func 107 kernel/events/core.c .func = func, func 136 kernel/events/core.c static int cpu_function_call(int cpu, remote_function_f func, void *info) func 140 kernel/events/core.c .func = func, func 203 kernel/events/core.c event_f func; func 246 kernel/events/core.c efs->func(event, cpuctx, ctx, efs->data); func 253 kernel/events/core.c static void event_function_call(struct perf_event *event, event_f func, void *data) func 259 kernel/events/core.c .func = func, func 298 kernel/events/core.c func(event, NULL, ctx, data); func 306 kernel/events/core.c static void event_function_local(struct perf_event *event, event_f func, void *data) func 345 kernel/events/core.c func(event, cpuctx, ctx, data); func 3351 kernel/events/core.c int (*func)(struct perf_event *, void *), void *data) func 3371 kernel/events/core.c ret = func(*evt, data); func 5044 kernel/events/core.c void (*func)(struct perf_event *)) func 5051 kernel/events/core.c func(event); func 5053 kernel/events/core.c func(child); func 5058 kernel/events/core.c void (*func)(struct perf_event *)) func 5067 kernel/events/core.c perf_event_for_each_child(event, func); func 5069 kernel/events/core.c perf_event_for_each_child(sibling, func); func 5166 kernel/events/core.c void (*func)(struct perf_event *); func 5171 kernel/events/core.c func = _perf_event_enable; func 5174 kernel/events/core.c func = _perf_event_disable; func 5177 kernel/events/core.c func = _perf_event_reset; func 5251 kernel/events/core.c perf_event_for_each(event, func); func 5253 kernel/events/core.c perf_event_for_each_child(event, func); func 8043 kernel/events/core.c struct bpf_prog *subprog = prog->aux->func[i]; func 1919 kernel/events/uprobes.c ri->func = instruction_pointer(regs); func 2120 kernel/events/uprobes.c uc->ret_handler(uc, ri->func, regs); func 165 kernel/irq_work.c work->func(work); func 556 kernel/kexec_file.c int (*func)(struct resource *, void *)) func 564 kernel/kexec_file.c return func(&crashk_res, kbuf); func 576 kernel/kexec_file.c ret = func(&res, kbuf); func 590 kernel/kexec_file.c ret = func(&res, kbuf); func 600 kernel/kexec_file.c int (*func)(struct resource *, void *)) func 616 kernel/kexec_file.c int (*func)(struct resource *, void *)) func 622 kernel/kexec_file.c kbuf, func); func 624 kernel/kexec_file.c return walk_system_ram_res(0, ULONG_MAX, kbuf, func); func 985 kernel/kprobes.c .func = kprobe_ftrace_handler, func 990 kernel/kprobes.c .func = kprobe_ftrace_handler, func 671 kernel/kthread.c work->func(work); func 87 kernel/livepatch/core.c struct klp_func *func; func 89 kernel/livepatch/core.c klp_for_each_func(obj, func) { func 90 kernel/livepatch/core.c if ((strcmp(old_func->old_name, func->old_name) == 0) && func 91 kernel/livepatch/core.c (old_func->old_sympos == func->old_sympos)) { func 92 kernel/livepatch/core.c return func; func 420 kernel/livepatch/core.c struct klp_func *func); func 447 kernel/livepatch/core.c static void klp_free_func_nop(struct klp_func *func) func 449 kernel/livepatch/core.c kfree(func->old_name); func 450 kernel/livepatch/core.c kfree(func); func 456 kernel/livepatch/core.c struct klp_func *func; func 458 kernel/livepatch/core.c func = kzalloc(sizeof(*func), GFP_KERNEL); func 459 kernel/livepatch/core.c if (!func) func 463 kernel/livepatch/core.c func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); func 464 kernel/livepatch/core.c if (!func->old_name) { func 465 kernel/livepatch/core.c kfree(func); func 470 kernel/livepatch/core.c klp_init_func_early(obj, func); func 475 kernel/livepatch/core.c func->old_sympos = old_func->old_sympos; func 476 kernel/livepatch/core.c func->nop = true; func 478 kernel/livepatch/core.c return func; func 485 kernel/livepatch/core.c struct klp_func *func, *old_func; func 496 kernel/livepatch/core.c func = klp_find_func(obj, old_func); func 497 kernel/livepatch/core.c if (func) func 500 kernel/livepatch/core.c func = klp_alloc_func_nop(old_func, obj); func 501 kernel/livepatch/core.c if (!func) func 562 kernel/livepatch/core.c struct klp_func *func; func 564 kernel/livepatch/core.c func = container_of(kobj, struct klp_func, kobj); func 566 kernel/livepatch/core.c if (func->nop) func 567 kernel/livepatch/core.c klp_free_func_nop(func); func 577 kernel/livepatch/core.c struct klp_func *func, *tmp_func; func 579 kernel/livepatch/core.c klp_for_each_func_safe(obj, func, tmp_func) { func 580 kernel/livepatch/core.c if (nops_only && !func->nop) func 583 kernel/livepatch/core.c list_del(&func->node); func 584 kernel/livepatch/core.c kobject_put(&func->kobj); func 591 kernel/livepatch/core.c struct klp_func *func; func 595 kernel/livepatch/core.c klp_for_each_func(obj, func) { func 596 kernel/livepatch/core.c func->old_func = NULL; func 598 kernel/livepatch/core.c if (func->nop) func 599 kernel/livepatch/core.c func->new_func = NULL; func 680 kernel/livepatch/core.c static int klp_init_func(struct klp_object *obj, struct klp_func *func) func 682 kernel/livepatch/core.c if (!func->old_name) func 689 kernel/livepatch/core.c if (!func->new_func && !func->nop) func 692 kernel/livepatch/core.c if (strlen(func->old_name) >= KSYM_NAME_LEN) func 695 kernel/livepatch/core.c INIT_LIST_HEAD(&func->stack_node); func 696 kernel/livepatch/core.c func->patched = false; func 697 kernel/livepatch/core.c func->transition = false; func 704 kernel/livepatch/core.c return kobject_add(&func->kobj, &obj->kobj, "%s,%lu", func 705 kernel/livepatch/core.c func->old_name, func 706 kernel/livepatch/core.c func->old_sympos ? func->old_sympos : 1); func 719 kernel/livepatch/core.c struct klp_func *func; func 737 kernel/livepatch/core.c klp_for_each_func(obj, func) { func 738 kernel/livepatch/core.c ret = klp_find_object_symbol(obj->name, func->old_name, func 739 kernel/livepatch/core.c func->old_sympos, func 740 kernel/livepatch/core.c (unsigned long *)&func->old_func); func 744 kernel/livepatch/core.c ret = kallsyms_lookup_size_offset((unsigned long)func->old_func, func 745 kernel/livepatch/core.c &func->old_size, NULL); func 748 kernel/livepatch/core.c func->old_name); func 752 kernel/livepatch/core.c if (func->nop) func 753 kernel/livepatch/core.c func->new_func = func->old_func; func 755 kernel/livepatch/core.c ret = kallsyms_lookup_size_offset((unsigned long)func->new_func, func 756 kernel/livepatch/core.c &func->new_size, NULL); func 759 kernel/livepatch/core.c func->old_name); func 769 kernel/livepatch/core.c struct klp_func *func; func 786 kernel/livepatch/core.c klp_for_each_func(obj, func) { func 787 kernel/livepatch/core.c ret = klp_init_func(obj, func); func 799 kernel/livepatch/core.c struct klp_func *func) func 801 kernel/livepatch/core.c kobject_init(&func->kobj, &klp_ktype_func); func 802 kernel/livepatch/core.c list_add_tail(&func->node, &obj->func_list); func 816 kernel/livepatch/core.c struct klp_func *func; func 835 kernel/livepatch/core.c klp_for_each_func_static(obj, func) { func 836 kernel/livepatch/core.c klp_init_func_early(obj, func); func 28 kernel/livepatch/patch.c struct klp_func *func; func 31 kernel/livepatch/patch.c func = list_first_entry(&ops->func_stack, struct klp_func, func 33 kernel/livepatch/patch.c if (func->old_func == old_func) func 46 kernel/livepatch/patch.c struct klp_func *func; func 57 kernel/livepatch/patch.c func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, func 65 kernel/livepatch/patch.c if (WARN_ON_ONCE(!func)) func 81 kernel/livepatch/patch.c if (unlikely(func->transition)) { func 101 kernel/livepatch/patch.c func = list_entry_rcu(func->stack_node.next, func 104 kernel/livepatch/patch.c if (&func->stack_node == &ops->func_stack) func 113 kernel/livepatch/patch.c if (func->nop) func 116 kernel/livepatch/patch.c klp_arch_set_pc(regs, (unsigned long)func->new_func); func 135 kernel/livepatch/patch.c static void klp_unpatch_func(struct klp_func *func) func 139 kernel/livepatch/patch.c if (WARN_ON(!func->patched)) func 141 kernel/livepatch/patch.c if (WARN_ON(!func->old_func)) func 144 kernel/livepatch/patch.c ops = klp_find_ops(func->old_func); func 152 kernel/livepatch/patch.c klp_get_ftrace_location((unsigned long)func->old_func); func 159 kernel/livepatch/patch.c list_del_rcu(&func->stack_node); func 163 kernel/livepatch/patch.c list_del_rcu(&func->stack_node); func 166 kernel/livepatch/patch.c func->patched = false; func 169 kernel/livepatch/patch.c static int klp_patch_func(struct klp_func *func) func 174 kernel/livepatch/patch.c if (WARN_ON(!func->old_func)) func 177 kernel/livepatch/patch.c if (WARN_ON(func->patched)) func 180 kernel/livepatch/patch.c ops = klp_find_ops(func->old_func); func 185 kernel/livepatch/patch.c klp_get_ftrace_location((unsigned long)func->old_func); func 188 kernel/livepatch/patch.c func->old_name); func 196 kernel/livepatch/patch.c ops->fops.func = klp_ftrace_handler; func 204 kernel/livepatch/patch.c list_add_rcu(&func->stack_node, &ops->func_stack); func 209 kernel/livepatch/patch.c func->old_name, ret); func 216 kernel/livepatch/patch.c func->old_name, ret); func 223 kernel/livepatch/patch.c list_add_rcu(&func->stack_node, &ops->func_stack); func 226 kernel/livepatch/patch.c func->patched = true; func 231 kernel/livepatch/patch.c list_del_rcu(&func->stack_node); func 239 kernel/livepatch/patch.c struct klp_func *func; func 241 kernel/livepatch/patch.c klp_for_each_func(obj, func) { func 242 kernel/livepatch/patch.c if (nops_only && !func->nop) func 245 kernel/livepatch/patch.c if (func->patched) func 246 kernel/livepatch/patch.c klp_unpatch_func(func); func 261 kernel/livepatch/patch.c struct klp_func *func; func 267 kernel/livepatch/patch.c klp_for_each_func(obj, func) { func 268 kernel/livepatch/patch.c ret = klp_patch_func(func); func 72 kernel/livepatch/transition.c struct klp_func *func; func 102 kernel/livepatch/transition.c klp_for_each_func(obj, func) func 103 kernel/livepatch/transition.c func->transition = false; func 193 kernel/livepatch/transition.c static int klp_check_stack_func(struct klp_func *func, unsigned long *entries, func 208 kernel/livepatch/transition.c func_addr = (unsigned long)func->new_func; func 209 kernel/livepatch/transition.c func_size = func->new_size; func 215 kernel/livepatch/transition.c ops = klp_find_ops(func->old_func); func 219 kernel/livepatch/transition.c func_addr = (unsigned long)func->old_func; func 220 kernel/livepatch/transition.c func_size = func->old_size; func 225 kernel/livepatch/transition.c prev = list_next_entry(func, stack_node); func 246 kernel/livepatch/transition.c struct klp_func *func; func 261 kernel/livepatch/transition.c klp_for_each_func(obj, func) { func 262 kernel/livepatch/transition.c ret = klp_check_stack_func(func, entries, nr_entries); func 267 kernel/livepatch/transition.c func->old_name); func 509 kernel/livepatch/transition.c struct klp_func *func; func 568 kernel/livepatch/transition.c klp_for_each_func(obj, func) func 569 kernel/livepatch/transition.c func->transition = true; func 2991 kernel/printk/printk.c .func = wake_up_klogd_work_func, func 3049 kernel/printk/printk.c int __printk_ratelimit(const char *func) func 3051 kernel/printk/printk.c return ___ratelimit(&printk_ratelimit_state, func); func 210 kernel/rcu/rcu.h unsigned long offset = (unsigned long)head->func; func 220 kernel/rcu/rcu.h f = head->func; func 221 kernel/rcu/rcu.h WRITE_ONCE(head->func, (rcu_callback_t)0L); func 137 kernel/rcu/rcuperf.c void (*async)(struct rcu_head *head, rcu_callback_t func); func 207 kernel/rcu/rcuperf.c static void srcu_call_rcu(struct rcu_head *head, rcu_callback_t func) func 209 kernel/rcu/rcuperf.c call_srcu(srcu_ctlp, head, func); func 482 kernel/rcu/rcutorture.c call_rcu_busted(struct rcu_head *head, rcu_callback_t func) func 485 kernel/rcu/rcutorture.c func(head); func 559 kernel/rcu/rcutorture.c rcu_callback_t func) func 561 kernel/rcu/rcutorture.c call_srcu(srcu_ctlp, head, func); func 138 kernel/rcu/srcutiny.c rhp->func(rhp); func 159 kernel/rcu/srcutiny.c rcu_callback_t func) func 163 kernel/rcu/srcutiny.c rhp->func = func; func 836 kernel/rcu/srcutree.c rcu_callback_t func, bool do_norm) func 848 kernel/rcu/srcutree.c WRITE_ONCE(rhp->func, srcu_leak_callback); func 852 kernel/rcu/srcutree.c rhp->func = func; func 896 kernel/rcu/srcutree.c rcu_callback_t func) func 898 kernel/rcu/srcutree.c __call_srcu(ssp, rhp, func, true); func 1053 kernel/rcu/srcutree.c sdp->srcu_barrier_head.func = srcu_barrier_cb; func 1186 kernel/rcu/srcutree.c rhp->func(rhp); func 133 kernel/rcu/tiny.c void call_rcu(struct rcu_head *head, rcu_callback_t func) func 138 kernel/rcu/tiny.c head->func = func; func 2556 kernel/rcu/tree.c __call_rcu(struct rcu_head *head, rcu_callback_t func, bool lazy) func 2572 kernel/rcu/tree.c head, head->func); func 2573 kernel/rcu/tree.c WRITE_ONCE(head->func, rcu_leak_callback); func 2576 kernel/rcu/tree.c head->func = func; func 2595 kernel/rcu/tree.c if (__is_kfree_rcu_offset((unsigned long)func)) func 2597 kernel/rcu/tree.c (unsigned long)func, func 2650 kernel/rcu/tree.c void call_rcu(struct rcu_head *head, rcu_callback_t func) func 2652 kernel/rcu/tree.c __call_rcu(head, func, 0); func 2663 kernel/rcu/tree.c void kfree_call_rcu(struct rcu_head *head, rcu_callback_t func) func 2665 kernel/rcu/tree.c __call_rcu(head, func, 1); func 2864 kernel/rcu/tree.c rdp->barrier_head.func = rcu_barrier_callback; func 417 kernel/rcu/tree.h void call_rcu(struct rcu_head *head, rcu_callback_t func); func 522 kernel/rcu/update.c void call_rcu_tasks(struct rcu_head *rhp, rcu_callback_t func) func 528 kernel/rcu/update.c rhp->func = func; func 779 kernel/rcu/update.c list->func(list); func 398 kernel/resource.c int (*func)(struct resource *, void *)) func 405 kernel/resource.c ret = (*func)(&res, arg); func 432 kernel/resource.c u64 end, void *arg, int (*func)(struct resource *, void *)) func 434 kernel/resource.c return __walk_iomem_res_desc(start, end, flags, desc, false, arg, func); func 446 kernel/resource.c int (*func)(struct resource *, void *)) func 451 kernel/resource.c arg, func); func 459 kernel/resource.c int (*func)(struct resource *, void *)) func 464 kernel/resource.c arg, func); func 476 kernel/resource.c void *arg, int (*func)(unsigned long, unsigned long, void *)) func 493 kernel/resource.c ret = (*func)(pfn, end_pfn - pfn, arg); func 327 kernel/sched/core.c rq->hrtick_csd.func = __hrtick_start; func 3266 kernel/sched/core.c void (*func)(struct rq *rq); func 3273 kernel/sched/core.c func = (void (*)(struct rq *))head->func; func 3278 kernel/sched/core.c func(rq); func 33 kernel/sched/cpufreq.c void (*func)(struct update_util_data *data, u64 time, func 36 kernel/sched/cpufreq.c if (WARN_ON(!data || !func)) func 42 kernel/sched/cpufreq.c data->func = func; func 1317 kernel/sched/sched.h void (*func)(struct rq *rq)) func 1324 kernel/sched/sched.h head->func = (void (*)(struct callback_head *))func; func 2311 kernel/sched/sched.h data->func(data, rq_clock(rq), flags); func 93 kernel/sched/wait.c ret = curr->func(curr, mode, wake_flags, key); func 118 kernel/sched/wait.c bookmark.func = NULL; func 253 kernel/sched/wait.c wq_entry->func = autoremove_wake_function; func 183 kernel/sched/wait_bit.c .func = var_wake_function, func 143 kernel/smp.c smp_call_func_t func, void *info) func 154 kernel/smp.c func(info); func 165 kernel/smp.c csd->func = func; func 235 kernel/smp.c csd->func); func 239 kernel/smp.c smp_call_func_t func = csd->func; func 244 kernel/smp.c func(info); func 248 kernel/smp.c func(info); func 269 kernel/smp.c int smp_call_function_single(int cpu, smp_call_func_t func, void *info, func 308 kernel/smp.c err = generic_exec_single(cpu, csd, func, info); func 348 kernel/smp.c err = generic_exec_single(cpu, csd, csd->func, csd->info); func 370 kernel/smp.c smp_call_func_t func, void *info, int wait) func 392 kernel/smp.c ret = smp_call_function_single(cpu, func, info, wait); func 413 kernel/smp.c smp_call_func_t func, void *info, bool wait) func 451 kernel/smp.c smp_call_function_single(cpu, func, info, wait); func 471 kernel/smp.c csd->func = func; func 506 kernel/smp.c void smp_call_function(smp_call_func_t func, void *info, int wait) func 509 kernel/smp.c smp_call_function_many(cpu_online_mask, func, info, wait); func 611 kernel/smp.c void on_each_cpu(void (*func) (void *info), void *info, int wait) func 616 kernel/smp.c smp_call_function(func, info, wait); func 618 kernel/smp.c func(info); func 640 kernel/smp.c void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, func 645 kernel/smp.c smp_call_function_many(mask, func, info, wait); func 649 kernel/smp.c func(info); func 684 kernel/smp.c smp_call_func_t func, void *info, bool wait, func 697 kernel/smp.c on_each_cpu_mask(cpus, func, info, wait); func 708 kernel/smp.c ret = smp_call_function_single(cpu, func, func 718 kernel/smp.c smp_call_func_t func, void *info, bool wait, func 721 kernel/smp.c on_each_cpu_cond_mask(cond_func, func, info, wait, gfp_flags, func 780 kernel/smp.c int (*func)(void *); func 793 kernel/smp.c sscs->ret = sscs->func(sscs->data); func 800 kernel/smp.c int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) func 804 kernel/smp.c .func = func, func 523 kernel/softirq.c t->func(t->data); func 550 kernel/softirq.c void (*func)(unsigned long), unsigned long data) func 555 kernel/softirq.c t->func = func; func 56 kernel/task_work.c task_work_cancel(struct task_struct *task, task_work_func_t func) func 72 kernel/task_work.c if (work->func != func) func 113 kernel/task_work.c work->func(work); func 236 kernel/time/tick-sched.c .func = nohz_full_kick_func, func 733 kernel/time/timer.c void (*func)(struct timer_list *), func 738 kernel/time/timer.c void (*func)(struct timer_list *), func 743 kernel/time/timer.c do_init_timer(timer, func, flags, name, key); func 778 kernel/time/timer.c void (*func)(struct timer_list *), func 783 kernel/time/timer.c timer->function = func; func 801 kernel/time/timer.c void (*func)(struct timer_list *), unsigned int flags, func 805 kernel/time/timer.c do_init_timer(timer, func, flags, name, key); func 133 kernel/trace/bpf_trace.c .func = bpf_override_return, func 158 kernel/trace/bpf_trace.c .func = bpf_probe_read, func 194 kernel/trace/bpf_trace.c .func = bpf_probe_write_user, func 328 kernel/trace/bpf_trace.c .func = bpf_trace_printk, func 385 kernel/trace/bpf_trace.c .func = bpf_perf_event_read, func 410 kernel/trace/bpf_trace.c .func = bpf_perf_event_read_value, func 496 kernel/trace/bpf_trace.c .func = bpf_perf_event_output, func 558 kernel/trace/bpf_trace.c .func = bpf_get_current_task, func 579 kernel/trace/bpf_trace.c .func = bpf_current_task_under_cgroup, func 613 kernel/trace/bpf_trace.c .func = bpf_probe_read_str, func 678 kernel/trace/bpf_trace.c .func = bpf_send_signal, func 805 kernel/trace/bpf_trace.c .func = bpf_perf_event_output_tp, func 830 kernel/trace/bpf_trace.c .func = bpf_get_stackid_tp, func 848 kernel/trace/bpf_trace.c .func = bpf_get_stack_tp, func 913 kernel/trace/bpf_trace.c .func = bpf_perf_prog_read_value, func 986 kernel/trace/bpf_trace.c .func = bpf_perf_event_output_raw_tp, func 1014 kernel/trace/bpf_trace.c .func = bpf_get_stackid_raw_tp, func 1039 kernel/trace/bpf_trace.c .func = bpf_get_stack_raw_tp, func 59 kernel/trace/fgraph.c ftrace_push_return_trace(unsigned long ret, unsigned long func, func 88 kernel/trace/fgraph.c current->ret_stack[index].func = func; func 99 kernel/trace/fgraph.c int function_graph_enter(unsigned long ret, unsigned long func, func 104 kernel/trace/fgraph.c trace.func = func; func 107 kernel/trace/fgraph.c if (ftrace_push_return_trace(ret, func, frame_pointer, retp)) func 160 kernel/trace/fgraph.c (void *)current->ret_stack[index].func, func 168 kernel/trace/fgraph.c trace->func = current->ret_stack[index].func; func 313 kernel/trace/fgraph.c .func = ftrace_stub, func 422 kernel/trace/fgraph.c if (!ftrace_ops_test(&global_ops, trace->func, NULL)) func 84 kernel/trace/ftrace.c .func = ftrace_stub, func 187 kernel/trace/ftrace.c ftrace_func_t func; func 199 kernel/trace/ftrace.c func = ftrace_stub; func 208 kernel/trace/ftrace.c func = ftrace_ops_get_list_func(ftrace_ops_list); func 213 kernel/trace/ftrace.c func = ftrace_ops_list_func; func 219 kernel/trace/ftrace.c if (ftrace_trace_function == func) func 226 kernel/trace/ftrace.c if (func == ftrace_ops_list_func) { func 227 kernel/trace/ftrace.c ftrace_trace_function = func; func 261 kernel/trace/ftrace.c ftrace_trace_function = func; func 336 kernel/trace/ftrace.c ops->saved_func = ops->func; func 339 kernel/trace/ftrace.c ops->func = ftrace_pid_func; func 364 kernel/trace/ftrace.c ops->func = ops->saved_func; func 379 kernel/trace/ftrace.c op->func = ftrace_pids_enabled(op) ? func 800 kernel/trace/ftrace.c function_profile_call(trace->func, 0, NULL, NULL); func 846 kernel/trace/ftrace.c rec = ftrace_find_profiled_func(stat, trace->func); func 872 kernel/trace/ftrace.c .func = function_profile_call, func 1048 kernel/trace/ftrace.c .func = ftrace_stub, func 1227 kernel/trace/ftrace.c kfree(ftrace_mod->func); func 1300 kernel/trace/ftrace.c const char *func, const char *module, func 1310 kernel/trace/ftrace.c ftrace_mod->func = kstrdup(func, GFP_KERNEL); func 1314 kernel/trace/ftrace.c if (!ftrace_mod->func || !ftrace_mod->module) func 2041 kernel/trace/ftrace.c (void *)ops->func); func 3055 kernel/trace/ftrace.c struct dyn_ftrace *func; func 3194 kernel/trace/ftrace.c (void *)probe_ops->func); func 3265 kernel/trace/ftrace.c if (ftrace_mod->func) func 3266 kernel/trace/ftrace.c seq_printf(m, "%s", ftrace_mod->func); func 3307 kernel/trace/ftrace.c iter->func = rec; func 3444 kernel/trace/ftrace.c rec = iter->func; func 3463 kernel/trace/ftrace.c (void *)ops->func); func 3798 kernel/trace/ftrace.c match_records(struct ftrace_hash *hash, char *func, int len, char *mod) func 3810 kernel/trace/ftrace.c if (func) { func 3811 kernel/trace/ftrace.c func_g.type = filter_parse_regex(func, len, &func_g.search, func 3927 kernel/trace/ftrace.c const char *func, char *module, int enable) func 3936 kernel/trace/ftrace.c if (func[0] == '!') { func 3937 kernel/trace/ftrace.c func++; func 3946 kernel/trace/ftrace.c if (strcmp(func, "*") == 0 || func 3947 kernel/trace/ftrace.c (ftrace_mod->func && func 3948 kernel/trace/ftrace.c strcmp(ftrace_mod->func, func) == 0)) { func 3963 kernel/trace/ftrace.c ret = ftrace_add_mod(tr, func, module, enable); func 3981 kernel/trace/ftrace.c char *func; func 4003 kernel/trace/ftrace.c if (ftrace_mod->func) func 4004 kernel/trace/ftrace.c func = kstrdup(ftrace_mod->func, GFP_KERNEL); func 4006 kernel/trace/ftrace.c func = kstrdup("*", GFP_KERNEL); func 4008 kernel/trace/ftrace.c if (!func) /* warn? */ func 4015 kernel/trace/ftrace.c kfree(ftrace_mod->func); func 4016 kernel/trace/ftrace.c ftrace_mod->func = func; func 4023 kernel/trace/ftrace.c func = ftrace_mod->func; func 4026 kernel/trace/ftrace.c match_records(new_hash, func, strlen(func), mod); func 4076 kernel/trace/ftrace.c char *func; func 4080 kernel/trace/ftrace.c func = kstrdup(func_orig, GFP_KERNEL); func 4081 kernel/trace/ftrace.c if (!func) func 4091 kernel/trace/ftrace.c ret = match_records(hash, func, strlen(func), module); func 4092 kernel/trace/ftrace.c kfree(func); func 4103 kernel/trace/ftrace.c .func = ftrace_mod_callback, func 4127 kernel/trace/ftrace.c probe_ops->func(ip, parent_ip, probe->tr, probe_ops, probe->data); func 4345 kernel/trace/ftrace.c probe->ops.func = function_trace_probe_call; func 4643 kernel/trace/ftrace.c char *func, *command, *next = buff; func 4647 kernel/trace/ftrace.c func = strsep(&next, ":"); func 4650 kernel/trace/ftrace.c ret = ftrace_match_records(hash, func, len); func 4665 kernel/trace/ftrace.c ret = p->func(tr, hash, func, command, next, enable); func 4969 kernel/trace/ftrace.c char *func; func 4977 kernel/trace/ftrace.c func = strsep(&buf, ","); func 4979 kernel/trace/ftrace.c ret = ftrace_graph_set_hash(hash, func); func 4982 kernel/trace/ftrace.c "traceable\n", func); func 4995 kernel/trace/ftrace.c char *func; func 5000 kernel/trace/ftrace.c func = strsep(&buf, ","); func 5001 kernel/trace/ftrace.c ftrace_set_regex(ops, func, strlen(func), 0, enable); func 6072 kernel/trace/ftrace.c clear_func_from_hash(struct ftrace_init_func *func, struct ftrace_hash *hash) func 6076 kernel/trace/ftrace.c entry = ftrace_lookup_ip(hash, func->ip); func 6087 kernel/trace/ftrace.c clear_func_from_hashes(struct ftrace_init_func *func) func 6096 kernel/trace/ftrace.c clear_func_from_hash(func, tr->ops->func_hash->filter_hash); func 6097 kernel/trace/ftrace.c clear_func_from_hash(func, tr->ops->func_hash->notrace_hash); func 6106 kernel/trace/ftrace.c struct ftrace_init_func *func; func 6108 kernel/trace/ftrace.c func = kmalloc(sizeof(*func), GFP_KERNEL); func 6109 kernel/trace/ftrace.c if (!func) { func 6114 kernel/trace/ftrace.c func->ip = rec->ip; func 6115 kernel/trace/ftrace.c list_add(&func->list, clear_list); func 6127 kernel/trace/ftrace.c struct ftrace_init_func *func, *func_next; func 6182 kernel/trace/ftrace.c list_for_each_entry_safe(func, func_next, &clear_hash, list) { func 6183 kernel/trace/ftrace.c clear_func_from_hashes(func); func 6184 kernel/trace/ftrace.c kfree(func); func 6250 kernel/trace/ftrace.c .func = ftrace_stub, func 6283 kernel/trace/ftrace.c void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func) func 6287 kernel/trace/ftrace.c if (WARN_ON(tr->ops->func != ftrace_stub)) func 6289 kernel/trace/ftrace.c tr->ops->func); func 6291 kernel/trace/ftrace.c tr->ops->func = func; func 6297 kernel/trace/ftrace.c tr->ops->func = ftrace_stub; func 6332 kernel/trace/ftrace.c if (FTRACE_WARN_ON(!op->func)) { func 6336 kernel/trace/ftrace.c op->func(ip, parent_ip, op, regs); func 6391 kernel/trace/ftrace.c op->func(ip, parent_ip, op, regs); func 6419 kernel/trace/ftrace.c return ops->func; func 1347 kernel/trace/trace.c u64 (*func)(void); func 6550 kernel/trace/trace.c ring_buffer_set_clock(tr->trace_buffer.buffer, trace_clocks[i].func); func 6560 kernel/trace/trace.c ring_buffer_set_clock(tr->max_buffer.buffer, trace_clocks[i].func); func 7703 kernel/trace/trace.c .func = ftrace_snapshot, func 7708 kernel/trace/trace.c .func = ftrace_count_snapshot, func 7764 kernel/trace/trace.c .func = ftrace_trace_snapshot_callback, func 117 kernel/trace/trace.h unsigned long func; func 869 kernel/trace/trace.h char *func; func 940 kernel/trace/trace.h unsigned long addr = trace->func; func 1053 kernel/trace/trace.h int (*func)(struct trace_array *tr, func 1055 kernel/trace/trace.h char *func, char *cmd, func 1068 kernel/trace/trace.h void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func); func 1098 kernel/trace/trace.h #define ftrace_init_array_ops(tr, func) do { } while (0) func 1104 kernel/trace/trace.h void (*func)(unsigned long ip, func 1723 kernel/trace/trace.h void (*func)(struct event_trigger_data *data, func 1815 kernel/trace/trace.h int (*func)(struct event_command *cmd_ops, func 77 kernel/trace/trace_branch.c strncpy(entry->func, f->data.func, TRACE_FUNC_SIZE); func 79 kernel/trace/trace_branch.c entry->func[TRACE_FUNC_SIZE] = 0; func 149 kernel/trace/trace_branch.c field->func, func 286 kernel/trace/trace_branch.c seq_printf(m, "%-30.30s %-20.20s %d\n", p->func, f, p->line); func 83 kernel/trace/trace_entries.h __field_desc( unsigned long, graph_ent, func ) func 87 kernel/trace/trace_entries.h F_printk("--> %ps (%d)", (void *)__entry->func, __entry->depth), func 99 kernel/trace/trace_entries.h __field_desc( unsigned long, ret, func ) func 107 kernel/trace/trace_entries.h (void *)__entry->func, __entry->depth, func 328 kernel/trace/trace_entries.h __array( char, func, TRACE_FUNC_SIZE+1 ) func 336 kernel/trace/trace_entries.h __entry->func, __entry->file, __entry->correct, func 246 kernel/trace/trace_event_perf.c char *func = NULL; func 250 kernel/trace/trace_event_perf.c func = kzalloc(KSYM_NAME_LEN, GFP_KERNEL); func 251 kernel/trace/trace_event_perf.c if (!func) func 254 kernel/trace/trace_event_perf.c func, u64_to_user_ptr(p_event->attr.kprobe_func), func 261 kernel/trace/trace_event_perf.c if (func[0] == '\0') { func 262 kernel/trace/trace_event_perf.c kfree(func); func 263 kernel/trace/trace_event_perf.c func = NULL; func 268 kernel/trace/trace_event_perf.c func, (void *)(unsigned long)(p_event->attr.kprobe_addr), func 281 kernel/trace/trace_event_perf.c kfree(func); func 476 kernel/trace/trace_event_perf.c ops->func = perf_ftrace_function_call; func 1536 kernel/trace/trace_events.c int (*func)(struct trace_seq *s) = filp->private_data; func 1549 kernel/trace/trace_events.c func(s); func 2665 kernel/trace/trace_events.c .func = event_enable_probe, func 2672 kernel/trace/trace_events.c .func = event_enable_count_probe, func 2679 kernel/trace/trace_events.c .func = event_enable_probe, func 2686 kernel/trace/trace_events.c .func = event_enable_count_probe, func 2804 kernel/trace/trace_events.c .func = event_enable_func, func 2809 kernel/trace/trace_events.c .func = event_enable_func, func 3397 kernel/trace/trace_events.c .func = function_test_events_call, func 1162 kernel/trace/trace_events_hist.c probe_func = probe_func_ptr->func; func 1165 kernel/trace/trace_events_hist.c } while ((++probe_func_ptr)->func); func 5819 kernel/trace/trace_events_hist.c .func = event_hist_trigger, func 5853 kernel/trace/trace_events_hist.c .func = event_hist_trigger, func 6381 kernel/trace/trace_events_hist.c .func = event_hist_trigger_func, func 6431 kernel/trace/trace_events_hist.c .func = hist_enable_trigger, func 6438 kernel/trace/trace_events_hist.c .func = hist_enable_count_trigger, func 6445 kernel/trace/trace_events_hist.c .func = hist_enable_trigger, func 6452 kernel/trace/trace_events_hist.c .func = hist_enable_count_trigger, func 6494 kernel/trace/trace_events_hist.c .func = event_enable_trigger_func, func 6505 kernel/trace/trace_events_hist.c .func = event_enable_trigger_func, func 70 kernel/trace/trace_events_trigger.c data->ops->func(data, rec, event); func 80 kernel/trace/trace_events_trigger.c data->ops->func(data, rec, event); func 108 kernel/trace/trace_events_trigger.c data->ops->func(data, NULL, NULL); func 229 kernel/trace/trace_events_trigger.c ret = p->func(p, file, buff, command, next); func 996 kernel/trace/trace_events_trigger.c .func = traceon_trigger, func 1003 kernel/trace/trace_events_trigger.c .func = traceon_count_trigger, func 1010 kernel/trace/trace_events_trigger.c .func = traceoff_trigger, func 1017 kernel/trace/trace_events_trigger.c .func = traceoff_count_trigger, func 1042 kernel/trace/trace_events_trigger.c .func = event_trigger_callback, func 1053 kernel/trace/trace_events_trigger.c .func = event_trigger_callback, func 1106 kernel/trace/trace_events_trigger.c .func = snapshot_trigger, func 1113 kernel/trace/trace_events_trigger.c .func = snapshot_count_trigger, func 1128 kernel/trace/trace_events_trigger.c .func = event_trigger_callback, func 1195 kernel/trace/trace_events_trigger.c .func = stacktrace_trigger, func 1202 kernel/trace/trace_events_trigger.c .func = stacktrace_count_trigger, func 1218 kernel/trace/trace_events_trigger.c .func = event_trigger_callback, func 1320 kernel/trace/trace_events_trigger.c .func = event_enable_trigger, func 1327 kernel/trace/trace_events_trigger.c .func = event_enable_count_trigger, func 1334 kernel/trace/trace_events_trigger.c .func = event_enable_trigger, func 1341 kernel/trace/trace_events_trigger.c .func = event_enable_count_trigger, func 1590 kernel/trace/trace_events_trigger.c .func = event_enable_trigger_func, func 1600 kernel/trace/trace_events_trigger.c .func = event_enable_trigger_func, func 46 kernel/trace/trace_functions.c ops->func = function_trace_call; func 85 kernel/trace/trace_functions.c ftrace_func_t func; func 98 kernel/trace/trace_functions.c func = function_stack_trace_call; func 100 kernel/trace/trace_functions.c func = function_trace_call; func 102 kernel/trace/trace_functions.c ftrace_init_array_ops(tr, func); func 251 kernel/trace/trace_functions.c tr->ops->func = function_stack_trace_call; func 254 kernel/trace/trace_functions.c tr->ops->func = function_trace_call; func 589 kernel/trace/trace_functions.c .func = ftrace_traceon_count, func 596 kernel/trace/trace_functions.c .func = ftrace_traceoff_count, func 603 kernel/trace/trace_functions.c .func = ftrace_stacktrace_count, func 610 kernel/trace/trace_functions.c .func = ftrace_dump_probe, func 617 kernel/trace/trace_functions.c .func = ftrace_cpudump_probe, func 622 kernel/trace/trace_functions.c .func = ftrace_traceon, func 627 kernel/trace/trace_functions.c .func = ftrace_traceoff, func 632 kernel/trace/trace_functions.c .func = ftrace_stacktrace, func 743 kernel/trace/trace_functions.c .func = ftrace_trace_onoff_callback, func 748 kernel/trace/trace_functions.c .func = ftrace_trace_onoff_callback, func 753 kernel/trace/trace_functions.c .func = ftrace_stacktrace_callback, func 758 kernel/trace/trace_functions.c .func = ftrace_dump_callback, func 763 kernel/trace/trace_functions.c .func = ftrace_cpudump_callback, func 147 kernel/trace/trace_functions_graph.c if (ftrace_graph_notrace_addr(trace->func)) { func 195 kernel/trace/trace_functions_graph.c .func = ip, func 199 kernel/trace/trace_functions_graph.c .func = ip, func 480 kernel/trace/trace_functions_graph.c curr->graph_ent.func != next->ret.func) func 668 kernel/trace/trace_functions_graph.c trace_seq_printf(s, "%ps();\n", (void *)call->func); func 670 kernel/trace/trace_functions_graph.c print_graph_irq(iter, graph_ret->func, TRACE_GRAPH_RET, func 696 kernel/trace/trace_functions_graph.c cpu_data->enter_funcs[call->depth] = call->func; func 706 kernel/trace/trace_functions_graph.c trace_seq_printf(s, "%ps() {\n", (void *)call->func); func 874 kernel/trace/trace_functions_graph.c if (check_irq_entry(iter, flags, call->func, call->depth)) func 877 kernel/trace/trace_functions_graph.c print_graph_prologue(iter, s, TRACE_GRAPH_ENT, call->func, flags); func 931 kernel/trace/trace_functions_graph.c if (cpu_data->enter_funcs[trace->depth] != trace->func) func 956 kernel/trace/trace_functions_graph.c trace_seq_printf(s, "} /* %ps */\n", (void *)trace->func); func 963 kernel/trace/trace_functions_graph.c print_graph_irq(iter, trace->func, TRACE_GRAPH_RET, func 192 kernel/trace/trace_irqsoff.c if (ftrace_graph_notrace_addr(trace->func)) func 1252 kernel/trace/trace_kprobe.c entry->func = (unsigned long)tk->rp.kp.addr; func 1323 kernel/trace/trace_kprobe.c if (!seq_print_ip_sym(s, field->func, flags & ~TRACE_ITER_SYM_OFFSET)) func 1364 kernel/trace/trace_kprobe.c DEFINE_FIELD(unsigned long, func, FIELD_STRING_FUNC, 0); func 1448 kernel/trace/trace_kprobe.c entry->func = (unsigned long)tk->rp.kp.addr; func 1591 kernel/trace/trace_kprobe.c create_local_trace_kprobe(char *func, void *addr, unsigned long offs, func 1603 kernel/trace/trace_kprobe.c event = func ? func : "DUMMY_EVENT"; func 1605 kernel/trace/trace_kprobe.c tk = alloc_trace_kprobe(KPROBE_EVENT_SYSTEM, event, (void *)addr, func, func 382 kernel/trace/trace_probe.h create_local_trace_kprobe(char *func, void *addr, unsigned long offs, func 131 kernel/trace/trace_sched_wakeup.c if (ftrace_graph_notrace_addr(trace->func)) func 152 kernel/trace/trace_selftest.c .func = trace_selftest_test_probe1_func, func 157 kernel/trace/trace_selftest.c .func = trace_selftest_test_probe2_func, func 162 kernel/trace/trace_selftest.c .func = trace_selftest_test_probe3_func, func 259 kernel/trace/trace_selftest.c dyn_ops->func = trace_selftest_test_dyn_func; func 327 kernel/trace/trace_selftest.c int (*func)(void)) func 342 kernel/trace/trace_selftest.c func(); func 376 kernel/trace/trace_selftest.c func(); func 450 kernel/trace/trace_selftest.c .func = trace_selftest_test_recursion_func, func 454 kernel/trace/trace_selftest.c .func = trace_selftest_test_recursion_safe_func, func 536 kernel/trace/trace_selftest.c # define trace_selftest_startup_dynamic_tracing(trace, tr, func) ({ 0; }) func 558 kernel/trace/trace_selftest.c .func = trace_selftest_test_regs_func, func 320 kernel/trace/trace_stack.c .func = stack_trace_call, func 100 kernel/trace/trace_uprobe.c unsigned long func, struct pt_regs *regs); func 929 kernel/trace/trace_uprobe.c unsigned long func, struct pt_regs *regs, func 957 kernel/trace/trace_uprobe.c entry->vaddr[0] = func; func 987 kernel/trace/trace_uprobe.c static void uretprobe_trace_func(struct trace_uprobe *tu, unsigned long func, func 995 kernel/trace/trace_uprobe.c __uprobe_trace_func(tu, func, regs, ucb, dsize, link->file); func 1326 kernel/trace/trace_uprobe.c unsigned long func, struct pt_regs *regs, func 1356 kernel/trace/trace_uprobe.c entry->vaddr[0] = func; func 1390 kernel/trace/trace_uprobe.c static void uretprobe_perf_func(struct trace_uprobe *tu, unsigned long func, func 1394 kernel/trace/trace_uprobe.c __uprobe_perf_func(tu, func, regs, ucb, dsize); func 1493 kernel/trace/trace_uprobe.c unsigned long func, struct pt_regs *regs) func 1503 kernel/trace/trace_uprobe.c udd.bp_addr = func; func 1517 kernel/trace/trace_uprobe.c uretprobe_trace_func(tu, func, regs, ucb, dsize); func 1521 kernel/trace/trace_uprobe.c uretprobe_perf_func(tu, func, regs, ucb, dsize); func 124 kernel/tracepoint.c for (i = 0; funcs[i].func; i++) func 125 kernel/tracepoint.c printk(KERN_DEBUG "Probe %d : %p\n", i, funcs[i].func); func 136 kernel/tracepoint.c if (WARN_ON(!tp_func->func)) func 143 kernel/tracepoint.c for (nr_probes = 0; old[nr_probes].func; nr_probes++) { func 147 kernel/tracepoint.c if (old[nr_probes].func == tp_func->func && func 170 kernel/tracepoint.c new[nr_probes + 1].func = NULL; func 189 kernel/tracepoint.c if (tp_func->func) { func 190 kernel/tracepoint.c for (nr_probes = 0; old[nr_probes].func; nr_probes++) { func 191 kernel/tracepoint.c if (old[nr_probes].func == tp_func->func && func 213 kernel/tracepoint.c for (i = 0; old[i].func; i++) func 214 kernel/tracepoint.c if (old[i].func != tp_func->func func 217 kernel/tracepoint.c new[nr_probes - nr_del].func = NULL; func 228 kernel/tracepoint.c struct tracepoint_func *func, int prio) func 241 kernel/tracepoint.c old = func_add(&tp_funcs, func, prio); func 267 kernel/tracepoint.c struct tracepoint_func *func) func 273 kernel/tracepoint.c old = func_remove(&tp_funcs, func); func 312 kernel/tracepoint.c tp_func.func = probe; func 353 kernel/tracepoint.c tp_func.func = probe; func 12 kernel/up.c int smp_call_function_single(int cpu, void (*func) (void *info), void *info, func 20 kernel/up.c func(info); func 32 kernel/up.c csd->func(csd->info); func 38 kernel/up.c void on_each_cpu(smp_call_func_t func, void *info, int wait) func 43 kernel/up.c func(info); func 55 kernel/up.c smp_call_func_t func, void *info, bool wait) func 61 kernel/up.c func(info); func 72 kernel/up.c smp_call_func_t func, void *info, bool wait, func 80 kernel/up.c func(info); func 88 kernel/up.c smp_call_func_t func, void *info, bool wait, func 91 kernel/up.c on_each_cpu_cond_mask(cond_func, func, info, wait, gfp_flags, NULL); func 95 kernel/up.c int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) func 104 kernel/up.c ret = func(par); func 439 kernel/workqueue.c return ((struct work_struct *) addr)->func; func 1036 kernel/workqueue.c worker->current_func == work->func) func 2206 kernel/workqueue.c worker->current_func = work->func; func 2599 kernel/workqueue.c work_func_t target_func = target_work ? target_work->func : NULL; func 3040 kernel/workqueue.c if (WARN_ON(!work->func)) func 3116 kernel/workqueue.c cwait.wait.func = cwt_wakefn; func 3283 kernel/workqueue.c int schedule_on_each_cpu(work_func_t func) func 3297 kernel/workqueue.c INIT_WORK(work, func); func 4642 kernel/workqueue.c if (work->func == wq_barrier_func) { func 4650 kernel/workqueue.c pr_cont("%s %ps", comma ? "," : "", work->func); func 678 lib/btree.c void (*func)(void *elem, unsigned long opaque, func 692 lib/btree.c func, func2, reap, height - 1, count); func 694 lib/btree.c func(child, opaque, bkey(geo, node, i), count++, func 710 lib/btree.c visitorl_t func = __func; func 712 lib/btree.c func(elem, opaque, *key, index); func 719 lib/btree.c visitor32_t func = __func; func 722 lib/btree.c func(elem, opaque, *key, index); func 729 lib/btree.c visitor64_t func = __func; func 732 lib/btree.c func(elem, opaque, *key, index); func 739 lib/btree.c visitor128_t func = __func; func 742 lib/btree.c func(elem, opaque, key[0], key[1], index); func 748 lib/btree.c void (*func)(void *elem, unsigned long opaque, func 756 lib/btree.c func = empty; func 758 lib/btree.c count = __btree_for_each(head, geo, head->node, opaque, func, func 766 lib/btree.c void (*func)(void *elem, unsigned long opaque, func 774 lib/btree.c func = empty; func 776 lib/btree.c count = __btree_for_each(head, geo, head->node, opaque, func, func 530 lib/genalloc.c void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), func 537 lib/genalloc.c func(pool, chunk, data); func 27 lib/ratelimit.c int ___ratelimit(struct ratelimit_state *rs, const char *func) func 52 lib/ratelimit.c func, rs->missed); func 501 lib/test_overflow.c #define DEFINE_TEST_ALLOC(func, free_func, want_arg, want_gfp, want_node)\ func 502 lib/test_overflow.c static int __init test_ ## func (void *arg) \ func 509 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\ func 511 lib/test_overflow.c pr_warn(#func " failed regular allocation?!\n"); \ func 517 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \ func 520 lib/test_overflow.c pr_warn(#func " unexpectedly failed bad wrapping?!\n"); \ func 526 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \ func 529 lib/test_overflow.c pr_warn(#func " missed saturation!\n"); \ func 533 lib/test_overflow.c pr_info(#func " detected saturation\n"); \ func 715 lib/vsprintf.c .func = fill_random_ptr_key func 111 lib/zlib_deflate/deflate.c compress_func func; func 407 lib/zlib_deflate/deflate.c bstate = (*(configuration_table[s->level].func))(s, flush); func 1068 mm/filemap.c bookmark.func = NULL; func 1154 mm/filemap.c wait->func = wake_page_function; func 1981 mm/memcontrol.c owait.wait.func = memcg_oom_wake_function; func 514 mm/slab.c if (reap_work->work.func == NULL) { func 1083 mm/slab.c per_cpu(slab_reap_work, cpu).work.func = NULL; func 911 net/802/mrp.c appl->pkttype.func = mrp_rcv; func 33 net/802/p8022.c int (*func)(struct sk_buff *skb, func 45 net/802/p8022.c proto->sap = llc_sap_open(type, func); func 32 net/9p/mod.c void _p9_debug(enum p9_debug_flags level, const char *func, func 49 net/9p/mod.c pr_notice("-- %s (%d): %pV", func, task_pid_nr(current), &vaf); func 1888 net/appletalk/ddp.c .func = ltalk_rcv, func 1893 net/appletalk/ddp.c .func = atalk_rcv, func 1962 net/ax25/af_ax25.c .func = ax25_kiss_rcv, func 166 net/ax25/ax25_iface.c res = protocol->func; func 196 net/ax25/ax25_iface.c lf->func(ax25, reason); func 101 net/ax25/ax25_in.c int (*func)(struct sk_buff *, ax25_cb *); func 136 net/ax25/ax25_in.c if ((func = ax25_protocol_function(pid)) != NULL) { func 138 net/ax25/ax25_in.c return (*func)(skb, ax25); func 770 net/batman-adv/hard-interface.c hard_iface->batman_adv_ptype.func = batadv_batman_skb_recv; func 188 net/bluetooth/cmtp/capi.c __u16 appl, msgnum, func, info; func 198 net/bluetooth/cmtp/capi.c func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 5); func 201 net/bluetooth/cmtp/capi.c switch (func) { func 300 net/bluetooth/cmtp/capi.c func = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 3); func 302 net/bluetooth/cmtp/capi.c if (func == CAPI_FUNCTION_LOOPBACK) { func 307 net/bluetooth/cmtp/capi.c cmtp_send_interopmsg(session, CAPI_RESP, appl, msgnum, func, func 192 net/bluetooth/hci_request.c int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, func 205 net/bluetooth/hci_request.c err = func(&req, opt); func 54 net/bluetooth/hci_request.h int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, func 1518 net/bluetooth/hci_sock.c chan->handlers[opcode].func == NULL) { func 1578 net/bluetooth/hci_sock.c err = handler->func(sk, hdev, cp, len); func 284 net/caif/caif_dev.c .func = receive, func 173 net/caif/caif_usb.c &layer, &caif_usb_type.func); func 442 net/can/af_can.c canid_t mask, void (*func)(struct sk_buff *, void *), func 471 net/can/af_can.c rcv->func = func; func 511 net/can/af_can.c canid_t mask, void (*func)(struct sk_buff *, void *), func 536 net/can/af_can.c rcv->func == func && rcv->data == data) func 569 net/can/af_can.c rcv->func(skb, rcv->data); func 842 net/can/af_can.c .func = can_rcv, func 847 net/can/af_can.c .func = canfd_rcv, func 56 net/can/af_can.h void (*func)(struct sk_buff *skb, void *data); func 154 net/can/gw.c #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \ func 199 net/can/proc.c r->func, r->data, r->matches, r->ident); func 897 net/core/bpf_sk_storage.c .func = bpf_sk_storage_get, func 907 net/core/bpf_sk_storage.c .func = bpf_sk_storage_delete, func 1887 net/core/dev.c return pt_prev->func(skb, skb->dev, pt_prev, orig_dev); func 1995 net/core/dev.c pt_prev->func(skb2, skb->dev, pt_prev, skb->dev); func 4923 net/core/dev.c ret = INDIRECT_CALL_INET(pt_prev->func, ipv6_rcv, ip_rcv, skb, func 4971 net/core/dev.c pt_prev->func(skb, skb->dev, pt_prev, orig_dev); func 10014 net/core/dev.c #define define_netdev_printk_level(func, level) \ func 10015 net/core/dev.c void func(const struct net_device *dev, const char *fmt, ...) \ func 10029 net/core/dev.c EXPORT_SYMBOL(func); func 10204 net/core/dev.c sd->csd.func = rps_trigger_softirq; func 265 net/core/filter.c .func = bpf_get_raw_cpu_id, func 1691 net/core/filter.c .func = bpf_skb_store_bytes, func 1722 net/core/filter.c .func = bpf_skb_load_bytes, func 1756 net/core/filter.c .func = bpf_flow_dissector_load_bytes, func 1798 net/core/filter.c .func = bpf_skb_load_bytes_relative, func 1823 net/core/filter.c .func = bpf_skb_pull_data, func 1836 net/core/filter.c .func = bpf_sk_fullsock, func 1866 net/core/filter.c .func = sk_skb_pull_data, func 1907 net/core/filter.c .func = bpf_l3_csum_replace, func 1960 net/core/filter.c .func = bpf_l4_csum_replace, func 1998 net/core/filter.c .func = bpf_csum_diff, func 2022 net/core/filter.c .func = bpf_csum_update, func 2144 net/core/filter.c .func = bpf_clone_redirect, func 2184 net/core/filter.c .func = bpf_redirect, func 2198 net/core/filter.c .func = bpf_msg_apply_bytes, func 2212 net/core/filter.c .func = bpf_msg_cork_bytes, func 2336 net/core/filter.c .func = bpf_msg_pull_data, func 2468 net/core/filter.c .func = bpf_msg_push_data, func 2636 net/core/filter.c .func = bpf_msg_pop_data, func 2651 net/core/filter.c .func = bpf_get_cgroup_classid, func 2663 net/core/filter.c .func = bpf_get_route_realm, func 2680 net/core/filter.c .func = bpf_get_hash_recalc, func 2696 net/core/filter.c .func = bpf_set_hash_invalid, func 2713 net/core/filter.c .func = bpf_set_hash, func 2738 net/core/filter.c .func = bpf_skb_vlan_push, func 2759 net/core/filter.c .func = bpf_skb_vlan_pop, func 2962 net/core/filter.c .func = bpf_skb_change_proto, func 2982 net/core/filter.c .func = bpf_skb_change_type, func 3198 net/core/filter.c .func = bpf_skb_adjust_room, func 3285 net/core/filter.c .func = bpf_skb_change_tail, func 3303 net/core/filter.c .func = sk_skb_change_tail, func 3351 net/core/filter.c .func = bpf_skb_change_head, func 3369 net/core/filter.c .func = sk_skb_change_head, func 3403 net/core/filter.c .func = bpf_xdp_adjust_head, func 3427 net/core/filter.c .func = bpf_xdp_adjust_tail, func 3455 net/core/filter.c .func = bpf_xdp_adjust_meta, func 3740 net/core/filter.c .func = bpf_xdp_redirect, func 3775 net/core/filter.c .func = bpf_xdp_redirect_map, func 3811 net/core/filter.c .func = bpf_skb_event_output, func 3887 net/core/filter.c .func = bpf_skb_get_tunnel_key, func 3922 net/core/filter.c .func = bpf_skb_get_tunnel_opt, func 3996 net/core/filter.c .func = bpf_skb_set_tunnel_key, func 4022 net/core/filter.c .func = bpf_skb_set_tunnel_opt, func 4076 net/core/filter.c .func = bpf_skb_under_cgroup, func 4098 net/core/filter.c .func = bpf_skb_cgroup_id, func 4123 net/core/filter.c .func = bpf_skb_ancestor_cgroup_id, func 4153 net/core/filter.c .func = bpf_xdp_event_output, func 4169 net/core/filter.c .func = bpf_get_socket_cookie, func 4181 net/core/filter.c .func = bpf_get_socket_cookie_sock_addr, func 4193 net/core/filter.c .func = bpf_get_socket_cookie_sock_ops, func 4211 net/core/filter.c .func = bpf_get_socket_uid, func 4227 net/core/filter.c .func = bpf_sockopt_event_output, func 4389 net/core/filter.c .func = bpf_setsockopt, func 4472 net/core/filter.c .func = bpf_getsockopt, func 4497 net/core/filter.c .func = bpf_sock_ops_cb_flags_set, func 4544 net/core/filter.c .func = bpf_bind, func 4587 net/core/filter.c .func = bpf_skb_get_xfrm_state, func 4865 net/core/filter.c .func = bpf_xdp_fib_lookup, func 4911 net/core/filter.c .func = bpf_skb_fib_lookup, func 4996 net/core/filter.c .func = bpf_lwt_in_push_encap, func 5006 net/core/filter.c .func = bpf_lwt_xmit_push_encap, func 5049 net/core/filter.c .func = bpf_lwt_seg6_store_bytes, func 5137 net/core/filter.c .func = bpf_lwt_seg6_action, func 5197 net/core/filter.c .func = bpf_lwt_seg6_adjust_srh, func 5362 net/core/filter.c .func = bpf_skc_lookup_tcp, func 5381 net/core/filter.c .func = bpf_sk_lookup_tcp, func 5400 net/core/filter.c .func = bpf_sk_lookup_udp, func 5420 net/core/filter.c .func = bpf_sk_release, func 5438 net/core/filter.c .func = bpf_xdp_sk_lookup_udp, func 5461 net/core/filter.c .func = bpf_xdp_skc_lookup_tcp, func 5484 net/core/filter.c .func = bpf_xdp_sk_lookup_tcp, func 5504 net/core/filter.c .func = bpf_sock_addr_skc_lookup_tcp, func 5523 net/core/filter.c .func = bpf_sock_addr_sk_lookup_tcp, func 5542 net/core/filter.c .func = bpf_sock_addr_sk_lookup_udp, func 5704 net/core/filter.c .func = bpf_tcp_sock, func 5721 net/core/filter.c .func = bpf_get_listener_sock, func 5788 net/core/filter.c .func = bpf_skb_ecn_set_ce, func 5850 net/core/filter.c .func = bpf_tcp_check_syncookie, func 5919 net/core/filter.c .func = bpf_tcp_gen_syncookie, func 5932 net/core/filter.c bool bpf_helper_changes_pkt_data(void *func) func 5934 net/core/filter.c if (func == bpf_skb_vlan_push || func 5935 net/core/filter.c func == bpf_skb_vlan_pop || func 5936 net/core/filter.c func == bpf_skb_store_bytes || func 5937 net/core/filter.c func == bpf_skb_change_proto || func 5938 net/core/filter.c func == bpf_skb_change_head || func 5939 net/core/filter.c func == sk_skb_change_head || func 5940 net/core/filter.c func == bpf_skb_change_tail || func 5941 net/core/filter.c func == sk_skb_change_tail || func 5942 net/core/filter.c func == bpf_skb_adjust_room || func 5943 net/core/filter.c func == bpf_skb_pull_data || func 5944 net/core/filter.c func == sk_skb_pull_data || func 5945 net/core/filter.c func == bpf_clone_redirect || func 5946 net/core/filter.c func == bpf_l3_csum_replace || func 5947 net/core/filter.c func == bpf_l4_csum_replace || func 5948 net/core/filter.c func == bpf_xdp_adjust_head || func 5949 net/core/filter.c func == bpf_xdp_adjust_meta || func 5950 net/core/filter.c func == bpf_msg_pull_data || func 5951 net/core/filter.c func == bpf_msg_push_data || func 5952 net/core/filter.c func == bpf_msg_pop_data || func 5953 net/core/filter.c func == bpf_xdp_adjust_tail || func 5955 net/core/filter.c func == bpf_lwt_seg6_store_bytes || func 5956 net/core/filter.c func == bpf_lwt_seg6_adjust_srh || func 5957 net/core/filter.c func == bpf_lwt_seg6_action || func 5959 net/core/filter.c func == bpf_lwt_in_push_encap || func 5960 net/core/filter.c func == bpf_lwt_xmit_push_encap) func 8761 net/core/filter.c .func = sk_select_reuseport, func 8778 net/core/filter.c .func = sk_reuseport_load_bytes, func 8796 net/core/filter.c .func = sk_reuseport_load_bytes_relative, func 262 net/core/net-procfs.c pt->dev ? pt->dev->name : "", pt->func); func 451 net/core/sock_map.c .func = bpf_sock_map_update, func 476 net/core/sock_map.c .func = bpf_sk_redirect_map, func 498 net/core/sock_map.c .func = bpf_msg_redirect_map, func 912 net/core/sock_map.c .func = bpf_sock_hash_update, func 937 net/core/sock_map.c .func = bpf_sk_redirect_hash, func 959 net/core/sock_map.c .func = bpf_msg_redirect_hash, func 2107 net/decnet/af_decnet.c .func = dn_route_rcv, func 300 net/dsa/dsa.c .func = dsa_switch_rcv, func 312 net/ieee802154/6lowpan/rx.c .func = lowpan_rcv, func 1093 net/ieee802154/socket.c .func = ieee802154_rcv, func 1905 net/ipv4/af_inet.c .func = ip_rcv, func 1284 net/ipv4/arp.c .func = arp_rcv, func 458 net/ipv4/ipconfig.c .func = ic_rarp_recv, func 641 net/ipv4/ipconfig.c .func = ic_bootp_recv, func 804 net/ipv6/af_inet6.c .func = ipv6_rcv, func 64 net/ipv6/exthdrs.c bool (*func)(struct sk_buff *skb, int offset); func 180 net/ipv6/exthdrs.c if (curr->func(skb, off) == false) func 271 net/ipv6/exthdrs.c .func = ipv6_dest_hao, func 808 net/ipv6/exthdrs.c .func = ipv6_hop_ra, func 812 net/ipv6/exthdrs.c .func = ipv6_hop_jumbo, func 816 net/ipv6/exthdrs.c .func = ipv6_hop_calipso, func 43 net/ipv6/ip6_fib.c int (*func)(struct fib6_info *, void *arg); func 443 net/ipv6/ip6_fib.c w->func = fib6_node_dump; func 604 net/ipv6/ip6_fib.c w->func = fib6_dump_node; func 2003 net/ipv6/ip6_fib.c err = w->func(w); func 2071 net/ipv6/ip6_fib.c if (!c->func) { func 2078 net/ipv6/ip6_fib.c res = c->func(rt, c->arg); func 2115 net/ipv6/ip6_fib.c int (*func)(struct fib6_info *, void *arg), func 2121 net/ipv6/ip6_fib.c c.w.func = fib6_clean_node; func 2125 net/ipv6/ip6_fib.c c.func = func; func 2135 net/ipv6/ip6_fib.c int (*func)(struct fib6_info *, void *), func 2148 net/ipv6/ip6_fib.c func, sernum, arg, skip_notify); func 2155 net/ipv6/ip6_fib.c void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), func 2158 net/ipv6/ip6_fib.c __fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, false); func 2162 net/ipv6/ip6_fib.c int (*func)(struct fib6_info *, void *), func 2165 net/ipv6/ip6_fib.c __fib6_clean_all(net, func, FIB6_NO_SERNUM_CHANGE, arg, true); func 2428 net/ipv6/ip6_fib.c iter->w.func = ipv6_route_yield; func 1823 net/ipv6/ndisc.c const char *func, const char *dev_name) func 1830 net/ipv6/ndisc.c warncomm, func, func 2407 net/iucv/af_iucv.c .func = afiucv_hs_rcv, func 321 net/l2tp/l2tp_core.h #define l2tp_printk(ptr, type, func, fmt, ...) \ func 324 net/l2tp/l2tp_core.h func(fmt, ##__VA_ARGS__); \ func 92 net/llc/llc_core.c int (*func)(struct sk_buff *skb, func 106 net/llc/llc_core.c sap->rcv_func = func; func 135 net/llc/llc_core.c .func = llc_rcv, func 140 net/llc/llc_core.c .func = llc_rcv, func 306 net/mac80211/cfg.c struct cfg80211_nan_func *func; func 311 net/mac80211/cfg.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) { func 312 net/mac80211/cfg.c if (func->cookie == cookie) func 313 net/mac80211/cfg.c return func; func 323 net/mac80211/cfg.c struct cfg80211_nan_func *func; func 332 net/mac80211/cfg.c func = ieee80211_find_nan_func_by_cookie(sdata, cookie); func 333 net/mac80211/cfg.c if (func) func 334 net/mac80211/cfg.c instance_id = func->instance_id; func 3781 net/mac80211/cfg.c struct cfg80211_nan_func *func; func 3789 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, inst_id); func 3790 net/mac80211/cfg.c if (WARN_ON(!func)) { func 3795 net/mac80211/cfg.c cookie = func->cookie; func 3800 net/mac80211/cfg.c cfg80211_free_nan_func(func); func 3812 net/mac80211/cfg.c struct cfg80211_nan_func *func; func 3819 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, match->inst_id); func 3820 net/mac80211/cfg.c if (WARN_ON(!func)) { func 3824 net/mac80211/cfg.c match->cookie = func->cookie; func 804 net/mac80211/iface.c struct cfg80211_nan_func *func; func 966 net/mac80211/iface.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, i) { func 968 net/mac80211/iface.c cfg80211_free_nan_func(func); func 1867 net/mac80211/trace.h const struct cfg80211_nan_func *func), func 1869 net/mac80211/trace.h TP_ARGS(local, sdata, func), func 1880 net/mac80211/trace.h __entry->type = func->type; func 1881 net/mac80211/trace.h __entry->inst_id = func->instance_id; func 2095 net/mac80211/util.c struct cfg80211_nan_func *func, **funcs; func 2115 net/mac80211/util.c idr_for_each_entry(&sdata->u.nan.function_inst_ids, func, id) func 2116 net/mac80211/util.c funcs[i++] = func; func 479 net/mpls/af_mpls.c .func = mpls_forward, func 1666 net/ncsi/ncsi-manage.c ndp->ptype.func = ncsi_rcv_rsp; func 1348 net/netrom/af_netrom.c .func = nr_route_frame func 1352 net/netrom/af_netrom.c .func = nr_link_failed, func 1234 net/packet/af_packet.c if (po->prot_hook.func != tpacket_rcv) { func 1463 net/packet/af_packet.c return po->prot_hook.func(skb, dev, &po->prot_hook, orig_dev); func 1714 net/packet/af_packet.c match->prot_hook.func = packet_rcv_fanout; func 3281 net/packet/af_packet.c po->prot_hook.func = packet_rcv; func 3284 net/packet/af_packet.c po->prot_hook.func = packet_rcv_spkt; func 4422 net/packet/af_packet.c po->prot_hook.func = (po->rx_ring.pg_vec) ? func 454 net/phonet/af_phonet.c .func = phonet_rcv, func 73 net/rds/info.c void rds_info_register_func(int optname, rds_info_func func) func 81 net/rds/info.c rds_info_funcs[offset] = func; func 86 net/rds/info.c void rds_info_deregister_func(int optname, rds_info_func func) func 93 net/rds/info.c BUG_ON(rds_info_funcs[offset] != func); func 166 net/rds/info.c rds_info_func func; func 209 net/rds/info.c func = rds_info_funcs[optname - RDS_INFO_FIRST]; func 210 net/rds/info.c if (!func) { func 219 net/rds/info.c func(sock, len, &iter, &lens); func 22 net/rds/info.h void rds_info_register_func(int optname, rds_info_func func); func 23 net/rds/info.h void rds_info_deregister_func(int optname, rds_info_func func); func 1465 net/rose/af_rose.c .func = rose_route_frame func 1469 net/rose/af_rose.c .func = rose_link_failed func 203 net/sched/cls_api.c bool tcf_queue_work(struct rcu_work *rwork, work_func_t func) func 205 net/sched/cls_api.c INIT_RCU_WORK(rwork, func); func 80 net/sctp/inqueue.c q->immediate.func(&q->immediate); func 89 net/sctp/sm_statetable.c #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func} func 289 net/smc/smc_rx.c int (*func)(struct smc_connection *conn); func 371 net/smc/smc_rx.c func = smc_rx_data_available_and_no_splice_pend; func 373 net/smc/smc_rx.c func = smc_rx_data_available; func 374 net/smc/smc_rx.c smc_rx_wait(smc, &timeo, func); func 655 net/sunrpc/sched.c bool (*func)(struct rpc_task *, void *), void *data) func 665 net/sunrpc/sched.c task, func, data); func 675 net/sunrpc/sched.c bool (*func)(struct rpc_task *, void *), void *data) func 677 net/sunrpc/sched.c return rpc_wake_up_first_on_wq(rpciod_workqueue, queue, func, data); func 31 net/switchdev/switchdev.c switchdev_deferred_func_t *func; func 65 net/switchdev/switchdev.c dfitem->func(dfitem->dev, dfitem->data); func 83 net/switchdev/switchdev.c switchdev_deferred_func_t *func) func 91 net/switchdev/switchdev.c dfitem->func = func; func 413 net/tipc/bearer.c b->pt.func = tipc_l2_rcv_msg; func 728 net/tipc/bearer.c tn->loopback_pt.func = tipc_loopback_rcv_pkt; func 91 net/unix/garbage.c static void scan_inflight(struct sock *x, void (*func)(struct unix_sock *), func 120 net/unix/garbage.c func(u); func 133 net/unix/garbage.c static void scan_children(struct sock *x, void (*func)(struct unix_sock *), func 137 net/unix/garbage.c scan_inflight(x, func, hitlist); func 161 net/unix/garbage.c scan_inflight(&u->sk, func, hitlist); func 12296 net/wireless/nl80211.c struct cfg80211_nan_func *func, func 12307 net/wireless/nl80211.c BUILD_BUG_ON(sizeof(*func->rx_filters) != sizeof(*func->tx_filters)); func 12309 net/wireless/nl80211.c filter = kcalloc(n_entries, sizeof(*func->rx_filters), GFP_KERNEL); func 12320 net/wireless/nl80211.c func->num_tx_filters = n_entries; func 12321 net/wireless/nl80211.c func->tx_filters = filter; func 12323 net/wireless/nl80211.c func->num_rx_filters = n_entries; func 12324 net/wireless/nl80211.c func->rx_filters = filter; func 12336 net/wireless/nl80211.c struct cfg80211_nan_func *func; func 12357 net/wireless/nl80211.c func = kzalloc(sizeof(*func), GFP_KERNEL); func 12358 net/wireless/nl80211.c if (!func) func 12361 net/wireless/nl80211.c func->cookie = cfg80211_assign_cookie(rdev); func 12370 net/wireless/nl80211.c func->type = nla_get_u8(tb[NL80211_NAN_FUNC_TYPE]); func 12377 net/wireless/nl80211.c memcpy(func->service_id, nla_data(tb[NL80211_NAN_FUNC_SERVICE_ID]), func 12378 net/wireless/nl80211.c sizeof(func->service_id)); func 12380 net/wireless/nl80211.c func->close_range = func 12384 net/wireless/nl80211.c func->serv_spec_info_len = func 12386 net/wireless/nl80211.c func->serv_spec_info = func 12388 net/wireless/nl80211.c func->serv_spec_info_len, func 12390 net/wireless/nl80211.c if (!func->serv_spec_info) { func 12397 net/wireless/nl80211.c func->ttl = nla_get_u32(tb[NL80211_NAN_FUNC_TTL]); func 12399 net/wireless/nl80211.c switch (func->type) { func 12406 net/wireless/nl80211.c func->publish_type = func 12408 net/wireless/nl80211.c func->publish_bcast = func 12411 net/wireless/nl80211.c if ((!(func->publish_type & NL80211_NAN_SOLICITED_PUBLISH)) && func 12412 net/wireless/nl80211.c func->publish_bcast) { func 12418 net/wireless/nl80211.c func->subscribe_active = func 12429 net/wireless/nl80211.c func->followup_id = func 12431 net/wireless/nl80211.c func->followup_reqid = func 12433 net/wireless/nl80211.c memcpy(func->followup_dest.addr, func 12435 net/wireless/nl80211.c sizeof(func->followup_dest.addr)); func 12436 net/wireless/nl80211.c if (func->ttl) { func 12457 net/wireless/nl80211.c func->srf_include = func 12467 net/wireless/nl80211.c func->srf_bf_len = func 12469 net/wireless/nl80211.c func->srf_bf = func 12471 net/wireless/nl80211.c func->srf_bf_len, GFP_KERNEL); func 12472 net/wireless/nl80211.c if (!func->srf_bf) { func 12477 net/wireless/nl80211.c func->srf_bf_idx = func 12495 net/wireless/nl80211.c func->srf_num_macs = n_entries; func 12496 net/wireless/nl80211.c func->srf_macs = func 12497 net/wireless/nl80211.c kcalloc(n_entries, sizeof(*func->srf_macs), func 12499 net/wireless/nl80211.c if (!func->srf_macs) { func 12505 net/wireless/nl80211.c memcpy(func->srf_macs[i++].addr, nla_data(attr), func 12506 net/wireless/nl80211.c sizeof(*func->srf_macs)); func 12512 net/wireless/nl80211.c func, true); func 12519 net/wireless/nl80211.c func, false); func 12538 net/wireless/nl80211.c err = rdev_add_nan_func(rdev, wdev, func); func 12541 net/wireless/nl80211.c cfg80211_free_nan_func(func); func 12547 net/wireless/nl80211.c if (nla_put_u64_64bit(msg, NL80211_ATTR_COOKIE, func->cookie, func 12556 net/wireless/nl80211.c func->instance_id)) func 2062 net/wireless/trace.h const struct cfg80211_nan_func *func), func 2063 net/wireless/trace.h TP_ARGS(wiphy, wdev, func), func 2073 net/wireless/trace.h __entry->func_type = func->type; func 2074 net/wireless/trace.h __entry->cookie = func->cookie func 1754 net/x25/af_x25.c .func = x25_lapb_receive_frame, func 1811 net/xfrm/xfrm_policy.c int (*func)(struct xfrm_policy *, int, int, void*), func 1839 net/xfrm/xfrm_policy.c error = func(pol, xfrm_policy_id2dir(pol->index), func 2037 net/xfrm/xfrm_state.c int (*func)(struct xfrm_state *, int, void*), func 2060 net/xfrm/xfrm_state.c err = func(state, walk->seq, data); func 210 samples/bpf/xdpsock_user.c static void __exit_with_error(int error, const char *file, const char *func, func 213 samples/bpf/xdpsock_user.c fprintf(stderr, "%s:%s:%i: errno: %d/\"%s\"\n", file, func, func 30 samples/kprobes/kretprobe_example.c module_param_string(func, func_name, NAME_MAX, S_IRUGO); func 31 samples/kprobes/kretprobe_example.c MODULE_PARM_DESC(func, "Function to kretprobe; this module will report the" func 30 samples/timers/hpet_example.c void (*func)(int argc, const char ** argv); func 70 samples/timers/hpet_example.c hpet_command[i].func(argc, argv); func 879 scripts/dtc/checks.c unsigned int dev, func, reg; func 897 scripts/dtc/checks.c func = (reg & 0x700) >> 8; func 904 scripts/dtc/checks.c if (func == 0) { func 910 scripts/dtc/checks.c snprintf(unit_addr, sizeof(unit_addr), "%x,%x", dev, func); func 2 scripts/dtc/include-prefixes/arm/sama5d2-pinfunc.h #define PINMUX_PIN(no, func, ioset) \ func 3 scripts/dtc/include-prefixes/arm/sama5d2-pinfunc.h (((no) & 0xffff) | (((func) & 0xf) << 16) | (((ioset) & 0xff) << 20)) func 301 scripts/kconfig/nconf.c const char *func; func 310 scripts/kconfig/nconf.c .func = "Help", func 316 scripts/kconfig/nconf.c .func = "SymInfo", func 322 scripts/kconfig/nconf.c .func = "Help 2", func 328 scripts/kconfig/nconf.c .func = "ShowAll", func 334 scripts/kconfig/nconf.c .func = "Back", func 340 scripts/kconfig/nconf.c .func = "Save", func 346 scripts/kconfig/nconf.c .func = "Load", func 352 scripts/kconfig/nconf.c .func = "SymSearch", func 358 scripts/kconfig/nconf.c .func = "Exit", func 380 scripts/kconfig/nconf.c function_keys[i].func); func 381 scripts/kconfig/nconf.c offset += strlen(function_keys[i].func) + skip; func 109 scripts/kconfig/preprocess.c char *(*func)(int argc, char *argv[]); func 220 scripts/kconfig/preprocess.c return f->func(argc, argv); func 209 security/integrity/ima/ima.h int mask, enum ima_hooks func, int *pcr, func 211 security/integrity/ima/ima.h int ima_must_measure(struct inode *inode, int mask, enum ima_hooks func); func 233 security/integrity/ima/ima.h enum ima_hooks func, int mask, int flags, int *pcr, func 256 security/integrity/ima/ima.h int ima_appraise_measurement(enum ima_hooks func, func 261 security/integrity/ima/ima.h int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func); func 264 security/integrity/ima/ima.h enum ima_hooks func); func 271 security/integrity/ima/ima.h static inline int ima_appraise_measurement(enum ima_hooks func, func 283 security/integrity/ima/ima.h enum ima_hooks func) func 295 security/integrity/ima/ima.h enum ima_hooks func) func 315 security/integrity/ima/ima.h bool ima_hook_supports_modsig(enum ima_hooks func); func 316 security/integrity/ima/ima.h int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, func 325 security/integrity/ima/ima.h static inline bool ima_hook_supports_modsig(enum ima_hooks func) func 330 security/integrity/ima/ima.h static inline int ima_read_modsig(enum ima_hooks func, const void *buf, func 185 security/integrity/ima/ima_api.c int mask, enum ima_hooks func, int *pcr, func 192 security/integrity/ima/ima_api.c return ima_match_policy(inode, cred, secid, func, mask, flags, pcr, func 48 security/integrity/ima/ima_appraise.c int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func) func 56 security/integrity/ima/ima_appraise.c return ima_match_policy(inode, current_cred(), secid, func, mask, func 83 security/integrity/ima/ima_appraise.c enum ima_hooks func) func 85 security/integrity/ima/ima_appraise.c switch (func) { func 102 security/integrity/ima/ima_appraise.c enum ima_hooks func, func 105 security/integrity/ima/ima_appraise.c switch (func) { func 127 security/integrity/ima/ima_appraise.c enum ima_hooks func) func 129 security/integrity/ima/ima_appraise.c switch (func) { func 209 security/integrity/ima/ima_appraise.c static int xattr_verify(enum ima_hooks func, struct integrity_iint_cache *iint, func 257 security/integrity/ima/ima_appraise.c func == KEXEC_KERNEL_CHECK) func 286 security/integrity/ima/ima_appraise.c static int modsig_verify(enum ima_hooks func, const struct modsig *modsig, func 293 security/integrity/ima/ima_appraise.c func == KEXEC_KERNEL_CHECK) func 314 security/integrity/ima/ima_appraise.c int ima_appraise_measurement(enum ima_hooks func, func 371 security/integrity/ima/ima_appraise.c rc = xattr_verify(func, iint, xattr_value, xattr_len, &status, func 381 security/integrity/ima/ima_appraise.c rc = modsig_verify(func, modsig, &status, &cause); func 415 security/integrity/ima/ima_appraise.c ima_cache_flags(iint, func); func 418 security/integrity/ima/ima_appraise.c ima_set_cache_status(iint, func, status); func 76 security/integrity/ima/ima_main.c static int mmap_violation_check(enum ima_hooks func, struct file *file, func 83 security/integrity/ima/ima_main.c if ((func == MMAP_CHECK) && mapping_writably_mapped(file->f_mapping)) { func 194 security/integrity/ima/ima_main.c enum ima_hooks func) func 217 security/integrity/ima/ima_main.c action = ima_get_action(inode, cred, secid, mask, func, &pcr, func 219 security/integrity/ima/ima_main.c violation_check = ((func == FILE_CHECK || func == MMAP_CHECK) && func 228 security/integrity/ima/ima_main.c func = FILE_CHECK; func 297 security/integrity/ima/ima_main.c rc = mmap_violation_check(func, file, &pathbuf, func 300 security/integrity/ima/ima_main.c rc = ima_get_cache_status(iint, func); func 316 security/integrity/ima/ima_main.c rc = ima_read_modsig(func, buf, size, &modsig); func 339 security/integrity/ima/ima_main.c rc = ima_appraise_measurement(func, iint, file, pathname, func 343 security/integrity/ima/ima_main.c rc = mmap_violation_check(func, file, &pathbuf, func 546 security/integrity/ima/ima_main.c enum ima_hooks func; func 568 security/integrity/ima/ima_main.c func = read_idmap[read_id] ?: FILE_CHECK; func 571 security/integrity/ima/ima_main.c MAY_READ, func); func 43 security/integrity/ima/ima_modsig.c bool ima_hook_supports_modsig(enum ima_hooks func) func 45 security/integrity/ima/ima_modsig.c switch (func) { func 60 security/integrity/ima/ima_modsig.c int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, func 80 security/integrity/ima/ima_modsig.c rc = mod_check_sig(sig, buf_len, func_tokens[func]); func 67 security/integrity/ima/ima_policy.c enum ima_hooks func; func 115 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC, func 117 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC, func 119 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, func 122 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC}, func 123 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC}, func 127 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MMAP_CHECK, .mask = MAY_EXEC, func 129 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = BPRM_CHECK, .mask = MAY_EXEC, func 131 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, func 134 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FILE_CHECK, .mask = MAY_READ, func 137 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = MODULE_CHECK, .flags = IMA_FUNC}, func 138 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = FIRMWARE_CHECK, .flags = IMA_FUNC}, func 139 security/integrity/ima/ima_policy.c {.action = MEASURE, .func = POLICY_CHECK, .flags = IMA_FUNC}, func 158 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = POLICY_CHECK, func 173 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = MODULE_CHECK, func 177 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = FIRMWARE_CHECK, func 181 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = KEXEC_KERNEL_CHECK, func 185 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = POLICY_CHECK, func 191 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = MODULE_CHECK, func 193 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = FIRMWARE_CHECK, func 195 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = KEXEC_KERNEL_CHECK, func 197 security/integrity/ima/ima_policy.c {.action = APPRAISE, .func = POLICY_CHECK, func 371 security/integrity/ima/ima_policy.c enum ima_hooks func, int mask) func 375 security/integrity/ima/ima_policy.c if (func == KEXEC_CMDLINE) { func 376 security/integrity/ima/ima_policy.c if ((rule->flags & IMA_FUNC) && (rule->func == func)) func 381 security/integrity/ima/ima_policy.c (rule->func != func && func != POST_SETATTR)) func 384 security/integrity/ima/ima_policy.c (rule->mask != mask && func != POST_SETATTR)) func 387 security/integrity/ima/ima_policy.c (!(rule->mask & mask) && func != POST_SETATTR)) func 453 security/integrity/ima/ima_policy.c static int get_subaction(struct ima_rule_entry *rule, enum ima_hooks func) func 458 security/integrity/ima/ima_policy.c switch (func) { func 493 security/integrity/ima/ima_policy.c enum ima_hooks func, int mask, int flags, int *pcr, func 508 security/integrity/ima/ima_policy.c if (!ima_match_rules(entry, inode, cred, secid, func, mask)) func 515 security/integrity/ima/ima_policy.c action |= get_subaction(entry, func); func 561 security/integrity/ima/ima_policy.c static int ima_appraise_flag(enum ima_hooks func) func 563 security/integrity/ima/ima_policy.c if (func == MODULE_CHECK) func 565 security/integrity/ima/ima_policy.c else if (func == FIRMWARE_CHECK) func 567 security/integrity/ima/ima_policy.c else if (func == POLICY_CHECK) func 569 security/integrity/ima/ima_policy.c else if (func == KEXEC_KERNEL_CHECK) func 594 security/integrity/ima/ima_policy.c temp_ima_appraise |= ima_appraise_flag(entries[i].func); func 595 security/integrity/ima/ima_policy.c if (entries[i].func == POLICY_CHECK) func 978 security/integrity/ima/ima_policy.c if (entry->func) func 982 security/integrity/ima/ima_policy.c entry->func = FILE_CHECK; func 985 security/integrity/ima/ima_policy.c entry->func = FILE_CHECK; func 987 security/integrity/ima/ima_policy.c entry->func = MODULE_CHECK; func 989 security/integrity/ima/ima_policy.c entry->func = FIRMWARE_CHECK; func 992 security/integrity/ima/ima_policy.c entry->func = MMAP_CHECK; func 994 security/integrity/ima/ima_policy.c entry->func = BPRM_CHECK; func 996 security/integrity/ima/ima_policy.c entry->func = CREDS_CHECK; func 999 security/integrity/ima/ima_policy.c entry->func = KEXEC_KERNEL_CHECK; func 1002 security/integrity/ima/ima_policy.c entry->func = KEXEC_INITRAMFS_CHECK; func 1004 security/integrity/ima/ima_policy.c entry->func = POLICY_CHECK; func 1006 security/integrity/ima/ima_policy.c entry->func = KEXEC_CMDLINE; func 1176 security/integrity/ima/ima_policy.c else if (ima_hook_supports_modsig(entry->func) && func 1231 security/integrity/ima/ima_policy.c temp_ima_appraise |= ima_appraise_flag(entry->func); func 1366 security/integrity/ima/ima_policy.c static void policy_func_show(struct seq_file *m, enum ima_hooks func) func 1368 security/integrity/ima/ima_policy.c if (func > 0 && func < MAX_CHECK) func 1369 security/integrity/ima/ima_policy.c seq_printf(m, "func=%s ", func_tokens[func]); func 1371 security/integrity/ima/ima_policy.c seq_printf(m, "func=%d ", func); func 1401 security/integrity/ima/ima_policy.c policy_func_show(m, entry->func); func 1530 security/integrity/ima/ima_policy.c enum ima_hooks func; func 1535 security/integrity/ima/ima_policy.c func = read_idmap[id] ?: FILE_CHECK; func 1546 security/integrity/ima/ima_policy.c if (entry->func && entry->func != func) func 114 security/keys/internal.h int (*func)(const struct key *key, void *data), func 2189 security/selinux/ss/services.c convert_params.func = convert_context; func 312 security/selinux/ss/sidtab.c rc = convert->func(context, dst_convert, convert->args); func 393 security/selinux/ss/sidtab.c rc = convert->func(&esrc->ptr_leaf->entries[i].context, func 64 security/selinux/ss/sidtab.h int (*func)(struct context *oldc, struct context *newc, void *args); func 445 security/smack/smack.h static inline void smk_ad_init(struct smk_audit_info *a, const char *func, func 451 security/smack/smack.h a->a.smack_audit_data->function = func; func 454 security/smack/smack.h static inline void smk_ad_init_net(struct smk_audit_info *a, const char *func, func 457 security/smack/smack.h smk_ad_init(a, func, type); func 490 security/smack/smack.h static inline void smk_ad_init(struct smk_audit_info *a, const char *func, func 419 security/smack/smack_lsm.c unsigned int mode, const char *func) func 428 security/smack/smack_lsm.c smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); func 147 sound/core/oss/mulaw.c mulaw_f func; func 275 sound/core/oss/mulaw.c data->func(plugin, src_channels, dst_channels, frames); func 309 sound/core/oss/mulaw.c mulaw_f func; func 322 sound/core/oss/mulaw.c func = mulaw_encode; func 326 sound/core/oss/mulaw.c func = mulaw_decode; func 341 sound/core/oss/mulaw.c data->func = func; func 48 sound/core/oss/rate.c rate_f func; func 279 sound/core/oss/rate.c data->func(plugin, src_channels, dst_channels, frames, dst_frames); func 334 sound/core/oss/rate.c data->func = resample_expand; func 337 sound/core/oss/rate.c data->func = resample_shrink; func 1111 sound/core/pcm_lib.c snd_pcm_hw_rule_func_t func, void *private, func 1133 sound/core/pcm_lib.c c->func = func; func 395 sound/core/pcm_native.c changed = r->func(params, r); func 2072 sound/core/seq/seq_clientmgr.c int (*func)(struct snd_seq_client *client, void *arg); func 2157 sound/core/seq/seq_clientmgr.c err = handler->func(client, &buf); func 2353 sound/core/seq/seq_clientmgr.c return handler->func(client, arg); func 67 sound/core/seq/seq_memory.c snd_seq_dump_func_t func, void *private_data) func 84 sound/core/seq/seq_memory.c err = func(private_data, buf, size); func 93 sound/core/seq/seq_memory.c return func(private_data, event->data.ext.ptr, len); func 100 sound/core/seq/seq_memory.c err = func(private_data, &cell->event, size); func 499 sound/core/vmaster.c int (*func)(struct snd_kcontrol *vslave, func 513 sound/core/vmaster.c err = func(slave->kctl, &slave->slave, arg); func 313 sound/drivers/opl4/opl4_synth.c void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) func 323 sound/drivers/opl4/opl4_synth.c func(opl4, voice); func 334 sound/drivers/opl4/opl4_synth.c void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) func 344 sound/drivers/opl4/opl4_synth.c func(opl4, voice); func 354 sound/drivers/opl4/opl4_synth.c void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice)) func 364 sound/drivers/opl4/opl4_synth.c func(opl4, voice); func 2828 sound/pci/ac97/ac97_codec.c int (*func)(struct snd_ac97 *); func 2850 sound/pci/ac97/ac97_codec.c if (applicable_quirks[type].func) func 2851 sound/pci/ac97/ac97_codec.c return applicable_quirks[type].func(ac97); func 1694 sound/pci/asihpi/asihpi.c u16 (*func)(u32, u16 *)) func 1699 sound/pci/asihpi/asihpi.c err = func(h_control, &source); func 1716 sound/pci/asihpi/asihpi.c u16 (*func)(u32, u16)) func 1728 sound/pci/asihpi/asihpi.c if (func(h_control, source) != 0) func 848 sound/pci/hda/hda_auto_parser.c if (!fix->v.func) func 852 sound/pci/hda/hda_auto_parser.c fix->v.func(codec, fix, action); func 1802 sound/pci/hda/hda_codec.c const char *suffix, map_slave_func_t func, void *data) func 1822 sound/pci/hda/hda_codec.c err = func(codec, data, sctl); func 3445 sound/pci/hda/hda_generic.c put_call_t func, int type) func 3461 sound/pci/hda/hda_generic.c err = func(kcontrol, ucontrol); func 244 sound/pci/hda/hda_jack.c hda_jack_callback_fn func) func 253 sound/pci/hda/hda_jack.c if (func) { func 257 sound/pci/hda/hda_jack.c callback->func = func; func 539 sound/pci/hda/hda_jack.c cb->func(codec, cb); func 548 sound/pci/hda/hda_jack.c cb->func(codec, cb); func 22 sound/pci/hda/hda_jack.h hda_jack_callback_fn func; func 298 sound/pci/hda/hda_local.h void (*func)(struct hda_codec *codec, func 273 sound/pci/hda/patch_analog.c .v.func = ad_fixup_inv_jack_detect, func 330 sound/pci/hda/patch_analog.c .v.func = ad1986a_fixup_eapd, func 334 sound/pci/hda/patch_analog.c .v.func = ad1986a_fixup_eapd_mix_in, func 591 sound/pci/hda/patch_analog.c .v.func = ad1981_fixup_amp_override, func 595 sound/pci/hda/patch_analog.c .v.func = ad1981_fixup_hp_eapd, func 1045 sound/pci/hda/patch_analog.c .v.func = ad1884_fixup_amp_override, func 1049 sound/pci/hda/patch_analog.c .v.func = ad1884_fixup_hp_eapd, func 1059 sound/pci/hda/patch_analog.c .v.func = ad1884_fixup_thinkpad, func 539 sound/pci/hda/patch_cirrus.c .v.func = cs420x_fixup_gpio_13, func 543 sound/pci/hda/patch_cirrus.c .v.func = cs420x_fixup_gpio_23, func 735 sound/pci/hda/patch_cirrus.c .v.func = cs4208_fixup_spdif_switch, func 741 sound/pci/hda/patch_cirrus.c .v.func = cs4208_fixup_macmini, func 747 sound/pci/hda/patch_cirrus.c .v.func = cs4208_fixup_gpio0, func 751 sound/pci/hda/patch_cirrus.c .v.func = cs4208_fixup_mac, func 865 sound/pci/hda/patch_cirrus.c .v.func = cs421x_fixup_sense_b, func 738 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_stereo_dmic, func 742 sound/pci/hda/patch_conexant.c .v.func = cxt5066_increase_mic_boost, func 755 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_headphone_mic, func 768 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_stereo_dmic, func 774 sound/pci/hda/patch_conexant.c .v.func = hda_fixup_thinkpad_acpi, func 778 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_olpc_xo, func 782 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_cap_mix_amp, func 804 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_cap_mix_amp_5047, func 808 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_mute_led_eapd, func 830 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_hp_gate_mic_jack, func 834 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_mute_led_gpio, func 838 sound/pci/hda/patch_conexant.c .v.func = cxt_fixup_headset_mic, func 1203 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio1, func 1207 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio2, func 1269 sound/pci/hda/patch_realtek.c .v.func = alc880_fixup_vol_knob, func 1740 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio1, func 1744 sound/pci/hda/patch_realtek.c .v.func = alc260_fixup_gpio1_toggle, func 1760 sound/pci/hda/patch_realtek.c .v.func = alc260_fixup_gpio1_toggle, func 1766 sound/pci/hda/patch_realtek.c .v.func = alc260_fixup_kn1, func 1770 sound/pci/hda/patch_realtek.c .v.func = alc260_fixup_fsc_s7020, func 1774 sound/pci/hda/patch_realtek.c .v.func = alc260_fixup_fsc_s7020_jwse, func 2161 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_sku_ignore, func 2230 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio1, func 2234 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio2, func 2238 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio3, func 2242 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio1, func 2248 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_coef, func 2307 sound/pci/hda/patch_realtek.c .v.func = alc885_fixup_macpro_gpio, func 2311 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_dac_route, func 2315 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_mbp_vref, func 2321 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_imac91_vref, func 2327 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_mba11_vref, func 2333 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_mba21_vref, func 2339 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_mba11_vref, func 2345 sound/pci/hda/patch_realtek.c .v.func = alc889_fixup_mbp_vref, func 2351 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 2355 sound/pci/hda/patch_realtek.c .v.func = alc882_fixup_no_primary_hp, func 2368 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_bass_chmap, func 2372 sound/pci/hda/patch_realtek.c .v.func = alc1220_fixup_gb_dual_codecs, func 2376 sound/pci/hda/patch_realtek.c .v.func = alc1220_fixup_clevo_p950, func 2380 sound/pci/hda/patch_realtek.c .v.func = alc1220_fixup_clevo_pb51ed, func 2676 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 2680 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_no_depop_delay, func 2820 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 6126 sound/pci/hda/patch_realtek.c .v.func = alc275_fixup_gpio4_off, func 6141 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_sku_ignore, func 6159 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hweq, func 6165 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6171 sound/pci/hda/patch_realtek.c .v.func = alc271_fixup_dmic, func 6175 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_pcm_44k, func 6181 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_stereo_dmic, func 6185 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_headset_mic, func 6189 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_quanta_mute, func 6217 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_pincfg_no_hp_to_lineout, func 6221 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_pincfg_U7x7_headset_mic, func 6265 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_mute_led, func 6269 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_mute_led_mic1, func 6273 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_mute_led_mic2, func 6277 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_mute_led_mic3, func 6283 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_gpio_led, func 6287 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_gpio_mic1_led, func 6291 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_hp_line1_mic1_led, func 6295 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 6299 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_no_shutup, func 6313 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_limit_int_mic_boost, func 6319 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_pincfg_no_hp_to_lineout, func 6365 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode, func 6371 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_no_hp_mic, func 6411 sound/pci/hda/patch_realtek.c .v.func = alc298_fixup_huawei_mbx_stereo, func 6417 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_x101_headset_mic, func 6451 sound/pci/hda/patch_realtek.c .v.func = alc271_hp_gate_mic_jack, func 6457 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_limit_int_mic_boost, func 6476 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_limit_int_mic_boost, func 6482 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_limit_int_mic_boost, func 6499 sound/pci/hda/patch_realtek.c .v.func = alc269_fixup_limit_int_mic_boost, func 6514 sound/pci/hda/patch_realtek.c .v.func = alc283_fixup_chromebook, func 6518 sound/pci/hda/patch_realtek.c .v.func = alc283_fixup_sense_combo_jack, func 6524 sound/pci/hda/patch_realtek.c .v.func = alc282_fixup_asus_tx300, func 6556 sound/pci/hda/patch_realtek.c .v.func = alc290_fixup_mono_speakers, func 6560 sound/pci/hda/patch_realtek.c .v.func = alc290_fixup_mono_speakers, func 6566 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_thinkpad_acpi, func 6572 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 6615 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_alc255, func 6621 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_alc255_no_hp_mic, func 6635 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_tpt440_dock, func 6641 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6654 sound/pci/hda/patch_realtek.c .v.func = snd_hda_gen_fixup_micmute_led, func 6674 sound/pci/hda/patch_realtek.c .v.func = alc280_fixup_hp_gpio4, func 6678 sound/pci/hda/patch_realtek.c .v.func = alc286_fixup_hp_gpio_led, func 6682 sound/pci/hda/patch_realtek.c .v.func = alc280_fixup_hp_gpio2_mic_hotkey, func 6707 sound/pci/hda/patch_realtek.c .v.func = alc280_fixup_hp_9480m, func 6711 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_dell_alc288, func 6727 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6733 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_dell_xps13, func 6739 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6745 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6751 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_dell_xps13, func 6757 sound/pci/hda/patch_realtek.c .v.func = snd_hda_gen_fixup_micmute_led, func 6803 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6809 sound/pci/hda/patch_realtek.c .v.func = alc233_fixup_lenovo_line2_mic_hotkey, func 6813 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6819 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_mic_vref, func 6836 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 6849 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_tpt440_dock, func 6855 sound/pci/hda/patch_realtek.c .v.func = alc298_fixup_speaker_volume, func 6861 sound/pci/hda/patch_realtek.c .v.func = alc295_fixup_disable_dac3, func 6865 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_speaker2_to_dac1, func 6880 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_auto_mute_via_amp, func 6896 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode, func 6911 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio4, func 6935 sound/pci/hda/patch_realtek.c .v.func = alc233_alc662_fixup_lenovo_dual_codecs, func 6973 sound/pci/hda/patch_realtek.c .v.func = alc225_fixup_s3_pop_noise, func 6994 sound/pci/hda/patch_realtek.c .v.func = alc274_fixup_bind_dacs, func 7009 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_tpt470_dock, func 7015 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_tpt470_dacs, func 7039 sound/pci/hda/patch_realtek.c .v.func = alc295_fixup_hp_top_speakers, func 7054 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_invalidate_dacs, func 7060 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_auto_mute_via_amp, func 7103 sound/pci/hda/patch_realtek.c .v.func = alc295_fixup_chromebook, func 7109 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_jack, func 7153 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_auto_mute_via_amp, func 7159 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_mic_vref, func 7219 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_speaker2_to_dac1, func 7225 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_speaker2_to_dac1, func 7232 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_gpio4, func 7238 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_jack, func 7266 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_hp_gpio_led, func 7270 sound/pci/hda/patch_realtek.c .v.func = alc285_fixup_hp_mute_led, func 7274 sound/pci/hda/patch_realtek.c .v.func = alc236_fixup_hp_mute_led, func 8469 sound/pci/hda/patch_realtek.c .v.func = alc861_fixup_asus_amp_vref_0f, func 8473 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_no_jack_detect, func 8477 sound/pci/hda/patch_realtek.c .v.func = alc861_fixup_asus_amp_vref_0f, func 8592 sound/pci/hda/patch_realtek.c .v.func = alc660vd_fixup_asus_gpio1, func 8596 sound/pci/hda/patch_realtek.c .v.func = alc861vd_fixup_dallas, func 8912 sound/pci/hda/patch_realtek.c .v.func = alc662_fixup_led_gpio1, func 8925 sound/pci/hda/patch_realtek.c .v.func = alc272_fixup_mario, func 8936 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_sku_ignore, func 9053 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_no_jack_detect, func 9064 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_inv_dmic, func 9068 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_dell_xps13, func 9074 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_disable_aamix, func 9080 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_auto_mute_via_amp, func 9096 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_alc662, func 9110 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_alc668, func 9114 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_bass_chmap, func 9138 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_bass_chmap, func 9142 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_auto_mute_via_amp, func 9148 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode_alc668, func 9181 sound/pci/hda/patch_realtek.c .v.func = alc_fixup_headset_mode, func 9210 sound/pci/hda/patch_realtek.c .v.func = alc662_fixup_usi_headset_mic, func 9224 sound/pci/hda/patch_realtek.c .v.func = alc233_alc662_fixup_lenovo_dual_codecs, func 9228 sound/pci/hda/patch_realtek.c .v.func = alc662_fixup_aspire_ethos_hp, func 9243 sound/pci/hda/patch_realtek.c .v.func = alc671_fixup_hp_headset_mic2, func 1428 sound/pci/hda/patch_sigmatel.c .v.func = stac9200_fixup_panasonic, func 1876 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_ref, func 1880 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_dell_m6_amic, func 1884 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_dell_m6_dmic, func 1888 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_dell_m6_both, func 1892 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_dell_eq, func 1896 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_alienware_m17x, func 1900 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_disable_automute, func 1908 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd73xx_fixup_no_jd, func 2649 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp, func 2659 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp_zephyr, func 2665 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp_led, func 2671 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp_inv_led, func 2677 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp_mic_led, func 2683 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_hp_led_gpio10, func 2689 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_headset_jack, func 2713 sound/pci/hda/patch_sigmatel.c .v.func = hp_envy_ts_fixup_dac_bind, func 2719 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd83xxx_fixup_gpio10_eapd, func 3167 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_ref, func 3183 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_hp_m4, func 3189 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_hp_dv4, func 3195 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_hp_dv5, func 3201 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_hp_hdx, func 3207 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd71bxx_fixup_hp, func 3545 sound/pci/hda/patch_sigmatel.c .v.func = stac922x_fixup_intel_mac_auto, func 3579 sound/pci/hda/patch_sigmatel.c .v.func = stac922x_fixup_intel_mac_gpio, func 3862 sound/pci/hda/patch_sigmatel.c .v.func = stac927x_fixup_ref_no_jd, func 3868 sound/pci/hda/patch_sigmatel.c .v.func = stac927x_fixup_ref, func 3934 sound/pci/hda/patch_sigmatel.c .v.func = stac927x_fixup_dell_dmic, func 3938 sound/pci/hda/patch_sigmatel.c .v.func = stac927x_fixup_volknob, func 4136 sound/pci/hda/patch_sigmatel.c .v.func = stac9205_fixup_ref, func 4144 sound/pci/hda/patch_sigmatel.c .v.func = stac9205_fixup_dell_m43, func 4152 sound/pci/hda/patch_sigmatel.c .v.func = stac9205_fixup_eapd, func 4230 sound/pci/hda/patch_sigmatel.c .v.func = stac92hd95_fixup_hp_led, func 1017 sound/pci/hda/patch_via.c .v.func = via_fixup_intmic_boost, func 48 sound/soc/codecs/cs42l51.c enum master_slave_mode func; func 296 sound/soc/codecs/cs42l51.c cs42l51->func = MODE_MASTER; func 299 sound/soc/codecs/cs42l51.c cs42l51->func = MODE_SLAVE_AUTO; func 377 sound/soc/codecs/cs42l51.c switch (cs42l51->func) { func 414 sound/soc/codecs/cs42l51.c switch (cs42l51->func) { func 350 sound/soc/intel/skylake/skl-messages.c if (dwork->work.func) { func 628 sound/soc/meson/axg-card.c int (*func)(struct snd_soc_card *c, func 636 sound/soc/meson/axg-card.c return func(card, propname); func 277 sound/soc/sh/fsi.c #define fsi_stream_handler_call(io, func, args...) \ func 279 sound/soc/sh/fsi.c !((io)->handler->func) ? 0 : \ func 280 sound/soc/sh/fsi.c (io)->handler->func(args)) func 18 sound/usb/validate.c bool (*func)(const void *p, const struct usb_desc_validator *v); func 234 sound/usb/validate.c #define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) } func 313 sound/usb/validate.c if (v->func) func 314 sound/usb/validate.c return v->func(hdr, v); func 98 tools/bpf/bpf_dbg.c int (*func)(char *args); func 1246 tools/bpf/bpf_dbg.c { .name = "load", .func = cmd_load }, func 1247 tools/bpf/bpf_dbg.c { .name = "select", .func = cmd_select }, func 1248 tools/bpf/bpf_dbg.c { .name = "step", .func = cmd_step }, func 1249 tools/bpf/bpf_dbg.c { .name = "run", .func = cmd_run }, func 1250 tools/bpf/bpf_dbg.c { .name = "breakpoint", .func = cmd_breakpoint }, func 1251 tools/bpf/bpf_dbg.c { .name = "disassemble", .func = cmd_disassemble }, func 1252 tools/bpf/bpf_dbg.c { .name = "dump", .func = cmd_dump }, func 1253 tools/bpf/bpf_dbg.c { .name = "quit", .func = cmd_quit }, func 1269 tools/bpf/bpf_dbg.c ret = cmds[i].func(cont); func 419 tools/bpf/bpftool/btf_dumper.c const struct btf_type *func, int pos, int size); func 512 tools/bpf/bpftool/btf_dumper.c const struct btf_type *func, int pos, int size) func 517 tools/bpf/bpftool/btf_dumper.c if (func) func 518 tools/bpf/bpftool/btf_dumper.c BTF_PRINT_ARG("%s(", btf__name_by_offset(btf, func->name_off)); func 48 tools/bpf/bpftool/cfg.c #define func_prev(func) list_prev_entry(func, l) func 49 tools/bpf/bpftool/cfg.c #define func_next(func) list_next_entry(func, l) func 52 tools/bpf/bpftool/cfg.c #define entry_bb(func) func_first_bb(func) func 53 tools/bpf/bpftool/cfg.c #define exit_bb(func) func_last_bb(func) func 58 tools/bpf/bpftool/cfg.c #define func_first_bb(func) \ func 59 tools/bpf/bpftool/cfg.c list_first_entry(&func->bbs, struct bb_node, l) func 60 tools/bpf/bpftool/cfg.c #define func_last_bb(func) \ func 61 tools/bpf/bpftool/cfg.c list_last_entry(&func->bbs, struct bb_node, l) func 65 tools/bpf/bpftool/cfg.c struct func_node *new_func, *func; func 67 tools/bpf/bpftool/cfg.c list_for_each_entry(func, &cfg->funcs, l) { func 68 tools/bpf/bpftool/cfg.c if (func->start == insn) func 69 tools/bpf/bpftool/cfg.c return func; func 70 tools/bpf/bpftool/cfg.c else if (func->start > insn) func 74 tools/bpf/bpftool/cfg.c func = func_prev(func); func 82 tools/bpf/bpftool/cfg.c list_add(&new_func->l, &func->l); func 88 tools/bpf/bpftool/cfg.c static struct bb_node *func_append_bb(struct func_node *func, func 93 tools/bpf/bpftool/cfg.c list_for_each_entry(bb, &func->bbs, l) { func 134 tools/bpf/bpftool/cfg.c struct func_node *func, *last_func; func 136 tools/bpf/bpftool/cfg.c func = cfg_append_func(cfg, cur); func 137 tools/bpf/bpftool/cfg.c if (!func) func 145 tools/bpf/bpftool/cfg.c func = cfg_append_func(cfg, cur + cur->off + 1); func 146 tools/bpf/bpftool/cfg.c if (!func) func 152 tools/bpf/bpftool/cfg.c func = cfg_first_func(cfg); func 153 tools/bpf/bpftool/cfg.c list_for_each_entry_from(func, &last_func->l, l) { func 154 tools/bpf/bpftool/cfg.c func->end = func_next(func)->start - 1; func 165 tools/bpf/bpftool/cfg.c static bool func_partition_bb_head(struct func_node *func) func 170 tools/bpf/bpftool/cfg.c cur = func->start; func 171 tools/bpf/bpftool/cfg.c end = func->end; func 172 tools/bpf/bpftool/cfg.c INIT_LIST_HEAD(&func->bbs); func 173 tools/bpf/bpftool/cfg.c bb = func_append_bb(func, cur); func 184 tools/bpf/bpftool/cfg.c bb = func_append_bb(func, cur + cur->off + 1); func 189 tools/bpf/bpftool/cfg.c bb = func_append_bb(func, cur + 1); func 199 tools/bpf/bpftool/cfg.c static void func_partition_bb_tail(struct func_node *func) func 204 tools/bpf/bpftool/cfg.c last = func_last_bb(func); func 205 tools/bpf/bpftool/cfg.c last->tail = func->end; func 206 tools/bpf/bpftool/cfg.c bb = func_first_bb(func); func 213 tools/bpf/bpftool/cfg.c func->bb_num = bb_idx; func 216 tools/bpf/bpftool/cfg.c static bool func_add_special_bb(struct func_node *func) func 220 tools/bpf/bpftool/cfg.c bb = func_insert_dummy_bb(&func->bbs); func 225 tools/bpf/bpftool/cfg.c bb = func_insert_dummy_bb(&func_last_bb(func)->l); func 233 tools/bpf/bpftool/cfg.c static bool func_partition_bb(struct func_node *func) func 235 tools/bpf/bpftool/cfg.c if (func_partition_bb_head(func)) func 238 tools/bpf/bpftool/cfg.c func_partition_bb_tail(func); func 243 tools/bpf/bpftool/cfg.c static struct bb_node *func_search_bb_with_head(struct func_node *func, func 248 tools/bpf/bpftool/cfg.c list_for_each_entry(bb, &func->bbs, l) { func 277 tools/bpf/bpftool/cfg.c static bool func_add_bb_edges(struct func_node *func) func 283 tools/bpf/bpftool/cfg.c bb = entry_bb(func); func 289 tools/bpf/bpftool/cfg.c bb = exit_bb(func); func 295 tools/bpf/bpftool/cfg.c bb = entry_bb(func); func 297 tools/bpf/bpftool/cfg.c list_for_each_entry_from(bb, &exit_bb(func)->l, l) { func 311 tools/bpf/bpftool/cfg.c e->dst = func_search_bb_with_head(func, func 326 tools/bpf/bpftool/cfg.c e->dst = func_search_bb_with_head(func, insn + insn->off + 1); func 336 tools/bpf/bpftool/cfg.c struct func_node *func; func 343 tools/bpf/bpftool/cfg.c list_for_each_entry(func, &cfg->funcs, l) { func 344 tools/bpf/bpftool/cfg.c if (func_partition_bb(func) || func_add_special_bb(func)) func 347 tools/bpf/bpftool/cfg.c if (func_add_bb_edges(func)) func 356 tools/bpf/bpftool/cfg.c struct func_node *func, *func2; func 358 tools/bpf/bpftool/cfg.c list_for_each_entry_safe(func, func2, &cfg->funcs, l) { func 361 tools/bpf/bpftool/cfg.c list_for_each_entry_safe(bb, bb2, &func->bbs, l) { func 378 tools/bpf/bpftool/cfg.c list_del(&func->l); func 379 tools/bpf/bpftool/cfg.c free(func); func 383 tools/bpf/bpftool/cfg.c static void draw_bb_node(struct func_node *func, struct bb_node *bb) func 393 tools/bpf/bpftool/cfg.c func->idx, bb->idx, shape); func 405 tools/bpf/bpftool/cfg.c start_idx = bb->head - func->start; func 414 tools/bpf/bpftool/cfg.c static void draw_bb_succ_edges(struct func_node *func, struct bb_node *bb) func 418 tools/bpf/bpftool/cfg.c int func_idx = func->idx; func 433 tools/bpf/bpftool/cfg.c static void func_output_bb_def(struct func_node *func) func 437 tools/bpf/bpftool/cfg.c list_for_each_entry(bb, &func->bbs, l) { func 438 tools/bpf/bpftool/cfg.c draw_bb_node(func, bb); func 442 tools/bpf/bpftool/cfg.c static void func_output_edges(struct func_node *func) func 444 tools/bpf/bpftool/cfg.c int func_idx = func->idx; func 447 tools/bpf/bpftool/cfg.c list_for_each_entry(bb, &func->bbs, l) { func 448 tools/bpf/bpftool/cfg.c draw_bb_succ_edges(func, bb); func 460 tools/bpf/bpftool/cfg.c struct func_node *func; func 463 tools/bpf/bpftool/cfg.c list_for_each_entry(func, &cfg->funcs, l) { func 465 tools/bpf/bpftool/cfg.c func->idx, func->idx); func 466 tools/bpf/bpftool/cfg.c func_output_bb_def(func); func 467 tools/bpf/bpftool/cfg.c func_output_edges(func); func 98 tools/bpf/bpftool/main.c if (argc < 1 && cmds[0].func) func 99 tools/bpf/bpftool/main.c return cmds[0].func(argc, argv); func 101 tools/bpf/bpftool/main.c for (i = 0; cmds[i].func; i++) func 103 tools/bpf/bpftool/main.c return cmds[i].func(argc - 1, argv + 1); func 134 tools/bpf/bpftool/main.h int (*func)(int argc, char **argv); func 182 tools/include/uapi/drm/drm.h } func; func 194 tools/include/uapi/drm/i915_drm.h } func; func 7 tools/lib/api/debug-internal.h #define __pr(func, fmt, ...) \ func 9 tools/lib/api/debug-internal.h if ((func)) \ func 10 tools/lib/api/debug-internal.h (func)("libapi: " fmt, ##__VA_ARGS__); \ func 79 tools/lib/traceevent/event-parse.c tep_event_handler_func func; func 92 tools/lib/traceevent/event-parse.c tep_func_handler func; func 101 tools/lib/traceevent/event-parse.c static void free_func_handle(struct tep_function_handler *func); func 398 tools/lib/traceevent/event-parse.c char *func; func 405 tools/lib/traceevent/event-parse.c char *func; func 458 tools/lib/traceevent/event-parse.c func_map[i].func = funclist->func; func 472 tools/lib/traceevent/event-parse.c func_map[tep->func_count].func = NULL; func 485 tools/lib/traceevent/event-parse.c struct func_map *func; func 493 tools/lib/traceevent/event-parse.c func = bsearch(&key, tep->func_map, tep->func_count, func 496 tools/lib/traceevent/event-parse.c return func; func 500 tools/lib/traceevent/event-parse.c tep_func_resolver_t *func; func 515 tools/lib/traceevent/event-parse.c tep_func_resolver_t *func, void *priv) func 522 tools/lib/traceevent/event-parse.c resolver->func = func; func 555 tools/lib/traceevent/event-parse.c map->func = tep->func_resolver->func(tep->func_resolver->priv, func 557 tools/lib/traceevent/event-parse.c if (map->func == NULL) func 580 tools/lib/traceevent/event-parse.c return map->func; func 614 tools/lib/traceevent/event-parse.c int tep_register_function(struct tep_handle *tep, char *func, func 623 tools/lib/traceevent/event-parse.c item->func = strdup(func); func 624 tools/lib/traceevent/event-parse.c if (!item->func) func 641 tools/lib/traceevent/event-parse.c free(item->func); func 642 tools/lib/traceevent/event-parse.c item->func = NULL; func 665 tools/lib/traceevent/event-parse.c tep->func_map[i].func); func 922 tools/lib/traceevent/event-parse.c while (arg->func.args) { func 923 tools/lib/traceevent/event-parse.c farg = arg->func.args; func 924 tools/lib/traceevent/event-parse.c arg->func.args = farg->next; func 2978 tools/lib/traceevent/event-parse.c struct tep_function_handler *func; func 2983 tools/lib/traceevent/event-parse.c for (func = tep->func_handlers; func; func = func->next) { func 2984 tools/lib/traceevent/event-parse.c if (strcmp(func->name, func_name) == 0) func 2988 tools/lib/traceevent/event-parse.c return func; func 2993 tools/lib/traceevent/event-parse.c struct tep_function_handler *func; func 2997 tools/lib/traceevent/event-parse.c while ((func = *next)) { func 2998 tools/lib/traceevent/event-parse.c if (strcmp(func->name, func_name) == 0) { func 2999 tools/lib/traceevent/event-parse.c *next = func->next; func 3000 tools/lib/traceevent/event-parse.c free_func_handle(func); func 3003 tools/lib/traceevent/event-parse.c next = &func->next; func 3008 tools/lib/traceevent/event-parse.c process_func_handler(struct tep_event *event, struct tep_function_handler *func, func 3018 tools/lib/traceevent/event-parse.c arg->func.func = func; func 3022 tools/lib/traceevent/event-parse.c next_arg = &(arg->func.args); func 3023 tools/lib/traceevent/event-parse.c for (i = 0; i < func->nr_args; i++) { func 3032 tools/lib/traceevent/event-parse.c if (i < (func->nr_args - 1)) { func 3036 tools/lib/traceevent/event-parse.c func->name, func->nr_args, func 3044 tools/lib/traceevent/event-parse.c func->name, func->nr_args, event->name); func 3069 tools/lib/traceevent/event-parse.c struct tep_function_handler *func; func 3110 tools/lib/traceevent/event-parse.c func = find_func_handler(event->tep, token); func 3111 tools/lib/traceevent/event-parse.c if (func) { func 3113 tools/lib/traceevent/event-parse.c return process_func_handler(event, func, arg, tok); func 4196 tools/lib/traceevent/event-parse.c struct tep_function_handler *func_handle = arg->func.func; func 4209 tools/lib/traceevent/event-parse.c ret = (*func_handle->func)(s, NULL); func 4213 tools/lib/traceevent/event-parse.c farg = arg->func.args; func 4262 tools/lib/traceevent/event-parse.c ret = (*func_handle->func)(s, args); func 4961 tools/lib/traceevent/event-parse.c struct func_map *func; func 5108 tools/lib/traceevent/event-parse.c func = find_func(tep, val); func 5109 tools/lib/traceevent/event-parse.c if (func) { func 5110 tools/lib/traceevent/event-parse.c trace_seq_puts(s, func->func); func 5114 tools/lib/traceevent/event-parse.c val - func->addr); func 6196 tools/lib/traceevent/event-parse.c event->handler = handle->func; func 6593 tools/lib/traceevent/event-parse.c struct func_map *func; func 6602 tools/lib/traceevent/event-parse.c func = find_func(tep, val); func 6604 tools/lib/traceevent/event-parse.c if (func) func 6605 tools/lib/traceevent/event-parse.c snprintf(tmp, 128, "%s/0x%llx", func->func, func->addr - val); func 6617 tools/lib/traceevent/event-parse.c static void free_func_handle(struct tep_function_handler *func) func 6621 tools/lib/traceevent/event-parse.c free(func->name); func 6623 tools/lib/traceevent/event-parse.c while (func->params) { func 6624 tools/lib/traceevent/event-parse.c params = func->params; func 6625 tools/lib/traceevent/event-parse.c func->params = params->next; func 6629 tools/lib/traceevent/event-parse.c free(func); func 6648 tools/lib/traceevent/event-parse.c tep_func_handler func, func 6678 tools/lib/traceevent/event-parse.c func_handle->func = func; func 6735 tools/lib/traceevent/event-parse.c tep_func_handler func, char *name) func 6740 tools/lib/traceevent/event-parse.c if (func_handle && func_handle->func == func) { func 6795 tools/lib/traceevent/event-parse.c tep_event_handler_func func, void *context) func 6807 tools/lib/traceevent/event-parse.c event->handler = func; func 6834 tools/lib/traceevent/event-parse.c handle->func = func; func 6844 tools/lib/traceevent/event-parse.c tep_event_handler_func func, void *context) func 6855 tools/lib/traceevent/event-parse.c if (func != handler->func || context != handler->context) func 6879 tools/lib/traceevent/event-parse.c tep_event_handler_func func, void *context) func 6889 tools/lib/traceevent/event-parse.c if (event->handler == func && event->context == context) { func 6902 tools/lib/traceevent/event-parse.c func, context)) func 7020 tools/lib/traceevent/event-parse.c free(tep->func_map[i].func); func 7028 tools/lib/traceevent/event-parse.c free(funclist->func); func 233 tools/lib/traceevent/event-parse.h struct tep_function_handler *func; func 267 tools/lib/traceevent/event-parse.h struct tep_print_arg_func func; func 434 tools/lib/traceevent/event-parse.h tep_func_resolver_t *func, void *priv); func 498 tools/lib/traceevent/event-parse.h tep_event_handler_func func, void *context); func 501 tools/lib/traceevent/event-parse.h tep_event_handler_func func, void *context); func 503 tools/lib/traceevent/event-parse.h tep_func_handler func, func 507 tools/lib/traceevent/event-parse.h tep_func_handler func, char *name); func 276 tools/lib/traceevent/event-plugin.c tep_plugin_load_func func; func 300 tools/lib/traceevent/event-plugin.c func = dlsym(handle, TEP_PLUGIN_LOADER_NAME); func 301 tools/lib/traceevent/event-plugin.c if (!func) { func 319 tools/lib/traceevent/event-plugin.c func(tep); func 433 tools/lib/traceevent/event-plugin.c tep_plugin_unload_func func; func 439 tools/lib/traceevent/event-plugin.c func = dlsym(list->handle, TEP_PLUGIN_UNLOADER_NAME); func 440 tools/lib/traceevent/event-plugin.c if (func) func 441 tools/lib/traceevent/event-plugin.c func(tep); func 132 tools/lib/traceevent/plugins/plugin_function.c const char *func; func 139 tools/lib/traceevent/plugins/plugin_function.c func = tep_find_function(tep, function); func 147 tools/lib/traceevent/plugins/plugin_function.c index = add_and_get_index(parent, func, record->cpu); func 151 tools/lib/traceevent/plugins/plugin_function.c if (func) func 152 tools/lib/traceevent/plugins/plugin_function.c trace_seq_printf(s, "%s", func); func 33 tools/lib/traceevent/plugins/plugin_kmem.c const char *func; func 42 tools/lib/traceevent/plugins/plugin_kmem.c func = tep_find_function(event->tep, val); func 43 tools/lib/traceevent/plugins/plugin_kmem.c if (!func) func 48 tools/lib/traceevent/plugins/plugin_kmem.c trace_seq_printf(s, "(%s+0x%x) ", func, (int)(val - addr)); func 59 tools/objtool/check.c struct symbol *func = insn->func; func 61 tools/objtool/check.c if (!func) func 64 tools/objtool/check.c if (&next->list != &file->insn_list && next->func == func) func 68 tools/objtool/check.c if (func == func->cfunc) func 72 tools/objtool/check.c return find_insn(file, func->cfunc->sec, func->cfunc->offset); func 75 tools/objtool/check.c #define func_for_each_insn_all(file, func, insn) \ func 76 tools/objtool/check.c for (insn = find_insn(file, func->sec, func->offset); \ func 80 tools/objtool/check.c #define func_for_each_insn(file, func, insn) \ func 81 tools/objtool/check.c for (insn = find_insn(file, func->sec, func->offset); \ func 83 tools/objtool/check.c insn->sec == func->sec && \ func 84 tools/objtool/check.c insn->offset < func->offset + func->len; \ func 87 tools/objtool/check.c #define func_for_each_insn_continue_reverse(file, func, insn) \ func 90 tools/objtool/check.c insn->sec == func->sec && insn->offset >= func->offset; \ func 123 tools/objtool/check.c static bool __dead_end_function(struct objtool_file *file, struct symbol *func, func 149 tools/objtool/check.c if (!func) func 152 tools/objtool/check.c if (func->bind == STB_WEAK) func 155 tools/objtool/check.c if (func->bind == STB_GLOBAL) func 157 tools/objtool/check.c if (!strcmp(func->name, global_noreturns[i])) func 160 tools/objtool/check.c if (!func->len) func 163 tools/objtool/check.c insn = find_insn(file, func->sec, func->offset); func 164 tools/objtool/check.c if (!insn->func) func 167 tools/objtool/check.c func_for_each_insn_all(file, func, insn) { func 182 tools/objtool/check.c func_for_each_insn_all(file, func, insn) { func 200 tools/objtool/check.c return __dead_end_function(file, dest->func, recursion+1); func 207 tools/objtool/check.c static bool dead_end_function(struct objtool_file *file, struct symbol *func) func 209 tools/objtool/check.c return __dead_end_function(file, func, 0); func 233 tools/objtool/check.c struct symbol *func; func 273 tools/objtool/check.c list_for_each_entry(func, &sec->symbol_list, list) { func 274 tools/objtool/check.c if (func->type != STT_FUNC || func->alias != func) func 277 tools/objtool/check.c if (!find_insn(file, sec, func->offset)) { func 279 tools/objtool/check.c func->name); func 283 tools/objtool/check.c func_for_each_insn(file, func, insn) func 284 tools/objtool/check.c insn->func = func; func 403 tools/objtool/check.c struct symbol *func; func 413 tools/objtool/check.c func = rela->sym; func 417 tools/objtool/check.c func = find_symbol_by_offset(rela->sym->sec, rela->addend); func 418 tools/objtool/check.c if (!func || func->type != STT_FUNC) func 427 tools/objtool/check.c func_for_each_insn_all(file, func, insn) func 495 tools/objtool/check.c struct symbol *func; func 502 tools/objtool/check.c func = find_symbol_by_name(file->elf, *name); func 503 tools/objtool/check.c if (!func) func 506 tools/objtool/check.c func->uaccess_safe = true; func 611 tools/objtool/check.c if (insn->func && insn->jump_dest->func && func 612 tools/objtool/check.c insn->func != insn->jump_dest->func) { func 629 tools/objtool/check.c if (!strstr(insn->func->name, ".cold.") && func 630 tools/objtool/check.c strstr(insn->jump_dest->func->name, ".cold.")) { func 631 tools/objtool/check.c insn->func->cfunc = insn->jump_dest->func; func 632 tools/objtool/check.c insn->jump_dest->func->pfunc = insn->func; func 634 tools/objtool/check.c } else if (insn->jump_dest->func->pfunc != insn->func->pfunc && func 635 tools/objtool/check.c insn->jump_dest->offset == insn->jump_dest->func->offset) { func 638 tools/objtool/check.c insn->call_dest = insn->jump_dest->func; func 741 tools/objtool/check.c fake_jump->func = orig_insn->func; func 764 tools/objtool/check.c insn->func = orig_insn->func; func 905 tools/objtool/check.c struct symbol *pfunc = insn->func->pfunc; func 932 tools/objtool/check.c if (!dest_insn->func || dest_insn->func->pfunc != pfunc) func 999 tools/objtool/check.c struct symbol *func, func 1013 tools/objtool/check.c &insn->list != &file->insn_list && insn->func && insn->func->pfunc == func; func 1076 tools/objtool/check.c struct symbol *func) func 1081 tools/objtool/check.c func_for_each_insn_all(file, func, insn) { func 1102 tools/objtool/check.c rela = find_jump_table(file, func, insn); func 1111 tools/objtool/check.c struct symbol *func) func 1116 tools/objtool/check.c func_for_each_insn_all(file, func, insn) { func 1136 tools/objtool/check.c struct symbol *func; func 1143 tools/objtool/check.c list_for_each_entry(func, &sec->symbol_list, list) { func 1144 tools/objtool/check.c if (func->type != STT_FUNC) func 1147 tools/objtool/check.c mark_func_jump_tables(file, func); func 1148 tools/objtool/check.c ret = add_func_jump_tables(file, func); func 1501 tools/objtool/check.c if (insn->func) { func 1771 tools/objtool/check.c if (!no_fp && insn->func && op->src.reg == CFI_BP && func 1890 tools/objtool/check.c static inline bool func_uaccess_safe(struct symbol *func) func 1892 tools/objtool/check.c if (func) func 1893 tools/objtool/check.c return func->uaccess_safe; func 1940 tools/objtool/check.c static int validate_branch(struct objtool_file *file, struct symbol *func, func 1961 tools/objtool/check.c if (file->c_file && func && insn->func && func != insn->func->pfunc) { func 1963 tools/objtool/check.c func->name, insn->func->name); func 1967 tools/objtool/check.c if (func && insn->ignore) { func 1988 tools/objtool/check.c func_for_each_insn_continue_reverse(file, func, i) { func 2034 tools/objtool/check.c ret = validate_branch(file, func, alt->insn, state); func 2049 tools/objtool/check.c if (state.uaccess && !func_uaccess_safe(func)) { func 2054 tools/objtool/check.c if (!state.uaccess && func_uaccess_safe(func)) { func 2064 tools/objtool/check.c if (func && has_modified_stack_frame(&state)) { func 2072 tools/objtool/check.c func->name); func 2084 tools/objtool/check.c if (!no_fp && func && !is_fentry_call(insn) && func 2098 tools/objtool/check.c if (func && is_sibling_call(insn)) { func 2104 tools/objtool/check.c ret = validate_branch(file, func, func 2120 tools/objtool/check.c if (func && is_sibling_call(insn)) { func 2132 tools/objtool/check.c if (func && (!next_insn || !next_insn->hint)) { func 2175 tools/objtool/check.c if (!state.uaccess && func) { func 2180 tools/objtool/check.c if (func_uaccess_safe(func) && !state.uaccess_stack) { func 2196 tools/objtool/check.c if (!state.df && func) func 2235 tools/objtool/check.c ret = validate_branch(file, insn->func, insn, state); func 2309 tools/objtool/check.c if (!insn->func) func 2337 tools/objtool/check.c insn->jump_dest->func == insn->func) { func 2345 tools/objtool/check.c if (insn->offset + insn->len >= insn->func->offset + insn->func->len) func 2357 tools/objtool/check.c struct symbol *func; func 2370 tools/objtool/check.c list_for_each_entry(func, &sec->symbol_list, list) { func 2371 tools/objtool/check.c if (func->type != STT_FUNC) func 2374 tools/objtool/check.c if (!func->len) { func 2376 tools/objtool/check.c func->name); func 2380 tools/objtool/check.c if (func->pfunc != func || func->alias != func) func 2383 tools/objtool/check.c insn = find_insn(file, sec, func->offset); func 2387 tools/objtool/check.c state.uaccess = func->uaccess_safe; func 2389 tools/objtool/check.c ret = validate_branch(file, func, insn, state); func 44 tools/objtool/check.h struct symbol *func; func 121 tools/objtool/elf.c struct symbol *func; func 123 tools/objtool/elf.c list_for_each_entry(func, &sec->symbol_list, list) func 124 tools/objtool/elf.c if (func->type == STT_FUNC && offset >= func->offset && func 125 tools/objtool/elf.c offset < func->offset + func->len) func 126 tools/objtool/elf.c return func; func 20 tools/objtool/warn.h struct symbol *func; func 24 tools/objtool/warn.h func = find_containing_func(sec, offset); func 25 tools/objtool/warn.h if (func) { func 26 tools/objtool/warn.h name = func->name; func 27 tools/objtool/warn.h name_off = offset - func->offset; func 35 tools/objtool/warn.h if (func) func 10 tools/perf/arch/arm/tests/arch-tests.c .func = test__dwarf_unwind, func 15 tools/perf/arch/arm/tests/arch-tests.c .func = test__vectors_page, func 18 tools/perf/arch/arm/tests/arch-tests.c .func = NULL, func 10 tools/perf/arch/arm64/tests/arch-tests.c .func = test__dwarf_unwind, func 14 tools/perf/arch/arm64/tests/arch-tests.c .func = NULL, func 10 tools/perf/arch/powerpc/tests/arch-tests.c .func = test__dwarf_unwind, func 14 tools/perf/arch/powerpc/tests/arch-tests.c .func = NULL, func 9 tools/perf/arch/x86/tests/arch-tests.c .func = test__rdpmc, func 13 tools/perf/arch/x86/tests/arch-tests.c .func = test__perf_time_to_tsc, func 18 tools/perf/arch/x86/tests/arch-tests.c .func = test__dwarf_unwind, func 24 tools/perf/arch/x86/tests/arch-tests.c .func = test__insn_x86, func 28 tools/perf/arch/x86/tests/arch-tests.c .func = test__intel_pt_pkt_decoder, func 34 tools/perf/arch/x86/tests/arch-tests.c .func = test__bp_modify, func 38 tools/perf/arch/x86/tests/arch-tests.c .func = NULL, func 137 tools/perf/bench/sched-messaging.c static pthread_t create_worker(void *ctx, void *(*func)(void *)) func 151 tools/perf/bench/sched-messaging.c (*func) (ctx); func 169 tools/perf/bench/sched-messaging.c ret = pthread_create(&childid, &attr, func, ctx); func 339 tools/perf/builtin-kmem.c struct alloc_func *func; func 363 tools/perf/builtin-kmem.c func = realloc(alloc_func_list, func 364 tools/perf/builtin-kmem.c (nr_alloc_funcs + 1) * sizeof(*func)); func 365 tools/perf/builtin-kmem.c if (func == NULL) func 369 tools/perf/builtin-kmem.c func[nr_alloc_funcs].start = sym->start; func 370 tools/perf/builtin-kmem.c func[nr_alloc_funcs].end = sym->end; func 371 tools/perf/builtin-kmem.c func[nr_alloc_funcs].name = sym->name; func 373 tools/perf/builtin-kmem.c alloc_func_list = func; func 377 tools/perf/builtin-kmem.c qsort(alloc_func_list, nr_alloc_funcs, sizeof(*func), funcmp); func 456 tools/perf/builtin-kvm.c #define GET_EVENT_KEY(func, field) \ func 457 tools/perf/builtin-kvm.c static u64 get_event_ ##func(struct kvm_event *event, int vcpu) \ func 468 tools/perf/builtin-kvm.c #define COMPARE_EVENT_KEY(func, field) \ func 469 tools/perf/builtin-kvm.c GET_EVENT_KEY(func, field) \ func 470 tools/perf/builtin-kvm.c static int compare_kvm_event_ ## func(struct kvm_event *one, \ func 473 tools/perf/builtin-kvm.c return get_event_ ##func(one, vcpu) > \ func 474 tools/perf/builtin-kvm.c get_event_ ##func(two, vcpu); \ func 506 tools/perf/pmu-events/jevents.c int (*func)(void *data, char *name, char *event, char *desc, func 665 tools/perf/pmu-events/jevents.c err = func(data, name, real_event(name, event), desc, long_desc, func 6 tools/perf/pmu-events/jevents.h int (*func)(void *data, char *name, char *event, char *desc, func 110 tools/perf/tests/bpf.c static int do_test(struct bpf_object *obj, int (*func)(void), func 179 tools/perf/tests/bpf.c (*func)(); func 34 tools/perf/tests/builtin-test.c .func = NULL, func 41 tools/perf/tests/builtin-test.c .func = test__vmlinux_matches_kallsyms, func 45 tools/perf/tests/builtin-test.c .func = test__openat_syscall_event, func 49 tools/perf/tests/builtin-test.c .func = test__openat_syscall_event_on_all_cpus, func 53 tools/perf/tests/builtin-test.c .func = test__basic_mmap, func 57 tools/perf/tests/builtin-test.c .func = test__mem, func 61 tools/perf/tests/builtin-test.c .func = test__parse_events, func 65 tools/perf/tests/builtin-test.c .func = test__expr, func 69 tools/perf/tests/builtin-test.c .func = test__PERF_RECORD, func 73 tools/perf/tests/builtin-test.c .func = test__pmu, func 77 tools/perf/tests/builtin-test.c .func = test__dso_data, func 81 tools/perf/tests/builtin-test.c .func = test__dso_data_cache, func 85 tools/perf/tests/builtin-test.c .func = test__dso_data_reopen, func 89 tools/perf/tests/builtin-test.c .func = test__perf_evsel__roundtrip_name_test, func 93 tools/perf/tests/builtin-test.c .func = test__perf_evsel__tp_sched_test, func 97 tools/perf/tests/builtin-test.c .func = test__syscall_openat_tp_fields, func 101 tools/perf/tests/builtin-test.c .func = test__attr, func 105 tools/perf/tests/builtin-test.c .func = test__hists_link, func 109 tools/perf/tests/builtin-test.c .func = test__python_use, func 113 tools/perf/tests/builtin-test.c .func = test__bp_signal, func 118 tools/perf/tests/builtin-test.c .func = test__bp_signal_overflow, func 123 tools/perf/tests/builtin-test.c .func = test__bp_accounting, func 128 tools/perf/tests/builtin-test.c .func = test__wp, func 138 tools/perf/tests/builtin-test.c .func = test__task_exit, func 142 tools/perf/tests/builtin-test.c .func = test__sw_clock_freq, func 146 tools/perf/tests/builtin-test.c .func = test__code_reading, func 150 tools/perf/tests/builtin-test.c .func = test__sample_parsing, func 154 tools/perf/tests/builtin-test.c .func = test__keep_tracking, func 158 tools/perf/tests/builtin-test.c .func = test__parse_no_sample_id_all, func 162 tools/perf/tests/builtin-test.c .func = test__hists_filter, func 166 tools/perf/tests/builtin-test.c .func = test__mmap_thread_lookup, func 170 tools/perf/tests/builtin-test.c .func = test__thread_mg_share, func 174 tools/perf/tests/builtin-test.c .func = test__hists_output, func 178 tools/perf/tests/builtin-test.c .func = test__hists_cumulate, func 182 tools/perf/tests/builtin-test.c .func = test__switch_tracking, func 186 tools/perf/tests/builtin-test.c .func = test__fdarray__filter, func 190 tools/perf/tests/builtin-test.c .func = test__fdarray__add, func 194 tools/perf/tests/builtin-test.c .func = test__kmod_path__parse, func 198 tools/perf/tests/builtin-test.c .func = test__thread_map, func 202 tools/perf/tests/builtin-test.c .func = test__llvm, func 211 tools/perf/tests/builtin-test.c .func = test__session_topology, func 215 tools/perf/tests/builtin-test.c .func = test__bpf, func 224 tools/perf/tests/builtin-test.c .func = test__thread_map_synthesize, func 228 tools/perf/tests/builtin-test.c .func = test__thread_map_remove, func 232 tools/perf/tests/builtin-test.c .func = test__cpu_map_synthesize, func 236 tools/perf/tests/builtin-test.c .func = test__synthesize_stat_config, func 240 tools/perf/tests/builtin-test.c .func = test__synthesize_stat, func 244 tools/perf/tests/builtin-test.c .func = test__synthesize_stat_round, func 248 tools/perf/tests/builtin-test.c .func = test__event_update, func 252 tools/perf/tests/builtin-test.c .func = test__event_times, func 256 tools/perf/tests/builtin-test.c .func = test__backward_ring_buffer, func 260 tools/perf/tests/builtin-test.c .func = test__cpu_map_print, func 264 tools/perf/tests/builtin-test.c .func = test__sdt_event, func 268 tools/perf/tests/builtin-test.c .func = test__is_printable_array, func 272 tools/perf/tests/builtin-test.c .func = test__bitmap_print, func 276 tools/perf/tests/builtin-test.c .func = test__perf_hooks, func 280 tools/perf/tests/builtin-test.c .func = test__clang, func 289 tools/perf/tests/builtin-test.c .func = test__unit_number__scnprint, func 293 tools/perf/tests/builtin-test.c .func = test__mem2node, func 297 tools/perf/tests/builtin-test.c .func = test__time_utils, func 301 tools/perf/tests/builtin-test.c .func = test__map_groups__merge_in, func 304 tools/perf/tests/builtin-test.c .func = NULL, func 369 tools/perf/tests/builtin-test.c err = test->func(test, subtest); func 391 tools/perf/tests/builtin-test.c for (t = &tests[j][0]; t->func; t++) func 545 tools/perf/tests/builtin-test.c .func = shell_test__run, func 7 tools/perf/tests/clang.c int (*func)(void); func 12 tools/perf/tests/clang.c .func = test__clang_to_IR, func 16 tools/perf/tests/clang.c .func = test__clang_to_obj, func 44 tools/perf/tests/clang.c return clang_testcase_table[i].func(); func 32 tools/perf/tests/tests.h int (*func)(struct test *test, int subtest); func 190 tools/perf/util/bpf-loader.c int (*func)(const char *, struct perf_probe_event *); func 196 tools/perf/util/bpf-loader.c .func = prog_config__exec, func 202 tools/perf/util/bpf-loader.c .func = prog_config__module, func 208 tools/perf/util/bpf-loader.c .func = prog_config__inlines, func 214 tools/perf/util/bpf-loader.c .func = prog_config__force, func 227 tools/perf/util/bpf-loader.c return bpf_prog_config_terms[i].func(value, pev); func 750 tools/perf/util/bpf-loader.c bpf_prog_iter_callback_t func, func 769 tools/perf/util/bpf-loader.c err = (*func)(priv->sys_name, priv->evt_name, fd, obj, arg); func 794 tools/perf/util/bpf-loader.c err = (*func)(tev->group, tev->event, fd, obj, arg); func 1214 tools/perf/util/bpf-loader.c struct bpf_obj_config__map_func *func = func 1217 tools/perf/util/bpf-loader.c if (strcmp(map_opt, func->config_opt) == 0) { func 1218 tools/perf/util/bpf-loader.c err = func->config_func(map, term, evlist); func 1262 tools/perf/util/bpf-loader.c foreach_key_array_all(map_config_func_t func, func 1271 tools/perf/util/bpf-loader.c err = func(name, map_fd, pdef, op, &i, arg); func 1282 tools/perf/util/bpf-loader.c foreach_key_array_ranges(map_config_func_t func, void *arg, func 1297 tools/perf/util/bpf-loader.c err = func(name, map_fd, pdef, op, &idx, arg); func 1310 tools/perf/util/bpf-loader.c map_config_func_t func, func 1345 tools/perf/util/bpf-loader.c err = foreach_key_array_all(func, arg, name, func 1349 tools/perf/util/bpf-loader.c err = foreach_key_array_ranges(func, arg, name, func 70 tools/perf/util/bpf-loader.h bpf_prog_iter_callback_t func, void *arg); func 113 tools/perf/util/bpf-loader.h bpf_prog_iter_callback_t func __maybe_unused, func 2812 tools/perf/util/header.c #define FEAT_OPR(n, func, __full_only) \ func 2815 tools/perf/util/header.c .write = write_##func, \ func 2816 tools/perf/util/header.c .print = print_##func, \ func 2818 tools/perf/util/header.c .process = process_##func, \ func 2822 tools/perf/util/header.c #define FEAT_OPN(n, func, __full_only) \ func 2825 tools/perf/util/header.c .write = write_##func, \ func 2826 tools/perf/util/header.c .print = print_##func, \ func 2828 tools/perf/util/header.c .process = process_##func \ func 2052 tools/perf/util/parse-events.c int (*func)(struct evsel *evsel, func 2069 tools/perf/util/parse-events.c err = (*func)(last, arg); func 1586 tools/perf/util/probe-finder.c const char *fname = NULL, *func = NULL, *basefunc = NULL, *tmp; func 1607 tools/perf/util/probe-finder.c func = basefunc = dwarf_diename(&spdie); func 1608 tools/perf/util/probe-finder.c if (!func || func 1647 tools/perf/util/probe-finder.c func = tmp; func 1663 tools/perf/util/probe-finder.c func = basefunc; func 1667 tools/perf/util/probe-finder.c if (func) { func 1668 tools/perf/util/probe-finder.c ppt->function = strdup(func); func 1683 tools/perf/util/probe-finder.c if (ret == 0 && (fname || func)) func 1659 tools/perf/util/sort.c #define DIM(d, n, func) [d] = { .name = n, .entry = &(func) } func 1684 tools/perf/util/sort.c #define DIM(d, n, func) [d - __SORT_BRANCH_STACK] = { .name = n, .entry = &(func) } func 1702 tools/perf/util/sort.c #define DIM(d, n, func) [d - __SORT_MEMORY_MODE] = { .name = n, .entry = &(func) } func 284 tools/perf/util/time-utils.c time_pecent_split func) func 306 tools/perf/util/time-utils.c ret = (func)(p1, &ptime_buf[i], start, end); func 57 tools/perf/util/trace-event.c tep_func_resolver_t *func) func 62 tools/perf/util/trace-event.c return tep_set_function_resolver(tevent.pevent, func, machine); func 23 tools/perf/util/trace-event.h tep_func_resolver_t *func); func 116 tools/power/cpupower/utils/helpers/helpers.h int bus, int slot, int func, int vendor, func 119 tools/power/cpupower/utils/helpers/helpers.h int slot, int func); func 27 tools/power/cpupower/utils/helpers/pci.c int slot, int func, int vendor, int dev) func 40 tools/power/cpupower/utils/helpers/pci.c filter_nb_link.func = func; func 58 tools/power/cpupower/utils/helpers/pci.c int func) func 60 tools/power/cpupower/utils/helpers/pci.c return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); func 320 tools/power/x86/turbostat/turbostat.c int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), func 345 tools/power/x86/turbostat/turbostat.c retval = func(t, c, p); func 2682 tools/power/x86/turbostat/turbostat.c int for_all_cpus_2(int (func)(struct thread_data *, struct core_data *, func 2721 tools/power/x86/turbostat/turbostat.c retval = func(t, c, p, t2, c2, p2); func 2735 tools/power/x86/turbostat/turbostat.c int for_all_proc_cpus(int (func)(int)) func 2752 tools/power/x86/turbostat/turbostat.c retval = func(cpu_num); func 505 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void for_packages(unsigned long long pkg_set, int (func)(int)) func 511 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c func(pkg_num); func 1149 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int for_all_proc_cpus(int (func)(int)) func 1166 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = func(cpu_num); func 1176 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c void for_all_cpus_in_set(size_t set_size, cpu_set_t *cpu_set, int (func)(int)) func 1182 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c func(cpu_num); func 414 tools/testing/nvdimm/test/iomap.c u64 rev, u64 func, union acpi_object *argv4) func 422 tools/testing/nvdimm/test/iomap.c obj = ops->evaluate_dsm(handle, guid, rev, func, argv4); func 426 tools/testing/nvdimm/test/iomap.c return acpi_evaluate_dsm(handle, guid, rev, func, argv4); func 930 tools/testing/nvdimm/test/nfit.c static int override_return_code(int dimm, unsigned int func, int rc) func 932 tools/testing/nvdimm/test/nfit.c if ((1 << func) & dimm_fail_cmd_flags[dimm]) { func 1182 tools/testing/nvdimm/test/nfit.c static int get_dimm(struct nfit_mem *nfit_mem, unsigned int func) func 1201 tools/testing/nvdimm/test/nfit.c unsigned int func = cmd; func 1220 tools/testing/nvdimm/test/nfit.c func = call_pkg->nd_command; func 1224 tools/testing/nvdimm/test/nfit.c i = get_dimm(nfit_mem, func); func 1228 tools/testing/nvdimm/test/nfit.c switch (func) { func 1322 tools/testing/nvdimm/test/nfit.c return override_return_code(i, func, rc); func 1326 tools/testing/nvdimm/test/nfit.c || !test_bit(func, &nfit_mem->dsm_mask)) func 1329 tools/testing/nvdimm/test/nfit.c i = get_dimm(nfit_mem, func); func 1333 tools/testing/nvdimm/test/nfit.c switch (func) { func 1348 tools/testing/nvdimm/test/nfit.c return override_return_code(i, func, rc); func 1357 tools/testing/nvdimm/test/nfit.c func = call_pkg->nd_command; func 1362 tools/testing/nvdimm/test/nfit.c switch (func) { func 1387 tools/testing/nvdimm/test/nfit.c switch (func) { func 2671 tools/testing/nvdimm/test/nfit.c const guid_t *guid, u64 rev, u64 func, union acpi_object *argv4) func 11 tools/testing/radix-tree/linux/radix-tree.h void (*func)(struct rcu_head *head)) func 16 tools/testing/radix-tree/linux/radix-tree.h call_rcu(head, func); func 47 tools/testing/selftests/bpf/progs/btf_dump_test_case_ordering.c void (*func)(struct callback_head *); func 20 tools/testing/selftests/bpf/progs/sample_map_ret0.c SEC(".text") int func() func 298 tools/testing/selftests/bpf/test_verifier.c #define BPF_SK_LOOKUP(func) \ func 313 tools/testing/selftests/bpf/test_verifier.c BPF_EMIT_CALL(BPF_FUNC_ ## func) func 25 tools/testing/selftests/bpf/trace_helpers.c char func[256], buf[256]; func 34 tools/testing/selftests/bpf/trace_helpers.c if (sscanf(buf, "%p %c %s", &addr, &symbol, func) != 3) func 39 tools/testing/selftests/bpf/trace_helpers.c syms[i].name = strdup(func); func 70 tools/testing/selftests/futex/functional/futex_requeue_pi.c int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, func 99 tools/testing/selftests/futex/functional/futex_requeue_pi.c ret = pthread_create(pth, &attr, func, arg); func 49 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c int create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, func 78 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c ret = pthread_create(pth, &attr, func, arg); func 28 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c int func, subfunc; func 32 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c func = 0x1; func 36 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c : "a"(func), "c"(subfunc)); func 373 tools/testing/selftests/mqueue/mq_perf_tests.c void (*func)(int *); func 485 tools/testing/selftests/mqueue/mq_perf_tests.c cur_test->func(&prio_out); func 496 tools/testing/selftests/mqueue/mq_perf_tests.c cur_test->func(&prio_out); func 422 tools/testing/selftests/powerpc/pmu/ebb/ebb.c int catch_sigill(void (*func)(void)) func 430 tools/testing/selftests/powerpc/pmu/ebb/ebb.c func(); func 75 tools/testing/selftests/powerpc/pmu/ebb/ebb.h int catch_sigill(void (*func)(void)); func 388 tools/testing/selftests/ptp/testptp.c desc.name, desc.index, desc.func, desc.chan); func 413 tools/testing/selftests/ptp/testptp.c desc.func = pin_func; func 141 tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h void (*func)(struct callback_head *head); func 146 tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func); func 24 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h work_func_t func; func 79 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h (w)->func = (f); \ func 87 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/workqueues.h .func = f \ func 1435 tools/testing/selftests/seccomp/seccomp_bpf.c tracer_func_t func, void *args, bool ptrace_syscall) func 1451 tools/testing/selftests/seccomp/seccomp_bpf.c start_tracer(_metadata, pipefd[1], tracee, func, args, func 223 tools/testing/selftests/x86/ldt_gdt.c static int safe_modify_ldt(int func, struct user_desc *ptr,