If CONFIG_PM is not set, the pm_ptr() will ensure that the struct dev_pm_ops and callbacks are removed without the need for __maybe_unused markings. In this case we can't simply use DEFINE_RUNTIME_DEV_PM_OPS() because that would provide suspend and resume functions without the checks...
206 int (*suspend)(struct device *dev, pm_message_t state); 207 int (*resume)(struct device *dev); 208 209 const struct kobj_ns_type_operations *ns_type; 210 const void *(*namespace)(struct device *dev); 211 212 const struct dev_pm_ops *pm; 213 214 struct subsys_private *p; ...
206 int (*suspend)(struct device *dev, pm_message_t state); 207 int (*resume)(struct device *dev); 208 209 const struct kobj_ns_type_operations *ns_type; 210 const void *(*namespace)(struct device *dev); 211 212 const struct dev_pm_ops *pm; 213 214 struct subsys_private *p; ...
int (*remove)(struct device *dev); void (*shutdown)(struct device *dev); int (*online)(struct device *dev); int (*offline)(struct device *dev); int (*suspend)(struct device *dev, pm_message_t state); int (*resume)(struct device *dev); const struct dev_pm_ops *pm; const str...
struct pm* next; const char* name; void(*init)(void); void(*deinit(void); void* condition; }; static struct pm pm_list; static uint8_t pm_num; static uint8_t pm_status; int pm_register(const struct pm* pm , const char* name) ...
void(*adjust_link)(struct net_device *dev); }; phy_driverstructphy_driver{ structmdio_driver_commonmdiodrv; u32 phy_id; char*name; u32 phy_id_mask; u32 features; u32 flags; constvoid*driver_data; int(*soft_reset)(struct phy_device *phydev); ...
AM and PM with "Convert.ToDateTime(string)" Am I missing something? Ambiguous match found when calling method with same name different parameter in unit testing an array of inherited classes An error "#endregion directive expected" in UIMap.cs when trying to build my CodedUI tests An error...
static int sysctl_pm_do_suspend(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *fpos) { int retval, mode; @@ -198,13 +198,13 @@ static int try_set_cmode(int new_cmode) } static int cmode_procctl(ctl_table *ctl, int write, struct file *filp, ...
struct tty_struct { int magic; struct kref kref; struct device *dev; // 对应的 tty_driver struct tty_driver *driver; // static const struct tty_operations uart_ops; const struct tty_operations *ops; int index; /* Protects ldisc changes: Lock tty not pty */ struct ld_semaphore ldisc_...
audio_dev_update_controls(9F) audio_dev_warn(9F) audio_engine_alloc(9F) audio_engine_free(9F) audio_engine_get_private(9F) audio_engine_set_private(9F) audio_fini_ops(9F) audio_init_ops(9F) backq(9F) bcanput(9F) bcanputnext(9F) bcmp(9F) bcopy(9F) bioaligned(9F) bioclone(9F) ...