Searched refs:led_num (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/leds/ |
D | leds-pca963x.c | 103 int led_num; /* 0 .. 15 potentially */ member 126 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness() 127 shift = 2 * (led->led_num % 4); in pca963x_brightness() 137 led->led_num, in pca963x_brightness() 152 led->led_num, in pca963x_brightness() 176 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink() 177 shift = 2 * (led->led_num % 4); in pca963x_blink() 208 set_bit(led->led_num, leds_on); in pca963x_power_state() 210 clear_bit(led->led_num, leds_on); in pca963x_power_state() 352 led->led_num = reg; in pca963x_register_leds()
|
D | leds-pca955x.c | 131 int led_num; /* 0 .. 15 potentially */ member 158 static inline u8 pca955x_ledsel(u8 oldval, int led_num, int state) in pca955x_ledsel() argument 160 return (oldval & (~(0x3 << (led_num << 1)))) | in pca955x_ledsel() 161 ((state & 0x3) << (led_num << 1)); in pca955x_ledsel() 263 ret = pca955x_read_ls(pca955x->client, pca955x_led->led_num / 4, &ls); in pca955x_led_get() 267 ls = (ls >> ((pca955x_led->led_num % 4) << 1)) & 0x3; in pca955x_led_get() 302 chip_ls = pca955x_led->led_num / 4; in pca955x_led_set() 303 ls_led = pca955x_led->led_num % 4; in pca955x_led_set() 401 pca955x_read_input(pca955x->client, led->led_num / 8, ®); in pca955x_gpio_get_value() 403 return !!(reg & (1 << (led->led_num % 8))); in pca955x_gpio_get_value() [all …]
|
/Linux-v6.1/drivers/media/pci/ddbridge/ |
D | ddbridge-hw.c | 117 .led_num = 1,
|
D | ddbridge.h | 111 u8 led_num; member
|
D | ddbridge-core.c | 2851 if (!dev->link[0].info->led_num) in ddb_set_led() 3153 if (dev->link[0].info->led_num) in ddb_device_attrs_del() 3180 if (dev->link[0].info->led_num) in ddb_device_attrs_add()
|
/Linux-v6.1/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()
|