/linux/drivers/net/ethernet/sfc/ |
H A D | efx_devlink.c | 241 const __le32 *dwords; in efx_devlink_info_running_v2() member 273 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2() 276 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2() 277 'A' + le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 278 le32_to_cpu(ver.dwords[2])); in efx_devlink_info_running_v2() 291 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2() 294 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2() 295 le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 296 le32_to_cpu(ver.dwords[2]), in efx_devlink_info_running_v2() 297 le32_to_cpu(ver.dwords[3])); in efx_devlink_info_running_v2() [all …]
|
/linux/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_dcn401.c | 503 uint32_t *dwords = (uint32_t *)cmd; in dmub_dcn401_send_reg_inbox0_cmd_msg() local 507 REG_WRITE(DMCUB_REG_INBOX0_MSG0, dwords[0]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 508 REG_WRITE(DMCUB_REG_INBOX0_MSG1, dwords[1]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 509 REG_WRITE(DMCUB_REG_INBOX0_MSG2, dwords[2]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 510 REG_WRITE(DMCUB_REG_INBOX0_MSG3, dwords[3]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 511 REG_WRITE(DMCUB_REG_INBOX0_MSG4, dwords[4]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 512 REG_WRITE(DMCUB_REG_INBOX0_MSG5, dwords[5]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 513 REG_WRITE(DMCUB_REG_INBOX0_MSG6, dwords[6]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 514 REG_WRITE(DMCUB_REG_INBOX0_MSG7, dwords[7]); in dmub_dcn401_send_reg_inbox0_cmd_msg() 515 REG_WRITE(DMCUB_REG_INBOX0_MSG8, dwords[8]); in dmub_dcn401_send_reg_inbox0_cmd_msg() [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 447 /* JESD216 Basic Flash Parameter Table length is at least 9 DWORDs. */ in spi_nor_parse_bfpt() 460 /* Fix endianness of the BFPT DWORDs. */ in spi_nor_parse_bfpt() 461 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt() 464 switch (bfpt.dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt() 481 val = bfpt.dwords[SFDP_DWORD(2)]; in spi_nor_parse_bfpt() 504 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt() 512 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt() 527 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt() 559 val = bfpt.dwords[SFDP_DWORD(11)]; in spi_nor_parse_bfpt() 565 switch (bfpt.dwords[SFDP_DWORD(15)] & BFPT_DWORD15_QER_MASK) { in spi_nor_parse_bfpt() [all …]
|
H A D | sfdp.h | 16 /* SFDP DWORDS are indexed from 1 but C arrays are indexed from 0. */ 22 /* JESD216 rev D defines a Basic Flash Parameter Table of 20 DWORDs. */ 26 u32 dwords[BFPT_DWORD_MAX]; member 29 /* The first version of JESD216 defined only 9 DWORDs. */
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dbg_hsi.h | 282 u8 data_size; /* size in dwords of the data following this header */ 324 u16 data_size; /* size in dwords of the data following this header */ 350 u16 size; /* register size in dwords */ 378 u16 size; /* register size in dwords */ 394 * immediate values array (in dwords). 798 * @addr: Source GRC address in dwords. 853 * @buf_size: (OUT) required buffer size (in dwords) for the GRC Dump 870 * @buf_size_in_dwords:Size of the specified buffer in dwords. 871 * @num_dumped_dwords: (OUT) number of dumped dwords. 890 * @buf_size: (OUT) required buffer size (in dwords) for the idle check [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100.h | 82 #define DMA_BUS_MODE_DSL_SHIFT 2 /* (in DWORDS) */ 91 DMA_CONTROL_TTC_DEFAULT = 0x00000000, /* Threshold is 32 DWORDS */ 92 DMA_CONTROL_TTC_64 = 0x00004000, /* Threshold is 64 DWORDS */ 93 DMA_CONTROL_TTC_128 = 0x00008000, /* Threshold is 128 DWORDS */ 94 DMA_CONTROL_TTC_256 = 0x0000c000, /* Threshold is 256 DWORDS */ 95 DMA_CONTROL_TTC_18 = 0x00400000, /* Threshold is 18 DWORDS */ 96 DMA_CONTROL_TTC_24 = 0x00404000, /* Threshold is 24 DWORDS */ 97 DMA_CONTROL_TTC_32 = 0x00408000, /* Threshold is 32 DWORDS */ 98 DMA_CONTROL_TTC_40 = 0x0040c000, /* Threshold is 40 DWORDS */
|
/linux/sound/pci/aw2/ |
H A D | aw2-saa7146.c | 61 001 2 Dwords in snd_aw2_saa7146_setup() 62 010 4 Dwords in snd_aw2_saa7146_setup() 63 011 8 Dwords in snd_aw2_saa7146_setup() 64 100 16 Dwords in snd_aw2_saa7146_setup() 65 101 32 Dwords in snd_aw2_saa7146_setup() 66 110 64 Dwords in snd_aw2_saa7146_setup() 67 111 128 Dwords in snd_aw2_saa7146_setup() 72 01 4 Dwords of valid data 4 empty Dwords in snd_aw2_saa7146_setup() 73 10 8 Dwords of valid data 8 empty Dwords in snd_aw2_saa7146_setup() 74 11 16 Dwords of valid data 16 empty Dwords */ in snd_aw2_saa7146_setup()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.h | 38 * @size: size of the commands buffer in dwords 39 * @resv_space: reserved space in buffer in dwords 40 * @head: local shadow copy of head in dwords 41 * @tail: local shadow copy of tail in dwords 42 * @space: local shadow copy of space in dwords
|
H A D | intel_gsc_binary_headers.h | 117 u32 header_length; /* in dwords */ 122 u32 size; /* In dwords, size of entire manifest (header + extensions) */ 131 u32 modulus_size; /* in dwords */ 132 u32 exponent_size; /* in dwords */
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.h | 14 /* read operations, indexed using DWORDS */ 17 /* write operations, indexed using DWORDS */ 25 /* Switch register write operations, index using DWORDS */
|
/linux/sound/pci/cs46xx/ |
H A D | cs46xx_dsp_scb_types.h | 185 /* First 3 dwords are written by the host and read-only on the DSP */ 282 /* First 12 dwords from generic_scb_t */ 350 /* First 13 dwords from generic_scb_t */ 414 /* First 13 dwords from generic_scb_t */ 471 /* First 13 dwords from generic_scb_t */ 599 (buffer size = decimationFactor * 32 dwords) 669 (buffer size = 64 dwords) */ 705 /* First 13 dwords from generic_scb_t */ 751 /* First 13 dwords from generic_scb_t */ 1041 /* First 13 dwords from generic_scb_t */
|
/linux/drivers/spi/ |
H A D | spi-rockchip-sfc.c | 369 u32 dwords; in rockchip_sfc_write_fifo() local 374 dwords = len >> 2; in rockchip_sfc_write_fifo() 375 while (dwords) { in rockchip_sfc_write_fifo() 379 write_words = min_t(u32, tx_level, dwords); in rockchip_sfc_write_fifo() 382 dwords -= write_words; in rockchip_sfc_write_fifo() 400 u32 dwords; in rockchip_sfc_read_fifo() local 406 dwords = len >> 2; in rockchip_sfc_read_fifo() 407 while (dwords) { in rockchip_sfc_read_fifo() 411 read_words = min_t(u32, rx_level, dwords); in rockchip_sfc_read_fifo() 414 dwords -= read_words; in rockchip_sfc_read_fifo()
|
/linux/drivers/thunderbolt/ |
H A D | dma_port.c | 303 void *buf, size_t dwords) in dma_port_flash_read_block() argument 311 if (dwords < MAIL_DATA_DWORDS) in dma_port_flash_read_block() 312 in |= (dwords << MAIL_IN_DWORDS_SHIFT) & MAIL_IN_DWORDS_MASK; in dma_port_flash_read_block() 321 dma->base + MAIL_DATA, dwords, DMA_PORT_TIMEOUT); in dma_port_flash_read_block() 325 const void *buf, size_t dwords) in dma_port_flash_write_block() argument 334 dma->base + MAIL_DATA, dwords, DMA_PORT_TIMEOUT); in dma_port_flash_write_block() 344 in |= ((dwords - 1) << MAIL_IN_DWORDS_SHIFT) & MAIL_IN_DWORDS_MASK; in dma_port_flash_write_block()
|
/linux/include/linux/soc/ixp4xx/ |
H A D | qmgr.h | 16 #define MAX_QUEUE_LENGTH 4 /* in dwords */ 74 int qmgr_request_queue(unsigned int queue, unsigned int len /* dwords */, 79 int __qmgr_request_queue(unsigned int queue, unsigned int len /* dwords */,
|
/linux/Documentation/networking/device_drivers/ethernet/meta/ |
H A D | fbnic.rst | 58 - ``pcie_ob_rd_dword``: DWORDs transferred in outbound read transactions 60 - ``pcie_ob_wr_dword``: DWORDs transferred in outbound write 63 - ``pcie_ob_cpl_dword``: DWORDs transferred in outbound completion TLPs
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_bb.c | 32 struct xe_bb *xe_bb_new(struct xe_gt *gt, u32 dwords, bool usm) in xe_bb_new() argument 42 * We need to allocate space for the requested number of dwords, in xe_bb_new() 48 4 * (dwords + 1) + bb_prefetch(gt)); in xe_bb_new()
|
H A D | xe_uc_fw_abi.h | 33 * Length of each components, which is all in dwords, can be found in header. 42 * 3. Length info of each component can be found in header, in dwords. 303 u32 header_length; /* in dwords */ 308 u32 size; /* In dwords, size of entire manifest (header + extensions) */ 317 u32 modulus_size; /* in dwords */ 318 u32 exponent_size; /* in dwords */
|
H A D | xe_guc_hwconfig.c | 131 /* An entry requires at least three dwords for key, length, value */ in xe_guc_hwconfig_dump() 137 drm_printf(p, "Error: Attribute %u is %u dwords, but only %llu remain\n", in xe_guc_hwconfig_dump() 184 /* An entry requires at least three dwords for key, length, value */ in xe_guc_hwconfig_lookup_u32()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ring.c | 104 * @ndw: number of dwords to allocate in the ring buffer 106 * Allocate @ndw dwords in the ring buffer (all asics). 139 * @ndw: number of dwords to allocate in the ring buffer 141 * Lock the ring and allocate @ndw dwords in the ring buffer 283 * Saves all unprocessed commits from a ring, returns the number of dwords saved. 344 * @size: number of dwords we want to write 499 seq_printf(m, "%u free dwords in ring\n", ring->ring_free_dw); in radeon_debugfs_ring_info_show() 500 seq_printf(m, "%u dwords in ring\n", count); in radeon_debugfs_ring_info_show()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 263 ulong dwords; in qla27xx_fwdt_entry_t262() local 309 dwords = end - start + 1; in qla27xx_fwdt_entry_t262() 312 rc = qla24xx_dump_ram(vha->hw, start, buf, dwords, &buf); in qla27xx_fwdt_entry_t262() 320 *len += dwords * sizeof(uint32_t); in qla27xx_fwdt_entry_t262() 555 ulong dwords = le32_to_cpu(ent->t270.count); in qla27xx_fwdt_entry_t270() local 560 while (dwords--) { in qla27xx_fwdt_entry_t270() 590 ulong dwords = le32_to_cpu(ent->t272.count); in qla27xx_fwdt_entry_t272() local 597 "%s: @%lx -> (%lx dwords)\n", __func__, start, dwords); in qla27xx_fwdt_entry_t272() 599 qla27xx_dump_mpi_ram(vha->hw, start, buf, dwords, &buf); in qla27xx_fwdt_entry_t272() 601 *len += dwords * sizeof(uint32_t); in qla27xx_fwdt_entry_t272() [all …]
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_venus.c | 167 u32 dwords, new_wr_idx; in venus_write_queue() local 180 dwords = (*(u32 *)packet) >> 2; in venus_write_queue() 181 if (!dwords) in venus_write_queue() 195 if (empty_space <= dwords) { in venus_write_queue() 206 new_wr_idx = wr_idx + dwords; in venus_write_queue() 214 memcpy(wr_ptr, packet, dwords << 2); in venus_write_queue() 219 len = (dwords - new_wr_idx) << 2; in venus_write_queue() 240 u32 dwords, new_rd_idx; in venus_read_queue() local 285 dwords = *rd_ptr >> 2; in venus_read_queue() 286 if (!dwords) in venus_read_queue() [all …]
|
/linux/net/ncsi/ |
H A D | ncsi-cmd.c | 116 cmd->mode = htonl(nca->dwords[1]); in ncsi_cmd_handler_ae() 128 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_sl() 129 cmd->oem_mode = htonl(nca->dwords[1]); in ncsi_cmd_handler_sl() 183 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_ebf() 195 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_egmf()
|
/linux/drivers/pci/ |
H A D | vc.c | 20 * pci_vc_save_restore_dwords - Save or restore a series of dwords 24 * @dwords: number of dwords to save/restore 28 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument 32 for (i = 0; i < dwords; i++, buf++) { in pci_vc_save_restore_dwords()
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_debug.h | 151 * @sz: number of dwords 170 * @sz: number of dwords 189 * @sz: number of dwords
|
/linux/drivers/scsi/isci/ |
H A D | remote_node_table.h | 75 * Since the remote node table is organized as DWORDS take the remote node sets 76 * in bytes and represent them in DWORDs. The lowest ordered bits are the ones 139 * This field contains the array size in dwords
|