| /Linux-v5.15/drivers/mtd/spi-nor/ |
| D | sfdp.c | 445 /* JESD216 Basic Flash Parameter Table length is at least 9 DWORDs. */ in spi_nor_parse_bfpt() 458 /* Fix endianness of the BFPT DWORDs. */ in spi_nor_parse_bfpt() 459 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt() 462 switch (bfpt.dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt() 477 val = bfpt.dwords[BFPT_DWORD(2)]; in spi_nor_parse_bfpt() 500 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt() 508 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt() 523 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt() 557 val = bfpt.dwords[BFPT_DWORD(11)]; in spi_nor_parse_bfpt() 563 switch (bfpt.dwords[BFPT_DWORD(15)] & BFPT_DWORD15_QER_MASK) { in spi_nor_parse_bfpt() [all …]
|
| D | sfdp.h | 19 * 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-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
| 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-v5.15/sound/pci/aw2/ |
| 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-v5.15/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_ct.h | 37 * @size: size of the commands buffer in dwords 38 * @resv_space: reserved space in buffer in dwords 39 * @head: local shadow copy of head in dwords 40 * @tail: local shadow copy of tail in dwords 41 * @space: local shadow copy of space in dwords
|
| /Linux-v5.15/drivers/gpu/drm/etnaviv/ |
| D | etnaviv_buffer.c | 252 unsigned int dwords = 7; in etnaviv_buffer_end() local 255 dwords += 10; in etnaviv_buffer_end() 257 link_target = etnaviv_buffer_reserve(gpu, buffer, dwords); in etnaviv_buffer_end() 290 VIV_FE_LINK_HEADER_PREFETCH(dwords), in etnaviv_buffer_end() 304 u32 dwords, target; in etnaviv_sync_point_queue() local 309 * We need at most 3 dwords in the return target: in etnaviv_sync_point_queue() 312 dwords = 4; in etnaviv_sync_point_queue() 313 target = etnaviv_buffer_reserve(gpu, buffer, dwords); in etnaviv_sync_point_queue() 334 VIV_FE_LINK_HEADER_PREFETCH(dwords), in etnaviv_sync_point_queue() 458 * We need at most 7 dwords in the return target: 2 cache flush + in etnaviv_buffer_queue() [all …]
|
| /Linux-v5.15/drivers/thunderbolt/ |
| D | debugfs.c | 257 int dwords) in cap_show_by_dw() argument 262 for (i = 0; i < dwords; i++) { in cap_show_by_dw() 284 int i, dwords = min(length, TB_MAX_CONFIG_RW_LENGTH); in cap_show() local 289 dwords); in cap_show() 291 ret = tb_sw_read(sw, data, TB_CFG_SWITCH, cap + offset, dwords); in cap_show() 297 for (i = 0; i < dwords; i++) { in cap_show() 303 length -= dwords; in cap_show() 304 offset += dwords; in cap_show() 492 size_t dwords; in switch_basic_regs_show() local 497 dwords = ARRAY_SIZE(data); in switch_basic_regs_show() [all …]
|
| D | usb4.c | 324 size_t dwords) in usb4_switch_drom_read_block() argument 331 metadata = (dwords << USB4_DROM_SIZE_SHIFT) & USB4_DROM_SIZE_MASK; in usb4_switch_drom_read_block() 336 &status, NULL, 0, buf, dwords); in usb4_switch_drom_read_block() 513 unsigned int dwaddress, void *buf, size_t dwords) in usb4_switch_nvm_read_block() argument 520 metadata = (dwords << USB4_NVM_READ_LENGTH_SHIFT) & in usb4_switch_nvm_read_block() 526 &status, NULL, 0, buf, dwords); in usb4_switch_nvm_read_block() 579 const void *buf, size_t dwords) in usb4_switch_nvm_write_next_block() argument 586 buf, dwords, NULL, 0); in usb4_switch_nvm_write_next_block() 1182 static int usb4_port_read_data(struct tb_port *port, void *data, size_t dwords) in usb4_port_read_data() argument 1184 if (dwords > NVM_DATA_DWORDS) in usb4_port_read_data() [all …]
|
| 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-v5.15/drivers/net/ethernet/intel/fm10k/ |
| 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-v5.15/drivers/gpu/drm/nouveau/ |
| D | nv50_fbcon.c | 110 uint32_t dwords, *data = (uint32_t *)image->data; in nv50_fbcon_imageblit() local 142 dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; in nv50_fbcon_imageblit() 143 while (dwords) { in nv50_fbcon_imageblit() 144 int count = dwords > 2047 ? 2047 : dwords; in nv50_fbcon_imageblit() 150 dwords -= count; in nv50_fbcon_imageblit()
|
| D | nvc0_fbcon.c | 110 uint32_t dwords, *data = (uint32_t *)image->data; in nvc0_fbcon_imageblit() local 142 dwords = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; in nvc0_fbcon_imageblit() 143 while (dwords) { in nvc0_fbcon_imageblit() 144 int count = dwords > 2047 ? 2047 : dwords; in nvc0_fbcon_imageblit() 150 dwords -= count; in nvc0_fbcon_imageblit()
|
| /Linux-v5.15/include/linux/soc/ixp4xx/ |
| 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-v5.15/drivers/spi/ |
| D | spi-rockchip-sfc.c | 368 u32 dwords; in rockchip_sfc_write_fifo() local 373 dwords = len >> 2; in rockchip_sfc_write_fifo() 374 while (dwords) { in rockchip_sfc_write_fifo() 378 write_words = min_t(u32, tx_level, dwords); in rockchip_sfc_write_fifo() 381 dwords -= write_words; in rockchip_sfc_write_fifo() 399 u32 dwords; in rockchip_sfc_read_fifo() local 405 dwords = len >> 2; in rockchip_sfc_read_fifo() 406 while (dwords) { in rockchip_sfc_read_fifo() 410 read_words = min_t(u32, rx_level, dwords); in rockchip_sfc_read_fifo() 413 dwords -= read_words; in rockchip_sfc_read_fifo()
|
| /Linux-v5.15/sound/pci/cs46xx/ |
| 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-v5.15/drivers/gpu/drm/radeon/ |
| D | radeon_ring.c | 102 * @ndw: number of dwords to allocate in the ring buffer 104 * Allocate @ndw dwords in the ring buffer (all asics). 137 * @ndw: number of dwords to allocate in the ring buffer 139 * Lock the ring and allocate @ndw dwords in the ring buffer 281 * Saves all unprocessed commits from a ring, returns the number of dwords saved. 342 * @size: number of dwords we want to write 497 seq_printf(m, "%u free dwords in ring\n", ring->ring_free_dw); in radeon_debugfs_ring_info_show() 498 seq_printf(m, "%u dwords in ring\n", count); in radeon_debugfs_ring_info_show()
|
| /Linux-v5.15/drivers/net/ethernet/qlogic/qed/ |
| D | qed_debug.c | 203 DBG_BUS_FRAME_MODE_4ST = 0, /* 4 Storm dwords (no HW) */ 204 DBG_BUS_FRAME_MODE_2ST_2HW = 1, /* 2 Storm dwords, 2 HW dwords */ 205 DBG_BUS_FRAME_MODE_1ST_3HW = 2, /* 1 Storm dwords, 3 HW dwords */ 206 DBG_BUS_FRAME_MODE_4HW = 3, /* 4 HW dwords (no Storms) */ 207 DBG_BUS_FRAME_MODE_8HW = 4, /* 8 HW dwords (no Storms) */ 302 u32 ram_size[MAX_CHIP_IDS]; /* In dwords */ 357 #define DWORDS_TO_BYTES(dwords) ((dwords) * BYTES_IN_DWORD) argument 1024 /* Dumps zeros to align the specified buffer to dwords. 1041 * Returns the dumped size in dwords. 1068 * Returns the dumped size in dwords. [all …]
|
| /Linux-v5.15/drivers/scsi/qla2xxx/ |
| 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() 550 ulong dwords = le32_to_cpu(ent->t270.count); in qla27xx_fwdt_entry_t270() local 555 while (dwords--) { in qla27xx_fwdt_entry_t270() 585 ulong dwords = le32_to_cpu(ent->t272.count); in qla27xx_fwdt_entry_t272() local 592 "%s: @%lx -> (%lx dwords)\n", __func__, start, dwords); in qla27xx_fwdt_entry_t272() 594 qla27xx_dump_mpi_ram(vha->hw, start, buf, dwords, &buf); in qla27xx_fwdt_entry_t272() 596 *len += dwords * sizeof(uint32_t); in qla27xx_fwdt_entry_t272() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/msm/adreno/ |
| D | a6xx_hfi.c | 27 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) in a6xx_hfi_queue_read() argument 48 BUG_ON(HFI_HEADER_SIZE(hdr) > dwords); in a6xx_hfi_queue_read() 63 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) in a6xx_hfi_queue_write() argument 72 if (space < dwords) { in a6xx_hfi_queue_write() 78 for (i = 0; i < dwords; i++) { in a6xx_hfi_queue_write() 169 int ret, dwords = size >> 2; in a6xx_hfi_send_msg() local 176 (dwords << 8) | id; in a6xx_hfi_send_msg() 178 ret = a6xx_hfi_queue_write(gmu, queue, data, dwords); in a6xx_hfi_send_msg()
|
| /Linux-v5.15/net/ncsi/ |
| D | ncsi-cmd.c | 114 cmd->mode = htonl(nca->dwords[1]); in ncsi_cmd_handler_ae() 126 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_sl() 127 cmd->oem_mode = htonl(nca->dwords[1]); in ncsi_cmd_handler_sl() 181 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_ebf() 193 cmd->mode = htonl(nca->dwords[0]); in ncsi_cmd_handler_egmf()
|
| /Linux-v5.15/drivers/media/platform/qcom/venus/ |
| D | hfi_venus.c | 168 u32 dwords, new_wr_idx; in venus_write_queue() local 181 dwords = (*(u32 *)packet) >> 2; in venus_write_queue() 182 if (!dwords) in venus_write_queue() 196 if (empty_space <= dwords) { in venus_write_queue() 207 new_wr_idx = wr_idx + dwords; in venus_write_queue() 210 memcpy(wr_ptr, packet, dwords << 2); in venus_write_queue() 215 len = (dwords - new_wr_idx) << 2; in venus_write_queue() 236 u32 dwords, new_rd_idx; in venus_read_queue() local 276 dwords = *rd_ptr >> 2; in venus_read_queue() 277 if (!dwords) in venus_read_queue() [all …]
|
| /Linux-v5.15/drivers/gpu/drm/r128/ |
| D | r128_state.c | 650 int dwords = (end - start + 3) / sizeof(u32); in r128_cce_dispatch_indirect() local 653 * dwords, so if we've been given an odd number we must in r128_cce_dispatch_indirect() 656 if (dwords & 1) { in r128_cce_dispatch_indirect() 660 data[dwords++] = cpu_to_le32(R128_CCE_PACKET2); in r128_cce_dispatch_indirect() 670 OUT_RING(dwords); in r128_cce_dispatch_indirect() 706 int dwords; in r128_cce_dispatch_indices() local 720 dwords = (end - start + 3) / sizeof(u32); in r128_cce_dispatch_indices() 726 dwords - 2)); in r128_cce_dispatch_indices() 736 data[dwords - 1] &= 0x0000ffff; in r128_cce_dispatch_indices() 738 data[dwords - 1] &= 0xffff0000; in r128_cce_dispatch_indices() [all …]
|
| /Linux-v5.15/include/uapi/drm/ |
| D | i810_drm.h | 50 #define I810_DESTREG_DI0 0 /* CMD_OP_DESTBUFFER_INFO (2 dwords) */ 52 #define I810_DESTREG_DV0 2 /* GFX_OP_DESTBUFFER_VARS (2 dwords) */ 54 #define I810_DESTREG_DR0 4 /* GFX_OP_DRAWRECT_INFO (4 dwords) */ 87 #define I810_TEXREG_MI0 0 /* GFX_OP_MAP_INFO (4 dwords) */
|
| /Linux-v5.15/drivers/scsi/mpt3sas/ |
| D | mpt3sas_debug.h | 151 * @sz: number of dwords 170 * @sz: number of dwords 189 * @sz: number of dwords
|
| /Linux-v5.15/drivers/scsi/isci/ |
| 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
|