pwm_opsRegular
4.4: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
4.8: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
4.10: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
4.13: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
4.15: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
4.18: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
5.0: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*dbg_show)(struct pwm_chip *, struct seq_file *);
struct module *owner;
};
5.3: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.4: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.8: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.11: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.13: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.15: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
5.19: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
6.2: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
int (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
};
6.5: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
int (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
};
6.8: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
int (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
};
arm64: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
armhf: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
ppc64el: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
riscv64: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
aws: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
azure: Absent ⚠️
gcp: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
lowlatency: ✅struct pwm_ops {
int (*request)(struct pwm_chip *, struct pwm_device *);
void (*free)(struct pwm_chip *, struct pwm_device *);
int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int);
int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *);
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *);
struct module *owner;
int (*config)(struct pwm_chip *, struct pwm_device *, int, int);
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity);
int (*enable)(struct pwm_chip *, struct pwm_device *);
void (*disable)(struct pwm_chip *, struct pwm_device *);
};
Regular
4.4 and 4.8 ⚠️int (*capture)(struct pwm_chip *, struct pwm_device *, struct pwm_capture *, long unsigned int)
int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *)
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *)
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ✅
5.0 and 5.3 ⚠️void (*dbg_show)(struct pwm_chip *, struct seq_file *)
5.3 and 5.4 ⚠️int (*apply)(struct pwm_chip *, struct pwm_device *, struct pwm_state *) ➡️ int (*apply)(struct pwm_chip *, struct pwm_device *, const struct pwm_state *)
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ⚠️int (*config)(struct pwm_chip *, struct pwm_device *, int, int)
int (*set_polarity)(struct pwm_chip *, struct pwm_device *, enum pwm_polarity)
int (*enable)(struct pwm_chip *, struct pwm_device *)
void (*disable)(struct pwm_chip *, struct pwm_device *)
void (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *) ➡️ int (*get_state)(struct pwm_chip *, struct pwm_device *, struct pwm_state *)
6.2 and 6.5 ✅
6.5 and 6.8 ⚠️struct module *owner
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and gcp ✅
generic and lowlatency ✅