/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 101 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist() 124 struct qib_pportdata *ppd = from_tasklet(ppd, t, in sdma_sw_clean_up_task() local 170 static void sdma_hw_start_up(struct qib_pportdata *ppd) in sdma_hw_start_up() 181 static void sdma_sw_tear_down(struct qib_pportdata *ppd) in sdma_sw_tear_down() 189 static void sdma_start_sw_clean_up(struct qib_pportdata *ppd) in sdma_start_sw_clean_up() 194 static void sdma_set_state(struct qib_pportdata *ppd, in sdma_set_state() 230 static void unmap_desc(struct qib_pportdata *ppd, unsigned head) in unmap_desc() 245 static int alloc_sdma(struct qib_pportdata *ppd) in alloc_sdma() 284 static void free_sdma(struct qib_pportdata *ppd) in free_sdma() 305 static inline void make_sdma_desc(struct qib_pportdata *ppd, in make_sdma_desc() [all …]
|
D | qib_mad.c | 326 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo() local 346 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled() 351 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled() 356 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold() 368 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold() 375 static int get_phyerrthreshold(struct qib_pportdata *ppd) in get_phyerrthreshold() 387 static int set_phyerrthreshold(struct qib_pportdata *ppd, unsigned n) in set_phyerrthreshold() 400 static int get_linkdowndefaultstate(struct qib_pportdata *ppd) in get_linkdowndefaultstate() 458 struct qib_pportdata *ppd; in subn_get_portinfo() local 583 struct qib_pportdata *ppd = dd->pport + port - 1; in get_pkeys() local [all …]
|
D | qib_driver.c | 97 struct qib_pportdata *ppd; in qib_count_active_units() local 129 struct qib_pportdata *ppd; in qib_count_units() local 165 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() 193 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() 292 static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, in qib_rcv_hdrerr() 444 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive() local 599 int qib_set_mtu(struct qib_pportdata *ppd, u16 arg) in qib_set_mtu() 638 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() 668 struct qib_pportdata *ppd = from_timer(ppd, t, in qib_run_led_override() local 690 void qib_set_led_override(struct qib_pportdata *ppd, unsigned int val) in qib_set_led_override() [all …]
|
D | qib_iba7322.c | 626 struct qib_pportdata *ppd; member 848 static inline u64 qib_read_kreg_port(const struct qib_pportdata *ppd, in qib_read_kreg_port() 856 static inline void qib_write_kreg_port(const struct qib_pportdata *ppd, in qib_write_kreg_port() 896 static inline void write_7322_creg_port(const struct qib_pportdata *ppd, in write_7322_creg_port() 904 static inline u64 read_7322_creg_port(const struct qib_pportdata *ppd, in read_7322_creg_port() 913 static inline u32 read_7322_creg32_port(const struct qib_pportdata *ppd, in read_7322_creg32_port() 1317 static void qib_disarm_7322_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7322_senderrbufs() 1394 static void flush_fifo(struct qib_pportdata *ppd) in flush_fifo() 1441 static void qib_7322_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7322_sdma_sendctrl() 1503 static void qib_7322_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_clean_up() [all …]
|
D | qib_iba7220.c | 751 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs() 779 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl() 811 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs() 857 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up() 865 static void qib_sdma_7220_setlengen(struct qib_pportdata *ppd) in qib_sdma_7220_setlengen() 878 static void qib_7220_sdma_hw_start_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_start_up() 897 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7220_errors() 1049 struct qib_pportdata *ppd = &cpspec->pportdata; in reenable_7220_chase() local 1056 static void handle_7220_chase(struct qib_pportdata *ppd, u64 ibcst) in handle_7220_chase() 1099 struct qib_pportdata *ppd = dd->pport; in handle_7220_errors() local [all …]
|
D | qib_tx.c | 113 struct qib_pportdata *ppd; in is_sdma_buf() local 171 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set() local 451 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends() 512 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down() 527 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init() 541 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up() 551 struct qib_pportdata *ppd = from_timer(ppd, t, hol_timer); in qib_hol_event() local
|
D | qib_qsfp.c | 47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read() 157 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, in qib_qsfp_write() 253 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) in qsfp_cks() 273 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) in qib_refresh_qsfp_cache() 444 int qib_qsfp_mod_present(struct qib_pportdata *ppd) in qib_qsfp_mod_present() 488 int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) in qib_qsfp_dump()
|
D | qib_verbs.c | 273 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() local 667 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail) in qib_verbs_sdma_desc_avail() 778 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_verbs_send_dma() local 911 struct qib_pportdata *ppd = dd->pport + qp->port_num - 1; in qib_verbs_send_pio() local 1044 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords, in qib_snapshot_counters() 1075 int qib_get_counters(struct qib_pportdata *ppd, in qib_get_counters() 1196 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_query_port() local 1280 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in qib_shut_down_port() local 1291 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_get_guid_be() local 1325 struct qib_pportdata *ppd; in qib_notify_new_ah() local [all …]
|
D | qib_iba6120.c | 268 struct qib_pportdata *ppd; member 959 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs() 999 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors() local 1187 static void qib_set_ib_6120_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_6120_lstate() 1225 static int qib_6120_bringup_serdes(struct qib_pportdata *ppd) in qib_6120_bringup_serdes() 1365 static void qib_6120_quiet_serdes(struct qib_pportdata *ppd) in qib_6120_quiet_serdes() 1432 static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on) in qib_6120_setup_setextled() 2090 static void rcvctrl_6120_mod(struct qib_pportdata *ppd, unsigned int op, in rcvctrl_6120_mod() 2192 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op) in sendctrl_6120_mod() 2273 static u64 qib_portcntr_6120(struct qib_pportdata *ppd, u32 reg) in qib_portcntr_6120() [all …]
|
D | qib_init.c | 140 struct qib_pportdata *ppd; in qib_create_ctxts() local 165 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt, in qib_create_ctxtdata() 220 int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() 579 struct qib_pportdata *ppd; in qib_create_workqueues() local 608 static void qib_free_pportdata(struct qib_pportdata *ppd) in qib_free_pportdata() 638 struct qib_pportdata *ppd; in qib_init() local 798 struct qib_pportdata *ppd; in qib_stop_timers() local 829 struct qib_pportdata *ppd; in qib_shutdown_device() local 1137 struct qib_pportdata *ppd; in qib_disable_after_error() local
|
D | qib_intr.c | 72 static void signal_ib_event(struct qib_pportdata *ppd, enum ib_event_type ev) in signal_ib_event() 83 void qib_handle_e_ibstatuschanged(struct qib_pportdata *ppd, u64 ibcs) in qib_handle_e_ibstatuschanged() 175 struct qib_pportdata *ppd = from_timer(ppd, t, symerr_clear_timer); in qib_clear_symerror_on_linkup() local
|
D | qib_sysfs.c | 56 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in hrtbt_enable_show() local 66 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in hrtbt_enable_store() local 93 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in loopback_store() local 109 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in led_override_store() local 128 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in status_show() local 159 struct qib_pportdata *ppd = &dd->pport[port_num - 1]; in status_str_show() local 220 struct qib_pportdata *ppd = qib_get_pportdata_kobj(kobj); in cc_table_bin_read() local 255 struct qib_pportdata *ppd = qib_get_pportdata_kobj(kobj); in cc_setting_bin_read() local 288 struct qib_pportdata *ppd = qib_get_pportdata_kobj(kobj); in qib_ccmgta_is_bin_visible() local
|
D | qib_ud.c | 54 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_ud_loopback() local 236 struct qib_pportdata *ppd; in qib_make_ud_req() local 396 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_lookup_pkey() local
|
D | qib_user_sdma.c | 798 struct qib_pportdata *ppd, in qib_user_sdma_queue_pkts() 1055 static int qib_user_sdma_queue_clean(struct qib_pportdata *ppd, in qib_user_sdma_queue_clean() 1120 static int qib_user_sdma_hwqueue_clean(struct qib_pportdata *ppd) in qib_user_sdma_hwqueue_clean() 1133 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd, in qib_user_sdma_queue_drain() 1216 static void qib_user_sdma_send_frag(struct qib_pportdata *ppd, in qib_user_sdma_send_frag() 1243 void qib_user_sdma_send_desc(struct qib_pportdata *ppd, in qib_user_sdma_send_desc() 1329 static int qib_user_sdma_push_pkts(struct qib_pportdata *ppd, in qib_user_sdma_push_pkts() 1387 struct qib_pportdata *ppd = rcd->ppd; in qib_user_sdma_writev() local 1449 int qib_user_sdma_make_progress(struct qib_pportdata *ppd, in qib_user_sdma_make_progress()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | platform.c | 61 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields() local 163 void get_port_type(struct hfi1_pportdata *ppd) in get_port_type() 178 int set_qsfp_tx(struct hfi1_pportdata *ppd, int on) in set_qsfp_tx() 193 static int qual_power(struct hfi1_pportdata *ppd) in qual_power() 222 static int qual_bitrate(struct hfi1_pportdata *ppd) in qual_bitrate() 248 static int set_qsfp_high_power(struct hfi1_pportdata *ppd) in set_qsfp_high_power() 283 static void apply_rx_cdr(struct hfi1_pportdata *ppd, in apply_rx_cdr() 334 static void apply_tx_cdr(struct hfi1_pportdata *ppd, in apply_tx_cdr() 385 struct hfi1_pportdata *ppd, u32 rx_preset_index, in apply_cdr_settings() 399 static void apply_tx_eq_auto(struct hfi1_pportdata *ppd) in apply_tx_eq_auto() [all …]
|
D | qsfp.c | 274 static int __i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_write() 293 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write() 313 static int __i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, in __i2c_read() 332 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() 355 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_write() 411 int one_qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_write() 435 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() 488 int one_qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in one_qsfp_read() 516 int refresh_qsfp_cache(struct hfi1_pportdata *ppd, struct qsfp_data *cp) in refresh_qsfp_cache() 641 int qsfp_mod_present(struct hfi1_pportdata *ppd) in qsfp_mod_present() [all …]
|
D | init.c | 86 struct hfi1_pportdata *ppd) in hfi1_create_kctxt() 304 int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, in hfi1_create_ctxtdata() 483 void set_link_ipg(struct hfi1_pportdata *ppd) in set_link_ipg() 538 struct hfi1_pportdata *ppd; in cca_timer_fn() local 589 void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd, in hfi1_init_pportdata() 741 struct hfi1_pportdata *ppd; in create_workqueues() local 795 struct hfi1_pportdata *ppd; in destroy_workqueues() local 849 struct hfi1_pportdata *ppd; in hfi1_init() local 983 struct hfi1_pportdata *ppd; in stop_timers() local 1006 struct hfi1_pportdata *ppd; in shutdown_device() local [all …]
|
D | intr.c | 16 static void set_mgmt_allowed(struct hfi1_pportdata *ppd) in set_mgmt_allowed() 37 static void add_full_mgmt_pkey(struct hfi1_pportdata *ppd) in add_full_mgmt_pkey() 81 static void signal_ib_event(struct hfi1_pportdata *ppd, enum ib_event_type ev) in signal_ib_event() 112 struct hfi1_pportdata *ppd = &dd->pport[0]; in handle_linkup_change() local
|
D | ud.c | 34 struct hfi1_pportdata *ppd; in ud_loopback() local 271 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_9B() local 338 struct hfi1_pportdata *ppd; in hfi1_make_ud_req_16B() local 439 struct hfi1_pportdata *ppd; in hfi1_make_ud_req() local 557 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_idx() local 603 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp_16B() local 665 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in return_cnp() local 729 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in opa_smp_check() local 816 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_ud_rcv() local
|
D | verbs.c | 332 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_eager_rcv() local 386 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_kdeth_expected_rcv() local 438 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_do_pkey_check() local 458 struct hfi1_pportdata *ppd = rcd->ppd; in hfi1_handle_packet() local 806 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_dma() local 946 struct hfi1_pportdata *ppd = ps->ppd; in hfi1_verbs_send_pio() local 1116 int egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, in egress_pkey_check() 1373 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in query_port() local 1449 struct hfi1_pportdata *ppd = &dd->pport[port_num - 1]; in shut_down_port() local 1481 struct hfi1_pportdata *ppd; in hfi1_check_ah() local [all …]
|
D | debugfs.c | 477 struct hfi1_pportdata *ppd; in portcntrs_debugfs_read() local 503 struct hfi1_pportdata *ppd; in asic_flags_read() local 552 struct hfi1_pportdata *ppd; in asic_flags_write() local 598 struct hfi1_pportdata *ppd = private2ppd(file); in dc8051_memory_read() local 638 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_read() local 672 struct hfi1_pportdata *ppd = private2ppd(file); in debugfs_lcb_write() local 708 struct hfi1_pportdata *ppd; in qsfp_debugfs_dump() local 728 struct hfi1_pportdata *ppd; in __i2c_debugfs_write() local 782 struct hfi1_pportdata *ppd; in __i2c_debugfs_read() local 842 struct hfi1_pportdata *ppd; in __qsfp_debugfs_write() local [all …]
|
D | driver.c | 132 struct hfi1_pportdata *ppd; in hfi1_count_active_units() local 207 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr() 405 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_process_ecn_slowpath() local 1174 struct hfi1_pportdata *ppd = container_of(work, struct hfi1_pportdata, in receive_interrupt_work() local 1238 int set_mtu(struct hfi1_pportdata *ppd) in set_mtu() 1282 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid() 1295 void shutdown_led_override(struct hfi1_pportdata *ppd) in shutdown_led_override() 1318 struct hfi1_pportdata *ppd = from_timer(ppd, t, led_override_timer); in run_led_override() local 1344 void hfi1_start_led_override(struct hfi1_pportdata *ppd, unsigned int timeon, in hfi1_start_led_override() 1384 struct hfi1_pportdata *ppd; in hfi1_reset_device() local [all …]
|
D | mad.c | 61 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_lookup_pkey_value() local 256 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_create_qp0_ah() local 635 static void set_link_width_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_enabled() 640 static void set_link_width_downgrade_enabled(struct hfi1_pportdata *ppd, u32 w) in set_link_width_downgrade_enabled() 645 static void set_link_speed_enabled(struct hfi1_pportdata *ppd, u32 s) in set_link_speed_enabled() 760 struct hfi1_pportdata *ppd; in __subn_get_opa_portinfo() local 972 struct hfi1_pportdata *ppd = dd->pport + port - 1; in get_pkeys() local 1150 static int port_states_transition_allowed(struct hfi1_pportdata *ppd, in port_states_transition_allowed() 1198 static int set_port_states(struct hfi1_pportdata *ppd, struct opa_smp *smp, in set_port_states() 1316 struct hfi1_pportdata *ppd; in __subn_set_opa_portinfo() local [all …]
|
D | chip.c | 1477 struct hfi1_pportdata *ppd = context; in port_access_u32_csr() local 1487 struct hfi1_pportdata *ppd = context; in port_access_u64_csr() local 1527 struct hfi1_pportdata *ppd = context; in access_sw_link_dn_cnt() local 1537 struct hfi1_pportdata *ppd = context; in access_sw_link_up_cnt() local 1548 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_unknown_frame_cnt() local 1558 struct hfi1_pportdata *ppd = (struct hfi1_pportdata *)context; in access_sw_xmit_discards() local 1576 struct hfi1_pportdata *ppd = context; in access_xmit_constraint_errs() local 1588 struct hfi1_pportdata *ppd = context; in access_rcv_constraint_errs() local 5552 struct hfi1_pportdata *ppd = dd->pport; in update_rcverr_timer() local 5656 static inline void __count_port_discards(struct hfi1_pportdata *ppd) in __count_port_discards() [all …]
|
/linux-6.6.21/arch/x86/mm/ |
D | mem_encrypt_identity.c | 102 static void __init sme_clear_pgd(struct sme_populate_pgd_data *ppd) in sme_clear_pgd() 117 static pud_t __init *sme_prepare_pgd(struct sme_populate_pgd_data *ppd) in sme_prepare_pgd() 154 static void __init sme_populate_pgd_large(struct sme_populate_pgd_data *ppd) in sme_populate_pgd_large() 170 static void __init sme_populate_pgd(struct sme_populate_pgd_data *ppd) in sme_populate_pgd() 196 static void __init __sme_map_range_pmd(struct sme_populate_pgd_data *ppd) in __sme_map_range_pmd() 206 static void __init __sme_map_range_pte(struct sme_populate_pgd_data *ppd) in __sme_map_range_pte() 216 static void __init __sme_map_range(struct sme_populate_pgd_data *ppd, in __sme_map_range() 240 static void __init sme_map_range_encrypted(struct sme_populate_pgd_data *ppd) in sme_map_range_encrypted() 245 static void __init sme_map_range_decrypted(struct sme_populate_pgd_data *ppd) in sme_map_range_decrypted() 250 static void __init sme_map_range_decrypted_wp(struct sme_populate_pgd_data *ppd) in sme_map_range_decrypted_wp() [all …]
|