Lines Matching refs:ucb
24 struct ucb1x00 *ucb = classdev_to_ucb1x00(dev); \
26 ucb1x00_adc_enable(ucb); \
27 val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \
28 ucb1x00_adc_disable(ucb); \
39 struct ucb1x00 *ucb = dev->ucb; in ucb1x00_assabet_add() local
50 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add()
60 pdev = platform_device_register_data(&ucb->dev, "gpio-keys", -1, in ucb1x00_assabet_add()
63 device_create_file(&ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_add()
64 device_create_file(&ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_add()
65 device_create_file(&ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_add()
78 device_remove_file(&dev->ucb->dev, &dev_attr_batt_temp); in ucb1x00_assabet_remove()
79 device_remove_file(&dev->ucb->dev, &dev_attr_vcharger); in ucb1x00_assabet_remove()
80 device_remove_file(&dev->ucb->dev, &dev_attr_vbatt); in ucb1x00_assabet_remove()