Searched defs:first_word (Results 1 - 7 of 7) sorted by relevance

/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ethtool.c373 int i, max_len, first_word, last_word; local
393 first_word = eeprom->offset >> 1;
397 (last_word - first_word + 1), GFP_KERNEL);
402 for (i = 0; i <= (last_word - first_word); i++)
403 eeprom_buff[i] = ixgb_get_eeprom_word(hw, (first_word + i));
420 int max_len, first_word, last_word; local
437 first_word = eeprom->offset >> 1;
448 eeprom_buff[0] = ixgb_read_eeprom(hw, first_word);
454 eeprom_buff[last_word - first_word]
459 for (i = 0; i <= (last_word - first_word);
[all...]
/drivers/block/drbd/
H A Ddrbd_bitmap.c1339 * from first_word up to, but not including, last_word */
1341 int page_nr, int first_word, int last_word)
1346 for (i = first_word; i < last_word; i++) {
1375 int first_word; local
1399 first_word = MLPP(sl >> LN2_BPL);
1404 bm_set_full_words_within_one_page(mdev->bitmap, page_nr, first_word, last_word);
1407 first_word = 0;
1413 bm_set_full_words_within_one_page(mdev->bitmap, last_page, first_word, last_word);
1340 bm_set_full_words_within_one_page(struct drbd_bitmap *b, int page_nr, int first_word, int last_word) argument
/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c413 int first_word, last_word; local
422 first_word = eeprom->offset >> 1;
426 (last_word - first_word + 1), GFP_KERNEL);
431 ret_val = e1000_read_eeprom(hw, first_word,
432 last_word - first_word + 1,
435 for (i = 0; i < last_word - first_word + 1; i++) {
436 ret_val = e1000_read_eeprom(hw, first_word + i, 1,
444 for (i = 0; i < last_word - first_word + 1; i++)
461 int max_len, first_word, last_word, ret_val = 0; local
472 first_word
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c456 int first_word; local
466 first_word = eeprom->offset >> 1;
470 (last_word - first_word + 1), GFP_KERNEL);
475 ret_val = e1000_read_nvm(hw, first_word,
476 last_word - first_word + 1,
479 for (i = 0; i < last_word - first_word + 1; i++) {
480 ret_val = e1000_read_nvm(hw, first_word + i, 1,
490 (last_word - first_word + 1));
493 for (i = 0; i < last_word - first_word + 1; i++)
511 int first_word; local
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c573 int first_word, last_word; local
582 first_word = eeprom->offset >> 1;
586 (last_word - first_word + 1), GFP_KERNEL);
591 ret_val = hw->nvm.ops.read(hw, first_word,
592 last_word - first_word + 1,
595 for (i = 0; i < last_word - first_word + 1; i++) {
596 ret_val = hw->nvm.ops.read(hw, first_word + i, 1,
604 for (i = 0; i < last_word - first_word + 1; i++)
621 int max_len, first_word, last_word, ret_val = 0; local
632 first_word
[all...]
/drivers/misc/altera-stapl/
H A Daltera.c229 u32 first_word = 0L; local
281 first_word = get_unaligned_be32(&p[0]);
282 version = (first_word & 1L);
298 if ((first_word != 0x4A414D00L) && (first_word != 0x4A414D01L)) {
2145 u32 first_word = 0L; local
2154 first_word = get_unaligned_be32(&p[0]);
2155 version = (first_word & 1L);
2163 if ((first_word != 0x4A414D00L) && (first_word !
2232 u32 first_word = 0L; local
2309 u32 first_word = 0; local
2342 u32 first_word = 0L; local
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c792 int first_word, last_word, eeprom_len; local
801 first_word = eeprom->offset >> 1;
803 eeprom_len = last_word - first_word + 1;
809 ret_val = hw->eeprom.ops.read_buffer(hw, first_word, eeprom_len,
829 int max_len, first_word, last_word, ret_val = 0; local
840 first_word = eeprom->offset >> 1;
853 ret_val = hw->eeprom.ops.read(hw, first_word, &eeprom_buff[0]);
865 &eeprom_buff[last_word - first_word]);
871 for (i = 0; i < last_word - first_word + 1; i++)
876 for (i = 0; i < last_word - first_word
[all...]

Completed in 273 milliseconds