Home
last modified time | relevance | path

Searched refs:b_count (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/net/
Dqeth_l2_main.c551 if (!card->rx.b_count) { in qeth_l2_poll()
553 card->rx.b_count = qdio_get_next_buffers( in qeth_l2_poll()
556 if (card->rx.b_count <= 0) { in qeth_l2_poll()
557 card->rx.b_count = 0; in qeth_l2_poll()
566 while (card->rx.b_count) { in qeth_l2_poll()
582 card->rx.b_count--; in qeth_l2_poll()
583 if (card->rx.b_count) { in qeth_l2_poll()
Dqeth_l3_main.c1930 if (!card->rx.b_count) { in qeth_l3_poll()
1932 card->rx.b_count = qdio_get_next_buffers( in qeth_l3_poll()
1935 if (card->rx.b_count <= 0) { in qeth_l3_poll()
1936 card->rx.b_count = 0; in qeth_l3_poll()
1945 while (card->rx.b_count) { in qeth_l3_poll()
1961 card->rx.b_count--; in qeth_l3_poll()
1962 if (card->rx.b_count) { in qeth_l3_poll()
Dqeth_core.h763 int b_count; member
/drivers/net/ethernet/sun/
Dniu.c6897 u32 b_offset, b_count; in niu_get_eeprom() local
6900 b_count = 4 - b_offset; in niu_get_eeprom()
6901 if (b_count > len) in niu_get_eeprom()
6902 b_count = len; in niu_get_eeprom()
6905 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
6906 data += b_count; in niu_get_eeprom()
6907 len -= b_count; in niu_get_eeprom()
6908 offset += b_count; in niu_get_eeprom()
/drivers/net/ethernet/broadcom/
Dtg3.c11974 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12002 b_count = 4 - b_offset; in tg3_get_eeprom()
12003 if (b_count > len) { in tg3_get_eeprom()
12005 b_count = len; in tg3_get_eeprom()
12010 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12011 len -= b_count; in tg3_get_eeprom()
12012 offset += b_count; in tg3_get_eeprom()
12013 eeprom->len += b_count; in tg3_get_eeprom()
12041 b_count = len & 3; in tg3_get_eeprom()
12042 b_offset = offset + len - b_count; in tg3_get_eeprom()
[all …]