Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 424) sorted by relevance

12345678910>>...17

/Linux-v6.1/arch/arc/kernel/
Ddisasm.c56 state->words[0] = (word1 << 16) | word0; in disasm_instr()
59 state->words[0] = word1; in disasm_instr()
65 state->words[1] = (word1 << 16) | word0; in disasm_instr()
72 fieldA = (IS_BIT(state->words[0], 16)) ? in disasm_instr()
73 FIELD_s25(state->words[0]) : in disasm_instr()
74 FIELD_s21(state->words[0]); in disasm_instr()
76 state->delay_slot = IS_BIT(state->words[0], 5); in disasm_instr()
82 if (IS_BIT(state->words[0], 16)) { in disasm_instr()
85 fieldA = (IS_BIT(state->words[0], 17)) ? in disasm_instr()
86 (FIELD_s25(state->words[0]) & ~0x3) : in disasm_instr()
[all …]
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_dsa.c38 u32 words[4]; in prestera_dsa_parse() local
41 words[0] = ntohl(dsa_words[0]); in prestera_dsa_parse()
42 words[1] = ntohl(dsa_words[1]); in prestera_dsa_parse()
43 words[2] = ntohl(dsa_words[2]); in prestera_dsa_parse()
44 words[3] = ntohl(dsa_words[3]); in prestera_dsa_parse()
47 cmd = (enum prestera_dsa_cmd)FIELD_GET(PRESTERA_DSA_W0_CMD, words[0]); in prestera_dsa_parse()
53 if (FIELD_GET(PRESTERA_DSA_W0_EXT_BIT, words[0]) == 0) in prestera_dsa_parse()
55 if (FIELD_GET(PRESTERA_DSA_W1_EXT_BIT, words[1]) == 0) in prestera_dsa_parse()
57 if (FIELD_GET(PRESTERA_DSA_W2_EXT_BIT, words[2]) == 0) in prestera_dsa_parse()
60 field = FIELD_GET(PRESTERA_DSA_W3_VID, words[3]); in prestera_dsa_parse()
[all …]
/Linux-v6.1/scripts/
Ddecode_stacktrace.sh237 local words
240 read -a words <<<"$1"
251 if [[ ${words[$i]} =~ \[\<([^]]+)\>\] ]]; then
252 unset words[$i]
256 if [[ ${words[$i]} == \[ && ${words[$i+1]} == *\] ]]; then
257 unset words[$i]
258 words[$i+1]=$(printf "[%13s\n" "${words[$i+1]}")
262 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then
263 words[$last-1]="${words[$last-1]} ${words[$last]}"
264 unset words[$last]
[all …]
/Linux-v6.1/fs/ocfs2/cluster/
Dmasklog.h111 unsigned long words[MLOG_MAX_BITS / BITS_PER_LONG]; member
119 ( (u32)(mask & 0xffffffff) & bits.words[0] || \
120 ((u64)(mask) >> 32) & bits.words[1] )
122 bits.words[0] |= (u32)(mask & 0xffffffff); \
123 bits.words[1] |= (u64)(mask) >> 32; \
126 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \
127 bits.words[1] &= ~((u64)(mask) >> 32); \
138 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0])
140 bits.words[0] |= (mask); \
143 bits.words[0] &= ~(mask); \
/Linux-v6.1/drivers/spi/
Dspi-sh-msiof.c392 u32 bits, u32 words) in sh_msiof_spi_set_mode_regs() argument
394 u32 dr2 = SIMDR2_BITLEN1(bits) | SIMDR2_WDLEN1(words); in sh_msiof_spi_set_mode_regs()
412 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
417 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_8()
422 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
427 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16()
432 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
437 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16u()
442 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
447 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32()
[all …]
Dspi-hisi-sfc-v3xx.c207 int words = len / 4; in hisi_sfc_v3xx_read_databuf() local
209 __ioread32_copy(to, from, words); in hisi_sfc_v3xx_read_databuf()
211 len -= words * 4; in hisi_sfc_v3xx_read_databuf()
215 to += words * 4; in hisi_sfc_v3xx_read_databuf()
216 from += words * 4; in hisi_sfc_v3xx_read_databuf()
244 int words = len / 4; in hisi_sfc_v3xx_write_databuf() local
246 __iowrite32_copy(to, from, words); in hisi_sfc_v3xx_write_databuf()
248 len -= words * 4; in hisi_sfc_v3xx_write_databuf()
252 to += words * 4; in hisi_sfc_v3xx_write_databuf()
253 from += words * 4; in hisi_sfc_v3xx_write_databuf()
/Linux-v6.1/include/linux/
Dswab.h24 static inline void swab16_array(u16 *buf, unsigned int words) in swab16_array() argument
26 while (words--) { in swab16_array()
32 static inline void swab32_array(u32 *buf, unsigned int words) in swab32_array() argument
34 while (words--) { in swab32_array()
40 static inline void swab64_array(u64 *buf, unsigned int words) in swab64_array() argument
42 while (words--) { in swab64_array()
/Linux-v6.1/drivers/video/fbdev/
Dc2p_iplan2.c90 u32 words[4]; in c2p_iplan2() member
112 c2p_16x8(d.words); in c2p_iplan2()
113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
124 c2p_16x8(d.words); in c2p_iplan2()
125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
133 c2p_16x8(d.words); in c2p_iplan2()
134 store_iplan2(p, bpp, d.words); in c2p_iplan2()
143 c2p_16x8(d.words); in c2p_iplan2()
144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()
Dc2p_planar.c92 u32 words[8]; in c2p_planar() member
112 c2p_32x8(d.words); in c2p_planar()
113 store_planar_masked(p, dst_nextplane, bpp, d.words, in c2p_planar()
125 c2p_32x8(d.words); in c2p_planar()
127 d.words, first); in c2p_planar()
135 c2p_32x8(d.words); in c2p_planar()
136 store_planar(p, dst_nextplane, bpp, d.words); in c2p_planar()
145 c2p_32x8(d.words); in c2p_planar()
147 d.words, last); in c2p_planar()
/Linux-v6.1/tools/perf/
Dperf-completion.sh77 words)
78 words=("${words_[@]}")
132 if [[ ${words[i]} == $1 ]]; then
136 if [[ ${words[i]} == $cmd_ ]]; then
137 prev_skip_opts=${words[i]}
149 cmd=${words[0]}
263 cur=${words[CURRENT]}
264 prev=${words[CURRENT-1]}
288 local cur words cword prev
290 _get_comp_words_by_ref -n =:, cur words cword prev
[all …]
/Linux-v6.1/drivers/atm/
Deni.c185 eni_dev->tx[i].send,eni_dev->tx[i].words*4); in dump()
191 ENI_VCC(eni_dev->rx_map[i])->words*4); in dump()
323 eni_vcc->rxing,eni_vcc->words); in rx_ident_err()
368 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); in do_rx_dma()
373 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); in do_rx_dma()
376 unsigned long words; in do_rx_dma() local
383 words = eff; in do_rx_dma()
388 if (init > words) init = words; in do_rx_dma()
393 words -= init; in do_rx_dma()
396 if (words & ~15) { in do_rx_dma()
[all …]
/Linux-v6.1/tools/bpf/bpftool/bash-completion/
Dbpftool8 # Takes a list of words in argument; each one of them is added to COMPREPLY if
15 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do
16 if [[ $w == ${words[idx]} ]]; then
26 # Takes a list of words as argument; if any of those words is present on the
32 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do
33 [[ $w == ${words[idx]} ]] && return 0
39 # Takes a list of words in argument; adds them all to COMPREPLY if none of them
140 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do
141 case "${words[$((idx-2))]}" in
143 keyword=${words[$((idx-1))]}
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c221 u16 words, void *data, in i40e_read_nvm_aq() argument
235 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
238 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
239 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
243 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq()
244 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
249 offset, words); in i40e_read_nvm_aq()
253 2 * words, /*bytes*/ in i40e_read_nvm_aq()
410 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument
416 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl()
[all …]
/Linux-v6.1/drivers/gpu/host1x/
Djob.c108 unsigned int words, unsigned int offset) in host1x_job_add_gather() argument
112 gather->words = words; in host1x_job_add_gather()
342 u32 words; member
388 if (fw->words == 0) in check_mask()
396 fw->words--; in check_mask()
413 if (fw->words == 0) in check_incr()
421 fw->words--; in check_incr()
435 if (fw->words == 0) in check_nonincr()
442 fw->words--; in check_nonincr()
457 fw->words = g->words; in validate()
[all …]
/Linux-v6.1/drivers/ata/
Dpata_falcon.c47 unsigned int words = buflen >> 1; in pata_falcon_data_xfer() local
58 raw_insw_swapw(data_addr, (u16 *)buf, words); in pata_falcon_data_xfer()
60 raw_insw(data_addr, (u16 *)buf, words); in pata_falcon_data_xfer()
63 raw_outsw_swapw(data_addr, (u16 *)buf, words); in pata_falcon_data_xfer()
65 raw_outsw(data_addr, (u16 *)buf, words); in pata_falcon_data_xfer()
88 words++; in pata_falcon_data_xfer()
91 return words << 1; in pata_falcon_data_xfer()
Dpata_gayle.c50 unsigned int words = buflen >> 1; in pata_gayle_data_xfer() local
54 raw_insw((u16 *)data_addr, (u16 *)buf, words); in pata_gayle_data_xfer()
56 raw_outsw((u16 *)data_addr, (u16 *)buf, words); in pata_gayle_data_xfer()
72 words++; in pata_gayle_data_xfer()
75 return words << 1; in pata_gayle_data_xfer()
/Linux-v6.1/include/trace/events/
Dhost1x.h98 u32 words, u32 offset, void *cmdbuf),
100 TP_ARGS(name, bo, words, offset, cmdbuf),
105 __field(u32, words)
108 __dynamic_array(u32, cmdbuf, words)
114 words * sizeof(u32));
119 __entry->words = words;
125 __entry->words, __entry->offset,
127 __entry->cmdbuf ? __entry->words * 4 : 0))
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_i225.c186 static s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() argument
196 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_read_nvm_srrd_i225()
197 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_read_nvm_srrd_i225()
198 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_read_nvm_srrd_i225()
225 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() argument
236 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_write_nvm_srwr()
237 words == 0) { in igc_write_nvm_srwr()
242 for (i = 0; i < words; i++) { in igc_write_nvm_srwr()
284 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() argument
294 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_write_nvm_srwr_i225()
[all …]
/Linux-v6.1/drivers/bcma/
Dsprom.c76 size_t words) in bcma_sprom_read() argument
79 for (i = 0; i < words; i++) in bcma_sprom_read()
127 static u8 bcma_sprom_crc(const u16 *sprom, size_t words) in bcma_sprom_crc() argument
132 for (word = 0; word < words - 1; word++) { in bcma_sprom_crc()
136 crc = bcma_crc8(crc, sprom[words - 1] & 0x00FF); in bcma_sprom_crc()
142 static int bcma_sprom_check_crc(const u16 *sprom, size_t words) in bcma_sprom_check_crc() argument
148 crc = bcma_sprom_crc(sprom, words); in bcma_sprom_check_crc()
149 tmp = sprom[words - 1] & SSB_SPROM_REVISION_CRC; in bcma_sprom_check_crc()
158 size_t words) in bcma_sprom_valid() argument
163 err = bcma_sprom_check_crc(sprom, words); in bcma_sprom_valid()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/igb/
De1000_nvm.c305 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() argument
316 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_spi()
317 (words == 0)) { in igb_read_nvm_spi()
344 for (i = 0; i < words; i++) { in igb_read_nvm_spi()
365 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument
374 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_eerd()
375 (words == 0)) { in igb_read_nvm_eerd()
381 for (i = 0; i < words; i++) { in igb_read_nvm_eerd()
410 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_write_nvm_spi() argument
419 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_spi()
[all …]
De1000_i210.c187 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210() argument
197 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in igb_read_nvm_srrd_i210()
198 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ? in igb_read_nvm_srrd_i210()
199 E1000_EERD_EEWR_MAX_COUNT : (words - i); in igb_read_nvm_srrd_i210()
227 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr() argument
238 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_srwr()
239 (words == 0)) { in igb_write_nvm_srwr()
245 for (i = 0; i < words; i++) { in igb_write_nvm_srwr()
287 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr_i210() argument
297 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in igb_write_nvm_srwr_i210()
[all …]
De1000_nvm.h13 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
14 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
15 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
/Linux-v6.1/drivers/soundwire/
Dmipi_disco.c139 dp0->words = devm_kcalloc(&slave->dev, in sdw_slave_read_dp0()
140 dp0->num_words, sizeof(*dp0->words), in sdw_slave_read_dp0()
142 if (!dp0->words) in sdw_slave_read_dp0()
147 dp0->words, dp0->num_words); in sdw_slave_read_dp0()
196 dpn[i].words = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn()
198 sizeof(*dpn[i].words), in sdw_slave_read_dpn()
200 if (!dpn[i].words) in sdw_slave_read_dpn()
205 dpn[i].words, dpn[i].num_words); in sdw_slave_read_dpn()
/Linux-v6.1/tools/lib/
Dstring.c196 unsigned int words, prefix; in memchr_inv() local
218 words = bytes / 8; in memchr_inv()
220 while (words) { in memchr_inv()
224 words--; in memchr_inv()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dnvm.c291 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_read_nvm_eerd() argument
300 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_read_nvm_eerd()
301 (words == 0)) { in e1000e_read_nvm_eerd()
306 for (i = 0; i < words; i++) { in e1000e_read_nvm_eerd()
335 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_write_nvm_spi() argument
344 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_write_nvm_spi()
345 (words == 0)) { in e1000e_write_nvm_spi()
350 while (widx < words) { in e1000e_write_nvm_spi()
383 while (widx < words) { in e1000e_write_nvm_spi()

12345678910>>...17