/drivers/spi/ |
D | spi-sh-msiof.c | 361 u32 bits, u32 words) in sh_msiof_spi_set_mode_regs() argument 363 u32 dr2 = MDR2_BITLEN1(bits) | MDR2_WDLEN1(words); in sh_msiof_spi_set_mode_regs() 380 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_8() argument 385 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_8() 390 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16() argument 395 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16() 400 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_16u() argument 405 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16u() 410 const void *tx_buf, int words, int fs) in sh_msiof_spi_write_fifo_32() argument 415 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32() [all …]
|
/drivers/ide/ |
D | ide-io-std.c | 170 unsigned int words = (len + 1) >> 1; in ide_input_data() local 182 words >>= 1; in ide_input_data() 184 __ide_mm_insl((void __iomem *)data_addr, buf, words); in ide_input_data() 186 insl(data_addr, buf, words); in ide_input_data() 195 words = 1; in ide_input_data() 199 __ide_mm_insw((void __iomem *)data_addr, buf, words); in ide_input_data() 201 insw(data_addr, buf, words); in ide_input_data() 214 unsigned int words = (len + 1) >> 1; in ide_output_data() local 226 words >>= 1; in ide_output_data() 228 __ide_mm_outsl((void __iomem *)data_addr, buf, words); in ide_output_data() [all …]
|
/drivers/atm/ |
D | eni.c | 190 eni_dev->tx[i].send,eni_dev->tx[i].words*4); in dump() 196 ENI_VCC(eni_dev->rx_map[i])->words*4); in dump() 327 eni_vcc->rxing,eni_vcc->words); in rx_ident_err() 372 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); in do_rx_dma() 377 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); in do_rx_dma() 380 unsigned long words; in do_rx_dma() local 387 words = eff; in do_rx_dma() 392 if (init > words) init = words; in do_rx_dma() 397 words -= init; in do_rx_dma() 400 if (words & ~15) { in do_rx_dma() [all …]
|
/drivers/video/fbdev/ |
D | c2p_planar.c | 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() 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()
|
D | c2p_iplan2.c | 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() 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()
|
D | pxa3xx-gcu.c | 394 int words = count / 4; in pxa3xx_gcu_write() local 399 priv->shared->num_words += words; in pxa3xx_gcu_write() 402 if (words >= PXA3XX_GCU_BATCH_WORDS) in pxa3xx_gcu_write() 422 ret = copy_from_user(buffer->ptr, buff, words * 4); in pxa3xx_gcu_write() 431 buffer->length = words; in pxa3xx_gcu_write() 434 buffer->ptr[words] = 0x01000000; in pxa3xx_gcu_write() 457 return words * 4; in pxa3xx_gcu_write()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_nvm.c | 226 u32 offset, u16 words, void *data, in i40e_read_nvm_aq() argument 239 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq() 242 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq() 243 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq() 247 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq() 248 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq() 253 offset, words); in i40e_read_nvm_aq() 257 2 * words, /*bytes*/ in i40e_read_nvm_aq() 319 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument 325 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl() [all …]
|
/drivers/gpu/host1x/ |
D | job.c | 101 u32 words, u32 offset) in host1x_job_add_gather() argument 105 cur_gather->words = words; in host1x_job_add_gather() 291 u32 words; member 321 if (fw->words == 0) in check_mask() 329 fw->words--; in check_mask() 346 if (fw->words == 0) in check_incr() 354 fw->words--; in check_incr() 368 if (fw->words == 0) in check_nonincr() 375 fw->words--; in check_nonincr() 392 fw->words = g->words; in validate() [all …]
|
D | job.h | 23 u32 words; member 33 u32 words; member
|
/drivers/bcma/ |
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 …]
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 324 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() argument 335 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_spi() 336 (words == 0)) { in igb_read_nvm_spi() 363 for (i = 0; i < words; i++) { in igb_read_nvm_spi() 384 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument 393 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_eerd() 394 (words == 0)) { in igb_read_nvm_eerd() 400 for (i = 0; i < words; i++) { in igb_read_nvm_eerd() 429 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_write_nvm_spi() argument 438 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_spi() [all …]
|
D | e1000_i210.c | 207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210() argument 217 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in igb_read_nvm_srrd_i210() 218 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ? in igb_read_nvm_srrd_i210() 219 E1000_EERD_EEWR_MAX_COUNT : (words - i); in igb_read_nvm_srrd_i210() 247 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr() argument 258 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_srwr() 259 (words == 0)) { in igb_write_nvm_srwr() 265 for (i = 0; i < words; i++) { in igb_write_nvm_srwr() 307 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr_i210() argument 317 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { in igb_write_nvm_srwr_i210() [all …]
|
D | e1000_nvm.h | 33 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 34 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 35 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
|
/drivers/nvmem/ |
D | qfprom.c | 25 int i = 0, words = bytes / 4; in qfprom_reg_read() local 27 while (words--) in qfprom_reg_read() 38 int i = 0, words = bytes / 4; in qfprom_reg_write() local 40 while (words--) in qfprom_reg_write()
|
D | mtk-efuse.c | 26 int i = 0, words = bytes / 4; in mtk_reg_read() local 28 while (words--) in mtk_reg_read() 39 int i = 0, words = bytes / 4; in mtk_reg_write() local 41 while (words--) in mtk_reg_write()
|
/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 309 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_read_nvm_eerd() argument 318 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_read_nvm_eerd() 319 (words == 0)) { in e1000e_read_nvm_eerd() 324 for (i = 0; i < words; i++) { in e1000e_read_nvm_eerd() 353 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_write_nvm_spi() argument 362 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_write_nvm_spi() 363 (words == 0)) { in e1000e_write_nvm_spi() 368 while (widx < words) { in e1000e_write_nvm_spi() 401 while (widx < words) { in e1000e_write_nvm_spi()
|
D | nvm.h | 31 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 34 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
|
/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 61 } words[] = { in store_ec_reboot() local 92 for (i = 0; i < ARRAY_SIZE(words); i++) { in store_ec_reboot() 93 if (!strncasecmp(words[i].str, buf+offset, in store_ec_reboot() 94 strlen(words[i].str))) { in store_ec_reboot() 95 if (words[i].flags) { in store_ec_reboot() 96 param->flags |= words[i].flags; in store_ec_reboot() 98 param->cmd = words[i].cmd; in store_ec_reboot()
|
/drivers/ata/ |
D | pata_ixp4xx_cf.c | 47 unsigned int words = buflen >> 1; in ixp4xx_mmio_data_xfer() local 61 for (i = 0; i < words; i++) in ixp4xx_mmio_data_xfer() 64 for (i = 0; i < words; i++) in ixp4xx_mmio_data_xfer() 79 words++; in ixp4xx_mmio_data_xfer() 85 return words << 1; in ixp4xx_mmio_data_xfer()
|
/drivers/net/ethernet/ti/ |
D | netcp.h | 131 unsigned int words; in netcp_push_psdata() local 135 words = bytes >> 2; in netcp_push_psdata() 137 if ((p_info->psdata_len + words) > NETCP_PSDATA_LEN) in netcp_push_psdata() 140 p_info->psdata_len += words; in netcp_push_psdata()
|
/drivers/gpu/host1x/hw/ |
D | channel_hw.c | 33 u32 offset, u32 words) in trace_write_gather() argument 47 for (i = 0; i < words; i += TRACE_MAX_LENGTH) { in trace_write_gather() 48 u32 num_words = min(words - i, TRACE_MAX_LENGTH); in trace_write_gather() 68 u32 op1 = host1x_opcode_gather(g->words); in submit_gathers()
|
D | debug_hw.c | 107 unsigned int words, struct host1x_cdma *cdma, in show_gather() argument 124 for (i = 0; i < words; i++) { in show_gather() 166 &g->base, g->offset, g->words); in show_channel_gathers() 168 show_gather(o, g->base + g->offset, g->words, cdma, in show_channel_gathers()
|
/drivers/i2c/ |
D | i2c-stub.c | 79 u16 words[256]; /* Byte operations use the LSB as per SMBus member 127 return chip->words + offset; in stub_get_wordp() 230 chip->words[command + i] &= 0xff00; in stub_xfer() 231 chip->words[command + i] |= data->block[1 + i]; in stub_xfer() 239 chip->words[command + i] & 0xff; in stub_xfer() 275 chip->words[command] = (b->block[0] << 8) | b->len; in stub_xfer()
|
/drivers/mtd/devices/ |
D | st_spi_fsm.c | 722 int words = sizeof(*seq) / sizeof(*src); in stfsm_load_seq() local 726 while (words--) { in stfsm_load_seq() 757 uint32_t words; in stfsm_read_fifo() local 770 words = min(avail, remaining); in stfsm_read_fifo() 771 remaining -= words; in stfsm_read_fifo() 773 readsl(fsm->base + SPI_FAST_SEQ_DATA_REG, buf, words); in stfsm_read_fifo() 774 buf += words; in stfsm_read_fifo() 807 uint32_t words, i; in stfsm_clear_fifo() local 810 words = stfsm_fifo_available(fsm); in stfsm_clear_fifo() 811 if (words) { in stfsm_clear_fifo() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 458 mac_req = (struct qlcnic_mac_req *)&req.words[0]; in qlcnic_82xx_sre_macaddr_change() 462 vlan_req = (struct qlcnic_vlan_req *)&req.words[1]; in qlcnic_82xx_sre_macaddr_change() 621 req.words[0] = cpu_to_le64(mode); in qlcnic_82xx_nic_set_promisc() 723 req.words[0] = cpu_to_le64(flag); in qlcnic_set_fw_loopback() 792 req.words[0] = cpu_to_le64(((u64) adapter->ahw->coal.flag) << 32); in qlcnic_82xx_set_rx_coalesce() 793 req.words[2] = cpu_to_le64(adapter->ahw->coal.rx_packets | in qlcnic_82xx_set_rx_coalesce() 795 req.words[5] = cpu_to_le64(adapter->ahw->coal.timer_out | in qlcnic_82xx_set_rx_coalesce() 853 req.words[0] = cpu_to_le64(word); in qlcnic_82xx_config_hw_lro() 880 req.words[0] = cpu_to_le64(enable); in qlcnic_config_bridged_mode() 936 req.words[0] = cpu_to_le64(word); in qlcnic_82xx_config_rss() [all …]
|