Home
last modified time | relevance | path

Searched refs:ppd (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_sdma.c178 ppd->dd->f_sdma_hw_start_up(ppd); in sdma_hw_start_up()
352 unmap_desc(ppd, ppd->sdma_descq_head); in qib_sdma_make_progress()
421 ppd->dd->f_sdma_init_early(ppd); in qib_setup_sdma()
538 ppd->dd->f_sdma_set_desc_cnt(ppd, in qib_sdma_verbs_send()
608 ppd->dd->f_sdma_update_tail(ppd, tail); in qib_sdma_verbs_send()
695 qib_dev_porterr(ppd->dd, ppd->port, in dump_sdma_state()
697 qib_dev_porterr(ppd->dd, ppd->port, in dump_sdma_state()
699 qib_dev_porterr(ppd->dd, ppd->port, in dump_sdma_state()
718 qib_dev_porterr(ppd->dd, ppd->port, in dump_sdma_state()
728 qib_dev_porterr(ppd->dd, ppd->port, in dump_sdma_state()
[all …]
A Dqib_intr.c75 struct qib_devdata *dd = ppd->dd; in signal_ib_event()
85 struct qib_devdata *dd = ppd->dd; in qib_handle_e_ibstatuschanged()
104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) && in qib_handle_e_ibstatuschanged()
142 *ppd->statusp |= in qib_handle_e_ibstatuschanged()
151 qib_sdma_process_event(ppd, in qib_handle_e_ibstatuschanged()
154 dd->f_setextled(ppd, 1); in qib_handle_e_ibstatuschanged()
161 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged()
168 ppd->lastibcstat = ibcs; in qib_handle_e_ibstatuschanged()
170 signal_ib_event(ppd, ev); in qib_handle_e_ibstatuschanged()
175 struct qib_pportdata *ppd = from_timer(ppd, t, symerr_clear_timer); in qib_clear_symerror_on_linkup() local
[all …]
A Dqib_iba7322.c859 if (ppd->cpspec && ppd->dd && ppd->cpspec->kpregbase && in qib_write_kreg_port()
4308 ppd->dd->unit, ppd->port); in qib_7322_set_loopback()
4316 ppd->dd->unit, ppd->port); in qib_7322_set_loopback()
4771 if (!rcd || rcd->ppd != ppd) in qib_portcntr_7322()
5921 ppd = qd->ppd; in qsfp_7322_event()
6002 qd->ppd = ppd; in qib_init_7322_qsfp()
6361 ppd[0].cpspec->ppd = &ppd[0]; /* for autoneg_7322_work() */ in qib_init_7322_variables()
6362 ppd[1].cpspec->ppd = &ppd[1]; /* for autoneg_7322_work() */ in qib_init_7322_variables()
6446 ppd[0] = ppd[1]; in qib_init_7322_variables()
7798 ppd->dd->unit, ppd->port); in serdes_7322_los_enable()
[all …]
A Dqib_driver.c107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
444 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive() local
616 ppd->ibmtu = arg; in qib_set_mtu()
630 ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_MTU, 0); in qib_set_mtu()
642 ppd->lid = lid; in qib_set_lid()
643 ppd->lmc = lmc; in qib_set_lid()
668 struct qib_pportdata *ppd = from_timer(ppd, t, in qib_run_led_override() local
678 ppd->led_override = ppd->led_override_vals[ph_idx]; in qib_run_led_override()
686 if (ppd->led_override_vals[0] || ppd->led_override_vals[1]) in qib_run_led_override()
[all …]
A Dqib_iba7220.c919 ppd->dd->unit, ppd->port, sbuf[2], sbuf[1], in sdma_7220_errors()
1206 if (ppd->state_wanted & ppd->lflags) in handle_7220_errors()
2679 ppd->dd->unit, ppd->port); in qib_7220_set_loopback()
2686 ppd->dd->unit, ppd->port); in qib_7220_set_loopback()
3573 set_7220_ibspeed_fast(ppd, ppd->link_speed_enabled); in autoneg_7220_work()
3626 set_7220_ibspeed_fast(ppd, ppd->link_speed_enabled); in qib_7220_ib_updown()
3722 ppd->cpspec->ibsymdelta += read_7220_creg32(ppd->dd, in qib_7220_ib_updown()
3731 ppd->cpspec->ibsymsnap = read_7220_creg32(ppd->dd, in qib_7220_ib_updown()
4016 ppd->link_width_enabled = ppd->link_width_supported; in qib_init_7220_variables()
4017 ppd->link_speed_enabled = ppd->link_speed_supported; in qib_init_7220_variables()
[all …]
A Dqib_qsfp.c49 struct qib_devdata *dd = ppd->dd; in qsfp_read()
73 if (ppd->hw_pidx) { in qsfp_read()
89 qib_dev_porterr(dd, ppd->port, in qsfp_read()
183 if (ppd->hw_pidx) { in qib_qsfp_write()
292 qib_dev_porterr(ppd->dd, ppd->port, in qib_refresh_qsfp_cache()
305 qib_dev_porterr(ppd->dd, ppd->port, in qib_refresh_qsfp_cache()
315 qib_dev_porterr(ppd->dd, ppd->port, in qib_refresh_qsfp_cache()
384 qib_dev_porterr(ppd->dd, ppd->port, in qib_refresh_qsfp_cache()
422 qib_dev_porterr(ppd->dd, ppd->port, in qib_refresh_qsfp_cache()
451 ret = ppd->dd->f_gpio_mod(ppd->dd, 0, 0, 0); in qib_qsfp_mod_present()
[all …]
A Dqib_mad.c348 (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_LWID_ENB, w); in set_link_width_enabled()
353 (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_SPD_ENB, s); in set_link_speed_enabled()
389 (void) ppd->dd->f_set_ib_cfg(ppd, QIB_IB_CFG_PHYERR_THRESH, in set_phyerrthreshold()
735 set_link_width_enabled(ppd, ppd->link_width_supported); in subn_set_portinfo()
1274 ret = ppd->dd->f_portcntr(ppd, QIBPORTCNTR_PSXMITDATA); in get_counter()
1277 ret = ppd->dd->f_portcntr(ppd, QIBPORTCNTR_PSRCVDATA); in get_counter()
1280 ret = ppd->dd->f_portcntr(ppd, QIBPORTCNTR_PSXMITPKTS); in get_counter()
1283 ret = ppd->dd->f_portcntr(ppd, QIBPORTCNTR_PSRCVPKTS); in get_counter()
1286 ret = ppd->dd->f_portcntr(ppd, QIBPORTCNTR_PSXMITWAIT); in get_counter()
1300 delta = get_counter(&ppd->ibport_data, ppd, in xmit_wait_get_value_delta()
[all …]
A Dqib_init.c175 rcd->ppd = ppd; in qib_create_ctxtdata()
225 ppd->dd = dd; in qib_init_pportdata()
226 ppd->hw_pidx = hw_pidx; in qib_init_pportdata()
236 ppd->qib_wq = NULL; in qib_init_pportdata()
583 if (!ppd->qib_wq) { in qib_create_workqueues()
590 if (!ppd->qib_wq) in qib_create_workqueues()
600 if (ppd->qib_wq) { in qib_create_workqueues()
602 ppd->qib_wq = NULL; in qib_create_workqueues()
706 ppd->ibmaxlen = ppd->init_ibmaxlen; in qib_init()
885 if (ppd->qib_wq) { in qib_shutdown_device()
[all …]
A Dqib_tx.c113 struct qib_pportdata *ppd; in is_sdma_buf() local
117 ppd = dd->pport + pidx; in is_sdma_buf()
120 return ppd; in is_sdma_buf()
185 ppd = is_sdma_buf(dd, i); in qib_disarm_piobufs_set()
186 if (ppd) { in qib_disarm_piobufs_set()
187 pppd[ppd->port] = ppd; in qib_disarm_piobufs_set()
471 if (rcd && rcd->ppd == ppd) { in qib_cancel_sends()
519 qib_cancel_sends(ppd); in qib_hol_down()
531 mod_timer(&ppd->hol_timer, in qib_hol_init()
551 struct qib_pportdata *ppd = from_timer(ppd, t, hol_timer); in qib_hol_event() local
[all …]
A Dqib_verbs.c273 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() local
1098 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_RCVOVFL) + in qib_get_counters()
1101 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_ERRLINK) + in qib_get_counters()
1102 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_ERRICRC) + in qib_get_counters()
1103 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_ERRVCRC) + in qib_get_counters()
1109 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_RXVLERR); in qib_get_counters()
1111 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_RCVEBP); in qib_get_counters()
1113 ppd->dd->f_portcntr(ppd, QIBPORTCNTR_UNSUPVL); in qib_get_counters()
1114 cntrs->port_xmit_data = ppd->dd->f_portcntr(ppd, in qib_get_counters()
1116 cntrs->port_rcv_data = ppd->dd->f_portcntr(ppd, in qib_get_counters()
[all …]
A Dqib_user_sdma.c905 ppd->ibmaxlen) { in qib_user_sdma_queue_pkts()
1238 if (ppd->sdma_intrequest) { in qib_user_sdma_send_frag()
1240 ppd->sdma_intrequest = 0; in qib_user_sdma_send_frag()
1279 ppd->sdma_intrequest = 1; in qib_user_sdma_send_desc()
1281 ppd->sdma_intrequest = 1; in qib_user_sdma_send_desc()
1308 ppd->sdma_descq_added += c; in qib_user_sdma_send_desc()
1325 ppd->sdma_generation = gen_c; in qib_user_sdma_send_desc()
1352 qib_user_sdma_send_desc(ppd, &ppd->sdma_userpending); in qib_user_sdma_push_pkts()
1379 qib_sdma_make_progress(ppd); in qib_user_sdma_push_pkts()
1392 struct qib_pportdata *ppd = rcd->ppd; in qib_user_sdma_writev() local
[all …]
A Dqib_iba6120.c1094 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors()
2787 val64 = (u64) ppd->pkeys[0] | ((u64) ppd->pkeys[1] << 16) | in qib_6120_set_ib_cfg()
2891 ppd->dd->unit, ppd->port); in qib_6120_set_loopback()
2896 ppd->dd->unit, ppd->port); in qib_6120_set_loopback()
2909 struct qib_pportdata *ppd = cs->ppd; in pma_6120_timer() local
3174 dd->cspec->ppd = ppd; in init_6120_variables()
3218 ppd->link_speed_enabled = ppd->link_speed_supported; in init_6120_variables()
3220 ppd->link_width_active = ppd->link_width_enabled; in init_6120_variables()
3221 ppd->link_speed_active = ppd->link_speed_enabled; in init_6120_variables()
3223 ppd->vls_operational = ppd->vls_supported; in init_6120_variables()
[all …]
A Dqib_sysfs.c83 ret = dd->f_set_ib_cfg(ppd, QIB_IB_CFG_HRTBT, val); in hrtbt_enable_store()
96 r = dd->f_set_ib_loopback(ppd, buf); in loopback_store()
119 qib_set_led_override(ppd, val); in led_override_store()
130 if (!ppd->statusp) in status_show()
164 if (!ppd->statusp) { in status_str_show()
169 s = *(ppd->statusp); in status_str_show()
238 spin_lock(&ppd->cc_shadow_lock); in cc_table_bin_read()
239 memcpy(buf, ppd->ccti_entries_shadow, count); in cc_table_bin_read()
240 spin_unlock(&ppd->cc_shadow_lock); in cc_table_bin_read()
271 spin_lock(&ppd->cc_shadow_lock); in cc_setting_bin_read()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dplatform.c214 ppd->dd, in qual_power()
240 ppd->dd, in qual_bitrate()
262 ret = qsfp_write(ppd, ppd->dd->hfi1_id, in set_qsfp_high_power()
270 ret = qsfp_write(ppd, ppd->dd->hfi1_id, in set_qsfp_high_power()
311 ppd->dd, in apply_rx_cdr()
356 ppd->dd, in apply_tx_cdr()
368 ppd->dd, in apply_tx_cdr()
755 refresh_qsfp_cache(ppd, &ppd->qsfp_info); in tune_active_qsfp()
919 refresh_qsfp_cache(ppd, &ppd->qsfp_info); in tune_serdes()
982 refresh_qsfp_cache(ppd, &ppd->qsfp_info); in tune_serdes()
[all …]
A Dintr.c22 ppd->mgmt_allowed = 1; in set_mgmt_allowed()
42 if (!((ppd->pkeys[2] == 0) || (ppd->pkeys[2] == FULL_MGMT_P_KEY))) in add_full_mgmt_pkey()
47 hfi1_event_pkey_change(ppd->dd, ppd->port); in add_full_mgmt_pkey()
139 ppd->neighbor_guid = in handle_linkup_change()
141 ppd->neighbor_type = in handle_linkup_change()
152 ppd->neighbor_guid, ppd->neighbor_type, in handle_linkup_change()
162 set_mgmt_allowed(ppd); in handle_linkup_change()
164 if (ppd->mgmt_allowed) in handle_linkup_change()
165 add_full_mgmt_pkey(ppd); in handle_linkup_change()
168 ppd->linkup = 1; in handle_linkup_change()
[all …]
A Dqsfp.c277 struct hfi1_devdata *dd = ppd->dd; in __i2c_write()
316 struct hfi1_devdata *dd = ppd->dd; in __i2c_read()
379 hfi1_dev_porterr(ppd->dd, ppd->port, in qsfp_write()
458 hfi1_dev_porterr(ppd->dd, ppd->port, in qsfp_read()
518 u32 target = ppd->dd->hfi1_id; in refresh_qsfp_cache()
526 ppd->qsfp_info.cache_valid = 0; in refresh_qsfp_cache()
529 if (!qsfp_mod_present(ppd)) { in refresh_qsfp_cache()
536 dd_dev_info(ppd->dd, in refresh_qsfp_cache()
597 ppd->qsfp_info.cache_valid = 1; in refresh_qsfp_cache()
668 struct hfi1_pportdata *ppd; in get_cable_info() local
[all …]
A Dinit.c331 rcd->ppd = ppd; in hfi1_create_ctxtdata()
546 ppd = cca_timer->ppd; in cca_timer_fn()
596 ppd->dd = dd; in hfi1_init_pportdata()
629 ppd->qsfp_info.ppd = ppd; in hfi1_init_pportdata()
631 ppd->sa_qp = 0x1; in hfi1_init_pportdata()
640 ppd->cca_timer[i].ppd = ppd; in hfi1_init_pportdata()
746 ppd->hfi1_wq = in create_workqueues()
761 ppd->link_wq = in create_workqueues()
868 ppd->linkup = 0; in hfi1_init()
923 set_mtu(ppd); in hfi1_init()
[all …]
A Dmad.c258 u32 port_num = ppd->port; in hfi1_create_qp0_ah()
974 memcpy(pkeys, ppd->pkeys, sizeof(ppd->pkeys)); in get_pkeys()
1260 start_link(ppd); in set_port_states()
1381 if (ppd->lid != lid) in __subn_set_opa_portinfo()
1447 set_link_width_enabled(ppd, ppd->link_width_supported); in __subn_set_opa_portinfo()
1458 ppd-> in __subn_set_opa_portinfo()
1525 set_mtu(ppd); in __subn_set_opa_portinfo()
1666 ppd->pkeys[i] = key; in set_pkeys()
3813 apply_cc_state(ppd); in __subn_set_opa_cong_setting()
3848 &ppd->cc_events[ppd->cc_mad_idx++]; in __subn_get_opa_hfi1_cong_log()
[all …]
A Dchip.c5560 queue_work(ppd->link_wq, &ppd->link_bounce_work); in update_rcverr_timer()
6118 queue_work(ppd->link_wq, &ppd->link_down_work); in handle_qsfp_int()
6771 queue_work(ppd->hfi1_wq, &ppd->freeze_work); in start_freeze_handling()
7258 hfi1_event_pkey_change(ppd->dd, ppd->port); in clear_full_mgmt_pkey()
7800 queue_work(ppd->link_wq, &ppd->link_up_work); in handle_8051_interrupt()
7808 queue_work(ppd->link_wq, &ppd->link_vc_work); in handle_8051_interrupt()
7873 queue_work(ppd->link_wq, &ppd->link_down_work); in handle_8051_interrupt()
8081 queue_work(ppd->link_wq, &ppd->link_bounce_work); in handle_dcc_err()
9665 ppd = qd->ppd; in qsfp_event()
15036 ppd->vls_operational = ppd->vls_supported; in hfi1_init_dd()
[all …]
A Dud.c34 struct hfi1_pportdata *ppd; in ud_loopback() local
67 ppd = ppd_from_ibp(ibp); in ud_loopback()
76 ((1 << ppd->lmc) - 1)); in ud_loopback()
276 ppd = ppd_from_ibp(ibp); in hfi1_make_ud_req_9B()
313 u16 lid = (u16)ppd->lid; in hfi1_make_ud_req_9B()
317 ((1 << ppd->lmc) - 1); in hfi1_make_ud_req_9B()
348 ppd = ppd_from_ibp(ibp); in hfi1_make_ud_req_16B()
403 if (!ppd->lid) in hfi1_make_ud_req_16B()
476 ppd = ppd_from_ibp(ibp); in hfi1_make_ud_req()
647 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp_16B()
[all …]
A Ddriver.c142 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units()
430 ppd->lid; in hfi1_process_ecn_slowpath()
1243 ppd->ibmtu = 0; in set_mtu()
1247 ppd->ibmaxlen = ppd->ibmtu + lrh_max_header_bytes(ppd->dd); in set_mtu()
1286 ppd->lid = lid; in hfi1_set_lid()
1287 ppd->lmc = lmc; in hfi1_set_lid()
1318 struct hfi1_pportdata *ppd = from_timer(ppd, t, led_override_timer); in run_led_override() local
1333 ppd->led_override_phase = !ppd->led_override_phase; in run_led_override()
1446 struct hfi1_pportdata *ppd = packet->rcd->ppd; in hfi1_bypass_ingress_pkt_check() local
1456 if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid) in hfi1_bypass_ingress_pkt_check()
[all …]
A Ddebugfs.c480 ppd = private2ppd(file); in portcntrs_debugfs_read()
512 ppd = private2ppd(file); in asic_flags_read()
513 dd = ppd->dd; in asic_flags_read()
560 ppd = private2ppd(file); in asic_flags_write()
561 dd = ppd->dd; in asic_flags_write()
712 ppd = private2ppd(file); in qsfp_debugfs_dump()
947 ppd = private2ppd(fp); in __i2c_debugfs_open()
966 ppd = private2ppd(fp); in __i2c_debugfs_release()
987 ppd = private2ppd(fp); in __qsfp_debugfs_open()
1006 ppd = private2ppd(fp); in __qsfp_debugfs_release()
[all …]
A Dqsfp.h171 struct hfi1_pportdata *ppd; member
183 int refresh_qsfp_cache(struct hfi1_pportdata *ppd,
186 int qsfp_mod_present(struct hfi1_pportdata *ppd);
190 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
192 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
194 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
196 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
198 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
200 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
/linux-6.3-rc2/arch/x86/mm/
A Dmem_encrypt_identity.c112 pgd_p = ppd->pgd + pgd_index(ppd->vaddr); in sme_clear_pgd()
124 pgd = ppd->pgd + pgd_index(ppd->vaddr); in sme_prepare_pgd()
167 set_pmd(pmd, __pmd(ppd->paddr | ppd->pmd_flags)); in sme_populate_pgd_large()
193 set_pte(pte, __pte(ppd->paddr | ppd->pte_flags)); in sme_populate_pgd()
198 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pmd()
208 while (ppd->vaddr < ppd->vaddr_end) { in __sme_map_range_pte()
228 ppd->vaddr_end = ALIGN(ppd->vaddr, PMD_SIZE); in __sme_map_range()
416 ppd.pgd = ppd.pgtable_area; in sme_encrypt_kernel()
489 sme_clear_pgd(&ppd); in sme_encrypt_kernel()
494 sme_clear_pgd(&ppd); in sme_encrypt_kernel()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dpsock_tpacket.c224 union frame_map ppd; in walk_v1_v2_rx() local
245 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx()
251 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx()
374 union frame_map ppd; in walk_tx() local
423 ppd.raw = next; in walk_tx()
547 struct tpacket3_hdr *ppd; in __v3_walk_block() local
555 bytes += ppd->tp_snaplen; in __v3_walk_block()
557 if (ppd->tp_next_offset) in __v3_walk_block()
560 bytes_with_padding += ALIGN_8(ppd->tp_snaplen + ppd->tp_mac); in __v3_walk_block()
562 test_payload((uint8_t *) ppd + ppd->tp_mac, ppd->tp_snaplen); in __v3_walk_block()
[all …]

Completed in 173 milliseconds

123