Home
last modified time | relevance | path

Searched refs:protocols (Results 1 – 25 of 205) sorted by relevance

123456789

/linux/drivers/media/rc/img-ir/
A Dimg-ir-sony.c54 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 Dimg-ir-nec.c54 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/
A Dir_loopback.c38 } protocols[] = { variable
124 for (i = 0; i < ARRAY_SIZE(protocols); i++) { in main()
125 if (write(protocolfd, protocols[i].decoder, in main()
126 strlen(protocols[i].decoder)) == -1) in main()
130 protocols[i].name, protocols[i].decoder, in main()
131 i + 1, (int)ARRAY_SIZE(protocols)); in main()
134 unsigned int scancode = rand() & protocols[i].mask; in main()
135 unsigned int rc_proto = protocols[i].proto; in main()
/linux/drivers/media/rc/
A Drc-ir-raw.c43 handler->protocols || !handler->protocols) in ir_raw_event_thread()
256 if ((dev->enabled_protocols & handler->protocols) && in change_protocol()
257 !(*rc_proto & handler->protocols) && in change_protocol()
268 if (handler->protocols & *rc_proto) { in change_protocol()
296 dev->enabled_protocols &= ~protocols; in ir_raw_disable_protocols()
532 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode()
673 (handler->protocols & dev->enabled_protocols)) in ir_raw_event_unregister()
706 u64 protocols = ir_raw_handler->protocols; in ir_raw_handler_unregister() local
712 (raw->dev->enabled_protocols & protocols)) in ir_raw_handler_unregister()
714 ir_raw_disable_protocols(raw->dev, protocols); in ir_raw_handler_unregister()
[all …]
A Drc-main.c28 } protocols[] = { variable
723 if (protocol >= ARRAY_SIZE(protocols)) in repeat_period()
949 if (protocol >= ARRAY_SIZE(protocols)) in rc_validate_filter()
1204 *protocols |= mask; in parse_protocol_change()
1206 *protocols &= ~mask; in parse_protocol_change()
1208 *protocols = mask; in parse_protocol_change()
1219 void ir_raw_load_modules(u64 *protocols) in ir_raw_load_modules() argument
1237 *protocols &= ~proto_names[i].type; in ir_raw_load_modules()
1245 *protocols &= ~proto_names[i].type; in ir_raw_load_modules()
1256 *protocols &= ~proto_names[i].type; in ir_raw_load_modules()
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
A Darm,mhuv2.yaml28 protocols. The transport protocols determine the method of data transmission
31 Following are the possible transport protocols.
83 arm,mhuv2-protocols:
88 be used for various transport protocols.
91 used in various transport protocols. The entries in this property shall be
114 arm,mhuv2-protocols = <0 2>, <1 1>, <1 5>, <1 7>;
117 The above example defines the protocols of an ARM MHUv2 mailbox
164 - arm,mhuv2-protocols
169 # Multiple transport protocols implemented by the mailbox controllers
182 arm,mhuv2-protocols = <1 5>, <1 2>, <1 5>, <1 7>, <0 2>;
[all …]
/linux/drivers/block/paride/
A Dparide.c41 static struct pi_protocol *protocols[MAX_PROTOS]; variable
215 if (protocols[k] && !strcmp(pr->name, protocols[k]->name)) { in paride_register()
221 while ((k < MAX_PROTOS) && (protocols[k])) in paride_register()
227 protocols[k] = pr; in paride_register()
239 if (protocols[pr->index] != pr) { in paride_unregister()
243 protocols[pr->index] = NULL; in paride_unregister()
360 if (!protocols[0]) in pi_init()
367 (!protocols[s]) || (unit < 0) || in pi_init()
368 (unit >= protocols[s]->max_units)) { in pi_init()
374 struct pi_protocol *proto = protocols[p]; in pi_init()
/linux/drivers/mailbox/
A Darm_mhuv2.c184 u32 *protocols; member
513 protocol = mhu->protocols[i]; in get_irq_chan_comb()
806 protocol = mhu->protocols[i]; in mhuv2_mbox_of_xlate()
807 windows = mhu->protocols[i + 1]; in mhuv2_mbox_of_xlate()
840 protocol = mhu->protocols[i]; in mhuv2_verify_protocol()
841 windows = mhu->protocols[i + 1]; in mhuv2_verify_protocol()
887 protocol = mhu->protocols[i]; in mhuv2_allocate_channels()
934 u32 *protocols; in mhuv2_parse_channels() local
943 protocols = devm_kmalloc_array(dev, count, sizeof(*protocols), GFP_KERNEL); in mhuv2_parse_channels()
944 if (!protocols) in mhuv2_parse_channels()
[all …]
/linux/Documentation/userspace-api/media/rc/
A Drc-sysfs-nodes.rst34 /sys/class/rc/rcN/protocols
37 Reading this file returns a list of available protocols, something like::
41 Enabled protocols are shown in [] brackets.
43 Writing "+proto" will add a protocol to the list of enabled protocols.
46 protocols.
50 Writing "none" will disable all protocols.
92 Reading this file returns a list of available protocols to use for the
A Dlirc-dev-intro.rst39 - 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.
151 :ref:`IR protocols <Remote_controllers_Protocols>`, but there
152 are many protocols which are not supported. To support these, it is possible
/linux/net/netfilter/ipvs/
A Dip_vs_proto.c343 char protocols[64]; in ip_vs_protocol_init() local
347 strcat(protocols, ", "); \ in ip_vs_protocol_init()
348 strcat(protocols, (p)->name); \ in ip_vs_protocol_init()
351 protocols[0] = '\0'; in ip_vs_protocol_init()
352 protocols[2] = '\0'; in ip_vs_protocol_init()
368 pr_info("Registered protocols (%s)\n", &protocols[2]); in ip_vs_protocol_init()
/linux/Documentation/ABI/testing/
A Dsysfs-class-rc18 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
A Dsysfs-bus-hsi11 the protocols available in the system. Bus drivers implement
12 those protocols.
/linux/net/nfc/
A Ddigital_core.c483 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/
A Dcore.c117 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/drivers/net/wwan/
A DKconfig33 control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
34 and FIREHOSE. These protocols can be accessed directly from userspace
58 different modem protocols/ports to userspace, including AT and QMI.
59 These protocols can be accessed directly from userspace
/linux/drivers/firmware/arm_scmi/
A DMakefile9 scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o
10 scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
/linux/tools/usb/usbip/libsrc/
A Dnames.c81 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/soc/fsl/qe/
A DKconfig23 protocols: UART, BISYNC, QMC
30 protocols: HDLC, Ethernet, ATM, transparent
/linux/drivers/nfc/nfcmrvl/
A Dmain.c102 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/drivers/nfc/pn533/
A Dusb.c449 u32 protocols; in pn533_usb_probe() local
506 protocols = PN533_ALL_PROTOCOLS; in pn533_usb_probe()
510 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe()
514 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe()
549 rc = pn53x_register_nfc(priv, protocols, &interface->dev); in pn533_usb_probe()
/linux/Documentation/i2c/
A Dsummary.rst21 a subset of I2C protocols and signaling. Many I2C devices will work on an
22 SMBus, but some SMBus protocols add semantics beyond what is required to
28 use its protocols on many I2C systems. However, there are systems that don't
/linux/net/x25/
A DKconfig9 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/nfc/
A Dport100.c1104 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()
/linux/Documentation/networking/
A Dnfc.rst59 of the set of supported NFC protocols and the set of ops callbacks. The ops
90 protocols through NFC_ATTR_PROTOCOLS attribute. The device remains in polling
98 relevant information such as the supported NFC protocols.

Completed in 37 milliseconds

123456789