/linux-6.3-rc2/net/bluetooth/rfcomm/ |
A D | tty.c | 83 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_dev_destruct() local 299 dev->dlc = dlc; in __rfcomm_dev_add() 301 rfcomm_dev_modem_status(dlc, dlc->remote_v24_sig); in __rfcomm_dev_add() 354 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_room() local 410 dlc = rfcomm_pi(sk)->dlc; in __rfcomm_create_dev() 417 if (dlc) in __rfcomm_create_dev() 420 if (!dlc) in __rfcomm_create_dev() 718 dlc = dev->dlc; in rfcomm_tty_install() 785 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_tty_write() local 871 if (!dev || !dev->dlc || !dev->dlc->session) in rfcomm_tty_set_termios() [all …]
|
A D | sock.c | 155 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct() 163 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct() 207 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close() 255 pi->dlc->defer_setup = 0; in rfcomm_sock_init() 261 pi->dlc->sec_level = pi->sec_level; in rfcomm_sock_init() 262 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init() 292 rfcomm_pi(sk)->dlc = d; in rfcomm_sock_alloc() 385 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_connect() 565 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_sendmsg() 785 !rfcomm_pi(sk)->dlc->defer_setup) { in rfcomm_sock_getsockopt_old() [all …]
|
/linux-6.3-rc2/include/linux/can/ |
A D | length.h | 132 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN)) argument 148 static inline void can_frame_set_cc_len(struct can_frame *cf, const u8 dlc, in can_frame_set_cc_len() argument 152 if (ctrlmode & CAN_CTRLMODE_CC_LEN8_DLC && dlc > CAN_MAX_DLEN) in can_frame_set_cc_len() 153 cf->len8_dlc = dlc; in can_frame_set_cc_len() 156 cf->len = can_cc_dlc2len(dlc); in can_frame_set_cc_len() 160 u8 can_fd_dlc2len(u8 dlc);
|
/linux-6.3-rc2/sound/soc/qcom/ |
A 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-6.3-rc2/sound/soc/sof/ |
A 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-6.3-rc2/sound/soc/ti/ |
A D | rx51.c | 322 .dlc = COMP_AUX("tlv320aic3x-codec.2-0019"), 325 .dlc = COMP_AUX("tpa6130a2.2-0060"), 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() 410 rx51_codec_conf[1].dlc.name = NULL; in rx51_soc_probe() [all …]
|
/linux-6.3-rc2/sound/soc/fsl/ |
A D | imx-rpmsg.c | 55 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()
|
A 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()
|
A 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()
|
A 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-6.3-rc2/sound/soc/intel/boards/ |
A 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),
|
A 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), 329 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME), 333 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME),
|
/linux-6.3-rc2/sound/soc/generic/ |
A 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 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() 234 ret = asoc_simple_parse_dai(ep, dlc, cpu); in graph_parse_node() 242 ret = asoc_simple_parse_clk(dev, ep, dai, dlc); in graph_parse_node()
|
A 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 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() 161 ret = asoc_simple_parse_dai(np, dlc, cpu); in simple_parse_node() 165 ret = asoc_simple_parse_clk(dev, np, dai, dlc); in simple_parse_node()
|
A D | audio-graph-card2.c | 411 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument 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() 535 struct snd_soc_dai_link_component *cpus = dlc; in __graph_parse_node() 592 struct snd_soc_dai_link_component *cpus = dlc; in __graph_parse_node()
|
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/ |
A 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()
|
A 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-6.3-rc2/sound/soc/meson/ |
A 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-6.3-rc2/drivers/net/can/usb/etas_es58x/ |
A D | es581_4.h | 81 u8 dlc; member 111 u8 dlc; member 122 u8 dlc; member
|
A D | es58x_fd.c | 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()
|
/linux-6.3-rc2/drivers/net/can/dev/ |
A D | length.c | 15 u8 can_fd_dlc2len(u8 dlc) in can_fd_dlc2len() argument 17 return dlc2len[dlc & 0x0F]; in can_fd_dlc2len()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/display/panel/ |
A D | dlc,dlc0700yzg-1.yaml | 4 $id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# 18 const: dlc,dlc0700yzg-1
|
/linux-6.3-rc2/drivers/net/can/ |
A D | xilinx_can.c | 586 u32 id, dlc, data[2] = {0, 0}; in xcan_write_frame() local 618 dlc = can_fd_len2dlc(cf->len) << XCAN_DLCR_DLC_SHIFT; in xcan_write_frame() 621 dlc |= XCAN_DLCR_BRS_MASK; in xcan_write_frame() 622 dlc |= XCAN_DLCR_EDL_MASK; in xcan_write_frame() 780 u32 id_xcan, dlc, data[2] = {0, 0}; in xcan_rx() local 794 cf->len = can_cc_dlc2len(dlc); in xcan_rx() 854 if (dlc & XCAN_DLCR_EDL_MASK) in xcanfd_rx() 867 if (dlc & XCAN_DLCR_EDL_MASK) in xcanfd_rx() 868 cf->len = can_fd_dlc2len((dlc & XCAN_DLCR_DLC_MASK) >> in xcanfd_rx() 887 if (!(dlc & XCAN_DLCR_EDL_MASK) && (id_xcan & in xcanfd_rx() [all …]
|
/linux-6.3-rc2/drivers/net/can/rcar/ |
A D | rcar_can.c | 46 u8 dlc; /* Data Length Code - bits [0..3] */ member 611 writeb(cf->len, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc); in rcar_can_start_xmit() 644 u8 dlc; in rcar_can_rx_pkt() local 658 dlc = readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].dlc); in rcar_can_rx_pkt() 659 cf->len = can_cc_dlc2len(dlc); in rcar_can_rx_pkt() 663 for (dlc = 0; dlc < cf->len; dlc++) in rcar_can_rx_pkt() 664 cf->data[dlc] = in rcar_can_rx_pkt() 665 readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].data[dlc]); in rcar_can_rx_pkt()
|
/linux-6.3-rc2/sound/soc/ |
A D | soc-core.c | 743 if (!dlc) in snd_soc_is_matching_component() 748 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_is_matching_component() 750 if (dlc->name && strcmp(component->name, dlc->name)) in snd_soc_is_matching_component() 802 if (dlc->dai_name && strcmp(dai->name, dlc->dai_name) in snd_soc_find_dai() 821 dai = snd_soc_find_dai(dlc); in snd_soc_find_dai_with_mutex() 2947 codec_conf->dlc.of_node = of_node; in snd_soc_of_parse_node_prefix() 3026 if (!aux->dlc.of_node) in snd_soc_of_parse_aux_devs() 3204 struct snd_soc_dai_link_component dlc; in snd_soc_get_dai_id() local 3208 dlc.name = NULL; in snd_soc_get_dai_id() 3217 component = soc_find_component(&dlc); in snd_soc_get_dai_id() [all …]
|