Home
last modified time | relevance | path

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

/drivers/isdn/hisax/
Dhfc_usb.c63 signed short led_bits[8]; // array of 8 possible LED bitmask settings member
285 set_led_bit(hfcusb_data * hfc, signed short led_bits, int on) in set_led_bit() argument
288 if (led_bits < 0) in set_led_bit()
289 hfc->led_state &= ~abs(led_bits); in set_led_bit()
291 hfc->led_state |= led_bits; in set_led_bit()
293 if (led_bits < 0) in set_led_bit()
294 hfc->led_state |= abs(led_bits); in set_led_bit()
296 hfc->led_state &= ~led_bits; in set_led_bit()
313 set_led_bit(hfc, driver_info->led_bits[0], 1); in handle_led()
314 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