/Linux-v4.19/drivers/mmc/core/ |
D | sdio_io.c | 29 void sdio_claim_host(struct sdio_func *func) in sdio_claim_host() argument 31 if (WARN_ON(!func)) in sdio_claim_host() 34 mmc_claim_host(func->card->host); in sdio_claim_host() 45 void sdio_release_host(struct sdio_func *func) in sdio_release_host() argument 47 if (WARN_ON(!func)) in sdio_release_host() 50 mmc_release_host(func->card->host); in sdio_release_host() 61 int sdio_enable_func(struct sdio_func *func) in sdio_enable_func() argument 67 if (!func) in sdio_enable_func() 70 pr_debug("SDIO: Enabling device %s...\n", sdio_func_id(func)); in sdio_enable_func() 72 ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, ®); in sdio_enable_func() [all …]
|
D | sdio_bus.c | 39 struct sdio_func *func; \ 41 func = dev_to_sdio_func (dev); \ 42 return sprintf (buf, format_string, func->field); \ 52 struct sdio_func *func = dev_to_sdio_func (dev); in modalias_show() local 55 func->class, func->vendor, func->device); in modalias_show() 68 static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, in sdio_match_one() argument 71 if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class) in sdio_match_one() 73 if (id->vendor != (__u16)SDIO_ANY_ID && id->vendor != func->vendor) in sdio_match_one() 75 if (id->device != (__u16)SDIO_ANY_ID && id->device != func->device) in sdio_match_one() 80 static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, in sdio_match_device() argument [all …]
|
D | sdio_irq.c | 39 struct sdio_func *func; in process_sdio_pending_irqs() local 46 func = card->sdio_single_irq; in process_sdio_pending_irqs() 47 if (func && host->sdio_irq_pending) { in process_sdio_pending_irqs() 48 func->irq_handler(func); in process_sdio_pending_irqs() 73 func = card->sdio_func[i - 1]; in process_sdio_pending_irqs() 74 if (!func) { in process_sdio_pending_irqs() 78 } else if (func->irq_handler) { in process_sdio_pending_irqs() 79 func->irq_handler(func); in process_sdio_pending_irqs() 83 sdio_func_id(func)); in process_sdio_pending_irqs() 258 struct sdio_func *func; in sdio_single_irq_set() local [all …]
|
D | sdio_cis.c | 27 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1() argument 63 if (func) { in cistpl_vers_1() 64 func->num_info = nr_strings; in cistpl_vers_1() 65 func->info = (const char**)buffer; in cistpl_vers_1() 74 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid() argument 85 if (func) { in cistpl_manfid() 86 func->vendor = vendor; in cistpl_manfid() 87 func->device = device; in cistpl_manfid() 111 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse() argument 127 ret = tpl->parse(card, func, buf, size); in cis_tpl_parse() [all …]
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-rza1.c | 86 u8 func: 4; member 104 u16 func: 4; member 129 { .pin = 0, .func = 1 }, 130 { .pin = 1, .func = 1 }, 131 { .pin = 2, .func = 1 }, 132 { .pin = 3, .func = 1 }, 133 { .pin = 4, .func = 1 }, 134 { .pin = 5, .func = 1 }, 135 { .pin = 6, .func = 1 }, 136 { .pin = 7, .func = 1 }, [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | systbl.S | 20 #define SYSCALL(func) .8byte DOTSYM(sys_##func),DOTSYM(sys_##func) argument 21 #define COMPAT_SYS(func) .8byte DOTSYM(sys_##func),DOTSYM(compat_sys_##func) argument 22 #define PPC_SYS(func) .8byte DOTSYM(ppc_##func),DOTSYM(ppc_##func) argument 23 #define OLDSYS(func) .8byte DOTSYM(sys_ni_syscall),DOTSYM(sys_ni_syscall) argument 24 #define SYS32ONLY(func) .8byte DOTSYM(sys_ni_syscall),DOTSYM(compat_sys_##func) argument 25 #define PPC64ONLY(func) .8byte DOTSYM(ppc_##func),DOTSYM(sys_ni_syscall) argument 28 #define SYSCALL(func) .long sys_##func argument 29 #define COMPAT_SYS(func) .long sys_##func argument 30 #define PPC_SYS(func) .long ppc_##func argument 31 #define OLDSYS(func) .long sys_##func argument [all …]
|
D | systbl_chk.c | 18 #define SYSCALL(func) __NR_##func argument 19 #define COMPAT_SYS(func) __NR_##func argument 20 #define PPC_SYS(func) __NR_##func argument 22 #define OLDSYS(func) -1 argument 23 #define SYS32ONLY(func) -1 argument 24 #define PPC64ONLY(func) __NR_##func argument 26 #define OLDSYS(func) __NR_old##func argument 27 #define SYS32ONLY(func) __NR_##func argument 28 #define PPC64ONLY(func) -1 argument 32 #define SYSCALL_SPU(func) SYSCALL(func) argument [all …]
|
/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | sdio.c | 44 struct sdio_func *func; member 51 return wl_sdio->func; in wl_to_func() 54 static void wl1251_sdio_interrupt(struct sdio_func *func) in wl1251_sdio_interrupt() argument 56 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt() 75 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read() local 77 sdio_claim_host(func); in wl1251_sdio_read() 78 ret = sdio_memcpy_fromio(func, buf, addr, len); in wl1251_sdio_read() 81 sdio_release_host(func); in wl1251_sdio_read() 88 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write() local 90 sdio_claim_host(func); in wl1251_sdio_write() [all …]
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | cfg.c | 82 #define func_prev(func) list_prev_entry(func, l) argument 83 #define func_next(func) list_next_entry(func, l) argument 86 #define entry_bb(func) func_first_bb(func) argument 87 #define exit_bb(func) func_last_bb(func) argument 92 #define func_first_bb(func) \ argument 93 list_first_entry(&func->bbs, struct bb_node, l) 94 #define func_last_bb(func) \ argument 95 list_last_entry(&func->bbs, struct bb_node, l) 99 struct func_node *new_func, *func; in cfg_append_func() local 101 list_for_each_entry(func, &cfg->funcs, l) { in cfg_append_func() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | sdio_ops_linux.c | 12 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() argument 14 struct dvobj_priv *dvobj = sdio_get_drvdata(func); in rtw_sdio_claim_host_needed() 36 struct sdio_func *func; in sd_f0_read8() local 48 func = psdio->func; in sd_f0_read8() 49 claim_needed = rtw_sdio_claim_host_needed(func); in sd_f0_read8() 52 sdio_claim_host(func); in sd_f0_read8() 53 v = sdio_f0_readb(func, addr, err); in sd_f0_read8() 55 sdio_release_host(func); in sd_f0_read8() 73 struct sdio_func *func; in _sd_cmd52_read() local 84 func = psdio->func; in _sd_cmd52_read() [all …]
|
/Linux-v4.19/kernel/livepatch/ |
D | patch.c | 40 struct klp_func *func; in klp_find_ops() local 43 func = list_first_entry(&ops->func_stack, struct klp_func, in klp_find_ops() 45 if (func->old_addr == old_addr) in klp_find_ops() 58 struct klp_func *func; in klp_ftrace_handler() local 69 func = list_first_or_null_rcu(&ops->func_stack, struct klp_func, in klp_ftrace_handler() 77 if (WARN_ON_ONCE(!func)) in klp_ftrace_handler() 93 if (unlikely(func->transition)) { in klp_ftrace_handler() 113 func = list_entry_rcu(func->stack_node.next, in klp_ftrace_handler() 116 if (&func->stack_node == &ops->func_stack) in klp_ftrace_handler() 121 klp_arch_set_pc(regs, (unsigned long)func->new_func); in klp_ftrace_handler() [all …]
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | sdio.c | 53 static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) in b43_sdio_interrupt_dispatcher() argument 55 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_interrupt_dispatcher() 61 sdio_release_host(func); in b43_sdio_interrupt_dispatcher() 63 sdio_claim_host(func); in b43_sdio_interrupt_dispatcher() 70 struct sdio_func *func = bus->host_sdio; in b43_sdio_request_irq() local 71 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_request_irq() 76 sdio_claim_host(func); in b43_sdio_request_irq() 77 err = sdio_claim_irq(func, b43_sdio_interrupt_dispatcher); in b43_sdio_request_irq() 78 sdio_release_host(func); in b43_sdio_request_irq() 86 struct sdio_func *func = bus->host_sdio; in b43_sdio_free_irq() local [all …]
|
/Linux-v4.19/drivers/hwmon/pmbus/ |
D | max34440.c | 239 data->info.func[page] = PMBUS_HAVE_VOUT | in max34451_set_supported_funcs() 243 data->info.func[page] = PMBUS_HAVE_VOUT; in max34451_set_supported_funcs() 246 data->info.func[page] = PMBUS_HAVE_IOUT | in max34451_set_supported_funcs() 250 data->info.func[page] = PMBUS_HAVE_IOUT; in max34451_set_supported_funcs() 279 .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 281 .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 283 .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 285 .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 287 .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 289 .func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv04.c | 760 bool (*func)(struct nvkm_device *, u32, u32); in nv03_gr_mthd_gdi() local 762 case 0x0184: func = nv01_gr_mthd_bind_patt; break; in nv03_gr_mthd_gdi() 763 case 0x0188: func = nv04_gr_mthd_bind_rop; break; in nv03_gr_mthd_gdi() 764 case 0x018c: func = nv04_gr_mthd_bind_beta1; break; in nv03_gr_mthd_gdi() 765 case 0x0190: func = nv04_gr_mthd_bind_surf_dst; break; in nv03_gr_mthd_gdi() 766 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv03_gr_mthd_gdi() 770 return func(device, inst, data); in nv03_gr_mthd_gdi() 776 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_gdi() local 778 case 0x0188: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_gdi() 779 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_gdi() [all …]
|
D | base.c | 32 if (gr->func->chsw_load) in nvkm_gr_chsw_load() 33 return gr->func->chsw_load(gr); in nvkm_gr_chsw_load() 41 if (gr->func->tile) in nvkm_gr_tile() 42 gr->func->tile(gr, region, tile); in nvkm_gr_tile() 48 if (gr->func->units) in nvkm_gr_units() 49 return gr->func->units(gr); in nvkm_gr_units() 56 if (gr->func->tlb_flush) in nvkm_gr_tlb_flush() 57 return gr->func->tlb_flush(gr); in nvkm_gr_tlb_flush() 67 if (gr->func->object_get) { in nvkm_gr_oclass_get() 68 int ret = gr->func->object_get(gr, index, &oclass->base); in nvkm_gr_oclass_get() [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_device_info.h | 77 #define DEV_INFO_FOR_EACH_FLAG(func) \ argument 78 func(is_mobile); \ 79 func(is_lp); \ 80 func(is_alpha_support); \ 82 func(has_64bit_reloc); \ 83 func(has_aliasing_ppgtt); \ 84 func(has_csr); \ 85 func(has_ddi); \ 86 func(has_dp_mst); \ 87 func(has_reset_engine); \ [all …]
|
/Linux-v4.19/drivers/media/mmc/siano/ |
D | smssdio.c | 82 struct sdio_func *func; member 100 sdio_claim_host(smsdev->func); in smssdio_sendrequest() 103 while (size >= smsdev->func->cur_blksize) { in smssdio_sendrequest() 104 ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA, in smssdio_sendrequest() 105 buffer, smsdev->func->cur_blksize); in smssdio_sendrequest() 109 buffer += smsdev->func->cur_blksize; in smssdio_sendrequest() 110 size -= smsdev->func->cur_blksize; in smssdio_sendrequest() 114 ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA, in smssdio_sendrequest() 119 sdio_release_host(smsdev->func); in smssdio_sendrequest() 128 static void smssdio_interrupt(struct sdio_func *func) in smssdio_interrupt() argument [all …]
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 70 int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func) in cpqhp_configure_device() argument 77 if (func->pci_dev == NULL) in cpqhp_configure_device() 78 func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus, in cpqhp_configure_device() 79 PCI_DEVFN(func->device, in cpqhp_configure_device() 80 func->function)); in cpqhp_configure_device() 83 if (func->pci_dev == NULL) { in cpqhp_configure_device() 86 num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function)); in cpqhp_configure_device() 90 func->pci_dev = pci_get_domain_bus_and_slot(0, func->bus, in cpqhp_configure_device() 91 PCI_DEVFN(func->device, in cpqhp_configure_device() 92 func->function)); in cpqhp_configure_device() [all …]
|
/Linux-v4.19/drivers/staging/wilc1000/ |
D | wilc_sdio.c | 40 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt() argument 42 sdio_release_host(func); in wilc_sdio_interrupt() 43 wilc_handle_isr(sdio_get_drvdata(func)); in wilc_sdio_interrupt() 44 sdio_claim_host(func); in wilc_sdio_interrupt() 49 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52() local 53 sdio_claim_host(func); in wilc_sdio_cmd52() 55 func->num = cmd->function; in wilc_sdio_cmd52() 58 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() 59 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52() 62 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52() [all …]
|
/Linux-v4.19/tools/perf/tests/ |
D | builtin-test.c | 31 .func = NULL, 38 .func = test__vmlinux_matches_kallsyms, 42 .func = test__openat_syscall_event, 46 .func = test__openat_syscall_event_on_all_cpus, 50 .func = test__basic_mmap, 54 .func = test__mem, 58 .func = test__parse_events, 62 .func = test__expr, 66 .func = test__PERF_RECORD, 70 .func = test__pmu, [all …]
|
/Linux-v4.19/drivers/bluetooth/ |
D | btsdio.c | 60 struct sdio_func *func; member 92 err = sdio_writesb(data->func, REG_TDAT, skb->data, skb->len); in btsdio_tx_packet() 95 sdio_writeb(data->func, 0x01, REG_PC_WRT, NULL); in btsdio_tx_packet() 114 sdio_claim_host(data->func); in btsdio_work() 125 sdio_release_host(data->func); in btsdio_work() 136 err = sdio_readsb(data->func, hdr, REG_RDAT, 4); in btsdio_rx_packet() 155 err = sdio_readsb(data->func, skb->data, REG_RDAT, len - 4); in btsdio_rx_packet() 169 sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL); in btsdio_rx_packet() 174 static void btsdio_interrupt(struct sdio_func *func) in btsdio_interrupt() argument 176 struct btsdio_data *data = sdio_get_drvdata(func); in btsdio_interrupt() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | early-quirks.c | 31 static void __init fix_hypertransport_config(int num, int slot, int func) in fix_hypertransport_config() argument 40 htcfg = read_pci_config(num, slot, func, 0x68); in fix_hypertransport_config() 50 write_pci_config(num, slot, func, 0x68, htcfg); in fix_hypertransport_config() 57 static void __init via_bugs(int num, int slot, int func) in via_bugs() argument 80 static void __init nvidia_bugs(int num, int slot, int func) in nvidia_bugs() argument 116 static u32 __init ati_ixp4x0_rev(int num, int slot, int func) in ati_ixp4x0_rev() argument 121 b = read_pci_config_byte(num, slot, func, 0xac); in ati_ixp4x0_rev() 123 write_pci_config_byte(num, slot, func, 0xac, b); in ati_ixp4x0_rev() 125 d = read_pci_config(num, slot, func, 0x70); in ati_ixp4x0_rev() 127 write_pci_config(num, slot, func, 0x70, d); in ati_ixp4x0_rev() [all …]
|
/Linux-v4.19/arch/powerpc/math-emu/ |
D | math.c | 233 int (*func)(void *, void *, void *, void *); in do_mathemu() local 241 case LFS: func = lfs; type = D; break; in do_mathemu() 242 case LFSU: func = lfs; type = DU; break; in do_mathemu() 243 case LFD: func = lfd; type = D; break; in do_mathemu() 244 case LFDU: func = lfd; type = DU; break; in do_mathemu() 245 case STFS: func = stfs; type = D; break; in do_mathemu() 246 case STFSU: func = stfs; type = DU; break; in do_mathemu() 247 case STFD: func = stfd; type = D; break; in do_mathemu() 248 case STFDU: func = stfd; type = DU; break; in do_mathemu() 252 case LFSX: func = lfs; type = XE; break; in do_mathemu() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/ |
D | object.c | 30 const struct nvkm_object_func *func) in nvkm_object_search() argument 52 if (unlikely(func && object->func != func)) in nvkm_object_search() 90 if (likely(object->func->mthd)) in nvkm_object_mthd() 91 return object->func->mthd(object, mthd, data, size); in nvkm_object_mthd() 99 if (likely(object->func->ntfy)) in nvkm_object_ntfy() 100 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy() 108 if (likely(object->func->map)) in nvkm_object_map() 109 return object->func->map(object, argv, argc, type, addr, size); in nvkm_object_map() 116 if (likely(object->func->unmap)) in nvkm_object_unmap() 117 return object->func->unmap(object); in nvkm_object_unmap() [all …]
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 68 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size() local 70 sdio_claim_host(func); in wl1271_sdio_set_block_size() 71 sdio_set_block_size(func, blksz); in wl1271_sdio_set_block_size() 72 sdio_release_host(func); in wl1271_sdio_set_block_size() 80 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read() local 82 sdio_claim_host(func); in wl12xx_sdio_raw_read() 85 ((u8 *)buf)[0] = sdio_f0_readb(func, addr, &ret); in wl12xx_sdio_raw_read() 90 ret = sdio_readsb(func, buf, addr, len); in wl12xx_sdio_raw_read() 92 ret = sdio_memcpy_fromio(func, buf, addr, len); in wl12xx_sdio_raw_read() 98 sdio_release_host(func); in wl12xx_sdio_raw_read() [all …]
|