/drivers/input/keyboard/ |
D | iqs62x-keys.c | 39 struct iqs62x_switch_desc switches[ARRAY_SIZE(iqs62x_switch_names)]; member 70 for (i = 0; i < ARRAY_SIZE(iqs62x_keys->switches); i++) { in iqs62x_keys_parse_prop() 82 iqs62x_keys->switches[i].code = val; in iqs62x_keys_parse_prop() 83 iqs62x_keys->switches[i].enabled = true; in iqs62x_keys_parse_prop() 86 iqs62x_keys->switches[i].flag = (i == IQS62X_SW_HALL_N ? in iqs62x_keys_parse_prop() 90 iqs62x_keys->switches[i].flag = (i == IQS62X_SW_HALL_N ? in iqs62x_keys_parse_prop() 136 for (i = 0; i < ARRAY_SIZE(iqs62x_keys->switches); i++) { in iqs62x_keys_init() 137 if (!(iqs62x_keys->switches[i].enabled)) in iqs62x_keys_init() 140 flag = iqs62x_keys->switches[i].flag; in iqs62x_keys_init() 148 iqs62x_keys->switches[i].code, in iqs62x_keys_init() [all …]
|
D | cros_ec_keyb.c | 283 &ckdev->ec->event_data.data.switches); in cros_ec_keyb_work() 402 sizeof(event_data.switches)); in cros_ec_keyb_query_switches() 407 get_unaligned_le32(&event_data.switches)); in cros_ec_keyb_query_switches() 453 u32 switches; in cros_ec_keyb_register_bs() local 466 sizeof(event_data.switches)); in cros_ec_keyb_register_bs() 469 switches = get_unaligned_le32(&event_data.switches); in cros_ec_keyb_register_bs() 471 if (!buttons && !switches) in cros_ec_keyb_register_bs() 503 (map->ev_type == EV_SW && (switches & BIT(map->bit)))) in cros_ec_keyb_register_bs()
|
/drivers/rapidio/switches/ |
D | Kconfig | 3 # RapidIO switches configuration 6 tristate "IDT Tsi57x SRIO switches support" 8 Includes support for IDT Tsi57x family of serial RapidIO switches. 11 tristate "IDT CPS-xx SRIO switches support" 13 Includes support for IDT CPS-16/12/10/8 serial RapidIO switches. 25 Includes support for ITD CPS Gen.2 serial RapidIO switches. 31 Includes support for ITD RXS Gen.3 serial RapidIO switches.
|
/drivers/iio/proximity/ |
D | cros_ec_mkbp_proximity.c | 54 u32 switches = get_unaligned_le32(data); in cros_ec_mkbp_proximity_parse_state() local 56 return !!(switches & BIT(EC_MKBP_FRONT_PROXIMITY)); in cros_ec_mkbp_proximity_parse_state() 66 u32 switches; in cros_ec_mkbp_proximity_query() member 71 u32 *switches = &buf.switches; in cros_ec_mkbp_proximity_query() local 72 size_t insize = sizeof(*switches); in cros_ec_mkbp_proximity_query() 93 *state = cros_ec_mkbp_proximity_parse_state(switches); in cros_ec_mkbp_proximity_query() 129 void *switches; in cros_ec_mkbp_proximity_notify() local 136 switches = &ec->event_data.data.switches; in cros_ec_mkbp_proximity_notify() 137 state = cros_ec_mkbp_proximity_parse_state(switches); in cros_ec_mkbp_proximity_notify()
|
/drivers/platform/x86/intel/ |
D | hid.c | 171 struct input_dev *switches; member 445 priv->switches = devm_input_allocate_device(&device->dev); in intel_hid_switches_setup() 446 if (!priv->switches) in intel_hid_switches_setup() 449 __set_bit(EV_SW, priv->switches->evbit); in intel_hid_switches_setup() 450 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup() 452 priv->switches->name = "Intel HID switches"; in intel_hid_switches_setup() 453 priv->switches->id.bustype = BUS_HOST; in intel_hid_switches_setup() 454 return input_register_device(priv->switches); in intel_hid_switches_setup() 468 input_report_switch(priv->switches, SW_TABLET_MODE, m); in report_tablet_mode_state() 469 input_sync(priv->switches); in report_tablet_mode_state() [all …]
|
/drivers/net/dsa/b53/ |
D | Kconfig | 11 integrated switches. 17 Select to enable support for registering switches configured through SPI. 23 Select to enable support for registering switches configured through MDIO. 30 Select to enable support for memory-mapped switches like the BCM63XX 31 integrated switches.
|
/drivers/net/dsa/xrs700x/ |
D | Kconfig | 9 Ethernet switches. 18 switches. 26 switches.
|
/drivers/net/dsa/microchip/ |
D | Kconfig | 18 Select to enable support for registering switches configured through I2C. 25 Select to enable support for registering switches configured through SPI. 49 Select to enable support for registering switches configured through
|
/drivers/net/dsa/ |
D | Kconfig | 115 VSC7395 and VSC7398 SparX integrated ethernet switches. 123 and VSC7398 SparX integrated ethernet switches in SPI managed mode. 131 and VSC7398 SparX integrated ethernet switches, connected over
|
/drivers/staging/media/av7110/ |
D | sp8870.c | 449 static int switches; variable 503 switches++; in sp8870_set_frontend() 504 printk("%s: switches = %i lockups = %i\n", __func__, switches, lockups); in sp8870_set_frontend()
|
/drivers/rapidio/ |
D | Makefile | 11 obj-$(CONFIG_RAPIDIO) += switches/
|
/drivers/net/dsa/hirschmann/ |
D | Kconfig | 11 This driver adds support for Hirschmann Hellcreek TSN switches.
|
/drivers/net/mdio/ |
D | Kconfig | 101 controllers as well as some Broadcom Ethernet switches such as the 102 Starfighter 2 switches. 140 Marvell's Link Street family of Ethernet switches. 148 switches of the Microsemi SoCs; it is recommended to switch on
|
/drivers/ntb/hw/mscc/ |
D | Kconfig | 6 Enables NTB support for Switchtec PCI switches. This also
|
/drivers/pci/switch/ |
D | Kconfig | 10 Switchtec series of PCIe switches. Supports userspace access
|
/drivers/hid/ |
D | hid-google-hammer.c | 49 u32 switches = get_unaligned_le32(data); in cbas_parse_base_state() local 51 return !!(switches & BIT(EC_MKBP_BASE_ATTACHED)); in cbas_parse_base_state() 102 &ec->event_data.data.switches); in cbas_ec_notify()
|
/drivers/staging/unisys/visornic/ |
D | Kconfig | 14 s-Par switches will not work if this driver is not selected.
|
/drivers/usb/typec/mux/ |
D | Kconfig | 20 switches used with USB Type-C Alternate Modes.
|
/drivers/input/misc/ |
D | iqs269a.c | 294 struct iqs269_switch_desc switches[ARRAY_SIZE(iqs269_events)]; member 730 iqs269->switches[i].code = val; in iqs269_parse_chan() 731 iqs269->switches[i].enabled = true; in iqs269_parse_chan() 1124 sw_code = iqs269->switches[i].code; in iqs269_input_init() 1136 iqs269->switches[i].enabled) { in iqs269_input_init() 1259 sw_code = iqs269->switches[i].code; in iqs269_report() 1267 iqs269->switches[i].enabled) in iqs269_report()
|
/drivers/net/ethernet/mscc/ |
D | Kconfig | 22 This is a hardware support library for Ocelot network switches. It is
|
/drivers/thunderbolt/ |
D | icm.c | 400 struct icm_fr_pkg_get_topology_response *switches, *sw; in icm_fr_get_route() local 408 switches = kcalloc(npackets, sizeof(*switches), GFP_KERNEL); in icm_fr_get_route() 409 if (!switches) in icm_fr_get_route() 412 ret = icm_request(tb, &request, sizeof(request), switches, in icm_fr_get_route() 413 sizeof(*switches), npackets, ICM_RETRIES, ICM_TIMEOUT); in icm_fr_get_route() 417 sw = &switches[0]; in icm_fr_get_route() 424 sw = &switches[index]; in icm_fr_get_route() 436 sw = &switches[index]; in icm_fr_get_route() 445 kfree(switches); in icm_fr_get_route()
|
/drivers/ntb/hw/idt/ |
D | Kconfig | 7 This driver supports NTB of capable IDT PCIe-switches.
|
/drivers/mux/ |
D | Kconfig | 29 switches.
|
/drivers/net/ethernet/alteon/ |
D | Kconfig | 27 bytes/frame) however it requires that your switches can handle this
|
/drivers/media/dvb-core/ |
D | Kconfig | 13 reduces the number of context switches to read DVB buffers, as
|