Lines Matching defs:ctrl

172 static inline u8 shpc_readb(struct controller *ctrl, int reg)  in shpc_readb()
177 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
182 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
187 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
192 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
197 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
215 struct controller *ctrl = from_timer(ctrl, t, poll_timer); in int_poll_timeout() local
229 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
239 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
249 static inline int shpc_poll_ctrl_busy(struct controller *ctrl) in shpc_poll_ctrl_busy()
266 static inline int shpc_wait_cmd(struct controller *ctrl) in shpc_wait_cmd()
290 struct controller *ctrl = slot->ctrl; in shpc_write_cmd() local
331 static int hpc_check_cmd_status(struct controller *ctrl) in hpc_check_cmd_status()
362 struct controller *ctrl = slot->ctrl; in hpc_get_attention_status() local
386 struct controller *ctrl = slot->ctrl; in hpc_get_power_status() local
411 struct controller *ctrl = slot->ctrl; in hpc_get_latch_status() local
421 struct controller *ctrl = slot->ctrl; in hpc_get_adapter_status() local
432 struct controller *ctrl = slot->ctrl; in hpc_get_prog_int() local
442 struct controller *ctrl = slot->ctrl; in hpc_get_adapter_speed() local
495 struct controller *ctrl = slot->ctrl; in hpc_get_mode1_ECC_cap() local
511 struct controller *ctrl = slot->ctrl; in hpc_query_power_fault() local
555 static void hpc_release_ctlr(struct controller *ctrl) in hpc_release_ctlr()
632 static int shpc_get_cur_bus_speed(struct controller *ctrl) in shpc_get_cur_bus_speed()
704 struct controller *ctrl = slot->ctrl; in hpc_set_bus_speed_mode() local
769 struct controller *ctrl = (struct controller *)dev_id; in shpc_isr() local
846 static int shpc_get_max_bus_speed(struct controller *ctrl) in shpc_get_max_bus_speed()
914 int shpc_init(struct controller *ctrl, struct pci_dev *pdev) in shpc_init()