Searched refs:protocols (Results 1 - 25 of 59) sorted by relevance

123

/linux-master/drivers/media/rc/img-ir/
H A Dimg-ir-sony.c54 struct img_ir_filter *out, u64 protocols)
67 protocols &= RC_PROTO_BIT_SONY12 | RC_PROTO_BIT_SONY15 |
75 if (!is_power_of_2(protocols)) {
77 protocols = RC_PROTO_BIT_SONY20;
79 protocols = RC_PROTO_BIT_SONY15;
81 protocols = RC_PROTO_BIT_SONY12;
84 if (protocols == RC_PROTO_BIT_SONY20) {
90 } else if (protocols == RC_PROTO_BIT_SONY15) {
53 img_ir_sony_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-nec.c54 struct img_ir_filter *out, u64 protocols)
62 protocols &= RC_PROTO_BIT_NEC | RC_PROTO_BIT_NECX | RC_PROTO_BIT_NEC32;
69 if (!is_power_of_2(protocols)) {
71 protocols = RC_PROTO_BIT_NEC32;
73 protocols = RC_PROTO_BIT_NECX;
75 protocols = RC_PROTO_BIT_NEC;
78 if (protocols == RC_PROTO_BIT_NEC32) {
89 } else if (protocols == RC_PROTO_BIT_NECX) {
53 img_ir_nec_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-rc5.c40 struct img_ir_filter *out, u64 protocols)
39 img_ir_rc5_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-jvc.c29 struct img_ir_filter *out, u64 protocols)
28 img_ir_jvc_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-sharp.c38 struct img_ir_filter *out, u64 protocols)
37 img_ir_sharp_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-rc6.c61 struct img_ir_filter *out, u64 protocols)
60 img_ir_rc6_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-sanyo.c50 struct img_ir_filter *out, u64 protocols)
49 img_ir_sanyo_filter(const struct rc_scancode_filter *in, struct img_ir_filter *out, u64 protocols) argument
H A Dimg-ir-hw.h178 struct img_ir_filter *out, u64 protocols);
221 * @enabled_protocols: Currently enabled protocols.
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.c47 } protocols[] = { variable in typeref:struct:__anon30
126 snprintf(buf, sizeof(buf), "/sys/class/rc/%s/protocols", argv[2]);
133 for (i = 0; i < ARRAY_SIZE(protocols); i++) {
134 if (write(protocolfd, protocols[i].decoder,
135 strlen(protocols[i].decoder)) == -1)
139 protocols[i].name, protocols[i].decoder,
140 i + 1, (int)ARRAY_SIZE(protocols));
143 unsigned int scancode = rand() & protocols[i].mask;
144 unsigned int rc_proto = protocols[
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-sync.h17 u32 protocols);
H A Dtime-sync.c128 int iwl_mvm_time_sync_config(struct iwl_mvm *mvm, const u8 *addr, u32 protocols) argument
149 if (protocols & ~(IWL_TIME_SYNC_PROTOCOL_TM |
153 cmd.protocols = cpu_to_le32(protocols);
164 mvm->time_sync.active = protocols != 0;
/linux-master/drivers/firmware/arm_scmi/
H A DMakefile13 scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
14 scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
/linux-master/drivers/media/rc/
H A Drc-ir-raw.c41 handler->protocols || !handler->protocols)
250 if (!(dev->enabled_protocols & handler->protocols) &&
251 (*rc_proto & handler->protocols) && handler->raw_register)
254 if ((dev->enabled_protocols & handler->protocols) &&
255 !(*rc_proto & handler->protocols) &&
266 if (handler->protocols & *rc_proto) {
291 static void ir_raw_disable_protocols(struct rc_dev *dev, u64 protocols) argument
294 dev->enabled_protocols &= ~protocols;
530 if (handler->protocols
704 u64 protocols = ir_raw_handler->protocols; local
[all...]
H A Drc-main.c28 } protocols[] = { variable in typeref:struct:__anon621
723 if (protocol >= ARRAY_SIZE(protocols))
726 return protocols[protocol].repeat_period;
950 if (protocol >= ARRAY_SIZE(protocols))
953 mask = protocols[protocol].scancode_bits;
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
1159 parse_protocol_change(struct rc_dev *dev, u64 *protocols, const char *buf) argument
1220 ir_raw_load_modules(u64 *protocols) argument
[all...]
H A Drc-core-priv.h36 u64 protocols; /* which are handled by this handler */ member in struct:ir_raw_handler
315 void ir_raw_load_modules(u64 *protocols);
/linux-master/drivers/nfc/st-nci/
H A Dcore.c117 u32 protocols; local
124 protocols = NFC_PROTO_JEWEL_MASK
133 ndlc->ndev = nci_allocate_device(&st_nci_ops, protocols,
/linux-master/net/netfilter/ipvs/
H A 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]; local
347 strcat(protocols, ", "); \
348 strcat(protocols, (p)->name); \
351 protocols[0] = '\0';
352 protocols[2] = '\0';
368 pr_info("Registered protocols (
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/
H A DMakefile53 # protocols
61 AMD_DAL_LINK_PROTOCOLS = $(addprefix $(AMDDALPATH)/dc/link/protocols/, \
/linux-master/drivers/mailbox/
H A 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 in struct:mhuv2
514 protocol = mhu->protocols[i];
515 windows = mhu->protocols[i + 1];
808 protocol = mhu->protocols[
936 u32 *protocols; local
[all...]
/linux-master/drivers/nfc/nfcmrvl/
H A Dmain.c102 u32 protocols; local
134 protocols = NFC_PROTO_JEWEL_MASK
142 priv->ndev = nci_allocate_device(&nfcmrvl_nci_ops, protocols,
/linux-master/tools/usb/usbip/libsrc/
H A Dnames.c81 static struct protocol *protocols[HASHSZ] = { NULL, }; variable in typeref:struct:protocol
132 p = protocols[hashnum((classid << 16) | (subclassid << 8)
274 p = protocols[h];
286 p->next = protocols[h];
287 protocols[h] = p;
/linux-master/net/nfc/
H A 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,
483 tm_protocols, ddev->protocols);
485 matching_im_protocols = ddev->protocols & im_protocols;
486 matching_tm_protocols = ddev->protocols & tm_protocols;
546 pr_err("Unsupported protocols: im=0x%x, tm=0x%x\n",
782 ddev->protocols |= NFC_PROTO_JEWEL_MASK;
784 ddev->protocols |= NFC_PROTO_MIFARE_MASK;
786 ddev->protocols |
[all...]
/linux-master/drivers/nfc/pn533/
H A Dpn533.h242 int pn532_i2c_nfc_alloc(struct pn533 *priv, u32 protocols,
244 int pn53x_register_nfc(struct pn533 *priv, u32 protocols,
H A Dusb.c488 u32 protocols; local
545 protocols = PN533_ALL_PROTOCOLS;
549 protocols = PN533_NO_TYPE_B_PROTOCOLS;
553 protocols = PN533_NO_TYPE_B_PROTOCOLS;
588 rc = pn53x_register_nfc(priv, protocols, &interface->dev);
/linux-master/drivers/scsi/isci/
H A Dport.h136 struct sci_phy_proto protocols; member in struct:sci_port_end_point_properties

Completed in 203 milliseconds

123