Lines Matching refs:v1i

148 		vlan_id[i] = info->v1i.vlan_id[i];  in fjes_hw_setup_epbuf()
152 info->v1i.version = 0; /* version 0 */ in fjes_hw_setup_epbuf()
155 info->v1i.mac_addr[i] = mac_addr[i]; in fjes_hw_setup_epbuf()
157 info->v1i.head = 0; in fjes_hw_setup_epbuf()
158 info->v1i.tail = 1; in fjes_hw_setup_epbuf()
160 info->v1i.info_size = sizeof(union ep_buffer_info); in fjes_hw_setup_epbuf()
161 info->v1i.buffer_size = epbh->size - info->v1i.info_size; in fjes_hw_setup_epbuf()
163 info->v1i.frame_max = FJES_MTU_TO_FRAME_SIZE(mtu); in fjes_hw_setup_epbuf()
164 info->v1i.count_max = in fjes_hw_setup_epbuf()
165 EP_RING_NUM(info->v1i.buffer_size, info->v1i.frame_max); in fjes_hw_setup_epbuf()
168 info->v1i.vlan_id[i] = vlan_id[i]; in fjes_hw_setup_epbuf()
170 info->v1i.rx_status |= FJES_RX_MTU_CHANGING_DONE; in fjes_hw_setup_epbuf()
758 return (hw->ep_shm_info[src_epid].tx.info->v1i.rx_status & in fjes_hw_epid_is_stop_process_done()
808 hw->ep_shm_info[epidx].tx.info->v1i.rx_status |= in fjes_hw_raise_epstop()
830 (info->v1i.rx_status & in fjes_hw_wait_epstop()
866 return ((info->v1i.frame_max == FJES_MTU_TO_FRAME_SIZE(mtu)) && in fjes_hw_check_mtu()
867 info->v1i.rx_status & FJES_RX_MTU_CHANGING_DONE); in fjes_hw_check_mtu()
880 if (vlan_id == info->v1i.vlan_id[i]) { in fjes_hw_check_vlan_id()
895 if (info->v1i.vlan_id[i] == 0) { in fjes_hw_set_vlan_id()
896 info->v1i.vlan_id[i] = vlan_id; in fjes_hw_set_vlan_id()
910 if (vlan_id == info->v1i.vlan_id[i]) in fjes_hw_del_vlan_id()
911 info->v1i.vlan_id[i] = 0; in fjes_hw_del_vlan_id()
920 if (!(info->v1i.rx_status & FJES_RX_MTU_CHANGING_DONE)) in fjes_hw_epbuf_rx_is_empty()
923 if (info->v1i.count_max == 0) in fjes_hw_epbuf_rx_is_empty()
926 return EP_RING_EMPTY(info->v1i.head, info->v1i.tail, in fjes_hw_epbuf_rx_is_empty()
927 info->v1i.count_max); in fjes_hw_epbuf_rx_is_empty()
938 (info->v1i.head, in fjes_hw_epbuf_rx_curpkt_get_addr()
939 info->v1i.count_max) * in fjes_hw_epbuf_rx_curpkt_get_addr()
940 info->v1i.frame_max]); in fjes_hw_epbuf_rx_curpkt_get_addr()
956 EP_RING_INDEX_INC(epbh->info->v1i.head, info->v1i.count_max); in fjes_hw_epbuf_rx_curpkt_drop()
965 if (EP_RING_FULL(info->v1i.head, info->v1i.tail, info->v1i.count_max)) in fjes_hw_epbuf_tx_pkt_send()
969 (info->v1i.tail - 1, in fjes_hw_epbuf_tx_pkt_send()
970 info->v1i.count_max) * in fjes_hw_epbuf_tx_pkt_send()
971 info->v1i.frame_max]); in fjes_hw_epbuf_tx_pkt_send()
976 EP_RING_INDEX_INC(epbh->info->v1i.tail, info->v1i.count_max); in fjes_hw_epbuf_tx_pkt_send()
1157 info->v1i.rx_status |= in fjes_hw_update_zone_task()
1185 tx.info->v1i.rx_status |= in fjes_hw_epstop_task()