Searched refs:last_word (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/net/usb/
H A Dasix_common.c640 int first_word, last_word; local
649 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
651 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
657 for (i = first_word; i <= last_word; i++) {
675 int first_word, last_word; local
689 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
691 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
708 ret = asix_read_cmd(dev, AX_CMD_READ_EEPROM, last_word, 0, 2,
709 &eeprom_buff[last_word - first_word], 0);
711 netdev_err(net, "Failed to read EEPROM at offset 0x%02x.\n", last_word);
[all...]
H A Dax88179_178a.c547 int first_word, last_word; local
556 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
557 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
563 for (i = first_word; i <= last_word; i++) {
584 int last_word; local
598 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
600 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
617 ret = ax88179_read_cmd(dev, AX_ACCESS_EEPROM, last_word, 1, 2,
618 &eeprom_buff[last_word - first_word]);
620 netdev_err(net, "Failed to read EEPROM at offset 0x%02x.\n", last_word);
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_bitmap.c559 int idx, last_word; local
569 last_word = ((b->bm_bits - 1) & BITS_PER_PAGE_MASK) >> LN2_BPL;
571 bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG);
572 p_addr[last_word] &= cpu_to_lel(mask);
573 bits += hweight_long(p_addr[last_word]);
575 if (BITS_PER_LONG == 32 && (last_word & 1) == 0)
576 p_addr[last_word+1] = 0;
1470 * from first_word up to, but not including, last_word */
1472 int page_nr, int first_word, int last_word)
1481 for (i = first_word; i < last_word;
1471 bm_set_full_words_within_one_page(struct drbd_bitmap *b, int page_nr, int first_word, int last_word) argument
1518 int last_word; local
[all...]
/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Dpio.c413 u32 last_word; local
447 last_word = (count == 1) ? from_last : *from++;
457 xfer->data_word_before_partial = last_word;
458 last_word = (__force u32) cpu_to_le32(last_word);
460 *p_byte++ = last_word;
461 last_word >>= 8;
466 p[chunk] = last_word;
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c426 int first_word, last_word; local
436 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
438 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
445 last_word - first_word + 1,
448 for (i = 0; i < last_word - first_word + 1; i++) {
457 for (i = 0; i < last_word - first_word + 1; i++)
474 int max_len, first_word, last_word, ret_val = 0; local
486 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
505 ret_val = e1000_read_eeprom(hw, last_word, 1,
506 &eeprom_buff[last_word
[all...]
/linux-master/drivers/net/wireless/intersil/p54/
H A Dp54spi.c93 __le16 last_word; local
94 last_word = cpu_to_le16(((u8 *)buf)[len - 1]);
96 t[2].tx_buf = &last_word;
97 t[2].len = sizeof(last_word);
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c515 int last_word; local
525 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
527 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
536 last_word - first_word + 1,
539 for (i = 0; i < last_word - first_word + 1; i++) {
552 (last_word - first_word + 1));
555 for (i = 0; i < last_word - first_word + 1; i++)
574 int last_word; local
591 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
609 ret_val = e1000_read_nvm(hw, last_word,
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c462 int first_word, last_word; local
473 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
475 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
482 last_word - first_word + 1,
485 for (i = 0; i < last_word - first_word + 1; i++) {
494 for (i = 0; i < last_word - first_word + 1; i++)
509 int max_len, first_word, last_word, ret_val = 0; local
528 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
547 ret_val = hw->nvm.ops.read(hw, last_word, 1,
548 &eeprom_buff[last_word
[all...]
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c496 u32 last_word = 0; local
506 memcpy(&last_word, &buf[last_word_offset], unaligned_bytes);
514 ret = ath6kl_bmi_lz_data(ar, (u8 *)&last_word, 4);
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c739 int first_word, last_word; local
749 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
751 eeprom_buff = kmalloc_array(last_word - first_word + 1, sizeof(u16),
758 last_word - first_word + 1,
761 for (i = 0; i < last_word - first_word + 1; i++) {
770 for (i = 0; i < last_word - first_word + 1; i++)
787 int max_len, first_word, last_word, ret_val = 0; local
804 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
823 ret_val = hw->nvm.ops.read(hw, last_word, 1,
824 &eeprom_buff[last_word
3242 u16 first_word, last_word; local
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1006 int first_word, last_word, eeprom_len; local
1016 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
1017 eeprom_len = last_word - first_word + 1;
1043 int max_len, first_word, last_word, ret_val = 0; local
1055 last_word = (eeprom->offset + eeprom->len - 1) >> 1;
1078 ret_val = hw->eeprom.ops.read(hw, last_word,
1079 &eeprom_buff[last_word - first_word]);
1085 for (i = 0; i < last_word - first_word + 1; i++)
1090 for (i = 0; i < last_word - first_word + 1; i++)
1094 last_word
[all...]
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif_check.h414 OFFSET_CHECK(struct rogue_fwif_gpu_util_fwcb, last_word, 10248);
H A Dpvr_rogue_fwif.h2032 aligned_u64 last_word; member in struct:rogue_fwif_gpu_util_fwcb
H A Dpvr_fw.c451 gpu_util_fwcb->last_word = PVR_FWIF_GPU_UTIL_STATE_IDLE;
/linux-master/scripts/
H A Dcheckpatch.pl3553 my $last_word = $1;
3554 if ($rawline =~ /^\+\s*\*\s*$last_word /) {
3556 "Possible repeated word: '$last_word'\n" . $hereprev) &&
3558 $fixed[$fixlinenr] =~ s/(\+\s*\*\s*)$last_word /$1/;

Completed in 529 milliseconds