Home
last modified time | relevance | path

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

1234

/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 …]
/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()
136 link->codecs = dlc; in qcom_snd_parse_of()
/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()
/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 …]
/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()
243 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe()
244 priv->dai[i].codecs = &dlc[1]; in imx_audmix_probe()
245 priv->dai[i].platforms = &dlc[2]; in imx_audmix_probe()
272 priv->dai[num_dai + i].cpus = &dlc[3]; in imx_audmix_probe()
273 priv->dai[num_dai + i].codecs = &dlc[4]; in imx_audmix_probe()
274 priv->dai[num_dai + i].platforms = &dlc[5]; in imx_audmix_probe()
292 priv->dai_conf[i].dlc.of_node = args.np; in imx_audmix_probe()
/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
/linux-5.10/sound/soc/meson/ !
Daxg-card.c109 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-5.10/drivers/net/can/usb/ !
Dmcba_usb.c67 u8 dlc; member
92 u8 dlc; member
187 ctx->dlc = cf->can_dlc; in mcba_usb_get_free_ctx()
190 ctx->dlc = 0; in mcba_usb_get_free_ctx()
237 netdev->stats.tx_bytes += ctx->dlc; in mcba_usb_write_bulk_callback()
351 usb_msg.dlc = cf->can_dlc; in mcba_usb_start_xmit()
353 memcpy(usb_msg.data, cf->data, usb_msg.dlc); in mcba_usb_start_xmit()
356 usb_msg.dlc |= MCBA_DLC_RTR_MASK; in mcba_usb_start_xmit()
451 if (msg->dlc & MCBA_DLC_RTR_MASK) in mcba_usb_process_can()
454 cf->can_dlc = get_can_dlc(msg->dlc & MCBA_DLC_MASK); in mcba_usb_process_can()
Desd_usb2.c38 /* esd CAN message flags - dlc field */
119 u8 dlc; member
129 u8 dlc; member
186 int dlc; member
324 cf->can_dlc = get_can_dlc(msg->msg.rx.dlc & ~ESD_RTR); in esd_usb2_rx_can_msg()
329 if (msg->msg.rx.dlc & ESD_RTR) { in esd_usb2_rx_can_msg()
358 stats->tx_bytes += context->dlc; in esd_usb2_tx_done_msg()
740 msg->msg.tx.dlc = cf->can_dlc; in esd_usb2_start_xmit()
744 msg->msg.tx.dlc |= ESD_RTR; in esd_usb2_start_xmit()
772 context->dlc = cf->can_dlc; in esd_usb2_start_xmit()
Ducan.c203 /* note DLC is computed by
212 u8 dlc; /* RTR dlc */ member
262 u8 dlc; member
309 return get_can_dlc(msg->dlc); in ucan_get_can_dlc()
616 /* compute DLC taking RTR_FLAG into account */ in ucan_rx_can_msg()
637 u8 echo_index, dlc; in ucan_tx_complete_msg() local
661 dlc = READ_ONCE(context->dlc); in ucan_tx_complete_msg()
674 up->netdev->stats.tx_bytes += dlc; in ucan_tx_complete_msg()
1079 offsetof(struct ucan_can_msg, dlc) + in ucan_prepare_tx_urb()
1080 sizeof(m->msg.can_msg.dlc); in ucan_prepare_tx_urb()
[all …]
Dusb_8dev.c117 u8 dlc; member
148 u8 dlc; /* data length code 0-8 bytes */ member
159 u8 dlc; /* data length code 0-8 bytes */ member
473 cf->can_dlc = get_can_dlc(msg->dlc & 0xF); in usb_8dev_rx_can_msg()
586 netdev->stats.tx_bytes += context->dlc; in usb_8dev_write_bulk_callback()
640 msg->dlc = cf->can_dlc; in usb_8dev_start_xmit()
659 context->dlc = cf->can_dlc; in usb_8dev_start_xmit()
/linux-5.10/net/can/j1939/ !
Dmain.c64 /* fix length, set to dlc, with 8 maximum */ in j1939_can_recv()
305 int ret, dlc; in j1939_send_one() local
322 dlc = skb->len; in j1939_send_one()
328 skb_put(skb, J1939_CAN_FTR + (8 - dlc)); in j1939_send_one()
338 cf->can_dlc = dlc; in j1939_send_one()
/linux-5.10/sound/soc/ !
Dsoc-core.c758 const struct snd_soc_dai_link_component *dlc, in snd_soc_is_matching_component() argument
763 if (!dlc) in snd_soc_is_matching_component()
768 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_is_matching_component()
770 if (dlc->name && strcmp(component->name, dlc->name)) in snd_soc_is_matching_component()
777 const struct snd_soc_dai_link_component *dlc) in soc_find_component() argument
792 if (snd_soc_is_matching_component(dlc, component)) in soc_find_component()
801 * @dlc: name of the DAI or the DAI driver and optional component info to match
810 const struct snd_soc_dai_link_component *dlc) in snd_soc_find_dai() argument
819 if (!snd_soc_is_matching_component(dlc, component)) in snd_soc_find_dai()
822 if (dlc->dai_name && strcmp(dai->name, dlc->dai_name) in snd_soc_find_dai()
[all …]
/linux-5.10/drivers/net/can/ !
Dxilinx_can.c132 #define XCAN_DLCR_EDL_MASK 0x08000000 /* EDL Mask in DLC */
133 #define XCAN_DLCR_BRS_MASK 0x04000000 /* BRS Mask in DLC */
554 u32 id, dlc, data[2] = {0, 0}; in xcan_write_frame() local
586 dlc = can_len2dlc(cf->len) << XCAN_DLCR_DLC_SHIFT; in xcan_write_frame()
589 dlc |= XCAN_DLCR_BRS_MASK; in xcan_write_frame()
590 dlc |= XCAN_DLCR_EDL_MASK; in xcan_write_frame()
605 priv->write_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_offset), dlc); in xcan_write_frame()
748 u32 id_xcan, dlc, data[2] = {0, 0}; in xcan_rx() local
758 dlc = priv->read_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_base)) >> in xcan_rx()
762 cf->can_dlc = get_can_dlc(dlc); in xcan_rx()
[all …]
Dslcan.c116 * <type> <id> <dlc> <data>*
126 * The <dlc> is a one byte ASCII number ('0' - '8')
127 * The <data> section has at much ASCII Hex bytes as defined by the <dlc>
158 /* store dlc ASCII value and terminate SFF CAN ID string */ in slc_bump()
161 /* point to payload data behind the dlc */ in slc_bump()
169 /* store dlc ASCII value and terminate EFF CAN ID string */ in slc_bump()
172 /* point to payload data behind the dlc */ in slc_bump()
190 /* RTR frames may have a dlc > 0 but they never have any data bytes */ in slc_bump()
287 /* RTR frames may have a dlc > 0 but they never have any data bytes */ in slc_encaps()
/linux-5.10/drivers/net/can/rcar/ !
Drcar_can.c46 u8 dlc; /* Data Length Code - bits [0..3] */ member
617 writeb(cf->can_dlc, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc); in rcar_can_start_xmit()
647 u8 dlc; in rcar_can_rx_pkt() local
661 dlc = readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].dlc); in rcar_can_rx_pkt()
662 cf->can_dlc = get_can_dlc(dlc); in rcar_can_rx_pkt()
666 for (dlc = 0; dlc < cf->can_dlc; dlc++) in rcar_can_rx_pkt()
667 cf->data[dlc] = in rcar_can_rx_pkt()
668 readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].data[dlc]); in rcar_can_rx_pkt()
/linux-5.10/sound/soc/mediatek/mt8183/ !
Dmt8183-da7219-max98357.c574 .dlc = COMP_EMPTY(),
580 .dlc = COMP_CODEC_CONF("mt6358-sound"),
620 .dlc = COMP_CODEC_CONF("mt6358-sound"),
624 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME),
628 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME),
764 mt8183_da7219_max98357_headset_dev.dlc.of_node = in mt8183_da7219_max98357_dev_probe()
767 if (!mt8183_da7219_max98357_headset_dev.dlc.of_node) { in mt8183_da7219_max98357_dev_probe()
/linux-5.10/drivers/net/can/usb/kvaser_usb/ !
Dkvaser_usb_hydra.c233 u8 dlc; member
247 u8 dlc; member
336 u8 dlc; member
1123 stats->tx_bytes += can_dlc2len(context->dlc); in kvaser_usb_hydra_tx_acknowledge()
1183 cf->can_dlc = get_can_dlc(cmd->rx_can.dlc); in kvaser_usb_hydra_rx_msg_std()
1205 u8 dlc; in kvaser_usb_hydra_rx_msg_ext() local
1216 dlc = (kcan_header & KVASER_USB_KCAN_DATA_DLC_MASK) >> in kvaser_usb_hydra_rx_msg_ext()
1254 cf->len = can_dlc2len(get_canfd_dlc(dlc)); in kvaser_usb_hydra_rx_msg_ext()
1260 cf->len = get_can_dlc(dlc); in kvaser_usb_hydra_rx_msg_ext()
1354 u8 dlc = can_len2dlc(cf->len); in kvaser_usb_hydra_frame_to_cmd_ext() local
[all …]
/linux-5.10/sound/soc/intel/boards/ !
Dsof_maxim_common.c22 .dlc = COMP_CODEC_CONF(MAX_98373_DEV0_NAME),
26 .dlc = COMP_CODEC_CONF(MAX_98373_DEV1_NAME),
/linux-5.10/include/linux/can/ !
Ddev.h101 * get_can_dlc(value) - helper macro to cast a given data length code (dlc)
102 * to u8 and ensure the dlc value to be max. 8 bytes.
105 * ISO 11898-1 Chapter 8.4.2.3 (DLC field)
/linux-5.10/sound/soc/sunxi/ !
Dsun4i-codec.c1299 struct snd_soc_dai_link_component *dlc = devm_kzalloc(dev, in sun4i_codec_create_link() local
1300 3 * sizeof(*dlc), GFP_KERNEL); in sun4i_codec_create_link()
1301 if (!link || !dlc) in sun4i_codec_create_link()
1304 link->cpus = &dlc[0]; in sun4i_codec_create_link()
1305 link->codecs = &dlc[1]; in sun4i_codec_create_link()
1306 link->platforms = &dlc[2]; in sun4i_codec_create_link()
1427 .dlc = COMP_EMPTY(),
1439 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_a23_codec_create_card()
1442 if (!aux_dev.dlc.of_node) { in sun8i_a23_codec_create_card()
1477 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_h3_codec_create_card()
[all …]
/linux-5.10/include/uapi/linux/ !
Dcan.h85 /* CAN payload length and DLC definitions according to ISO 11898-1 */
89 /* CAN FD payload length and DLC definitions according to ISO 11898-7 */
97 * N.B. the DLC field from ISO 11898-1 Chapter 8.4.2.3 has a 1:1
/linux-5.10/include/net/bluetooth/ !
Drfcomm.h162 /* Default DLC parameters */
202 /* DLC and session flags */
307 struct rfcomm_dlc *dlc; member

1234