Home
last modified time | relevance | path

Searched refs:dlc (Results 1 – 25 of 88) sorted by relevance

1234

/linux/net/bluetooth/rfcomm/
A Dtty.c83 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()
715 dlc = dev->dlc; in rfcomm_tty_install()
783 struct rfcomm_dlc *dlc = dev->dlc; in rfcomm_tty_write() local
869 if (!dev || !dev->dlc || !dev->dlc->session) in rfcomm_tty_set_termios()
[all …]
A Dsock.c155 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()
290 rfcomm_pi(sk)->dlc = d; in rfcomm_sock_alloc()
378 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_connect()
558 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_sendmsg()
774 !rfcomm_pi(sk)->dlc->defer_setup) { in rfcomm_sock_getsockopt_old()
[all …]
/linux/include/linux/can/
A Dlength.h264 #define can_cc_dlc2len(dlc) (min_t(u8, (dlc), CAN_MAX_DLEN)) argument
280 static inline void can_frame_set_cc_len(struct can_frame *cf, const u8 dlc, in can_frame_set_cc_len() argument
284 if (ctrlmode & CAN_CTRLMODE_CC_LEN8_DLC && dlc > CAN_MAX_DLEN) in can_frame_set_cc_len()
285 cf->len8_dlc = dlc; in can_frame_set_cc_len()
288 cf->len = can_cc_dlc2len(dlc); in can_frame_set_cc_len()
292 u8 can_fd_dlc2len(u8 dlc);
/linux/sound/soc/
A Dsoc-core.c259 return !(dlc->dai_args || dlc->name || dlc->of_node); in snd_soc_dlc_component_is_empty()
264 return (dlc->name && dlc->of_node); in snd_soc_dlc_component_is_invalid()
269 return !(dlc->dai_args || dlc->dai_name); in snd_soc_dlc_dai_is_empty()
275 if (!dlc) in snd_soc_is_matching_dai()
278 if (dlc->dai_args) in snd_soc_is_matching_dai()
281 if (!dlc->dai_name) in snd_soc_is_matching_dai()
853 if (!dlc) in snd_soc_is_matching_component()
856 if (dlc->dai_args) { in snd_soc_is_matching_component()
867 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_is_matching_component()
869 if (dlc->name && strcmp(component->name, dlc->name)) in snd_soc_is_matching_component()
[all …]
/linux/sound/soc/sof/
A 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()
/linux/sound/soc/ti/
A Drx51.c319 .dlc = COMP_AUX("tlv320aic3x-codec.2-0019"),
322 .dlc = COMP_AUX("tpa6130a2.2-0060"),
332 .dlc = COMP_CODEC_CONF("tpa6130a2.2-0060"),
395 rx51_aux_dev[0].dlc.name = NULL; in rx51_soc_probe()
396 rx51_aux_dev[0].dlc.of_node = dai_node; in rx51_soc_probe()
397 rx51_codec_conf[0].dlc.name = NULL; in rx51_soc_probe()
398 rx51_codec_conf[0].dlc.of_node = dai_node; in rx51_soc_probe()
405 rx51_aux_dev[1].dlc.name = NULL; in rx51_soc_probe()
406 rx51_aux_dev[1].dlc.of_node = dai_node; in rx51_soc_probe()
407 rx51_codec_conf[1].dlc.name = NULL; in rx51_soc_probe()
[all …]
/linux/sound/soc/fsl/
A 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()
A Dimx-rpmsg.c108 struct snd_soc_dai_link_component *dlc; in imx_rpmsg_probe() local
116 dlc = devm_kzalloc(&pdev->dev, 3 * sizeof(*dlc), GFP_KERNEL); in imx_rpmsg_probe()
117 if (!dlc) in imx_rpmsg_probe()
126 data->dai.cpus = &dlc[0]; in imx_rpmsg_probe()
128 data->dai.platforms = &dlc[1]; in imx_rpmsg_probe()
130 data->dai.codecs = &dlc[2]; in imx_rpmsg_probe()
A Dimx-audmix.c215 struct snd_soc_dai_link_component *dlc; in imx_audmix_probe() local
218 dlc = devm_kcalloc(&pdev->dev, 2, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
219 if (!dlc) in imx_audmix_probe()
255 priv->dai[i].platforms = &dlc[0]; in imx_audmix_probe()
278 priv->dai[num_dai + i].cpus = &dlc[1]; in imx_audmix_probe()
296 priv->dai_conf[i].dlc.of_node = args.np; in imx_audmix_probe()
A Dfsl-asoc-card.c623 struct snd_soc_dai_link_component *dlc; in fsl_asoc_card_probe() local
710 dlc = devm_kcalloc(&pdev->dev, 10, sizeof(*dlc), GFP_KERNEL); in fsl_asoc_card_probe()
711 if (!dlc) { in fsl_asoc_card_probe()
716 priv->dai_link[0].cpus = &dlc[0]; in fsl_asoc_card_probe()
718 priv->dai_link[0].codecs = &dlc[1]; in fsl_asoc_card_probe()
720 priv->dai_link[0].platforms = &dlc[3]; in fsl_asoc_card_probe()
723 priv->dai_link[1].cpus = &dlc[4]; in fsl_asoc_card_probe()
725 priv->dai_link[1].codecs = &dlc[5]; in fsl_asoc_card_probe()
727 priv->dai_link[1].platforms = &dlc[6]; in fsl_asoc_card_probe()
730 priv->dai_link[2].cpus = &dlc[7]; in fsl_asoc_card_probe()
[all …]
/linux/sound/soc/qcom/
A Dcommon.c35 struct snd_soc_dai_link_component *dlc; in qcom_snd_parse_of() local
86 dlc = devm_kcalloc(dev, 2, sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of()
87 if (!dlc) { in qcom_snd_parse_of()
92 link->cpus = &dlc[0]; in qcom_snd_parse_of()
93 link->platforms = &dlc[1]; in qcom_snd_parse_of()
/linux/sound/soc/intel/boards/
A Dsof_maxim_common.c56 .dlc = COMP_CODEC_CONF(MAX_98373_DEV0_NAME),
60 .dlc = COMP_CODEC_CONF(MAX_98373_DEV1_NAME),
322 .dlc = COMP_CODEC_CONF(MAX_98390_DEV0_NAME),
326 .dlc = COMP_CODEC_CONF(MAX_98390_DEV1_NAME),
333 .dlc = COMP_CODEC_CONF(MAX_98390_DEV0_NAME),
337 .dlc = COMP_CODEC_CONF(MAX_98390_DEV1_NAME),
341 .dlc = COMP_CODEC_CONF(MAX_98390_DEV2_NAME),
345 .dlc = COMP_CODEC_CONF(MAX_98390_DEV3_NAME),
A Dsof_realtek_common.c79 .dlc = COMP_CODEC_CONF(RT1011_DEV0_NAME),
83 .dlc = COMP_CODEC_CONF(RT1011_DEV1_NAME),
90 .dlc = COMP_CODEC_CONF(RT1011_DEV0_NAME),
94 .dlc = COMP_CODEC_CONF(RT1011_DEV1_NAME),
98 .dlc = COMP_CODEC_CONF(RT1011_DEV2_NAME),
102 .dlc = COMP_CODEC_CONF(RT1011_DEV3_NAME),
461 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME),
465 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME),
/linux/sound/soc/generic/
A Dsimple-card.c50 dlc->of_node = args.np; in simple_parse_platform()
57 struct snd_soc_dai_link_component *dlc, in simple_parse_dai() argument
80 dlc->dai_name = snd_soc_dai_name_get(dai); in simple_parse_dai()
81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in simple_parse_dai()
82 if (!dlc->dai_args) in simple_parse_dai()
107 ret = snd_soc_get_dlc(&args, dlc); in simple_parse_dai()
142 struct snd_soc_dai_link_component *dlc; in simple_parse_node() local
147 dlc = snd_soc_link_to_cpu(dai_link, 0); in simple_parse_node()
150 dlc = snd_soc_link_to_codec(dai_link, 0); in simple_parse_node()
154 ret = simple_parse_dai(dev, np, dlc, cpu); in simple_parse_node()
[all …]
A Daudio-graph-card.c68 static bool soc_component_is_pcm(struct snd_soc_dai_link_component *dlc) in soc_component_is_pcm() argument
70 struct snd_soc_dai *dai = snd_soc_find_dai_with_mutex(dlc); in soc_component_is_pcm()
106 struct snd_soc_dai_link_component *dlc; in graph_parse_node() local
111 dlc = snd_soc_link_to_cpu(dai_link, 0); in graph_parse_node()
114 dlc = snd_soc_link_to_codec(dai_link, 0); in graph_parse_node()
118 ret = graph_util_parse_dai(dev, ep, dlc, cpu); in graph_parse_node()
126 ret = simple_util_parse_clk(dev, ep, dai, dlc); in graph_parse_node()
/linux/drivers/net/can/usb/etas_es58x/
A Des581_4.h81 u8 dlc; member
111 u8 dlc; member
122 u8 dlc; member
A Des58x_fd.c41 __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/drivers/net/can/dev/
A Dlength.c15 u8 can_fd_dlc2len(u8 dlc) in can_fd_dlc2len() argument
17 return dlc2len[dlc & 0x0F]; in can_fd_dlc2len()
/linux/Documentation/devicetree/bindings/display/panel/
A Ddlc,dlc0700yzg-1.yaml4 $id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#
18 const: dlc,dlc0700yzg-1
/linux/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-tx.c39 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 Dmcp251xfd-rx.c125 u8 dlc; in mcp251xfd_hw_rx_obj_to_skb() local
141 dlc = FIELD_GET(MCP251XFD_OBJ_FLAGS_DLC_MASK, hw_rx_obj->flags); in mcp251xfd_hw_rx_obj_to_skb()
151 cfd->len = can_fd_dlc2len(dlc); in mcp251xfd_hw_rx_obj_to_skb()
156 can_frame_set_cc_len((struct can_frame *)cfd, dlc, in mcp251xfd_hw_rx_obj_to_skb()
/linux/drivers/net/can/usb/
A Desd_usb.c143 u8 dlc; member
162 u8 dlc; member
312 msg->rx.dlc, state, ecc, in esd_usb_rx_event()
410 if (msg->rx.dlc & ESD_USB_FD) { in esd_usb_rx_can_msg()
424 if (msg->rx.dlc & ESD_USB_FD) { in esd_usb_rx_can_msg()
430 if (msg->rx.dlc & ESD_USB_ESI) in esd_usb_rx_can_msg()
435 if (msg->rx.dlc & ESD_USB_RTR) { in esd_usb_rx_can_msg()
856 msg->tx.dlc = can_fd_len2dlc(cfd->len); in esd_usb_start_xmit()
857 msg->tx.dlc |= ESD_USB_FD; in esd_usb_start_xmit()
860 msg->tx.dlc |= ESD_USB_NO_BRS; in esd_usb_start_xmit()
[all …]
/linux/drivers/net/can/rockchip/
A Drockchip_canfd-rx.c59 u8 dlc; in rkcanfd_fifo_header_to_cfd_header() local
67 dlc = FIELD_GET(RKCANFD_REG_FD_FRAMEINFO_DATA_LENGTH, in rkcanfd_fifo_header_to_cfd_header()
72 cfd->len = can_fd_dlc2len(dlc); in rkcanfd_fifo_header_to_cfd_header()
82 cfd->len = can_cc_dlc2len(dlc); in rkcanfd_fifo_header_to_cfd_header()
/linux/drivers/net/can/rcar/
A Drcar_can.c46 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/sound/soc/meson/
A Daxg-card.c109 struct snd_soc_dai_link_component *dlc; in axg_card_add_tdm_loopback() local
124 dlc = devm_kzalloc(card->dev, sizeof(*dlc), GFP_KERNEL); in axg_card_add_tdm_loopback()
125 if (!dlc) in axg_card_add_tdm_loopback()
128 lb->cpus = dlc; in axg_card_add_tdm_loopback()

Completed in 638 milliseconds

1234