Home
last modified time | relevance | path

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

123

/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()
DKconfig19 testing, debug, and to make more protocols available.
36 NEC protocols in the ImgTec infrared decoder block.
Dimg-ir-rc5.c40 struct img_ir_filter *out, u64 protocols) in img_ir_rc5_filter() argument
Dimg-ir-rc6.c61 struct img_ir_filter *out, u64 protocols) in img_ir_rc6_filter() argument
Dimg-ir-jvc.c29 struct img_ir_filter *out, u64 protocols) in img_ir_jvc_filter() argument
Dimg-ir-sharp.c38 struct img_ir_filter *out, u64 protocols) in img_ir_sharp_filter() argument
/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()
1158 static int parse_protocol_change(struct rc_dev *dev, u64 *protocols, in parse_protocol_change() argument
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
[all …]
Drc-core-priv.h36 u64 protocols; /* which are handled by this handler */ member
315 void ir_raw_load_modules(u64 *protocols);
/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()
/drivers/mailbox/
Darm_mhuv2.c184 u32 *protocols; member
513 protocol = mhu->protocols[i]; in get_irq_chan_comb()
514 windows = mhu->protocols[i + 1]; in get_irq_chan_comb()
807 protocol = mhu->protocols[i]; in mhuv2_mbox_of_xlate()
808 windows = mhu->protocols[i + 1]; in mhuv2_mbox_of_xlate()
841 protocol = mhu->protocols[i]; in mhuv2_verify_protocol()
842 windows = mhu->protocols[i + 1]; in mhuv2_verify_protocol()
888 protocol = mhu->protocols[i]; in mhuv2_allocate_channels()
889 windows = mhu->protocols[i + 1]; in mhuv2_allocate_channels()
935 u32 *protocols; in mhuv2_parse_channels() local
[all …]
/drivers/nfc/st-nci/
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()
/drivers/net/wwan/
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
/drivers/firmware/arm_scmi/
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) \
Ddriver.c147 struct idr protocols; member
1075 ret = idr_alloc(&info->protocols, pi, proto->id, proto->id + 1, in scmi_alloc_init_protocol_instance()
1127 pi = idr_find(&info->protocols, protocol_id); in scmi_get_protocol_instance()
1175 pi = idr_find(&info->protocols, protocol_id); in scmi_protocol_release()
1188 idr_remove(&info->protocols, protocol_id); in scmi_protocol_release()
1838 idr_init(&info->protocols); in scmi_probe()
1945 idr_destroy(&info->protocols); in scmi_remove()
/drivers/soc/fsl/qe/
DKconfig23 protocols: UART, BISYNC, QMC
30 protocols: HDLC, Ethernet, ATM, transparent
/drivers/nfc/nfcmrvl/
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()
/drivers/nfc/pn533/
Dusb.c488 u32 protocols; in pn533_usb_probe() local
545 protocols = PN533_ALL_PROTOCOLS; in pn533_usb_probe()
549 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe()
553 protocols = PN533_NO_TYPE_B_PROTOCOLS; in pn533_usb_probe()
588 rc = pn53x_register_nfc(priv, protocols, &interface->dev); in pn533_usb_probe()
Dpn533.h242 int pn532_i2c_nfc_alloc(struct pn533 *priv, u32 protocols,
244 int pn53x_register_nfc(struct pn533 *priv, u32 protocols,
/drivers/nfc/
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()
/drivers/infiniband/hw/mlx5/
DKconfig8 This is required to use InfiniBand protocols such as
/drivers/infiniband/hw/mlx4/
DKconfig10 This is required to use InfiniBand protocols such as
/drivers/staging/fieldbus/Documentation/
Dfieldbus_dev.txt7 Fieldbus is the name of a family of industrial computer network protocols used
52 Fieldbus protocols and adapters are diverse and varied. However, they share
/drivers/cxl/
DKconfig7 layers three protocols on that signalling (CXL.io, CXL.cache, and
12 devices supporting these protocols.

123