/drivers/misc/ocxl/ |
D | core.c | 6 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 131 static int reserve_fn_bar(struct ocxl_fn *fn, int bar) in reserve_fn_bar() 148 static void release_fn_bar(struct ocxl_fn *fn, int bar) in release_fn_bar() 263 static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) in init_afu() [all …]
|
D | config.c | 88 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid() 111 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl() 128 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function() 155 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info() 278 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function() 295 int ocxl_config_read_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in ocxl_config_read_function() 335 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info() 373 static int read_template_version(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_template_version() 392 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index() 433 static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_name() [all …]
|
D | pasid.c | 81 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()
|
D | pci.c | 21 struct ocxl_fn *fn; in ocxl_probe() local 46 struct ocxl_fn *fn; in ocxl_remove() local
|
/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 380 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 390 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 401 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 412 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 424 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 436 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument 446 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument 454 #define PINMUX_SINGLE(fn) \ argument 461 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument 463 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) 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() 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()
|
D | rmi_bus.c | 131 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 149 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 155 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 165 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 173 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() 204 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local 228 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local 238 int rmi_register_function(struct rmi_function *fn) in rmi_register_function() 270 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
|
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 102 struct rmi_function *fn = ctx; in rmi_f34_attention() local 133 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local 197 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local 301 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status() 317 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show() local 343 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local 520 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
|
D | rmi_f3a.c | 38 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()
|
D | rmi_f30.c | 84 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()
|
D | rmi_f01.c | 256 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID() 384 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe() 579 static void rmi_f01_remove(struct rmi_function *fn) in rmi_f01_remove() 585 static int rmi_f01_config(struct rmi_function *fn) in rmi_f01_config() 632 static int rmi_f01_suspend(struct rmi_function *fn) in rmi_f01_suspend() 661 static int rmi_f01_resume(struct rmi_function *fn) in rmi_f01_resume() 685 struct rmi_function *fn = ctx; in rmi_f01_attention() local
|
D | rmi_f55.c | 27 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()
|
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() 536 struct rmi_function *fn = f54->fn; in rmi_f54_work() local 614 static int rmi_f54_config(struct rmi_function *fn) in rmi_f54_config() 623 static int rmi_f54_detect(struct rmi_function *fn) in rmi_f54_detect() 661 static int rmi_f54_probe(struct rmi_function *fn) in rmi_f54_probe() 741 static void rmi_f54_remove(struct rmi_function *fn) in rmi_f54_remove()
|
D | rmi_f12.c | 67 struct rmi_function *fn = sensor->fn; in rmi_f12_read_sensor_tuning() local 201 struct rmi_function *fn = ctx; in rmi_f12_attention() local 236 static int rmi_f12_write_control_regs(struct rmi_function *fn) in rmi_f12_write_control_regs() 294 static int rmi_f12_config(struct rmi_function *fn) in rmi_f12_config() 318 static int rmi_f12_probe(struct rmi_function *fn) in rmi_f12_probe()
|
/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() 34 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() 76 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() 225 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 mmc) in cdns_pcie_ep_set_msi() 247 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi() 289 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix() 319 static void cdns_pcie_ep_assert_intx(struct cdns_pcie_ep *ep, u8 fn, u8 intx, in cdns_pcie_ep_assert_intx() [all …]
|
D | pcie-cadence.h | 50 #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 122 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) argument 226 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ argument 228 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ argument 454 static inline void cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writeb() [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() 92 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, 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() 199 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar() 233 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr() 249 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr() 269 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi() 290 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi() 306 static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_assert_intx() 328 static int rockchip_pcie_ep_send_legacy_irq(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_send_legacy_irq() [all …]
|
D | pcie-rcar-ep.c | 162 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header() 249 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar() 262 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_set_msi() 276 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi() 289 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr() 326 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr() 350 u8 fn, u8 intx) in rcar_pcie_ep_assert_intx() 384 u8 fn, u8 interrupt_num) in rcar_pcie_ep_assert_msi() 407 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq()
|
/drivers/md/bcache/ |
D | sysfs.h | 15 #define SHOW(fn) \ argument 19 #define STORE(fn) \ argument 23 #define SHOW_LOCKED(fn) \ argument 33 #define STORE_LOCKED(fn) \ argument
|
D | btree.h | 328 #define bcache_btree(fn, key, b, op, ...) \ argument 348 #define bcache_btree_root(fn, c, op, ...) \ argument 382 struct bkey *from, btree_map_nodes_fn *fn) in bch_btree_map_nodes() 390 btree_map_nodes_fn *fn) in bch_btree_map_leaf_nodes()
|
D | closure.h | 149 closure_fn *fn; member 227 static inline void set_closure_fn(struct closure *cl, closure_fn *fn, in set_closure_fn() 370 static inline void closure_call(struct closure *cl, closure_fn fn, in closure_call()
|
/drivers/sh/intc/ |
D | handle.c | 45 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/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/mmc/core/ |
D | sdio_ops.c | 62 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, in mmc_io_rw_direct_host() 108 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_direct() 114 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_extended()
|
/drivers/usb/gadget/function/ |
D | f_uac2.c | 959 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind() 1338 afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) in afunc_set_alt() 1393 afunc_get_alt(struct usb_function *fn, unsigned intf) in afunc_get_alt() 1413 afunc_disable(struct usb_function *fn) in afunc_disable() 1426 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() 1503 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range() 1584 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in() 1643 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur() 1674 setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) in setup_rq_inf() 1696 afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) in afunc_setup()
|