Home
last modified time | relevance | path

Searched full:protocols (Results 1 – 25 of 1130) sorted by relevance

12345678910>>...46

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mailbox/
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
139 From the example given above for arm,mhuv2-protocols, here is how a client
164 - arm,mhuv2-protocols
169 # Multiple transport protocols implemented by the mailbox controllers
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ir/
Dir_loopback.c38 } protocols[] = { variable
117 snprintf(buf, sizeof(buf), "/sys/class/rc/%s/protocols", argv[2]); in main()
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()
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/
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()
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()
/kernel/linux/linux-6.6/drivers/media/rc/img-ir/
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()
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()
/kernel/linux/linux-6.6/tools/testing/selftests/ir/
Dir_loopback.c47 } protocols[] = { variable
126 snprintf(buf, sizeof(buf), "/sys/class/rc/%s/protocols", argv[2]); in main()
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()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_proto.c30 * IPVS protocols can only be registered/unregistered when the ipvs
63 * register an ipvs protocols netns related data
115 * unregister an ipvs protocols netns data
173 * Propagate event for state change to all protocols
343 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()
[all …]
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_reject.h10 /* Skip protocols that don't use 16-bit one's complement checksum in nf_reject_verify_csum()
14 /* Protocols with other integrity checks. */ in nf_reject_verify_csum()
19 /* Protocols with partial checksums. */ in nf_reject_verify_csum()
23 /* Protocols with optional checksums. */ in nf_reject_verify_csum()
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-rc18 What: /sys/class/rc/rcN/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
/kernel/linux/linux-6.6/include/net/netfilter/
Dnf_reject.h11 /* Skip protocols that don't use 16-bit one's complement checksum in nf_reject_verify_csum()
15 /* Protocols with optional checksums. */ in nf_reject_verify_csum()
30 /* Protocols with other integrity checks. */ in nf_reject_verify_csum()
35 /* Protocols with partial checksums. */ in nf_reject_verify_csum()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
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
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.
144 :ref:`IR protocols <Remote_controllers_Protocols>`, but there
145 are many protocols which are not supported. To support these, it is possible
/kernel/linux/linux-6.6/Documentation/userspace-api/media/rc/
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
/kernel/linux/linux-6.6/drivers/media/rc/
Drc-ir-raw.c41 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()
598 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier()
[all …]
Drc-main.c28 } 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()
1032 * used by the sysfs protocols file. Note that the order
1098 * it is triggered by reading /sys/class/rc/rc?/protocols.
1099 * It returns the protocol names of supported protocols.
1100 * Enabled protocols are printed in brackets.
1150 * @protocols: pointer to the bitmask of current protocols
[all …]
/kernel/linux/linux-6.6/net/netfilter/ipvs/
Dip_vs_proto.c30 * IPVS protocols can only be registered/unregistered when the ipvs
63 * register an ipvs protocols netns related data
115 * unregister an ipvs protocols netns data
173 * Propagate event for state change to all protocols
343 char protocols[64] = { 0 }; in ip_vs_protocol_init() local
347 strcat(protocols, ", "); \ in ip_vs_protocol_init()
348 strcat(protocols, (p)->name); \ in ip_vs_protocol_init()
366 pr_info("Registered protocols (%s)\n", &protocols[2]); in ip_vs_protocol_init()
377 /* unregister all the ipvs protocols */ in ip_vs_protocol_cleanup()
/kernel/linux/linux-5.10/drivers/media/rc/
Drc-ir-raw.c43 handler->protocols || !handler->protocols) in ir_raw_event_thread()
252 if (!(dev->enabled_protocols & handler->protocols) && in change_protocol()
253 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol()
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()
293 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) in ir_raw_disable_protocols() argument
296 dev->enabled_protocols &= ~protocols; in ir_raw_disable_protocols()
532 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_scancode()
600 if (handler->protocols & mask && handler->encode) { in ir_raw_encode_carrier()
[all …]
Drc-main.c28 } protocols[] = { variable
723 if (protocol >= ARRAY_SIZE(protocols)) in repeat_period()
726 return protocols[protocol].repeat_period; in repeat_period()
949 if (protocol >= ARRAY_SIZE(protocols)) in rc_validate_filter()
952 mask = protocols[protocol].scancode_bits; in rc_validate_filter()
1031 * used by the sysfs protocols file. Note that the order
1097 * it is triggered by reading /sys/class/rc/rc?/protocols.
1098 * It returns the protocol names of supported protocols.
1099 * Enabled protocols are printed in brackets.
1149 * @protocols: pointer to the bitmask of current protocols
[all …]
/kernel/linux/linux-6.6/net/nfc/
Ddigital_core.c467 * @im_protocols: bitset of nfc initiator protocols to be used for polling
468 * @tm_protocols: bitset of nfc transport protocols to be used for polling
482 pr_debug("protocols: im 0x%x, tm 0x%x, supported 0x%x\n", im_protocols, in digital_start_poll()
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()
546 pr_err("Unsupported protocols: im=0x%x, tm=0x%x\n", 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()
[all …]
/kernel/linux/linux-5.10/drivers/block/paride/
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()
/kernel/linux/linux-6.6/drivers/mailbox/
Darm_mhuv2.c13 * The transport protocols should be specified in the device tree entry for the
14 * device. The transport protocols determine how the underlying hardware
20 * as well as the selected transport protocols.
46 #define MHUV2_PROTOCOL_PROP "arm,mhuv2-protocols"
169 * @length: Length of the protocols array in bytes.
170 * @protocols: Raw protocol information, derived from device tree.
185 u32 *protocols; member
514 protocol = mhu->protocols[j]; in get_irq_chan_comb()
515 windows = mhu->protocols[j + 1]; in get_irq_chan_comb()
808 protocol = mhu->protocols[i]; in mhuv2_mbox_of_xlate()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Ddigital_core.c479 pr_debug("protocols: im 0x%x, tm 0x%x, supported 0x%x\n", im_protocols, in digital_start_poll()
480 tm_protocols, ddev->protocols); in digital_start_poll()
482 matching_im_protocols = ddev->protocols & im_protocols; in digital_start_poll()
483 matching_tm_protocols = ddev->protocols & tm_protocols; in digital_start_poll()
543 pr_err("Unsupported protocols: im=0x%x, tm=0x%x\n", in digital_start_poll()
779 ddev->protocols |= NFC_PROTO_JEWEL_MASK; in nfc_digital_allocate_device()
781 ddev->protocols |= NFC_PROTO_MIFARE_MASK; in nfc_digital_allocate_device()
783 ddev->protocols |= NFC_PROTO_FELICA_MASK; in nfc_digital_allocate_device()
785 ddev->protocols |= NFC_PROTO_NFC_DEP_MASK; in nfc_digital_allocate_device()
787 ddev->protocols |= NFC_PROTO_ISO15693_MASK; in nfc_digital_allocate_device()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dnfc.h43 * @NFC_CMD_START_POLL: start polling for targets using the given protocols
138 * @NFC_ATTR_PROTOCOLS: nfc protocols - bitwise or-ed combination from
149 * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for
150 * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for
229 /* NFC protocols */
249 /* NFC protocols masks used in bitsets */
284 /* NFC socket protocols */

12345678910>>...46