Home
last modified time | relevance | path

Searched refs:locomo_dev (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/leds/
Dleds-locomo.c23 struct locomo_dev *locomo_dev = LOCOMO_DEV(led_cdev->dev->parent); in locomoled_brightness_set() local
28 locomo_writel(LOCOMO_LPT_TOFH, locomo_dev->mapbase + offset); in locomoled_brightness_set()
30 locomo_writel(LOCOMO_LPT_TOFL, locomo_dev->mapbase + offset); in locomoled_brightness_set()
58 static int locomoled_probe(struct locomo_dev *ldev) in locomoled_probe()
/Linux-v4.19/arch/arm/include/asm/hardware/
Dlocomo.h171 struct locomo_dev { struct
182 #define LOCOMO_DEV(_d) container_of((_d), struct locomo_dev, dev) argument
190 int (*probe)(struct locomo_dev *);
191 int (*remove)(struct locomo_dev *);
198 void locomo_lcd_power(struct locomo_dev *, int, unsigned int);
210 void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int channel);
213 void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf);
/Linux-v4.19/drivers/video/backlight/
Dlocomolcd.c30 static struct locomo_dev *locomolcd_dev;
178 static int locomolcd_probe(struct locomo_dev *ldev) in locomolcd_probe()
215 static int locomolcd_remove(struct locomo_dev *dev) in locomolcd_remove()
/Linux-v4.19/arch/arm/common/
Dlocomo.c216 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_dev_release()
224 struct locomo_dev *dev; in locomo_init_one_child()
227 dev = kzalloc(sizeof(struct locomo_dev), GFP_KERNEL); in locomo_init_one_child()
535 static inline struct locomo *locomo_chip_driver(struct locomo_dev *ldev) in locomo_chip_driver()
662 void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int channel) in locomo_m62332_senddata()
796 void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf) in locomo_frontlight_set()
823 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_match()
831 struct locomo_dev *ldev = LOCOMO_DEV(dev); in locomo_bus_probe()
842 struct locomo_dev *ldev = LOCOMO_DEV(dev); in locomo_bus_remove()
/Linux-v4.19/arch/arm/mach-sa1100/
Dcollie.c194 static int collie_uart_probe(struct locomo_dev *dev) in collie_uart_probe()
199 static int collie_uart_remove(struct locomo_dev *dev) in collie_uart_remove()
/Linux-v4.19/drivers/input/keyboard/
Dlocomokbd.c239 static int locomokbd_probe(struct locomo_dev *dev) in locomokbd_probe()
322 static int locomokbd_remove(struct locomo_dev *dev) in locomokbd_remove()