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 *);
870 static inline u64 qib_read_kreg_port(const struct qib_pportdata *ppd, in qib_read_kreg_port()
878 static inline void qib_write_kreg_port(const struct qib_pportdata *ppd, in qib_write_kreg_port()
918 static inline void write_7322_creg_port(const struct qib_pportdata *ppd, in write_7322_creg_port()
926 static inline u64 read_7322_creg_port(const struct qib_pportdata *ppd, in read_7322_creg_port()
935 static inline u32 read_7322_creg32_port(const struct qib_pportdata *ppd, in read_7322_creg32_port()
1339 static void qib_disarm_7322_senderrbufs(struct qib_pportdata *ppd) in qib_disarm_7322_senderrbufs()
1416 static void flush_fifo(struct qib_pportdata *ppd) in flush_fifo()
1463 static void qib_7322_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) in qib_7322_sdma_sendctrl()
1525 static void qib_7322_sdma_hw_clean_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_clean_up()
1530 static void qib_sdma_7322_setlengen(struct qib_pportdata *ppd) in qib_sdma_7322_setlengen()
1546 static void qib_sdma_update_7322_tail(struct qib_pportdata *ppd, u16 tail) in qib_sdma_update_7322_tail()
1557 static void qib_7322_sdma_hw_start_up(struct qib_pportdata *ppd) in qib_7322_sdma_hw_start_up()
1586 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors()
1747 struct qib_pportdata *ppd = cp->ppd; in reenable_chase()
1754 static void disable_chase(struct qib_pportdata *ppd, unsigned long tnow, in disable_chase()
1768 static void handle_serdes_issues(struct qib_pportdata *ppd, u64 ibcst) in handle_serdes_issues()
1850 static int qib_7322_set_ib_cfg(struct qib_pportdata *, int, u32);
1857 static noinline void handle_7322_p_errors(struct qib_pportdata *ppd) in handle_7322_p_errors()
2169 struct qib_pportdata *ppd = dd->pport; in qib_7322_handle_hwerrors()
2259 static void qib_set_ib_7322_lstate(struct qib_pportdata *ppd, u16 linkcmd, in qib_set_ib_7322_lstate()
2316 static void set_vls(struct qib_pportdata *ppd) in set_vls()
2367 static int serdes_7322_init(struct qib_pportdata *ppd);
2373 static int qib_7322_bringup_serdes(struct qib_pportdata *ppd) in qib_7322_bringup_serdes()
2521 static void qib_7322_mini_quiet_serdes(struct qib_pportdata *ppd) in qib_7322_mini_quiet_serdes()
2615 static void qib_setup_7322_setextled(struct qib_pportdata *ppd, u32 on) in qib_setup_7322_setextled()
2718 static void qib_update_sdma_dca(struct qib_pportdata *ppd, int cpu) in qib_update_sdma_dca()
2799 struct qib_pportdata *ppd = (struct qib_pportdata *)n->arg; in qib_irq_notifier_notify()
2816 struct qib_pportdata *ppd = (struct qib_pportdata *)n->arg; in qib_irq_notifier_release()
2898 struct qib_pportdata *ppd0 = &dd->pport[0]; in sdma_7322_intr()
2899 struct qib_pportdata *ppd1 = &dd->pport[1]; in sdma_7322_intr()
2979 struct qib_pportdata *ppd; in unknown_7322_gpio_intr()
3220 struct qib_pportdata *ppd = data; in sdma_intr()
3247 struct qib_pportdata *ppd = data; in sdma_idle_intr()
3274 struct qib_pportdata *ppd = data; in sdma_progress_intr()
3302 struct qib_pportdata *ppd = data; in sdma_cleanup_intr()
3747 struct qib_pportdata *ppd = &dd->pport[i]; in qib_do_7322_reset()
3963 static int qib_7322_get_ib_cfg(struct qib_pportdata *ppd, int which) in qib_7322_get_ib_cfg()
4066 static int qib_7322_set_ib_cfg(struct qib_pportdata *ppd, int which, u32 val) in qib_7322_set_ib_cfg()
4321 static int qib_7322_set_loopback(struct qib_pportdata *ppd, const char *what) in qib_7322_set_loopback()
4356 static void get_vl_weights(struct qib_pportdata *ppd, unsigned regno, in get_vl_weights()
4371 static void set_vl_weights(struct qib_pportdata *ppd, unsigned regno, in set_vl_weights()
4397 static int qib_7322_get_ib_table(struct qib_pportdata *ppd, int which, void *t) in qib_7322_get_ib_table()
4414 static int qib_7322_set_ib_table(struct qib_pportdata *ppd, int which, void *t) in qib_7322_set_ib_table()
4481 static void rcvctrl_7322_mod(struct qib_pportdata *ppd, unsigned int op, in rcvctrl_7322_mod()
4621 static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op) in sendctrl_7322_mod()
4731 static u64 qib_portcntr_7322(struct qib_pportdata *ppd, u32 reg) in qib_portcntr_7322()
5070 struct qib_pportdata *ppd = &dd->pport[port]; in qib_read_7322portcntrs()
5113 struct qib_pportdata *ppd; in qib_get_7322_faststats()
5185 static void qib_7322_mini_pcs_reset(struct qib_pportdata *ppd) in qib_7322_mini_pcs_reset()
5218 static void autoneg_7322_sendpkt(struct qib_pportdata *ppd, u32 *hdr, in autoneg_7322_sendpkt()
5257 static void qib_autoneg_7322_send(struct qib_pportdata *ppd, int which) in qib_autoneg_7322_send()
5315 static void set_7322_ibspeed_fast(struct qib_pportdata *ppd, u32 speed) in set_7322_ibspeed_fast()
5347 static void try_7322_autoneg(struct qib_pportdata *ppd) in try_7322_autoneg()
5368 struct qib_pportdata *ppd; in autoneg_7322_work()
5431 static void try_7322_ipg(struct qib_pportdata *ppd) in try_7322_ipg()
5491 struct qib_pportdata *ppd; in ipg_7322_work()
5531 static int qib_7322_ib_updown(struct qib_pportdata *ppd, int ibup, u64 ibcs) in qib_7322_ib_updown()
5844 struct qib_pportdata *ppd = NULL; in sendctrl_hook()
5933 static void init_txdds_table(struct qib_pportdata *ppd, int override);
5938 struct qib_pportdata *ppd; in qsfp_7322_event()
6018 static void qib_init_7322_qsfp(struct qib_pportdata *ppd) in qib_init_7322_qsfp()
6105 struct qib_pportdata *ppd = &dd->pport[pidx]; in set_no_qsfp_atten()
6203 struct qib_pportdata *ppd = dd->pport + n; in qib_late_7322_initreg()
6231 static void write_7322_init_portregs(struct qib_pportdata *ppd) in write_7322_init_portregs()
6285 struct qib_pportdata *ppd; in write_7322_initregs()
6369 struct qib_pportdata *ppd; in qib_init_7322_variables()
6376 ppd = (struct qib_pportdata *)(dd + 1); in qib_init_7322_variables()
6706 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf()
6726 static void qib_set_cntr_7322_sample(struct qib_pportdata *ppd, u32 intv, in qib_set_cntr_7322_sample()
6736 static void qib_sdma_set_7322_desc_cnt(struct qib_pportdata *ppd, unsigned cnt) in qib_sdma_set_7322_desc_cnt()
6744 static void dump_sdma_7322_state(struct qib_pportdata *ppd) in dump_sdma_7322_state()
6868 static void qib_7322_sdma_init_early(struct qib_pportdata *ppd) in qib_7322_sdma_init_early()
6873 static int init_sdma_7322_regs(struct qib_pportdata *ppd) in init_sdma_7322_regs()
6911 static u16 qib_sdma_7322_gethead(struct qib_pportdata *ppd) in qib_sdma_7322_gethead()
6956 static int qib_sdma_7322_busy(struct qib_pportdata *ppd) in qib_sdma_7322_busy()
6972 static u32 qib_7322_setpbc_control(struct qib_pportdata *ppd, u32 plen, in qib_7322_setpbc_control()
7197 NUM_IB_PORTS * sizeof(struct qib_pportdata) + in qib_init_iba7322_funcs()
7345 static void set_txdds(struct qib_pportdata *ppd, int ridx, in set_txdds()
7616 static void find_best_ent(struct qib_pportdata *ppd, in find_best_ent()
7687 static void init_txdds_table(struct qib_pportdata *ppd, int override) in init_txdds_table()
7808 static void ibsd_wr_allchans(struct qib_pportdata *ppd, int addr, unsigned data, in ibsd_wr_allchans()
7822 static void serdes_7322_los_enable(struct qib_pportdata *ppd, int enable) in serdes_7322_los_enable()
7839 static int serdes_7322_init(struct qib_pportdata *ppd) in serdes_7322_init()
7850 static int serdes_7322_init_old(struct qib_pportdata *ppd) in serdes_7322_init_old()
7949 static int serdes_7322_init_new(struct qib_pportdata *ppd) in serdes_7322_init_new()
8147 static void set_man_code(struct qib_pportdata *ppd, int chan, int code) in set_man_code()
8153 static void set_man_mode_h1(struct qib_pportdata *ppd, int chan, in set_man_mode_h1()
8165 static void clock_man(struct qib_pportdata *ppd, int chan) in clock_man()
8182 static void write_tx_serdes_param(struct qib_pportdata *ppd, in write_tx_serdes_param()
8216 static void adj_tx_serdes(struct qib_pportdata *ppd) in adj_tx_serdes()
8229 static void force_h1(struct qib_pportdata *ppd) in force_h1()
8430 static void setup_7322_link_recovery(struct qib_pportdata *ppd, u32 both) in setup_7322_link_recovery()
8464 static void check_7322_rxe_status(struct qib_pportdata *ppd) in check_7322_rxe_status()