Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/leds/
Dleds-pca963x.c110 int led_num; /* 0 .. 15 potentially */ member
120 + (pca963x->led_num / 4); in pca963x_brightness()
122 int shift = 2 * (pca963x->led_num % 4); in pca963x_brightness()
139 PCA963X_PWM_BASE + pca963x->led_num, in pca963x_brightness()
155 (pca963x->led_num / 4); in pca963x_blink()
159 int shift = 2 * (pca963x->led_num % 4); in pca963x_blink()
186 set_bit(pca963x->led_num, leds_on); in pca963x_power_state()
188 clear_bit(pca963x->led_num, leds_on); in pca963x_power_state()
403 pca963x[i].led_num = i; in pca963x_probe()
Dleds-pca955x.c122 int led_num; /* 0 .. 15 potentially */ member
149 static inline u8 pca955x_ledsel(u8 oldval, int led_num, int state) in pca955x_ledsel() argument
151 return (oldval & (~(0x3 << (led_num << 1)))) | in pca955x_ledsel()
152 ((state & 0x3) << (led_num << 1)); in pca955x_ledsel()
245 chip_ls = pca955x_led->led_num / 4; in pca955x_led_set()
246 ls_led = pca955x_led->led_num % 4; in pca955x_led_set()
341 pca955x_read_input(pca955x->client, led->led_num / 8, &reg); in pca955x_gpio_get_value()
343 return !!(reg & (1 << (led->led_num % 8))); in pca955x_gpio_get_value()
479 pca955x_led->led_num = i; in pca955x_probe()
/Linux-v5.4/drivers/media/pci/ddbridge/
Dddbridge-hw.c126 .led_num = 1,
Dddbridge.h120 u8 led_num; member
Dddbridge-core.c2859 if (!dev->link[0].info->led_num) in ddb_set_led()
3161 if (dev->link[0].info->led_num) in ddb_device_attrs_del()
3188 if (dev->link[0].info->led_num) in ddb_device_attrs_add()
/Linux-v5.4/drivers/net/phy/
Dmscc.c498 u8 led_num, in vsc85xx_led_cntl_set() argument
506 reg_val &= ~LED_MODE_SEL_MASK(led_num); in vsc85xx_led_cntl_set()
507 reg_val |= LED_MODE_SEL(led_num, (u16)mode); in vsc85xx_led_cntl_set()