Searched refs:led_num (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/leds/ |
D | leds-pca963x.c | 103 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()
|
D | leds-pca955x.c | 129 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, ®); 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/ |
D | ddbridge-hw.c | 126 .led_num = 1,
|
D | ddbridge.h | 120 u8 led_num; member
|
D | ddbridge-core.c | 2860 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/ |
D | mscc_main.c | 173 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()
|