Home
last modified time | relevance | path

Searched refs:desc_flags (Results 1 – 6 of 6) sorted by relevance

/drivers/dma/idxd/
Ddma.c49 static void op_flag_setup(unsigned long flags, u32 *desc_flags) in op_flag_setup() argument
51 *desc_flags = IDXD_OP_FLAG_CRAV | IDXD_OP_FLAG_RCR; in op_flag_setup()
53 *desc_flags |= IDXD_OP_FLAG_RCI; in op_flag_setup()
89 u32 desc_flags; in idxd_dma_prep_interrupt() local
95 op_flag_setup(flags, &desc_flags); in idxd_dma_prep_interrupt()
101 0, 0, 0, desc->compl_dma, desc_flags); in idxd_dma_prep_interrupt()
111 u32 desc_flags; in idxd_dma_submit_memcpy() local
121 op_flag_setup(flags, &desc_flags); in idxd_dma_submit_memcpy()
128 desc_flags); in idxd_dma_submit_memcpy()
/drivers/net/wireless/ath/ath10k/
Dce.c502 u32 desc_flags = 0; in _ath10k_ce_send_nolock() local
518 desc_flags |= SM(transfer_id, CE_DESC_FLAGS_META_DATA); in _ath10k_ce_send_nolock()
521 desc_flags |= CE_DESC_FLAGS_GATHER; in _ath10k_ce_send_nolock()
523 desc_flags |= CE_DESC_FLAGS_BYTE_SWAP; in _ath10k_ce_send_nolock()
527 sdesc.flags = __cpu_to_le16(desc_flags); in _ath10k_ce_send_nolock()
560 u32 desc_flags = 0; in _ath10k_ce_send_nolock_64() local
584 desc_flags |= SM(transfer_id, CE_DESC_FLAGS_META_DATA); in _ath10k_ce_send_nolock_64()
587 desc_flags |= CE_DESC_FLAGS_GATHER; in _ath10k_ce_send_nolock_64()
590 desc_flags |= CE_DESC_FLAGS_BYTE_SWAP; in _ath10k_ce_send_nolock_64()
603 sdesc.flags = __cpu_to_le16(desc_flags); in _ath10k_ce_send_nolock_64()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c888 u32 desc_flags = 0; in fm10k_tx_desc_flags() local
891 desc_flags |= FM10K_SET_FLAG(tx_flags, FM10K_TX_FLAGS_CSUM, in fm10k_tx_desc_flags()
894 return desc_flags; in fm10k_tx_desc_flags()
899 dma_addr_t dma, unsigned int size, u8 desc_flags) in fm10k_tx_desc_push() argument
903 desc_flags |= FM10K_TXD_FLAG_RS | FM10K_TXD_FLAG_INT; in fm10k_tx_desc_push()
907 tx_desc->flags = desc_flags; in fm10k_tx_desc_push()
/drivers/net/ethernet/ibm/
Dibmveth.c1041 unsigned int desc_flags; in ibmveth_start_xmit() local
1082 desc_flags = IBMVETH_BUF_VALID; in ibmveth_start_xmit()
1088 desc_flags |= (IBMVETH_BUF_NO_CSUM | IBMVETH_BUF_CSUM_GOOD); in ibmveth_start_xmit()
1095 desc_flags |= IBMVETH_BUF_LRG_SND; in ibmveth_start_xmit()
1111 descs[0].fields.flags_len = desc_flags | skb->len; in ibmveth_start_xmit()
1131 descs[0].fields.flags_len = desc_flags | skb_headlen(skb); in ibmveth_start_xmit()
1144 descs[i+1].fields.flags_len = desc_flags | skb_frag_size(frag); in ibmveth_start_xmit()
/drivers/net/ethernet/calxeda/
Dxgmac.c1082 unsigned int desc_flags; in xgmac_xmit() local
1089 desc_flags = (skb->ip_summed == CHECKSUM_PARTIAL) ? in xgmac_xmit()
1120 desc_set_tx_owner(desc, desc_flags); in xgmac_xmit()
1125 desc_set_tx_owner(desc, desc_flags | in xgmac_xmit()
1128 desc_flags |= TXDESC_LAST_SEG | irq_flag; in xgmac_xmit()
1132 desc_set_tx_owner(first, desc_flags | TXDESC_FIRST_SEG); in xgmac_xmit()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c1307 unsigned long flags, desc_flags; in bcm_sysport_xmit() local
1371 spin_lock_irqsave(&priv->desc_lock, desc_flags); in bcm_sysport_xmit()
1374 spin_unlock_irqrestore(&priv->desc_lock, desc_flags); in bcm_sysport_xmit()