/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 …]
|
/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 …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 31 /* Switching to words (sr_size contains power of 2KB) */ in i40e_init_nvm() 212 * @module_pointer: module pointer location in words from the NVM beginning 213 * @offset: offset in words from module start 214 * @words: number of words to read 215 * @data: buffer with words to read to the Shadow RAM 218 * Reads a 16 bit words buffer to the Shadow RAM using the admin command. 222 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() [all …]
|
/linux/scripts/ |
H A D | decode_stacktrace.sh | 258 local words 261 read -a words <<<"$1" 268 local last=$(( ${#words[@]} - 1 )) 270 for i in "${!words[@]}"; do 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 [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/spi/ |
H A D | spi-apple.c | 270 u32 inuse, words, wrote; in apple_spi_tx() local 276 words = wrote = min_t(u32, *left, APPLE_SPI_FIFO_DEPTH - inuse); in apple_spi_tx() 278 if (!words) in apple_spi_tx() 281 *left -= words; in apple_spi_tx() 287 while (words--) in apple_spi_tx() 294 while (words--) in apple_spi_tx() 301 while (words--) in apple_spi_tx() 315 u32 words, read; in apple_spi_rx() local 320 words = read = FIELD_GET(APPLE_SPI_FIFOSTAT_LEVEL_RX, reg_read(spi, APPLE_SPI_FIFOSTAT)); in apple_spi_rx() 321 WARN_ON(words > *left); in apple_spi_rx() [all …]
|
/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()
|
/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 …]
|
H A D | Kconfig | 69 multiple words of data per PCI bus access cycle. Such a multi-word 92 Burst sixteen words at once in the send direction. This may work 99 Burst eight words at once in the send direction. This is the default 106 Burst four words at once in the send direction. You may want to try 114 Burst two words at once in the send direction. You may want to try 122 Burst sixteen words at once in the receive direction. This may work 129 Burst eight words at once in the receive direction. This may work 137 Burst four words at once in the receive direction. This is the 145 Burst two words at once in the receive direction. You may want to
|
/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 …]
|
/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 …]
|
/linux/tools/perf/ |
H A D | perf-completion.sh | 16 # 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/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))
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 286 * @words: number of words to read 291 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_read_nvm_eerd() argument 297 /* A check for invalid values: offset too large, too many words, in e1000e_read_nvm_eerd() 298 * too many words for the offset, and not enough words. in e1000e_read_nvm_eerd() 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() 327 * @words: number of words to write 335 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_write_nvm_spi() argument 341 /* A check for invalid values: offset too large, too many words, in e1000e_write_nvm_spi() [all …]
|
/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[ [all...] |
/linux/drivers/gpu/host1x/ |
H A D | job.c | 114 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/char/xilinx_hwicap/ |
H A D | fifo_icap.c | 79 #define XHI_WFO_MAX_VACANCY 1024 /* Max Write FIFO Vacancy, in words */ 80 #define XHI_RFO_MAX_OCCUPANCY 256 /* Max Read FIFO Occupancy, in words */ 116 * @data: the size of the following read transaction, in words. 181 * Return the number of words that can be safely pushed into the write fifo. 193 * Return the number of words that can be safely read from the read fifo. 206 * @num_words: the number of words (32 bit) to write to the ICAP 230 * Set up the buffer pointer and the words to be transferred. in fifo_icap_set_configuration() 271 * If the requested number of words have not been read from in fifo_icap_set_configuration() 284 * @size: the size of the partial bitstream in 32 bit words. 286 * This function reads the specified number of words from the ICAP device in [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
H A D | dr_ste_v3.c | 12 /* The hardware expects here size in words (2 byte) */ in dr_ste_v3_set_encap() 25 /* The hardware expects here offset to vlan header in words (2 byte) */ in dr_ste_v3_set_push_vlan() 39 /* The hardware expects here size in words (2 byte) */ in dr_ste_v3_set_pop_vlan() 61 /* The hardware expects here size in words (2 byte) */ in dr_ste_v3_set_encap_l3() 91 /* The hardware expects here size and offset in words (2 byte) */ in dr_ste_v3_set_insert_hdr() 113 /* The hardware expects here size and offset in words (2 byte) */ in dr_ste_v3_set_remove_hdr() 165 /* The hardware expects here offset to words (2 bytes) */ in dr_ste_v3_set_action_decap_l3_list() 180 /* The hardware expects here size in words (2 bytes) */ in dr_ste_v3_set_action_decap_l3_list()
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | xlnx,sd-fec.yaml | 83 xlnx,sdfec-din-words: 99 xlnx,sdfec-dout-words: 115 - xlnx,sdfec-din-words 117 - xlnx,sdfec-dout-words 136 xlnx,sdfec-din-words = <0>; 138 xlnx,sdfec-dout-words = <0>;
|
/linux/drivers/net/ethernet/sfc/ |
H A D | efx_devlink.c | 242 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 …]
|