Home
last modified time | relevance | path

Searched refs:qword (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/sfc/
Dbitfield.h88 efx_qword_t qword[2]; member
99 #define EFX_QWORD_VAL(qword) \ argument
100 ((unsigned int) le32_to_cpu((qword).u32[1])), \
101 ((unsigned int) le32_to_cpu((qword).u32[0]))
148 #define EFX_EXTRACT_QWORD64(qword, low, high) \ argument
149 (EFX_EXTRACT64((qword).u64[0], 0, 63, low, high) & \
159 #define EFX_EXTRACT_QWORD32(qword, low, high) \ argument
160 ((EFX_EXTRACT32((qword).u32[0], 0, 31, low, high) | \
161 EFX_EXTRACT32((qword).u32[1], 32, 63, low, high)) & \
172 #define EFX_QWORD_FIELD64(qword, field) \ argument
[all …]
Dfarch.c306 reg.qword[0] = *txd; in efx_farch_push_tx_desc()
Def10.c2211 reg.qword[0] = *txd; in efx_ef10_push_tx_desc()
/drivers/net/ethernet/sfc/falcon/
Dbitfield.h88 ef4_qword_t qword[2]; member
99 #define EF4_QWORD_VAL(qword) \ argument
100 ((unsigned int) le32_to_cpu((qword).u32[1])), \
101 ((unsigned int) le32_to_cpu((qword).u32[0]))
148 #define EF4_EXTRACT_QWORD64(qword, low, high) \ argument
149 (EF4_EXTRACT64((qword).u64[0], 0, 63, low, high) & \
159 #define EF4_EXTRACT_QWORD32(qword, low, high) \ argument
160 ((EF4_EXTRACT32((qword).u32[0], 0, 31, low, high) | \
161 EF4_EXTRACT32((qword).u32[1], 32, 63, low, high)) & \
172 #define EF4_QWORD_FIELD64(qword, field) \ argument
[all …]
Dfarch.c296 reg.qword[0] = *txd; in ef4_farch_push_tx_desc()
/drivers/net/ethernet/intel/ice/
Dice_fdir.c301 u64 qword; in ice_set_fd_desc_val() local
304 qword = ((u64)ctx->qindex << ICE_FXD_FLTR_QW0_QINDEX_S) & in ice_set_fd_desc_val()
306 qword |= ((u64)ctx->comp_q << ICE_FXD_FLTR_QW0_COMP_Q_S) & in ice_set_fd_desc_val()
308 qword |= ((u64)ctx->comp_report << ICE_FXD_FLTR_QW0_COMP_REPORT_S) & in ice_set_fd_desc_val()
310 qword |= ((u64)ctx->fd_space << ICE_FXD_FLTR_QW0_FD_SPACE_S) & in ice_set_fd_desc_val()
312 qword |= ((u64)ctx->cnt_index << ICE_FXD_FLTR_QW0_STAT_CNT_S) & in ice_set_fd_desc_val()
314 qword |= ((u64)ctx->cnt_ena << ICE_FXD_FLTR_QW0_STAT_ENA_S) & in ice_set_fd_desc_val()
316 qword |= ((u64)ctx->evict_ena << ICE_FXD_FLTR_QW0_EVICT_ENA_S) & in ice_set_fd_desc_val()
318 qword |= ((u64)ctx->toq << ICE_FXD_FLTR_QW0_TO_Q_S) & in ice_set_fd_desc_val()
320 qword |= ((u64)ctx->toq_prio << ICE_FXD_FLTR_QW0_TO_Q_PRI_S) & in ice_set_fd_desc_val()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c356 u64 qword; in i40e_clean_rx_irq_zc() local
359 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in i40e_clean_rx_irq_zc()
367 if (i40e_rx_is_programming_status(qword)) { in i40e_clean_rx_irq_zc()
369 rx_desc->raw.qword[0], in i40e_clean_rx_irq_zc()
370 qword); in i40e_clean_rx_irq_zc()
380 size = (qword & I40E_RXD_QW1_LENGTH_PBUF_MASK) >> in i40e_clean_rx_irq_zc()
Di40e_txrx.c1624 u64 qword; in i40e_rx_checksum() local
1626 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in i40e_rx_checksum()
1627 ptype = (qword & I40E_RXD_QW1_PTYPE_MASK) >> I40E_RXD_QW1_PTYPE_SHIFT; in i40e_rx_checksum()
1628 rx_error = (qword & I40E_RXD_QW1_ERROR_MASK) >> in i40e_rx_checksum()
1630 rx_status = (qword & I40E_RXD_QW1_STATUS_MASK) >> in i40e_rx_checksum()
1763 u64 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in i40e_process_skb_fields() local
1764 u32 rx_status = (qword & I40E_RXD_QW1_STATUS_MASK) >> in i40e_process_skb_fields()
1769 u8 rx_ptype = (qword & I40E_RXD_QW1_PTYPE_MASK) >> in i40e_process_skb_fields()
1781 if (qword & BIT(I40E_RX_DESC_STATUS_L2TAG1P_SHIFT)) { in i40e_process_skb_fields()
2351 u64 qword; in i40e_clean_rx_irq() local
[all …]
Di40e_type.h649 u64 qword[2]; member
701 u64 qword[4]; member
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c954 u64 qword; in iavf_rx_checksum() local
956 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_rx_checksum()
957 ptype = (qword & IAVF_RXD_QW1_PTYPE_MASK) >> IAVF_RXD_QW1_PTYPE_SHIFT; in iavf_rx_checksum()
958 rx_error = (qword & IAVF_RXD_QW1_ERROR_MASK) >> in iavf_rx_checksum()
960 rx_status = (qword & IAVF_RXD_QW1_STATUS_MASK) >> in iavf_rx_checksum()
1488 u64 qword; in iavf_clean_rx_irq() local
1504 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_clean_rx_irq()
1515 size = (qword & IAVF_RXD_QW1_LENGTH_PBUF_MASK) >> in iavf_clean_rx_irq()
1562 qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len); in iavf_clean_rx_irq()
1563 rx_ptype = (qword & IAVF_RXD_QW1_PTYPE_MASK) >> in iavf_clean_rx_irq()
[all …]
/drivers/net/vmxnet3/
Dvmxnet3_defs.h355 __le64 qword[2]; member
/drivers/dma/ppc4xx/
Dadma.c680 struct ppc440spe_adma_chan *chan, u8 *qword) in ppc440spe_desc_set_dcheck() argument
688 iowrite32(qword[0], &dma_hw_desc->sg3l); in ppc440spe_desc_set_dcheck()
689 iowrite32(qword[4], &dma_hw_desc->sg3u); in ppc440spe_desc_set_dcheck()
690 iowrite32(qword[8], &dma_hw_desc->sg2l); in ppc440spe_desc_set_dcheck()
691 iowrite32(qword[12], &dma_hw_desc->sg2u); in ppc440spe_desc_set_dcheck()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c12639 u64 qword; in bnxt_pcie_dsn_get() local
12641 qword = pci_get_dsn(pdev); in bnxt_pcie_dsn_get()
12642 if (!qword) { in bnxt_pcie_dsn_get()
12647 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get()