/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 380 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 381 PINMUX_DATA(fn##_MARK, FN_##fn) 390 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 391 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 401 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 402 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 412 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 413 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel) 424 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 425 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) [all …]
|
D | pfc-r8a73a4.c | 13 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument 15 PORT_10(0, fn, pfx, sfx), \ 16 PORT_10(10, fn, pfx##1, sfx), \ 17 PORT_10(20, fn, pfx##2, sfx), \ 18 PORT_1(30, fn, pfx##30, sfx), \ 20 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \ 21 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \ 22 PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \ 23 PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \ 24 PORT_1(40, fn, pfx##40, sfx), \ [all …]
|
/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 | 88 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid() argument 100 fn->max_pasid_log = -1; in read_pasid() 104 fn->max_pasid_log = EXTRACT_BITS(val, 8, 12); in read_pasid() 108 dev_dbg(&dev->dev, " Max PASID log = %d\n", fn->max_pasid_log); in read_pasid() 111 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl() argument 124 fn->dvsec_tl_pos = pos; in read_dvsec_tl() 128 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function() argument 138 fn->dvsec_function_pos = pos; in read_dvsec_function() 143 fn->max_afu_index = -1; in read_dvsec_function() 147 fn->max_afu_index = EXTRACT_BITS(val, 24, 29); in read_dvsec_function() [all …]
|
D | pci.c | 21 struct ocxl_fn *fn; in ocxl_probe() local 24 fn = ocxl_function_open(dev); in ocxl_probe() 25 if (IS_ERR(fn)) in ocxl_probe() 26 return PTR_ERR(fn); in ocxl_probe() 28 pci_set_drvdata(dev, fn); in ocxl_probe() 30 afu_list = ocxl_function_afu_list(fn); in ocxl_probe() 46 struct ocxl_fn *fn; in ocxl_remove() local 50 fn = pci_get_drvdata(dev); in ocxl_remove() 51 afu_list = ocxl_function_afu_list(fn); in ocxl_remove() 57 ocxl_function_close(fn); in ocxl_remove()
|
D | pasid.c | 81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc() argument 85 if (fn->config.max_pasid_log < 0) in ocxl_pasid_afu_alloc() 87 max_pasid = 1 << fn->config.max_pasid_log; in ocxl_pasid_afu_alloc() 88 return range_alloc(&fn->pasid_list, size, max_pasid, "afu pasid"); in ocxl_pasid_afu_alloc() 91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free() argument 93 return range_free(&fn->pasid_list, start, size, "afu pasid"); in ocxl_pasid_afu_free() 96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc() argument 100 max_actag = fn->actag_enabled; in ocxl_actag_afu_alloc() 101 return range_alloc(&fn->actag_list, size, max_actag, "afu actag"); in ocxl_actag_afu_alloc() 104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free() argument [all …]
|
/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 | 131 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 133 kfree(fn); in rmi_release_function() 149 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 151 return fn->fd.function_number == handler->func; in rmi_function_match() 155 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 158 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe() 161 fn->fd.function_number); in rmi_function_of_probe() 162 fn->dev.of_node = of_get_child_by_name(node, of_name); in rmi_function_of_probe() 165 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 173 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() 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_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_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_f34v7.c | 27 ret = rmi_read_block(f34->fn->rmi_dev, in rmi_f34v7_read_flash_status() 28 f34->fn->fd.data_base_addr + f34->v7.off.flash_status, 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 + f34->v7.off.flash_cmd, 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() 82 base = f34->fn->fd.data_base_addr; in rmi_f34v7_write_command_single_transaction() 124 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 …]
|
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_f11.c | 696 sensor->data_pkt = devm_kzalloc(&sensor->fn->dev, sensor->pkt_size, in f11_2d_construct_data() 754 static int f11_read_control_regs(struct rmi_function *fn, in f11_read_control_regs() argument 756 struct rmi_device *rmi_dev = fn->rmi_dev; in f11_read_control_regs() 763 dev_err(&fn->dev, "Failed to read ctrl0, code: %d.\n", error); in f11_read_control_regs() 770 static int f11_write_control_regs(struct rmi_function *fn, in f11_write_control_regs() argument 775 struct rmi_device *rmi_dev = fn->rmi_dev; in f11_write_control_regs() 1061 static int rmi_f11_initialize(struct rmi_function *fn) in rmi_f11_initialize() argument 1063 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f11_initialize() 1078 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Initializing F11 values.\n"); in rmi_f11_initialize() 1085 f11 = devm_kzalloc(&fn->dev, sizeof(struct f11_data) + mask_size * 2, in rmi_f11_initialize() [all …]
|
D | rmi_driver.c | 37 struct rmi_function *fn, *tmp; in rmi_free_function_list() local 43 list_for_each_entry_safe_reverse(fn, tmp, in rmi_free_function_list() 45 list_del(&fn->node); in rmi_free_function_list() 46 rmi_unregister_function(fn); in rmi_free_function_list() 60 static int reset_one_function(struct rmi_function *fn) in reset_one_function() argument 65 if (!fn || !fn->dev.driver) in reset_one_function() 68 fh = to_rmi_function_handler(fn->dev.driver); in reset_one_function() 70 retval = fh->reset(fn); in reset_one_function() 72 dev_err(&fn->dev, "Reset failed with code %d.\n", in reset_one_function() 79 static int configure_one_function(struct rmi_function *fn) in configure_one_function() argument [all …]
|
/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 …]
|
D | pcie-cadence.h | 50 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG(bar, fn) \ argument 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) 56 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG(bar, fn) \ argument 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) [all …]
|
/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 …]
|
/drivers/sh/intc/ |
D | handle.c | 45 unsigned int fn, mode; in _intc_mask_data() local 56 fn = REG_FN_WRITE_BASE; in _intc_mask_data() 61 fn = REG_FN_MODIFY_BASE; in _intc_mask_data() 73 fn += (mr->reg_width >> 3) - 1; in _intc_mask_data() 74 return _INTC_MK(fn, mode, in _intc_mask_data() 113 unsigned int fn, n, mode, bit; in _intc_prio_data() local 124 fn = REG_FN_WRITE_BASE; in _intc_prio_data() 129 fn = REG_FN_MODIFY_BASE; in _intc_prio_data() 137 fn += (pr->reg_width >> 3) - 1; in _intc_prio_data() 144 return _INTC_MK(fn, mode, in _intc_prio_data() [all …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 71 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ argument 72 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ argument 73 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ argument 74 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ argument 75 #define REG_HIGH_LOW_WM(ie,fn) CRA(0x2,ie&1,0x40+fn) /* Flow Control Water Marks */ argument 76 #define REG_CT_THRHLD(ie,fn) CRA(0x2,ie&1,0x50+fn) /* Cut Through Threshold */ argument 77 #define REG_FIFO_DROP_CNT(ie,fn) CRA(0x2,ie&1,0x60+fn) /* Drop & CRC Error Counter */ argument 78 #define REG_DEBUG_BUF_CNT(ie,fn) CRA(0x2,ie&1,0x70+fn) /* Input Side Debug Counter */ argument 79 #define REG_BUCKI(fn) CRA(0x2,2,0x20+fn) /* Input Side Debug Counter */ argument 80 #define REG_BUCKE(fn) CRA(0x2,3,0x20+fn) /* Input Side Debug Counter */ argument
|
/drivers/parport/ |
D | ieee1284.c | 591 size_t (*fn) (struct parport *, const void *, size_t, int); in parport_write() 604 fn = port->ops->compat_write_data; in parport_write() 610 fn = port->ops->epp_write_addr; in parport_write() 612 fn = port->ops->epp_write_data; in parport_write() 618 fn = parport_ieee1284_epp_write_addr; in parport_write() 620 fn = parport_ieee1284_epp_write_data; in parport_write() 627 fn = port->ops->ecp_write_addr; in parport_write() 629 fn = port->ops->ecp_write_data; in parport_write() 638 fn = parport_ieee1284_ecp_write_addr; in parport_write() 640 fn = parport_ieee1284_ecp_write_data; in parport_write() [all …]
|
/drivers/base/ |
D | attribute_container.c | 142 int (*fn)(struct attribute_container *, in attribute_container_add_device() 170 if (fn) in attribute_container_add_device() 171 fn(cont, dev, &ic->classdev); in attribute_container_add_device() 207 void (*fn)(struct attribute_container *, in attribute_container_remove_device() 228 if (fn) in attribute_container_remove_device() 229 fn(cont, dev, &ic->classdev); in attribute_container_remove_device() 242 int (*fn)(struct attribute_container *, in do_attribute_container_device_trigger_safe() 252 return fn(cont, dev, NULL); in do_attribute_container_device_trigger_safe() 256 ret = fn(cont, dev, &ic->classdev); in do_attribute_container_device_trigger_safe() 298 int (*fn)(struct attribute_container *, in attribute_container_device_trigger_safe() [all …]
|