/kernel/linux/linux-5.10/include/linux/mmc/ |
H A D | sdio_func.h | 3 * include/linux/mmc/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) 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 *fun [all...] |
/kernel/linux/linux-6.6/include/linux/mmc/ |
H A D | sdio_func.h | 3 * include/linux/mmc/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) 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 *fun [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | sdio.c | 11 #include <linux/mmc/sdio_func.h> 70 sdio_writel(rtwsdio->sdio_func, val, addr, err_ret); in rtw_sdio_writel() 77 sdio_writeb(rtwsdio->sdio_func, buf[i], addr + i, err_ret); in rtw_sdio_writel() 93 sdio_writeb(rtwsdio->sdio_func, buf[i], addr + i, err_ret); in rtw_sdio_writew() 106 return sdio_readl(rtwsdio->sdio_func, addr, err_ret); in rtw_sdio_readl() 109 buf[i] = sdio_readb(rtwsdio->sdio_func, addr + i, err_ret); in rtw_sdio_readl() 124 buf[i] = sdio_readb(rtwsdio->sdio_func, addr + i, err_ret); in rtw_sdio_readw() 166 tmp = sdio_readb(rtwsdio->sdio_func, reg_cfg + 2, &ret); in rtw_sdio_indirect_reg_cfg() 186 return sdio_readb(rtwsdio->sdio_func, reg_data, err_ret); in rtw_sdio_indirect_read8() 261 sdio_claim_host(rtwsdio->sdio_func); in rtw_sdio_read8() 1057 rtw_sdio_handle_interrupt(struct sdio_func *sdio_func) rtw_sdio_handle_interrupt() argument 1105 rtw_sdio_claim(struct rtw_dev *rtwdev, struct sdio_func *sdio_func) rtw_sdio_claim() argument 1142 rtw_sdio_declaim(struct rtw_dev *rtwdev, struct sdio_func *sdio_func) rtw_sdio_declaim() argument 1170 rtw_sdio_request_irq(struct rtw_dev *rtwdev, struct sdio_func *sdio_func) rtw_sdio_request_irq() argument 1257 rtw_sdio_free_irq(struct rtw_dev *rtwdev, struct sdio_func *sdio_func) rtw_sdio_free_irq() argument 1306 rtw_sdio_probe(struct sdio_func *sdio_func, const struct sdio_device_id *id) rtw_sdio_probe() argument 1383 rtw_sdio_remove(struct sdio_func *sdio_func) rtw_sdio_remove() argument 1405 struct sdio_func *sdio_func = dev_to_sdio_func(dev); rtw_sdio_shutdown() local [all...] |
H A D | sdio.h | 138 struct sdio_func; 151 struct sdio_func *sdio_func; member 166 int rtw_sdio_probe(struct sdio_func *sdio_func, 168 void rtw_sdio_remove(struct sdio_func *sdio_func);
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_io.c | 13 #include <linux/mmc/sdio_func.h> 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 *fun [all...] |
H A D | sdio_bus.c | 20 #include <linux/mmc/sdio_func.h> 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 *fun in sdio_release_func() [all...] |
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);
|
H A D | sdio_cis.c | 18 #include <linux/mmc/sdio_func.h> 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 *fun [all...] |
H A D | sdio_cis.h | 14 struct sdio_func; 19 int sdio_read_func_cis(struct sdio_func *func); 20 void sdio_free_func_cis(struct sdio_func *func);
|
H A D | sdio_irq.c | 24 #include <linux/mmc/sdio_func.h> 64 struct sdio_func *func; in process_sdio_pending_irqs() 91 func = card->sdio_func[i - 1]; in process_sdio_pending_irqs() 273 struct sdio_func *func; in sdio_single_irq_set() 280 func = card->sdio_func[i]; in sdio_single_irq_set() 299 int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler) in sdio_claim_irq() 342 int sdio_release_irq(struct sdio_func *func) in sdio_release_irq()
|
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | sdio_io.c | 13 #include <linux/mmc/sdio_func.h> 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 *fun [all...] |
H A D | sdio_bus.c | 21 #include <linux/mmc/sdio_func.h> 36 struct sdio_func *func; \ 52 struct sdio_func *func = dev_to_sdio_func(dev); \ 81 static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, in sdio_match_one() 93 static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, in sdio_match_device() 113 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_match() 125 const struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_uevent() 156 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_probe() 210 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_remove() 292 struct sdio_func *fun in sdio_release_func() [all...] |
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);
|
H A D | sdio_cis.c | 18 #include <linux/mmc/sdio_func.h> 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() 398 int sdio_read_func_cis(struct sdio_func *fun [all...] |
H A D | sdio_cis.h | 14 struct sdio_func; 19 int sdio_read_func_cis(struct sdio_func *func); 20 void sdio_free_func_cis(struct sdio_func *func);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | sdio.c | 12 #include <linux/mmc/sdio_func.h> 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 *fun in wl1251_sdio_disable_irq() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/ |
H A D | sdio.c | 12 #include <linux/mmc/sdio_func.h> 23 struct sdio_func *func; 27 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func() 33 static void wl1251_sdio_interrupt(struct sdio_func *func) in wl1251_sdio_interrupt() 54 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read() 67 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write() 80 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp() 100 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp() 118 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_enable_irq() 127 struct sdio_func *fun in wl1251_sdio_disable_irq() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | sdio.c | 8 #include <linux/mmc/sdio_func.h> 54 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt() 63 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52() 92 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd53() 120 static int wilc_sdio_probe(struct sdio_func *func, in wilc_sdio_probe() 163 static void wilc_sdio_remove(struct sdio_func *func) in wilc_sdio_remove() 177 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_reset() 194 struct sdio_func *fun in wilc_sdio_suspend() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
H A D | sdio.c | 8 #include <linux/mmc/sdio_func.h> 56 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt() 65 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52() 94 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd53() 135 static int wilc_sdio_probe(struct sdio_func *func, in wilc_sdio_probe() 190 static void wilc_sdio_remove(struct sdio_func *func) in wilc_sdio_remove() 205 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_reset() 229 struct sdio_func *fun in wilc_sdio_suspend() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
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 *fun [all...] |
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 *fun in sd_write32() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | sdio_intf.c | 13 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) 27 static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id); 28 static void rtw_dev_remove(struct sdio_func *func); 47 static void sd_sync_int_hdl(struct sdio_func *func) in sd_sync_int_hdl() 65 struct sdio_func *func; in sdio_alloc_irq() 90 struct sdio_func *func; in sdio_free_irq() 116 struct sdio_func *func; in sdio_init() 150 struct sdio_func *func; in sdio_deinit() 172 static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func) in sdio_dvobj_init() 205 static void sdio_dvobj_deinit(struct sdio_func *fun [all...] |
H A D | sdio_ops_linux.c | 11 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed() 40 struct sdio_func *func; in _sd_cmd52_read() 71 struct sdio_func *func; in sd_cmd52_read() 104 struct sdio_func *func; in _sd_cmd52_write() 135 struct sdio_func *func; in sd_cmd52_write() 163 struct sdio_func *func; in sd_read8() 190 struct sdio_func *func; in sd_read32() 242 struct sdio_func *func; in sd_write8() 267 struct sdio_func *func; in sd_write32() 335 struct sdio_func *fun in _sd_read() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.c | 13 #include <linux/mmc/sdio_func.h> 49 static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) in b43_sdio_interrupt_dispatcher() 66 struct sdio_func *func = bus->host_sdio; in b43_sdio_request_irq() 82 struct sdio_func *func = bus->host_sdio; in b43_sdio_free_irq() 92 static int b43_sdio_probe(struct sdio_func *func, in b43_sdio_probe() 170 static void b43_sdio_remove(struct sdio_func *func) in b43_sdio_remove()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.c | 13 #include <linux/mmc/sdio_func.h> 49 static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) in b43_sdio_interrupt_dispatcher() 66 struct sdio_func *func = bus->host_sdio; in b43_sdio_request_irq() 82 struct sdio_func *func = bus->host_sdio; in b43_sdio_free_irq() 92 static int b43_sdio_probe(struct sdio_func *func, in b43_sdio_probe() 170 static void b43_sdio_remove(struct sdio_func *func) in b43_sdio_remove()
|