/drivers/pinctrl/sh-pfc/ |
D | sh_pfc.h | 174 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx) argument 176 #define PORT_10(fn, pfx, sfx) \ argument 177 PORT_1(fn, pfx##0, sfx), PORT_1(fn, pfx##1, sfx), \ 178 PORT_1(fn, pfx##2, sfx), PORT_1(fn, pfx##3, sfx), \ 179 PORT_1(fn, pfx##4, sfx), PORT_1(fn, pfx##5, sfx), \ 180 PORT_1(fn, pfx##6, sfx), PORT_1(fn, pfx##7, sfx), \ 181 PORT_1(fn, pfx##8, sfx), PORT_1(fn, pfx##9, sfx) 183 #define PORT_10_REV(fn, pfx, sfx) \ argument 184 PORT_1(fn, pfx##9, sfx), PORT_1(fn, pfx##8, sfx), \ 185 PORT_1(fn, pfx##7, sfx), PORT_1(fn, pfx##6, sfx), \ [all …]
|
D | pfc-r8a73a4.c | 29 #define CPU_ALL_PORT(fn, pfx, sfx) \ argument 31 PORT_10(fn, pfx, sfx), \ 32 PORT_10(fn, pfx##1, sfx), \ 33 PORT_10(fn, pfx##2, sfx), \ 34 PORT_1(fn, pfx##30, sfx), \ 36 PORT_1(fn, pfx##32, sfx), PORT_1(fn, pfx##33, sfx), \ 37 PORT_1(fn, pfx##34, sfx), PORT_1(fn, pfx##35, sfx), \ 38 PORT_1(fn, pfx##36, sfx), PORT_1(fn, pfx##37, sfx), \ 39 PORT_1(fn, pfx##38, sfx), PORT_1(fn, pfx##39, sfx), \ 40 PORT_1(fn, pfx##40, sfx), \ [all …]
|
D | pfc-r8a7779.c | 25 #define PORT_GP_1(bank, pin, fn, sfx) fn(bank, pin, GP_##bank##_##pin, sfx) argument 27 #define PORT_GP_32(bank, fn, sfx) \ argument 28 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 29 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 30 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 31 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 32 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 33 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 34 PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 35 PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ [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 …]
|
D | access.c | 167 unsigned long (*fn)(unsigned long, in intc_mode_field() 172 return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1)); in intc_mode_field() 177 unsigned long (*fn)(unsigned long, in intc_mode_zero() 182 return fn(addr, handle, 0); in intc_mode_zero() 187 unsigned long (*fn)(unsigned long, in intc_mode_prio() 192 return fn(addr, handle, intc_get_prio_level(irq)); in intc_mode_prio() 211 unsigned long (*fn)(unsigned long, 224 unsigned long (*fn)(unsigned long, 237 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 | 10 #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ argument 11 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ 127 unsigned long (*fn)(unsigned long, 132 unsigned long (*fn)(unsigned long, 137 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/md/bcache/ |
D | sysfs.h | 14 #define SHOW(fn) \ argument 15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ 18 #define STORE(fn) \ argument 19 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ 22 #define SHOW_LOCKED(fn) \ argument 23 SHOW(fn) \ 27 ret = __ ## fn ## _show(kobj, attr, buf); \ 32 #define STORE_LOCKED(fn) \ argument 33 STORE(fn) \ 37 ret = __ ## fn ## _store(kobj, attr, buf, size); \
|
D | closure.h | 244 closure_fn *fn; member 622 static inline void set_closure_fn(struct closure *cl, closure_fn *fn, in set_closure_fn() argument 627 cl->fn = fn; in set_closure_fn() 656 static inline void closure_call(struct closure *cl, closure_fn fn, in closure_call() argument 661 continue_at_nobarrier(cl, fn, wq); in closure_call() 664 static inline void closure_trylock_call(struct closure *cl, closure_fn fn, in closure_trylock_call() argument 669 continue_at_nobarrier(cl, fn, wq); in closure_trylock_call()
|
/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/net/wireless/brcm80211/brcmfmac/ |
D | bcmsdh.c | 306 static int brcmf_sdcard_recv_prepare(struct brcmf_sdio_dev *sdiodev, uint fn, in brcmf_sdcard_recv_prepare() argument 333 brcmf_sdcard_recv_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_buf() argument 346 err = brcmf_sdcard_recv_pkt(sdiodev, addr, fn, flags, mypkt); in brcmf_sdcard_recv_buf() 355 brcmf_sdcard_recv_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_pkt() argument 363 fn, addr, pkt->len); in brcmf_sdcard_recv_pkt() 366 err = brcmf_sdcard_recv_prepare(sdiodev, fn, flags, width, &addr); in brcmf_sdcard_recv_pkt() 372 fn, addr, pkt); in brcmf_sdcard_recv_pkt() 378 int brcmf_sdcard_recv_chain(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, in brcmf_sdcard_recv_chain() argument 386 fn, addr, pktq->qlen); in brcmf_sdcard_recv_chain() 389 err = brcmf_sdcard_recv_prepare(sdiodev, fn, flags, width, &addr); in brcmf_sdcard_recv_chain() [all …]
|
D | sdio_host.h | 211 brcmf_sdcard_send_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 214 brcmf_sdcard_send_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 218 brcmf_sdcard_recv_pkt(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 221 brcmf_sdcard_recv_buf(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 224 brcmf_sdcard_recv_chain(struct brcmf_sdio_dev *sdiodev, u32 addr, uint fn, 249 extern int brcmf_sdcard_abort(struct brcmf_sdio_dev *sdiodev, uint fn);
|
/drivers/usb/gadget/ |
D | f_uac2.c | 916 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind() argument 918 struct audio_dev *agdev = func_to_agdev(fn); in afunc_bind() 925 ret = usb_interface_id(cfg, fn); in afunc_bind() 935 ret = usb_interface_id(cfg, fn); in afunc_bind() 946 ret = usb_interface_id(cfg, fn); in afunc_bind() 978 ret = usb_assign_descriptors(fn, fs_audio_desc, hs_audio_desc, NULL); in afunc_bind() 1009 usb_free_all_descriptors(fn); in afunc_bind() 1018 afunc_unbind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_unbind() argument 1020 struct audio_dev *agdev = func_to_agdev(fn); in afunc_unbind() 1030 usb_free_all_descriptors(fn); in afunc_unbind() [all …]
|
/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/s390/char/ |
D | raw3270.c | 363 rc = view->fn->intv(view, rq, irb); in raw3270_irq() 553 if (view->fn->resize) in raw3270_size_device_done() 554 view->fn->resize(view, rp->model, rp->rows, rp->cols); in raw3270_size_device_done() 558 if (view->fn->activate(view) == 0) in raw3270_size_device_done() 743 rp->init_view.fn = &raw3270_init_fn; in raw3270_setup_device() 871 if (rp->view && rp->view->fn->deactivate) { in raw3270_activate_view() 873 oldview->fn->deactivate(oldview); in raw3270_activate_view() 876 rc = view->fn->activate(view); in raw3270_activate_view() 880 if (!oldview || oldview->fn->activate(oldview) != 0) { in raw3270_activate_view() 885 if (nv->fn->activate(nv) == 0) in raw3270_activate_view() [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 133 BUG_ON(fn > 7); in mmc_io_rw_extended() 145 cmd.arg |= fn << 28; in mmc_io_rw_extended()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_ioc32.c | 53 drm_ioctl_compat_t *fn = NULL; in nouveau_compat_ioctl() local 61 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE]; in nouveau_compat_ioctl() 63 if (fn != NULL) in nouveau_compat_ioctl() 64 ret = (*fn)(filp, cmd, arg); in nouveau_compat_ioctl()
|
/drivers/md/ |
D | dm-kcopyd.c | 349 dm_kcopyd_notify_fn fn; member 441 dm_kcopyd_notify_fn fn = job->fn; in run_complete_job() local 452 fn(read_err, write_err, context); in run_complete_job() 503 .notify.fn = complete_io, in run_io_job() 542 int (*fn) (struct kcopyd_job *)) in process_jobs() 549 r = fn(job); in process_jobs() 665 sub_job->fn = segment_complete; in segment_complete() 703 unsigned int flags, dm_kcopyd_notify_fn fn, void *context) in dm_kcopyd_copy() argument 745 job->fn = fn; in dm_kcopyd_copy() 763 unsigned flags, dm_kcopyd_notify_fn fn, void *context) in dm_kcopyd_zero() argument [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-notif-wait.c | 109 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { in iwl_notification_wait_notify() 140 bool (*fn)(struct iwl_notif_wait_data *notif_wait, in iwl_init_notification_wait() 147 wait_entry->fn = fn; in iwl_init_notification_wait()
|
D | iwl-debug.c | 73 #define __iwl_fn(fn) \ argument 74 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ 83 dev_ ##fn(dev, "%pV", &vaf); \ 84 trace_iwlwifi_ ##fn(&vaf); \
|
/drivers/s390/cio/ |
D | device_pgid.c | 132 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp() argument 139 pgid->inf.fc = fn; in spid_build_cp() 170 u8 fn; in pgid_wipeout_start() local 182 fn = SPID_FUNC_DISBAND; in pgid_wipeout_start() 184 fn |= SPID_FUNC_MULTI_PATH; in pgid_wipeout_start() 185 spid_build_cp(cdev, fn); in pgid_wipeout_start() 196 u8 fn; in spid_do() local 204 fn = SPID_FUNC_ESTABLISH; in spid_do() 206 fn = SPID_FUNC_RESIGN; in spid_do() 208 fn |= SPID_FUNC_MULTI_PATH; in spid_do() [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/pci/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() 206 fn, apu_version, fw->size); in load_apu_fw_direct()
|