Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/sfc/
H A Defx_devlink.c242 const __le32 *dwords; in efx_devlink_info_running_v2() member
274 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
277 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2()
278 'A' + le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2()
279 le32_to_cpu(ver.dwords[2])); in efx_devlink_info_running_v2()
292 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
295 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2()
296 le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2()
297 le32_to_cpu(ver.dwords[2]), in efx_devlink_info_running_v2()
298 le32_to_cpu(ver.dwords[3])); in efx_devlink_info_running_v2()
[all …]
/linux/drivers/mtd/spi-nor/
H A Dsfdp.c461 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()
611 dword = bfpt.dwords[SFDP_DWORD(16)] & BFPT_DWORD16_4B_ADDR_MODE_MASK; in spi_nor_parse_bfpt()
622 if (bfpt.dwords[SFDP_DWORD(16)] & BFPT_DWORD16_SWRST_EN_RST) in spi_nor_parse_bfpt()
[all …]
H A 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()
H A Dsfdp.h26 u32 dwords[BFPT_DWORD_MAX]; member
H A Dissi.c21 if ((bfpt->dwords[SFDP_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) == in is25lp256_post_bfpt_fixups()
/linux/drivers/net/ethernet/mucse/rnpgbe/
H A Drnpgbe_mbx_fw.c31 err = mucse_write_and_wait_ack_mbx(hw, req->dwords, len); in mucse_fw_send_cmd_wait_resp()
35 err = mucse_poll_and_read_mbx(hw, reply->dwords, in mucse_fw_send_cmd_wait_resp()
132 err = mucse_write_and_wait_ack_mbx(hw, req.dwords, len); in mucse_mbx_powerup()
H A Drnpgbe_mbx_fw.h89 __le32 dwords[sizeof(struct mbx_fw_cmd_req) / sizeof(__le32)]; member
94 __le32 dwords[sizeof(struct mbx_fw_cmd_reply) / sizeof(__le32)]; member
/linux/net/ncsi/
H A 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()
H A Dinternal.h362 unsigned int dwords[4]; member
/linux/drivers/media/platform/qcom/venus/
H A 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()
198 if (empty_space <= dwords) { in venus_write_queue()
209 new_wr_idx = wr_idx + dwords; in venus_write_queue()
217 memcpy(wr_ptr, packet, dwords << 2); in venus_write_queue()
222 len = (dwords - new_wr_idx) << 2; in venus_write_queue()
244 u32 dwords, new_rd_idx; in venus_read_queue() local
292 dwords = *rd_ptr >> 2; in venus_read_queue()
293 if (!dwords) in venus_read_queue()
[all …]
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_hfi.c32 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) in a6xx_hfi_queue_read() argument
55 BUG_ON(HFI_HEADER_SIZE(hdr) > dwords); in a6xx_hfi_queue_read()
73 struct a6xx_hfi_queue *queue, u32 *data, u32 dwords) in a6xx_hfi_queue_write() argument
82 if (space < dwords) { in a6xx_hfi_queue_write()
90 for (i = 0; i < dwords; i++) { in a6xx_hfi_queue_write()
216 int ret, dwords = size >> 2; in a6xx_hfi_send_msg() local
223 (dwords << 8) | id; in a6xx_hfi_send_msg()
225 ret = a6xx_hfi_queue_write(gmu, queue, data, dwords); in a6xx_hfi_send_msg()
/linux/fs/notify/fanotify/
H A Dfanotify.c384 int dwords = 0; in fanotify_encode_fh_len() local
390 exportfs_encode_fid(inode, NULL, &dwords); in fanotify_encode_fh_len()
391 fh_len = dwords << 2; in fanotify_encode_fh_len()
414 int dwords, type = 0; in fanotify_encode_fh() local
452 dwords = fh_len >> 2; in fanotify_encode_fh()
453 type = exportfs_encode_fid(inode, buf, &dwords); in fanotify_encode_fh()
461 if (type <= 0 || type >= FILEID_INVALID || fh_len != dwords << 2) in fanotify_encode_fh()
/linux/drivers/video/fbdev/aty/
H A 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/drivers/thunderbolt/
H A Dnvm.c565 unsigned int dwaddress, dwords, offset; in tb_nvm_read_data() local
574 dwords = ALIGN(nbytes, 4) / 4; in tb_nvm_read_data()
576 ret = read_block(read_block_data, dwaddress, data, dwords); in tb_nvm_read_data()
/linux/drivers/pci/
H A Dvc.c28 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/net/ethernet/intel/ixgbevf/
H A Dvf.c309 int dwords = IXGBEVF_82599_RETA_SIZE / 16; in ixgbevf_get_reta_locked() local
336 err = ixgbevf_poll_mbx(hw, msgbuf, dwords + 1); in ixgbevf_get_reta_locked()
358 for (i = 0; i < dwords; i++) in ixgbevf_get_reta_locked()
/linux/drivers/infiniband/hw/hfi1/
H A Dipoib_tx.c266 u16 dwords; in hfi1_ipoib_build_ib_tx_headers() local
319 dwords = txp->hdr_dwords + payload_dwords; in hfi1_ipoib_build_ib_tx_headers()
323 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
344 dwords - SIZE_OF_CRC + in hfi1_ipoib_build_ib_tx_headers()
/linux/fs/overlayfs/
H A Dcopy_up.c422 int fh_type, dwords; in ovl_encode_real_fh() local
440 dwords = buflen >> 2; in ovl_encode_real_fh()
442 &dwords, NULL, 0); in ovl_encode_real_fh()
443 buflen = (dwords << 2); in ovl_encode_real_fh()
/linux/drivers/mtd/nand/raw/
H A Darasan-nand-controller.c682 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op() local
697 offset = i * (dwords * 4); in anfc_rw_pio_op()
700 dwords); in anfc_rw_pio_op()
703 dwords); in anfc_rw_pio_op()
/linux/drivers/scsi/qla2xxx/
H A Dqla_nx2.c3685 uint32_t faddr, uint32_t dwords) in qla8044_write_flash_buffer_mode() argument
3690 if (dwords < QLA8044_MIN_OPTROM_BURST_DWORDS || in qla8044_write_flash_buffer_mode()
3691 dwords > QLA8044_MAX_OPTROM_BURST_DWORDS) { in qla8044_write_flash_buffer_mode()
3694 dwords); in qla8044_write_flash_buffer_mode()
3717 dwords--; in qla8044_write_flash_buffer_mode()
3724 while (dwords != 1) { in qla8044_write_flash_buffer_mode()
3734 dwords--; in qla8044_write_flash_buffer_mode()
3768 uint32_t faddr, uint32_t dwords) in qla8044_write_flash_dword_mode() argument
3773 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla8044_write_flash_dword_mode()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_roce.c111 for (i = 0; i < ARRAY_SIZE(qp->sgid.dwords); i++) { in qed_rdma_copy_gids()
112 src_gid[i] = cpu_to_le32(qp->sgid.dwords[i]); in qed_rdma_copy_gids()
113 dst_gid[i] = cpu_to_le32(qp->dgid.dwords[i]); in qed_rdma_copy_gids()
/linux/drivers/scsi/esas2r/
H A Datvda.h1075 u32 dwords[245]; member
1281 u32 dwords[2]; member
/linux/lib/crypto/x86/
H A Dsha256-avx-asm.S379 ## byte swap first 16 dwords
387 ## schedule 48 input dwords, by doing 3 rounds of 16 each
H A Dsha256-ssse3-asm.S387 ## byte swap first 16 dwords
395 ## schedule 48 input dwords, by doing 3 rounds of 16 each
/linux/include/linux/qed/
H A Dqed_rdma_if.h225 u32 dwords[4]; member

12