Lines Matching refs:sidx

44 	last_served_sidx = usb->sidx;  in plfxlc_send_packet_from_data_queue()
46 usb->sidx = (usb->sidx + 1) % MAX_STA_NUM; in plfxlc_send_packet_from_data_queue()
47 if (!(tx->station[usb->sidx].flag & STATION_CONNECTED_FLAG)) in plfxlc_send_packet_from_data_queue()
49 if (!(tx->station[usb->sidx].flag & STATION_FIFO_FULL_FLAG)) in plfxlc_send_packet_from_data_queue()
50 skb = skb_peek(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
51 } while ((usb->sidx != last_served_sidx) && (!skb)); in plfxlc_send_packet_from_data_queue()
54 skb = skb_dequeue(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
57 if (skb_queue_len(&tx->station[usb->sidx].data_list) <= 60) in plfxlc_send_packet_from_data_queue()
76 u8 sidx; in rx_urb_complete() local
136 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) in rx_urb_complete()
137 tx->station[sidx].flag |= STATION_FIFO_FULL_FLAG; in rx_urb_complete()
142 for (sidx = 0; sidx < MAX_STA_NUM; sidx++) in rx_urb_complete()
143 tx->station[sidx].flag &= STATION_ACTIVE_FLAG; in rx_urb_complete()
558 int sidx; in sta_queue_cleanup_timer_callb() local
560 for (sidx = 0; sidx < MAX_STA_NUM - 1; sidx++) { in sta_queue_cleanup_timer_callb()
561 if (!(tx->station[sidx].flag & STATION_CONNECTED_FLAG)) in sta_queue_cleanup_timer_callb()
563 if (tx->station[sidx].flag & STATION_HEARTBEAT_FLAG) { in sta_queue_cleanup_timer_callb()
564 tx->station[sidx].flag ^= STATION_HEARTBEAT_FLAG; in sta_queue_cleanup_timer_callb()
566 eth_zero_addr(tx->station[sidx].mac); in sta_queue_cleanup_timer_callb()
567 tx->station[sidx].flag = 0; in sta_queue_cleanup_timer_callb()