Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/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 …]
/openbmc/qemu/system/
H A Dqtest.c328 static bool (*process_command_cb)(CharBackend *chr, gchar **words);
330 void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words)) in qtest_set_command_cb() argument
346 static void qtest_process_command(CharBackend *chr, gchar **words) in qtest_process_command() argument
350 g_assert(words); in qtest_process_command()
352 command = words[0]; in qtest_process_command()
358 for (i = 0; words[i]; i++) { in qtest_process_command()
359 fprintf(qtest_log_fp, " %s", words[i]); in qtest_process_command()
365 if (strcmp(words[0], "irq_intercept_out") == 0 in qtest_process_command()
366 || strcmp(words[0], "irq_intercept_in") == 0) { in qtest_process_command()
373 g_assert(words[1]); in qtest_process_command()
[all …]
/openbmc/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 …]
/openbmc/u-boot/arch/x86/lib/
H A Ddiv64.c16 } words; member
25 output.words.higher = output.words.lower << (shift - 32); in __ashldi3()
26 output.words.lower = 0; in __ashldi3()
30 output.words.higher = (output.words.higher << shift) | in __ashldi3()
31 (output.words.lower >> (32 - shift)); in __ashldi3()
32 output.words.lower = output.words.lower << shift; in __ashldi3()
43 output.words.lower = output.words.higher >> (shift - 32); in __lshrdi3()
44 output.words.higher = 0; in __lshrdi3()
48 output.words.lower = output.words.lower >> shift | in __lshrdi3()
49 (output.words.higher << (32 - shift)); in __lshrdi3()
[all …]
/openbmc/linux/scripts/
H A Ddecode_stacktrace.sh252 local words
255 read -a words <<<"$1"
266 if [[ ${words[$i]} =~ \[\<([^]]+)\>\] ]]; then
267 unset words[$i]
271 if [[ ${words[$i]} == \[ && ${words[$i+1]} == *\] ]]; then
272 unset words[$i]
273 words[$i+1]=$(printf "[%13s\n" "${words[$i+1]}")
277 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then
278 words[$last-1]="${words[$last-1]} ${words[$last]}"
279 unset words[$last]
[all …]
/openbmc/phosphor-led-sysfs/
H A Dsysfs.cpp148 std::vector<std::optional<std::string>> words; in getLedDescr() local
156 words.emplace_back(std::nullopt); in getLedDescr()
160 words.emplace_back(item); in getLedDescr()
166 words.emplace_back(std::nullopt); in getLedDescr()
175 if (words.size() != 3) in getLedDescr()
179 "DESC", name, "NPARTS", words.size()); in getLedDescr()
182 switch (words.size()) in getLedDescr()
186 ledDescr.function = words.at(2); in getLedDescr()
187 ledDescr.color = words.at(1); in getLedDescr()
188 ledDescr.devicename = words.at(0); in getLedDescr()
[all …]
/openbmc/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); \
/openbmc/linux/drivers/spi/
H A Dspi-sh-msiof.c394 u32 bits, u32 words) in sh_msiof_spi_set_mode_regs() argument
396 u32 dr2 = SIMDR2_BITLEN1(bits) | SIMDR2_WDLEN1(words); in sh_msiof_spi_set_mode_regs()
414 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument
419 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_8()
424 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument
429 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16()
434 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument
439 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16u()
444 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument
449 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/linux/tools/perf/
H A 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]}
268 cur=${words[CURRENT]}
269 prev=${words[CURRENT-1]}
293 local cur words cword prev
295 _get_comp_words_by_ref -n =:, cur words cword prev
[all …]
/openbmc/u-boot/tools/
H A Dmicrocode-tool.py29 self.words = []
33 self.words.append(int(hexval, 0))
36 self.model = '%x' % self.words[3]
115 words = line.split(',')[:-1]
116 data += [word + ',' for word in words]
203 words = ''
207 words += '\n/* %s */' % mcode.name
208 for i in range(len(mcode.words)):
210 words += '\n'
211 val = mcode.words[i]
[all …]
H A Dmicrocode-tool29 self.words = []
33 self.words.append(int(hexval, 0))
36 self.model = '%x' % self.words[3]
115 words = line.split(',')[:-1]
116 data += [word + ',' for word in words]
203 words = ''
207 words += '\n/* %s */' % mcode.name
208 for i in range(len(mcode.words)):
210 words += '\n'
211 val = mcode.words[i]
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/qemu/util/
H A Dbitops.c132 unsigned long words; in find_last_bit() local
136 words = size / BITS_PER_LONG; in find_last_bit()
140 tmp = (addr[words] & (~0UL >> (BITS_PER_LONG in find_last_bit()
147 while (words) { in find_last_bit()
148 tmp = addr[--words]; in find_last_bit()
151 return words * BITS_PER_LONG + BITS_PER_LONG - 1 - clzl(tmp); in find_last_bit()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c224 u16 words, void *data, in i40e_read_nvm_aq() argument
238 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
241 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
242 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
246 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq()
247 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
252 offset, words); in i40e_read_nvm_aq()
256 2 * words, /*bytes*/ in i40e_read_nvm_aq()
413 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument
419 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl()
[all …]
/openbmc/u-boot/include/
H A Dide.h47 void ide_read_data(int dev, ulong *sect_buf, int words);
48 void ide_write_data(int dev, const ulong *sect_buf, int words);
56 void ide_input_swap_data(int dev, ulong *sect_buf, int words);
57 void ide_input_data(int dev, ulong *sect_buf, int words);
58 void ide_output_data(int dev, const ulong *sect_buf, int words);
/openbmc/phosphor-led-sysfs/interfaces/
H A Dinternal_interface.cpp40 std::vector<std::string> words; in getDbusName() local
43 words.emplace_back(ledDescr.devicename.value()); in getDbusName()
47 words.emplace_back(ledDescr.function.value()); in getDbusName()
52 words.emplace_back(ledDescr.color.value()); in getDbusName()
56 std::accumulate(std::next(words.begin()), words.end(), words[0], in getDbusName()
/openbmc/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 …]
/openbmc/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 …]
/openbmc/qemu/disas/
H A Dhexagon.c34 uint32_t words[PACKET_WORDS_MAX]; in print_insn_hexagon() local
41 (bfd_byte *)&words[i], in print_insn_hexagon()
50 if (is_packet_end(words[i])) { in print_insn_hexagon()
61 len = disassemble_hexagon(words, i, memaddr, buf); in print_insn_hexagon()
/openbmc/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))
/openbmc/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 …]

12345678910>>...26