| /drivers/media/rc/img-ir/ |
| A D | img-ir-sony.c | 54 struct img_ir_filter *out, u64 protocols) in img_ir_sony_filter() argument 67 protocols &= RC_PROTO_BIT_SONY12 | RC_PROTO_BIT_SONY15 | in img_ir_sony_filter() 75 if (!is_power_of_2(protocols)) { in img_ir_sony_filter() 77 protocols = RC_PROTO_BIT_SONY20; in img_ir_sony_filter() 79 protocols = RC_PROTO_BIT_SONY15; in img_ir_sony_filter() 81 protocols = RC_PROTO_BIT_SONY12; in img_ir_sony_filter() 84 if (protocols == RC_PROTO_BIT_SONY20) { in img_ir_sony_filter() 90 } else if (protocols == RC_PROTO_BIT_SONY15) { in img_ir_sony_filter()
|
| A D | img-ir-nec.c | 54 struct img_ir_filter *out, u64 protocols) in img_ir_nec_filter() argument 62 protocols &= RC_PROTO_BIT_NEC | RC_PROTO_BIT_NECX | RC_PROTO_BIT_NEC32; in img_ir_nec_filter() 69 if (!is_power_of_2(protocols)) { in img_ir_nec_filter() 71 protocols = RC_PROTO_BIT_NEC32; in img_ir_nec_filter() 73 protocols = RC_PROTO_BIT_NECX; in img_ir_nec_filter() 75 protocols = RC_PROTO_BIT_NEC; in img_ir_nec_filter() 78 if (protocols == RC_PROTO_BIT_NEC32) { in img_ir_nec_filter() 89 } else if (protocols == RC_PROTO_BIT_NECX) { in img_ir_nec_filter()
|
| A D | Kconfig | 19 testing, debug, and to make more protocols available. 36 NEC protocols in the ImgTec infrared decoder block.
|
| A D | img-ir-rc5.c | 40 struct img_ir_filter *out, u64 protocols) in img_ir_rc5_filter() argument
|
| A D | img-ir-rc6.c | 61 struct img_ir_filter *out, u64 protocols) in img_ir_rc6_filter() argument
|
| A D | img-ir-jvc.c | 29 struct img_ir_filter *out, u64 protocols) in img_ir_jvc_filter() argument
|
| /drivers/media/rc/ |
| A D | rc-ir-raw.c | 41 handler->protocols || !handler->protocols) in ir_raw_event_thread() 254 if ((dev->enabled_protocols & handler->protocols) && in change_protocol() 255 !(*rc_proto & handler->protocols) && in change_protocol() 266 if (handler->protocols & *rc_proto) { in change_protocol() 294 dev->enabled_protocols &= ~protocols; in ir_raw_disable_protocols() 530 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode() 672 (handler->protocols & dev->enabled_protocols)) in ir_raw_event_unregister() 705 u64 protocols = ir_raw_handler->protocols; in ir_raw_handler_unregister() local 711 (raw->dev->enabled_protocols & protocols)) in ir_raw_handler_unregister() 713 ir_raw_disable_protocols(raw->dev, protocols); in ir_raw_handler_unregister() [all …]
|
| A D | rc-main.c | 28 } protocols[] = { variable 723 if (protocol >= ARRAY_SIZE(protocols)) in repeat_period() 950 if (protocol >= ARRAY_SIZE(protocols)) in rc_validate_filter() 1205 *protocols |= mask; in parse_protocol_change() 1207 *protocols &= ~mask; in parse_protocol_change() 1209 *protocols = mask; in parse_protocol_change() 1220 void ir_raw_load_modules(u64 *protocols) in ir_raw_load_modules() argument 1238 *protocols &= ~proto_names[i].type; in ir_raw_load_modules() 1246 *protocols &= ~proto_names[i].type; in ir_raw_load_modules() 1257 *protocols &= ~proto_names[i].type; in ir_raw_load_modules() [all …]
|
| A D | rc-core-priv.h | 36 u64 protocols; /* which are handled by this handler */ member 315 void ir_raw_load_modules(u64 *protocols);
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | time_sync.c | 12 static int iwl_mld_init_time_sync(struct iwl_mld *mld, u32 protocols, in iwl_mld_init_time_sync() argument 21 time_sync->active_protocols = protocols; in iwl_mld_init_time_sync() 39 cmd.protocols = cpu_to_le32(time_sync->active_protocols); in iwl_mld_time_sync_fw_config() 52 int iwl_mld_time_sync_config(struct iwl_mld *mld, const u8 *addr, u32 protocols) in iwl_mld_time_sync_config() argument 69 if (protocols & ~(IWL_TIME_SYNC_PROTOCOL_TM | in iwl_mld_time_sync_config() 76 err = iwl_mld_init_time_sync(mld, protocols, addr); in iwl_mld_time_sync_config()
|
| A D | time_sync.h | 16 u32 protocols);
|
| /drivers/mailbox/ |
| A D | arm_mhuv2.c | 185 u32 *protocols; member 514 protocol = mhu->protocols[j]; in get_irq_chan_comb() 808 protocol = mhu->protocols[i]; in mhuv2_mbox_of_xlate() 809 windows = mhu->protocols[i + 1]; in mhuv2_mbox_of_xlate() 842 protocol = mhu->protocols[i]; in mhuv2_verify_protocol() 843 windows = mhu->protocols[i + 1]; in mhuv2_verify_protocol() 889 protocol = mhu->protocols[i]; in mhuv2_allocate_channels() 936 u32 *protocols; in mhuv2_parse_channels() local 945 protocols = devm_kmalloc_array(dev, count, sizeof(*protocols), GFP_KERNEL); in mhuv2_parse_channels() 946 if (!protocols) in mhuv2_parse_channels() [all …]
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | time-sync.c | 128 int iwl_mvm_time_sync_config(struct iwl_mvm *mvm, const u8 *addr, u32 protocols) in iwl_mvm_time_sync_config() argument 149 if (protocols & ~(IWL_TIME_SYNC_PROTOCOL_TM | in iwl_mvm_time_sync_config() 153 cmd.protocols = cpu_to_le32(protocols); in iwl_mvm_time_sync_config() 164 mvm->time_sync.active = protocols != 0; in iwl_mvm_time_sync_config()
|
| A D | time-sync.h | 17 u32 protocols);
|
| /drivers/firmware/arm_scmi/ |
| A D | Makefile | 10 scmi-protocols-y := base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o 11 scmi-protocols-y += pinctrl.o 12 scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
|
| /drivers/nfc/st-nci/ |
| A D | core.c | 117 u32 protocols; in st_nci_probe() local 124 protocols = NFC_PROTO_JEWEL_MASK in st_nci_probe() 133 ndlc->ndev = nci_allocate_device(&st_nci_ops, protocols, in st_nci_probe()
|
| /drivers/net/wwan/ |
| A D | Kconfig | 44 control protocols/ports to userspace, including AT, MBIM, QMI, DIAG 45 and FIREHOSE. These protocols can be accessed directly from userspace 82 different modem protocols/ports to userspace, including AT and QMI. 83 These protocols can be accessed directly from userspace
|
| /drivers/nfc/nfcmrvl/ |
| A D | main.c | 102 u32 protocols; in nfcmrvl_nci_register_dev() local 134 protocols = NFC_PROTO_JEWEL_MASK in nfcmrvl_nci_register_dev() 142 priv->ndev = nci_allocate_device(&nfcmrvl_nci_ops, protocols, in nfcmrvl_nci_register_dev()
|
| /drivers/nfc/pn533/ |
| A D | usb.c | 487 u32 protocols; in pn533_usb_probe() local 544 protocols = PN533_ALL_PROTOCOLS; in pn533_usb_probe() 548 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe() 552 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe() 587 rc = pn53x_register_nfc(priv, protocols, &interface->dev); in pn533_usb_probe()
|
| A D | pn533.h | 242 int pn532_i2c_nfc_alloc(struct pn533 *priv, u32 protocols, 244 int pn53x_register_nfc(struct pn533 *priv, u32 protocols,
|
| /drivers/soc/fsl/qe/ |
| A D | Kconfig | 23 protocols: UART, BISYNC, QMC 30 protocols: HDLC, Ethernet, ATM, transparent
|
| /drivers/ata/pata_parport/ |
| A D | pata_parport.c | 14 static DEFINE_IDR(protocols); 598 error = idr_alloc(&protocols, pr, 0, 0, GFP_KERNEL); in pata_parport_register_driver() 624 idr_for_each_entry(&protocols, pr_iter, id) { in pata_parport_unregister_driver() 628 idr_remove(&protocols, id); in pata_parport_unregister_driver() 679 idr_for_each_entry(&protocols, pr, pr_num) { in new_device_store() 742 idr_for_each_entry(&protocols, pr, pr_num) in pata_parport_attach()
|
| /drivers/nfc/ |
| A D | port100.c | 1104 const struct port100_protocol *protocols; in port100_in_set_framing() local 1114 protocols = in_protocols[param]; in port100_in_set_framing() 1117 while (protocols[num_protocols].number != PORT100_IN_PROT_END) in port100_in_set_framing() 1129 skb_put_data(skb, protocols, size); in port100_in_set_framing() 1261 const struct port100_protocol *protocols; in port100_tg_set_framing() local 1271 protocols = tg_protocols[param]; in port100_tg_set_framing() 1274 while (protocols[num_protocols].number != PORT100_TG_PROT_END) in port100_tg_set_framing() 1286 skb_put_data(skb, protocols, size); in port100_tg_set_framing()
|
| /drivers/infiniband/hw/mlx4/ |
| A D | Kconfig | 10 This is required to use InfiniBand protocols such as
|
| /drivers/infiniband/hw/mlx5/ |
| A D | Kconfig | 8 This is required to use InfiniBand protocols such as
|