mid_pwr
static struct mid_pwr *midpwr;
static u32 mid_pwr_get_state(struct mid_pwr *pwr, int reg)
static void mid_pwr_set_state(struct mid_pwr *pwr, int reg, u32 value)
static void mid_pwr_set_wake(struct mid_pwr *pwr, int reg, u32 value)
static void mid_pwr_interrupt_disable(struct mid_pwr *pwr)
static bool mid_pwr_is_busy(struct mid_pwr *pwr)
static int mid_pwr_wait(struct mid_pwr *pwr)
static int mid_pwr_wait_for_cmd(struct mid_pwr *pwr, u8 cmd)
static int __update_power_state(struct mid_pwr *pwr, int reg, int bit, int new)
static int __set_power_state(struct mid_pwr *pwr, struct pci_dev *pdev,
static int mid_pwr_set_power_state(struct mid_pwr *pwr, struct pci_dev *pdev,
struct mid_pwr *pwr = midpwr;
struct mid_pwr *pwr = midpwr;
struct mid_pwr *pwr = midpwr;
struct mid_pwr *pwr = dev_id;
int (*set_initial_state)(struct mid_pwr *pwr);
struct mid_pwr *pwr;
static int mid_set_initial_state(struct mid_pwr *pwr, const u32 *states)
static int pnw_set_initial_state(struct mid_pwr *pwr)
static int tng_set_initial_state(struct mid_pwr *pwr)