| /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() 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() 588 ret = sdio_memcpy_fromio(func, func->tmpbuf, addr, 4); in sdio_readl() 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() 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 …]
|
| 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() 411 func->vendor = func->card->cis.vendor; in sdio_read_func_cis() [all …]
|
| /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 …]
|
| /drivers/gpu/drm/xe/ |
| 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 …]
|
| /drivers/gpu/drm/i915/ |
| 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 …]
|
| 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 …]
|
| /drivers/gpu/drm/i915/display/ |
| 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 …]
|
| /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 …]
|
| /drivers/staging/rtl8723bs/os_dep/ |
| 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() 342 func = psdio->func; in _sd_read() 392 func = psdio->func; in sd_read() [all …]
|
| 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 …]
|
| /drivers/net/wireless/silabs/wfx/ |
| 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 …]
|
| 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 …]
|
| /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() 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 …]
|
| /drivers/hwmon/pmbus/ |
| A D | max34440.c | 296 data->info.func[page] = PMBUS_HAVE_VOUT | in max34451_set_supported_funcs() 300 data->info.func[page] |= PMBUS_HAVE_VIN | in max34451_set_supported_funcs() 304 data->info.func[page] = PMBUS_HAVE_VOUT; in max34451_set_supported_funcs() 307 data->info.func[page] |= PMBUS_HAVE_VIN; in max34451_set_supported_funcs() 310 data->info.func[page] = PMBUS_HAVE_IOUT | in max34451_set_supported_funcs() 314 data->info.func[page] |= PMBUS_HAVE_IIN | in max34451_set_supported_funcs() 318 data->info.func[page] = PMBUS_HAVE_IOUT; in max34451_set_supported_funcs() 321 data->info.func[page] |= PMBUS_HAVE_IIN; in max34451_set_supported_funcs() 385 .func[0] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT 387 .func[1] = PMBUS_HAVE_VOUT | PMBUS_HAVE_STATUS_VOUT [all …]
|
| /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 …]
|
| /drivers/pci/hotplug/ |
| 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 …]
|
| /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 …]
|
| /drivers/bluetooth/ |
| 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 …]
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | if_sdio.c | 110 struct sdio_func *func; member 750 struct sdio_func *func = card->func; in if_sdio_finish_power_on() local 754 sdio_claim_host(func); in if_sdio_finish_power_on() 826 sdio_release_irq(func); in if_sdio_finish_power_on() 833 struct sdio_func *func = card->func; in if_sdio_power_on() local 837 sdio_claim_host(func); in if_sdio_power_on() 892 struct sdio_func *func = card->func; in if_sdio_power_off() local 897 sdio_claim_host(func); in if_sdio_power_off() 1165 card->func = func; in if_sdio_probe() 1209 func->class, func->vendor, func->device, in if_sdio_probe() [all …]
|
| /drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtmips.c | 97 return p->func[func]->name; in mtmips_pmx_func_name() 107 if (p->func[func]->group_count == 1) in mtmips_pmx_group_get_groups() 108 *groups = &p->group_names[p->func[func]->groups[0]]; in mtmips_pmx_group_get_groups() 112 *num_groups = p->func[func]->group_count; in mtmips_pmx_group_get_groups() 134 p->func[func]->enabled = 1; in mtmips_pmx_group_enable() 152 for (i = 0; i < p->func[func]->pin_count; i++) in mtmips_pmx_group_enable() 153 p->gpio[p->func[func]->pins[i]] = 0; in mtmips_pmx_group_enable() 154 mode |= p->func[func]->value << shift; in mtmips_pmx_group_enable() 238 p->func[c] = &p->groups[i].func[j]; in mtmips_pinctrl_index() 272 p->func[i]->pins[j] = p->func[i]->pin_first + j; in mtmips_pinctrl_pins() [all …]
|
| /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 …]
|
| /drivers/net/wireless/ti/wlcore/ |
| A D | sdio.c | 47 sdio_claim_host(func); in wl1271_sdio_set_block_size() 49 sdio_release_host(func); in wl1271_sdio_set_block_size() 59 sdio_claim_host(func); in wl12xx_sdio_raw_read() 75 sdio_release_host(func); in wl12xx_sdio_raw_read() 97 sdio_claim_host(func); in wl12xx_sdio_raw_write() 120 sdio_release_host(func); in wl12xx_sdio_raw_write() 142 sdio_claim_host(func); in wl12xx_sdio_power_on() 149 sdio_enable_func(func); in wl12xx_sdio_power_on() 150 sdio_release_host(func); in wl12xx_sdio_power_on() 160 sdio_claim_host(func); in wl12xx_sdio_power_off() [all …]
|