Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/leds/
Dleds-pca963x.c103 int led_num; /* 0 .. 15 potentially */ member
125 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
126 shift = 2 * (led->led_num % 4); in pca963x_brightness()
142 led->led_num, in pca963x_brightness()
162 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink()
163 shift = 2 * (led->led_num % 4); in pca963x_blink()
193 set_bit(led->led_num, leds_on); in pca963x_power_state()
195 clear_bit(led->led_num, leds_on); in pca963x_power_state()
335 led->led_num = reg; in pca963x_register_leds()
Dleds-pca955x.c129 int led_num; /* 0 .. 15 potentially */ member
156 static inline u8 pca955x_ledsel(u8 oldval, int led_num, int state) in pca955x_ledsel() argument
158 return (oldval & (~(0x3 << (led_num << 1)))) | in pca955x_ledsel()
159 ((state & 0x3) << (led_num << 1)); in pca955x_ledsel()
252 chip_ls = pca955x_led->led_num / 4; in pca955x_led_set()
253 ls_led = pca955x_led->led_num % 4; in pca955x_led_set()
348 pca955x_read_input(pca955x->client, led->led_num / 8, &reg); in pca955x_gpio_get_value()
350 return !!(reg & (1 << (led->led_num % 8))); in pca955x_gpio_get_value()
487 pca955x_led->led_num = i; in pca955x_probe()
/Linux-v5.10/drivers/media/pci/ddbridge/
Dddbridge-hw.c126 .led_num = 1,
Dddbridge.h120 u8 led_num; member
Dddbridge-core.c2860 if (!dev->link[0].info->led_num) in ddb_set_led()
3162 if (dev->link[0].info->led_num) in ddb_device_attrs_del()
3189 if (dev->link[0].info->led_num) in ddb_device_attrs_add()
/Linux-v5.10/drivers/net/phy/mscc/
Dmscc_main.c173 u8 led_num, in vsc85xx_led_cntl_set() argument
181 reg_val &= ~LED_MODE_SEL_MASK(led_num); in vsc85xx_led_cntl_set()
182 reg_val |= LED_MODE_SEL(led_num, (u16)mode); in vsc85xx_led_cntl_set()