| /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/scripts/ |
| H A D | decode_stacktrace.sh | 260 local words spaces 263 read -ra words <<<"$1" 275 if [[ ${words[$i]} =~ \[\<([^]]+)\>\] ]]; then 276 unset words[$i] spaces[$i] 286 if [[ ${words[$last]} =~ \([A-Z]*\) ]]; then 287 info_str=${words[$last]} 288 unset words[$last] spaces[$last] 294 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then 295 words[$last-1]="${words[$last-1]} ${words[$last]}" 296 unset words[$last] spaces[$last] [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-sh-msiof.c | 298 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_8() argument 304 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_8() 309 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_16() argument 315 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16() 320 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_16u() argument 326 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16u() 331 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_32() argument 337 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32() 342 const void *tx_buf, unsigned int words, in sh_msiof_spi_write_fifo_32u() argument 348 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32u() [all …]
|
| /linux/include/linux/byteorder/ |
| H A D | generic.h | 160 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() 176 static inline void le64_to_cpu_array(u64 *buf, unsigned int words) in le64_to_cpu_array() argument 178 while (words--) { in le64_to_cpu_array() 184 static inline void cpu_to_le64_array(u64 *buf, unsigned int words) in cpu_to_le64_array() argument 186 while (words--) { in cpu_to_le64_array() 192 static inline void memcpy_from_le32(u32 *dst, const __le32 *src, size_t words) in memcpy_from_le32() argument 196 for (i = 0; i < words; i++) in memcpy_from_le32() [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 | 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() 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/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/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_nvm.c | 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() 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 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/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; 125 __entry->words, __entry->offset, 127 __entry->cmdbuf ? __entry->words * 4 : 0))
|
| /linux/drivers/bcma/ |
| H A D | sprom.c | 76 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/sfc/ |
| H A D | efx_devlink.c | 243 const __le16 *words; in efx_devlink_info_running_v2() member 315 ver.words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_V2_OUT_VERSION); in efx_devlink_info_running_v2() 317 le16_to_cpu(ver.words[0]), le16_to_cpu(ver.words[1]), in efx_devlink_info_running_v2() 318 le16_to_cpu(ver.words[2]), le16_to_cpu(ver.words[3])); in efx_devlink_info_running_v2() 360 const __le16 *words; in efx_devlink_info_running_v3() member 398 const __le16 *words; in efx_devlink_info_running_v4() member 481 const __le16 *words; in efx_devlink_info_running_v5() member 522 const __le16 *words; in efx_devlink_info_running_versions() member 539 ver.words = (__le16 *)MCDI_PTR(outbuf, in efx_devlink_info_running_versions() 542 le16_to_cpu(ver.words[0]), in efx_devlink_info_running_versions() [all …]
|
| /linux/tools/lib/ |
| H A D | string.c | 209 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/drivers/soundwire/ |
| H A D | mipi_disco.c | 178 dp0->words = devm_kcalloc(&slave->dev, in sdw_slave_read_dp0() 179 dp0->num_words, sizeof(*dp0->words), in sdw_slave_read_dp0() 181 if (!dp0->words) in sdw_slave_read_dp0() 186 dp0->words, dp0->num_words); in sdw_slave_read_dp0() 254 dpn[i].words = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 256 sizeof(*dpn[i].words), in sdw_slave_read_dpn() 258 if (!dpn[i].words) { in sdw_slave_read_dpn() 265 dpn[i].words, dpn[i].num_words); in sdw_slave_read_dpn()
|
| /linux/drivers/ata/ |
| H A D | pata_buddha.c | 71 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()
|
| H A D | pata_ixp4xx_cf.c | 128 unsigned int words = buflen >> 1; in ixp4xx_mmio_data_xfer() local 148 for (i = 0; i < words; i++) in ixp4xx_mmio_data_xfer() 151 for (i = 0; i < words; i++) in ixp4xx_mmio_data_xfer() 166 words++; in ixp4xx_mmio_data_xfer() 174 return words << 1; in ixp4xx_mmio_data_xfer()
|
| /linux/drivers/iio/chemical/ |
| H A D | sgp30.c | 342 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/i2c/ |
| H A D | i2c-stub.c | 71 u16 words[256]; /* Byte operations use the LSB as per SMBus member 119 return chip->words + offset; in stub_get_wordp() 222 chip->words[command + i] &= 0xff00; in stub_xfer() 223 chip->words[command + i] |= data->block[1 + i]; in stub_xfer() 231 chip->words[command + i] & 0xff; in stub_xfer() 267 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
|
| /linux/arch/m68k/include/asm/ |
| H A D | bitops.h | 358 unsigned long words; in find_first_zero_bit() local 364 words = (size + 31) >> 5; in find_first_zero_bit() 366 if (!--words) in find_first_zero_bit() 415 unsigned long words; in find_first_bit() local 421 words = (size + 31) >> 5; in find_first_bit() 423 if (!--words) in find_first_bit()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | nvm.h | 13 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 16 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_hw.c | 450 mac_req = (struct qlcnic_mac_req *)&req.words[0]; in qlcnic_82xx_sre_macaddr_change() 454 vlan_req = (struct qlcnic_vlan_req *)&req.words[1]; in qlcnic_82xx_sre_macaddr_change() 609 req.words[0] = cpu_to_le64(mode); in qlcnic_82xx_nic_set_promisc() 711 req.words[0] = cpu_to_le64(flag); in qlcnic_set_fw_loopback() 780 req.words[0] = cpu_to_le64(((u64) adapter->ahw->coal.flag) << 32); in qlcnic_82xx_set_rx_coalesce() 781 req.words[2] = cpu_to_le64(adapter->ahw->coal.rx_packets | in qlcnic_82xx_set_rx_coalesce() 783 req.words[5] = cpu_to_le64(adapter->ahw->coal.timer_out | in qlcnic_82xx_set_rx_coalesce() 841 req.words[0] = cpu_to_le64(word); in qlcnic_82xx_config_hw_lro() 868 req.words[0] = cpu_to_le64(enable); in qlcnic_config_bridged_mode() 924 req.words[0] = cpu_to_le64(word); in qlcnic_82xx_config_rss() [all …]
|
| /linux/drivers/vdpa/solidrun/ |
| H A D | snet_ctrl.c | 141 u16 words, i, tot_words = 0; in snet_ctrl_read_from_dpu() local 188 words = min_t(u16, val & SNET_CTRL_DATA_SIZE_MASK, buf_words - tot_words); in snet_ctrl_read_from_dpu() 190 for (i = 0; i < words; i++) { in snet_ctrl_read_from_dpu() 195 tot_words += words; in snet_ctrl_read_from_dpu()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | utils.c | 8 size_t words = buflen / sizeof(int); in randomize_buffer() local 14 while (words--) in randomize_buffer()
|
| /linux/drivers/video/fbdev/ |
| H A D | pxa3xx-gcu.c | 384 size_t words = count / 4; in pxa3xx_gcu_write() local 389 priv->shared->num_words += words; in pxa3xx_gcu_write() 392 if (words >= PXA3XX_GCU_BATCH_WORDS) in pxa3xx_gcu_write() 412 ret = copy_from_user(buffer->ptr, buff, words * 4); in pxa3xx_gcu_write() 421 buffer->length = words; in pxa3xx_gcu_write() 424 buffer->ptr[words] = 0x01000000; in pxa3xx_gcu_write() 447 return words * 4; in pxa3xx_gcu_write()
|