Lines Matching defs:data
98 static long cc2_rh_convert(u16 data) in cc2_rh_convert()
106 static u16 cc2_rh_to_reg(long data) in cc2_rh_to_reg()
112 static long cc2_temp_convert(u16 data) in cc2_temp_convert()
119 static int cc2_enable(struct cc2_data *data) in cc2_enable()
141 static void cc2_disable(struct cc2_data *data) in cc2_disable()
206 static int cc2_command_mode_start(struct cc2_data *data) in cc2_command_mode_start()
245 static int cc2_command_mode_finish(struct cc2_data *data) in cc2_command_mode_finish()
256 static int cc2_write_reg(struct cc2_data *data, u8 reg, u16 val) in cc2_write_reg()
289 static int cc2_read_reg(struct cc2_data *data, u8 reg, u16 *val) in cc2_read_reg()
321 static int cc2_get_reg_val(struct cc2_data *data, u8 reg, long *val) in cc2_get_reg_val()
338 u8 data[CC2_MEASUREMENT_DATA_LEN]; in cc2_data_fetch() local
368 static int cc2_read_measurement(struct cc2_data *data, in cc2_read_measurement()
394 static int cc2_measurement(struct cc2_data *data, enum hwmon_sensor_types type, in cc2_measurement()
418 static int cc2_read_hyst_and_measure(struct cc2_data *data, u8 reg, in cc2_read_hyst_and_measure()
442 static umode_t cc2_is_visible(const void *data, enum hwmon_sensor_types type, in cc2_is_visible()
479 static irqreturn_t cc2_ready_interrupt(int irq, void *data) in cc2_ready_interrupt()
489 static irqreturn_t cc2_low_interrupt(int irq, void *data) in cc2_low_interrupt()
502 static irqreturn_t cc2_high_interrupt(int irq, void *data) in cc2_high_interrupt()
515 static int cc2_humidity_min_alarm_status(struct cc2_data *data, long *val) in cc2_humidity_min_alarm_status()
535 static int cc2_humidity_max_alarm_status(struct cc2_data *data, long *val) in cc2_humidity_max_alarm_status()
558 struct cc2_data *data = dev_get_drvdata(dev); in cc2_read() local
606 struct cc2_data *data = dev_get_drvdata(dev); in cc2_write() local
654 static int cc2_request_ready_irq(struct cc2_data *data, struct device *dev) in cc2_request_ready_irq()
671 static int cc2_request_alarm_irqs(struct cc2_data *data, struct device *dev) in cc2_request_alarm_irqs()
725 struct cc2_data *data; in cc2_probe() local
767 struct cc2_data *data = i2c_get_clientdata(client); in cc2_remove() local