Lines Matching refs:bh1780_data
40 struct bh1780_data {
47 static int bh1780_write(struct bh1780_data *ddata, u8 reg, u8 val, char *msg)
57 static int bh1780_read(struct bh1780_data *ddata, u8 reg, char *msg)
71 struct bh1780_data *ddata = platform_get_drvdata(pdev);
90 struct bh1780_data *ddata = platform_get_drvdata(pdev);
105 struct bh1780_data *ddata = platform_get_drvdata(pdev);
150 struct bh1780_data *ddata = NULL;
158 ddata = kzalloc(sizeof(struct bh1780_data), GFP_KERNEL);
189 struct bh1780_data *ddata;
201 struct bh1780_data *ddata;
222 struct bh1780_data *ddata;