/Linux-v5.4/net/bluetooth/rfcomm/ |
D | tty.c | 63 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 …]
|
D | sock.c | 46 /* ---- DLC callbacks ---- 72 BT_DBG("dlc %p state %ld err %d", d, d->state, err); in rfcomm_sk_state_change() 100 /* We have to drop DLC lock here, otherwise in rfcomm_sk_state_change() 158 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct() 160 BT_DBG("sk %p dlc %p", sk, d); in rfcomm_sock_destruct() 166 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct() 168 /* Detach DLC if it's owned by this socket */ in rfcomm_sock_destruct() 210 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close() 250 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init() 258 pi->dlc->defer_setup = 0; in rfcomm_sock_init() [all …]
|
D | core.c | 265 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 …]
|
/Linux-v5.4/sound/soc/qcom/ |
D | common.c | 17 struct snd_soc_dai_link_component *dlc; in qcom_snd_parse_of() local 46 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of() 47 if (!dlc) in qcom_snd_parse_of() 50 link->cpus = &dlc[0]; in qcom_snd_parse_of() 51 link->platforms = &dlc[1]; in qcom_snd_parse_of() 105 dlc = devm_kzalloc(dev, sizeof(*dlc), GFP_KERNEL); in qcom_snd_parse_of() 106 if (!dlc) in qcom_snd_parse_of() 109 link->codecs = dlc; in qcom_snd_parse_of()
|
D | apq8016_sbc.c | 120 struct snd_soc_dai_link_component *dlc; in apq8016_sbc_parse_of() local 154 dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL); in apq8016_sbc_parse_of() 155 if (!dlc) in apq8016_sbc_parse_of() 158 link->cpus = &dlc[0]; in apq8016_sbc_parse_of() 159 link->platforms = &dlc[1]; in apq8016_sbc_parse_of()
|
/Linux-v5.4/sound/soc/sof/ |
D | nocodec.c | 24 struct snd_soc_dai_link_component *dlc; in sof_nocodec_bes_setup() local 32 dlc = devm_kzalloc(dev, 3 * sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup() 33 if (!dlc) in sof_nocodec_bes_setup() 41 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup() 42 links[i].codecs = &dlc[1]; in sof_nocodec_bes_setup() 43 links[i].platforms = &dlc[2]; in sof_nocodec_bes_setup()
|
/Linux-v5.4/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
|
D | dlc,dlc1010gig.txt | 1 DLC Display Co. DLC1010GIG 10.1" WXGA TFT LCD Panel 4 - compatible: should be "dlc,dlc1010gig"
|
/Linux-v5.4/sound/soc/fsl/ |
D | imx-audmix.c | 208 struct snd_soc_dai_link_component *dlc; in imx_audmix_probe() local 211 dlc = devm_kzalloc(&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()
|
/Linux-v5.4/drivers/net/can/usb/ |
D | mcba_usb.c | 67 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() 353 usb_msg.dlc = cf->can_dlc; in mcba_usb_start_xmit() 355 memcpy(usb_msg.data, cf->data, usb_msg.dlc); in mcba_usb_start_xmit() 358 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()
|
D | esd_usb2.c | 38 /* 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()
|
D | ucan.c | 203 /* 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 …]
|
/Linux-v5.4/sound/soc/meson/ |
D | axg-card.c | 128 of_node_put(aux->dlc.of_node); in axg_card_clean_references() 162 aux->dlc.of_node = in axg_card_add_aux_devices() 164 if (!aux->dlc.of_node) in axg_card_add_aux_devices() 259 struct snd_soc_dai_link_component *dlc; in axg_card_add_tdm_loopback() local 273 dlc = devm_kzalloc(card->dev, 2 * sizeof(*dlc), GFP_KERNEL); in axg_card_add_tdm_loopback() 274 if (!dlc) in axg_card_add_tdm_loopback() 277 lb->cpus = &dlc[0]; in axg_card_add_tdm_loopback() 278 lb->codecs = &dlc[1]; in axg_card_add_tdm_loopback()
|
/Linux-v5.4/sound/soc/ti/ |
D | rx51.c | 322 .dlc = COMP_AUX("tlv320aic3x-codec.2-0019"), 325 .dlc = COMP_AUX("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() 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()
|
/Linux-v5.4/net/can/j1939/ |
D | main.c | 64 /* 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-v5.4/drivers/net/can/ |
D | xilinx_can.c | 130 #define XCAN_DLCR_EDL_MASK 0x08000000 /* EDL Mask in DLC */ 131 #define XCAN_DLCR_BRS_MASK 0x04000000 /* BRS Mask in DLC */ 547 u32 id, dlc, data[2] = {0, 0}; in xcan_write_frame() local 578 dlc = can_len2dlc(cf->len) << XCAN_DLCR_DLC_SHIFT; in xcan_write_frame() 581 dlc |= XCAN_DLCR_BRS_MASK; in xcan_write_frame() 582 dlc |= XCAN_DLCR_EDL_MASK; in xcan_write_frame() 589 priv->write_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_offset), dlc); in xcan_write_frame() 740 u32 id_xcan, dlc, data[2] = {0, 0}; in xcan_rx() local 750 dlc = priv->read_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_base)) >> in xcan_rx() 754 cf->can_dlc = get_can_dlc(dlc); in xcan_rx() [all …]
|
D | slcan.c | 116 * <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() 192 /* RTR frames may have a dlc > 0 but they never have any data bytes */ in slc_bump() 289 /* RTR frames may have a dlc > 0 but they never have any data bytes */ in slc_encaps()
|
/Linux-v5.4/include/linux/can/ |
D | dev.h | 85 * get_can_dlc(value) - helper macro to cast a given data length code (dlc) 86 * to __u8 and ensure the dlc value to be max. 8 bytes. 89 * ISO 11898-1 Chapter 8.4.2.3 (DLC field)
|
/Linux-v5.4/drivers/net/can/rcar/ |
D | rcar_can.c | 46 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-v5.4/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 233 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-v5.4/sound/soc/rockchip/ |
D | rockchip_max98090.c | 177 .dlc = COMP_EMPTY(), 243 rk_98090_headset_dev.dlc.of_node = of_parse_phandle(np, in snd_rk_mc_probe() 245 if (!rk_98090_headset_dev.dlc.of_node) { in snd_rk_mc_probe()
|
/Linux-v5.4/sound/soc/generic/ |
D | simple-card.c | 32 struct snd_soc_dai_link_component *dlc, in asoc_simple_parse_dai() argument 52 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() 54 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai() 68 ret = snd_soc_of_get_dai_name(node, &dlc->dai_name); in asoc_simple_parse_dai() 72 dlc->of_node = args.np; in asoc_simple_parse_dai() 445 card->aux_dev[i].dlc.of_node = aux_node; in simple_parse_aux_devs()
|
/Linux-v5.4/sound/soc/sunxi/ |
D | sun4i-codec.c | 1299 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-v5.4/include/uapi/linux/ |
D | can.h | 85 /* 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-v5.4/include/net/bluetooth/ |
D | rfcomm.h | 163 /* Default DLC parameters */ 203 /* DLC and session flags */ 308 struct rfcomm_dlc *dlc; member
|