Lines Matching refs:qd
2986 struct qib_qsfp_data *qd; in unknown_7322_gpio_intr() local
2997 qd = &ppd->cpspec->qsfp_data; in unknown_7322_gpio_intr()
3003 qd->t_insert = jiffies; in unknown_7322_gpio_intr()
3004 queue_work(ib_wq, &qd->work); in unknown_7322_gpio_intr()
5617 struct qib_qsfp_data *qd = in qib_7322_ib_updown() local
5629 qd->t_insert = jiffies; in qib_7322_ib_updown()
5630 queue_work(ib_wq, &qd->work); in qib_7322_ib_updown()
5980 struct qib_qsfp_data *qd; in qsfp_7322_event() local
5987 qd = container_of(work, struct qib_qsfp_data, work); in qsfp_7322_event()
5988 ppd = qd->ppd; in qsfp_7322_event()
5989 pwrup = qd->t_insert + in qsfp_7322_event()
6015 ret = qib_refresh_qsfp_cache(ppd, &qd->cache); in qsfp_7322_event()
6024 if (QSFP_IS_ACTIVE_FAR(qd->cache.tech)) in qsfp_7322_event()
6026 else if (qd->cache.atten[1] >= qib_long_atten && in qsfp_7322_event()
6027 QSFP_IS_CU(qd->cache.tech)) in qsfp_7322_event()
6064 struct qib_qsfp_data *qd = &ppd->cpspec->qsfp_data; in qib_init_7322_qsfp() local
6069 qd->ppd = ppd; in qib_init_7322_qsfp()
6070 qib_qsfp_init(qd, qsfp_7322_event); in qib_init_7322_qsfp()
7671 struct qib_qsfp_cache *qd = &ppd->cpspec->qsfp_data.cache; in find_best_ent() local
7678 if (!memcmp(v->oui, qd->oui, QSFP_VOUI_LEN) && in find_best_ent()
7680 !memcmp(v->partnum, qd->partnum, QSFP_PN_LEN))) { in find_best_ent()
7690 if (!override && QSFP_IS_ACTIVE(qd->tech)) { in find_best_ent()
7697 if (!override && QSFP_HAS_ATTEN(qd->tech) && (qd->atten[0] || in find_best_ent()
7698 qd->atten[1])) { in find_best_ent()
7699 *sdr_dds = get_atten_table(txdds_sdr, qd->atten[0]); in find_best_ent()
7700 *ddr_dds = get_atten_table(txdds_ddr, qd->atten[0]); in find_best_ent()
7701 *qdr_dds = get_atten_table(txdds_qdr, qd->atten[1]); in find_best_ent()