Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 42) sorted by relevance

12

/drivers/atm/
Deni.c193 eni_dev->tx[i].send,eni_dev->tx[i].words*4); in dump()
199 ENI_VCC(eni_dev->rx_map[i])->words*4); in dump()
330 eni_vcc->rxing,eni_vcc->words); in rx_ident_err()
373 here = (eni_vcc->descr+skip) & (eni_vcc->words-1); in do_rx_dma()
378 here = (eni_vcc->descr+size+skip) & (eni_vcc->words-1); in do_rx_dma()
381 unsigned long words; in do_rx_dma() local
388 words = eff; in do_rx_dma()
393 if (init > words) init = words; in do_rx_dma()
398 words -= init; in do_rx_dma()
401 if (words & ~15) { in do_rx_dma()
[all …]
Deni.h44 unsigned long words; /* size of TX queue */ member
54 unsigned long words; /* its size in words */ member
DKconfig68 multiple words of data per PCI bus access cycle. Such a multi-word
91 Burst sixteen words at once in the send direction. This may work
98 Burst eight words at once in the send direction. This is the default
105 Burst four words at once in the send direction. You may want to try
113 Burst two words at once in the send direction. You may want to try
121 Burst sixteen words at once in the receive direction. This may work
128 Burst eight words at once in the receive direction. This may work
136 Burst four words at once in the receive direction. This is the
144 Burst two words at once in the receive direction. You may want to
/drivers/video/
Dc2p_planar.c92 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()
Dc2p_iplan2.c90 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()
Dau1100fb.c171 u32 words; in au1100fb_setmode() local
242 words = info->fix.line_length / sizeof(u32); in au1100fb_setmode()
244 words *= info->var.yres_virtual; in au1100fb_setmode()
246 words -= (words % 8); /* should be divisable by 8 */ in au1100fb_setmode()
249 fbdev->regs->lcd_words = LCD_WRD_WRDS_N(words); in au1100fb_setmode()
/drivers/i2c/busses/
Di2c-stub.c40 u16 words[256]; /* Byte operations use the LSB as per SMBus member
78 data->byte = chip->words[chip->pointer++] & 0xff; in stub_xfer()
89 chip->words[command] &= 0xff00; in stub_xfer()
90 chip->words[command] |= data->byte; in stub_xfer()
95 data->byte = chip->words[command] & 0xff; in stub_xfer()
107 chip->words[command] = data->word; in stub_xfer()
112 data->word = chip->words[command]; in stub_xfer()
/drivers/net/igb/
De1000_nvm.c359 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument
369 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_eerd()
370 (words == 0)) { in igb_read_nvm_eerd()
376 for (i = 0; i < words; i++) { in igb_read_nvm_eerd()
405 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_write_nvm_spi() argument
415 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_spi()
416 (words == 0)) { in igb_write_nvm_spi()
428 while (widx < words) { in igb_write_nvm_spi()
456 while (widx < words) { in igb_write_nvm_spi()
De1000_nvm.h35 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
36 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
/drivers/ieee1394/
Deth1394.c1086 hdr->words.word1 = ntohs(hdr->words.word1); in ether1394_data_handler()
1117 hdr->words.word3 = ntohs(hdr->words.word3); in ether1394_data_handler()
1126 hdr->words.word2 = ntohs(hdr->words.word2); in ether1394_data_handler()
1374 bufhdr->words.word1 = htons(hdr->words.word1); in ether1394_encapsulate()
1375 bufhdr->words.word2 = hdr->words.word2; in ether1394_encapsulate()
1380 bufhdr->words.word1 = htons(hdr->words.word1); in ether1394_encapsulate()
1381 bufhdr->words.word2 = hdr->words.word2; in ether1394_encapsulate()
1382 bufhdr->words.word3 = htons(hdr->words.word3); in ether1394_encapsulate()
1383 bufhdr->words.word4 = 0; in ether1394_encapsulate()
1395 bufhdr->words.word1 = htons(hdr->words.word1); in ether1394_encapsulate()
[all …]
/drivers/ata/
Dpata_ixp4xx_cf.c47 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()
Dpata_octeon_cf.c255 unsigned long words; in octeon_cf_data_xfer8() local
258 words = buflen; in octeon_cf_data_xfer8()
261 while (words--) { in octeon_cf_data_xfer8()
274 ioread8_rep(data_addr, buffer, words); in octeon_cf_data_xfer8()
294 unsigned long words; in octeon_cf_data_xfer16() local
297 words = buflen / 2; in octeon_cf_data_xfer16()
300 while (words--) { in octeon_cf_data_xfer16()
313 while (words--) { in octeon_cf_data_xfer16()
329 words++; in octeon_cf_data_xfer16()
Dpata_scc.c788 unsigned int words = buflen >> 1; in scc_data_xfer() local
795 for (i = 0; i < words; i++) in scc_data_xfer()
798 for (i = 0; i < words; i++) in scc_data_xfer()
813 words++; in scc_data_xfer()
816 return words << 1; in scc_data_xfer()
Dlibata-sff.c718 unsigned int words = buflen >> 1; in ata_sff_data_xfer() local
722 ioread16_rep(data_addr, buf, words); in ata_sff_data_xfer()
724 iowrite16_rep(data_addr, buf, words); in ata_sff_data_xfer()
738 words++; in ata_sff_data_xfer()
741 return words << 1; in ata_sff_data_xfer()
767 unsigned int words = buflen >> 2; in ata_sff_data_xfer32() local
772 ioread32_rep(data_addr, buf, words); in ata_sff_data_xfer32()
774 iowrite32_rep(data_addr, buf, words); in ata_sff_data_xfer32()
Dpata_bf54x.c1174 unsigned int words = buflen >> 1; in bfin_data_xfer() local
1179 read_atapi_data(base, words, buf16); in bfin_data_xfer()
1181 write_atapi_data(base, words, buf16); in bfin_data_xfer()
1195 words++; in bfin_data_xfer()
1198 return words << 1; in bfin_data_xfer()
/drivers/net/e1000e/
De1000.h523 extern s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
526 extern s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
542 static inline s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm() argument
544 return hw->nvm.ops.read_nvm(hw, offset, words, data); in e1000_read_nvm()
547 static inline s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_write_nvm() argument
549 return hw->nvm.ops.write_nvm(hw, offset, words, data); in e1000_write_nvm()
D82571.c65 u16 words, u16 *data);
499 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_82571() argument
507 ret_val = e1000_write_nvm_eewr_82571(hw, offset, words, data); in e1000_write_nvm_82571()
511 ret_val = e1000e_write_nvm_spi(hw, offset, words, data); in e1000_write_nvm_82571()
613 u16 words, u16 *data) in e1000_write_nvm_eewr_82571() argument
624 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_eewr_82571()
625 (words == 0)) { in e1000_write_nvm_eewr_82571()
630 for (i = 0; i < words; i++) { in e1000_write_nvm_eewr_82571()
Dlib.c1928 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_read_nvm_eerd() argument
1938 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_read_nvm_eerd()
1939 (words == 0)) { in e1000e_read_nvm_eerd()
1944 for (i = 0; i < words; i++) { in e1000e_read_nvm_eerd()
1971 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000e_write_nvm_spi() argument
1981 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_write_nvm_spi()
1982 (words == 0)) { in e1000e_write_nvm_spi()
1993 while (widx < words) { in e1000e_write_nvm_spi()
2023 while (widx < words) { in e1000e_write_nvm_spi()
Dich8lan.c1040 static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_read_nvm_ich8lan() argument
1050 if ((offset >= nvm->word_size) || (words > nvm->word_size - offset) || in e1000_read_nvm_ich8lan()
1051 (words == 0)) { in e1000_read_nvm_ich8lan()
1067 for (i = 0; i < words; i++) { in e1000_read_nvm_ich8lan()
1327 static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, in e1000_write_nvm_ich8lan() argument
1335 if ((offset >= nvm->word_size) || (words > nvm->word_size - offset) || in e1000_write_nvm_ich8lan()
1336 (words == 0)) { in e1000_write_nvm_ich8lan()
1345 for (i = 0; i < words; i++) { in e1000_write_nvm_ich8lan()
/drivers/net/
Dcassini.c1992 int entry, const u64 *words, in cas_rx_process_pkt() argument
2003 hlen = CAS_VAL(RX_COMP2_HDR_SIZE, words[1]); in cas_rx_process_pkt()
2004 dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); in cas_rx_process_pkt()
2007 if (RX_COPY_ALWAYS || (words[2] & RX_COMP3_SMALL_PKT)) in cas_rx_process_pkt()
2022 i = CAS_VAL(RX_COMP2_HDR_INDEX, words[1]); in cas_rx_process_pkt()
2024 off = CAS_VAL(RX_COMP2_HDR_OFF, words[1]) * 0x100 + in cas_rx_process_pkt()
2047 i = CAS_VAL(RX_COMP1_DATA_INDEX, words[0]); in cas_rx_process_pkt()
2049 off = CAS_VAL(RX_COMP1_DATA_OFF, words[0]) + swivel; in cas_rx_process_pkt()
2093 if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { in cas_rx_process_pkt()
2097 i = CAS_VAL(RX_COMP2_NEXT_INDEX, words[1]); in cas_rx_process_pkt()
[all …]
/drivers/misc/eeprom/
Deeprom_93cx6.c228 __le16 *data, const u16 words) in eeprom_93cx6_multiread() argument
233 for (i = 0; i < words; i++) { in eeprom_93cx6_multiread()
/drivers/net/e1000/
De1000_hw.c83 static s32 e1000_read_eeprom_eerd(struct e1000_hw *hw, u16 offset, u16 words,
85 static s32 e1000_write_eeprom_eewr(struct e1000_hw *hw, u16 offset, u16 words,
100 static s32 e1000_read_eeprom_ich8(struct e1000_hw *hw, u16 offset, u16 words,
102 static s32 e1000_write_eeprom_ich8(struct e1000_hw *hw, u16 offset, u16 words,
125 u16 words, u16 *data);
127 u16 words, u16 *data);
147 static s32 e1000_do_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
148 static s32 e1000_do_write_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
4909 s32 e1000_read_eeprom(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_eeprom() argument
4913 ret = e1000_do_read_eeprom(hw, offset, words, data); in e1000_read_eeprom()
[all …]
/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c330 u32 words; in hwicap_read() local
371 words = ((count + 3) >> 2); in hwicap_read()
372 bytes_to_read = words << 2; in hwicap_read()
380 words = bytes_to_read >> 2; in hwicap_read()
383 kbuf, words); in hwicap_read()
/drivers/mtd/
Dafs.c58 static u32 word_sum(void *words, int num) in word_sum() argument
60 u32 *p = words; in word_sum()
/drivers/net/enic/
Dvnic_dev.c555 u32 *words; in vnic_dev_notify_ready() local
566 words = (u32 *)&vdev->notify_copy; in vnic_dev_notify_ready()
568 csum += words[i]; in vnic_dev_notify_ready()
569 } while (csum != words[0]); in vnic_dev_notify_ready()

12