| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | brcmfmac.h | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 34 * Note: the brcmfmac can be loaded as module or be statically built-in into 35 * the kernel. If built-in then do note that it uses module_init (and 38 * it built-in to the kernel then use a higher initcall then device_initcall 43 * without reporting anything and just assume there is no data needed. Which is 48 * enum brcmf_bus_type - Bus type identifier. Currently SDIO, USB and PCIE are 59 * struct brcmfmac_sdio_pd - SDIO Device specific platform data. 61 * @txglomsz: SDIO txglom size. Use 0 if default of driver is to be 63 * @drive_strength: is the preferred drive_strength to be used for the SDIO 68 * @oob_irq_supported: does the board have support for OOB interrupts. SDIO [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | brcmfmac.h | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 34 * Note: the brcmfmac can be loaded as module or be statically built-in into 35 * the kernel. If built-in then do note that it uses module_init (and 38 * it built-in to the kernel then use a higher initcall then device_initcall 43 * without reporting anything and just assume there is no data needed. Which is 48 * enum brcmf_bus_type - Bus type identifier. Currently SDIO, USB and PCIE are 59 * struct brcmfmac_sdio_pd - SDIO Device specific platform data. 61 * @txglomsz: SDIO txglom size. Use 0 if default of driver is to be 63 * @drive_strength: is the preferred drive_strength to be used for the SDIO 68 * @oob_irq_supported: does the board have support for OOB interrupts. SDIO [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mmc/ |
| D | mmc-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 40 There is no card detection available; polling must be used. 42 cd-gpios: [all …]
|
| D | sdhci-sprd.txt | 1 * Spreadtrum SDHCI controller (sdhci-sprd) 4 for MMC, SD and SDIO types of cards. 7 and the properties used by the sdhci-sprd driver. 10 - compatible: Should contain "sprd,sdhci-r11". 11 - reg: physical base address of the controller and length. 12 - interrupts: Interrupts used by the SDHCI controller. 13 - clocks: Should contain phandle for the clock feeding the SDHCI controller 14 - clock-names: Should contain the following: 15 "sdio" - SDIO source clock (required) 16 "enable" - gate clock which used for enabling/disabling the device (required) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| D | sdhci-sprd.txt | 1 * Spreadtrum SDHCI controller (sdhci-sprd) 4 for MMC, SD and SDIO types of cards. 7 and the properties used by the sdhci-sprd driver. 10 - compatible: Should contain "sprd,sdhci-r11". 11 - reg: physical base address of the controller and length. 12 - interrupts: Interrupts used by the SDHCI controller. 13 - clocks: Should contain phandle for the clock feeding the SDHCI controller 14 - clock-names: Should contain the following: 15 "sdio" - SDIO source clock (required) 16 "enable" - gate clock which used for enabling/disabling the device (required) [all …]
|
| D | mmc-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 40 There is no card detection available; polling must be used. 42 cd-gpios: [all …]
|
| D | marvell,xenon-sdhci.txt | 11 - compatible: should be one of the following 12 - "marvell,armada-3700-sdhci": For controllers on Armada-3700 SoC. 13 Must provide a second register area and marvell,pad-type. 14 - "marvell,armada-ap806-sdhci": For controllers on Armada AP806. 15 - "marvell,armada-cp110-sdhci": For controllers on Armada CP110. 17 - clocks: 22 - clock-names: 27 - reg: 28 * For "marvell,armada-3700-sdhci", two register areas. 31 Please follow the examples with compatible "marvell,armada-3700-sdhci" [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-ap806.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 19 #include "pinctrl-mvebu.h" 24 MPP_FUNCTION(1, "sdio", "clk"), 28 MPP_FUNCTION(1, "sdio", "cmd"), 32 MPP_FUNCTION(1, "sdio", "d0"), 36 MPP_FUNCTION(1, "sdio", "d1"), 40 MPP_FUNCTION(1, "sdio", "d2"), 44 MPP_FUNCTION(1, "sdio", "d3"), 48 MPP_FUNCTION(1, "sdio", "ds")), [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-ap806.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 19 #include "pinctrl-mvebu.h" 24 MPP_FUNCTION(1, "sdio", "clk"), 28 MPP_FUNCTION(1, "sdio", "cmd"), 32 MPP_FUNCTION(1, "sdio", "d0"), 36 MPP_FUNCTION(1, "sdio", "d1"), 40 MPP_FUNCTION(1, "sdio", "d2"), 44 MPP_FUNCTION(1, "sdio", "d3"), 48 MPP_FUNCTION(1, "sdio", "ds")), [all …]
|
| D | pinctrl-ac5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include "pinctrl-mvebu.h" 22 MPP_FUNCTION(1, "sdio", "d0"), 26 MPP_FUNCTION(1, "sdio", "d1"), 30 MPP_FUNCTION(1, "sdio", "d2"), 34 MPP_FUNCTION(1, "sdio", "d3"), 38 MPP_FUNCTION(1, "sdio", "d4"), 44 MPP_FUNCTION(1, "sdio", "d5"), 50 MPP_FUNCTION(1, "sdio", "d6"), 55 MPP_FUNCTION(1, "sdio", "d7"), [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | sdio.h | 1 // SPDX-License-Identifier: ISC 69 /* rev < 7, watermark for sdio device TX path */ 84 /* SdioPullUp (on cmd, d0-d2) */ 96 /* Watermark for sdio device RX path */ 103 /* Sdio Core Rev 12 */ 124 /* with b15, maps to 32-bit SB access */ 140 /* Packet alignment for most efficient SDIO (can change based on platform) */ 147 * enum brcmf_sdiod_state - the state of the bus. 149 * @BRCMF_SDIOD_DOWN: Device can be accessed, no DPC. 151 * @BRCMF_SDIOD_NOMEDIUM: No medium access to dongle possible. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | sdio.h | 1 // SPDX-License-Identifier: ISC 69 /* rev < 7, watermark for sdio device TX path */ 84 /* SdioPullUp (on cmd, d0-d2) */ 96 /* Watermark for sdio device RX path */ 103 /* Sdio Core Rev 12 */ 124 /* with b15, maps to 32-bit SB access */ 140 /* Packet alignment for most efficient SDIO (can change based on platform) */ 147 * enum brcmf_sdiod_state - the state of the bus. 149 * @BRCMF_SDIOD_DOWN: Device can be accessed, no DPC. 151 * @BRCMF_SDIOD_NOMEDIUM: No medium access to dongle possible. [all …]
|
| D | of.c | 1 // SPDX-License-Identifier: ISC 19 struct device_node *np = dev->of_node; in brcmf_of_get_country_codes() 25 count = of_property_count_strings(np, "brcm,ccode-map"); in brcmf_of_get_country_codes() 27 /* If no explicit country code map is specified, check whether in brcmf_of_get_country_codes() 30 settings->trivial_ccode_map = in brcmf_of_get_country_codes() 31 of_property_read_bool(np, "brcm,ccode-map-trivial"); in brcmf_of_get_country_codes() 36 return (count == -EINVAL) ? 0 : count; in brcmf_of_get_country_codes() 41 return -ENOMEM; in brcmf_of_get_country_codes() 43 cc->table_size = count; in brcmf_of_get_country_codes() 48 cce = &cc->table[i]; in brcmf_of_get_country_codes() [all …]
|
| /kernel/linux/linux-6.6/fs/ |
| D | direct-io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/direct-io.c 16 * added support for non-aligned IO. 59 * is determined on a per-invocation basis. When talking to the filesystem 61 * down by dio->blkfactor. Similarly, fs-blocksize quantities are converted 76 finer. blkfactor=2 means 1/4-block 78 unsigned start_zero_done; /* flag: sub-blocksize zeroing has 159 static inline unsigned dio_pages_present(struct dio_submit *sdio) in dio_pages_present() argument 161 return sdio->tail - sdio->head; in dio_pages_present() 167 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
| D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 14 #include <linux/mmc/sdio.h> 40 MODULE_DEVICE_TABLE(sdio, wl1271_devices); 45 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() 46 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size() 57 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() 58 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read() 64 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read() 72 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
| D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 14 #include <linux/mmc/sdio.h> 40 MODULE_DEVICE_TABLE(sdio, wl1271_devices); 45 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() 46 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size() 57 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() 58 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read() 64 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read() 72 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | direct-io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/direct-io.c 16 * added support for non-aligned IO. 59 * is determined on a per-invocation basis. When talking to the filesystem 61 * down by dio->blkfactor. Similarly, fs-blocksize quantities are converted 76 finer. blkfactor=2 means 1/4-block 78 unsigned start_zero_done; /* flag: sub-blocksize zeroing has 161 static inline unsigned dio_pages_present(struct dio_submit *sdio) in dio_pages_present() argument 163 return sdio->tail - sdio->head; in dio_pages_present() 169 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | sdio_irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #include <linux/mmc/sdio.h> 32 struct mmc_card *card = host->card; in sdio_get_pending_irqs() 35 WARN_ON(!host->claimed); in sdio_get_pending_irqs() 45 !(host->caps & MMC_CAP_SDIO_IRQ)) { in sdio_get_pending_irqs() 60 struct mmc_card *card = host->card; in process_sdio_pending_irqs() 62 bool sdio_irq_pending = host->sdio_irq_pending; in process_sdio_pending_irqs() 66 /* Don't process SDIO IRQs if the card is suspended. */ in process_sdio_pending_irqs() 71 host->sdio_irq_pending = false; in process_sdio_pending_irqs() 78 func = card->sdio_single_irq; in process_sdio_pending_irqs() [all …]
|
| D | sdio_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Pierre Ossman 12 #include <linux/mmc/sdio.h> 21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function 22 * @func: SDIO function that will be accessed 24 * Claim a bus for a set of operations. The SDIO function given 32 mmc_claim_host(func->card->host); in sdio_claim_host() 37 * sdio_release_host - release a bus for a certain SDIO function 38 * @func: SDIO function that was accessed 48 mmc_release_host(func->card->host); in sdio_release_host() [all …]
|
| /kernel/linux/linux-6.6/drivers/mmc/core/ |
| D | sdio_irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #include <linux/mmc/sdio.h> 32 struct mmc_card *card = host->card; in sdio_get_pending_irqs() 35 WARN_ON(!host->claimed); in sdio_get_pending_irqs() 45 !(host->caps & MMC_CAP_SDIO_IRQ)) { in sdio_get_pending_irqs() 60 struct mmc_card *card = host->card; in process_sdio_pending_irqs() 62 bool sdio_irq_pending = host->sdio_irq_pending; in process_sdio_pending_irqs() 66 /* Don't process SDIO IRQs if the card is suspended. */ in process_sdio_pending_irqs() 71 host->sdio_irq_pending = false; in process_sdio_pending_irqs() 78 func = card->sdio_single_irq; in process_sdio_pending_irqs() [all …]
|
| D | sdio_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Pierre Ossman 12 #include <linux/mmc/sdio.h> 21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function 22 * @func: SDIO function that will be accessed 24 * Claim a bus for a set of operations. The SDIO function given 32 mmc_claim_host(func->card->host); in sdio_claim_host() 37 * sdio_release_host - release a bus for a certain SDIO function 38 * @func: SDIO function that was accessed 48 mmc_release_host(func->card->host); in sdio_release_host() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/ |
| D | cw1200_sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device 5 * Copyright (c) 2010, ST-Ericsson 6 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> 16 #include <linux/mmc/sdio.h> 22 #include <linux/platform_data/net-cw1200.h> 25 MODULE_AUTHOR("Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>"); 26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver"); 56 MODULE_DEVICE_TABLE(sdio, cw1200_sdio_ids); 64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
| D | cw1200_sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device 5 * Copyright (c) 2010, ST-Ericsson 6 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> 16 #include <linux/mmc/sdio.h> 22 #include <linux/platform_data/net-cw1200.h> 25 MODULE_AUTHOR("Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>"); 26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver"); 56 MODULE_DEVICE_TABLE(sdio, cw1200_sdio_ids); 64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
| D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NXP Wireless LAN device driver: SDIO specific handling 5 * Copyright 2011-2020 NXP 17 #include "sdio.h" 518 * The device node is saved in card->plt_of_node. 524 if (!of_match_node(mwifiex_sdio_of_match_table, dev->of_node)) { in mwifiex_sdio_probe_of() 526 return -EINVAL; in mwifiex_sdio_probe_of() 533 * SDIO probe. 536 * the card structure, enables SDIO function number and initiates the 547 func->vendor, func->device, func->class, func->num); in mwifiex_sdio_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | sdio.c | 2 * NXP Wireless LAN device driver: SDIO specific handling 4 * Copyright 2011-2020 NXP 11 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 12 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 29 #include "sdio.h" 495 * The device node is saved in card->plt_of_node. 501 if (!of_match_node(mwifiex_sdio_of_match_table, dev->of_node)) { in mwifiex_sdio_probe_of() 503 return -EINVAL; in mwifiex_sdio_probe_of() 510 * SDIO probe. [all …]
|