| /linux-6.15/drivers/mmc/core/ |
| H 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 …]
|
| H 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() 308 kfree(func); in sdio_release_func() 319 if (!func) in sdio_alloc_func() 328 kfree(func); in sdio_alloc_func() 346 return func; in sdio_alloc_func() 365 func->dev.of_node = mmc_of_find_child_device(host, func->num); in sdio_set_of_node() [all …]
|
| H 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.15/drivers/gpu/drm/xe/ |
| H A D | xe_step_types.h | 24 func(A0) \ 25 func(A1) \ 26 func(A2) \ 27 func(A3) \ 28 func(B0) \ 29 func(B1) \ 30 func(B2) \ 31 func(B3) \ 32 func(C0) \ 33 func(C1) \ [all …]
|
| /linux-6.15/kernel/bpf/ |
| H A D | bpf_lsm.c | 44 BTF_ID(func, bpf_lsm_getselfattr) in BTF_SET_END() 45 BTF_ID(func, bpf_lsm_getprocattr) in BTF_SET_END() 46 BTF_ID(func, bpf_lsm_setprocattr) in BTF_SET_END() 53 BTF_ID(func, bpf_lsm_ismaclabel) in BTF_SET_END() 156 .func = bpf_bprm_opts_set, 177 .func = bpf_ima_inode_hash, 196 .func = bpf_ima_file_hash, 287 BTF_ID(func, bpf_lsm_bpf) in BTF_ID() argument 303 BTF_ID(func, bpf_lsm_capget) in BTF_ID() 304 BTF_ID(func, bpf_lsm_capset) in BTF_ID() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | intel_step.h | 25 func(A0) \ 26 func(A1) \ 27 func(A2) \ 28 func(A3) \ 29 func(B0) \ 30 func(B1) \ 31 func(B2) \ 32 func(B3) \ 33 func(C0) \ 34 func(C1) \ [all …]
|
| H A D | intel_device_info.h | 145 func(is_mobile); \ 147 func(is_dgfx); \ 156 func(has_gmd_id); \ 157 func(has_gt_uc); \ 164 func(has_llc); \ 171 func(has_oam); \ 173 func(has_pxp); \ 174 func(has_rc6); \ 175 func(has_rc6p); \ 176 func(has_rps); \ [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | idtentry.h | 61 __##func (regs); \ 262 instr_##func (regs); \ 291 __##func (regs); \ 362 DEFINE_IDTENTRY_RAW(func) 483 idtentry vector asm_##func func has_error_code=0 486 idtentry vector asm_##func func has_error_code=1 499 idtentry_irq vector func 507 idtentry_mce_db vector asm_##func func 510 idtentry_mce_db vector asm_##func func 513 idtentry_df vector asm_##func func [all …]
|
| /linux-6.15/drivers/pinctrl/renesas/ |
| H 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.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_device.h | 30 func(i830) \ 31 func(i845g) \ 32 func(i85x) \ 33 func(i865g) \ 35 func(i915g) \ 37 func(i945g) \ 39 func(g33) \ 44 func(g45) \ 45 func(gm45) \ 85 func(dg1) \ [all …]
|
| /linux-6.15/drivers/net/wireless/ti/wl1251/ |
| H 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.15/drivers/staging/rtl8723bs/os_dep/ |
| H A D | sdio_ops_linux.c | 48 func = psdio->func; in _sd_cmd52_read() 80 func = psdio->func; in sd_cmd52_read() 112 func = psdio->func; in _sd_cmd52_write() 144 func = psdio->func; in sd_cmd52_write() 172 func = psdio->func; in sd_read8() 199 func = psdio->func; in sd_read32() 251 func = psdio->func; in sd_write8() 276 func = psdio->func; in sd_write32() 343 func = psdio->func; in _sd_read() 393 func = psdio->func; in sd_read() [all …]
|
| H A D | sdio_intf.c | 64 struct sdio_func *func; in sdio_alloc_irq() local 68 func = psdio_data->func; in sdio_alloc_irq() 70 sdio_claim_host(func); in sdio_alloc_irq() 89 struct sdio_func *func; in sdio_free_irq() local 94 func = psdio_data->func; in sdio_free_irq() 96 if (func) { in sdio_free_irq() 119 func = psdio_data->func; in sdio_init() 122 sdio_claim_host(func); in sdio_init() 152 func = dvobj->intf_data.func; in sdio_deinit() 154 if (func) { in sdio_deinit() [all …]
|
| /linux-6.15/tools/bpf/bpftool/ |
| H 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() 380 free(func); in cfg_destroy() [all …]
|
| /linux-6.15/drivers/net/wireless/silabs/wfx/ |
| H A D | bus_sdio.c | 46 struct sdio_func *func; member 249 if (func->num != 1) { in wfx_sdio_probe() 251 func->num); in wfx_sdio_probe() 264 bus->func = func; in wfx_sdio_probe() 268 sdio_claim_host(func); in wfx_sdio_probe() 272 sdio_release_host(func); in wfx_sdio_probe() 292 sdio_claim_host(func); in wfx_sdio_probe() 293 sdio_disable_func(func); in wfx_sdio_probe() 294 sdio_release_host(func); in wfx_sdio_probe() 303 sdio_claim_host(func); in wfx_sdio_remove() [all …]
|
| H A D | bus_spi.c | 52 struct spi_device *func; member 165 return devm_request_threaded_irq(&bus->func->dev, bus->func->irq, NULL, in wfx_spi_irq_subscribe() 173 devm_free_irq(&bus->func->dev, bus->func->irq, bus); in wfx_spi_irq_unsubscribe() 227 if (!func->bits_per_word) in wfx_spi_probe() 228 func->bits_per_word = 16; in wfx_spi_probe() 229 ret = spi_setup(func); in wfx_spi_probe() 240 spi_get_chipselect(func, 0), func->mode, func->bits_per_word, func->max_speed_hz); in wfx_spi_probe() 241 if (func->bits_per_word != 16 && func->bits_per_word != 8) in wfx_spi_probe() 242 dev_warn(&func->dev, "unusual bits/word value: %d\n", func->bits_per_word); in wfx_spi_probe() 244 dev_warn(&func->dev, "%dHz is a very high speed\n", func->max_speed_hz); in wfx_spi_probe() [all …]
|
| /linux-6.15/kernel/livepatch/ |
| H 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.15/Documentation/translations/zh_CN/kernel-hacking/ |
| H 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.15/drivers/hwmon/pmbus/ |
| H 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.15/drivers/net/wireless/broadcom/b43/ |
| H 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.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H 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 …]
|
| H 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() 116 if (gr->func->chan_new) in nvkm_gr_cclass_new() 125 gr->func->intr(gr); in nvkm_gr_intr() 143 if (gr->func->oneinit) in nvkm_gr_oneinit() 153 if (gr->func->reset) in nvkm_gr_reset() 164 if (gr->func->init) in nvkm_gr_init() 174 if (gr->func->fini) in nvkm_gr_fini() 183 if (gr->func->dtor) in nvkm_gr_dtor() [all …]
|
| /linux-6.15/drivers/media/mmc/siano/ |
| H 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.15/drivers/pci/hotplug/ |
| H A D | cpqphp_pci.c | 121 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function); in cpqhp_unconfigure_device() 556 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_base_addr_length() 560 devfn = PCI_DEVFN(func->device, func->function); in cpqhp_save_base_addr_length() 662 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_base_addr_length() 701 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_used_resources() 703 while ((func != NULL) && func->is_a_board) { in cpqhp_save_used_resources() 925 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_save_used_resources() 954 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_configure_board() 1003 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_configure_board() 1036 func = cpqhp_slot_find(func->bus, func->device, index++); in cpqhp_valid_replace() [all …]
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | btsdio.c | 42 struct sdio_func *func; member 96 sdio_claim_host(data->func); in btsdio_work() 107 sdio_release_host(data->func); in btsdio_work() 190 sdio_claim_host(data->func); in btsdio_open() 219 sdio_claim_host(data->func); in btsdio_close() 223 sdio_release_irq(data->func); in btsdio_close() 280 BT_DBG("func %p id %p class 0x%04x", func, id, func->class); in btsdio_probe() 292 switch (func->device) { in btsdio_probe() 307 data->func = func; in btsdio_probe() 329 if (func->vendor == 0x0104 && func->device == 0x00c5) in btsdio_probe() [all …]
|