/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | sdio_txrx.c | 18 #include "sdio.h" 37 struct mt76_sdio *sdio = &dev->sdio; in mt76s_refill_sched_quota() local 48 sdio->sched.pse_mcu_quota += pse_mcu_quota; in mt76s_refill_sched_quota() 49 sdio->sched.pse_data_quota += pse_data_quota; in mt76s_refill_sched_quota() 50 sdio->sched.ple_data_quota += ple_data_quota; in mt76s_refill_sched_quota() 85 struct mt76_sdio *sdio = &dev->sdio; in mt76s_rx_run_queue() local 96 if (len > sdio->func->cur_blksize) in mt76s_rx_run_queue() 97 len = roundup(len, sdio->func->cur_blksize); in mt76s_rx_run_queue() 105 sdio_claim_host(sdio->func); in mt76s_rx_run_queue() 106 err = sdio_readsb(sdio->func, buf, MCR_WRDR(qid), len); in mt76s_rx_run_queue() [all …]
|
H A D | sdio.c | 21 #include "sdio.h" 25 return sdio_readl(dev->sdio.func, MCR_WHISR, NULL); in mt76s_read_whisr() 30 struct mt76_sdio *sdio = &dev->sdio; in mt76s_read_pcr() local 32 return sdio_readl(sdio->func, MCR_WHLPCR, NULL); in mt76s_read_pcr() 38 struct sdio_func *func = dev->sdio.func; in mt76s_read_mailbox() 93 struct sdio_func *func = dev->sdio.func; in mt76s_write_mailbox() 231 dev->sdio.hw_ver = hw_ver; in mt76s_hw_init() 410 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_net_worker() local 412 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_net_worker() 463 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_status_worker() local [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | sdio_mac.c | 8 #include "../sdio.h" 12 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_enable_irq() local 14 sdio_claim_host(sdio->func); in mt7921s_enable_irq() 15 sdio_writel(sdio->func, WHLPCR_INT_EN_SET, MCR_WHLPCR, NULL); in mt7921s_enable_irq() 16 sdio_release_host(sdio->func); in mt7921s_enable_irq() 21 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_disable_irq() local 23 sdio_claim_host(sdio->func); in mt7921s_disable_irq() 24 sdio_writel(sdio->func, WHLPCR_INT_EN_CLR, MCR_WHLPCR, NULL); in mt7921s_disable_irq() 25 sdio_release_host(sdio->func); in mt7921s_disable_irq() 30 return sdio_readl(dev->sdio.func, MCR_WHCR, NULL); in mt7921s_read_whcr() [all …]
|
H A D | sdio.c | 15 #include "../sdio.h" 27 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt7921s_txrx_worker() local 29 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7921s_txrx_worker() 37 mt76s_txrx_worker(sdio); in mt7921s_txrx_worker() 59 struct mt76_sdio *sdio = &dev->sdio; in mt7921s_parse_intr() local 60 struct mt7921_sdio_intr *irq_data = sdio->intr_data; in mt7921s_parse_intr() 63 sdio_claim_host(sdio->func); in mt7921s_parse_intr() 64 err = sdio_readsb(sdio->func, irq_data, MCR_WHISR, sizeof(*irq_data)); in mt7921s_parse_intr() 65 sdio_release_host(sdio->func); in mt7921s_parse_intr() 156 mdev->sdio.parse_irq = mt7921s_parse_intr; in mt7921s_probe() [all …]
|
H A D | sdio_mcu.c | 10 #include "../sdio.h" 26 * blocked by mt792x_mac_work that is excuting register access via sdio in mt7921s_mcu_send_message() 56 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7921s_read_rm3r() local 58 return sdio_readl(sdio->func, MCR_D2HRM3R, NULL); in mt7921s_read_rm3r() 63 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7921s_clear_rm3r_drv_own() local 66 val = sdio_readl(sdio->func, MCR_D2HRM3R, NULL); in mt7921s_clear_rm3r_drv_own() 68 sdio_writel(sdio->func, H2D_SW_INT_CLEAR_MAILBOX_ACK, in mt7921s_clear_rm3r_drv_own() 102 struct sdio_func *func = dev->mt76.sdio.func; in mt7921s_mcu_drv_pmctrl() 138 struct sdio_func *func = dev->mt76.sdio.func; in mt7921s_mcu_fw_pmctrl()
|
/freebsd/sys/dev/sdio/ |
H A D | sdiodevs | 31 * Take SDIO CIS, CISTPL_MANFID, TPLMID_MANF and TPLMID_CARD information and 59 product REALTEK RTW8723BS 0xb723 802.11bgn SDIO WLAN with Bluetooth 4.0 Single-Chip Controller 62 product REALTEK RTW8822BS 0xb822 802.11ac/abgn SDIO WLAN with Bluetooth 4.1 Single-Chip Controller 63 product REALTEK RTW8821CS 0xc821 802.11ac/abgn SDIO WLAN with Bluetooth 4.2 Single-Chip Controller 64 product REALTEK RTW8822CS 0xc822 802.11ac/abgn SDIO WLAN with Bluetooth x.x Single-Chip Controller 65 product REALTEK RTW8723DS_1ANT 0xd724 802.11bgn SDIO WLAN with Bluetooth 4.2 Single-Chip Controller 66 product REALTEK RTW8723DS_2ANT 0xd723 802.11bgn SDIO WLAN with Bluetooth 4.2 Single-Chip Controller 69 product ATHEROS AR6005 0x050a Qualcomm Atheros 802.11ac WLAN SDIO 70 product ATHEROS QCA9377 0x0701 Qualcomm Atheros 802.11ac WLAN SDIO 73 product BROADCOM 43241 0x4324 BCM43241 fullmac SDIO WiFi [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | sdio.c | 17 #include "../sdio.h" 29 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt7663s_txrx_worker() local 31 struct mt76_dev *mdev = container_of(sdio, struct mt76_dev, sdio); in mt7663s_txrx_worker() 38 mt76s_txrx_worker(sdio); in mt7663s_txrx_worker() 55 struct mt76_sdio *sdio = &dev->sdio; in mt7663s_parse_intr() local 56 struct mt7663s_intr *irq_data = sdio->intr_data; in mt7663s_parse_intr() 59 sdio_claim_host(sdio->func); in mt7663s_parse_intr() 60 err = sdio_readsb(sdio->func, irq_data, MCR_WHISR, sizeof(*irq_data)); in mt7663s_parse_intr() 61 sdio_release_host(sdio->func); in mt7663s_parse_intr() 134 mdev->sdio.parse_irq = mt7663s_parse_intr; in mt7663s_probe() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/marvell/ |
H A D | cp110-system-controller.txt | 40 - 0 5 SDIO core 46 - 1 4 SDIO 123 mpp32 32 gpio, mii(col), mii(txerr), mss_spi(miso), tdm(drx), au(i2sextclk), au(i2sdi), ge(mdio), sdio(v18_en), pcie1(clkreq), mss_gpio0 124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(mdio), pcie2(clkreq), mss_gpio1 125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge(mdc), pcie0(clkreq), mss_gpio2 126 mpp35 35 gpio, sata1(present_act), i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_detect), xg(mdio), ge(mdio), pcie(rstoutn), mss_gpio3 130 mpp39 39 gpio, sdio(wr_protect), au(i2sbclk), ptp(clk), spi0(csn1), sata1(present_act), mss_gpio0 131 mpp40 40 gpio, sdio(pwr1 [all...] |
H A D | ap80x-system-controller.txt | 51 mpp0 0 gpio, sdio(clk), spi0(clk) 52 mpp1 1 gpio, sdio(cmd), spi0(miso) 53 mpp2 2 gpio, sdio(d0), spi0(mosi) 54 mpp3 3 gpio, sdio(d1), spi0(cs0n) 55 mpp4 4 gpio, sdio(d2), i2c0(sda) 56 mpp5 5 gpio, sdio(d3), i2c0(sdk) 57 mpp6 6 gpio, sdio(ds) 58 mpp7 7 gpio, sdio(d4), uart1(rxd) 59 mpp8 8 gpio, sdio(d5), uart1(txd) 60 mpp9 9 gpio, sdio(d6), spi0(cs1n) [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mvebu_pinctrl.c | 67 {"mpp0", {"gpio", "sdio", NULL, "spi0"}}, 68 {"mpp1", {"gpio", "sdio", NULL, "spi0"}}, 69 {"mpp2", {"gpio", "sdio", NULL, "spi0"}}, 70 {"mpp3", {"gpio", "sdio", NULL, "spi0"}}, 71 {"mpp4", {"gpio", "sdio", NULL, "i2c0"}}, 72 {"mpp5", {"gpio", "sdio", NULL, "i2c0"}}, 73 {"mpp6", {"gpio", "sdio", NULL, NULL}}, 74 {"mpp7", {"gpio", "sdio", NULL, "uart1"}}, 75 {"mpp8", {"gpio", "sdio", NULL, "uart1"}}, 76 {"mpp9", {"gpio", "sdio", NULL, "spi0"}}, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | marvell,kirkwood-pinctrl.txt | 39 mpp12 12 gpo, sdio(clk) 40 mpp13 13 gpio, sdio(cmd), uart1(txd) 41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col) 42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd) 43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs) 44 mpp17 17 gpio, sdio(d3) 77 mpp12 12 gpo, sdio(clk) 78 mpp13 13 gpio, sdio(cmd), uart1(txd) 79 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col) 80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act) [all …]
|
H A D | loongson,ls2k-pinctrl.yaml | 42 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0, 47 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0, 65 sdio_pins_default: sdio-pins { 66 sdio-pinmux { 67 groups = "sdio"; 68 function = "sdio"; 71 sdio-det-pinmux {
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | sdio.h | 23 /* SDIO Tx Control */ 26 /*SDIO status timeout*/ 29 /* SDIO Host Interrupt Mask */ 51 /* the following two are RTL8188 SDIO Specific */ 55 /* SDIO Host Interrupt Service Routine */ 77 /* the following two are RTL8188 SDIO Specific */ 106 /* SDIO HCI Suspend Control */ 110 /* SDIO Host Extension Interrupt Mask Always */ 112 /* SDIO Host Extension Interrupt Status Always */ 123 /* Sdio Address for SDIO Local Reg, TRX FIFO, MAC Reg */
|
/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | amlogic,meson-mx-sdio.txt | 1 * Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller 4 for MMC, SD, SDIO and SDHC types of memory cards. 14 - "amlogic,meson8-sdio" 15 - "amlogic,meson8b-sdio" 16 along with the generic "amlogic,meson-mx-sdio" 40 compatible = "amlogic,meson8-sdio", "amlogic,meson-mx-sdio";
|
H A D | sdhci-sprd.txt | 4 for MMC, SD and SDIO types of cards. 15 "sdio" - SDIO source clock (required) 20 - assigned-clocks: the same with "sdio" clock 21 - assigned-clock-parents: the default parent of "sdio" clock 45 sdio0: sdio@20600000 { 50 clock-names = "sdio", "enable"; 63 no-sdio;
|
H A D | orion-sdio.txt | 1 * Marvell orion-sdio controller 4 and the properties used by the orion-sdio driver. 6 - compatible: Should be "marvell,orion-sdio" 7 - clocks: reference to the clock of the SDIO interface 12 compatible = "marvell,orion-sdio";
|
H A D | mmc-controller.yaml | 94 - for SD/SDIO cards the SDR104 mode has a max supported 112 line. Not used in combination with eMMC or SDIO. 175 cap-sdio-irq: 178 enable SDIO IRQ signalling on this interface 243 no-sdio: 246 Controller is limited to send SDIO commands during 294 SDIO only. Preserves card power during a suspend/resume cycle. 299 SDIO only. Enables wake up of host system on SDIO IRQ assertion. 316 sequence. To successfully detect an (e)MMC/SD/SDIO car [all...] |
H A D | marvell,orion-sdio.yaml | 4 $id: http://devicetree.org/schemas/mmc/marvell,orion-sdio.yaml# 7 title: Marvell orion-sdio controller 18 const: marvell,orion-sdio 40 compatible = "marvell,orion-sdio";
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | mvebu-gated-clock.txt | 21 17 sdio SDHCI Host 40 17 sdio SDHCI Host 72 17 sdio SDIO 91 17 sdio SDIO 111 17 sdio SDHCI Host 128 17 sdio SDHCI Host 161 4 sdio SDIO Cntrl 201 sdio0: sdio@92000 {
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | silabs,wfx.yaml | 18 The WF200 can be connected via SPI or via SDIO. 20 For SDIO: 23 sufficient for the SDIO devices). 25 It is recommended to declare a mmc-pwrseq on SDIO host above WFx. Without 43 When used on SDIO bus, <reg> must be set to 1. When used on SPI bus, it is 50 used, this property is required. When SDIO is used, the "in-band" 51 interrupt provided by the SDIO bus is used unless an interrupt is defined 60 For SDIO, the reset gpio should declared using a mmc-pwrseq.
|
H A D | brcm,bcm43xx-fmac.txt | 1 Broadcom BCM43xx Fullmac wireless SDIO devices 4 node is expected to be specified as a child node to the SDIO controller that 12 - brcm,drive-strength : drive strength used for SDIO pins on device in mA 15 When not specified the device will use in-band SDIO interrupts.
|
/freebsd/sys/contrib/device-tree/Bindings/staging/net/wireless/ |
H A D | silabs,wfx.yaml | 19 The WF200 can be connected via SPI or via SDIO. 21 For SDIO: 24 sufficient for the SDIO devices). 26 It is recommended to declare a mmc-pwrseq on SDIO host above WFx. Without 49 When used on SDIO bus, <reg> must be set to 1. When used on SPI bus, it is 58 used, this property is required. When SDIO is used, the "in-band" 59 interrupt provided by the SDIO bus is used unless an interrupt is defined 68 For SDIO, the reset gpio should declared using a mmc-pwrseq.
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | sdio.c | 14 #include <linux/mmc/sdio.h> 25 #include "sdio.h" 85 /* sdio/mmc functions */ 139 ath10k_dbg(ar, ATH10K_DBG_BOOT, "sdio configuration\n"); in ath10k_sdio_config() 207 ath10k_warn(ar, "failed to set sdio block size to %d: %d\n", in ath10k_sdio_config() 232 ath10k_dbg(ar, ATH10K_DBG_SDIO, "sdio write32 addr 0x%x val 0x%x\n", in ath10k_sdio_write32() 263 ath10k_dbg(ar, ATH10K_DBG_SDIO, "sdio writesb32 addr 0x%x val 0x%x\n", in ath10k_sdio_writesb32() 288 ath10k_dbg(ar, ATH10K_DBG_SDIO, "sdio read32 addr 0x%x val 0x%x\n", in ath10k_sdio_read32() 312 ath10k_dbg(ar, ATH10K_DBG_SDIO, "sdio read addr 0x%x buf 0x%p len %zu\n", in ath10k_sdio_read() 314 ath10k_dbg_dump(ar, ATH10K_DBG_SDIO_DUMP, NULL, "sdio read ", buf, len); in ath10k_sdio_read() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | marvell-bt-8xxx.txt | 1 Marvell 8897/8997 (sd8897/sd8997) bluetooth devices (SDIO or USB based) 3 The 8997 devices supports multiple interfaces. When used on SDIO interfaces, 10 * "marvell,sd8897-bt" (for SDIO) 11 * "marvell,sd8997-bt" (for SDIO) 18 This is only applicable to SDIO devices. 26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the 42 Example for SDIO device follows (calibration data is also available in
|
/freebsd/sys/contrib/device-tree/Bindings/net/bluetooth/ |
H A D | mediatek,mt7921s-bluetooth.yaml | 13 MT7921S is an SDIO-attached dual-radio WiFi+Bluetooth Combo chip; each 14 function is its own SDIO function on a shared SDIO interface. The chip 16 This binding only covers the Bluetooth SDIO function, with one device 17 node describing only this SDIO function.
|