/Linux-v6.1/net/bluetooth/rfcomm/ |
D | tty.c | 62 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 …]
|
D | sock.c | 46 /* ---- 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 …]
|
D | core.c | 261 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 …]
|
/Linux-v6.1/include/linux/can/ |
D | length.h | 19 * Data length code (DLC) 4 44 * Data length code (DLC) 4 70 * Data length code (DLC) 4 99 * Data length code (DLC) 4 126 * can_cc_dlc2len(value) - convert a given data length code (dlc) of a 130 * ISO 11898-1 Chapter 8.4.2.3 (DLC field) 132 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN)) argument 134 /* helper to get the data length code (DLC) for Classical CAN raw DLC access */ 137 /* return len8_dlc as dlc value only if all conditions apply */ in can_get_cc_dlc() 143 /* return the payload length as dlc value */ in can_get_cc_dlc() [all …]
|
/Linux-v6.1/sound/soc/sof/ |
D | nocodec.c | 27 struct snd_soc_dai_link_component *dlc; in sof_nocodec_bes_setup() local 35 dlc = devm_kcalloc(dev, 3, 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() 47 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup() 48 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
|
/Linux-v6.1/sound/soc/qcom/ |
D | common.c | 20 struct snd_soc_dai_link_component *dlc; in qcom_snd_parse_of() local 71 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of() 72 if (!dlc) { in qcom_snd_parse_of() 77 link->cpus = &dlc[0]; in qcom_snd_parse_of() 78 link->platforms = &dlc[1]; in qcom_snd_parse_of() 143 dlc = devm_kzalloc(dev, sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of() 144 if (!dlc) { in qcom_snd_parse_of() 149 link->codecs = dlc; in qcom_snd_parse_of()
|
/Linux-v6.1/sound/soc/ti/ |
D | rx51.c | 322 .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 …]
|
/Linux-v6.1/sound/soc/fsl/ |
D | imx-rpmsg.c | 55 struct snd_soc_dai_link_component *dlc; in imx_rpmsg_probe() local 64 dlc = devm_kzalloc(&pdev->dev, 3 * sizeof(*dlc), GFP_KERNEL); in imx_rpmsg_probe() 65 if (!dlc) in imx_rpmsg_probe() 78 data->dai.cpus = &dlc[0]; in imx_rpmsg_probe() 80 data->dai.platforms = &dlc[1]; in imx_rpmsg_probe() 82 data->dai.codecs = &dlc[2]; in imx_rpmsg_probe()
|
D | imx-audmix.c | 208 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() 241 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe() 242 priv->dai[i].codecs = &dlc[1]; in imx_audmix_probe() 243 priv->dai[i].platforms = &dlc[2]; in imx_audmix_probe() 270 priv->dai[num_dai + i].cpus = &dlc[3]; in imx_audmix_probe() 271 priv->dai[num_dai + i].codecs = &dlc[4]; in imx_audmix_probe() 272 priv->dai[num_dai + i].platforms = &dlc[5]; in imx_audmix_probe() 290 priv->dai_conf[i].dlc.of_node = args.np; in imx_audmix_probe()
|
D | imx-hdmi.c | 103 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()
|
D | imx-card.c | 486 struct snd_soc_dai_link_component *dlc; in imx_card_parse_of() local 529 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in imx_card_parse_of() 530 if (!dlc) { in imx_card_parse_of() 535 link->cpus = &dlc[0]; in imx_card_parse_of() 536 link->platforms = &dlc[1]; in imx_card_parse_of() 618 dlc = devm_kzalloc(dev, sizeof(*dlc), GFP_KERNEL); in imx_card_parse_of() 619 if (!dlc) { in imx_card_parse_of() 624 link->codecs = dlc; in imx_card_parse_of()
|
/Linux-v6.1/Documentation/devicetree/bindings/display/panel/ |
D | dlc,dlc0700yzg-1.yaml | 4 $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
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | sof_maxim_common.c | 25 .dlc = COMP_CODEC_CONF(MAX_98373_DEV0_NAME), 29 .dlc = COMP_CODEC_CONF(MAX_98373_DEV1_NAME), 164 .dlc = COMP_CODEC_CONF(MAX_98390_DEV0_NAME), 168 .dlc = COMP_CODEC_CONF(MAX_98390_DEV1_NAME), 175 .dlc = COMP_CODEC_CONF(MAX_98390_DEV0_NAME), 179 .dlc = COMP_CODEC_CONF(MAX_98390_DEV1_NAME), 183 .dlc = COMP_CODEC_CONF(MAX_98390_DEV2_NAME), 187 .dlc = COMP_CODEC_CONF(MAX_98390_DEV3_NAME),
|
D | sof_realtek_common.c | 40 .dlc = COMP_CODEC_CONF(RT1011_DEV0_NAME), 44 .dlc = COMP_CODEC_CONF(RT1011_DEV1_NAME), 170 .dlc = COMP_CODEC_CONF(RT1015P_DEV0_NAME), 174 .dlc = COMP_CODEC_CONF(RT1015P_DEV1_NAME), 328 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME), 332 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME),
|
/Linux-v6.1/drivers/net/can/dev/ |
D | length.c | 7 /* 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()
|
/Linux-v6.1/sound/soc/generic/ |
D | audio-graph-card.c | 112 static bool soc_component_is_pcm(struct snd_soc_dai_link_component *dlc) in soc_component_is_pcm() argument 114 struct snd_soc_dai *dai = snd_soc_find_dai_with_mutex(dlc); in soc_component_is_pcm() 124 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument 144 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() 146 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai() 160 ret = snd_soc_get_dai_name(&args, &dlc->dai_name); in asoc_simple_parse_dai() 166 dlc->of_node = node; in asoc_simple_parse_dai() 220 struct snd_soc_dai_link_component *dlc; in graph_parse_node() local 225 dlc = asoc_link_to_cpu(dai_link, 0); in graph_parse_node() 228 dlc = asoc_link_to_codec(dai_link, 0); in graph_parse_node() [all …]
|
D | simple-card.c | 32 struct snd_soc_dai_link_component *dlc) in asoc_simple_parse_platform() argument 50 dlc->of_node = args.np; in asoc_simple_parse_platform() 56 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument 76 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() 78 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai() 92 ret = snd_soc_of_get_dai_name(node, &dlc->dai_name); in asoc_simple_parse_dai() 96 dlc->of_node = args.np; in asoc_simple_parse_dai() 147 struct snd_soc_dai_link_component *dlc; in simple_parse_node() local 152 dlc = asoc_link_to_cpu(dai_link, 0); in simple_parse_node() 155 dlc = asoc_link_to_codec(dai_link, 0); in simple_parse_node() [all …]
|
D | audio-graph-card2.c | 411 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument 431 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() 433 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai() 447 ret = snd_soc_get_dai_name(&args, &dlc->dai_name); in asoc_simple_parse_dai() 453 dlc->of_node = node; in asoc_simple_parse_dai() 501 struct snd_soc_dai_link_component *dlc; in __graph_parse_node() local 506 dlc = asoc_link_to_cpu(dai_link, idx); in __graph_parse_node() 509 dlc = asoc_link_to_codec(dai_link, idx); in __graph_parse_node() 515 ret = asoc_simple_parse_dai(ep, dlc, &is_single_links); in __graph_parse_node() 527 ret = asoc_simple_parse_clk(dev, ep, dai, dlc); in __graph_parse_node() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | can.h | 88 /* 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) */
|
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-tx.c | 39 u8 dlc; in mcp251xfd_tx_obj_from_skb() local 79 dlc = can_fd_len2dlc(cfd->len); in mcp251xfd_tx_obj_from_skb() 81 dlc = can_get_cc_dlc((struct can_frame *)cfd, in mcp251xfd_tx_obj_from_skb() 85 flags |= FIELD_PREP(MCP251XFD_OBJ_FLAGS_DLC_MASK, dlc); in mcp251xfd_tx_obj_from_skb()
|
D | mcp251xfd-rx.c | 114 u8 dlc; in mcp251xfd_hw_rx_obj_to_skb() local 130 dlc = FIELD_GET(MCP251XFD_OBJ_FLAGS_DLC_MASK, hw_rx_obj->flags); in mcp251xfd_hw_rx_obj_to_skb() 140 cfd->len = can_fd_dlc2len(dlc); in mcp251xfd_hw_rx_obj_to_skb() 145 can_frame_set_cc_len((struct can_frame *)cfd, dlc, in mcp251xfd_hw_rx_obj_to_skb()
|
/Linux-v6.1/drivers/net/can/usb/etas_es58x/ |
D | es58x_fd.c | 24 * @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()
|
D | es581_4.h | 81 u8 dlc; member 111 u8 dlc; member 122 u8 dlc; member
|
/Linux-v6.1/sound/soc/meson/ |
D | axg-card.c | 109 struct snd_soc_dai_link_component *dlc; in axg_card_add_tdm_loopback() local 123 dlc = devm_kzalloc(card->dev, 2 * sizeof(*dlc), GFP_KERNEL); in axg_card_add_tdm_loopback() 124 if (!dlc) in axg_card_add_tdm_loopback() 127 lb->cpus = &dlc[0]; in axg_card_add_tdm_loopback() 128 lb->codecs = &dlc[1]; in axg_card_add_tdm_loopback()
|
/Linux-v6.1/net/can/j1939/ |
D | main.c | 68 /* fix length, set to dlc, with 8 maximum */ in j1939_can_recv() 317 int ret, dlc; in j1939_send_one() local 334 dlc = skb->len; in j1939_send_one() 343 skb_put(skb, J1939_CAN_FTR + (8 - dlc)); in j1939_send_one() 353 cf->len = dlc; in j1939_send_one()
|