Lines Matching refs:pvt_hwmon
134 static inline void pvt_set_mode(struct pvt_hwmon *pvt, u32 mode)
152 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim)
163 static inline void pvt_set_tout(struct pvt_hwmon *pvt, u32 tout)
207 struct pvt_hwmon *pvt = data;
290 static int pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
310 static int pvt_read_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
331 static int pvt_write_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
371 static int pvt_read_alarm(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
410 struct pvt_hwmon *pvt = data;
452 static int pvt_read_data(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
508 static int pvt_read_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
514 static int pvt_write_limit(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
520 static int pvt_read_alarm(struct pvt_hwmon *pvt, enum pvt_sensor_type type,
612 static int pvt_read_trim(struct pvt_hwmon *pvt, long *val)
622 static int pvt_write_trim(struct pvt_hwmon *pvt, long val)
643 static int pvt_read_timeout(struct pvt_hwmon *pvt, long *val)
659 static int pvt_write_timeout(struct pvt_hwmon *pvt, long val)
714 struct pvt_hwmon *pvt = dev_get_drvdata(dev);
798 struct pvt_hwmon *pvt = dev_get_drvdata(dev);
849 struct pvt_hwmon *pvt = data;
860 static struct pvt_hwmon *pvt_create_data(struct platform_device *pdev)
863 struct pvt_hwmon *pvt;
891 static int pvt_request_regs(struct pvt_hwmon *pvt)
904 struct pvt_hwmon *pvt = data;
909 static int pvt_request_clks(struct pvt_hwmon *pvt)
937 static int pvt_check_pwr(struct pvt_hwmon *pvt)
972 static int pvt_init_iface(struct pvt_hwmon *pvt)
1030 static int pvt_request_irq(struct pvt_hwmon *pvt)
1056 static int pvt_create_hwmon(struct pvt_hwmon *pvt)
1072 struct pvt_hwmon *pvt = data;
1081 static int pvt_enable_iface(struct pvt_hwmon *pvt)
1107 static int pvt_enable_iface(struct pvt_hwmon *pvt)
1116 struct pvt_hwmon *pvt;