/linux/drivers/mmc/core/ |
A D | sdio_io.c | 65 if (!func) in sdio_enable_func() 115 if (!func) in sdio_disable_func() 267 func->cur_blksize) * func->cur_blksize; in sdio_align_size() 322 if (!func || (func->num > 7)) in sdio_io_rw_ext_helper() 385 if (!func) { in sdio_readb() 447 ret = mmc_io_rw_direct(func->card, 1, func->num, addr, in sdio_writeb_readb() 540 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 2); in sdio_readw() 567 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 2); in sdio_writew() 615 ret = sdio_memcpy_toio(func, addr, func->tmpbuf, 4); in sdio_writel() 702 if (!func) in sdio_get_host_pm_caps() [all …]
|
A D | sdio_bus.c | 45 sdio_config_attr(revision, "%u.%u\n", func->major_rev, func->minor_rev); 46 sdio_config_attr(modalias, "sdio:c%02Xv%04Xd%04X\n", func->class, func->vendor, func->device); 132 "SDIO_ID=%04X:%04X", func->vendor, func->device)) in sdio_bus_uevent() 136 "SDIO_REVISION=%u.%u", func->major_rev, func->minor_rev)) in sdio_bus_uevent() 146 func->class, func->vendor, func->device)) in sdio_bus_uevent() 297 kfree(func); in sdio_release_func() 308 if (!func) in sdio_alloc_func() 317 kfree(func); in sdio_alloc_func() 329 return func; in sdio_alloc_func() 348 func->dev.of_node = mmc_of_find_child_device(host, func->num); in sdio_set_of_node() [all …]
|
A D | sdio_irq.c | 64 struct sdio_func *func; in process_sdio_pending_irqs() local 80 func->irq_handler(func); in process_sdio_pending_irqs() 92 if (!func) { in process_sdio_pending_irqs() 97 func->irq_handler(func); in process_sdio_pending_irqs() 101 sdio_func_id(func)); in process_sdio_pending_irqs() 273 struct sdio_func *func; in sdio_single_irq_set() local 281 if (func && func->irq_handler) { in sdio_single_irq_set() 304 if (!func) in sdio_claim_irq() 309 if (func->irq_handler) { in sdio_claim_irq() 318 reg |= 1 << func->num; in sdio_claim_irq() [all …]
|
A D | sdio_cis.c | 68 if (func) { in cistpl_vers_1() 94 if (func) { in cistpl_manfid() 159 if (func) in cistpl_funce_common() 179 if (!func) in cistpl_funce_func() 257 if (func) in sdio_read_cis() 258 fn = func->num; in sdio_read_cis() 269 if (func) in sdio_read_cis() 372 if (func) in sdio_read_cis() 402 ret = sdio_read_cis(func->card, func); in sdio_read_func_cis() 417 func->vendor = func->card->cis.vendor; in sdio_read_func_cis() [all …]
|
/linux/arch/x86/include/asm/ |
A D | idtentry.h | 55 __##func (regs); \ 268 __##func (regs); \ 325 DEFINE_IDTENTRY_RAW(func) 428 idtentry vector asm_##func func has_error_code=0 431 idtentry vector asm_##func func has_error_code=1 444 idtentry_irq vector func 448 idtentry_sysvec vector func 452 idtentry_mce_db vector asm_##func func 455 idtentry_mce_db vector asm_##func func 458 idtentry_df vector asm_##func func [all …]
|
/linux/kernel/bpf/ |
A D | bpf_lsm.c | 71 .func = bpf_bprm_opts_set, 92 .func = bpf_ima_inode_hash, 133 BTF_ID(func, bpf_lsm_bpf) in BTF_ID() argument 134 BTF_ID(func, bpf_lsm_bpf_map) in BTF_ID() 137 BTF_ID(func, bpf_lsm_bpf_prog) in BTF_ID() 143 BTF_ID(func, bpf_lsm_capget) in BTF_ID() 144 BTF_ID(func, bpf_lsm_capset) in BTF_ID() 173 BTF_ID(func, bpf_lsm_key_free) in BTF_ID() 183 BTF_ID(func, bpf_lsm_sb_mount) in BTF_ID() 189 BTF_ID(func, bpf_lsm_settime) in BTF_ID() [all …]
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl-rza1.c | 83 u8 func: 4; member 101 u16 func: 4; member 126 { .pin = 0, .func = 1 }, 127 { .pin = 1, .func = 1 }, 128 { .pin = 2, .func = 1 }, 129 { .pin = 3, .func = 1 }, 130 { .pin = 4, .func = 1 }, 131 { .pin = 5, .func = 1 }, 513 if (bidir_pin->pin == pin && bidir_pin->func == func) in rza1_pinmux_get_bidir() 532 swio_pin->func == func) in rza1_pinmux_get_swio() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_device_info.h | 121 func(is_lp); \ 123 func(is_dgfx); \ 131 func(has_llc); \ 136 func(has_pxp); \ 137 func(has_rc6); \ 139 func(has_rps); \ 150 func(has_dmc); \ 151 func(has_ddi); \ 153 func(has_dsb); \ 154 func(has_dsc); \ [all …]
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
A D | sdio_ops_linux.c | 49 func = psdio->func; in _sd_cmd52_read() 81 func = psdio->func; in sd_cmd52_read() 113 func = psdio->func; in _sd_cmd52_write() 145 func = psdio->func; in sd_cmd52_write() 173 func = psdio->func; in sd_read8() 200 func = psdio->func; in sd_read32() 252 func = psdio->func; in sd_write8() 277 func = psdio->func; in sd_write32() 344 func = psdio->func; in _sd_read() 394 func = psdio->func; in sd_read() [all …]
|
A D | sdio_intf.c | 65 struct sdio_func *func; in sdio_alloc_irq() local 69 func = psdio_data->func; in sdio_alloc_irq() 71 sdio_claim_host(func); in sdio_alloc_irq() 90 struct sdio_func *func; in sdio_free_irq() local 95 func = psdio_data->func; in sdio_free_irq() 97 if (func) { in sdio_free_irq() 120 func = psdio_data->func; in sdio_init() 123 sdio_claim_host(func); in sdio_init() 153 func = dvobj->intf_data.func; in sdio_deinit() 155 if (func) { in sdio_deinit() [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | sdio.c | 24 struct sdio_func *func; member 31 return wl_sdio->func; in wl_to_func() 57 sdio_claim_host(func); in wl1251_sdio_read() 70 sdio_claim_host(func); in wl1251_sdio_write() 81 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp() local 89 sdio_claim_host(func); in wl1251_sdio_read_elp() 101 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp() local 103 sdio_claim_host(func); in wl1251_sdio_write_elp() 121 sdio_claim_host(func); in wl1251_sdio_enable_irq() 130 sdio_claim_host(func); in wl1251_sdio_disable_irq() [all …]
|
/linux/tools/bpf/bpftool/ |
A D | cfg.c | 48 #define func_prev(func) list_prev_entry(func, l) argument 49 #define func_next(func) list_next_entry(func, l) argument 52 #define entry_bb(func) func_first_bb(func) argument 53 #define exit_bb(func) func_last_bb(func) argument 69 return func; in cfg_append_func() 74 func = func_prev(func); in cfg_append_func() 137 if (!func) in cfg_partition_funcs() 146 if (!func) in cfg_partition_funcs() 154 func->end = func_next(func)->start - 1; in cfg_partition_funcs() 379 free(func); in cfg_destroy() [all …]
|
/linux/Documentation/translations/zh_CN/kernel-hacking/ |
A D | hacking.rst | 231 :c:func:`copy_to_user()` / :c:func:`copy_from_user()` / :c:func:`get_user()` / :c:func:`put_user()` 256 :c:func:`kmalloc()`/:c:func:`kfree()` 305 :c:func:`mdelay()`/:c:func:`udelay()` 310 :c:func:`udelay()` 和 :c:func:`ndelay()` 函数可被用于小暂停。不要对它们使用 314 :c:func:`cpu_to_be32()`/:c:func:`be32_to_cpu()`/:c:func:`cpu_to_le32()`/:c:func:`le32_to_cpu()` 328 :c:func:`local_irq_save()`/:c:func:`local_irq_restore()` 340 :c:func:`local_bh_disable()`/:c:func:`local_bh_enable()` 375 :c:func:`__initcall()`/:c:func:`module_init()` 403 :c:func:`try_module_get()`/:c:func:`module_put()` 455 :c:func:`atomic_add()` ,:c:func:`atomic_sub()` ,:c:func:`atomic_inc()` , [all …]
|
/linux/drivers/staging/wfx/ |
A D | bus_sdio.c | 28 struct sdio_func *func; member 185 if (func->num != 1) { in wfx_sdio_probe() 187 func->num); in wfx_sdio_probe() 202 dev_warn(&func->dev, in wfx_sdio_probe() 208 bus->func = func; in wfx_sdio_probe() 214 sdio_claim_host(func); in wfx_sdio_probe() 218 sdio_release_host(func); in wfx_sdio_probe() 236 sdio_claim_host(func); in wfx_sdio_probe() 237 sdio_disable_func(func); in wfx_sdio_probe() 238 sdio_release_host(func); in wfx_sdio_probe() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | nv04.c | 770 return func(device, inst, data); in nv03_gr_mthd_gdi() 787 return func(device, inst, data); in nv04_gr_mthd_gdi() 806 return func(device, inst, data); in nv01_gr_mthd_blit() 825 return func(device, inst, data); in nv04_gr_mthd_blit() 844 return func(device, inst, data); in nv04_gr_mthd_iifc() 862 return func(device, inst, data); in nv01_gr_mthd_ifc() 881 return func(device, inst, data); in nv04_gr_mthd_ifc() 898 return func(device, inst, data); in nv03_gr_mthd_sifc() 916 return func(device, inst, data); in nv04_gr_mthd_sifc() 932 return func(device, inst, data); in nv03_gr_mthd_sifm() [all …]
|
A D | base.c | 59 if (gr->func->chsw_load) in nvkm_gr_chsw_load() 68 if (gr->func->tile) in nvkm_gr_tile() 75 if (gr->func->units) in nvkm_gr_units() 83 if (gr->func->tlb_flush) in nvkm_gr_tlb_flush() 117 if (gr->func->chan_new) in nvkm_gr_cclass_new() 126 gr->func->intr(gr); in nvkm_gr_intr() 133 if (gr->func->oneinit) in nvkm_gr_oneinit() 142 return gr->func->init(gr); in nvkm_gr_init() 149 if (gr->func->fini) in nvkm_gr_fini() 158 if (gr->func->dtor) in nvkm_gr_dtor() [all …]
|
/linux/drivers/hwmon/pmbus/ |
A D | max34440.c | 252 data->info.func[page] = PMBUS_HAVE_VOUT | in max34451_set_supported_funcs() 256 data->info.func[page] = PMBUS_HAVE_VOUT; in max34451_set_supported_funcs() 259 data->info.func[page] = PMBUS_HAVE_IOUT | in max34451_set_supported_funcs() 263 data->info.func[page] = PMBUS_HAVE_IOUT; in max34451_set_supported_funcs() 292 .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 294 .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 296 .func[2] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 298 .func[3] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 300 .func[4] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 302 .func[5] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT [all …]
|
/linux/kernel/livepatch/ |
A D | patch.c | 28 struct klp_func *func; in klp_find_ops() local 46 struct klp_func *func; in klp_ftrace_handler() local 70 if (WARN_ON_ONCE(!func)) in klp_ftrace_handler() 106 func = list_entry_rcu(func->stack_node.next, in klp_ftrace_handler() 118 if (func->nop) in klp_ftrace_handler() 171 func->patched = false; in klp_unpatch_func() 193 func->old_name); in klp_patch_func() 234 func->patched = true; in klp_patch_func() 247 struct klp_func *func; in __klp_unpatch_object() local 253 if (func->patched) in __klp_unpatch_object() [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
A D | sdio.c | 57 sdio_release_host(func); in b43_sdio_interrupt_dispatcher() 59 sdio_claim_host(func); in b43_sdio_interrupt_dispatcher() 72 sdio_claim_host(func); in b43_sdio_request_irq() 74 sdio_release_host(func); in b43_sdio_request_irq() 85 sdio_claim_host(func); in b43_sdio_free_irq() 86 sdio_release_irq(func); in b43_sdio_free_irq() 87 sdio_release_host(func); in b43_sdio_free_irq() 101 tuple = func->tuples; in b43_sdio_probe() 128 sdio_claim_host(func); in b43_sdio_probe() 162 sdio_claim_host(func); in b43_sdio_probe() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | cpqphp_pci.c | 118 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function); in cpqhp_unconfigure_device() 565 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_base_addr_length() 569 devfn = PCI_DEVFN(func->device, func->function); in cpqhp_save_base_addr_length() 671 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_base_addr_length() 710 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_used_resources() 712 while ((func != NULL) && func->is_a_board) { in cpqhp_save_used_resources() 934 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_used_resources() 963 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_configure_board() 1012 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_configure_board() 1045 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_valid_replace() [all …]
|
/linux/drivers/media/mmc/siano/ |
A D | smssdio.c | 77 struct sdio_func *func; member 251 smsdev->func = func; in smssdio_probe() 283 sdio_claim_host(func); in smssdio_probe() 299 sdio_release_host(func); in smssdio_probe() 308 sdio_claim_host(func); in smssdio_probe() 309 sdio_release_irq(func); in smssdio_probe() 311 sdio_disable_func(func); in smssdio_probe() 313 sdio_release_host(func); in smssdio_probe() 333 sdio_claim_host(func); in smssdio_remove() 334 sdio_release_irq(func); in smssdio_remove() [all …]
|
/linux/drivers/bluetooth/ |
A D | btsdio.c | 45 struct sdio_func *func; member 99 sdio_claim_host(data->func); in btsdio_work() 110 sdio_release_host(data->func); in btsdio_work() 193 sdio_claim_host(data->func); in btsdio_open() 222 sdio_claim_host(data->func); in btsdio_close() 226 sdio_release_irq(data->func); in btsdio_close() 283 BT_DBG("func %p id %p class 0x%04x", func, id, func->class); in btsdio_probe() 295 switch (func->device) { in btsdio_probe() 307 data->func = func; in btsdio_probe() 334 if (func->vendor == 0x0104 && func->device == 0x00c5) in btsdio_probe() [all …]
|
/linux/arch/x86/kernel/ |
A D | early-quirks.c | 129 d = read_pci_config(num, slot, func, 0x8); in ati_ixp4x0_rev() 142 d = ati_ixp4x0_rev(num, slot, func); in ati_bugs() 164 d = read_pci_config(num, slot, func, 0x8); in ati_sbx00_rev() 174 rev = ati_sbx00_rev(num, slot, func); in ati_bugs_contd() 644 bus, slot, func); in apple_airport_reset() 656 bus, slot, func); in apple_airport_reset() 685 void (*f)(int num, int slot, int func); 762 early_qrk[i].f(num, slot, func); in check_dev_quirk() 784 int slot, func; in early_pci_scan_bus() local 788 for (func = 0; func < 8; func++) { in early_pci_scan_bus() [all …]
|
/linux/arch/powerpc/math-emu/ |
A D | math.c | 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() 247 case STFD: func = stfd; type = D; break; in do_mathemu() 252 case LFSX: func = lfs; type = XE; break; in do_mathemu() 254 case LFDX: func = lfd; type = XE; break; in do_mathemu() 291 case FRE: func = fre; type = XB; break; in do_mathemu() 315 case FMR: func = fmr; type = XB; break; in do_mathemu() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | if_sdio.c | 110 struct sdio_func *func; member 748 struct sdio_func *func = card->func; in if_sdio_finish_power_on() local 752 sdio_claim_host(func); in if_sdio_finish_power_on() 824 sdio_release_irq(func); in if_sdio_finish_power_on() 831 struct sdio_func *func = card->func; in if_sdio_power_on() local 835 sdio_claim_host(func); in if_sdio_power_on() 890 struct sdio_func *func = card->func; in if_sdio_power_off() local 895 sdio_claim_host(func); in if_sdio_power_off() 1164 card->func = func; in if_sdio_probe() 1204 func->class, func->vendor, func->device, in if_sdio_probe() [all …]
|