Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 25 of 51) sorted by relevance

123

/linux/tools/testing/selftests/drivers/net/
H A Dqueues.py11 def sys_get_queues(ifname, qtype='rx') -> int: argument
16 def nl_get_queues(cfg, nl, qtype='rx'): argument
19 return len([q for q in queues if q['type'] == qtype])
26 for qtype in ['rx', 'tx']:
27 queues = nl_get_queues(cfg, snl, qtype)
31 expected = sys_get_queues(cfg.dev['ifname'], qtype)
H A Dstats.py124 for qtype in ['rx', 'tx']:
125 ksft_eq(len(queues[qtype]), len(set(queues[qtype])),
127 ksft_eq(len(queues[qtype]), max(queues[qtype]) + 1,
/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.h420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() argument
425 if (qtype == DUMP_IO) { in lpfc_debug_dump_wq()
428 } else if (qtype == DUMP_MBX) { in lpfc_debug_dump_wq()
431 } else if (qtype == DUMP_ELS) { in lpfc_debug_dump_wq()
434 } else if (qtype == DUMP_NVMELS) { in lpfc_debug_dump_wq()
440 if (qtype == DUMP_IO) in lpfc_debug_dump_wq()
460 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq() argument
469 if (qtype == DUMP_IO) { in lpfc_debug_dump_cq()
473 } else if (qtype == DUMP_MBX) { in lpfc_debug_dump_cq()
477 } else if (qtype == DUMP_ELS) { in lpfc_debug_dump_cq()
[all …]
/linux/fs/bcachefs/
H A Dquota.c180 u8 qtype; member
185 static void prepare_msg(unsigned qtype, in prepare_msg() argument
192 msgs->m[msgs->nr].qtype = qtype; in prepare_msg()
198 unsigned qtype, in prepare_warning() argument
206 prepare_msg(qtype, counter, msgs, msg_type); in prepare_warning()
216 quota_send_warning(make_kqid(&init_user_ns, msgs->m[i].qtype, qid.q[i]), in flush_warnings()
221 unsigned qtype, in bch2_quota_check_limit() argument
228 struct bch_memquota_type *q = &c->quotas[qtype]; in bch2_quota_check_limit()
241 prepare_msg(qtype, counter, msgs, HARDBELOW); in bch2_quota_check_limit()
247 prepare_msg(qtype, counter, msgs, SOFTBELOW); in bch2_quota_check_limit()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c620 enum dpni_queue_type qtype, in dpni_get_buffer_layout() argument
633 cmd_params->qtype = qtype; in dpni_get_buffer_layout()
668 enum dpni_queue_type qtype, in dpni_set_buffer_layout() argument
679 cmd_params->qtype = qtype; in dpni_set_buffer_layout()
771 enum dpni_queue_type qtype, in dpni_get_qdid() argument
784 cmd_params->qtype = qtype; in dpni_get_qdid()
1473 enum dpni_queue_type qtype, in dpni_set_congestion_notification() argument
1486 cmd_params->qtype = qtype; in dpni_set_congestion_notification()
1522 enum dpni_queue_type qtype, in dpni_set_queue() argument
1536 cmd_params->qtype = qtype; in dpni_set_queue()
[all …]
H A Ddpni-cmd.h242 u8 qtype; member
260 u8 qtype; member
290 u8 qtype; member
455 u8 qtype; member
487 u8 qtype; member
506 u8 qtype; member
521 u8 qtype; member
628 u8 qtype; member
H A Ddpni.h360 enum dpni_queue_type qtype,
366 enum dpni_queue_type qtype,
398 enum dpni_queue_type qtype,
837 enum dpni_queue_type qtype,
846 enum dpni_queue_type qtype,
928 enum dpni_queue_type qtype,
/linux/drivers/net/wireless/ath/ath9k/
H A Drecv.c111 enum ath9k_rx_qtype qtype) in ath_rx_edma_buf_link() argument
118 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_edma_buf_link()
132 ath9k_hw_addrxbuf_edma(ah, bf->bf_buf_addr, qtype); in ath_rx_edma_buf_link()
139 enum ath9k_rx_qtype qtype) in ath_rx_addbuffer_edma() argument
150 if (!ath_rx_edma_buf_link(sc, qtype)) in ath_rx_addbuffer_edma()
156 enum ath9k_rx_qtype qtype) in ath_rx_remove_buffer() argument
162 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_remove_buffer()
628 enum ath9k_rx_qtype qtype, in ath_edma_get_buffers() argument
632 struct ath_rx_edma *rx_edma = &sc->rx.rx_edma[qtype]; in ath_edma_get_buffers()
661 ath_rx_edma_buf_link(sc, qtype); in ath_edma_get_buffers()
[all …]
H A Dar9003_mac.h114 enum ath9k_rx_qtype qtype);
H A Dar9003_mac.c472 enum ath9k_rx_qtype qtype) in ath9k_hw_addrxbuf_edma() argument
474 if (qtype == ATH9K_RX_QUEUE_HP) in ath9k_hw_addrxbuf_edma()
/linux/drivers/usb/host/
H A Duhci-debug.c171 char *qtype; in uhci_show_qh() local
174 case USB_ENDPOINT_XFER_ISOC: qtype = "ISO"; break; in uhci_show_qh()
175 case USB_ENDPOINT_XFER_INT: qtype = "INT"; break; in uhci_show_qh()
176 case USB_ENDPOINT_XFER_BULK: qtype = "BLK"; break; in uhci_show_qh()
177 case USB_ENDPOINT_XFER_CONTROL: qtype = "CTL"; break; in uhci_show_qh()
178 default: qtype = "Skel" ; break; in uhci_show_qh()
182 space, "", qh, qtype, in uhci_show_qh()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_regs.h131 static inline void ionic_dbell_ring(u64 __iomem *db_page, int qtype, u64 val) in ionic_dbell_ring() argument
133 writeq(val, &db_page[qtype]); in ionic_dbell_ring()
H A Dionic_lif.c1178 u8 qtype; in ionic_lif_add_hwstamp_rxfilt() local
1185 qtype = lif->hwstamp_rxq->q.type; in ionic_lif_add_hwstamp_rxfilt()
1186 ctx.cmd.rx_filter_add.qtype = qtype; in ionic_lif_add_hwstamp_rxfilt()
3906 int qtype; in ionic_lif_queue_identify() local
3912 for (qtype = 0; qtype < ARRAY_SIZE(ionic_qtype_versions); qtype++) { in ionic_lif_queue_identify()
3913 struct ionic_qtype_info *qti = &lif->qtype_info[qtype]; in ionic_lif_queue_identify()
3916 switch (qtype) { in ionic_lif_queue_identify()
3929 ionic_dev_cmd_queue_identify(idev, lif->lif_type, qtype, in ionic_lif_queue_identify()
3930 ionic_qtype_versions[qtype]); in ionic_lif_queue_identify()
3945 dev_err(ionic->dev, "qtype %d not supported\n", qtype); in ionic_lif_queue_identify()
[all …]
H A Dionic_dev.c632 u16 lif_type, u8 qtype, u8 qver) in ionic_dev_cmd_queue_identify() argument
637 .q_identify.type = qtype, in ionic_dev_cmd_queue_identify()
H A Dionic_dev.h355 u16 lif_type, u8 qtype, u8 qver);
/linux/drivers/infiniband/hw/erdma/
H A Derdma_cq.c113 u8 opcode, syndrome, qtype; in erdma_poll_one_cqe() local
141 qtype = FIELD_GET(ERDMA_CQE_HDR_QTYPE_MASK, cqe_hdr); in erdma_poll_one_cqe()
145 if (qtype == ERDMA_CQE_QTYPE_SQ) { in erdma_poll_one_cqe()
H A Derdma_eq.c233 req.qtype = ERDMA_EQ_TYPE_CEQ; in create_eq_cmd()
278 req.qtype = ERDMA_EQ_TYPE_CEQ; in erdma_ceq_uninit_one()
H A Derdma_hw.h174 u8 qtype; member
185 u8 qtype; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c725 static void idpf_add_empty_queue_stats(u64 **data, u16 qtype) in idpf_add_empty_queue_stats() argument
730 if (qtype == VIRTCHNL2_QUEUE_TYPE_RX) in idpf_add_empty_queue_stats()
877 u16 qtype; in idpf_get_ethtool_stats() local
896 qtype = VIRTCHNL2_QUEUE_TYPE_TX; in idpf_get_ethtool_stats()
902 idpf_add_empty_queue_stats(&data, qtype); in idpf_get_ethtool_stats()
904 idpf_add_queue_stats(&data, txq, qtype); in idpf_get_ethtool_stats()
924 qtype = VIRTCHNL2_QUEUE_TYPE_RX; in idpf_get_ethtool_stats()
939 idpf_add_empty_queue_stats(&data, qtype); in idpf_get_ethtool_stats()
941 idpf_add_queue_stats(&data, rxq, qtype); in idpf_get_ethtool_stats()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.h245 entry->qtype = type; in cudbg_fill_qdesc_txq()
257 entry->qtype = type; in cudbg_fill_qdesc_rxq()
269 entry->qtype = type; in cudbg_fill_qdesc_flq()
H A Dcudbg_entity.h335 u32 qtype; member
/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.h242 enum pds_core_logical_qtype qtype, in pds_core_dbell_ring() argument
245 writeq(val, &db_page[qtype]); in pds_core_dbell_ring()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h92 enum ice_ctl_q qtype; member
H A Dice_controlq.c627 cq->qtype = q_type; in ice_init_ctrlq()
885 static const char *ice_ctl_q_str(enum ice_ctl_q qtype) in ice_ctl_q_str() argument
887 switch (qtype) { in ice_ctl_q_str()
929 ice_ctl_q_str(cq->qtype), response ? "Response" : "Command", in ice_debug_cq()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h375 enum t4_bar2_qtype qtype,

123