Home
last modified time | relevance | path

Searched full:dlc (Results 1 – 25 of 214) sorted by relevance

123456789

/kernel/linux/linux-6.6/net/bluetooth/rfcomm/
Dtty.c62 struct rfcomm_dlc *dlc; member
74 static void rfcomm_dev_data_ready(struct rfcomm_dlc *dlc, struct sk_buff *skb);
75 static void rfcomm_dev_state_change(struct rfcomm_dlc *dlc, int err);
76 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig);
83 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() local
85 BT_DBG("dev %p dlc %p", dev, dlc); in rfcomm_dev_destruct()
87 rfcomm_dlc_lock(dlc); in rfcomm_dev_destruct()
88 /* Detach DLC if it's owned by this dev */ in rfcomm_dev_destruct()
89 if (dlc->owner == dev) in rfcomm_dev_destruct()
90 dlc->owner = NULL; in rfcomm_dev_destruct()
[all …]
Dsock.c46 /* ---- DLC callbacks ----
71 BT_DBG("dlc %p state %ld err %d", d, d->state, err); in rfcomm_sk_state_change()
97 /* We have to drop DLC lock here, otherwise in rfcomm_sk_state_change()
155 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct()
157 BT_DBG("sk %p dlc %p", sk, d); in rfcomm_sock_destruct()
163 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct()
165 /* Detach DLC if it's owned by this socket */ in rfcomm_sock_destruct()
207 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close()
247 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
255 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
[all …]
Dcore.c265 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_timeout()
274 BT_DBG("dlc %p state %ld timeout %ld", d, d->state, timeout); in rfcomm_dlc_set_timer()
282 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_clear_timer()
333 BT_DBG("dlc %p session %p", d, s); in rfcomm_dlc_link()
345 BT_DBG("dlc %p refcnt %d session %p", d, refcount_read(&d->refcnt), s); in rfcomm_dlc_unlink()
377 BT_DBG("dlc %p state %ld %pMR -> %pMR channel %d", in __rfcomm_dlc_open()
457 BT_DBG("dlc %p state %ld dlci %d err %d session %p", in __rfcomm_dlc_close()
483 /* if closing a dlc in a session that hasn't been started, in __rfcomm_dlc_close()
484 * just close and unlink the dlc in __rfcomm_dlc_close()
509 BT_DBG("dlc %p state %ld dlci %d err %d", d, d->state, d->dlci, err); in rfcomm_dlc_close()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dtty.c63 struct rfcomm_dlc *dlc; member
75 static void rfcomm_dev_data_ready(struct rfcomm_dlc *dlc, struct sk_buff *skb);
76 static void rfcomm_dev_state_change(struct rfcomm_dlc *dlc, int err);
77 static void rfcomm_dev_modem_status(struct rfcomm_dlc *dlc, u8 v24_sig);
84 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() local
86 BT_DBG("dev %p dlc %p", dev, dlc); in rfcomm_dev_destruct()
88 rfcomm_dlc_lock(dlc); in rfcomm_dev_destruct()
89 /* Detach DLC if it's owned by this dev */ in rfcomm_dev_destruct()
90 if (dlc->owner == dev) in rfcomm_dev_destruct()
91 dlc->owner = NULL; in rfcomm_dev_destruct()
[all …]
Dsock.c46 /* ---- DLC callbacks ----
71 BT_DBG("dlc %p state %ld err %d", d, d->state, err); in rfcomm_sk_state_change()
97 /* We have to drop DLC lock here, otherwise in rfcomm_sk_state_change()
155 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct()
157 BT_DBG("sk %p dlc %p", sk, d); in rfcomm_sock_destruct()
163 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct()
165 /* Detach DLC if it's owned by this socket */ in rfcomm_sock_destruct()
207 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close()
247 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
255 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
[all …]
Dcore.c261 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_timeout()
270 BT_DBG("dlc %p state %ld timeout %ld", d, d->state, timeout); in rfcomm_dlc_set_timer()
278 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_clear_timer()
329 BT_DBG("dlc %p session %p", d, s); in rfcomm_dlc_link()
341 BT_DBG("dlc %p refcnt %d session %p", d, refcount_read(&d->refcnt), s); in rfcomm_dlc_unlink()
373 BT_DBG("dlc %p state %ld %pMR -> %pMR channel %d", in __rfcomm_dlc_open()
453 BT_DBG("dlc %p state %ld dlci %d err %d session %p", in __rfcomm_dlc_close()
479 /* if closing a dlc in a session that hasn't been started, in __rfcomm_dlc_close()
480 * just close and unlink the dlc in __rfcomm_dlc_close()
505 BT_DBG("dlc %p state %ld dlci %d err %d", d, d->state, d->dlci, err); in rfcomm_dlc_close()
[all …]
/kernel/linux/linux-6.6/include/linux/can/
Dlength.h27 * Data Length Code (DLC) 4
48 * Data length code (DLC) 4
69 * Data length code (DLC) 4
92 * Data length code (DLC) 4
258 * can_cc_dlc2len(value) - convert a given data length code (dlc) of a
262 * ISO 11898-1 Chapter 8.4.2.3 (DLC field)
264 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN)) argument
266 /* helper to get the data length code (DLC) for Classical CAN raw DLC access */
269 /* return len8_dlc as dlc value only if all conditions apply */ in can_get_cc_dlc()
275 /* return the payload length as dlc value */ in can_get_cc_dlc()
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/
Dcommon.c17 struct snd_soc_dai_link_component *dlc; in qcom_snd_parse_of() local
58 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of()
59 if (!dlc) { in qcom_snd_parse_of()
64 link->cpus = &dlc[0]; in qcom_snd_parse_of()
65 link->platforms = &dlc[1]; in qcom_snd_parse_of()
132 dlc = devm_kzalloc(dev, sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of()
133 if (!dlc) { in qcom_snd_parse_of()
138 link->codecs = dlc; in qcom_snd_parse_of()
/kernel/linux/linux-5.10/sound/soc/sof/
Dnocodec.c25 struct snd_soc_dai_link_component *dlc; in sof_nocodec_bes_setup() local
33 dlc = devm_kzalloc(dev, 3 * sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup()
34 if (!dlc) in sof_nocodec_bes_setup()
42 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup()
43 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup()
44 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
/kernel/linux/linux-6.6/sound/soc/sof/
Dnocodec.c27 struct snd_soc_dai_link_component *dlc; in sof_nocodec_bes_setup() local
35 dlc = devm_kcalloc(dev, 2, sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup()
36 if (!dlc) in sof_nocodec_bes_setup()
46 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup()
48 links[i].platforms = &dlc[1]; in sof_nocodec_bes_setup()
/kernel/linux/linux-6.6/sound/soc/
Dsoc-core.c257 static inline int snd_soc_dlc_component_is_empty(struct snd_soc_dai_link_component *dlc) in snd_soc_dlc_component_is_empty() argument
259 return !(dlc->dai_args || dlc->name || dlc->of_node); in snd_soc_dlc_component_is_empty()
262 static inline int snd_soc_dlc_component_is_invalid(struct snd_soc_dai_link_component *dlc) in snd_soc_dlc_component_is_invalid() argument
264 return (dlc->name && dlc->of_node); in snd_soc_dlc_component_is_invalid()
267 static inline int snd_soc_dlc_dai_is_empty(struct snd_soc_dai_link_component *dlc) in snd_soc_dlc_dai_is_empty() argument
269 return !(dlc->dai_args || dlc->dai_name); in snd_soc_dlc_dai_is_empty()
272 static int snd_soc_is_matching_dai(const struct snd_soc_dai_link_component *dlc, in snd_soc_is_matching_dai() argument
275 if (!dlc) in snd_soc_is_matching_dai()
278 if (dlc->dai_args) in snd_soc_is_matching_dai()
279 return snd_soc_is_match_dai_args(dai->driver->dai_args, dlc->dai_args); in snd_soc_is_matching_dai()
[all …]
/kernel/linux/linux-5.10/sound/soc/ti/
Drx51.c322 .dlc = COMP_AUX("tlv320aic3x-codec.2-0019"),
325 .dlc = COMP_AUX("tpa6130a2.2-0060"),
331 .dlc = COMP_CODEC_CONF("tlv320aic3x-codec.2-0019"),
335 .dlc = COMP_CODEC_CONF("tpa6130a2.2-0060"),
398 rx51_aux_dev[0].dlc.name = NULL; in rx51_soc_probe()
399 rx51_aux_dev[0].dlc.of_node = dai_node; in rx51_soc_probe()
400 rx51_codec_conf[0].dlc.name = NULL; in rx51_soc_probe()
401 rx51_codec_conf[0].dlc.of_node = dai_node; in rx51_soc_probe()
408 rx51_aux_dev[1].dlc.name = NULL; in rx51_soc_probe()
409 rx51_aux_dev[1].dlc.of_node = dai_node; in rx51_soc_probe()
[all …]
/kernel/linux/linux-6.6/sound/soc/ti/
Drx51.c322 .dlc = COMP_AUX("tlv320aic3x-codec.2-0019"),
325 .dlc = COMP_AUX("tpa6130a2.2-0060"),
331 .dlc = COMP_CODEC_CONF("tlv320aic3x-codec.2-0019"),
335 .dlc = COMP_CODEC_CONF("tpa6130a2.2-0060"),
398 rx51_aux_dev[0].dlc.name = NULL; in rx51_soc_probe()
399 rx51_aux_dev[0].dlc.of_node = dai_node; in rx51_soc_probe()
400 rx51_codec_conf[0].dlc.name = NULL; in rx51_soc_probe()
401 rx51_codec_conf[0].dlc.of_node = dai_node; in rx51_soc_probe()
408 rx51_aux_dev[1].dlc.name = NULL; in rx51_soc_probe()
409 rx51_aux_dev[1].dlc.of_node = dai_node; in rx51_soc_probe()
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
Dimx-rpmsg.c55 struct snd_soc_dai_link_component *dlc; in imx_rpmsg_probe() local
65 dlc = devm_kzalloc(&pdev->dev, 3 * sizeof(*dlc), GFP_KERNEL); in imx_rpmsg_probe()
66 if (!dlc) in imx_rpmsg_probe()
79 data->dai.cpus = &dlc[0]; in imx_rpmsg_probe()
81 data->dai.platforms = &dlc[1]; in imx_rpmsg_probe()
83 data->dai.codecs = &dlc[2]; in imx_rpmsg_probe()
Dimx-hdmi.c103 struct snd_soc_dai_link_component *dlc; in imx_hdmi_probe() local
109 dlc = devm_kzalloc(&pdev->dev, 3 * sizeof(*dlc), GFP_KERNEL); in imx_hdmi_probe()
110 if (!dlc) in imx_hdmi_probe()
134 data->dai.cpus = &dlc[0]; in imx_hdmi_probe()
136 data->dai.platforms = &dlc[1]; in imx_hdmi_probe()
138 data->dai.codecs = &dlc[2]; in imx_hdmi_probe()
Dimx-audmix.c207 struct snd_soc_dai_link_component *dlc; in imx_audmix_probe() local
210 dlc = devm_kcalloc(&pdev->dev, 2, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
211 if (!dlc) in imx_audmix_probe()
249 priv->dai[i].platforms = &dlc[0]; in imx_audmix_probe()
276 priv->dai[num_dai + i].cpus = &dlc[1]; in imx_audmix_probe()
291 priv->dai_conf[i].dlc.of_node = args.np; in imx_audmix_probe()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-audmix.c208 struct snd_soc_dai_link_component *dlc; in imx_audmix_probe() local
211 dlc = devm_kcalloc(&pdev->dev, 6, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
212 if (!dlc) { in imx_audmix_probe()
247 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe()
248 priv->dai[i].codecs = &dlc[1]; in imx_audmix_probe()
249 priv->dai[i].platforms = &dlc[2]; in imx_audmix_probe()
278 priv->dai[num_dai + i].cpus = &dlc[3]; in imx_audmix_probe()
279 priv->dai[num_dai + i].codecs = &dlc[4]; in imx_audmix_probe()
280 priv->dai[num_dai + i].platforms = &dlc[5]; in imx_audmix_probe()
298 priv->dai_conf[i].dlc.of_node = args.np; in imx_audmix_probe()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/
Ddlc,dlc0700yzg-1.yaml4 $id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#
7 title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel
18 const: dlc,dlc0700yzg-1
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/
Ddlc,dlc0700yzg-1.yaml4 $id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#
7 title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel
18 const: dlc,dlc0700yzg-1
/kernel/linux/linux-6.6/sound/soc/qcom/
Dcommon.c25 struct snd_soc_dai_link_component *dlc; in qcom_snd_parse_of() local
76 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of()
77 if (!dlc) { in qcom_snd_parse_of()
82 link->cpus = &dlc[0]; in qcom_snd_parse_of()
83 link->platforms = &dlc[1]; in qcom_snd_parse_of()
/kernel/linux/linux-6.6/drivers/net/can/dev/
Dlength.c7 /* CAN DLC to real data length conversion helpers */
14 /* get data length from raw data length code (DLC) */
15 u8 can_fd_dlc2len(u8 dlc) in can_fd_dlc2len() argument
17 return dlc2len[dlc & 0x0F]; in can_fd_dlc2len()
/kernel/linux/linux-6.6/sound/soc/generic/
Dsimple-card.c32 struct snd_soc_dai_link_component *dlc) in asoc_simple_parse_platform() argument
50 dlc->of_node = args.np; in asoc_simple_parse_platform()
57 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument
80 dlc->dai_name = snd_soc_dai_name_get(dai); in asoc_simple_parse_dai()
81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in asoc_simple_parse_dai()
82 if (!dlc->dai_args) in asoc_simple_parse_dai()
91 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai()
93 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai()
107 ret = snd_soc_get_dlc(&args, dlc); in asoc_simple_parse_dai()
161 struct snd_soc_dai_link_component *dlc; in simple_parse_node() local
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dcan.h88 /* CAN payload length and DLC definitions according to ISO 11898-1 */
93 /* CAN FD payload length and DLC definitions according to ISO 11898-7 */
98 * CAN XL payload length and DLC definitions according to ISO 11898-1
99 * CAN XL DLC ranges from 0 .. 2047 => data length from 1 .. 2048 byte
114 * @len8_dlc: optional DLC value (9 .. 15) at 8 byte payload length
116 * 8 bytes but the DLC value (see ISO 11898-1) is greater then 8.
132 __u8 len8_dlc; /* optional DLC for 8 byte payload length (9 .. 15) */
/kernel/linux/linux-6.6/sound/soc/intel/boards/
Dsof_maxim_common.c38 .dlc = COMP_CODEC_CONF(MAX_98373_DEV0_NAME),
42 .dlc = COMP_CODEC_CONF(MAX_98373_DEV1_NAME),
177 .dlc = COMP_CODEC_CONF(MAX_98390_DEV0_NAME),
181 .dlc = COMP_CODEC_CONF(MAX_98390_DEV1_NAME),
185 .dlc = COMP_CODEC_CONF(MAX_98390_DEV2_NAME),
189 .dlc = COMP_CODEC_CONF(MAX_98390_DEV3_NAME),
/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/
Des58x_fd.c24 * @msg: message of variable length, must have a dlc and a len fields.
41 __msg_len = can_cc_dlc2len(__msg.dlc); \
140 u8 dlc; in es58x_fd_rx_can_msg() local
143 dlc = can_fd_len2dlc(rx_can_msg->len); in es58x_fd_rx_can_msg()
145 dlc = rx_can_msg->dlc; in es58x_fd_rx_can_msg()
148 can_id, rx_can_msg->flags, dlc); in es58x_fd_rx_can_msg()
368 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es58x_fd_tx_can_msg()

123456789