/openbmc/u-boot/board/socrates/ |
H A D | upm_table.h | 20 0x00fcec00, 0x00fcec00, 0x00fcec00, 0x00fcec00, /* Words 0 to 3 */ 21 0x00fcec00, 0x00fcfc00, 0x00fcfc00, 0x00fcec05, /* Words 4 to 7 */ 22 0x00fcec00, 0x00fcec00, 0x00fcec04, 0x00fcec04, /* Words 8 to 11 */ 23 0x00fcec04, 0x00fcec04, 0x00fcec04, 0x00fcec04, /* Words 12 to 15 */ 24 0x00fcec04, 0x00fcec04, 0x0fffec00, 0xffffec00, /* Words 16 to 19 */ 25 0xffffec00, 0xffffec00, 0xffffec00, 0xffffec01, /* Words 20 to 23 */ 26 0x00ffec00, 0x00ffec00, 0x00f3ec00, 0x0fffec00, /* Words 24 to 27 */ 27 0x0ffffc04, 0xffffec00, 0xffffec00, 0xffffec01, /* Words 28 to 31 */ 28 0x00ffec00, 0x00ffec00, 0x00f3ec04, 0x00f3ec04, /* Words 32 to 35 */ 29 0x00f3ec04, 0x00f3ec04, 0x00f3ec04, 0x00f3ec04, /* Words 36 to 39 */ [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_dsa.c | 38 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/linux/arch/arc/kernel/ |
H A D | disasm.c | 56 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 D | qtest.c | 328 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/u-boot/arch/x86/lib/ |
H A D | div64.c | 16 } 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/Documentation/devicetree/bindings/net/can/ |
H A D | bosch,m_can.yaml | 70 11-bit Filter 0-128 elements / 0-128 words 71 29-bit Filter 0-64 elements / 0-128 words 72 Rx FIFO 0 0-64 elements / 0-1152 words 73 Rx FIFO 1 0-64 elements / 0-1152 words 74 Rx Buffers 0-64 elements / 0-1152 words 75 Tx Event FIFO 0-32 elements / 0-64 words 76 Tx Buffers 0-32 elements / 0-576 words 86 - description: 11-bit Filter 0-128 elements / 0-128 words 89 - description: 29-bit Filter 0-64 elements / 0-128 words 92 - description: Rx FIFO 0 0-64 elements / 0-1152 words [all …]
|
/openbmc/linux/scripts/ |
H A D | decode_stacktrace.sh | 252 local words 255 read -a words <<<"$1" 262 local last=$(( ${#words[@]} - 1 )) 264 for i in "${!words[@]}"; do 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 [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 32 /* Switching to words (sr_size contains power of 2KB) */ in i40e_init_nvm() 214 * @module_pointer: module pointer location in words from the NVM beginning 215 * @offset: offset in words from module start 216 * @words: number of words to read 217 * @data: buffer with words to read to the Shadow RAM 220 * Reads a 16 bit words buffer to the Shadow RAM using the admin command. 224 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() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe.h | 141 #define PCH_GBE_RH_ALM_EMP_4 0x00000000 /* 4 words */ 142 #define PCH_GBE_RH_ALM_EMP_8 0x00004000 /* 8 words */ 143 #define PCH_GBE_RH_ALM_EMP_16 0x00008000 /* 16 words */ 144 #define PCH_GBE_RH_ALM_EMP_32 0x0000C000 /* 32 words */ 146 #define PCH_GBE_RH_ALM_FULL_4 0x00000000 /* 4 words */ 147 #define PCH_GBE_RH_ALM_FULL_8 0x00001000 /* 8 words */ 148 #define PCH_GBE_RH_ALM_FULL_16 0x00002000 /* 16 words */ 149 #define PCH_GBE_RH_ALM_FULL_32 0x00003000 /* 32 words */ 151 #define PCH_GBE_RH_RD_TRG_4 0x00000000 /* 4 words */ 152 #define PCH_GBE_RH_RD_TRG_8 0x00000200 /* 8 words */ [all …]
|
/openbmc/linux/tools/bpf/bpftool/bash-completion/ |
H A D | bpftool | 8 # 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/phosphor-led-sysfs/ |
H A D | sysfs.cpp | 141 * Summary: It's bonkers (not my words, but describes it well) 148 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() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 21 * Perform a full C2P step on 16 8-bit pixels, stored in 4 32-bit words 90 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() 116 /* Multiple destination words */ 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() [all …]
|
H A D | c2p_planar.c | 21 * Perform a full C2P step on 32 8-bit pixels, stored in 8 32-bit words 92 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() 117 /* Multiple destination 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() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sh-msiof.c | 394 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/u-boot/tools/ |
H A D | microcode-tool.py | 23 words: List of hex words containing the microcode. The first 16 words 28 # Convert data into a list of hex words 29 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)): [all …]
|
H A D | microcode-tool | 23 words: List of hex words containing the microcode. The first 16 words 28 # Convert data into a list of hex words 29 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)): [all …]
|
/openbmc/linux/include/linux/ |
H A D | swab.h | 24 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/drivers/atm/ |
H A D | eni.c | 136 * xxPMOK operating on a circular buffer of "c" words 185 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() 322 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, in rx_ident_err() 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() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | perf-completion.sh | 16 # re-assemble words to complete. 77 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 [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_i225.c | 181 * @words: number of words to read 187 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() 218 * @words: number of words to write 226 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() argument 234 /* A check for invalid values: offset too large, too many words, in igc_write_nvm_srwr() 235 * too many words for the offset, and not enough words. in igc_write_nvm_srwr() 237 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_write_nvm_srwr() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 300 * @words: number of words to read 305 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() argument 313 /* A check for invalid values: offset too large, too many words, in igb_read_nvm_spi() 314 * and not enough words. in igb_read_nvm_spi() 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() 360 * @words: number of words to read 365 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument 371 /* A check for invalid values: offset too large, too many words, in igb_read_nvm_eerd() [all …]
|
H A D | e1000_i210.c | 181 * @words: number of words to read 187 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() 219 * @words: number of words to write 227 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr() argument 235 /* A check for invalid values: offset too large, too many words, in igb_write_nvm_srwr() 236 * too many words for the offset, and not enough words. in igb_write_nvm_srwr() 238 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_srwr() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | host1x.h | 98 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; 123 TP_printk("name=%s, bo=%p, words=%u, offset=%d, contents=[%s]", 125 __entry->words, __entry->offset, 127 __entry->cmdbuf ? __entry->words * 4 : 0))
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | masklog.h | 111 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/hiomapd/vpnor/ |
H A D | ffs.h | 30 /* The partition structure has 16 'user data' words, which can be used to store 78 * @resvd: Reserved words for future use 80 * @checksum: Partition checksum (includes all words above) - the 82 * words above. This is used for detecting a corruption 116 * @resvd: Reserved words for future use 117 * @checksum: Header checksum (includes all words above) - the 119 * words above. This is used for detecting a corruption
|