Home
last modified time | relevance | path

Searched refs:led_chip (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/can/sja1000/
H A Dpeak_pci.c168 struct i2c_adapter led_chip; member
276 ret = i2c_transfer(&card->led_chip, &msg, 1); in peak_pciec_write_pca9553()
462 card->led_chip.owner = THIS_MODULE; in peak_pciec_probe()
463 card->led_chip.dev.parent = &pdev->dev; in peak_pciec_probe()
464 card->led_chip.algo_data = &card->i2c_bit; in peak_pciec_probe()
465 strncpy(card->led_chip.name, "peak_i2c", in peak_pciec_probe()
466 sizeof(card->led_chip.name)); in peak_pciec_probe()
475 err = i2c_bit_add_bus(&card->led_chip); in peak_pciec_probe()
498 i2c_del_adapter(&card->led_chip); in peak_pciec_probe()
511 i2c_del_adapter(&card->led_chip); in peak_pciec_remove()
/openbmc/linux/drivers/leds/
H A Dleds-lp50xx.c309 const struct lp50xx_chip_info *led_chip = led->priv->chip_info; in lp50xx_brightness_set() local
316 reg_val = led_chip->bank_brt_reg; in lp50xx_brightness_set()
318 reg_val = led_chip->led_brightness0_reg + in lp50xx_brightness_set()
330 reg_val = led_chip->bank_mix_reg + i; in lp50xx_brightness_set()
333 reg_val = led_chip->mix_out0_reg + led_offset; in lp50xx_brightness_set()