Lines Matching refs:qib_pportdata
61 static void qib_setup_7322_setextled(struct qib_pportdata *, u32);
63 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op);
74 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd,
76 static void force_h1(struct qib_pportdata *);
77 static void adj_tx_serdes(struct qib_pportdata *);
78 static u32 qib_7322_setpbc_control(struct qib_pportdata *, u32, u8, u8);
79 static void qib_7322_mini_pcs_reset(struct qib_pportdata *);
82 static void ibsd_wr_allchans(struct qib_pportdata *, int, unsigned, unsigned);
83 static void serdes_7322_los_enable(struct qib_pportdata *, int);
84 static int serdes_7322_init_old(struct qib_pportdata *);
85 static int serdes_7322_init_new(struct qib_pportdata *);
86 static void dump_sdma_7322_state(struct qib_pportdata *);
601 static void write_tx_serdes_param(struct qib_pportdata *, struct txdds_ent *);
626 struct qib_pportdata *ppd;
762 static void write_7322_init_portregs(struct qib_pportdata *);
763 static void setup_7322_link_recovery(struct qib_pportdata *, u32);
764 static void check_7322_rxe_status(struct qib_pportdata *);
765 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *, u64, u32 *);
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()
1508 static void qib_sdma_7322_setlengen(struct qib_pportdata *ppd) in qib_sdma_7322_setlengen()
1524 static void qib_sdma_update_7322_tail(struct qib_pportdata *ppd, u16 tail) in qib_sdma_update_7322_tail()
1535 static void qib_7322_sdma_hw_start_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_start_up()
1564 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors()
1725 struct qib_pportdata *ppd = cp->ppd; in reenable_chase()
1732 static void disable_chase(struct qib_pportdata *ppd, unsigned long tnow, in disable_chase()
1746 static void handle_serdes_issues(struct qib_pportdata *ppd, u64 ibcst) in handle_serdes_issues()
1828 static int qib_7322_set_ib_cfg(struct qib_pportdata *, int, u32);
1835 static noinline void handle_7322_p_errors(struct qib_pportdata *ppd) in handle_7322_p_errors()
2147 struct qib_pportdata *ppd = dd->pport; in qib_7322_handle_hwerrors()
2237 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_7322_lstate()
2294 static void set_vls(struct qib_pportdata *ppd) in set_vls()
2345 static int serdes_7322_init(struct qib_pportdata *ppd);
2351 static int qib_7322_bringup_serdes(struct qib_pportdata *ppd) in qib_7322_bringup_serdes()
2498 static void qib_7322_mini_quiet_serdes(struct qib_pportdata *ppd) in qib_7322_mini_quiet_serdes()
2592 static void qib_setup_7322_setextled(struct qib_pportdata *ppd, u32 on) in qib_setup_7322_setextled()
2695 static void qib_update_sdma_dca(struct qib_pportdata *ppd, int cpu) in qib_update_sdma_dca()
2776 struct qib_pportdata *ppd = (struct qib_pportdata *)n->arg; in qib_irq_notifier_notify()
2793 struct qib_pportdata *ppd = (struct qib_pportdata *)n->arg; in qib_irq_notifier_release()
2875 struct qib_pportdata *ppd0 = &dd->pport[0]; in sdma_7322_intr()
2876 struct qib_pportdata *ppd1 = &dd->pport[1]; in sdma_7322_intr()
2956 struct qib_pportdata *ppd; in unknown_7322_gpio_intr()
3197 struct qib_pportdata *ppd = data; in sdma_intr()
3224 struct qib_pportdata *ppd = data; in sdma_idle_intr()
3251 struct qib_pportdata *ppd = data; in sdma_progress_intr()
3279 struct qib_pportdata *ppd = data; in sdma_cleanup_intr()
3723 struct qib_pportdata *ppd = &dd->pport[i]; in qib_do_7322_reset()
3939 static int qib_7322_get_ib_cfg(struct qib_pportdata *ppd, int which) in qib_7322_get_ib_cfg()
4042 static int qib_7322_set_ib_cfg(struct qib_pportdata *ppd, int which, u32 val) in qib_7322_set_ib_cfg()
4297 static int qib_7322_set_loopback(struct qib_pportdata *ppd, const char *what) in qib_7322_set_loopback()
4332 static void get_vl_weights(struct qib_pportdata *ppd, unsigned regno, in get_vl_weights()
4347 static void set_vl_weights(struct qib_pportdata *ppd, unsigned regno, in set_vl_weights()
4373 static int qib_7322_get_ib_table(struct qib_pportdata *ppd, int which, void *t) in qib_7322_get_ib_table()
4390 static int qib_7322_set_ib_table(struct qib_pportdata *ppd, int which, void *t) in qib_7322_set_ib_table()
4457 static void rcvctrl_7322_mod(struct qib_pportdata *ppd, unsigned int op, in rcvctrl_7322_mod()
4597 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op) in sendctrl_7322_mod()
4707 static u64 qib_portcntr_7322(struct qib_pportdata *ppd, u32 reg) in qib_portcntr_7322()
5046 struct qib_pportdata *ppd = &dd->pport[port]; in qib_read_7322portcntrs()
5089 struct qib_pportdata *ppd; in qib_get_7322_faststats()
5161 static void qib_7322_mini_pcs_reset(struct qib_pportdata *ppd) in qib_7322_mini_pcs_reset()
5194 static void autoneg_7322_sendpkt(struct qib_pportdata *ppd, u32 *hdr, in autoneg_7322_sendpkt()
5233 static void qib_autoneg_7322_send(struct qib_pportdata *ppd, int which) in qib_autoneg_7322_send()
5291 static void set_7322_ibspeed_fast(struct qib_pportdata *ppd, u32 speed) in set_7322_ibspeed_fast()
5323 static void try_7322_autoneg(struct qib_pportdata *ppd) in try_7322_autoneg()
5344 struct qib_pportdata *ppd; in autoneg_7322_work()
5407 static void try_7322_ipg(struct qib_pportdata *ppd) in try_7322_ipg()
5467 struct qib_pportdata *ppd; in ipg_7322_work()
5507 static int qib_7322_ib_updown(struct qib_pportdata *ppd, int ibup, u64 ibcs) in qib_7322_ib_updown()
5820 struct qib_pportdata *ppd = NULL; in sendctrl_hook()
5909 static void init_txdds_table(struct qib_pportdata *ppd, int override);
5914 struct qib_pportdata *ppd; in qsfp_7322_event()
5994 static void qib_init_7322_qsfp(struct qib_pportdata *ppd) in qib_init_7322_qsfp()
6081 struct qib_pportdata *ppd = &dd->pport[pidx]; in set_no_qsfp_atten()
6179 struct qib_pportdata *ppd = dd->pport + n; in qib_late_7322_initreg()
6207 static void write_7322_init_portregs(struct qib_pportdata *ppd) in write_7322_init_portregs()
6261 struct qib_pportdata *ppd; in write_7322_initregs()
6345 struct qib_pportdata *ppd; in qib_init_7322_variables()
6352 ppd = (struct qib_pportdata *)(dd + 1); in qib_init_7322_variables()
6675 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf()
6695 static void qib_set_cntr_7322_sample(struct qib_pportdata *ppd, u32 intv, in qib_set_cntr_7322_sample()
6705 static void qib_sdma_set_7322_desc_cnt(struct qib_pportdata *ppd, unsigned cnt) in qib_sdma_set_7322_desc_cnt()
6713 static void dump_sdma_7322_state(struct qib_pportdata *ppd) in dump_sdma_7322_state()
6837 static void qib_7322_sdma_init_early(struct qib_pportdata *ppd) in qib_7322_sdma_init_early()
6842 static int init_sdma_7322_regs(struct qib_pportdata *ppd) in init_sdma_7322_regs()
6880 static u16 qib_sdma_7322_gethead(struct qib_pportdata *ppd) in qib_sdma_7322_gethead()
6925 static int qib_sdma_7322_busy(struct qib_pportdata *ppd) in qib_sdma_7322_busy()
6941 static u32 qib_7322_setpbc_control(struct qib_pportdata *ppd, u32 plen, in qib_7322_setpbc_control()
7166 NUM_IB_PORTS * sizeof(struct qib_pportdata) + in qib_init_iba7322_funcs()
7314 static void set_txdds(struct qib_pportdata *ppd, int ridx, in set_txdds()
7585 static void find_best_ent(struct qib_pportdata *ppd, in find_best_ent()
7656 static void init_txdds_table(struct qib_pportdata *ppd, int override) in init_txdds_table()
7777 static void ibsd_wr_allchans(struct qib_pportdata *ppd, int addr, unsigned data, in ibsd_wr_allchans()
7791 static void serdes_7322_los_enable(struct qib_pportdata *ppd, int enable) in serdes_7322_los_enable()
7808 static int serdes_7322_init(struct qib_pportdata *ppd) in serdes_7322_init()
7819 static int serdes_7322_init_old(struct qib_pportdata *ppd) in serdes_7322_init_old()
7918 static int serdes_7322_init_new(struct qib_pportdata *ppd) in serdes_7322_init_new()
8116 static void set_man_code(struct qib_pportdata *ppd, int chan, int code) in set_man_code()
8122 static void set_man_mode_h1(struct qib_pportdata *ppd, int chan, in set_man_mode_h1()
8134 static void clock_man(struct qib_pportdata *ppd, int chan) in clock_man()
8151 static void write_tx_serdes_param(struct qib_pportdata *ppd, in write_tx_serdes_param()
8185 static void adj_tx_serdes(struct qib_pportdata *ppd) in adj_tx_serdes()
8198 static void force_h1(struct qib_pportdata *ppd) in force_h1()
8399 static void setup_7322_link_recovery(struct qib_pportdata *ppd, u32 both) in setup_7322_link_recovery()
8433 static void check_7322_rxe_status(struct qib_pportdata *ppd) in check_7322_rxe_status()