Home
last modified time | relevance | path

Searched full:dwords (Results 1 – 25 of 277) sorted by relevance

12345678910>>...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/gpu/drm/xe/tests/
H A Dxe_guc_buf_kunit.c113 int n, dwords; in test_granular() local
115 dwords = xe_guc_buf_cache_dwords(cache); in test_granular()
116 bufs = kunit_kcalloc(test, dwords, sizeof(*bufs), GFP_KERNEL); in test_granular()
119 for (n = 0; n < dwords; n++) in test_granular()
122 for (n = 0; n < dwords; n++) in test_granular()
125 for (n = 0; n < dwords; n++) in test_granular()
133 int n, m, dwords; in test_unique() local
135 dwords = xe_guc_buf_cache_dwords(cache); in test_unique()
136 bufs = kunit_kcalloc(test, dwords, sizeof(*bufs), GFP_KERNEL); in test_unique()
139 for (n = 0; n < dwords; n++) in test_unique()
[all …]
/linux/drivers/mtd/spi-nor/
H A Dsfdp.c447 /* 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 Dsfdp.h16 /* 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. */
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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100.h82 #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 Daw2-saa7146.c61 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/etnaviv/
H A 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
310 * We need at most 3 dwords in the return target: in etnaviv_sync_point_queue()
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()
459 * We need at most 7 dwords in the return target: 2 cache flush + in etnaviv_buffer_queue()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_gsc_binary_headers.h117 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 */
H A Dintel_uc_fw_abi.h30 * Length of each components, which is all in dwords, can be found in header.
39 * 3. Length info of each component can be found in header, in dwords.
/linux/sound/pci/cs46xx/
H A Dcs46xx_dsp_scb_types.h185 /* 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/include/linux/soc/ixp4xx/
H A Dqmgr.h16 #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/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c210 DBG_BUS_FRAME_MODE_4ST = 0, /* 4 Storm dwords (no HW) */
211 DBG_BUS_FRAME_MODE_2ST_2HW = 1, /* 2 Storm dwords, 2 HW dwords */
212 DBG_BUS_FRAME_MODE_1ST_3HW = 2, /* 1 Storm dwords, 3 HW dwords */
213 DBG_BUS_FRAME_MODE_4HW = 3, /* 4 HW dwords (no Storms) */
214 DBG_BUS_FRAME_MODE_8HW = 4, /* 8 HW dwords (no Storms) */
360 u32 ram_size[MAX_CHIP_IDS]; /* In dwords */
415 #define DWORDS_TO_BYTES(dwords) ((dwords) * BYTES_IN_DWORD) argument
1105 /* Dumps zeros to align the specified buffer to dwords.
1122 * Returns the dumped size in dwords.
1149 * Returns the dumped size in dwords.
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ring.c104 * @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 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/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()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_hwconfig.c131 /* 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()
H A Dxe_configfs.c183 u32 len; /* in dwords */
546 * Return the number of dwords parsed.
551 ssize_t dwords = 0, ret; in parse_wa_bb_lines() local
579 dwords++; in parse_wa_bb_lines()
594 dwords += 3; in parse_wa_bb_lines()
604 return dwords; in parse_wa_bb_lines()
616 /* 1. Count dwords - wa_bb[i].cs is NULL for all classes */ in wa_bb_store()
945 * Return: Number of dwords used in the mid_ctx_restore setting in configfs
972 * Return: Number of dwords used in the post_ctx_restore setting in configfs
H A Dxe_guc_klv_helpers.c73 * @num_dwords: number of dwords (u32) available in the buffer
127 * @num_dwords: number of dwords (u32) in the buffer
/linux/drivers/pci/
H A Dvc.c20 * 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 Dmpt3sas_debug.h151 * @sz: number of dwords
170 * @sz: number of dwords
189 * @sz: number of dwords
/linux/drivers/scsi/isci/
H A Dremote_node_table.h75 * 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
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_tlv.c182 * attribute header. Since the message is measured in DWORDs we have in fbnic_tlv_attr_put_string()
290 * New header length is stored initially in DWORDs.
308 * page and leave it as a multiple of DWORDs, we will shift to in fbnic_tlv_attr_nest_start()
323 * length from DWORDs to bytes to match other attributes.
336 /* Convert from DWORDs to bytes */ in fbnic_tlv_attr_nest_stop()
/linux/drivers/pci/pcie/
H A Dtlp.c55 * @tlp_len: TLP Log length (Header Log + TLP Prefix Log in DWORDs)
86 * Hard-code non-Flit mode to 4 DWORDs, for now. The exact length in pcie_read_tlp_log()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v10_3_0_cleaner_shader.asm24 // This shader is to clean LDS, SGPRs and VGPRs. It is first 64 Dwords or 256 bytes of 192 Dwords

12345678910>>...12