/linux-6.12.1/drivers/net/hamradio/ |
D | 6pack.c | 109 unsigned char led_state; member 143 sp->led_state = 0x70; in sp_xmit_on_air() 144 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air() 149 sp->led_state = 0x60; in sp_xmit_on_air() 150 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_xmit_on_air() 210 sp->led_state = 0x70; in sp_encaps() 211 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_encaps() 216 sp->led_state = 0x60; in sp_encaps() 217 sp->tty->ops->write(sp->tty, &sp->led_state, 1); in sp_encaps() 510 sp->led_state = 0x60; in resync_tnc() [all …]
|
/linux-6.12.1/drivers/hid/ |
D | hid-steelseries.c | 41 __u16 led_state; member 170 drv_data->led_state = 0; in steelseries_srws1_led_all_set_brightness() 172 drv_data->led_state = (1 << (SRWS1_NUMBER_LEDS + 1)) - 1; in steelseries_srws1_led_all_set_brightness() 174 steelseries_srws1_set_leds(hid, drv_data->led_state); in steelseries_srws1_led_all_set_brightness() 190 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; in steelseries_srws1_led_all_get_brightness() 210 state = (drv_data->led_state >> i) & 1; in steelseries_srws1_led_set_brightness() 212 drv_data->led_state &= ~(1 << i); in steelseries_srws1_led_set_brightness() 213 steelseries_srws1_set_leds(hid, drv_data->led_state); in steelseries_srws1_led_set_brightness() 215 drv_data->led_state |= 1 << i; in steelseries_srws1_led_set_brightness() 216 steelseries_srws1_set_leds(hid, drv_data->led_state); in steelseries_srws1_led_set_brightness() [all …]
|
D | hid-bigbenff.c | 179 u8 led_state; /* LED1 = 1 .. LED4 = 8 */ member 223 report_field->value[2] = bigben->led_state; in bigben_worker() 319 work = (bigben->led_state & BIT(n)); in bigben_set_led() 320 bigben->led_state &= ~BIT(n); in bigben_set_led() 322 work = !(bigben->led_state & BIT(n)); in bigben_set_led() 323 bigben->led_state |= BIT(n); in bigben_set_led() 350 return (bigben->led_state & BIT(n)) ? LED_ON : LED_OFF; in bigben_get_led() 451 bigben->led_state = BIT(0); in bigben_probe()
|
D | hid-picolcd_leds.c | 44 hid_set_field(report->field[0], 0, data->led_state); in picolcd_leds_set() 66 state = (data->led_state >> i) & 1; in picolcd_led_set_brightness() 68 data->led_state &= ~(1 << i); in picolcd_led_set_brightness() 71 data->led_state |= 1 << i; in picolcd_led_set_brightness() 90 value = (data->led_state >> i) & 1; in picolcd_led_get_brightness()
|
D | hid-sony.c | 508 u8 led_state[MAX_LEDS]; member 1223 memcpy(sc->led_state, sixaxis_leds[id], sizeof(sixaxis_leds[id])); in sixaxis_set_leds_from_id() 1238 value[1] = sc->led_state[0] ? 0xff : 0x00; in buzz_set_leds() 1239 value[2] = sc->led_state[1] ? 0xff : 0x00; in buzz_set_leds() 1240 value[3] = sc->led_state[2] ? 0xff : 0x00; in buzz_set_leds() 1241 value[4] = sc->led_state[3] ? 0xff : 0x00; in buzz_set_leds() 1282 (value != drv_data->led_state[n] || in sony_led_set_brightness() 1286 drv_data->led_state[n] = value; in sony_led_set_brightness() 1314 return drv_data->led_state[n]; in sony_led_get_brightness() 1401 memcpy(sc->led_state, navigation_leds, sizeof(navigation_leds)); in sony_leds_init() [all …]
|
D | hid-nvidia-shield.c | 157 enum thunderstrike_led_state led_state; member 220 u8 led_state : 1; member 431 return ts->led_state; in thunderstrike_led_get_brightness() 591 enum thunderstrike_led_state led_state) in thunderstrike_parse_led_payload() argument 595 switch (led_state) { in thunderstrike_parse_led_payload() 597 ts->led_state = 0; in thunderstrike_parse_led_payload() 600 ts->led_state = 1; in thunderstrike_parse_led_payload() 604 hid_dbg(shield_dev->hdev, "Thunderstrike led HOSTCMD response, 0x%02X\n", led_state); in thunderstrike_parse_led_payload() 759 thunderstrike_parse_led_payload(shield_dev, hostcmd_resp_report->led_state); in thunderstrike_parse_report()
|
D | hid-elan.c | 415 u8 led_state; in elan_mute_led_set_brigtness() local 425 led_state = !!value; in elan_mute_led_set_brigtness() 429 dmabuf[2] = led_state; in elan_mute_led_set_brigtness() 442 drvdata->mute_led_state = led_state; in elan_mute_led_set_brigtness()
|
D | hid-lg4ff.c | 71 u8 led_state; member 1144 state = (entry->wdata.led_state >> i) & 1; in lg4ff_led_set_brightness() 1146 entry->wdata.led_state &= ~(1 << i); in lg4ff_led_set_brightness() 1147 lg4ff_set_leds(hid, entry->wdata.led_state); in lg4ff_led_set_brightness() 1149 entry->wdata.led_state |= 1 << i; in lg4ff_led_set_brightness() 1150 lg4ff_set_leds(hid, entry->wdata.led_state); in lg4ff_led_set_brightness() 1178 value = (entry->wdata.led_state >> i) & 1; in lg4ff_led_get_brightness() 1395 entry->wdata.led_state = 0; in lg4ff_init()
|
D | hid-lenovo.c | 42 int led_state; member 1033 report->field[0]->value[0] = (data_pointer->led_state >> 0) & 1; in lenovo_led_set_tpkbd() 1034 report->field[0]->value[1] = (data_pointer->led_state >> 1) & 1; in lenovo_led_set_tpkbd() 1052 data_pointer->led_state &= ~(1 << led_nr); in lenovo_led_brightness_set() 1054 data_pointer->led_state |= 1 << led_nr; in lenovo_led_brightness_set()
|
D | hid-picolcd.h | 98 u8 led_state; member
|
/linux-6.12.1/drivers/net/fddi/skfp/ |
D | drvfbi.c | 389 u_short led_state ; in led_indication() local 400 led_state = 0 ; in led_indication() 404 led_state |= LED_MY_ON ; in led_indication() 407 led_state |= LED_MY_OFF ; in led_indication() 412 led_state |= LED_GA_ON ; in led_indication() 415 led_state |= LED_GA_OFF ; in led_indication() 420 led_state |= LED_GB_ON ; in led_indication() 423 led_state |= LED_GB_OFF ; in led_indication() 427 outp(ADDR(B0_LED), led_state) ; in led_indication()
|
/linux-6.12.1/drivers/net/phy/ |
D | mediatek-ge-soc.c | 307 unsigned long led_state; member 1141 changed = !test_and_set_bit(bit_on, &priv->led_state); in mt798x_phy_hw_led_on_set() 1143 changed = !!test_and_clear_bit(bit_on, &priv->led_state); in mt798x_phy_hw_led_on_set() 1146 (index ? 16 : 0), &priv->led_state); in mt798x_phy_hw_led_on_set() 1164 changed = !test_and_set_bit(bit_blink, &priv->led_state); in mt798x_phy_hw_led_blink_set() 1166 changed = !!test_and_clear_bit(bit_blink, &priv->led_state); in mt798x_phy_hw_led_blink_set() 1169 (index ? 16 : 0), &priv->led_state); in mt798x_phy_hw_led_blink_set() 1262 set_bit(bit_netdev, &priv->led_state); in mt798x_phy_led_hw_control_get() 1264 clear_bit(bit_netdev, &priv->led_state); in mt798x_phy_led_hw_control_get() 1267 set_bit(bit_on, &priv->led_state); in mt798x_phy_led_hw_control_get() [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | au8522_common.c | 171 if (state->led_state) in au8522_led_ctrl() 178 if (state->led_state != led) { in au8522_led_ctrl() 204 state->led_state = led; in au8522_led_ctrl()
|
D | au8522_priv.h | 57 unsigned int led_state; member
|
/linux-6.12.1/drivers/platform/x86/ |
D | asus-wireless.c | 30 int led_state; member 98 data->led_state, &ret); in led_state_update() 106 data->led_state = value == LED_OFF ? data->hswc_params->off : in led_state_set()
|
/linux-6.12.1/drivers/net/wireless/ath/carl9170/ |
D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) in carl9170_led_set_state() argument 45 return carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_DATA, led_state); in carl9170_led_set_state()
|
/linux-6.12.1/drivers/hwmon/pmbus/ |
D | ibm-cffps.c | 72 u8 led_state; member 355 if (psu->led_state != CFFPS_LED_BLINK) in ibm_cffps_led_brightness_set() 380 psu->led_state = next_led_state; in ibm_cffps_led_brightness_set() 411 psu->led_state = CFFPS_LED_BLINK; in ibm_cffps_led_blink_set()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.h | 16 u8 led_state; member
|
/linux-6.12.1/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 127 hw->led_state &= ~abs(led_bits); in set_led_bit() 129 hw->led_state |= led_bits; in set_led_bit() 132 hw->led_state |= abs(led_bits); in set_led_bit() 134 hw->led_state &= ~led_bits; in set_led_bit() 148 tmpled = hw->led_state; in handle_led() 183 if (hw->led_state != tmpled) { in handle_led() 187 HFCUSB_P_DATA, hw->led_state); in handle_led() 189 write_reg(hw, HFCUSB_P_DATA, hw->led_state); in handle_led() 1729 hw->led_state = 0; in setup_hfcsusb()
|
D | hfcsusb.h | 299 __u8 led_state; member
|
/linux-6.12.1/drivers/ata/ |
D | ahci_seattle.c | 116 emp->led_state = state; in seattle_transmit_led_message()
|
D | ahci.h | 302 unsigned long led_state; member
|
/linux-6.12.1/drivers/media/radio/si470x/ |
D | radio-si470x-usb.c | 310 unsigned char led_state) in si470x_set_led_state() argument 316 radio->usb_buf[2] = led_state; in si470x_set_led_state()
|
/linux-6.12.1/drivers/media/usb/dvb-usb/ |
D | af9005.c | 41 int led_state; member 787 if (st->led_state != temp) { in af9005_led_control() 800 st->led_state = temp; in af9005_led_control()
|
/linux-6.12.1/drivers/leds/ |
D | leds-bd2802.c | 61 struct led_state { struct 73 struct led_state led[2]; argument
|