Lines Matching refs:req_tx

1878 	struct ti_sci_msg_rm_udmap_tx_ch_cfg req_tx = { 0 };  in udma_tisci_m2m_channel_config()  local
1887 req_tx.valid_params = TISCI_UDMA_TCHAN_VALID_PARAMS; in udma_tisci_m2m_channel_config()
1888 req_tx.nav_id = tisci_rm->tisci_dev_id; in udma_tisci_m2m_channel_config()
1889 req_tx.index = tchan->id; in udma_tisci_m2m_channel_config()
1890 req_tx.tx_chan_type = TI_SCI_RM_UDMAP_CHAN_TYPE_3RDP_BCOPY_PBRR; in udma_tisci_m2m_channel_config()
1891 req_tx.tx_fetch_size = sizeof(struct cppi5_desc_hdr_t) >> 2; in udma_tisci_m2m_channel_config()
1892 req_tx.txcq_qnum = tc_ring; in udma_tisci_m2m_channel_config()
1893 req_tx.tx_atype = ud->atype; in udma_tisci_m2m_channel_config()
1895 req_tx.valid_params |= TI_SCI_MSG_VALUE_RM_UDMAP_CH_BURST_SIZE_VALID; in udma_tisci_m2m_channel_config()
1896 req_tx.tx_burst_size = burst_size; in udma_tisci_m2m_channel_config()
1899 ret = tisci_ops->tx_ch_cfg(tisci_rm->tisci, &req_tx); in udma_tisci_m2m_channel_config()
1929 struct ti_sci_msg_rm_udmap_tx_ch_cfg req_tx = { 0 }; in bcdma_tisci_m2m_channel_config() local
1941 req_tx.valid_params = TISCI_BCDMA_BCHAN_VALID_PARAMS; in bcdma_tisci_m2m_channel_config()
1942 req_tx.nav_id = tisci_rm->tisci_dev_id; in bcdma_tisci_m2m_channel_config()
1943 req_tx.extended_ch_type = TI_SCI_RM_BCDMA_EXTENDED_CH_TYPE_BCHAN; in bcdma_tisci_m2m_channel_config()
1944 req_tx.index = bchan->id; in bcdma_tisci_m2m_channel_config()
1946 req_tx.valid_params |= TI_SCI_MSG_VALUE_RM_UDMAP_CH_BURST_SIZE_VALID; in bcdma_tisci_m2m_channel_config()
1947 req_tx.tx_burst_size = burst_size; in bcdma_tisci_m2m_channel_config()
1950 ret = tisci_ops->tx_ch_cfg(tisci_rm->tisci, &req_tx); in bcdma_tisci_m2m_channel_config()
1964 struct ti_sci_msg_rm_udmap_tx_ch_cfg req_tx = { 0 }; in udma_tisci_tx_channel_config() local
1977 req_tx.valid_params = TISCI_UDMA_TCHAN_VALID_PARAMS; in udma_tisci_tx_channel_config()
1978 req_tx.nav_id = tisci_rm->tisci_dev_id; in udma_tisci_tx_channel_config()
1979 req_tx.index = tchan->id; in udma_tisci_tx_channel_config()
1980 req_tx.tx_chan_type = mode; in udma_tisci_tx_channel_config()
1981 req_tx.tx_supr_tdpkt = uc->config.notdpkt; in udma_tisci_tx_channel_config()
1982 req_tx.tx_fetch_size = fetch_size >> 2; in udma_tisci_tx_channel_config()
1983 req_tx.txcq_qnum = tc_ring; in udma_tisci_tx_channel_config()
1984 req_tx.tx_atype = uc->config.atype; in udma_tisci_tx_channel_config()
1988 req_tx.valid_params |= in udma_tisci_tx_channel_config()
1990 req_tx.tx_tdtype = 1; in udma_tisci_tx_channel_config()
1993 ret = tisci_ops->tx_ch_cfg(tisci_rm->tisci, &req_tx); in udma_tisci_tx_channel_config()
2006 struct ti_sci_msg_rm_udmap_tx_ch_cfg req_tx = { 0 }; in bcdma_tisci_tx_channel_config() local
2009 req_tx.valid_params = TISCI_BCDMA_TCHAN_VALID_PARAMS; in bcdma_tisci_tx_channel_config()
2010 req_tx.nav_id = tisci_rm->tisci_dev_id; in bcdma_tisci_tx_channel_config()
2011 req_tx.index = tchan->id; in bcdma_tisci_tx_channel_config()
2012 req_tx.tx_supr_tdpkt = uc->config.notdpkt; in bcdma_tisci_tx_channel_config()
2015 req_tx.valid_params |= in bcdma_tisci_tx_channel_config()
2017 req_tx.tx_tdtype = 1; in bcdma_tisci_tx_channel_config()
2020 ret = tisci_ops->tx_ch_cfg(tisci_rm->tisci, &req_tx); in bcdma_tisci_tx_channel_config()