/drivers/staging/ramster/cluster/ |
H A D | masklog.h | 127 unsigned long words[MLOG_MAX_BITS / BITS_PER_LONG]; member in struct:mlog_bits 135 ((u32)(mask & 0xffffffff) & bits.words[0] || \ 136 ((u64)(mask) >> 32) & bits.words[1]) 138 bits.words[0] |= (u32)(mask & 0xffffffff); \ 139 bits.words[1] |= (u64)(mask) >> 32; \ 142 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \ 143 bits.words[1] &= ~((u64)(mask) >> 32); \ 154 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) 156 bits.words[0] |= (mask); \ 159 bits.words[ [all...] |
/drivers/video/ |
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:__anon5789 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:__anon5790 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 | pxa3xx-gcu.c | 385 int words = count / 4; local 391 priv->shared->num_words += words; 394 if (words >= PXA3XX_GCU_BATCH_WORDS) 416 ret = copy_from_user(buffer->ptr, buff, words * 4); 425 buffer->length = words; 428 buffer->ptr[words] = 0x01000000; 451 return words * 4;
|
H A D | au1100fb.c | 154 u32 words; local 225 words = info->fix.line_length / sizeof(u32); 227 words *= info->var.yres_virtual; 229 words -= (words % 8); /* should be divisable by 8 */ 232 fbdev->regs->lcd_words = LCD_WRD_WRDS_N(words);
|
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.h | 37 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 38 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 39 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
|
H A D | e1000_nvm.c | 325 * @words: number of words to read 330 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 339 * A check for invalid values: offset too large, too many words, 340 * and not enough words. 342 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 343 (words == 0)) { 371 for (i = 0; i < words; i++) { 387 * @words: number of words t 392 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 438 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
/drivers/spi/ |
H A D | spi-sh-msiof.c | 201 u32 bits, u32 words) 203 u32 dr2 = ((bits - 1) << 24) | ((words - 1) << 16); 222 const void *tx_buf, int words, int fs) 227 for (k = 0; k < words; k++) 232 const void *tx_buf, int words, int fs) 237 for (k = 0; k < words; k++) 242 const void *tx_buf, int words, int fs) 247 for (k = 0; k < words; k++) 252 const void *tx_buf, int words, int fs) 257 for (k = 0; k < words; 199 sh_msiof_spi_set_mode_regs(struct sh_msiof_spi_priv *p, const void *tx_buf, void *rx_buf, u32 bits, u32 words) argument 221 sh_msiof_spi_write_fifo_8(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 231 sh_msiof_spi_write_fifo_16(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 241 sh_msiof_spi_write_fifo_16u(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 251 sh_msiof_spi_write_fifo_32(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 261 sh_msiof_spi_write_fifo_32u(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 271 sh_msiof_spi_write_fifo_s32(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 281 sh_msiof_spi_write_fifo_s32u(struct sh_msiof_spi_priv *p, const void *tx_buf, int words, int fs) argument 291 sh_msiof_spi_read_fifo_8(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 301 sh_msiof_spi_read_fifo_16(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 311 sh_msiof_spi_read_fifo_16u(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 321 sh_msiof_spi_read_fifo_32(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 331 sh_msiof_spi_read_fifo_32u(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 341 sh_msiof_spi_read_fifo_s32(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 351 sh_msiof_spi_read_fifo_s32u(struct sh_msiof_spi_priv *p, void *rx_buf, int words, int fs) argument 433 sh_msiof_spi_txrx_once(struct sh_msiof_spi_priv *p, void (*tx_fifo)(struct sh_msiof_spi_priv *, const void *, int, int), void (*rx_fifo)(struct sh_msiof_spi_priv *, void *, int, int), const void *tx_buf, void *rx_buf, int words, int bits) argument 510 int words; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-stub.c | 47 u16 words[256]; /* Byte operations use the LSB as per SMBus member in struct:stub_chip 85 data->byte = chip->words[chip->pointer++] & 0xff; 96 chip->words[command] &= 0xff00; 97 chip->words[command] |= data->byte; 102 data->byte = chip->words[command] & 0xff; 114 chip->words[command] = data->word; 119 data->word = chip->words[command]; 132 chip->words[command + i] &= 0xff00; 133 chip->words[command + i] |= data->block[1 + i]; 141 chip->words[comman [all...] |
/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/atm/ |
H A D | eni.c | 141 * xxPMOK operating on a circular buffer of "c" words 190 eni_dev->tx[i].send,eni_dev->tx[i].words*4); 196 ENI_VCC(eni_dev->rx_map[i])->words*4); 326 printk(KERN_ALERT " VCI %d, rxing %d, words %ld\n",vcc->vci, 327 eni_vcc->rxing,eni_vcc->words); 370 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); 375 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); 378 unsigned long words; local 385 words = eff; 390 if (init > words) ini 932 u32 init,words; local [all...] |
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/tty/serial/ |
H A D | max3107.h | 174 * 00 -> 5 bit words 175 * 01 -> 6 bit words 176 * 10 -> 7 bit words 177 * 11 -> 8 bit words 211 #define MAX3107_FLOWLVL_HALT(words) ((words/8) & 0x000f) 212 #define MAX3107_FLOWLVL_RES(words) (((words/8) & 0x000f) << 4) 217 #define MAX3107_FIFOTRIGLVL_TX(words) ((words/ [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 313 * @words: number of words to read 318 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 325 * A check for invalid values: offset too large, too many words, 326 * too many words for the offset, and not enough words. 328 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 329 (words == 0)) { 334 for (i = 0; i < words; i++) { 353 * @words 361 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
/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_octeon_cf.c | 256 unsigned long words; local 259 words = buflen; 262 while (words--) { 275 ioread8_rep(data_addr, buffer, words); 295 unsigned long words; local 298 words = buflen / 2; 301 while (words--) { 314 while (words--) { 330 words++; 560 /* Size is specified in 16bit words an [all...] |
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-io.h | 79 void *buf, int words); 89 void *buf, int words);
|
H A D | iwl-io.c | 269 void *buf, int words) 278 for (offs = 0; offs < words; offs++) 295 void *buf, int words) 304 for (offs = 0; offs < words; offs++) 268 _iwl_read_targ_mem_words(struct iwl_trans *trans, u32 addr, void *buf, int words) argument 294 _iwl_write_targ_mem_words(struct iwl_trans *trans, u32 addr, void *buf, int words) argument
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.h | 53 u16 words, u16 *data); 56 u16 words, u16 *data); 59 u16 words, u16 *data); 63 u16 words, u16 *data);
|
H A D | ixgbe_common.c | 59 u16 words, u16 *data); 61 u16 words, u16 *data); 632 * @words: number of words 638 u16 words, u16 *data) 645 if (words == 0) { 650 if (offset + words > hw->eeprom.word_size) { 660 (words > IXGBE_EEPROM_PAGE_SIZE_MAX)) 668 for (i = 0; i < words; i += IXGBE_EEPROM_RD_BUFFER_MAX_COUNT) { 669 count = (words 637 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 692 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 798 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 845 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 927 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 1029 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) 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/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 375 mac_req = (struct qlcnic_mac_req *)&req.words[0]; 379 vlan_req = (struct qlcnic_vlan_req *)&req.words[1]; 472 req.words[0] = cpu_to_le64(mode); 554 req.words[0] = cpu_to_le64(flag); 608 req.words[0] = cpu_to_le64(((u64) adapter->ahw->coal.flag) << 32); 609 req.words[2] = cpu_to_le64(adapter->ahw->coal.rx_packets | 611 req.words[5] = cpu_to_le64(adapter->ahw->coal.timer_out | 637 req.words[0] = cpu_to_le64(enable); 664 req.words[0] = cpu_to_le64(enable); 711 req.words[ [all...] |
/drivers/mtd/ |
H A D | afs.c | 58 static u32 word_sum(void *words, int num) argument 60 u32 *p = words;
|
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 331 u32 words; local 365 /* words. If a number of bytes that do not correspond */ 366 /* to complete words is requested, then we read enough */ 367 /* words to get the required number of bytes, and then */ 370 /* Determine the number of words to read, rounding up */ 372 words = ((count + 3) >> 2); 373 bytes_to_read = words << 2; 378 /* Ensure we only read a complete number of words. */ 381 words = bytes_to_read >> 2; 384 kbuf, words); [all...] |
/drivers/net/ethernet/sun/ |
H A D | cassini.c | 1956 int entry, const u64 *words, 1967 hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); 1968 dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); 1971 if (RX_COPY_ALWAYS || (words[2] & RX_COMP3_SMALL_PKT)) 1986 i = CAS_VAL(RX_COMP2_HDR_INDEX, words[1]); 1988 off = CAS_VAL(RX_COMP2_HDR_OFF, words[1]) * 0x100 + 2011 i = CAS_VAL(RX_COMP1_DATA_INDEX, words[0]); 2013 off = CAS_VAL(RX_COMP1_DATA_OFF, words[0]) + swivel; 2055 if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { 2059 i = CAS_VAL(RX_COMP2_NEXT_INDEX, words[ 1955 cas_rx_process_pkt(struct cas *cp, struct cas_rx_comp *rxc, int entry, const u64 *words, struct sk_buff **skbref) argument 2171 cas_rx_flow_pkt(struct cas *cp, const u64 *words, struct sk_buff *skb) argument 2310 u64 words[4]; local [all...] |