/openbmc/linux/drivers/crypto/marvell/cesa/ |
H A D | tdma.c | 3 * 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 …]
|
H A D | cesa.h | 271 /* 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 …]
|
H A D | Makefile | 3 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
|
/openbmc/linux/drivers/dma/ |
H A D | tegra210-adma.c | 131 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 …]
|
H A D | tegra20-apb-dma.c | 188 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 …]
|
H A D | tegra186-gpc-dma.c | 238 struct tegra_dma *tdma; member 264 writel_relaxed(val, tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_write() 269 return readl_relaxed(tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_read() 312 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_reserve() local 320 if (test_and_set_bit(sid, &tdma->sid_m2d_reserved)) { in tegra_dma_sid_reserve() 321 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve() 326 if (test_and_set_bit(sid, &tdma->sid_d2m_reserved)) { in tegra_dma_sid_reserve() 327 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve() 342 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_free() local 347 clear_bit(sid, &tdma->sid_m2d_reserved); in tegra_dma_sid_free() [all …]
|
H A D | mmp_tdma.c | 391 mmp_tdma_chan_handler, 0, "tdma", tdmac); in mmp_tdma_alloc_chan_resources() 680 mmp_tdma_int_handler, IRQF_SHARED, "tdma", tdev); in mmp_tdma_probe() 751 .name = "mmp-tdma", 763 MODULE_ALIAS("platform:mmp-tdma");
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 75 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8821a2ant.h | 19 /* 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 */
|
H A D | halbtc8723b2ant.h | 21 /* 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 */
|
H A D | halbtc8821a1ant.c | 857 "[BTCoex], PS-TDMA H2C cmd =0x%x%08x\n", in btc8821a1ant_set_fw_ps_tdma() 1014 "[BTCoex], ********** TDMA(on, %d) **********\n", in btc8821a1ant_ps_tdma() 1018 "[BTCoex], ********** TDMA(off, %d) **********\n", in btc8821a1ant_ps_tdma() 1180 /* SoftAP only with no sta associated, BT disable, TDMA in btc8821a1ant_ps_tdma() 1203 /* disable PS tdma */ in btc8821a1ant_ps_tdma() 1456 /* tdma and coex table */ in btc8821a1ant_action_wifi_multi_port() 1492 /* tdma and coex table */ in btc8821a1ant_action_wifi_not_connected_asso_auth() 1562 /* tdma and coex table */ in btc8821a1ant_act_bt_sco_hid_only_busy() 1635 /* tdma and coex table */ in btc8821a1ant_action_wifi_not_connected() 1646 /* tdma and coex table */ in btc8821a1ant_act_wifi_not_conn_scan() [all …]
|
H A D | halbtc8723b1ant.c | 708 "[BTCoex], PS-TDMA H2C cmd =0x%x%08x\n", in halbtc8723b1ant_set_fw_ps_tdma() 1087 /* Native power save TDMA, only for A2DP-only case in halbtc8723b1ant_ps_tdma() 1305 /* SoftAP only with no sta associated,BT disable ,TDMA in halbtc8723b1ant_ps_tdma() 1385 /* disable PS tdma */ in halbtc8723b1ant_ps_tdma() 1811 /* tdma and coex table */ in btc8723b1ant_act_bt_sco_hid_only_busy() 1884 /* tdma and coex table */ in btc8723b1ant_action_wifi_not_conn() 1899 /* tdma and coex table */ in btc8723b1ant_action_wifi_not_conn_scan() 1937 /* tdma and coex table */ in btc8723b1ant_act_wifi_not_conn_asso_auth() 1960 /* tdma and coex table */ in btc8723b1ant_action_wifi_conn_scan() 2006 /* tdma and coex table */ in halbtc8723b1ant_action_wifi_connected_special_packet() [all …]
|
/openbmc/linux/drivers/media/pci/b2c2/ |
H A D | flexcop-dma.c | 13 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | coex.c | 327 /* 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | meson-axg.dtsi | 665 function = "tdma"; 672 function = "tdma"; 679 function = "tdma"; 686 function = "tdma"; 693 function = "tdma"; 700 function = "tdma"; 707 function = "tdma"; 714 function = "tdma"; 721 function = "tdma";
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | fsl,cpm1-tsa.yaml | 54 The TDM number for this TDM, 0 for TDMa and 1 for TDMb 186 /* TDMa */
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-axg.dtsi | 872 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";
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hal_btc.c | 433 "[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 …]
|
H A D | hal_btc.h | 29 /* TDMA mode definition */
|
/openbmc/linux/include/soc/fsl/qe/ |
H A D | qe_tdm.h | 78 u16 tdm_port; /* port for this tdm:TDMA,TDMB */
|
H A D | immap_qe.h | 167 u8 sitarc1; /* SI1 RAM counter Tx TDMA */ 171 u8 sirarc1; /* SI1 RAM counter Rx TDMA */
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalBtc8723b1Ant.c | 1259 case 40: /* SoftAP only with no sta associated, BT disable , TDMA mode for power saving */ in halbtc8723b1ant_PsTdma() 1268 /* disable PS tdma */ in halbtc8723b1ant_PsTdma() 1642 /* tdma and coex table */ in halbtc8723b1ant_ActionBtScoHidOnlyBusy() 1712 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiNotConnected() 1725 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiNotConnectedScan() 1759 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiNotConnectedAssoAuth() 1782 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiConnectedScan() 1816 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiConnectedSpecialPacket() 1871 …xSta->nScanAPNum >= BT_8723B_1ANT_WIFI_NOISY_THRESH) /* no force LPS, no PS-TDMA, use pure TDMA */ in halbtc8723b1ant_ActionWifiConnected() 1891 /* tdma and coex table */ in halbtc8723b1ant_ActionWifiConnected()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 47 BCM_SYSPORT_IO_MACRO(tdma, SYS_PORT_TDMA_OFFSET); 1597 "TDMA cfg, size=%d, switch q=%d,port=%d\n", in bcm_sysport_init_tx_ring() 1610 /* Caller should stop the TDMA engine */ in bcm_sysport_fini_tx_ring() 1613 netdev_warn(priv->netdev, "TDMA not stopped!\n"); in bcm_sysport_fini_tx_ring() 1632 netif_dbg(priv, hw, priv->netdev, "TDMA fini done\n"); in bcm_sysport_fini_tx_ring() 1662 /* TDMA helper */ 1685 netdev_err(priv->netdev, "timeout waiting for TDMA to finish\n"); in tdma_enable_set() 2062 /* Turn on TDMA */ in bcm_sysport_open() 2130 netdev_err(dev, "timeout disabling TDMA\n"); in bcm_sysport_stop() 2786 netdev_err(dev, "TDMA timeout!\n"); in bcm_sysport_suspend() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | immap_qe.h | 192 u16 siamr1; /* SI1 TDMA mode register */ 203 u8 sitarc1; /* SI1 RAM counter Tx TDMA */ 207 u8 sirarc1; /* SI1 RAM counter Rx TDMA */
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.h | 398 /* TDMA rate limiting control register */ 401 /* TDMA arbitration control register */
|