/linux/drivers/pinctrl/renesas/ |
A D | sh_pfc.h | 381 PINMUX_DATA(fn##_MARK, FN_##fn) 391 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 402 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 425 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) 455 PINMUX_DATA(fn##_MARK, FN_##fn) 605 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \ 620 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx) 662 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument 669 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) 738 #define PIN_NOGP_CFG(pin, name, fn, cfg) fn(pin, name, cfg) argument [all …]
|
/linux/drivers/misc/ocxl/ |
A D | core.c | 8 return (get_device(&fn->dev) == NULL) ? NULL : fn; in ocxl_fn_get() 28 afu->fn = fn; in alloc_afu() 56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local 65 fn->actag_enabled / fn->actag_supported; in assign_afu_actag() 84 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag() local 94 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid() local 123 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid() local 304 if (!fn) in alloc_function() 350 fn->actag_base, fn->actag_enabled); in assign_function_actag() 352 fn->actag_base, fn->actag_enabled); in assign_function_actag() [all …]
|
A D | config.c | 89 fn->max_pasid_log = -1; in read_pasid() 113 fn->dvsec_tl_pos = pos; in read_dvsec_tl() 127 fn->dvsec_function_pos = pos; in read_dvsec_function() 132 fn->max_afu_index = -1; in read_dvsec_function() 148 if (fn->max_afu_index < 0) { in read_dvsec_afu_info() 149 fn->dvsec_afu_info_pos = -1; in read_dvsec_afu_info() 158 fn->dvsec_afu_info_pos = pos; in read_dvsec_afu_info() 251 if (fn->max_pasid_log == -1 && fn->max_afu_index >= 0) { in validate_function() 270 read_pasid(dev, fn); in ocxl_config_read_function() 272 rc = read_dvsec_tl(dev, fn); in ocxl_config_read_function() [all …]
|
/linux/include/linux/ |
A D | init.h | 233 #define __initcall_stub(fn, __iid, id) fn argument 260 __unique_initcall(fn, id, __sec, __initcall_id(fn)) 278 #define pure_initcall(fn) __define_initcall(fn, 0) argument 280 #define core_initcall(fn) __define_initcall(fn, 1) argument 284 #define arch_initcall(fn) __define_initcall(fn, 3) argument 288 #define fs_initcall(fn) __define_initcall(fn, 5) argument 293 #define late_initcall(fn) __define_initcall(fn, 7) argument 296 #define __initcall(fn) device_initcall(fn) argument 299 static exitcall_t __exitcall_##fn __exit_call = fn 324 __setup_param(str, fn, fn, 0) [all …]
|
A D | stop_machine.h | 26 cpu_stop_fn_t fn; member 32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 48 cpu_stop_fn_t fn; member 57 ret = fn(arg); in stop_one_cpu() 67 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn() 72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument 77 work_buf->fn = fn; in stop_one_cpu_nowait() 137 ret = fn(data); in stop_machine_cpuslocked() 145 return stop_machine_cpuslocked(fn, data, cpus); in stop_machine() 149 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument [all …]
|
/linux/arch/mips/include/asm/ |
A D | unroll.h | 16 #define unroll(times, fn, ...) do { \ argument 31 case 32: fn(__VA_ARGS__); fallthrough; \ 32 case 31: fn(__VA_ARGS__); fallthrough; \ 33 case 30: fn(__VA_ARGS__); fallthrough; \ 34 case 29: fn(__VA_ARGS__); fallthrough; \ 35 case 28: fn(__VA_ARGS__); fallthrough; \ 36 case 27: fn(__VA_ARGS__); fallthrough; \ 37 case 26: fn(__VA_ARGS__); fallthrough; \ 38 case 25: fn(__VA_ARGS__); fallthrough; \ 54 case 9: fn(__VA_ARGS__); fallthrough; \ [all …]
|
/linux/arch/um/include/shared/ |
A D | init.h | 71 #define __uml_exitcall(fn) \ argument 72 static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn 76 #define __uml_postsetup(fn) \ argument 77 static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn 88 __uml_help(fn, help); \ 90 static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn } 96 #define __uml_help(fn, help...) \ argument 99 static const char *__uml_help_##fn __uml_setup_help = __uml_help_str_##fn 112 #define __define_initcall(level,fn) \ argument 119 #define __initcall(fn) __define_initcall("1", fn) argument [all …]
|
/linux/drivers/input/rmi4/ |
A D | rmi_f03.c | 83 error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val); in rmi_f03_pt_write() 96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local 104 error = rmi_read(fn->rmi_dev, fn->fd.query_base_addr, &query1); in rmi_f03_initialize() 124 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr + 1, in rmi_f03_initialize() 142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local 159 return fn->rmi_dev->driver->set_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f03_pt_open() 165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local 167 fn->rmi_dev->driver->clear_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f03_pt_close() 208 f03->fn = fn; in rmi_f03_probe() 238 fn->rmi_dev->driver->set_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f03_config() [all …]
|
A D | rmi_bus.c | 134 kfree(fn); in rmi_release_function() 181 set_bit(fn->irq_pos + i, fn->irq_mask); in rmi_create_function_irq() 184 fn->irq_pos + i); in rmi_create_function_irq() 186 irq_set_chip_data(fn->irq[i], fn); in rmi_create_function_irq() 191 error = devm_request_threaded_irq(&fn->dev, fn->irq[i], NULL, in rmi_create_function_irq() 193 dev_name(&fn->dev), fn); in rmi_create_function_irq() 234 handler->remove(fn); in rmi_function_remove() 257 dev_name(&fn->dev)); in rmi_register_function() 267 put_device(&fn->dev); in rmi_register_function() 278 device_del(&fn->dev); in rmi_unregister_function() [all …]
|
A D | rmi_f34.c | 18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local 48 struct rmi_function *fn = f34->fn; in rmi_f34_command() local 133 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local 151 dev_err(&fn->dev, in rmi_f34_write_blocks() 158 dev_err(&fn->dev, in rmi_f34_write_blocks() 197 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local 320 if (fn) { in rmi_driver_bootloader_id_show() 346 if (fn) { in rmi_driver_configuration_id_show() 532 f34->fn = fn; in rmi_f34_probe() 541 ret = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, in rmi_f34_probe() [all …]
|
A D | rmi_f3a.c | 49 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f3a_report_button() 58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local 66 dev_warn(&fn->dev, in rmi_f3a_attention() 75 error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr, in rmi_f3a_attention() 78 dev_err(&fn->dev, in rmi_f3a_attention() 87 rmi_f3a_report_button(fn, f3a, i); in rmi_f3a_attention() 110 drv->set_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f3a_config() 174 error = rmi_read(fn->rmi_dev, fn->fd.query_base_addr, &buf); in rmi_f3a_initialize() 185 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr + 1, in rmi_f3a_initialize() 193 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr + 1, in rmi_f3a_initialize() [all …]
|
A D | rmi_f30.c | 89 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_read_control_parameters() 92 dev_err(&fn->dev, in rmi_f30_read_control_parameters() 133 dev_warn(&fn->dev, in rmi_f30_attention() 142 error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr, in rmi_f30_attention() 145 dev_err(&fn->dev, in rmi_f30_attention() 182 drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f30_config() 185 error = rmi_write_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_config() 188 dev_err(&fn->dev, in rmi_f30_config() 194 drv->set_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f30_config() 280 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, in rmi_f30_initialize() [all …]
|
A D | rmi_f01.c | 437 dev_warn(&fn->dev, in rmi_f01_probe() 558 dev_err(&fn->dev, in rmi_f01_probe() 564 dev_err(&fn->dev, in rmi_f01_probe() 590 error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f01_config() 593 dev_err(&fn->dev, in rmi_f01_config() 602 dev_err(&fn->dev, in rmi_f01_config() 612 dev_err(&fn->dev, in rmi_f01_config() 647 error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f01_suspend() 672 error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f01_resume() 675 dev_err(&fn->dev, in rmi_f01_resume() [all …]
|
A D | rmi_f34v7.c | 128 dev_err(&f34->fn->dev, in rmi_f34v7_write_command_single_transaction() 436 dev_err(&f34->fn->dev, in rmi_f34v7_read_queries_bl_version() 479 dev_err(&f34->fn->dev, in rmi_f34v7_read_queries() 582 dev_err(&f34->fn->dev, in rmi_f34v7_check_ui_firmware_size() 778 dev_err(&f34->fn->dev, in rmi_f34v7_read_blocks() 799 dev_err(&f34->fn->dev, in rmi_f34v7_read_blocks() 854 dev_err(&f34->fn->dev, in rmi_f34v7_write_f34v7_blocks() 1192 f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, in rmi_f34v7_do_reflash() 1285 f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, f34->fn->irq_mask); in rmi_f34v7_enter_flash_prog() 1311 f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, f34->fn->irq_mask); in rmi_f34v7_start_reflash() [all …]
|
A D | rmi_f54.c | 97 struct rmi_function *fn; member 536 struct rmi_function *fn = f54->fn; in rmi_f54_work() local 557 error = rmi_read(fn->rmi_dev, f54->fn->fd.command_base_addr, in rmi_f54_work() 587 error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr + in rmi_f54_work() 618 drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask); in rmi_f54_config() 629 f54 = dev_get_drvdata(&fn->dev); in rmi_f54_detect() 631 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, in rmi_f54_detect() 671 f54->fn = fn; in rmi_f54_probe() 672 dev_set_drvdata(&fn->dev, f54); in rmi_f54_probe() 674 ret = rmi_f54_detect(fn); in rmi_f54_probe() [all …]
|
A D | rmi_f12.c | 67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning() local 79 dev_err(&fn->dev, in rmi_f12_read_sensor_tuning() 87 dev_err(&fn->dev, in rmi_f12_read_sensor_tuning() 201 struct rmi_function *fn = ctx; in rmi_f12_attention() local 312 dev_warn(&fn->dev, in rmi_f12_config() 345 dev_err(&fn->dev, in rmi_f12_probe() 365 if (fn->dev.of_node) { in rmi_f12_probe() 376 dev_err(&fn->dev, in rmi_f12_probe() 386 dev_err(&fn->dev, in rmi_f12_probe() 396 dev_err(&fn->dev, in rmi_f12_probe() [all …]
|
A D | rmi_f55.c | 27 struct rmi_function *fn; member 38 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f55_detect() 43 f55 = dev_get_drvdata(&fn->dev); in rmi_f55_detect() 45 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, in rmi_f55_detect() 73 error = rmi_read_block(fn->rmi_dev, in rmi_f55_detect() 74 fn->fd.control_base_addr + 1, in rmi_f55_detect() 86 error = rmi_read_block(fn->rmi_dev, in rmi_f55_detect() 87 fn->fd.control_base_addr + 2, in rmi_f55_detect() 116 f55->fn = fn; in rmi_f55_probe() 117 dev_set_drvdata(&fn->dev, f55); in rmi_f55_probe() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | machdep.h | 268 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 269 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 270 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 271 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 273 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument 274 #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) argument 275 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument 277 #define machine_fs_initcall(mach, fn) __define_machine_initcall(mach, fn, 5) argument 278 #define machine_fs_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 5s) argument 280 #define machine_device_initcall(mach, fn) __define_machine_initcall(mach, fn, 6) argument [all …]
|
/linux/drivers/pci/controller/cadence/ |
A D | pcie-cadence-ep.c | 25 return fn; in cdns_pcie_get_fn_from_vfn() 29 fn = fn + first_vf_offset + ((vfn - 1) * stride); in cdns_pcie_get_fn_from_vfn() 31 return fn; in cdns_pcie_get_fn_from_vfn() 137 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_set_bar() 174 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_clear_bar() 197 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_map_addr() 233 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_set_msi() 255 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_get_msi() 299 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_set_msix() 390 fn = cdns_pcie_get_fn_from_vfn(pcie, fn, vfn); in cdns_pcie_ep_send_msi_irq() [all …]
|
A D | pcie-cadence.h | 51 (((bar) < BAR_4) ? CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) : CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn)) 52 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ argument 53 (CDNS_PCIE_LM_BASE + 0x0240 + (fn) * 0x0008) 54 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ argument 55 (CDNS_PCIE_LM_BASE + 0x0244 + (fn) * 0x0008) 57 (((bar) < BAR_4) ? CDNS_PCIE_LM_EP_VFUNC_BAR_CFG0(fn) : CDNS_PCIE_LM_EP_VFUNC_BAR_CFG1(fn)) 58 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG0(fn) \ argument 59 (CDNS_PCIE_LM_BASE + 0x0280 + (fn) * 0x0008) 60 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG1(fn) \ argument 122 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) argument [all …]
|
/linux/net/ipv6/ |
A D | ip6_fib.c | 113 if (fn) in fib6_update_sernum() 187 if (fn) in node_alloc() 1348 fn = rcu_dereference_protected(fn->parent, in __fib6_update_sernum_upto_root() 1608 fn = rcu_dereference(fn->parent); in fib6_node_lookup_1() 1638 if (!fn || fn->fn_flags & RTN_TL_ROOT) in fib6_node_lookup() 1663 for (fn = root; fn ; ) { in fib6_locate_1() 1695 fn = rcu_dereference(fn->right); in fib6_locate_1() 1697 fn = rcu_dereference(fn->left); in fib6_locate_1() 1732 if (fn && fn->fn_flags & RTN_RTINFO) in fib6_locate() 1765 fn = FIB6_SUBTREE(fn); in fib6_find_prefix() [all …]
|
/linux/kernel/ |
A D | stop_machine.c | 46 cpu_stop_fn_t fn; member 171 cpu_stop_fn_t fn; member 341 .fn = fn, in stop_two_cpus() 409 work->fn = fn; in queue_stop_cpus_work() 502 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local 509 stopper->fn = fn; in cpu_stopper_thread() 511 ret = fn(arg); in cpu_stopper_thread() 518 stopper->fn = NULL; in cpu_stopper_thread() 592 .fn = fn, in stop_machine_cpuslocked() 613 ret = (*fn)(data); in stop_machine_cpuslocked() [all …]
|
/linux/drivers/pci/controller/ |
A D | pcie-rockchip-ep.c | 132 if (fn == 0) { in rockchip_pcie_ep_write_header() 150 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 153 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 156 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 319 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_set_msi() 358 ep->irq_pci_fn != fn)) { in rockchip_pcie_ep_assert_intx() 363 ep->irq_pci_fn = fn; in rockchip_pcie_ep_assert_intx() 399 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_send_legacy_irq() 441 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_send_msi_irq() 460 ep->irq_pci_fn != fn)) { in rockchip_pcie_ep_send_msi_irq() [all …]
|
/linux/tools/lib/bpf/ |
A D | bpf_core_read.h | 224 #define ___apply(fn, n) ___concat(fn, n) argument 280 #define ___rd_first(fn, src, a) ___read(fn, &__t, ___type(src), src, a); argument 283 #define ___rd_p1(fn, ...) const void *__t; ___rd_first(fn, __VA_ARGS__) argument 284 #define ___rd_p2(fn, ...) ___rd_p1(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 285 #define ___rd_p3(fn, ...) ___rd_p2(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 286 #define ___rd_p4(fn, ...) ___rd_p3(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 287 #define ___rd_p5(fn, ...) ___rd_p4(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 288 #define ___rd_p6(fn, ...) ___rd_p5(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 289 #define ___rd_p7(fn, ...) ___rd_p6(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 290 #define ___rd_p8(fn, ...) ___rd_p7(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument [all …]
|
/linux/fs/jffs2/ |
A D | readinode.c | 161 tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw)); in check_tn_node() 222 uint32_t fn_end = tn->fn->ofs + tn->fn->size; in jffs2_add_tn_to_tree() 293 this->fn->ofs >= tn->fn->ofs && in jffs2_add_tn_to_tree() 308 this->fn->ofs+this->fn->size); in jffs2_add_tn_to_tree() 317 this->fn->ofs <= tn->fn->ofs && in jffs2_add_tn_to_tree() 345 if (tn->fn->ofs > insert_point->fn->ofs) in jffs2_add_tn_to_tree() 348 tn->fn->size < insert_point->fn->size) in jffs2_add_tn_to_tree() 361 if (this->fn->ofs + this->fn->size > tn->fn->ofs) { in jffs2_add_tn_to_tree() 364 this->fn->ofs+this->fn->size); in jffs2_add_tn_to_tree() 390 this->fn->ofs+this->fn->size); in jffs2_add_tn_to_tree() [all …]
|