Home
last modified time | relevance | path

Searched refs:dw2 (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c125 u32 dw2; in vmxnet3_xdp_xmit_frame() local
128 dw2 = (tq->tx_ring.gen ^ 0x1) << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_xdp_xmit_frame()
129 dw2 |= xdpf->len; in vmxnet3_xdp_xmit_frame()
167 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_xdp_xmit_frame()
H A Dvmxnet3_drv.c798 u32 dw2, len; in vmxnet3_map_pkt() local
807 dw2 = (tq->tx_ring.gen ^ 0x1) << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_map_pkt()
817 ctx->sop_txd->dword[2] = cpu_to_le32(dw2 | ctx->copy_size); in vmxnet3_map_pkt()
831 dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_map_pkt()
842 dw2 |= len; in vmxnet3_map_pkt()
862 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_map_pkt()
870 dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_map_pkt()
886 dw2 |= len; in vmxnet3_map_pkt()
904 gdesc->dword[2] = cpu_to_le32(dw2); in vmxnet3_map_pkt()
912 dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; in vmxnet3_map_pkt()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_debugfs.h54 u32 dw2; member
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c61 __dw dw2; member
72 __le32 dw2; member
516 ptd->dw2 = le32_to_dw(le32_ptd.dw2); in isp1763_ptd_read()
543 ptd.dw2 = dw_to_le32(cpu_ptd->dw2); in isp1763_ptd_write()
872 ptd->dw2 = 0; in create_ptd_atl()
873 ptd->dw2 |= TO_DW2_DATA_START_ADDR(base_to_chip(qtd->payload_addr)); in create_ptd_atl()
874 ptd->dw2 |= TO_DW2_RL(rl); in create_ptd_atl()
939 ptd->dw2 |= TO_DW(period); in transform_add_int()
1440 ptd.dw3 |= TO_DW3_NAKCOUNT(FROM_DW2_RL(ptd.dw2)); in handle_done_ptds()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c941 hdr->dw2 = cpu_to_le32((((req_len-4)/4) << CMD_HDR_CFL_OFF) | in prep_smp_v1_hw()
964 u32 dw1, dw2; in prep_ssp_v1_hw() local
998 dw2 = ((sizeof(struct ssp_tmf_iu) + in prep_ssp_v1_hw()
1002 dw2 = ((sizeof(struct ssp_command_iu) + in prep_ssp_v1_hw()
1007 dw2 |= (HISI_SAS_MAX_SSP_RESP_SZ/4) << CMD_HDR_MRFL_OFF; in prep_ssp_v1_hw()
1021 hdr->dw2 = cpu_to_le32(dw2); in prep_ssp_v1_hw()
H A Dhisi_sas_v3_hw.c1322 u32 dw1 = 0, dw2 = 0, len = 0; in prep_ssp_v3_hw() local
1354 dw2 = (((sizeof(struct ssp_command_iu) + sizeof(struct ssp_frame_hdr) + in prep_ssp_v3_hw()
1358 hdr->dw2 = cpu_to_le32(dw2); in prep_ssp_v3_hw()
1463 hdr->dw2 = cpu_to_le32((cfl << CMD_HDR_CFL_OFF) | in prep_smp_v3_hw()
1485 u32 dw1 = 0, dw2 = 0; in prep_ata_v3_hw() local
1530 dw2 |= hdr_tag << CMD_HDR_NCQ_TAG_OFF; in prep_ata_v3_hw()
1533 dw2 |= (HISI_SAS_MAX_STP_RESP_SZ / BYTE_TO_DW) << CMD_HDR_CFL_OFF | in prep_ata_v3_hw()
1535 hdr->dw2 = cpu_to_le32(dw2); in prep_ata_v3_hw()
H A Dhisi_sas.h513 __le32 dw2; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_0.c5593 uint32_t dw2 = 0; in gfx_v9_0_ring_emit_fence() local
5599 dw2 = EOP_TC_NC_ACTION_EN; in gfx_v9_0_ring_emit_fence()
5601 dw2 = EOP_TCL1_ACTION_EN | EOP_TC_ACTION_EN | in gfx_v9_0_ring_emit_fence()
5604 dw2 |= EOP_TC_WB_ACTION_EN | EVENT_TYPE(CACHE_FLUSH_AND_INV_TS_EVENT) | in gfx_v9_0_ring_emit_fence()
5607 dw2 |= EOP_EXEC; in gfx_v9_0_ring_emit_fence()
5609 amdgpu_ring_write(ring, dw2); in gfx_v9_0_ring_emit_fence()
5881 uint32_t dw2 = 0; in gfx_v9_ring_emit_cntxcntl() local
5887 dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */ in gfx_v9_ring_emit_cntxcntl()
5890 dw2 |= 0x8001; in gfx_v9_ring_emit_cntxcntl()
5892 dw2 |= 0x01000000; in gfx_v9_ring_emit_cntxcntl()
[all …]
H A Dgfx_v8_0.c6191 uint32_t dw2 = 0; in gfx_v8_ring_emit_cntxcntl() local
6196 dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */ in gfx_v8_ring_emit_cntxcntl()
6200 dw2 |= 0x8001; in gfx_v8_ring_emit_cntxcntl()
6202 dw2 |= 0x01000000; in gfx_v8_ring_emit_cntxcntl()
6204 dw2 |= 0x10002; in gfx_v8_ring_emit_cntxcntl()
6208 dw2 |= 0x10000000; in gfx_v8_ring_emit_cntxcntl()
6214 dw2 |= 0x10000000; in gfx_v8_ring_emit_cntxcntl()
6218 amdgpu_ring_write(ring, dw2); in gfx_v8_ring_emit_cntxcntl()
H A Dgfx_v12_0.c4658 uint32_t dw2 = 0; in gfx_v12_0_ring_emit_cntxcntl() local
4660 dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */ in gfx_v12_0_ring_emit_cntxcntl()
4663 dw2 |= 0x8001; in gfx_v12_0_ring_emit_cntxcntl()
4665 dw2 |= 0x01000000; in gfx_v12_0_ring_emit_cntxcntl()
4667 dw2 |= 0x10002; in gfx_v12_0_ring_emit_cntxcntl()
4671 amdgpu_ring_write(ring, dw2); in gfx_v12_0_ring_emit_cntxcntl()
H A Dgfx_v11_0.c6177 uint32_t dw2 = 0; in gfx_v11_0_ring_emit_cntxcntl() local
6179 dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */ in gfx_v11_0_ring_emit_cntxcntl()
6182 dw2 |= 0x8001; in gfx_v11_0_ring_emit_cntxcntl()
6184 dw2 |= 0x01000000; in gfx_v11_0_ring_emit_cntxcntl()
6186 dw2 |= 0x10002; in gfx_v11_0_ring_emit_cntxcntl()
6190 amdgpu_ring_write(ring, dw2); in gfx_v11_0_ring_emit_cntxcntl()
H A Dgfx_v10_0.c8822 uint32_t dw2 = 0; in gfx_v10_0_ring_emit_cntxcntl() local
8828 dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */ in gfx_v10_0_ring_emit_cntxcntl()
8831 dw2 |= 0x8001; in gfx_v10_0_ring_emit_cntxcntl()
8833 dw2 |= 0x01000000; in gfx_v10_0_ring_emit_cntxcntl()
8835 dw2 |= 0x10002; in gfx_v10_0_ring_emit_cntxcntl()
8839 dw2 |= 0x10000000; in gfx_v10_0_ring_emit_cntxcntl()
8845 dw2 |= 0x10000000; in gfx_v10_0_ring_emit_cntxcntl()
8849 amdgpu_ring_write(ring, dw2); in gfx_v10_0_ring_emit_cntxcntl()
/linux/drivers/dma/
H A Dhisi_dma.c120 __le32 dw2; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c12190 u32 dw0, dw1, dw2, dw3; in ixgbe_io_error_detected() local
12211 dw2 = ixgbe_read_pci_cfg_dword(hw, pos + PCI_ERR_HEADER_LOG + 8); in ixgbe_io_error_detected()
12229 dw0, dw1, dw2, dw3); in ixgbe_io_error_detected()