Lines Matching refs:prcs
110 static void rx_deauthenticate(ray_dev_t *local, struct rcs __iomem *prcs,
113 static void ray_rx(struct net_device *dev, ray_dev_t *local, struct rcs __iomem *prcs);
114 static void release_frag_chain(ray_dev_t *local, struct rcs __iomem *prcs);
115 static void rx_authenticate(ray_dev_t *local, struct rcs __iomem *prcs,
117 static void rx_data(struct net_device *dev, struct rcs __iomem *prcs,
1838 struct rcs __iomem *prcs; in ray_interrupt() local
2000 prcs = rcs_base(local) + rcsindex; in ray_interrupt()
2002 switch (readb(&prcs->interrupt_id)) { in ray_interrupt()
2004 ray_rx(dev, local, prcs); in ray_interrupt()
2015 prcs->var.rejoin_net_complete. in ray_interrupt()
2035 (unsigned int)readb(&prcs->interrupt_id)); in ray_interrupt()
2038 writeb(CCS_BUFFER_FREE, &prcs->buffer_status); in ray_interrupt()
2046 struct rcs __iomem *prcs) in ray_rx() argument
2054 pkt_addr = ((readb(&prcs->var.rx_packet.rx_data_ptr[0]) << 8) in ray_rx()
2055 + readb(&prcs->var.rx_packet.rx_data_ptr[1])) & RX_BUFF_END; in ray_rx()
2057 rx_len = (readb(&prcs->var.rx_packet.rx_data_length[0]) << 8) in ray_rx()
2058 + readb(&prcs->var.rx_packet.rx_data_length[1]); in ray_rx()
2060 local->last_rsl = readb(&prcs->var.rx_packet.rx_sig_lev); in ray_rx()
2065 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx()
2070 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx()
2072 rx_authenticate(local, prcs, pkt_addr, rx_len); in ray_rx()
2077 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx()
2079 rx_deauthenticate(local, prcs, pkt_addr, rx_len); in ray_rx()
2087 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx()
2106 static void rx_data(struct net_device *dev, struct rcs __iomem *prcs, in rx_data() argument
2110 struct rcs __iomem *prcslink = prcs; in rx_data()
2147 if (readb(&prcs->var.rx_packet.next_frag_rcs_index) != 0xFF) { in rx_data()
2149 tmp = (readb(&prcs->var.rx_packet.totalpacketlength[0]) << 8) in rx_data()
2150 + readb(&prcs->var.rx_packet.totalpacketlength[1]); in rx_data()
2152 prcslink = prcs; in rx_data()
2169 release_frag_chain(local, prcs); in rx_data()
2180 if (readb(&prcs->var.rx_packet.next_frag_rcs_index) != 0xFF) in rx_data()
2181 release_frag_chain(local, prcs); in rx_data()
2217 if (readb(&prcs->var.rx_packet.next_frag_rcs_index) != 0xFF) { in rx_data()
2218 prcslink = prcs; in rx_data()
2242 release_frag_chain(local, prcs); in rx_data()
2385 static void release_frag_chain(ray_dev_t *local, struct rcs __iomem *prcs) in release_frag_chain() argument
2387 struct rcs __iomem *prcslink = prcs; in release_frag_chain()
2389 unsigned rcsindex = readb(&prcs->var.rx_packet.next_frag_rcs_index); in release_frag_chain()
2426 static void rx_authenticate(ray_dev_t *local, struct rcs __iomem *prcs, in rx_authenticate() argument
2512 static void rx_deauthenticate(ray_dev_t *local, struct rcs __iomem *prcs, in rx_deauthenticate() argument