/linux-6.6.21/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 360 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 361 PINMUX_DATA(fn##_MARK, FN_##fn) 370 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 371 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 381 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 382 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 392 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 393 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel) 404 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 405 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) [all …]
|
/linux-6.6.21/include/linux/ |
D | init.h | 142 extern int do_one_initcall(initcall_t fn); 205 #define __initcall_id(fn) \ argument 211 __PASTE(_, fn)))))) 236 #define __initcall_stub(fn, __iid, id) \ argument 239 #define __define_initcall_stub(__stub, fn) \ argument 243 return fn(); \ 250 #define __initcall_stub(fn, __iid, id) fn argument 252 #define __define_initcall_stub(__stub, fn) \ argument 253 __ADDRESSABLE(fn) 257 #define ____define_initcall(fn, __stub, __name, __sec) \ argument [all …]
|
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); 33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 34 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 48 cpu_stop_fn_t fn; member 52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 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() [all …]
|
/linux-6.6.21/drivers/misc/ocxl/ |
D | core.c | 6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get() argument 8 return (get_device(&fn->dev) == NULL) ? NULL : fn; in ocxl_fn_get() 11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put() argument 13 put_device(&fn->dev); in ocxl_fn_put() 16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu() argument 28 afu->fn = fn; in alloc_afu() 29 ocxl_fn_get(fn); in alloc_afu() 38 ocxl_fn_put(afu->fn); in free_afu() 56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local 58 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_actag() [all …]
|
D | config.c | 77 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid() argument 89 fn->max_pasid_log = -1; in read_pasid() 93 fn->max_pasid_log = EXTRACT_BITS(val, 8, 12); in read_pasid() 97 dev_dbg(&dev->dev, " Max PASID log = %d\n", fn->max_pasid_log); in read_pasid() 100 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl() argument 113 fn->dvsec_tl_pos = pos; in read_dvsec_tl() 117 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function() argument 127 fn->dvsec_function_pos = pos; in read_dvsec_function() 132 fn->max_afu_index = -1; in read_dvsec_function() 136 fn->max_afu_index = EXTRACT_BITS(val, 24, 29); in read_dvsec_function() [all …]
|
/linux-6.6.21/arch/mips/include/asm/ |
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; \ 39 case 24: fn(__VA_ARGS__); fallthrough; \ [all …]
|
/linux-6.6.21/arch/um/include/shared/ |
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 86 #define __uml_setup(str, fn, help...) \ argument 87 __non_empty_string(fn ##_setup, str); \ 88 __uml_help(fn, help); \ 89 static char __uml_setup_str_##fn[] __initdata = str; \ 90 static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn } 92 #define __uml_setup(str, fn, help...) \ argument [all …]
|
/linux-6.6.21/drivers/input/rmi4/ |
D | rmi_f03.c | 29 struct rmi_function *fn; member 40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() argument 43 struct f03_data *f03 = dev_get_drvdata(&fn->dev); in rmi_f03_overwrite_button() 59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons() argument 61 struct f03_data *f03 = dev_get_drvdata(&fn->dev); in rmi_f03_commit_buttons() 79 rmi_dbg(RMI_DEBUG_FN, &f03->fn->dev, in rmi_f03_pt_write() 83 error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val); in rmi_f03_pt_write() 85 dev_err(&f03->fn->dev, in rmi_f03_pt_write() 96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local 97 struct device *dev = &fn->dev; in rmi_f03_initialize() [all …]
|
D | rmi_bus.c | 132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 134 kfree(fn); in rmi_release_function() 150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 152 return fn->fd.function_number == handler->func; in rmi_function_match() 156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 159 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe() 162 fn->fd.function_number); in rmi_function_of_probe() 163 fn->dev.of_node = of_get_child_by_name(node, of_name); in rmi_function_of_probe() 166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() argument [all …]
|
D | rmi_f3a.c | 38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button() argument 49 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f3a_report_button() 58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local 59 struct f3a_data *f3a = dev_get_drvdata(&fn->dev); in rmi_f3a_attention() 60 struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); in rmi_f3a_attention() 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() 94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config() argument [all …]
|
D | rmi_f34.c | 18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local 19 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_write_bootloader_id() 23 ret = rmi_read_block(rmi_dev, fn->fd.query_base_addr, in rmi_f34_write_bootloader_id() 26 dev_err(&fn->dev, "%s: Reading bootloader ID failed: %d\n", in rmi_f34_write_bootloader_id() 31 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: writing bootloader id '%c%c'\n", in rmi_f34_write_bootloader_id() 35 fn->fd.data_base_addr + F34_BLOCK_DATA_OFFSET, in rmi_f34_write_bootloader_id() 38 dev_err(&fn->dev, "Failed to write bootloader ID: %d\n", ret); in rmi_f34_write_bootloader_id() 48 struct rmi_function *fn = f34->fn; in rmi_f34_command() local 49 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_command() 62 dev_err(&f34->fn->dev, in rmi_f34_command() [all …]
|
D | rmi_f30.c | 84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters() argument 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() 94 __func__, fn->fd.control_base_addr, error); in rmi_f30_read_control_parameters() 101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button() argument 114 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f30_report_button() 124 struct rmi_function *fn = ctx; in rmi_f30_attention() local 125 struct f30_data *f30 = dev_get_drvdata(&fn->dev); in rmi_f30_attention() 126 struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); in rmi_f30_attention() 133 dev_warn(&fn->dev, in rmi_f30_attention() [all …]
|
D | rmi_f01.c | 256 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID() argument 258 struct f01_data *f01 = dev_get_drvdata(&fn->dev); in rmi_f01_get_product_ID() 384 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe() argument 386 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f01_probe() 391 u16 ctrl_base_addr = fn->fd.control_base_addr; in rmi_f01_probe() 395 if (fn->dev.of_node) { in rmi_f01_probe() 396 error = rmi_f01_of_probe(&fn->dev, pdata); in rmi_f01_probe() 401 f01 = devm_kzalloc(&fn->dev, sizeof(struct f01_data), GFP_KERNEL); in rmi_f01_probe() 412 error = rmi_read(rmi_dev, fn->fd.control_base_addr, in rmi_f01_probe() 415 dev_err(&fn->dev, "Failed to read F01 control: %d\n", error); in rmi_f01_probe() [all …]
|
D | rmi_f55.c | 27 struct rmi_function *fn; member 36 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect() argument 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() 48 dev_err(&fn->dev, "%s: Failed to query F55 properties\n", 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() [all …]
|
D | rmi_f34v7.c | 27 ret = rmi_read_block(f34->fn->rmi_dev, in rmi_f34v7_read_flash_status() 28 f34->fn->fd.data_base_addr + V7_FLASH_STATUS_OFFSET, in rmi_f34v7_read_flash_status() 32 rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, in rmi_f34v7_read_flash_status() 41 dev_err(&f34->fn->dev, "%s: status=%d, command=0x%02x\n", in rmi_f34v7_read_flash_status() 45 ret = rmi_read_block(f34->fn->rmi_dev, in rmi_f34v7_read_flash_status() 46 f34->fn->fd.data_base_addr + V7_COMMAND_OFFSET, in rmi_f34v7_read_flash_status() 50 dev_err(&f34->fn->dev, "%s: Failed to read flash command\n", in rmi_f34v7_read_flash_status() 67 dev_warn(&f34->fn->dev, "%s: Timed out waiting for idle status\n", in rmi_f34v7_wait_for_idle() 100 base = f34->fn->fd.data_base_addr; in rmi_f34v7_write_command_single_transaction() 142 ret = rmi_write_block(f34->fn->rmi_dev, in rmi_f34v7_write_command_single_transaction() [all …]
|
D | rmi_f54.c | 97 struct rmi_function *fn; member 177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report() argument 179 struct f54_data *f54 = dev_get_drvdata(&fn->dev); in rmi_f54_request_report() 180 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f54_request_report() 185 error = rmi_write(rmi_dev, f54->fn->fd.data_base_addr, in rmi_f54_request_report() 201 error = rmi_write(rmi_dev, fn->fd.command_base_addr, F54_GET_REPORT); in rmi_f54_request_report() 220 struct rmi_device *rmi_dev = f54->fn->rmi_dev; in rmi_f54_get_report_size() 321 ret = rmi_f54_request_report(f54->fn, reptype); in rmi_f54_buffer_queue() 323 dev_err(&f54->fn->dev, "Error requesting F54 report\n"); in rmi_f54_buffer_queue() 335 dev_err(&f54->fn->dev, "Timed out\n"); in rmi_f54_buffer_queue() [all …]
|
D | rmi_f12.c | 67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning() local 68 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_read_sensor_tuning() 79 dev_err(&fn->dev, in rmi_f12_read_sensor_tuning() 87 dev_err(&fn->dev, in rmi_f12_read_sensor_tuning() 93 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr + offset, buf, in rmi_f12_read_sensor_tuning() 105 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: max_x: %d max_y: %d\n", __func__, in rmi_f12_read_sensor_tuning() 116 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f12_read_sensor_tuning() 138 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: x_mm: %d y_mm: %d\n", __func__, in rmi_f12_read_sensor_tuning() 201 struct rmi_function *fn = ctx; in rmi_f12_attention() local 202 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f12_attention() [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | machdep.h | 243 #define __define_machine_initcall(mach, fn, id) \ argument 244 static int __init __machine_initcall_##mach##_##fn(void) { \ 245 if (machine_is(mach)) return fn(); \ 248 __define_initcall(__machine_initcall_##mach##_##fn, id); 250 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 251 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 252 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 253 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 254 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 255 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument [all …]
|
D | kasan.h | 6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument 7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument 8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument 10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument 11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument 12 #define EXPORT_SYMBOL_KASAN(fn) argument
|
/linux-6.6.21/drivers/pci/controller/cadence/ |
D | pcie-cadence-ep.c | 19 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() argument 25 return fn; in cdns_pcie_get_fn_from_vfn() 27 first_vf_offset = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_SRIOV_VF_OFFSET); in cdns_pcie_get_fn_from_vfn() 28 stride = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_SRIOV_VF_STRIDE); 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() 34 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() argument 47 cdns_pcie_ep_fn_writew(pcie, fn, reg, hdr->deviceid); in cdns_pcie_ep_write_header() 51 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); in cdns_pcie_ep_write_header() 52 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid); in cdns_pcie_ep_write_header() [all …]
|
/linux-6.6.21/net/ipv6/ |
D | ip6_fib.c | 59 struct fib6_node *fn); 62 struct fib6_node *fn); 109 struct fib6_node *fn; in fib6_update_sernum() local 111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 113 if (fn) in fib6_update_sernum() 114 WRITE_ONCE(fn->fn_sernum, fib6_new_sernum(net)); in fib6_update_sernum() 184 struct fib6_node *fn; in node_alloc() local 186 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc() 187 if (fn) in node_alloc() 190 return fn; in node_alloc() [all …]
|
/linux-6.6.21/include/trace/events/ |
D | maple_tree.h | 15 TP_PROTO(const char *fn, struct ma_state *mas), 17 TP_ARGS(fn, mas), 20 __field(const char *, fn) 29 __entry->fn = fn; 38 __entry->fn, 48 TP_PROTO(const char *fn, struct ma_state *mas), 50 TP_ARGS(fn, mas), 53 __field(const char *, fn) 62 __entry->fn = fn; 71 __entry->fn, [all …]
|
/linux-6.6.21/kernel/ |
D | stop_machine.c | 46 cpu_stop_fn_t fn; member 63 printk("%sStopper: %pS <- %pS\n", log_lvl, stopper->fn, (void *)stopper->caller); in print_stop_info() 139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 142 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done, .caller = _RET_IP_ }; in stop_one_cpu() 171 cpu_stop_fn_t fn; member 240 err = msdata->fn(msdata->data); in multi_cpu_stop() 334 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument 341 .fn = fn, in stop_two_cpus() 348 .fn = multi_cpu_stop, in stop_two_cpus() 384 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument [all …]
|
/linux-6.6.21/tools/lib/bpf/ |
D | bpf_core_read.h | 264 #define ___apply(fn, n) ___concat(fn, n) argument 320 #define ___rd_first(fn, src, a) ___read(fn, &__t, ___type(src), src, a); argument 321 #define ___rd_last(fn, ...) \ argument 322 ___read(fn, &__t, ___type(___nolast(__VA_ARGS__)), __t, ___last(__VA_ARGS__)); 323 #define ___rd_p1(fn, ...) const void *__t; ___rd_first(fn, __VA_ARGS__) argument 324 #define ___rd_p2(fn, ...) ___rd_p1(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 325 #define ___rd_p3(fn, ...) ___rd_p2(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 326 #define ___rd_p4(fn, ...) ___rd_p3(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 327 #define ___rd_p5(fn, ...) ___rd_p4(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument 328 #define ___rd_p6(fn, ...) ___rd_p5(fn, ___nolast(__VA_ARGS__)) ___rd_last(fn, __VA_ARGS__) argument [all …]
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-rockchip-ep.c | 66 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu() argument 79 desc0 = ROCKCHIP_PCIE_AT_OB_REGION_DESC0_DEVFN(fn) | AXI_WRAPPER_MEM_WRITE; in rockchip_pcie_prog_ep_ob_atu() 92 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header() argument 100 if (fn == 0) { in rockchip_pcie_ep_write_header() 117 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + PCI_REVISION_ID); in rockchip_pcie_ep_write_header() 119 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 122 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 125 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + in rockchip_pcie_ep_write_header() 131 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar() argument 174 reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn); in rockchip_pcie_ep_set_bar() [all …]
|