/drivers/gpu/host1x/ |
H A D | job.h | 23 u32 words; member in struct:host1x_job_gather 33 u32 words; member in struct:host1x_cmdbuf
|
H A D | job.c | 101 u32 words, u32 offset) 105 cur_gather->words = words; 291 u32 words; member in struct:host1x_firewall 321 if (fw->words == 0) 329 fw->words--; 346 if (fw->words == 0) 354 fw->words--; 368 if (fw->words == 0) 375 fw->words 100 host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo, u32 words, u32 offset) argument [all...] |
/drivers/misc/eeprom/ |
H A D | eeprom_93cx6.c | 173 * eeprom_93cx6_read - Read multiple words from eeprom 211 * eeprom_93cx6_multiread - Read multiple words from eeprom 215 * @words: Number of words that should be read. 217 * This function will read all requested words from the eeprom, 221 * endian words. 224 __le16 *data, const u16 words) 229 for (i = 0; i < words; i++) { 223 eeprom_93cx6_multiread(struct eeprom_93cx6 *eeprom, const u8 word, __le16 *data, const u16 words) argument
|
/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]; member in union:__anon7099 112 c2p_16x8(d.words); 113 store_iplan2_masked(p, bpp, d.words, first); 116 /* Multiple destination words */ 124 c2p_16x8(d.words); 125 store_iplan2_masked(p, bpp, d.words, first); 133 c2p_16x8(d.words); 134 store_iplan2(p, bpp, d.words); 143 c2p_16x8(d.words); [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]; member in union:__anon7100 112 c2p_32x8(d.words); 113 store_planar_masked(p, dst_nextplane, bpp, d.words, 117 /* Multiple destination words */ 125 c2p_32x8(d.words); 127 d.words, first); 135 c2p_32x8(d.words); 136 store_planar(p, dst_nextplane, bpp, d.words); 145 c2p_32x8(d.words); [all...] |
H A D | au1100fb.c | 141 u32 words; local 212 words = info->fix.line_length / sizeof(u32); 214 words *= info->var.yres_virtual; 216 words -= (words % 8); /* should be divisable by 8 */ 219 fbdev->regs->lcd_words = LCD_WRD_WRDS_N(words);
|
/drivers/ata/ |
H A D | pata_ixp4xx_cf.c | 47 unsigned int words = buflen >> 1; local 61 for (i = 0; i < words; i++) 64 for (i = 0; i < words; i++) 79 words++; 85 return words << 1;
|
H A D | pata_samsung_cf.c | 272 unsigned int words = buflen >> 1, i; local 277 for (i = 0; i < words; i++, data_ptr++) { 285 for (i = 0; i < words; i++, data_ptr++) { 293 return words << 1;
|
/drivers/gpu/host1x/hw/ |
H A D | channel_hw.c | 33 u32 offset, u32 words) 46 for (i = 0; i < words; i += TRACE_MAX_LENGTH) { 49 (u32)bo, min(words - i, TRACE_MAX_LENGTH), 63 u32 op1 = host1x_opcode_gather(g->words); 32 trace_write_gather(struct host1x_cdma *cdma, struct host1x_bo *bo, u32 offset, u32 words) argument
|
H A D | debug_hw.c | 109 unsigned int words, struct host1x_cdma *cdma, 126 for (i = 0; i < words; i++) { 166 host1x_debug_output(o, " GATHER at %#llx+%04x, %d words\n", 167 (u64)g->base, g->offset, g->words); 169 show_gather(o, g->base + g->offset, g->words, cdma, 108 show_gather(struct output *o, phys_addr_t phys_addr, unsigned int words, struct host1x_cdma *cdma, phys_addr_t pin_addr, u32 *map_addr) argument
|
/drivers/ide/ |
H A D | ide-io-std.c | 170 unsigned int words = (len + 1) >> 1; local 182 words >>= 1; 184 __ide_mm_insl((void __iomem *)data_addr, buf, words); 186 insl(data_addr, buf, words); 195 words = 1; 199 __ide_mm_insw((void __iomem *)data_addr, buf, words); 201 insw(data_addr, buf, words); 214 unsigned int words = (len + 1) >> 1; local 226 words >>= 1; 228 __ide_mm_outsl((void __iomem *)data_addr, buf, words); [all...] |
/drivers/bcma/ |
H A D | sprom.c | 76 size_t words) 79 for (i = 0; i < words; i++) 127 static u8 bcma_sprom_crc(const u16 *sprom, size_t words) argument 132 for (word = 0; word < words - 1; word++) { 136 crc = bcma_crc8(crc, sprom[words - 1] & 0x00FF); 142 static int bcma_sprom_check_crc(const u16 *sprom, size_t words) argument 148 crc = bcma_sprom_crc(sprom, words); 149 tmp = sprom[words - 1] & SSB_SPROM_REVISION_CRC; 158 size_t words) 163 err = bcma_sprom_check_crc(sprom, words); 75 bcma_sprom_read(struct bcma_bus *bus, u16 offset, u16 *sprom, size_t words) argument 157 bcma_sprom_valid(struct bcma_bus *bus, const u16 *sprom, size_t words) argument 618 size_t words = sprom_sizes[i]; local [all...] |
/drivers/i2c/ |
H A D | i2c-stub.c | 79 u16 words[256]; /* Byte operations use the LSB as per SMBus member in struct:stub_chip 127 return chip->words + offset; 230 chip->words[command + i] &= 0xff00; 231 chip->words[command + i] |= data->block[1 + i]; 239 chip->words[command + i] & 0xff; 275 chip->words[command] = (b->block[0] << 8) | b->len; 345 pr_debug("i2c-stub: Allocated %u banks of %u words each (registers 0x%02x to 0x%02x)\n",
|
/drivers/infiniband/hw/qib/ |
H A D | qib_pcie.c | 666 u64 words = 0U; local 671 words = dd->f_portcntr(dd->pport, QIBPORTCNTR_WORDRCV); 672 if (words == ~0ULL) 677 words, ret);
|
/drivers/mtd/ |
H A D | afs.c | 58 static u32 word_sum(void *words, int num) argument 60 u32 *p = words;
|
/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 395 int ret, wbufsize, word_gap, words; local 408 /* Figure out the number of words to write */ 410 words = (len - word_gap + map_bankwidth(map) - 1) / map_bankwidth(map); 412 words--;
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 304 * @words: number of words to read 309 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 315 /* A check for invalid values: offset too large, too many words, 316 * too many words for the offset, and not enough words. 318 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 319 (words == 0)) { 324 for (i = 0; i < words; i++) { 345 * @words 353 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
H A D | 80003es2lan.c | 492 * @words: number of words to write 495 * Write "words" of data to the ESB2 NVM. 498 u16 words, u16 *data) 500 return e1000e_write_nvm_spi(hw, offset, words, data); 497 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 52 /* Switching to words (sr_size contains power of 2KB) */ 216 * @words: (in) number of words to read; (out) number of words actually read 217 * @data: words read from the Shadow RAM 219 * Reads 16 bit words (data buffer) from the SR using the i40e_read_nvm_srrd() 224 u16 *words, u16 *data) 230 for (word = 0; word < *words; word++) { 237 /* Update the number of words read from the Shadow RAM */ 238 *words 223 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument 254 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.c | 319 * @words: number of words to read 324 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 332 /* A check for invalid values: offset too large, too many words, 333 * and not enough words. 335 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 336 (words == 0)) { 363 for (i = 0; i < words; i++) { 379 * @words: number of words t 384 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 429 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
H A D | e1000_i210.c | 201 * @words: number of words to read 207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, argument 217 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) { 218 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ? 219 E1000_EERD_EEWR_MAX_COUNT : (words - i); 239 * @words: number of words to write 247 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, argument 255 /* A check for invalid values: offset too large, too many words, 307 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
/drivers/xen/events/ |
H A D | events_2l.c | 158 * a bitset of words which contain pending event bits. The second 195 xen_ulong_t words; local 197 words = MASK_LSBS(pending_words, word_idx); 202 if (words == 0) { 207 word_idx = EVTCHN_FIRST_BIT(words);
|
/drivers/atm/ |
H A D | eni.h | 45 unsigned long words; /* size of TX queue */ member in struct:eni_tx 55 unsigned long words; /* its size in words */ member in struct:eni_vcc
|
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 357 u32 words; local 391 /* words. If a number of bytes that do not correspond */ 392 /* to complete words is requested, then we read enough */ 393 /* words to get the required number of bytes, and then */ 396 /* Determine the number of words to read, rounding up */ 398 words = ((count + 3) >> 2); 399 bytes_to_read = words << 2; 404 /* Ensure we only read a complete number of words. */ 407 words = bytes_to_read >> 2; 410 kbuf, words); [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x540.c | 248 * @words: number of words 254 u16 offset, u16 words, u16 *data) 261 status = ixgbe_read_eerd_buffer_generic(hw, offset, words, data); 292 * @words: number of words 298 u16 offset, u16 words, u16 *data) 305 status = ixgbe_write_eewr_buffer_generic(hw, offset, words, data); 253 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 297 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
|