Searched refs:led_mask (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/leds/ |
D | leds-powernv.c | 80 u64 led_mask, led_value = 0; in powernv_led_set() local 88 led_mask = OPAL_SLOT_LED_STATE_ON << powernv_led->led_type; in powernv_led_set() 90 led_value = led_mask; in powernv_led_set() 102 led_mask, led_value, &max_type); in powernv_led_set() 135 u64 led_mask, led_value; in powernv_led_get() local 152 led_mask = be64_to_cpu(mask); in powernv_led_get() 156 if (!((led_mask >> powernv_led->led_type) & OPAL_SLOT_LED_STATE_ON)) { in powernv_led_get()
|
/linux-6.6.21/drivers/net/can/sja1000/ |
D | peak_pcmcia.c | 341 static void pcan_set_leds(struct pcan_pccard *card, u8 led_mask, u8 state) in pcan_set_leds() argument 347 if (led_mask & PCC_LED(i)) { in pcan_set_leds() 469 u8 led_mask = 0; in pcan_free_channels() local 475 led_mask |= PCC_LED(i); in pcan_free_channels() 492 pcan_set_leds(card, led_mask, PCC_LED_OFF); in pcan_free_channels()
|
D | peak_pci.c | 333 static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) in peak_pciec_set_leds() argument 340 if (led_mask & PCA9553_LED(i)) { in peak_pciec_set_leds()
|
/linux-6.6.21/drivers/platform/x86/dell/ |
D | alienware-wmi.c | 197 u32 led_mask; member 212 u32 led_mask; member 289 wmax_basic_args.led_mask = 1 << zone->location; in alienware_update_led() 358 .led_mask = 0xFF, in wmax_brightness()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | sun4d_smp.c | 372 static char led_mask[] = { 0xe, 0xd, 0xb, 0x7, 0xb, 0xd }; in smp4d_percpu_timer_interrupt() local 382 cpu_leds[cpu] = led_mask[cpu_tick[cpu] >> 4]; in smp4d_percpu_timer_interrupt()
|
/linux-6.6.21/drivers/leds/flash/ |
D | leds-qcom-flash.c | 154 u8 led_mask = 0, enable; in set_flash_module_en() local 158 led_mask |= BIT(led->chan_id[i]); in set_flash_module_en() 162 flash_data->chan_en_bits |= led_mask; in set_flash_module_en() 164 flash_data->chan_en_bits &= ~led_mask; in set_flash_module_en()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | opal.h | 212 int64_t opal_leds_get_ind(char *loc_code, __be64 *led_mask, 214 int64_t opal_leds_set_ind(uint64_t token, char *loc_code, const u64 led_mask,
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 1403 const u16 led_mask = 0x0F; in igb_id_led_init() local 1420 temp = (data >> (i << 2)) & led_mask; in igb_id_led_init()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 1474 const u16 led_mask = 0x0F; in e1000e_id_led_init_generic() local 1485 temp = (data >> (i << 2)) & led_mask; in e1000e_id_led_init_generic()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4419 const u16 led_mask = 0x0F; in e1000_id_led_init() local 4442 temp = (eeprom_data >> (i << 2)) & led_mask; in e1000_id_led_init()
|