Searched refs:dpot_data (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/misc/
H A Dad525x_dpot.c84 struct dpot_data { struct
97 static inline int dpot_read_d8(struct dpot_data *dpot) dpot_read_d8()
102 static inline int dpot_read_r8d8(struct dpot_data *dpot, u8 reg) dpot_read_r8d8()
107 static inline int dpot_read_r8d16(struct dpot_data *dpot, u8 reg) dpot_read_r8d16()
112 static inline int dpot_write_d8(struct dpot_data *dpot, u8 val) dpot_write_d8()
117 static inline int dpot_write_r8d8(struct dpot_data *dpot, u8 reg, u16 val) dpot_write_r8d8()
122 static inline int dpot_write_r8d16(struct dpot_data *dpot, u8 reg, u16 val) dpot_write_r8d16()
127 static s32 dpot_read_spi(struct dpot_data *dpot, u8 reg) dpot_read_spi()
175 static s32 dpot_read_i2c(struct dpot_data *dpot, u8 reg) dpot_read_i2c()
231 static s32 dpot_read(struct dpot_data *dpot, u8 reg) dpot_read()
239 static s32 dpot_write_spi(struct dpot_data *dpot, u8 reg, u16 value) dpot_write_spi()
328 static s32 dpot_write_i2c(struct dpot_data *dpot, u8 reg, u16 value) dpot_write_i2c()
403 static s32 dpot_write(struct dpot_data *dpot, u8 reg, u16 value) dpot_write()
417 struct dpot_data *data = dev_get_drvdata(dev); sysfs_show_reg()
450 struct dpot_data *data = dev_get_drvdata(dev); sysfs_set_reg()
489 struct dpot_data *data = dev_get_drvdata(dev); sysfs_do_cmd()
687 struct dpot_data *data; ad_dpot_probe()
690 data = kzalloc(sizeof(struct dpot_data), GFP_KERNEL); ad_dpot_probe()
748 struct dpot_data *data = dev_get_drvdata(dev); ad_dpot_remove()
H A Dad525x_dpot.h195 struct dpot_data;

Completed in 75 milliseconds