Home
last modified time | relevance | path

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

/drivers/isdn/hisax/
Dhfc_usb.c63 signed short led_bits[8]; // array of 8 possible LED bitmask settings member
283 set_led_bit(hfcusb_data *hfc, signed short led_bits, int on) in set_led_bit() argument
286 if (led_bits < 0) in set_led_bit()
287 hfc->led_state &= ~abs(led_bits); in set_led_bit()
289 hfc->led_state |= led_bits; in set_led_bit()
291 if (led_bits < 0) in set_led_bit()
292 hfc->led_state |= abs(led_bits); in set_led_bit()
294 hfc->led_state &= ~led_bits; in set_led_bit()
311 set_led_bit(hfc, driver_info->led_bits[0], 1); in handle_led()
312 set_led_bit(hfc, driver_info->led_bits[1], 0); in handle_led()
[all …]
Dhfc_usb.h185 signed short led_bits[8]; // array of 8 possible LED bitmask settings member
/drivers/input/misc/
Dapanel.c63 u16 led_bits; member
118 i2c_smbus_write_word_data(ap->client, 0x10, ap->led_bits); in led_update()
127 ap->led_bits |= 0x8000; in mail_led_set()
129 ap->led_bits &= ~0x8000; in mail_led_set()
/drivers/isdn/hardware/mISDN/
Dhfcsusb.c136 set_led_bit(struct hfcsusb *hw, signed short led_bits, int set_on) in set_led_bit() argument
139 if (led_bits < 0) in set_led_bit()
140 hw->led_state &= ~abs(led_bits); in set_led_bit()
142 hw->led_state |= led_bits; in set_led_bit()
144 if (led_bits < 0) in set_led_bit()
145 hw->led_state |= abs(led_bits); in set_led_bit()
147 hw->led_state &= ~led_bits; in set_led_bit()
165 set_led_bit(hw, driver_info->led_bits[0], 1); in handle_led()
166 set_led_bit(hw, driver_info->led_bits[1], 0); in handle_led()
167 set_led_bit(hw, driver_info->led_bits[2], 0); in handle_led()
[all …]
Dhfcsusb.h311 signed short led_bits[8]; /* array of 8 possible LED bitmask */ member
/drivers/leds/
Dleds-bd2802.c54 enum led_bits { enum
100 enum led_bits state;
176 enum led_colors color, enum led_bits led_bit) in bd2802_update_state()
292 enum led_colors color, enum led_bits led_bit) in bd2802_turn_on()