Lines Matching refs:num_sgs
396 for (j = nsgs; j < urb->num_sgs; j++) in mt76u_fill_rx_sg()
398 urb->num_sgs = i; in mt76u_fill_rx_sg()
401 urb->num_sgs = max_t(int, i, urb->num_sgs); in mt76u_fill_rx_sg()
402 urb->transfer_buffer_length = urb->num_sgs * q->buf_size; in mt76u_fill_rx_sg()
403 sg_init_marker(urb->sg, urb->num_sgs); in mt76u_fill_rx_sg()
463 for (i = 0; i < urb->num_sgs; i++) in mt76u_urb_free()
570 u8 *data = urb->num_sgs ? sg_virt(&urb->sg[0]) : urb->transfer_buffer; in mt76u_process_rx_entry()
571 int data_len = urb->num_sgs ? urb->sg[0].length : urb->actual_length; in mt76u_process_rx_entry()
589 while (len > 0 && nsgs < urb->num_sgs) { in mt76u_process_rx_entry()
895 urb->num_sgs = skb_to_sgvec(skb, urb->sg, 0, skb->len); in mt76u_tx_setup_buffers()
896 if (!urb->num_sgs) in mt76u_tx_setup_buffers()
899 return urb->num_sgs; in mt76u_tx_setup_buffers()