| /linux/drivers/media/rc/img-ir/ |
| H 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()
|
| H 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()
|
| /linux/tools/testing/selftests/ir/ |
| H A D | ir_loopback.c | 47 } protocols[] = { variable 133 for (i = 0; i < ARRAY_SIZE(protocols); i++) { in main() 134 if (write(protocolfd, protocols[i].decoder, in main() 135 strlen(protocols[i].decoder)) == -1) in main() 139 protocols[i].name, protocols[i].decoder, in main() 140 i + 1, (int)ARRAY_SIZE(protocols)); in main() 143 unsigned int scancode = rand() & protocols[i].mask; in main() 144 unsigned int rc_proto = protocols[i].proto; in main()
|
| /linux/drivers/media/rc/ |
| H A D | rc-ir-raw.c | 41 handler->protocols || !handler->protocols) in ir_raw_event_thread() 250 if (!(dev->enabled_protocols & handler->protocols) && in change_protocol() 251 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol() 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() 291 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) in ir_raw_disable_protocols() argument 294 dev->enabled_protocols &= ~protocols; in ir_raw_disable_protocols() 530 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode() 599 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier() [all …]
|
| H A D | rc-main.c | 28 } protocols[] = { variable 723 if (protocol >= ARRAY_SIZE(protocols)) in repeat_period() 726 return protocols[protocol].repeat_period; in repeat_period() 950 if (protocol >= ARRAY_SIZE(protocols)) in rc_validate_filter() 953 mask = protocols[protocol].scancode_bits; in rc_validate_filter() 1159 static int parse_protocol_change(struct rc_dev *dev, u64 *protocols, in parse_protocol_change() argument 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 [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H 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()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H 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()
|
| /linux/drivers/firmware/arm_scmi/ |
| H 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)
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-rc | 18 What: /sys/class/rc/rc<N>/protocols 23 Reading this file returns a list of available protocols, 28 Enabled protocols are shown in [] brackets. 31 protocols. 34 protocols. 38 Writing "none" will disable all protocols. 80 Reading this file returns a list of available protocols to use
|
| H A D | sysfs-bus-hsi | 11 the protocols available in the system. Bus drivers implement 12 those protocols.
|
| /linux/net/nfc/ |
| H A D | digital_core.c | 483 tm_protocols, ddev->protocols); in digital_start_poll() 485 matching_im_protocols = ddev->protocols & im_protocols; in digital_start_poll() 486 matching_tm_protocols = ddev->protocols & tm_protocols; in digital_start_poll() 782 ddev->protocols |= NFC_PROTO_JEWEL_MASK; in nfc_digital_allocate_device() 784 ddev->protocols |= NFC_PROTO_MIFARE_MASK; in nfc_digital_allocate_device() 786 ddev->protocols |= NFC_PROTO_FELICA_MASK; in nfc_digital_allocate_device() 788 ddev->protocols |= NFC_PROTO_NFC_DEP_MASK; in nfc_digital_allocate_device() 790 ddev->protocols |= NFC_PROTO_ISO15693_MASK; in nfc_digital_allocate_device() 792 ddev->protocols |= NFC_PROTO_ISO14443_MASK; in nfc_digital_allocate_device() 794 ddev->protocols |= NFC_PROTO_ISO14443_B_MASK; in nfc_digital_allocate_device() [all …]
|
| /linux/drivers/nfc/st-nci/ |
| H 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()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto.c | 29 * IPVS protocols can only be registered/unregistered when the ipvs 62 * register an ipvs protocols netns related data 114 * unregister an ipvs protocols netns data 172 * Propagate event for state change to all protocols 342 char protocols[64] = { 0 }; in ip_vs_protocol_init() 346 strcat(protocols, ", "); \ in ip_vs_protocol_init() 347 strcat(protocols, (p)->name); \ in ip_vs_protocol_init() 365 pr_info("Registered protocols (%s)\n", &protocols[2]); in ip_vs_protocol_init() 376 /* unregister all the ipvs protocols */ in ip_vs_protocol_cleanup() 343 char protocols[64] = { 0 }; ip_vs_protocol_init() local [all...] |
| /linux/Documentation/userspace-api/media/rc/ |
| H A D | lirc-dev-intro.rst | 39 - ir-keytable: can load keymaps; allows you to set IR kernel protocols; load 72 bit is set in protocols that support it (e.g. rc-5 and rc-6), or 73 ``LIRC_SCANCODE_FLAG_REPEAT`` for when a repeat is received for protocols 83 pressing the same button". The rc-5 and rc-6 protocols have a toggle bit. 156 :ref:`IR protocols <Remote_controllers_Protocols>`, but there 157 are many protocols which are not supported. To support these, it is possible
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | names.c | 81 static struct protocol *protocols[HASHSZ] = { NULL, }; variable 132 p = protocols[hashnum((classid << 16) | (subclassid << 8) in names_protocol() 274 p = protocols[h]; in new_protocol() 286 p->next = protocols[h]; in new_protocol() 287 protocols[h] = p; in new_protocol()
|
| /linux/drivers/nfc/nfcmrvl/ |
| H 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()
|
| /linux/Documentation/misc-devices/ |
| H A D | amd-sbi.rst | 28 Register sets is common across APML protocols. IOCTL is providing synchronization 29 among protocols as transactions may create race condition. 40 * Differnet xfer protocols are defined:
|
| /linux/drivers/net/wwan/ |
| H 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
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | Kconfig | 23 protocols: UART, BISYNC, QMC 30 protocols: HDLC, Ethernet, ATM, transparent
|
| /linux/net/x25/ |
| H A D | Kconfig | 9 X.25 is a set of standardized network protocols, similar in scope to 16 protocols: the higher level Packet Layer Protocol (PLP) (say Y here
|
| /linux/drivers/ata/pata_parport/ |
| H 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()
|
| /linux/drivers/nfc/pn533/ |
| H 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,
|
| /linux/Documentation/networking/ |
| H A D | bareudp.rst | 12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel. 39 The multiproto mode allows bareudp tunnels to handle several protocols of the
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | corstone1000.dtsi | 144 arm,mhuv2-protocols = <0 0>; 156 arm,mhuv2-protocols = <0 0>;
|
| /linux/Documentation/i2c/ |
| H A D | summary.rst | 19 a subset of I2C protocols and signaling. Many I2C devices will work on an 20 SMBus, but some SMBus protocols add semantics beyond what is required to 26 use its protocols on many I2C systems. However, there are systems that don't
|