| /OK3568_Linux_fs/kernel/include/linux/mmc/ |
| H A D | sdio_func.h | 17 struct sdio_func; 19 typedef void (sdio_irq_handler_t)(struct sdio_func *); 34 struct sdio_func { struct 70 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) argument 79 int (*probe)(struct sdio_func *, const struct sdio_device_id *); 80 void (*remove)(struct sdio_func *); 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); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | sdio_io.c | 27 void sdio_claim_host(struct sdio_func *func) in sdio_claim_host() 43 void sdio_release_host(struct sdio_func *func) in sdio_release_host() 59 int sdio_enable_func(struct sdio_func *func) in sdio_enable_func() 110 int sdio_disable_func(struct sdio_func *func) in sdio_disable_func() 159 int sdio_set_block_size(struct sdio_func *func, unsigned blksz) in sdio_set_block_size() 189 static inline unsigned int sdio_max_byte_size(struct sdio_func *func) in sdio_max_byte_size() 233 unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz) in sdio_align_size() 315 static int sdio_io_rw_ext_helper(struct sdio_func *func, int write, in sdio_io_rw_ext_helper() 380 u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readb() 412 void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret) in sdio_writeb() [all …]
|
| H A D | sdio_bus.c | 35 struct sdio_func *func; \ 51 struct sdio_func *func = dev_to_sdio_func(dev); \ 80 static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, in sdio_match_one() 92 static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, in sdio_match_device() 112 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_match() 124 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_uevent() 155 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_probe() 209 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_remove() 293 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_release_func() 306 struct sdio_func *sdio_alloc_func(struct mmc_card *card) in sdio_alloc_func() [all …]
|
| H A D | sdio_cis.c | 25 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1() 83 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid() 111 typedef int (tpl_parse_t)(struct mmc_card *, struct sdio_func *, 120 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse() 155 static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_common() 172 static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_func() 222 static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, in cistpl_funce() 243 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) in sdio_read_cis() 386 int sdio_read_func_cis(struct sdio_func *func) in sdio_read_func_cis() 412 void sdio_free_func_cis(struct sdio_func *func) in sdio_free_func_cis()
|
| H A D | sdio_bus.h | 11 struct sdio_func; 13 struct sdio_func *sdio_alloc_func(struct mmc_card *card); 14 int sdio_add_func(struct sdio_func *func); 15 void sdio_remove_func(struct sdio_func *func);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/ |
| H A D | sdio.c | 24 struct sdio_func *func; 28 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func() 34 static void wl1251_sdio_interrupt(struct sdio_func *func) in wl1251_sdio_interrupt() 55 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read() 68 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write() 81 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp() 101 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp() 119 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_enable_irq() 128 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_disable_irq() 157 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_set_power() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/hwif/sdio/ |
| H A D | sdio.c | 59 static void ssv6xxx_high_sdio_clk(struct sdio_func *func); 60 static void ssv6xxx_low_sdio_clk(struct sdio_func *func); 111 struct sdio_func *func; in ssv6xxx_sdio_cmd52_read() 130 struct sdio_func *func; in ssv6xxx_sdio_cmd52_write() 149 struct sdio_func *func ; in ssv6xxx_sdio_read_reg() 198 struct sdio_func *func; in ssv6xxx_sdio_trigger_tx_rx() 213 struct sdio_func *func; in ssv6xxx_sdio_write_reg() 248 struct sdio_func *func=NULL; in ssv6xxx_sdio_write_sram() 316 struct sdio_func *func=NULL; in ssv6xxx_sdio_load_firmware_openfile() 493 struct sdio_func *func=NULL; in ssv6xxx_sdio_load_firmware_request() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | sdio.c | 53 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt() 62 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52() 91 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd53() 119 static int wilc_sdio_probe(struct sdio_func *func, in wilc_sdio_probe() 162 static void wilc_sdio_remove(struct sdio_func *func) in wilc_sdio_remove() 176 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_reset() 193 struct sdio_func *func = dev_to_sdio_func(dev); in wilc_sdio_suspend() 220 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_enable_interrupt() 236 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_disable_interrupt() 254 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_set_func0_csa_address() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | sdio_intf.c | 26 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) 48 static int rtw_dev_probe(struct sdio_func *func, const struct sdio_device_id *id); 49 static void rtw_dev_remove(struct sdio_func *func); 84 static void sd_sync_int_hdl(struct sdio_func *func) in sd_sync_int_hdl() 102 struct sdio_func *func; in rtw_sdio_alloc_irq() 127 struct sdio_func *func; in rtw_sdio_free_irq() 232 static inline unsigned int sdio_max_byte_size(struct sdio_func *func) in sdio_max_byte_size() 319 for (i = 0; card->sdio_func[i]; i++) { in dump_sdio_card_info() 321 , card->sdio_func[i]->num, card->sdio_func[i] in dump_sdio_card_info() 322 , psdio_data->func == card->sdio_func[i] ? " (*)" : ""); in dump_sdio_card_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 23 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 47 struct sdio_func *func; in sd_f0_read8() 83 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 161 struct sdio_func *func; in sd_cmd52_read() 200 struct sdio_func *func; in _sd_cmd52_write() 239 struct sdio_func *func; in sd_cmd52_write() 273 struct sdio_func *func; in _sd_read8() 304 struct sdio_func *func; in sd_read8() 340 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_gpio.c | 50 if (adapter->sdio_func && adapter->sdio_func->card && adapter->sdio_func->card->host) { in dhd_wlan_set_power() 53 mmc_power_restore_host(adapter->sdio_func->card->host); in dhd_wlan_set_power() 75 if (adapter->sdio_func && adapter->sdio_func->card && adapter->sdio_func->card->host) { in dhd_wlan_set_power() 77 mmc_power_save_host(adapter->sdio_func->card->host); in dhd_wlan_set_power()
|
| H A D | bcmsdh_sdmmc_linux.c | 107 static int sdioh_probe(struct sdio_func *func) in sdioh_probe() 120 adapter->sdio_func = func; in sdioh_probe() 158 static void sdioh_remove(struct sdio_func *func) in sdioh_remove() 176 static int bcmsdh_sdmmc_probe(struct sdio_func *func, in bcmsdh_sdmmc_probe() 209 static void bcmsdh_sdmmc_remove(struct sdio_func *func) in bcmsdh_sdmmc_remove() 249 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_suspend() 296 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_resume() 322 static int dummy_probe(struct sdio_func *func, in dummy_probe() 334 static void dummy_remove(struct sdio_func *func) in dummy_remove()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | sdio_ops_linux.c | 12 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 36 struct sdio_func *func; in sd_f0_read8() 73 struct sdio_func *func; in _sd_cmd52_read() 108 struct sdio_func *func; in sd_cmd52_read() 143 struct sdio_func *func; in _sd_cmd52_write() 179 struct sdio_func *func; in sd_cmd52_write() 209 struct sdio_func *func; in sd_read8() 240 struct sdio_func *func; in sd_read32() 303 struct sdio_func *func; in sd_write8() 332 struct sdio_func *func; in sd_write32() [all …]
|
| H A D | sdio_intf.c | 15 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) 29 static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id); 30 static void rtw_dev_remove(struct sdio_func *func); 54 static void sd_sync_int_hdl(struct sdio_func *func) in sd_sync_int_hdl() 74 struct sdio_func *func; in sdio_alloc_irq() 99 struct sdio_func *func; in sdio_free_irq() 172 struct sdio_func *func; in sdio_init() 208 struct sdio_func *func; in sdio_deinit() 236 static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func) in sdio_dvobj_init() 271 static void sdio_dvobj_deinit(struct sdio_func *func) in sdio_dvobj_deinit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 28 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 52 struct sdio_func *func; in sd_f0_read8() 86 struct sdio_func *func; in sd_f0_write8() 123 struct sdio_func *func; in _sd_cmd52_read() 160 struct sdio_func *func; in sd_cmd52_read() 197 struct sdio_func *func; in _sd_cmd52_write() 234 struct sdio_func *func; in sd_cmd52_write() 266 struct sdio_func *func; in _sd_read8() 295 struct sdio_func *func; in sd_read8() 329 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmsdh_sdmmc_linux.c | 78 static int sdioh_probe(struct sdio_func *func) in sdioh_probe() 93 adapter->sdio_func = func; in sdioh_probe() 134 static void sdioh_remove(struct sdio_func *func) in sdioh_remove() 152 static int bcmsdh_sdmmc_probe(struct sdio_func *func, in bcmsdh_sdmmc_probe() 177 static void bcmsdh_sdmmc_remove(struct sdio_func *func) in bcmsdh_sdmmc_remove() 226 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_suspend() 265 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_resume() 289 static int dummy_probe(struct sdio_func *func, in dummy_probe() 302 static void dummy_remove(struct sdio_func *func) in dummy_remove()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmsdh_sdmmc_linux.c | 78 static int sdioh_probe(struct sdio_func *func) in sdioh_probe() 93 adapter->sdio_func = func; in sdioh_probe() 130 static void sdioh_remove(struct sdio_func *func) in sdioh_remove() 148 static int bcmsdh_sdmmc_probe(struct sdio_func *func, in bcmsdh_sdmmc_probe() 173 static void bcmsdh_sdmmc_remove(struct sdio_func *func) in bcmsdh_sdmmc_remove() 222 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_suspend() 261 struct sdio_func *func = dev_to_sdio_func(pdev); in bcmsdh_sdmmc_resume() 285 static int dummy_probe(struct sdio_func *func, in dummy_probe() 298 static void dummy_remove(struct sdio_func *func) in dummy_remove()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 27 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 51 struct sdio_func *func; in sd_f0_read8() 85 struct sdio_func *func; in sd_f0_write8() 122 struct sdio_func *func; in _sd_cmd52_read() 159 struct sdio_func *func; in sd_cmd52_read() 196 struct sdio_func *func; in _sd_cmd52_write() 233 struct sdio_func *func; in sd_cmd52_write() 265 struct sdio_func *func; in _sd_read8() 294 struct sdio_func *func; in sd_read8() 328 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 28 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 52 struct sdio_func *func; in sd_f0_read8() 86 struct sdio_func *func; in sd_f0_write8() 123 struct sdio_func *func; in _sd_cmd52_read() 160 struct sdio_func *func; in sd_cmd52_read() 197 struct sdio_func *func; in _sd_cmd52_write() 234 struct sdio_func *func; in sd_cmd52_write() 266 struct sdio_func *func; in _sd_read8() 295 struct sdio_func *func; in sd_read8() 329 struct sdio_func *func; in sd_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/ |
| H A D | sdio_ops_linux.c | 28 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 52 struct sdio_func *func; in sd_f0_read8() 86 struct sdio_func *func; in sd_f0_write8() 123 struct sdio_func *func; in _sd_cmd52_read() 160 struct sdio_func *func; in sd_cmd52_read() 197 struct sdio_func *func; in _sd_cmd52_write() 234 struct sdio_func *func; in sd_cmd52_write() 266 struct sdio_func *func; in _sd_read8() 295 struct sdio_func *func; in sd_read8() 329 struct sdio_func *func; in sd_read16() [all …]
|