Home
last modified time | relevance | path

Searched refs:switches (Results 1 – 25 of 40) sorted by relevance

12

/drivers/input/keyboard/
Diqs62x-keys.c39 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()
83 iqs62x_keys->switches[i].code = val; in iqs62x_keys_parse_prop()
84 iqs62x_keys->switches[i].enabled = true; in iqs62x_keys_parse_prop()
87 iqs62x_keys->switches[i].flag = (i == IQS62X_SW_HALL_N ? in iqs62x_keys_parse_prop()
91 iqs62x_keys->switches[i].flag = (i == IQS62X_SW_HALL_N ? in iqs62x_keys_parse_prop()
139 for (i = 0; i < ARRAY_SIZE(iqs62x_keys->switches); i++) { in iqs62x_keys_init()
140 if (!(iqs62x_keys->switches[i].enabled)) in iqs62x_keys_init()
143 flag = iqs62x_keys->switches[i].flag; in iqs62x_keys_init()
151 iqs62x_keys->switches[i].code, in iqs62x_keys_init()
[all …]
Dcros_ec_keyb.c280 &ckdev->ec->event_data.data.switches); in cros_ec_keyb_work()
399 sizeof(event_data.switches)); in cros_ec_keyb_query_switches()
404 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/iio/proximity/
Dcros_ec_mkbp_proximity.c54 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/rapidio/switches/
DKconfig3 # RapidIO switches configuration
6 tristate "IDT CPS-xx SRIO switches support"
8 Includes support for IDT CPS-16/12/10/8 serial RapidIO switches.
14 Includes support for ITD CPS Gen.2 serial RapidIO switches.
20 Includes support for ITD RXS Gen.3 serial RapidIO switches.
/drivers/platform/x86/intel/
Dhid.c164 struct input_dev *switches; member
438 priv->switches = devm_input_allocate_device(&device->dev); in intel_hid_switches_setup()
439 if (!priv->switches) in intel_hid_switches_setup()
442 __set_bit(EV_SW, priv->switches->evbit); in intel_hid_switches_setup()
443 __set_bit(SW_TABLET_MODE, priv->switches->swbit); in intel_hid_switches_setup()
445 priv->switches->name = "Intel HID switches"; in intel_hid_switches_setup()
446 priv->switches->id.bustype = BUS_HOST; in intel_hid_switches_setup()
447 return input_register_device(priv->switches); in intel_hid_switches_setup()
461 input_report_switch(priv->switches, SW_TABLET_MODE, m); in report_tablet_mode_state()
462 input_sync(priv->switches); in report_tablet_mode_state()
[all …]
/drivers/net/dsa/b53/
DKconfig11 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/
DKconfig9 Ethernet switches.
18 switches.
26 switches.
/drivers/net/dsa/microchip/
DKconfig15 Select to enable support for registering switches configured through I2C.
22 Select to enable support for registering switches configured through SPI.
29 Select to enable support for registering switches configured through
/drivers/net/dsa/realtek/
DKconfig25 Select to enable support for registering switches configured
35 Select to enable support for registering switches connected
/drivers/net/dsa/
DKconfig107 VSC7395 and VSC7398 SparX integrated ethernet switches.
115 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
123 and VSC7398 SparX integrated ethernet switches, connected over
/drivers/staging/media/deprecated/saa7146/av7110/
Dsp8870.c449 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/
DMakefile11 obj-$(CONFIG_RAPIDIO) += switches/
/drivers/net/dsa/hirschmann/
DKconfig11 This driver adds support for Hirschmann Hellcreek TSN switches.
/drivers/ntb/hw/mscc/
DKconfig6 Enables NTB support for Switchtec PCI switches. This also
/drivers/pci/switch/
DKconfig10 Switchtec series of PCIe switches. Supports userspace access
/drivers/hid/
Dhid-google-hammer.c51 u32 switches = get_unaligned_le32(data); in cbas_parse_base_state() local
53 return !!(switches & BIT(EC_MKBP_BASE_ATTACHED)); in cbas_parse_base_state()
104 &ec->event_data.data.switches); in cbas_ec_notify()
/drivers/net/mdio/
DKconfig101 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/input/misc/
Diqs269a.c294 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/
DKconfig22 This is a hardware support library for Ocelot network switches. It is
/drivers/thunderbolt/
Dicm.c400 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/usb/typec/mux/
DKconfig30 switches used with USB Type-C Alternate Modes.
/drivers/ntb/hw/idt/
DKconfig7 This driver supports NTB of capable IDT PCIe-switches.
/drivers/mux/
DKconfig29 switches.
/drivers/net/ethernet/alteon/
DKconfig27 bytes/frame) however it requires that your switches can handle this
/drivers/media/dvb-core/
DKconfig13 reduces the number of context switches to read DVB buffers, as

12