/linux-6.3-rc2/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 | 46 sdio_config_attr(revision, "%u.%u\n", func->major_rev, func->minor_rev); 47 sdio_config_attr(modalias, "sdio:c%02Xv%04Xd%04X\n", func->class, func->vendor, func->device); 133 "SDIO_ID=%04X:%04X", func->vendor, func->device)) in sdio_bus_uevent() 137 "SDIO_REVISION=%u.%u", func->major_rev, func->minor_rev)) in sdio_bus_uevent() 147 func->class, func->vendor, func->device)) in sdio_bus_uevent() 305 kfree(func); in sdio_release_func() 316 if (!func) in sdio_alloc_func() 325 kfree(func); in sdio_alloc_func() 343 return func; in sdio_alloc_func() 362 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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_step.h | 27 func(A0) \ 28 func(A1) \ 29 func(A2) \ 30 func(A3) \ 31 func(B0) \ 32 func(B1) \ 33 func(B2) \ 34 func(B3) \ 35 func(C0) \ 36 func(C1) \ [all …]
|
A D | intel_device_info.h | 143 func(is_lp); \ 145 func(is_dgfx); \ 162 func(has_llc); \ 170 func(has_pxp); \ 171 func(has_rc6); \ 173 func(has_rps); \ 186 func(has_ddi); \ 188 func(has_dsb); \ 192 func(has_hti); \ 193 func(has_ipc); \ [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | idtentry.h | 57 __##func (regs); \ 270 __##func (regs); \ 327 DEFINE_IDTENTRY_RAW(func) 430 idtentry vector asm_##func func has_error_code=0 433 idtentry vector asm_##func func has_error_code=1 446 idtentry_irq vector func 450 idtentry_sysvec vector func 454 idtentry_mce_db vector asm_##func func 457 idtentry_mce_db vector asm_##func func 460 idtentry_df vector asm_##func func [all …]
|
/linux-6.3-rc2/kernel/bpf/ |
A D | bpf_lsm.c | 54 BTF_ID(func, bpf_lsm_sock_graft) in BTF_SET_END() 130 .func = bpf_bprm_opts_set, 151 .func = bpf_ima_inode_hash, 170 .func = bpf_ima_file_hash, 261 BTF_ID(func, bpf_lsm_bpf) in BTF_ID() argument 262 BTF_ID(func, bpf_lsm_bpf_map) in BTF_ID() 265 BTF_ID(func, bpf_lsm_bpf_prog) in BTF_ID() 271 BTF_ID(func, bpf_lsm_capget) in BTF_ID() 272 BTF_ID(func, bpf_lsm_capset) in BTF_ID() 318 BTF_ID(func, bpf_lsm_settime) in BTF_ID() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/renesas/ |
A D | pinctrl-rza1.c | 84 u8 func: 4; member 102 u16 func: 4; member 127 { .pin = 0, .func = 1 }, 128 { .pin = 1, .func = 1 }, 129 { .pin = 2, .func = 1 }, 130 { .pin = 3, .func = 1 }, 131 { .pin = 4, .func = 1 }, 132 { .pin = 5, .func = 1 }, 514 if (bidir_pin->pin == pin && bidir_pin->func == func) in rza1_pinmux_get_bidir() 533 swio_pin->func == func) in rza1_pinmux_get_swio() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/drivers/net/wireless/ti/wl1251/ |
A D | sdio.c | 23 struct sdio_func *func; member 30 return wl_sdio->func; in wl_to_func() 56 sdio_claim_host(func); in wl1251_sdio_read() 69 sdio_claim_host(func); in wl1251_sdio_write() 80 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp() local 88 sdio_claim_host(func); in wl1251_sdio_read_elp() 100 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp() local 102 sdio_claim_host(func); in wl1251_sdio_write_elp() 120 sdio_claim_host(func); in wl1251_sdio_enable_irq() 129 sdio_claim_host(func); in wl1251_sdio_disable_irq() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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() 157 func->patched = false; in klp_unpatch_func() 178 func->old_name); in klp_patch_func() 219 func->patched = true; in klp_patch_func() 232 struct klp_func *func; in __klp_unpatch_object() local 238 if (func->patched) in __klp_unpatch_object() [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_CN/kernel-hacking/ |
A D | hacking.rst | 230 :c:func:`copy_to_user()` / :c:func:`copy_from_user()` / :c:func:`get_user()` / :c:func:`put_user()` 255 :c:func:`kmalloc()`/:c:func:`kfree()` 304 :c:func:`mdelay()`/:c:func:`udelay()` 309 :c:func:`udelay()` 和 :c:func:`ndelay()` 函数可被用于小暂停。不要对它们使用 313 :c:func:`cpu_to_be32()`/:c:func:`be32_to_cpu()`/:c:func:`cpu_to_le32()`/:c:func:`le32_to_cpu()` 327 :c:func:`local_irq_save()`/:c:func:`local_irq_restore()` 339 :c:func:`local_bh_disable()`/:c:func:`local_bh_enable()` 374 :c:func:`__initcall()`/:c:func:`module_init()` 402 :c:func:`try_module_get()`/:c:func:`module_put()` 454 :c:func:`atomic_add()` ,:c:func:`atomic_sub()` ,:c:func:`atomic_inc()` , [all …]
|
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/ |
A D | bus_sdio.c | 45 struct sdio_func *func; member 201 if (func->num != 1) { in wfx_sdio_probe() 203 func->num); in wfx_sdio_probe() 216 bus->func = func; in wfx_sdio_probe() 220 sdio_claim_host(func); in wfx_sdio_probe() 224 sdio_release_host(func); in wfx_sdio_probe() 241 sdio_claim_host(func); in wfx_sdio_probe() 242 sdio_disable_func(func); in wfx_sdio_probe() 243 sdio_release_host(func); in wfx_sdio_probe() 252 sdio_claim_host(func); in wfx_sdio_remove() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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() 143 if (gr->func->reset) in nvkm_gr_reset() 160 if (gr->func->fini) in nvkm_gr_fini() 169 if (gr->func->dtor) in nvkm_gr_dtor() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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() 309 data->func = func; in btsdio_probe() 336 if (func->vendor == 0x0104 && func->device == 0x00c5) in btsdio_probe() [all …]
|
/linux-6.3-rc2/include/linux/mmc/ |
A D | sdio_func.h | 127 extern void sdio_claim_host(struct sdio_func *func); 128 extern void sdio_release_host(struct sdio_func *func); 130 extern int sdio_enable_func(struct sdio_func *func); 131 extern int sdio_disable_func(struct sdio_func *func); 136 extern int sdio_release_irq(struct sdio_func *func); 146 extern int sdio_readsb(struct sdio_func *func, void *dst, 149 extern void sdio_writeb(struct sdio_func *func, u8 b, 151 extern void sdio_writew(struct sdio_func *func, u16 b, 153 extern void sdio_writel(struct sdio_func *func, u32 b, 175 extern void sdio_retune_hold_now(struct sdio_func *func); [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
A D | base.c | 43 if (gpio->func->reset) in nvkm_gpio_reset() 44 gpio->func->reset(gpio, func); in nvkm_gpio_reset() 49 struct dcb_gpio_func *func) in nvkm_gpio_find() argument 66 *func = (struct dcb_gpio_func) { in nvkm_gpio_find() 67 .func = DCB_GPIO_TVDAC0, in nvkm_gpio_find() 82 struct dcb_gpio_func func; in nvkm_gpio_set() local 98 struct dcb_gpio_func func; in nvkm_gpio_get() local 178 struct dcb_gpio_func func; in nvkm_gpio_init() local 188 DCB_GPIO_UNUSED, &func); in nvkm_gpio_init() 192 ret = nvkm_gpio_get(gpio, 0, func.func, func.line); in nvkm_gpio_init() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/ralink/ |
A D | pinctrl-ralink.c | 97 return p->func[func]->name; in ralink_pmx_func_name() 107 if (p->func[func]->group_count == 1) in ralink_pmx_group_get_groups() 108 *groups = &p->group_names[p->func[func]->groups[0]]; in ralink_pmx_group_get_groups() 112 *num_groups = p->func[func]->group_count; in ralink_pmx_group_get_groups() 134 p->func[func]->enabled = 1; in ralink_pmx_group_enable() 152 for (i = 0; i < p->func[func]->pin_count; i++) in ralink_pmx_group_enable() 153 p->gpio[p->func[func]->pins[i]] = 0; in ralink_pmx_group_enable() 154 mode |= p->func[func]->value << shift; in ralink_pmx_group_enable() 238 p->func[c] = &p->groups[i].func[j]; in ralink_pinctrl_index() 272 p->func[i]->pins[j] = p->func[i]->pin_first + j; in ralink_pinctrl_pins() [all …]
|