Home
last modified time | relevance | path

Searched refs:xmit_count (Results 1 – 7 of 7) sorted by relevance

/drivers/net/
D3c523.c222 volatile int xmit_count, xmit_last; member
822 p->xmit_count = 0; in init586()
1137 memset((char *) p->xmit_cbuffs[p->xmit_count], 0, ETH_ZLEN); in elmc_send_packet()
1138 skb_copy_from_linear_data(skb, (char *) p->xmit_cbuffs[p->xmit_count], skb->len); in elmc_send_packet()
1177 p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; in elmc_send_packet()
1178 if ((next_nop = p->xmit_count + 1) == NUM_XMIT_BUFFS) { in elmc_send_packet()
1181 p->xmit_cmds[p->xmit_count]->cmd_status = 0; in elmc_send_packet()
1182 p->xmit_cmds[p->xmit_count]->cmd_link = p->nop_cmds[next_nop]->cmd_link in elmc_send_packet()
1185 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in elmc_send_packet()
1187 p->xmit_count = next_nop; in elmc_send_packet()
[all …]
Dsun3_82586.c164 volatile int xmit_count,xmit_last; member
596 p->xmit_count = 0; in init586()
1026 memset((void *)p->xmit_cbuffs[p->xmit_count], 0, in sun3_82586_send_packet()
1030 skb_copy_from_linear_data(skb, (void *)p->xmit_cbuffs[p->xmit_count], skb->len); in sun3_82586_send_packet()
1082 p->xmit_buffs[p->xmit_count]->size = swab16(TBD_LAST | len); in sun3_82586_send_packet()
1083 if( (next_nop = p->xmit_count + 1) == NUM_XMIT_BUFFS ) in sun3_82586_send_packet()
1086 p->xmit_cmds[p->xmit_count]->cmd_status = 0; in sun3_82586_send_packet()
1091 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in sun3_82586_send_packet()
1093 p->xmit_count = next_nop; in sun3_82586_send_packet()
1098 if(p->xmit_count != p->xmit_last) in sun3_82586_send_packet()
Dni52.c209 int xmit_count, xmit_last; member
789 p->xmit_count = 0; in init586()
1186 memcpy_toio(p->xmit_cbuffs[p->xmit_count], skb->data, skb->len); in ni52_send_packet()
1190 memset_io(p->xmit_cbuffs[p->xmit_count]+skb->len, 0, in ni52_send_packet()
1243 writew(TBD_LAST | len, &p->xmit_buffs[p->xmit_count]->size); in ni52_send_packet()
1244 next_nop = p->xmit_count + 1 in ni52_send_packet()
1247 writew(0, &p->xmit_cmds[p->xmit_count]->cmd_status); in ni52_send_packet()
1252 writew(make16(p->xmit_cmds[p->xmit_count]), in ni52_send_packet()
1253 &p->nop_cmds[p->xmit_count]->cmd_link); in ni52_send_packet()
1255 p->xmit_count = next_nop; in ni52_send_packet()
[all …]
/drivers/serial/
Dsn_console.c543 int xmit_count, tail, head, loops, ii; in sn_transmit_chars() local
579 xmit_count = (head < tail) ? in sn_transmit_chars()
582 if (xmit_count > 0) { in sn_transmit_chars()
586 xmit_count); in sn_transmit_chars()
589 port->sc_ops->sal_puts(start, xmit_count); in sn_transmit_chars()
595 xmit_count -= result; in sn_transmit_chars()
Dioc3_serial.c895 int xmit_count, tail, head; in transmit_chars() local
921 xmit_count = (head < tail) ? (UART_XMIT_SIZE - tail) : (head - tail); in transmit_chars()
922 if (xmit_count > 0) { in transmit_chars()
923 result = do_write(port, start, xmit_count); in transmit_chars()
926 xmit_count -= result; in transmit_chars()
Dioc4_serial.c1625 int xmit_count, tail, head; in transmit_chars() local
1651 xmit_count = (head < tail) ? (UART_XMIT_SIZE - tail) : (head - tail); in transmit_chars()
1652 if (xmit_count > 0) { in transmit_chars()
1653 result = do_write(port, start, xmit_count); in transmit_chars()
1656 xmit_count -= result; in transmit_chars()
/drivers/isdn/i4l/
Disdn_tty.c327 unsigned char *p = &info->xmit_buf[info->xmit_count]; in isdn_tty_handleDLEdown()
438 if (!(buflen = info->xmit_count)) in isdn_tty_senddown()
451 info->xmit_count = 0; in isdn_tty_senddown()
472 info->xmit_count = 0; in isdn_tty_senddown()
1130 if (c > info->xmit_size - info->xmit_count) in isdn_tty_write()
1131 c = info->xmit_size - info->xmit_count; in isdn_tty_write()
1147 memcpy(&(info->xmit_buf[info->xmit_count]), buf, c); in isdn_tty_write()
1160 info->xmit_count += cc; in isdn_tty_write()
1194 info->xmit_count += cc; in isdn_tty_write()
1197 info->xmit_count += c; in isdn_tty_write()
[all …]