Home
last modified time | relevance | path

Searched refs:dwords (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_devlink.c241 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-6.6.21/drivers/mtd/spi-nor/
Dsfdp.c464 le32_to_cpu_array(bfpt.dwords, BFPT_DWORD_MAX); in spi_nor_parse_bfpt()
467 switch (bfpt.dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { in spi_nor_parse_bfpt()
484 val = bfpt.dwords[SFDP_DWORD(2)]; in spi_nor_parse_bfpt()
507 if (!(bfpt.dwords[rd->supported_dword] & rd->supported_bit)) { in spi_nor_parse_bfpt()
515 half = bfpt.dwords[rd->settings_dword] >> rd->settings_shift; in spi_nor_parse_bfpt()
530 half = bfpt.dwords[er->dword] >> er->shift; in spi_nor_parse_bfpt()
564 val = bfpt.dwords[SFDP_DWORD(11)]; in spi_nor_parse_bfpt()
570 switch (bfpt.dwords[SFDP_DWORD(15)] & BFPT_DWORD15_QER_MASK) { in spi_nor_parse_bfpt()
616 dword = bfpt.dwords[SFDP_DWORD(16)] & BFPT_DWORD16_4B_ADDR_MODE_MASK; in spi_nor_parse_bfpt()
627 if (bfpt.dwords[SFDP_DWORD(16)] & BFPT_DWORD16_SWRST_EN_RST) in spi_nor_parse_bfpt()
[all …]
Dsysfs.c60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read()
62 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read()
Dsfdp.h26 u32 dwords[BFPT_DWORD_MAX]; member
Dissi.c21 if ((bfpt->dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups()
Dmacronix.c25 if (bfpt->dwords[SFDP_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4) in mx25l25635_post_bfpt_fixups()
/linux-6.6.21/drivers/thunderbolt/
Ddma_port.c303 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()
Dusb4.c345 size_t dwords) in usb4_switch_drom_read_block() argument
352 metadata = (dwords << USB4_DROM_SIZE_SHIFT) & USB4_DROM_SIZE_MASK; in usb4_switch_drom_read_block()
357 &status, NULL, 0, buf, dwords); in usb4_switch_drom_read_block()
538 unsigned int dwaddress, void *buf, size_t dwords) in usb4_switch_nvm_read_block() argument
545 metadata = (dwords << USB4_NVM_READ_LENGTH_SHIFT) & in usb4_switch_nvm_read_block()
551 &status, NULL, 0, buf, dwords); in usb4_switch_nvm_read_block()
604 const void *buf, size_t dwords) in usb4_switch_nvm_write_next_block() argument
611 buf, dwords, NULL, 0); in usb4_switch_nvm_write_next_block()
1229 static int usb4_port_read_data(struct tb_port *port, void *data, size_t dwords) in usb4_port_read_data() argument
1231 if (dwords > USB4_DATA_DWORDS) in usb4_port_read_data()
[all …]
Ddebugfs.c1096 int dwords) in cap_show_by_dw() argument
1101 for (i = 0; i < dwords; i++) { in cap_show_by_dw()
1123 int i, dwords = min(length, TB_MAX_CONFIG_RW_LENGTH); in cap_show() local
1128 dwords); in cap_show()
1130 ret = tb_sw_read(sw, data, TB_CFG_SWITCH, cap + offset, dwords); in cap_show()
1136 for (i = 0; i < dwords; i++) { in cap_show()
1142 length -= dwords; in cap_show()
1143 offset += dwords; in cap_show()
1342 size_t dwords; in switch_basic_regs_show() local
1347 dwords = ARRAY_SIZE(data); in switch_basic_regs_show()
[all …]
Dproperty.c42 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()
Dnvm.c555 unsigned int dwaddress, dwords, offset; in tb_nvm_read_data() local
564 dwords = ALIGN(nbytes, 4) / 4; in tb_nvm_read_data()
566 ret = read_block(read_block_data, dwaddress, data, dwords); in tb_nvm_read_data()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c253 unsigned int dwords = 7; in etnaviv_buffer_end() local
256 dwords += 10; in etnaviv_buffer_end()
258 link_target = etnaviv_buffer_reserve(gpu, buffer, dwords); in etnaviv_buffer_end()
291 VIV_FE_LINK_HEADER_PREFETCH(dwords), in etnaviv_buffer_end()
305 u32 dwords, target; in etnaviv_sync_point_queue() local
313 dwords = 4; in etnaviv_sync_point_queue()
314 target = etnaviv_buffer_reserve(gpu, buffer, dwords); in etnaviv_sync_point_queue()
335 VIV_FE_LINK_HEADER_PREFETCH(dwords), in etnaviv_sync_point_queue()
/linux-6.6.21/drivers/spi/
Dspi-rockchip-sfc.c368 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-6.6.21/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.c27 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()
Da5xx_power.c329 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-6.6.21/net/ncsi/
Dncsi-cmd.c116 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-6.6.21/drivers/scsi/qla2xxx/
Dqla_tmpl.c263 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-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_venus.c167 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-6.6.21/fs/notify/fanotify/
Dfanotify.c377 int dwords = 0; in fanotify_encode_fh_len() local
383 exportfs_encode_fid(inode, NULL, &dwords); in fanotify_encode_fh_len()
384 fh_len = dwords << 2; in fanotify_encode_fh_len()
407 int dwords, type = 0; in fanotify_encode_fh() local
445 dwords = fh_len >> 2; in fanotify_encode_fh()
446 type = exportfs_encode_fid(inode, buf, &dwords); in fanotify_encode_fh()
448 if (type <= 0 || type == FILEID_INVALID || fh_len != dwords << 2) in fanotify_encode_fh()
/linux-6.6.21/arch/parisc/kernel/
Dperf.c739 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-6.6.21/drivers/infiniband/hw/qib/
Dqib_sdma.c512 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()
Dqib_verbs.c772 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-6.6.21/drivers/video/fbdev/aty/
Dmach64_accel.c423 u32 *pbitmap, dwords = (src_bytes + 3) / 4; in atyfb_imageblit() local
424 for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) { in atyfb_imageblit()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h623 void *buf, int dwords);
625 const void *buf, int dwords);
1476 void *buf, int dwords) in iwl_trans_read_mem() argument
1478 return trans->ops->read_mem(trans, addr, buf, dwords); in iwl_trans_read_mem()
1508 const void *buf, int dwords) in iwl_trans_write_mem() argument
1510 return trans->ops->write_mem(trans, addr, buf, dwords); in iwl_trans_write_mem()
/linux-6.6.21/drivers/pci/
Dvc.c27 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument
31 for (i = 0; i < dwords; i++, buf++) { in pci_vc_save_restore_dwords()

123