Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/drivers/misc/ocxl/
A Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get()
11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put()
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()
56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local
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
301 struct ocxl_fn *fn; in alloc_function() local
451 struct ocxl_fn *fn; in init_function() local
479 struct ocxl_fn *fn; in ocxl_function_open() local
[all …]
A Dconfig.c77 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid()
100 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl()
117 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function()
144 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info()
267 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function()
324 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info()
381 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index()
422 static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_name()
440 static int read_afu_mmio(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_mmio()
565 struct ocxl_fn_config *fn, in read_afu_lpc_memory_info()
[all …]
A Dpasid.c81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc()
91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free()
96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc()
104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free()
/drivers/pinctrl/renesas/
A Dsh_pfc.h361 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
371 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
382 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
393 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
405 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
427 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument
435 #define PINMUX_SINGLE(fn) \ argument
446 #define PORT_GP_CFG_2(bank, fn, sfx, cfg) \ argument
593 #define PORT_GP_32_REV(bank, fn, sfx) \ argument
652 #define PORT_10(pn, fn, pfx, sfx) \ argument
[all …]
/drivers/input/rmi4/
A Drmi_f03.c29 struct rmi_function *fn; member
40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button()
59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons()
96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local
142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local
165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local
198 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe()
222 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config()
246 struct rmi_function *fn = ctx; in rmi_f03_attention() local
307 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
A Drmi_bus.c132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local
150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local
156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
205 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local
229 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local
239 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
271 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
A Drmi_f34.c19 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local
49 struct rmi_function *fn = f34->fn; in rmi_f34_command() local
103 struct rmi_function *fn = ctx; in rmi_f34_attention() local
134 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local
198 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local
298 struct rmi_function *fn; in rmi_driver_bootloader_id_show() local
326 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local
520 struct rmi_function *fn = f34->fn; in rmi_f34v5_probe() local
577 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
A Drmi_f1a.c17 static int rmi_f1a_parse_device_properties(struct rmi_function *fn, struct f1a_data *f1a) in rmi_f1a_parse_device_properties()
57 struct rmi_function *fn = ctx; in rmi_f1a_attention() local
78 static int rmi_f1a_config(struct rmi_function *fn) in rmi_f1a_config()
89 static int rmi_f1a_initialize(struct rmi_function *fn, struct f1a_data *f1a) in rmi_f1a_initialize()
108 static int rmi_f1a_probe(struct rmi_function *fn) in rmi_f1a_probe()
A Drmi_f3a.c38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button()
58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local
94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config()
122 static int rmi_f3a_map_gpios(struct rmi_function *fn, struct f3a_data *f3a, in rmi_f3a_map_gpios()
167 static int rmi_f3a_initialize(struct rmi_function *fn, struct f3a_data *f3a) in rmi_f3a_initialize()
207 static int rmi_f3a_probe(struct rmi_function *fn) in rmi_f3a_probe()
A Drmi_f30.c84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters()
101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button()
124 struct rmi_function *fn = ctx; in rmi_f30_attention() local
163 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config()
223 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios()
273 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize()
366 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
A Drmi_f21.c43 struct rmi_function *fn = ctx; in rmi_f21_attention() local
78 static int rmi_f21_config(struct rmi_function *fn) in rmi_f21_config()
87 static int rmi_f21_initialize(struct rmi_function *fn, struct f21_data *f21) in rmi_f21_initialize()
103 static int rmi_f21_probe(struct rmi_function *fn) in rmi_f21_probe()
A Drmi_f01.c256 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID()
383 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe()
578 static void rmi_f01_remove(struct rmi_function *fn) in rmi_f01_remove()
584 static int rmi_f01_config(struct rmi_function *fn) in rmi_f01_config()
631 static int rmi_f01_suspend(struct rmi_function *fn) in rmi_f01_suspend()
660 static int rmi_f01_resume(struct rmi_function *fn) in rmi_f01_resume()
684 struct rmi_function *fn = ctx; in rmi_f01_attention() local
A Drmi_f54.c97 struct rmi_function *fn; member
177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) in rmi_f54_request_report()
534 struct rmi_function *fn = f54->fn; in rmi_f54_work() local
612 static int rmi_f54_config(struct rmi_function *fn) in rmi_f54_config()
621 static int rmi_f54_detect(struct rmi_function *fn) in rmi_f54_detect()
659 static int rmi_f54_probe(struct rmi_function *fn) in rmi_f54_probe()
738 static void rmi_f54_remove(struct rmi_function *fn) in rmi_f54_remove()
A Drmi_f12.c68 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning() local
224 struct rmi_function *fn = ctx; in rmi_f12_attention() local
259 static int rmi_f12_write_control_regs(struct rmi_function *fn) in rmi_f12_write_control_regs()
317 static int rmi_f12_config(struct rmi_function *fn) in rmi_f12_config()
341 static int rmi_f12_probe(struct rmi_function *fn) in rmi_f12_probe()
A Drmi_f55.c27 struct rmi_function *fn; member
36 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect()
108 static int rmi_f55_probe(struct rmi_function *fn) in rmi_f55_probe()
/drivers/pci/controller/cadence/
A Dpcie-cadence-ep.c22 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn()
37 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header()
79 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_bar()
150 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_clear_bar()
183 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_addr()
205 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_unmap_addr()
248 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi()
290 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix()
379 static int cdns_pcie_ep_send_msi_irq(struct cdns_pcie_ep *ep, u8 fn, u8 vfn, in cdns_pcie_ep_send_msi_irq()
429 static int cdns_pcie_ep_map_msi_irq(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_msi_irq()
[all …]
A Dpcie-cadence.h50 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG(bar, fn) \ argument
52 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ argument
54 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ argument
56 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG(bar, fn) \ argument
58 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG0(fn) \ argument
60 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG1(fn) \ argument
126 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) argument
136 #define CDNS_PCIE_CORE_PF_I_ARI_CAP_AND_CTRL(fn) (0x144 + (fn) * 0x1000) argument
237 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ argument
239 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ argument
[all …]
/drivers/pci/controller/
A Dpcie-rcar-ep.c159 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header()
246 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar()
259 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 nr_irqs) in rcar_pcie_ep_set_msi()
273 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi()
286 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr()
323 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr()
347 u8 fn, u8 intx) in rcar_pcie_ep_assert_intx()
381 u8 fn, u8 interrupt_num) in rcar_pcie_ep_assert_msi()
404 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq()
A Dpcie-rockchip-ep.c88 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu()
114 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header()
151 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar()
219 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar()
275 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr()
294 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr()
310 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi()
332 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi()
348 static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_assert_intx()
393 static int rockchip_pcie_ep_send_msi_irq(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_send_msi_irq()
[all …]
/drivers/sh/intc/
A Dhandle.c45 unsigned int fn, mode; in _intc_mask_data() local
113 unsigned int fn, n, mode, bit; in _intc_prio_data() local
179 unsigned int i, j, fn, mode; in intc_ack_data() local
211 unsigned long (*fn)(unsigned long, unsigned long, in intc_enable_disable() local
262 unsigned int i, j, fn, bit; in intc_get_sense_handle() local
/drivers/md/bcache/
A Dsysfs.h15 #define SHOW(fn) \ argument
19 #define STORE(fn) \ argument
23 #define SHOW_LOCKED(fn) \ argument
33 #define STORE_LOCKED(fn) \ argument
/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
A Drpc.c454 r535_gsp_msg_recv(struct nvkm_gsp *gsp, int fn, u32 gsp_rpc_len) in r535_gsp_msg_recv()
519 r535_gsp_msg_ntfy_add(struct nvkm_gsp *gsp, u32 fn, nvkm_gsp_msg_ntfy_func func, void *priv) in r535_gsp_msg_ntfy_add()
537 r535_gsp_rpc_poll(struct nvkm_gsp *gsp, u32 fn) in r535_gsp_rpc_poll()
551 r535_gsp_rpc_handle_reply(struct nvkm_gsp *gsp, u32 fn, in r535_gsp_rpc_handle_reply()
581 u32 fn = rpc->function; in r535_gsp_rpc_send() local
607 r535_gsp_rpc_get(struct nvkm_gsp *gsp, u32 fn, u32 payload_size) in r535_gsp_rpc_get()
638 const u32 fn = rpc->function; in r535_gsp_rpc_push() local
/drivers/net/ethernet/chelsio/cxgb/
A Dvsc7326_reg.h71 #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/usb/gadget/function/
A Df_uac2.c1023 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind()
1428 afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) in afunc_set_alt()
1483 afunc_get_alt(struct usb_function *fn, unsigned intf) in afunc_get_alt()
1503 afunc_disable(struct usb_function *fn) in afunc_disable()
1516 afunc_suspend(struct usb_function *fn) in afunc_suspend()
1524 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur()
1601 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range()
1693 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in()
1705 struct usb_function *fn = ep->driver_data; in uac2_cs_control_sam_freq() local
1771 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur()
[all …]
/drivers/gpu/drm/i915/
A Di915_sw_fence.h32 i915_sw_fence_notify_t fn; member
47 #define i915_sw_fence_init(fence, fn) \ argument
55 #define i915_sw_fence_init(fence, fn) \ argument

Completed in 144 milliseconds

12345678910>>...12