diff options
| author | Franky Lin <frankyl@broadcom.com> | 2013-08-10 06:27:26 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2013-08-15 16:07:55 -0400 |
| commit | b05e92545d9582be15699e4a33d0f93ac00b37dd (patch) | |
| tree | 7c0da83047da08922ac2917cd1a409cdd0edbf33 /include/linux/platform_data | |
| parent | 89c2f382fff4ec8adf04264925e07e951d0552ce (diff) | |
brcmfmac: abstract tx packet processing functions
Abstract brcmf_sdio_txpkt_prep and brcmf_sdio_txpkt_postp as a preparation
of chained tx packets for host side tx glomming.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/brcmfmac-sdio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform_data/brcmfmac-sdio.h b/include/linux/platform_data/brcmfmac-sdio.h index b7174998c24a..e75dcbf2b230 100644 --- a/include/linux/platform_data/brcmfmac-sdio.h +++ b/include/linux/platform_data/brcmfmac-sdio.h | |||
| @@ -94,6 +94,10 @@ void __init brcmfmac_init_pdata(void) | |||
| 94 | * Set this to true if the SDIO host controller has higher align requirement | 94 | * Set this to true if the SDIO host controller has higher align requirement |
| 95 | * than 32 bytes for each scatterlist item. | 95 | * than 32 bytes for each scatterlist item. |
| 96 | * | 96 | * |
| 97 | * sd_head_align: alignment requirement for start of data buffer | ||
| 98 | * | ||
| 99 | * sd_sgentry_align: length alignment requirement for each sg entry | ||
| 100 | * | ||
| 97 | * power_on: This function is called by the brcmfmac when the module gets | 101 | * power_on: This function is called by the brcmfmac when the module gets |
| 98 | * loaded. This can be particularly useful for low power devices. The platform | 102 | * loaded. This can be particularly useful for low power devices. The platform |
| 99 | * spcific routine may for example decide to power up the complete device. | 103 | * spcific routine may for example decide to power up the complete device. |
| @@ -121,6 +125,8 @@ struct brcmfmac_sdio_platform_data { | |||
| 121 | unsigned int oob_irq_nr; | 125 | unsigned int oob_irq_nr; |
| 122 | unsigned long oob_irq_flags; | 126 | unsigned long oob_irq_flags; |
| 123 | bool broken_sg_support; | 127 | bool broken_sg_support; |
| 128 | unsigned short sd_head_align; | ||
| 129 | unsigned short sd_sgentry_align; | ||
| 124 | void (*power_on)(void); | 130 | void (*power_on)(void); |
| 125 | void (*power_off)(void); | 131 | void (*power_off)(void); |
| 126 | void (*reset)(void); | 132 | void (*reset)(void); |
