/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 125 static void clear_sdma_activelist(struct qib_pportdata *ppd) in clear_sdma_activelist() 148 struct qib_pportdata *ppd = (struct qib_pportdata *) opaque; in sdma_sw_clean_up_task() local 193 static void sdma_hw_start_up(struct qib_pportdata *ppd) in sdma_hw_start_up() 204 static void sdma_sw_tear_down(struct qib_pportdata *ppd) in sdma_sw_tear_down() 212 static void sdma_start_sw_clean_up(struct qib_pportdata *ppd) in sdma_start_sw_clean_up() 217 static void sdma_set_state(struct qib_pportdata *ppd, in sdma_set_state() 253 static void unmap_desc(struct qib_pportdata *ppd, unsigned head) in unmap_desc() 268 static int alloc_sdma(struct qib_pportdata *ppd) in alloc_sdma() 307 static void free_sdma(struct qib_pportdata *ppd) in free_sdma() 328 static inline void make_sdma_desc(struct qib_pportdata *ppd, in make_sdma_desc() [all …]
|
D | qib_mad.c | 325 struct qib_pportdata *ppd = dd->pport + pidx; in subn_get_guidinfo() local 345 static void set_link_width_enabled(struct qib_pportdata *ppd, u32 w) in set_link_width_enabled() 350 static void set_link_speed_enabled(struct qib_pportdata *ppd, u32 s) in set_link_speed_enabled() 355 static int get_overrunthreshold(struct qib_pportdata *ppd) in get_overrunthreshold() 367 static int set_overrunthreshold(struct qib_pportdata *ppd, unsigned n) in set_overrunthreshold() 374 static int get_phyerrthreshold(struct qib_pportdata *ppd) in get_phyerrthreshold() 386 static int set_phyerrthreshold(struct qib_pportdata *ppd, unsigned n) in set_phyerrthreshold() 399 static int get_linkdowndefaultstate(struct qib_pportdata *ppd) in get_linkdowndefaultstate() 455 struct qib_pportdata *ppd; in subn_get_portinfo() local 580 struct qib_pportdata *ppd = dd->pport + port - 1; in get_pkeys() local [all …]
|
D | qib_driver.c | 99 struct qib_pportdata *ppd; in qib_count_active_units() local 131 struct qib_pportdata *ppd; in qib_count_units() local 169 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() 197 int qib_set_linkstate(struct qib_pportdata *ppd, u8 newstate) in qib_set_linkstate() 296 static u32 qib_rcv_hdrerr(struct qib_ctxtdata *rcd, struct qib_pportdata *ppd, in qib_rcv_hdrerr() 448 struct qib_pportdata *ppd = rcd->ppd; in qib_kreceive() local 613 int qib_set_mtu(struct qib_pportdata *ppd, u16 arg) in qib_set_mtu() 652 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() 681 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in qib_run_led_override() local 702 void qib_set_led_override(struct qib_pportdata *ppd, unsigned int val) in qib_set_led_override() [all …]
|
D | qib_sysfs.c | 43 static ssize_t show_hrtbt_enb(struct qib_pportdata *ppd, char *buf) in show_hrtbt_enb() 53 static ssize_t store_hrtbt_enb(struct qib_pportdata *ppd, const char *buf, in store_hrtbt_enb() 77 static ssize_t store_loopback(struct qib_pportdata *ppd, const char *buf, in store_loopback() 90 static ssize_t store_led_override(struct qib_pportdata *ppd, const char *buf, in store_led_override() 107 static ssize_t show_status(struct qib_pportdata *ppd, char *buf) in show_status() 137 static ssize_t show_status_str(struct qib_pportdata *ppd, char *buf) in show_status_str() 216 struct qib_pportdata *ppd = in read_cc_table_bin() local 266 struct qib_pportdata *ppd = in read_cc_setting_bin() local 301 struct qib_pportdata *ppd = in qib_portattr_show() local 312 struct qib_pportdata *ppd = in qib_portattr_store() local [all …]
|
D | qib_iba7322.c | 598 struct qib_pportdata *ppd; member 787 static inline u64 qib_read_kreg_port(const struct qib_pportdata *ppd, in qib_read_kreg_port() 795 static inline void qib_write_kreg_port(const struct qib_pportdata *ppd, in qib_write_kreg_port() 835 static inline void write_7322_creg_port(const struct qib_pportdata *ppd, in write_7322_creg_port() 843 static inline u64 read_7322_creg_port(const struct qib_pportdata *ppd, in read_7322_creg_port() 852 static inline u32 read_7322_creg32_port(const struct qib_pportdata *ppd, in read_7322_creg32_port() 1271 static void qib_disarm_7322_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7322_senderrbufs() 1349 static void flush_fifo(struct qib_pportdata *ppd) in flush_fifo() 1396 static void qib_7322_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7322_sdma_sendctrl() 1458 static void qib_7322_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_clean_up() [all …]
|
D | qib_iba7220.c | 750 static void qib_disarm_7220_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7220_senderrbufs() 778 static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7220_sdma_sendctrl() 810 static void qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, in qib_decode_7220_sdma_errs() 856 static void qib_7220_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_clean_up() 864 static void qib_sdma_7220_setlengen(struct qib_pportdata *ppd) in qib_sdma_7220_setlengen() 877 static void qib_7220_sdma_hw_start_up(struct qib_pportdata *ppd) in qib_7220_sdma_hw_start_up() 896 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7220_errors() 1045 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in reenable_7220_chase() local 1051 static void handle_7220_chase(struct qib_pportdata *ppd, u64 ibcst) in handle_7220_chase() 1095 struct qib_pportdata *ppd = dd->pport; in handle_7220_errors() local [all …]
|
D | qib_qsfp.c | 47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read() 156 static int qib_qsfp_write(struct qib_pportdata *ppd, int addr, void *bp, in qib_qsfp_write() 251 static int qsfp_cks(struct qib_pportdata *ppd, int first, int next) in qsfp_cks() 271 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) in qib_refresh_qsfp_cache() 441 int qib_qsfp_mod_present(struct qib_pportdata *ppd) in qib_qsfp_mod_present() 496 int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) in qib_qsfp_dump()
|
D | qib_tx.c | 116 struct qib_pportdata *ppd; in is_sdma_buf() local 174 struct qib_pportdata *ppd, *pppd[QIB_MAX_IB_PORTS]; in qib_disarm_piobufs_set() local 456 void qib_cancel_sends(struct qib_pportdata *ppd) in qib_cancel_sends() 517 void qib_hol_down(struct qib_pportdata *ppd) in qib_hol_down() 532 void qib_hol_init(struct qib_pportdata *ppd) in qib_hol_init() 546 void qib_hol_up(struct qib_pportdata *ppd) in qib_hol_up() 556 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in qib_hol_event() local
|
D | qib_iba6120.c | 967 static void qib_disarm_6120_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_6120_senderrbufs() 1008 struct qib_pportdata *ppd = dd->pport; in handle_6120_errors() local 1200 static void qib_set_ib_6120_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_6120_lstate() 1238 static int qib_6120_bringup_serdes(struct qib_pportdata *ppd) in qib_6120_bringup_serdes() 1378 static void qib_6120_quiet_serdes(struct qib_pportdata *ppd) in qib_6120_quiet_serdes() 1446 static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on) in qib_6120_setup_setextled() 2131 static void rcvctrl_6120_mod(struct qib_pportdata *ppd, unsigned int op, in rcvctrl_6120_mod() 2233 static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op) in sendctrl_6120_mod() 2314 static u64 qib_portcntr_6120(struct qib_pportdata *ppd, u32 reg) in qib_portcntr_6120() 2593 struct qib_pportdata *ppd = &dd->pport[port]; in qib_read_6120portcntrs() local [all …]
|
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() 176 struct qib_pportdata *ppd = (struct qib_pportdata *)opaque; in qib_clear_symerror_on_linkup() local
|
D | qib_init.c | 139 struct qib_pportdata *ppd; in qib_create_ctxts() local 164 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt) in qib_create_ctxtdata() 207 void qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, in qib_init_pportdata() 578 struct qib_pportdata *ppd; in qib_create_workqueues() local 627 struct qib_pportdata *ppd; in qib_init() local 802 struct qib_pportdata *ppd; in qib_stop_timers() local 837 struct qib_pportdata *ppd; in qib_shutdown_device() local 1117 struct qib_pportdata *ppd; in qib_disable_after_error() local
|
D | qib_verbs.c | 610 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv() local 1032 void qib_verbs_sdma_desc_avail(struct qib_pportdata *ppd, unsigned avail) in qib_verbs_sdma_desc_avail() 1139 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_verbs_send_dma() local 1272 struct qib_pportdata *ppd = dd->pport + qp->port_num - 1; in qib_verbs_send_pio() local 1404 int qib_snapshot_counters(struct qib_pportdata *ppd, u64 *swords, in qib_snapshot_counters() 1435 int qib_get_counters(struct qib_pportdata *ppd, in qib_get_counters() 1601 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_query_port() local 1693 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_modify_port() local 1716 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_query_gid() local 1934 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_get_pkey() local [all …]
|
D | qib_ud.c | 52 struct qib_pportdata *ppd; in qib_ud_loopback() local 232 struct qib_pportdata *ppd; in qib_make_ud_req() local 390 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_lookup_pkey() local
|
D | qib_user_sdma.c | 565 static int qib_user_sdma_queue_clean(struct qib_pportdata *ppd, in qib_user_sdma_queue_clean() 613 static int qib_user_sdma_hwqueue_clean(struct qib_pportdata *ppd) in qib_user_sdma_hwqueue_clean() 626 void qib_user_sdma_queue_drain(struct qib_pportdata *ppd, in qib_user_sdma_queue_drain() 659 static inline __le64 qib_sdma_make_desc0(struct qib_pportdata *ppd, in qib_sdma_make_desc0() 693 static void qib_user_sdma_send_frag(struct qib_pportdata *ppd, in qib_user_sdma_send_frag() 716 static int qib_user_sdma_push_pkts(struct qib_pportdata *ppd, in qib_user_sdma_push_pkts() 812 struct qib_pportdata *ppd = rcd->ppd; in qib_user_sdma_writev() local 877 int qib_user_sdma_make_progress(struct qib_pportdata *ppd, in qib_user_sdma_make_progress()
|
D | qib_file_ops.c | 99 struct qib_pportdata *ppd = rcd->ppd; in qib_get_base_info() local 563 struct qib_pportdata *ppd = rcd->ppd; in qib_set_part_key() local 693 struct qib_pportdata *ppd = rcd->ppd; in qib_clean_part_key() local 1259 static int setup_ctxt(struct qib_pportdata *ppd, int ctxt, in setup_ctxt() 1306 static inline int usable(struct qib_pportdata *ppd) in usable() 1321 struct qib_pportdata *ppd = NULL; in choose_port_ctxt() local 1856 static int qib_sdma_get_complete(struct qib_pportdata *ppd, in qib_sdma_get_complete() 1912 int qib_set_uevent_bits(struct qib_pportdata *ppd, const int evtbit) in qib_set_uevent_bits()
|
D | qib_ruc.c | 247 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in get_sguid() local 720 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_do_send() local
|
D | qib_rc.c | 652 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_send_rc_ack() local 1406 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_rc_rcv_resp() local
|
D | qib_qsfp.h | 177 struct qib_pportdata *ppd; member
|
D | qib_sd7220.c | 123 static int qib_ibsd_ucode_loaded(struct qib_pportdata *ppd, in qib_ibsd_ucode_loaded() 1391 struct qib_pportdata *ppd = dd->pport; in qib_run_relock() local
|
D | qib_diag.c | 553 struct qib_pportdata *ppd; in qib_diagpkt_write() local
|
D | qib.h | 207 struct qib_pportdata *ppd; member 1184 static inline struct qib_devdata *dd_from_ppd(struct qib_pportdata *ppd) in dd_from_ppd() 1306 static inline int qib_sdma_empty(const struct qib_pportdata *ppd) in qib_sdma_empty() 1312 static inline u16 qib_sdma_descq_freecnt(const struct qib_pportdata *ppd) in qib_sdma_descq_freecnt() 1318 static inline int __qib_sdma_running(struct qib_pportdata *ppd) in __qib_sdma_running()
|