/Linux-v6.1/drivers/mtd/spi-nor/ |
D | sfdp.c | 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() 479 val = bfpt.dwords[BFPT_DWORD(2)]; in spi_nor_parse_bfpt() 502 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt() 510 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt() 525 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt() 559 val = bfpt.dwords[BFPT_DWORD(11)]; in spi_nor_parse_bfpt() 565 switch (bfpt.dwords[BFPT_DWORD(15)] & BFPT_DWORD15_QER_MASK) { in spi_nor_parse_bfpt() 612 if (bfpt.dwords[BFPT_DWORD(16)] & BFPT_DWORD16_SWRST_EN_RST) in spi_nor_parse_bfpt() 620 switch (bfpt.dwords[BFPT_DWORD(18)] & BFPT_DWORD18_CMD_EXT_MASK) { in spi_nor_parse_bfpt() [all …]
|
D | sysfs.c | 58 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read() 60 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read()
|
D | sfdp.h | 26 u32 dwords[BFPT_DWORD_MAX]; member
|
D | issi.c | 21 if ((bfpt->dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups()
|
/Linux-v6.1/drivers/thunderbolt/ |
D | usb4.c | 302 size_t dwords) in usb4_switch_drom_read_block() argument 309 metadata = (dwords << USB4_DROM_SIZE_SHIFT) & USB4_DROM_SIZE_MASK; in usb4_switch_drom_read_block() 314 &status, NULL, 0, buf, dwords); in usb4_switch_drom_read_block() 491 unsigned int dwaddress, void *buf, size_t dwords) in usb4_switch_nvm_read_block() argument 498 metadata = (dwords << USB4_NVM_READ_LENGTH_SHIFT) & in usb4_switch_nvm_read_block() 504 &status, NULL, 0, buf, dwords); in usb4_switch_nvm_read_block() 557 const void *buf, size_t dwords) in usb4_switch_nvm_write_next_block() argument 564 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()
|
D | debugfs.c | 1080 int dwords) in cap_show_by_dw() argument 1085 for (i = 0; i < dwords; i++) { in cap_show_by_dw() 1107 int i, dwords = min(length, TB_MAX_CONFIG_RW_LENGTH); in cap_show() local 1112 dwords); in cap_show() 1114 ret = tb_sw_read(sw, data, TB_CFG_SWITCH, cap + offset, dwords); in cap_show() 1120 for (i = 0; i < dwords; i++) { in cap_show() 1126 length -= dwords; in cap_show() 1127 offset += dwords; in cap_show() 1315 size_t dwords; in switch_basic_regs_show() local 1320 dwords = ARRAY_SIZE(data); in switch_basic_regs_show() [all …]
|
D | property.c | 42 static inline void parse_dwdata(void *dst, const void *src, size_t dwords) in parse_dwdata() argument 44 be32_to_cpu_array(dst, src, dwords); in parse_dwdata() 47 static inline void format_dwdata(void *dst, const void *src, size_t dwords) in format_dwdata() argument 49 cpu_to_be32_array(dst, src, dwords); in format_dwdata()
|
D | nvm.c | 551 unsigned int dwaddress, dwords, offset; in tb_nvm_read_data() local 560 dwords = ALIGN(nbytes, 4) / 4; in tb_nvm_read_data() 562 ret = read_block(read_block_data, dwaddress, data, dwords); in tb_nvm_read_data()
|
/Linux-v6.1/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-v6.1/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 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()
|
/Linux-v6.1/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-v6.1/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 50 BUG_ON(HFI_HEADER_SIZE(hdr) > dwords); in a6xx_hfi_queue_read() 65 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) in a6xx_hfi_queue_write() argument 74 if (space < dwords) { in a6xx_hfi_queue_write() 82 for (i = 0; i < dwords; i++) { in a6xx_hfi_queue_write() 173 int ret, dwords = size >> 2; in a6xx_hfi_send_msg() local 180 (dwords << 8) | id; in a6xx_hfi_send_msg() 182 ret = a6xx_hfi_queue_write(gmu, queue, data, dwords); in a6xx_hfi_send_msg()
|
D | a5xx_power.c | 329 uint32_t dwords = 0, offset = 0, bosize; in a5xx_gpmu_ucode_init() local 378 ptr[dwords++] = PKT4(REG_A5XX_GPMU_INST_RAM_BASE + offset, in a5xx_gpmu_ucode_init() 382 ptr[dwords++] = *cmds++; in a5xx_gpmu_ucode_init() 389 a5xx_gpu->gpmu_dwords = dwords; in a5xx_gpmu_ucode_init()
|
/Linux-v6.1/net/ncsi/ |
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-v6.1/drivers/gpu/drm/r128/ |
D | r128_state.c | 650 int dwords = (end - start + 3) / sizeof(u32); in r128_cce_dispatch_indirect() local 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() 787 int dword_shift, dwords; in r128_cce_dispatch_blit() local [all …]
|
/Linux-v6.1/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() 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-v6.1/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-v6.1/fs/notify/fanotify/ |
D | fanotify.c | 376 int dwords = 0; in fanotify_encode_fh_len() local 382 exportfs_encode_inode_fh(inode, NULL, &dwords, NULL); in fanotify_encode_fh_len() 383 fh_len = dwords << 2; in fanotify_encode_fh_len() 406 int dwords, type = 0; in fanotify_encode_fh() local 444 dwords = fh_len >> 2; in fanotify_encode_fh() 445 type = exportfs_encode_inode_fh(inode, buf, &dwords, NULL); in fanotify_encode_fh() 447 if (!type || type == FILEID_INVALID || fh_len != dwords << 2) in fanotify_encode_fh()
|
/Linux-v6.1/arch/parisc/kernel/ |
D | perf.c | 739 uint32_t dwords; in perf_write_image() local 767 dwords = tentry->num_words; in perf_write_image() 770 while (dwords--) { in perf_write_image() 776 while (dwords--) { in perf_write_image()
|
/Linux-v6.1/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 512 struct rvt_sge_state *ss, u32 dwords, in qib_sdma_verbs_send() argument 566 while (dwords) { in qib_sdma_verbs_send() 568 u32 len = rvt_get_sge_length(sge, dwords << 2); in qib_sdma_verbs_send() 594 dwords -= dw; in qib_sdma_verbs_send() 652 tx->dwords = dwords; in qib_sdma_verbs_send()
|
D | qib_verbs.c | 772 u32 plen, u32 dwords) in qib_verbs_send_dma() argument 789 ret = qib_sdma_verbs_send(ppd, tx->ss, tx->dwords, tx); in qib_verbs_send_dma() 832 ret = qib_sdma_verbs_send(ppd, ss, dwords, tx); in qib_verbs_send_dma() 908 u32 plen, u32 dwords) in qib_verbs_send_pio() argument 968 qib_pio_copy(piobuf, addr, dwords - 1); in qib_verbs_send_pio() 971 __raw_writel(addr[dwords - 1], piobuf + dwords - 1); in qib_verbs_send_pio() 975 qib_pio_copy(piobuf, addr, dwords); in qib_verbs_send_pio() 1020 u32 dwords = (len + 3) >> 2; in qib_verbs_send() local 1026 plen = hdrwords + dwords + 1; in qib_verbs_send() 1036 plen, dwords); in qib_verbs_send() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.h | 598 void *buf, int dwords); 600 const void *buf, int dwords); 1389 void *buf, int dwords) in iwl_trans_read_mem() argument 1391 return trans->ops->read_mem(trans, addr, buf, dwords); in iwl_trans_read_mem() 1421 const void *buf, int dwords) in iwl_trans_write_mem() argument 1423 return trans->ops->write_mem(trans, addr, buf, dwords); in iwl_trans_write_mem()
|
/Linux-v6.1/drivers/video/fbdev/aty/ |
D | mach64_accel.c | 423 u32 *pbitmap, dwords = (src_bytes + 3) / 4; in atyfb_imageblit() local 424 for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) { in atyfb_imageblit()
|