/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 …]
|
D | access.c | 158 unsigned long (*fn)(unsigned long, in intc_mode_field() 163 return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1)); in intc_mode_field() 168 unsigned long (*fn)(unsigned long, in intc_mode_zero() 173 return fn(addr, handle, 0); in intc_mode_zero() 178 unsigned long (*fn)(unsigned long, in intc_mode_prio() 183 return fn(addr, handle, intc_get_prio_level(irq)); in intc_mode_prio() 202 unsigned long (*fn)(unsigned long, 215 unsigned long (*fn)(unsigned long, 228 unsigned long (*fn)(unsigned long,
|
D | balancing.c | 45 unsigned int i, j, fn, mode; in intc_dist_data() local 62 fn = REG_FN_MODIFY_BASE; in intc_dist_data() 67 fn += (mr->reg_width >> 3) - 1; in intc_dist_data() 68 return _INTC_MK(fn, mode, in intc_dist_data()
|
D | internals.h | 9 #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ argument 10 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ 125 unsigned long (*fn)(unsigned long, 130 unsigned long (*fn)(unsigned long, 135 unsigned long (*fn)(unsigned long,
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 70 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ argument 71 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ argument 72 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ argument 73 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ argument 74 #define REG_HIGH_LOW_WM(ie,fn) CRA(0x2,ie&1,0x40+fn) /* Flow Control Water Marks */ argument 75 #define REG_CT_THRHLD(ie,fn) CRA(0x2,ie&1,0x50+fn) /* Cut Through Threshold */ argument 76 #define REG_FIFO_DROP_CNT(ie,fn) CRA(0x2,ie&1,0x60+fn) /* Drop & CRC Error Counter */ argument 77 #define REG_DEBUG_BUF_CNT(ie,fn) CRA(0x2,ie&1,0x70+fn) /* Input Side Debug Counter */ argument 78 #define REG_BUCKI(fn) CRA(0x2,2,0x20+fn) /* Input Side Debug Counter */ argument 79 #define REG_BUCKE(fn) CRA(0x2,3,0x20+fn) /* Input Side Debug Counter */ argument
|
/drivers/parport/ |
D | ieee1284.c | 615 size_t (*fn) (struct parport *, const void *, size_t, int); in parport_write() 628 fn = port->ops->compat_write_data; in parport_write() 634 fn = port->ops->epp_write_addr; in parport_write() 636 fn = port->ops->epp_write_data; in parport_write() 643 fn = parport_ieee1284_epp_write_addr; in parport_write() 645 fn = parport_ieee1284_epp_write_data; in parport_write() 652 fn = port->ops->ecp_write_addr; in parport_write() 654 fn = port->ops->ecp_write_data; in parport_write() 664 fn = parport_ieee1284_ecp_write_addr; in parport_write() 666 fn = parport_ieee1284_ecp_write_data; in parport_write() [all …]
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | bcmsdh.c | 233 static int brcmf_sdcard_recv_prepare(struct brcmf_sdio_dev *sdiodev, uint fn, in brcmf_sdcard_recv_prepare() argument 260 brcmf_sdcard_recv_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_buf() argument 273 err = brcmf_sdcard_recv_pkt(sdiodev, addr, fn, flags, mypkt); in brcmf_sdcard_recv_buf() 282 brcmf_sdcard_recv_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_pkt() argument 290 fn, addr, pkt->len); in brcmf_sdcard_recv_pkt() 293 err = brcmf_sdcard_recv_prepare(sdiodev, fn, flags, width, &addr); in brcmf_sdcard_recv_pkt() 299 fn, addr, pkt); in brcmf_sdcard_recv_pkt() 304 int brcmf_sdcard_recv_chain(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_chain() argument 312 fn, addr, pktq->qlen); in brcmf_sdcard_recv_chain() 315 err = brcmf_sdcard_recv_prepare(sdiodev, fn, flags, width, &addr); in brcmf_sdcard_recv_chain() [all …]
|
D | sdio_host.h | 194 brcmf_sdcard_send_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 197 brcmf_sdcard_send_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 201 brcmf_sdcard_recv_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 204 brcmf_sdcard_recv_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 207 brcmf_sdcard_recv_chain(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 230 extern int brcmf_sdcard_abort(struct brcmf_sdio_dev *sdiodev, uint fn);
|
/drivers/pci/hotplug/ |
D | pciehp_pci.c | 65 int num, fn; in pciehp_configure_device() local 83 for (fn = 0; fn < 8; fn++) { in pciehp_configure_device() 84 dev = pci_get_slot(parent, PCI_DEVFN(0, fn)); in pciehp_configure_device() 96 for (fn = 0; fn < 8; fn++) { in pciehp_configure_device() 97 dev = pci_get_slot(parent, PCI_DEVFN(0, fn)); in pciehp_configure_device()
|
D | shpchp_pci.c | 41 int num, fn; in shpchp_configure_device() local 59 for (fn = 0; fn < 8; fn++) { in shpchp_configure_device() 60 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn)); in shpchp_configure_device()
|
/drivers/staging/usbip/userspace/src/ |
D | usbip.c | 47 int (*fn)(int argc, char *argv[]); member 55 .fn = usbip_help, 61 .fn = usbip_version, 67 .fn = usbip_attach, 73 .fn = usbip_detach, 79 .fn = usbip_list, 85 .fn = usbip_bind, 91 .fn = usbip_unbind, 135 return cmd->fn(argc, argv); in run_command()
|
/drivers/base/ |
D | attribute_container.c | 143 int (*fn)(struct attribute_container *, in attribute_container_add_device() 171 if (fn) in attribute_container_add_device() 172 fn(cont, dev, &ic->classdev); in attribute_container_add_device() 208 void (*fn)(struct attribute_container *, in attribute_container_remove_device() 229 if (fn) in attribute_container_remove_device() 230 fn(cont, dev, &ic->classdev); in attribute_container_remove_device() 252 int (*fn)(struct attribute_container *, in attribute_container_device_trigger() 267 fn(cont, dev, NULL); in attribute_container_device_trigger() 273 fn(cont, dev, &ic->classdev); in attribute_container_device_trigger() 293 int (*fn)(struct attribute_container *, in attribute_container_trigger() [all …]
|
/drivers/usb/gadget/ |
D | f_uac2.c | 939 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind() argument 941 struct audio_dev *agdev = func_to_agdev(fn); in afunc_bind() 948 ret = usb_interface_id(cfg, fn); in afunc_bind() 958 ret = usb_interface_id(cfg, fn); in afunc_bind() 969 ret = usb_interface_id(cfg, fn); in afunc_bind() 997 fn->descriptors = usb_copy_descriptors(fs_audio_desc); in afunc_bind() 999 fn->hs_descriptors = usb_copy_descriptors(hs_audio_desc); in afunc_bind() 1023 afunc_unbind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_unbind() argument 1025 struct audio_dev *agdev = func_to_agdev(fn); in afunc_unbind() 1039 usb_free_descriptors(fn->hs_descriptors); in afunc_unbind() [all …]
|
/drivers/mmc/core/ |
D | sdio_ops.c | 68 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, in mmc_io_rw_direct_host() argument 75 BUG_ON(fn > 7); in mmc_io_rw_direct_host() 83 cmd.arg |= fn << 28; in mmc_io_rw_direct_host() 114 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_direct() argument 118 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out); in mmc_io_rw_direct() 121 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, in mmc_io_rw_extended() argument 130 BUG_ON(fn > 7); in mmc_io_rw_extended() 142 cmd.arg |= fn << 28; in mmc_io_rw_extended()
|
/drivers/md/ |
D | dm-kcopyd.c | 235 dm_kcopyd_notify_fn fn; member 327 dm_kcopyd_notify_fn fn = job->fn; in run_complete_job() local 338 fn(read_err, write_err, context); in run_complete_job() 387 .notify.fn = complete_io, in run_io_job() 424 int (*fn) (struct kcopyd_job *)) in process_jobs() 431 r = fn(job); in process_jobs() 547 sub_job->fn = segment_complete; in segment_complete() 585 unsigned int flags, dm_kcopyd_notify_fn fn, void *context) in dm_kcopyd_copy() argument 617 job->fn = fn; in dm_kcopyd_copy() 635 unsigned flags, dm_kcopyd_notify_fn fn, void *context) in dm_kcopyd_zero() argument [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_ioc32.c | 54 drm_ioctl_compat_t *fn = NULL; in nouveau_compat_ioctl() local 62 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE]; in nouveau_compat_ioctl() 64 if (fn != NULL) in nouveau_compat_ioctl() 65 ret = (*fn)(filp, cmd, arg); in nouveau_compat_ioctl()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-notif-wait.c | 86 if (w->fn) in iwl_notification_wait_notify() 87 w->fn(notif_wait, pkt, w->fn_data); in iwl_notification_wait_notify() 113 void (*fn)(struct iwl_notif_wait_data *notif_wait, in iwl_init_notification_wait() 117 wait_entry->fn = fn; in iwl_init_notification_wait()
|
D | iwl-debug.c | 67 #define __iwl_fn(fn) \ argument 68 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ 77 dev_ ##fn(dev, "%pV", &vaf); \ 78 trace_iwlwifi_ ##fn(&vaf); \
|
/drivers/s390/char/ |
D | raw3270.c | 357 rc = view->fn->intv(view, rq, irb); in raw3270_irq() 494 .fn = &raw3270_init_fn 904 oldview->fn->deactivate(oldview); in raw3270_activate_view() 907 rc = view->fn->activate(view); in raw3270_activate_view() 911 if (!oldview || oldview->fn->activate(oldview) != 0) { in raw3270_activate_view() 916 if (nv->fn->activate(nv) == 0) in raw3270_activate_view() 941 view->fn->deactivate(view); in raw3270_deactivate_view() 951 if (view->fn->activate(view) == 0) in raw3270_deactivate_view() 964 raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor) in raw3270_add_view() argument 981 view->fn = fn; in raw3270_add_view() [all …]
|
/drivers/hwmon/ |
D | vt1211.c | 354 int fn = sensor_attr_2->nr; in show_in() local 357 switch (fn) { in show_in() 372 dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); in show_in() 385 int fn = sensor_attr_2->nr; in set_in() local 394 switch (fn) { in set_in() 404 dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); in set_in() 428 int fn = sensor_attr_2->nr; in show_temp() local 431 switch (fn) { in show_temp() 446 dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); in show_temp() 459 int fn = sensor_attr_2->nr; in set_temp() local [all …]
|
/drivers/media/video/cx18/ |
D | cx18-firmware.c | 101 static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) in load_cpu_fw_direct() argument 109 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { in load_cpu_fw_direct() 110 CX18_ERR("Unable to open firmware %s\n", fn); in load_cpu_fw_direct() 133 CX18_INFO("loaded %s firmware (%zd bytes)\n", fn, fw->size); in load_cpu_fw_direct() 140 static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, in load_apu_fw_direct() argument 153 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { in load_apu_fw_direct() 154 CX18_ERR("unable to open firmware %s\n", fn); in load_apu_fw_direct() 201 fn, apu_version, fw->size); in load_apu_fw_direct()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 340 unsigned int mb = pi->adapter->fn; in set_addr_filters() 385 ret = t4_set_rxmode(pi->adapter, pi->adapter->fn, pi->viid, mtu, in set_rxmode() 402 unsigned int mb = pi->adapter->fn; in link_start() 642 err = t4_config_rss_range(pi->adapter, pi->adapter->fn, pi->viid, 0, in write_rss() 1337 t4_restart_aneg(p->adapter, p->adapter->fn, p->tx_chan); in restart_autoneg() 1354 return t4_identify_port(adap, adap->fn, netdev2pinfo(dev)->viid, val); in identify_port() 1500 return t4_link_start(p->adapter, p->adapter->fn, p->tx_chan, in set_settings() 1533 return t4_link_start(p->adapter, p->adapter->fn, p->tx_chan, in set_pauseparam() 1648 err = t4_set_params(adap, adap->fn, adap->fn, 0, 1, &v, in set_rxq_intr_params() 1699 static int eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz) in eeprom_ptov() argument [all …]
|
/drivers/net/wireless/bcmdhd/include/ |
D | bcmsdh.h | 73 extern int bcmsdh_intr_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh); 86 extern int bcmsdh_devremove_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh); 137 extern int bcmsdh_send_buf(void *sdh, uint32 addr, uint fn, uint flags, 140 extern int bcmsdh_recv_buf(void *sdh, uint32 addr, uint fn, uint flags, 167 extern int bcmsdh_abort(void *sdh, uint fn);
|
/drivers/s390/cio/ |
D | device_pgid.c | 120 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp() argument 127 pgid->inf.fc = fn; in spid_build_cp() 142 u8 fn; in spid_do() local 150 fn = SPID_FUNC_ESTABLISH; in spid_do() 152 fn = SPID_FUNC_RESIGN; in spid_do() 154 fn |= SPID_FUNC_MULTI_PATH; in spid_do() 155 spid_build_cp(cdev, fn); in spid_do() 514 u8 fn; in ccw_device_disband_start() local 525 fn = SPID_FUNC_DISBAND; in ccw_device_disband_start() 527 fn |= SPID_FUNC_MULTI_PATH; in ccw_device_disband_start() [all …]
|
/drivers/scsi/ |
D | sd_dif.c | 56 static void sd_dif_type1_generate(struct blk_integrity_exchg *bix, csum_fn *fn) in sd_dif_type1_generate() argument 64 sdt->guard_tag = fn(buf, bix->sector_size); in sd_dif_type1_generate() 83 static int sd_dif_type1_verify(struct blk_integrity_exchg *bix, csum_fn *fn) in sd_dif_type1_verify() argument 112 csum = fn(buf, bix->sector_size); in sd_dif_type1_verify() 191 static void sd_dif_type3_generate(struct blk_integrity_exchg *bix, csum_fn *fn) in sd_dif_type3_generate() argument 198 sdt->guard_tag = fn(buf, bix->sector_size); in sd_dif_type3_generate() 216 static int sd_dif_type3_verify(struct blk_integrity_exchg *bix, csum_fn *fn) in sd_dif_type3_verify() argument 229 csum = fn(buf, bix->sector_size); in sd_dif_type3_verify()
|