Home
last modified time | relevance | path

Searched full:tdma (Results 1 – 25 of 104) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
Dtdma.c3 * Provide TDMA helper functions used by cipher and hash algorithm
60 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_cleanup() local
62 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup()
63 struct mv_cesa_tdma_desc *old_tdma = tdma; in mv_cesa_dma_cleanup()
64 u32 type = tdma->flags & CESA_TDMA_TYPE_MSK; in mv_cesa_dma_cleanup()
67 dma_pool_free(cesa_dev->dma->op_pool, tdma->op, in mv_cesa_dma_cleanup()
68 le32_to_cpu(tdma->src)); in mv_cesa_dma_cleanup()
70 tdma = tdma->next; in mv_cesa_dma_cleanup()
82 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_prepare() local
84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare()
[all …]
Dcesa.h271 /* TDMA descriptor flags */
284 * struct mv_cesa_tdma_desc - TDMA descriptor
288 * @next_dma: DMA address of the next TDMA descriptor
289 * @cur_dma: DMA address of this TDMA descriptor
290 * @next: pointer to the next TDMA descriptor
291 * @op: CESA operation attached to this TDMA descriptor
292 * @data: raw data attached to this TDMA descriptor
293 * @flags: flags describing the TDMA transfer. See the
294 * "TDMA descriptor flags" section above
296 * TDMA descriptor used to create a transfer chain describing a crypto
[all …]
DMakefile3 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/
Dtdma.c3 * Provide TDMA helper functions used by cipher and hash algorithm
60 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_cleanup() local
62 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup()
63 struct mv_cesa_tdma_desc *old_tdma = tdma; in mv_cesa_dma_cleanup()
64 u32 type = tdma->flags & CESA_TDMA_TYPE_MSK; in mv_cesa_dma_cleanup()
67 dma_pool_free(cesa_dev->dma->op_pool, tdma->op, in mv_cesa_dma_cleanup()
68 le32_to_cpu(tdma->src)); in mv_cesa_dma_cleanup()
70 tdma = tdma->next; in mv_cesa_dma_cleanup()
82 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_prepare() local
84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare()
[all …]
Dcesa.h271 /* TDMA descriptor flags */
284 * struct mv_cesa_tdma_desc - TDMA descriptor
288 * @next_dma: DMA address of the next TDMA descriptor
289 * @cur_dma: DMA address of this TDMA descriptor
290 * @next: pointer to the next TDMA descriptor
291 * @op: CESA operation attached to this TDMA descriptor
292 * @data: raw data attached to this TDMA descriptor
293 * @flags: flags describing the TDMA transfer. See the
294 * "TDMA descriptor flags" section above
296 * TDMA descriptor used to create a transfer chain describing a crypto
[all …]
DMakefile3 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
/kernel/linux/linux-5.10/drivers/dma/
Dtegra210-adma.c133 struct tegra_adma *tdma; member
170 static inline void tdma_write(struct tegra_adma *tdma, u32 reg, u32 val) in tdma_write() argument
172 writel(val, tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_write()
175 static inline u32 tdma_read(struct tegra_adma *tdma, u32 reg) in tdma_read() argument
177 return readl(tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_read()
203 return tdc->tdma->dev; in tdc2dev()
221 static int tegra_adma_init(struct tegra_adma *tdma) in tegra_adma_init() argument
227 tdma_write(tdma, tdma->cdata->ch_base_offset + tdma->cdata->global_int_clear, 0x1); in tegra_adma_init()
230 tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1); in tegra_adma_init()
234 tdma->base_addr + in tegra_adma_init()
[all …]
Dtegra20-apb-dma.c189 struct tegra_dma *tdma; member
231 static inline void tdma_write(struct tegra_dma *tdma, u32 reg, u32 val) in tdma_write() argument
233 writel(val, tdma->base_addr + reg); in tdma_write()
236 static inline u32 tdma_read(struct tegra_dma *tdma, u32 reg) in tdma_read() argument
238 return readl(tdma->base_addr + reg); in tdma_read()
360 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_pause() local
362 spin_lock(&tdma->global_lock); in tegra_dma_global_pause()
364 if (tdc->tdma->global_pause_count == 0) { in tegra_dma_global_pause()
365 tdma_write(tdma, TEGRA_APBDMA_GENERAL, 0); in tegra_dma_global_pause()
370 tdc->tdma->global_pause_count++; in tegra_dma_global_pause()
[all …]
/kernel/linux/linux-6.6/drivers/dma/
Dtegra210-adma.c131 struct tegra_adma *tdma; member
168 static inline void tdma_write(struct tegra_adma *tdma, u32 reg, u32 val) in tdma_write() argument
170 writel(val, tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_write()
173 static inline u32 tdma_read(struct tegra_adma *tdma, u32 reg) in tdma_read() argument
175 return readl(tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_read()
201 return tdc->tdma->dev; in tdc2dev()
219 static int tegra_adma_init(struct tegra_adma *tdma) in tegra_adma_init() argument
225 tdma_write(tdma, tdma->cdata->ch_base_offset + tdma->cdata->global_int_clear, 0x1); in tegra_adma_init()
228 tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1); in tegra_adma_init()
232 tdma->base_addr + in tegra_adma_init()
[all …]
Dtegra20-apb-dma.c188 struct tegra_dma *tdma; member
230 static inline void tdma_write(struct tegra_dma *tdma, u32 reg, u32 val) in tdma_write() argument
232 writel(val, tdma->base_addr + reg); in tdma_write()
348 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_pause() local
350 spin_lock(&tdma->global_lock); in tegra_dma_global_pause()
352 if (tdc->tdma->global_pause_count == 0) { in tegra_dma_global_pause()
353 tdma_write(tdma, TEGRA_APBDMA_GENERAL, 0); in tegra_dma_global_pause()
358 tdc->tdma->global_pause_count++; in tegra_dma_global_pause()
360 spin_unlock(&tdma->global_lock); in tegra_dma_global_pause()
365 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_resume() local
[all …]
Dtegra186-gpc-dma.c237 struct tegra_dma *tdma; member
263 writel_relaxed(val, tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_write()
268 return readl_relaxed(tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_read()
311 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_reserve() local
319 if (test_and_set_bit(sid, &tdma->sid_m2d_reserved)) { in tegra_dma_sid_reserve()
320 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve()
325 if (test_and_set_bit(sid, &tdma->sid_d2m_reserved)) { in tegra_dma_sid_reserve()
326 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve()
341 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_free() local
346 clear_bit(sid, &tdma->sid_m2d_reserved); in tegra_dma_sid_free()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/
Dsgiseeq.c75 volatile struct hpc_dma_desc tdma; member
196 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
272 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
273 t[i].tdma.pnext); in sgiseeq_dump_rings()
276 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
277 t[i].tdma.pnext); in sgiseeq_dump_rings()
445 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == in kick_tx()
451 if (td->tdma.cntinfo & HPCDMA_XIU) { in kick_tx()
483 if (!(td->tdma.cntinfo & (HPCDMA_XIU))) in sgiseeq_tx()
485 if (!(td->tdma.cntinfo & (HPCDMA_ETXD))) { in sgiseeq_tx()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/seeq/
Dsgiseeq.c75 volatile struct hpc_dma_desc tdma; member
196 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
272 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
273 t[i].tdma.pnext); in sgiseeq_dump_rings()
276 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
277 t[i].tdma.pnext); in sgiseeq_dump_rings()
445 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == in kick_tx()
451 if (td->tdma.cntinfo & HPCDMA_XIU) { in kick_tx()
483 if (!(td->tdma.cntinfo & (HPCDMA_XIU))) in sgiseeq_tx()
485 if (!(td->tdma.cntinfo & (HPCDMA_ETXD))) { in sgiseeq_tx()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a2ant.h19 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
21 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
Dhalbtc8723b2ant.h21 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
23 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a2ant.h19 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
21 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
Dhalbtc8723b2ant.h21 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
23 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-dma.c13 dma_addr_t tdma = 0; in flexcop_dma_allocate() local
20 tcpu = pci_alloc_consistent(pdev, size, &tdma); in flexcop_dma_allocate()
24 dma->dma_addr0 = tdma; in flexcop_dma_allocate()
26 dma->dma_addr1 = tdma + size/2; in flexcop_dma_allocate()
/kernel/linux/linux-6.6/drivers/media/pci/b2c2/
Dflexcop-dma.c13 dma_addr_t tdma = 0; in flexcop_dma_allocate() local
20 tcpu = dma_alloc_coherent(&pdev->dev, size, &tdma, GFP_KERNEL); in flexcop_dma_allocate()
24 dma->dma_addr0 = tdma; in flexcop_dma_allocate()
26 dma->dma_addr1 = tdma + size/2; in flexcop_dma_allocate()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
Dcoex.c327 /* TDMA off + pri: BT > WL */
330 /* TDMA off + pri: WL > BT */
333 /* TDMA off + pri: BT = WL */
336 /* TDMA off + pri: BT = WL > BT_Lo */
339 /* TDMA off + pri: WL = BT, BT_Rx > WL_Lo_Tx */
342 /* TDMA off + pri: WL_Rx = BT, BT_HI > WL_Tx > BT_Lo */
345 /* TDMA off + pri: BT_Hi > WL > BT_Lo */
348 /* TDMA off + pri: WL_Hi-Tx > BT_Hi_Rx, BT_Hi > WL > BT_Lo */
351 /* TDMA off + pri: WL_Hi-Tx > BT, BT_Hi > other-WL > BT_Lo */
354 /* TDMA off + pri: WL_Hi-Tx = BT */
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-axg.dtsi807 function = "tdma";
815 function = "tdma";
823 function = "tdma";
831 function = "tdma";
839 function = "tdma";
847 function = "tdma";
855 function = "tdma";
863 function = "tdma";
871 function = "tdma";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-tsa.yaml54 The TDM number for this TDM, 0 for TDMa and 1 for TDMb
186 /* TDMa */
/kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/
Dmeson-axg.dtsi872 function = "tdma";
880 function = "tdma";
888 function = "tdma";
896 function = "tdma";
904 function = "tdma";
912 function = "tdma";
920 function = "tdma";
928 function = "tdma";
936 function = "tdma";
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c433 "[BTCoex], turn TDMA mode ON!!\n"); in rtl8723e_dm_bt_set_fw_tdma_ctrl()
469 "[BTCoex], turn TDMA mode OFF!!\n"); in rtl8723e_dm_bt_set_fw_tdma_ctrl()
518 "[BTCoex], not 8723B cut, don't set Traditional TDMA!!\n"); in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
554 "[BTCoex], FW Traditional TDMA, write 0x33=0x%x\n", in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
756 * we only need to turn off TDMA in rtl8723e_dm_bt_set_bt_dm()
808 /* Note: There is a constraint between TDMA and 2AntHID in rtl8723e_dm_bt_set_bt_dm()
809 * Only one of 2AntHid and tdma can be turn on in rtl8723e_dm_bt_set_bt_dm()
814 /* turn off tdma */ in rtl8723e_dm_bt_set_bt_dm()
842 /* turn on tdma */ in rtl8723e_dm_bt_set_bt_dm()
854 /* turn off tdma */ in rtl8723e_dm_bt_set_bt_dm()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c433 "[BTCoex], turn TDMA mode ON!!\n"); in rtl8723e_dm_bt_set_fw_tdma_ctrl()
469 "[BTCoex], turn TDMA mode OFF!!\n"); in rtl8723e_dm_bt_set_fw_tdma_ctrl()
518 "[BTCoex], not 8723B cut, don't set Traditional TDMA!!\n"); in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
554 "[BTCoex], FW Traditional TDMA, write 0x33=0x%x\n", in rtl8723e_dm_bt_set_fw_tra_tdma_ctrl()
756 * we only need to turn off TDMA in rtl8723e_dm_bt_set_bt_dm()
808 /* Note: There is a constraint between TDMA and 2AntHID in rtl8723e_dm_bt_set_bt_dm()
809 * Only one of 2AntHid and tdma can be turn on in rtl8723e_dm_bt_set_bt_dm()
814 /* turn off tdma */ in rtl8723e_dm_bt_set_bt_dm()
842 /* turn on tdma */ in rtl8723e_dm_bt_set_bt_dm()
854 /* turn off tdma */ in rtl8723e_dm_bt_set_bt_dm()
[all …]

12345