• Home
  • Raw
  • Download

Lines Matching refs:v1i

147 		vlan_id[i] = info->v1i.vlan_id[i];  in fjes_hw_setup_epbuf()
151 info->v1i.version = 0; /* version 0 */ in fjes_hw_setup_epbuf()
154 info->v1i.mac_addr[i] = mac_addr[i]; in fjes_hw_setup_epbuf()
156 info->v1i.head = 0; in fjes_hw_setup_epbuf()
157 info->v1i.tail = 1; in fjes_hw_setup_epbuf()
159 info->v1i.info_size = sizeof(union ep_buffer_info); in fjes_hw_setup_epbuf()
160 info->v1i.buffer_size = epbh->size - info->v1i.info_size; in fjes_hw_setup_epbuf()
162 info->v1i.frame_max = FJES_MTU_TO_FRAME_SIZE(mtu); in fjes_hw_setup_epbuf()
163 info->v1i.count_max = in fjes_hw_setup_epbuf()
164 EP_RING_NUM(info->v1i.buffer_size, info->v1i.frame_max); in fjes_hw_setup_epbuf()
167 info->v1i.vlan_id[i] = vlan_id[i]; in fjes_hw_setup_epbuf()
169 info->v1i.rx_status |= FJES_RX_MTU_CHANGING_DONE; in fjes_hw_setup_epbuf()
734 return (hw->ep_shm_info[src_epid].tx.info->v1i.rx_status & in fjes_hw_epid_is_stop_process_done()
784 hw->ep_shm_info[epidx].tx.info->v1i.rx_status |= in fjes_hw_raise_epstop()
806 (info->v1i.rx_status & in fjes_hw_wait_epstop()
842 return ((info->v1i.frame_max == FJES_MTU_TO_FRAME_SIZE(mtu)) && in fjes_hw_check_mtu()
843 info->v1i.rx_status & FJES_RX_MTU_CHANGING_DONE); in fjes_hw_check_mtu()
856 if (vlan_id == info->v1i.vlan_id[i]) { in fjes_hw_check_vlan_id()
871 if (info->v1i.vlan_id[i] == 0) { in fjes_hw_set_vlan_id()
872 info->v1i.vlan_id[i] = vlan_id; in fjes_hw_set_vlan_id()
886 if (vlan_id == info->v1i.vlan_id[i]) in fjes_hw_del_vlan_id()
887 info->v1i.vlan_id[i] = 0; in fjes_hw_del_vlan_id()
896 if (!(info->v1i.rx_status & FJES_RX_MTU_CHANGING_DONE)) in fjes_hw_epbuf_rx_is_empty()
899 if (info->v1i.count_max == 0) in fjes_hw_epbuf_rx_is_empty()
902 return EP_RING_EMPTY(info->v1i.head, info->v1i.tail, in fjes_hw_epbuf_rx_is_empty()
903 info->v1i.count_max); in fjes_hw_epbuf_rx_is_empty()
914 (info->v1i.head, in fjes_hw_epbuf_rx_curpkt_get_addr()
915 info->v1i.count_max) * in fjes_hw_epbuf_rx_curpkt_get_addr()
916 info->v1i.frame_max]); in fjes_hw_epbuf_rx_curpkt_get_addr()
932 EP_RING_INDEX_INC(epbh->info->v1i.head, info->v1i.count_max); in fjes_hw_epbuf_rx_curpkt_drop()
941 if (EP_RING_FULL(info->v1i.head, info->v1i.tail, info->v1i.count_max)) in fjes_hw_epbuf_tx_pkt_send()
945 (info->v1i.tail - 1, in fjes_hw_epbuf_tx_pkt_send()
946 info->v1i.count_max) * in fjes_hw_epbuf_tx_pkt_send()
947 info->v1i.frame_max]); in fjes_hw_epbuf_tx_pkt_send()
952 EP_RING_INDEX_INC(epbh->info->v1i.tail, info->v1i.count_max); in fjes_hw_epbuf_tx_pkt_send()
1133 info->v1i.rx_status |= in fjes_hw_update_zone_task()
1161 tx.info->v1i.rx_status |= in fjes_hw_epstop_task()