Lines Matching defs:ctrl
186 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
191 static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) in shpc_writeb()
196 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
201 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
206 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
211 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
216 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
234 struct controller *ctrl = (struct controller *)data; in int_poll_timeout() local
249 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
261 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
271 static inline int shpc_poll_ctrl_busy(struct controller *ctrl) in shpc_poll_ctrl_busy()
288 static inline int shpc_wait_cmd(struct controller *ctrl) in shpc_wait_cmd()
312 struct controller *ctrl = slot->ctrl; in shpc_write_cmd() local
353 static int hpc_check_cmd_status(struct controller *ctrl) in hpc_check_cmd_status()
384 struct controller *ctrl = slot->ctrl; in hpc_get_attention_status() local
408 struct controller *ctrl = slot->ctrl; in hpc_get_power_status() local
433 struct controller *ctrl = slot->ctrl; in hpc_get_latch_status() local
443 struct controller *ctrl = slot->ctrl; in hpc_get_adapter_status() local
454 struct controller *ctrl = slot->ctrl; in hpc_get_prog_int() local
464 struct controller *ctrl = slot->ctrl; in hpc_get_adapter_speed() local
517 struct controller *ctrl = slot->ctrl; in hpc_get_mode1_ECC_cap() local
533 struct controller *ctrl = slot->ctrl; in hpc_query_power_fault() local
577 static void hpc_release_ctlr(struct controller *ctrl) in hpc_release_ctlr()
654 static int shpc_get_cur_bus_speed(struct controller *ctrl) in shpc_get_cur_bus_speed()
726 struct controller *ctrl = slot->ctrl; in hpc_set_bus_speed_mode() local
791 struct controller *ctrl = (struct controller *)dev_id; in shpc_isr() local
868 static int shpc_get_max_bus_speed(struct controller *ctrl) in shpc_get_max_bus_speed()
936 int shpc_init(struct controller *ctrl, struct pci_dev *pdev) in shpc_init()