Lines Matching defs:ctrl
171 static inline u8 shpc_readb(struct controller *ctrl, int reg) in shpc_readb()
176 static inline u16 shpc_readw(struct controller *ctrl, int reg) in shpc_readw()
181 static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) in shpc_writew()
186 static inline u32 shpc_readl(struct controller *ctrl, int reg) in shpc_readl()
191 static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) in shpc_writel()
196 static inline int shpc_indirect_read(struct controller *ctrl, int index, in shpc_indirect_read()
214 struct controller *ctrl = from_timer(ctrl, t, poll_timer); in int_poll_timeout() local
228 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer()
238 static inline int is_ctrl_busy(struct controller *ctrl) in is_ctrl_busy()
248 static inline int shpc_poll_ctrl_busy(struct controller *ctrl) in shpc_poll_ctrl_busy()
265 static inline int shpc_wait_cmd(struct controller *ctrl) in shpc_wait_cmd()
289 struct controller *ctrl = slot->ctrl; in shpc_write_cmd() local
330 int shpchp_check_cmd_status(struct controller *ctrl) in shpchp_check_cmd_status()
361 struct controller *ctrl = slot->ctrl; in shpchp_get_attention_status() local
385 struct controller *ctrl = slot->ctrl; in shpchp_get_power_status() local
410 struct controller *ctrl = slot->ctrl; in shpchp_get_latch_status() local
420 struct controller *ctrl = slot->ctrl; in shpchp_get_adapter_status() local
431 struct controller *ctrl = slot->ctrl; in shpchp_get_prog_int() local
441 struct controller *ctrl = slot->ctrl; in shpchp_get_adapter_speed() local
493 struct controller *ctrl = slot->ctrl; in shpchp_query_power_fault() local
537 void shpchp_release_ctlr(struct controller *ctrl) in shpchp_release_ctlr()
614 static int shpc_get_cur_bus_speed(struct controller *ctrl) in shpc_get_cur_bus_speed()
686 struct controller *ctrl = slot->ctrl; in shpchp_set_bus_speed_mode() local
751 struct controller *ctrl = (struct controller *)dev_id; in shpc_isr() local
828 static int shpc_get_max_bus_speed(struct controller *ctrl) in shpc_get_max_bus_speed()
873 int shpc_init(struct controller *ctrl, struct pci_dev *pdev) in shpc_init()