Lines Matching refs:rx_size
93 ssize_t rx_size; in __i2400ms_rx_get_size() local
100 rx_size = 0; in __i2400ms_rx_get_size()
106 rx_size = ret; in __i2400ms_rx_get_size()
109 rx_size = rx_size << 8 | (val & 0xff); in __i2400ms_rx_get_size()
111 d_printf(6, dev, "RX: rx_size is %ld\n", (long) rx_size); in __i2400ms_rx_get_size()
113 d_fnend(7, dev, "(i2400ms %p) = %ld\n", i2400ms, (long) rx_size); in __i2400ms_rx_get_size()
114 return rx_size; in __i2400ms_rx_get_size()
135 ssize_t rx_size; in i2400ms_rx() local
138 rx_size = __i2400ms_rx_get_size(i2400ms); in i2400ms_rx()
139 if (rx_size < 0) { in i2400ms_rx()
140 ret = rx_size; in i2400ms_rx()
150 skb = alloc_skb(rx_size, GFP_ATOMIC); in i2400ms_rx()
156 I2400MS_DATA_ADDR, rx_size); in i2400ms_rx()
165 i2400ms->bm_ack_size = rx_size; in i2400ms_rx()
167 memcpy(i2400m->bm_ack_buf, skb->data, rx_size); in i2400ms_rx()
174 if (unlikely(rx_size < sizeof(__le32))) { in i2400ms_rx()
175 dev_err(dev, "HW BUG? only %zu bytes received\n", rx_size); in i2400ms_rx()
179 skb_put(skb, rx_size); in i2400ms_rx()
182 skb->data, rx_size))) { in i2400ms_rx()
187 i2400m_unknown_barker(i2400m, skb->data, rx_size); in i2400ms_rx()