Lines Matching refs:qsel
250 static int qsel_to_ep(struct rtw_usb *rtwusb, unsigned int qsel) in qsel_to_ep() argument
252 if (qsel >= ARRAY_SIZE(rtwusb->qsel_to_ep)) in qsel_to_ep()
255 return rtwusb->qsel_to_ep[qsel]; in qsel_to_ep()
258 static int rtw_usb_write_port(struct rtw_dev *rtwdev, u8 qsel, struct sk_buff *skb, in rtw_usb_write_port() argument
266 int ep = qsel_to_ep(rtwusb, qsel); in rtw_usb_write_port()
386 u8 qsel; in rtw_usb_write_data() local
390 qsel = pkt_info->qsel; in rtw_usb_write_data()
405 ret = rtw_usb_write_port(rtwdev, qsel, skb, in rtw_usb_write_data()
420 pkt_info.qsel = TX_DESC_QSEL_BEACON; in rtw_usb_write_data_rsvd_page()
431 pkt_info.qsel = TX_DESC_QSEL_H2C; in rtw_usb_write_data_h2c()
440 u8 qsel; in rtw_usb_tx_queue_mapping_to_qsel() local
443 qsel = TX_DESC_QSEL_MGMT; in rtw_usb_tx_queue_mapping_to_qsel()
445 qsel = skb->priority; in rtw_usb_tx_queue_mapping_to_qsel()
447 qsel = TX_DESC_QSEL_BEACON; in rtw_usb_tx_queue_mapping_to_qsel()
449 return qsel; in rtw_usb_tx_queue_mapping_to_qsel()
462 pkt_info->qsel = rtw_usb_tx_queue_mapping_to_qsel(skb); in rtw_usb_tx_write()
465 ep = qsel_to_ep(rtwusb, pkt_info->qsel); in rtw_usb_tx_write()