Lines Matching refs:cb

24 extern u32 elink_cb_reg_read(struct elink_dev *cb, u32 reg_addr);
25 extern void elink_cb_reg_write(struct elink_dev *cb, u32 reg_addr, u32 val);
27 extern void elink_cb_reg_wb_write(struct elink_dev *cb, u32 offset,
29 extern void elink_cb_reg_wb_read(struct elink_dev *cb, u32 offset,
33 extern u8 elink_cb_gpio_write(struct elink_dev *cb,
36 extern u8 elink_cb_gpio_mult_write(struct elink_dev *cb,
40 extern u32 elink_cb_gpio_read(struct elink_dev *cb, u16 gpio_num, u8 port);
41 extern u8 elink_cb_gpio_int_write(struct elink_dev *cb,
45 extern u32 elink_cb_fw_command(struct elink_dev *cb, u32 command, u32 param);
48 extern void elink_cb_udelay(struct elink_dev *cb, u32 microsecond);
52 extern void elink_cb_download_progress(struct elink_dev *cb, u32 cur, u32 total);
72 extern void elink_cb_event_log(struct elink_dev *cb, const elink_log_id_t log_id, ...);
76 extern u8 elink_cb_path_id(struct elink_dev *cb);
78 extern void elink_cb_notify_link_changed(struct elink_dev *cb);
92 #define ELINK_DEBUG_P0(cb, fmt) DbgMessage(cb, WARNelink, fmt) argument
93 #define ELINK_DEBUG_P1(cb, fmt, arg1) DbgMessage(cb, WARNelink, fmt, arg1) argument
94 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) DbgMessage(cb, WARNelink, fmt, arg1, arg2) argument
95 #define ELINK_DEBUG_P3(cb, fmt, arg1, arg2, arg3) \ argument
96 DbgMessage(cb, WARNelink, fmt, arg1, arg2, arg3)
98 extern void elink_cb_dbg(struct elink_dev *cb, _In_ char *fmt);
99 extern void elink_cb_dbg1(struct elink_dev *cb, _In_ char *fmt, u32 arg1);
100 extern void elink_cb_dbg2(struct elink_dev *cb, _In_ char *fmt, u32 arg1, u32 arg2);
101 extern void elink_cb_dbg3(struct elink_dev *cb, _In_ char *fmt, u32 arg1, u32 arg2,
104 #define ELINK_DEBUG_P0(cb, fmt) elink_cb_dbg(cb, fmt) argument
105 #define ELINK_DEBUG_P1(cb, fmt, arg1) elink_cb_dbg1(cb, fmt, arg1) argument
106 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) elink_cb_dbg2(cb, fmt, arg1, arg2) argument
107 #define ELINK_DEBUG_P3(cb, fmt, arg1, arg2, arg3) \ argument
108 elink_cb_dbg3(cb, fmt, arg1, arg2, arg3)
112 #define ELINK_DEBUG_P0(cb, fmt) argument
113 #define ELINK_DEBUG_P1(cb, fmt, arg1) argument
114 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) argument
115 #define ELINK_DEBUG_P3(cb, fmt, arg1, arg2, arg3) argument
463 struct elink_dev *cb; member
577 elink_status_t elink_common_init_phy(struct elink_dev *cb, u32 shmem_base_path[],
581 void elink_ext_phy_hw_reset(struct elink_dev *cb, u8 port);
585 void elink_sfx7101_sp_sw_reset(struct elink_dev *cb, struct elink_phy *phy);
603 u8 elink_fan_failure_det_req(struct elink_dev *cb, u32 shmem_base,
699 void elink_init_mod_abs_int(struct elink_dev *cb, struct elink_vars *vars,
717 elink_status_t elink_pre_init_phy(struct elink_dev *cb,
732 void set_cfg_pin(struct elink_dev *cb, u32 pin_cfg, u32 val);
733 int get_cfg_pin(struct elink_dev *cb, u32 pin_cfg, u32 *val);