Home
last modified time | relevance | path

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

12345678910>>...16

/linux/arch/arc/kernel/
H A 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/drivers/net/ethernet/marvell/prestera/
H A 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/scripts/
H A Ddecode_stacktrace.sh258 local words
261 read -a words <<<"$1"
272 if [[ ${words[$i]} =~ \[\<([^]]+)\>\] ]]; then
273 unset words[$i]
277 if [[ ${words[$i]} == \[ && ${words[$i+1]} == *\] ]]; then
278 unset words[$i]
279 words[$i+1]=$(printf "[%13s\n" "${words[$i+1]}")
283 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then
284 words[$last-1]="${words[$last-1]} ${words[$last]}"
285 unset words[$last]
[all …]
/linux/fs/ocfs2/cluster/
H A 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/drivers/video/fbdev/
H A 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()
H A 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/drivers/atm/
H A 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/include/linux/
H A 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/tools/perf/
H A Dperf-completion.sh16 # re-assemble words to complete.
77 words)
78 words=("${words_[@]}")
134 if [[ ${words[i]} == "$1" ]]; then
138 if [[ ${words[i]} == "$cmd_" ]]; then
139 prev_skip_opts=${words[i]}
151 cmd=${words[0]}
283 cur=${words[CURRENT]}
284 prev=${words[CURRENT-1]}
310 local cur words cwor
[all...]
/linux/tools/bpf/bpftool/bash-completion/
H A 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/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c222 u16 words, void *data, in i40e_read_nvm_aq() argument
236 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
239 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
240 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
244 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq()
245 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
250 offset, words); in i40e_read_nvm_aq()
254 2 * words, /*bytes*/ in i40e_read_nvm_aq()
411 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument
417 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl()
[all …]
/linux/drivers/gpu/host1x/
H A Djob.c114 unsigned int words, unsigned int offset) in host1x_job_add_gather() argument
118 gather->words = words; in host1x_job_add_gather()
348 u32 words; member
394 if (fw->words == 0) in check_mask()
402 fw->words--; in check_mask()
419 if (fw->words == 0) in check_incr()
427 fw->words--; in check_incr()
441 if (fw->words == 0) in check_nonincr()
448 fw->words--; in check_nonincr()
463 fw->words = g->words; in validate()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_i225.c187 static s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() argument
197 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_read_nvm_srrd_i225()
198 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_read_nvm_srrd_i225()
199 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_read_nvm_srrd_i225()
226 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() argument
237 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_write_nvm_srwr()
238 words == 0) { in igc_write_nvm_srwr()
243 for (i = 0; i < words; i++) { in igc_write_nvm_srwr()
285 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() argument
295 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_write_nvm_srwr_i225()
[all …]
H A Digc_nvm.c97 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data) in igc_read_nvm_eerd() argument
106 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
107 words == 0) { in igc_read_nvm_eerd()
113 for (i = 0; i < words; i++) { in igc_read_nvm_eerd()
/linux/include/trace/events/
H A 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/drivers/net/ethernet/sfc/
H A Defx_devlink.c242 const __le16 *words; in efx_devlink_info_running_v2() member
314 ver.words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_V2_OUT_VERSION); in efx_devlink_info_running_v2()
316 le16_to_cpu(ver.words[0]), le16_to_cpu(ver.words[1]), in efx_devlink_info_running_v2()
317 le16_to_cpu(ver.words[2]), le16_to_cpu(ver.words[3])); in efx_devlink_info_running_v2()
359 const __le16 *words; in efx_devlink_info_running_v3() member
397 const __le16 *words; in efx_devlink_info_running_v4() member
480 const __le16 *words; in efx_devlink_info_running_v5() member
521 const __le16 *words; in efx_devlink_info_running_versions() member
538 ver.words = (__le16 *)MCDI_PTR(outbuf, in efx_devlink_info_running_versions()
541 le16_to_cpu(ver.words[0]), in efx_devlink_info_running_versions()
[all …]
/linux/drivers/bcma/
H A 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/drivers/net/ethernet/intel/igb/
H A 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 …]
H A 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 …]
/linux/drivers/net/ethernet/intel/e1000e/
H A 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()
/linux/tools/lib/
H A Dstring.c209 unsigned int words, prefix; in memchr_inv() local
231 words = bytes / 8; in memchr_inv()
233 while (words) { in memchr_inv()
237 words--; in memchr_inv()
/linux/include/linux/byteorder/
H A Dgeneric.h160 static inline void le32_to_cpu_array(u32 *buf, unsigned int words) in le32_to_cpu_array() argument
162 while (words--) { in le32_to_cpu_array()
168 static inline void cpu_to_le32_array(u32 *buf, unsigned int words) in cpu_to_le32_array() argument
170 while (words--) { in cpu_to_le32_array()
/linux/drivers/ata/
H A Dpata_buddha.c71 unsigned int words = buflen >> 1; in pata_buddha_data_xfer() local
75 raw_insw((u16 *)data_addr, (u16 *)buf, words); in pata_buddha_data_xfer()
77 raw_outsw((u16 *)data_addr, (u16 *)buf, words); in pata_buddha_data_xfer()
93 words++; in pata_buddha_data_xfer()
96 return words << 1; in pata_buddha_data_xfer()
/linux/drivers/iio/chemical/
H A Dsgp30.c342 struct sgp_crc_word *words; in sgp_read_raw() local
352 words = data->iaq_buffer.raw_words; in sgp_read_raw()
357 *val2 = be16_to_cpu(words[1].value); in sgp_read_raw()
362 *val2 = be16_to_cpu(words[0].value); in sgp_read_raw()
378 words = data->iaq_buffer.raw_words; in sgp_read_raw()
383 words = data->buffer.raw_words; in sgp_read_raw()
392 *val = be16_to_cpu(words[1].value); in sgp_read_raw()
397 *val = be16_to_cpu(words[0].value); in sgp_read_raw()
/linux/drivers/gpu/host1x/hw/
H A Dchannel_hw.c22 u32 offset, u32 words) in trace_write_gather() argument
36 for (i = 0; i < words; i += TRACE_MAX_LENGTH) { in trace_write_gather()
37 u32 num_words = min(words - i, TRACE_MAX_LENGTH); in trace_write_gather()
141 trace_write_gather(cdma, g->bo, g->offset, g->words); in submit_gathers()
145 u32 op1 = host1x_opcode_gather_wide(g->words); in submit_gathers()
155 u32 op1 = host1x_opcode_gather(g->words); in submit_gathers()

12345678910>>...16