/kernel/linux/linux-5.10/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() 90 if (dlc->owner == dev) in rfcomm_dev_destruct() 91 dlc->owner = NULL; in rfcomm_dev_destruct() 92 rfcomm_dlc_unlock(dlc); in rfcomm_dev_destruct() [all …]
|
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() 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() 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() 560 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_sendmsg() [all …]
|
/kernel/linux/linux-5.10/sound/soc/qcom/ |
D | common.c | 17 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() 138 link->codecs = dlc; in qcom_snd_parse_of()
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
D | nocodec.c | 25 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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
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() 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/ |
D | mcba_usb.c | 67 u8 dlc; member 96 u8 dlc; member 191 ctx->dlc = cf->can_dlc; in mcba_usb_get_free_ctx() 194 ctx->dlc = 0; in mcba_usb_get_free_ctx() 241 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() 452 if (msg->dlc & MCBA_DLC_RTR_MASK) in mcba_usb_process_can() 455 cf->can_dlc = get_can_dlc(msg->dlc & MCBA_DLC_MASK); in mcba_usb_process_can()
|
D | esd_usb2.c | 119 u8 dlc; member 129 u8 dlc; member 186 int dlc; member 232 msg->msg.rx.dlc, state, ecc, rxerr, txerr); in esd_usb2_rx_event() 332 cf->can_dlc = get_can_dlc(msg->msg.rx.dlc & ~ESD_RTR); in esd_usb2_rx_can_msg() 337 if (msg->msg.rx.dlc & ESD_RTR) { in esd_usb2_rx_can_msg() 366 stats->tx_bytes += context->dlc; in esd_usb2_tx_done_msg() 760 msg->msg.tx.dlc = cf->can_dlc; in esd_usb2_start_xmit() 764 msg->msg.tx.dlc |= ESD_RTR; in esd_usb2_start_xmit() 792 context->dlc = cf->can_dlc; in esd_usb2_start_xmit()
|
D | ucan.c | 212 u8 dlc; /* RTR dlc */ member 262 u8 dlc; member 309 return get_can_dlc(msg->dlc); in ucan_get_can_dlc() 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() 1081 m->msg.can_msg.dlc = cf->can_dlc; in ucan_prepare_tx_urb() 1089 context->dlc = cf->can_dlc; in ucan_prepare_tx_urb()
|
D | usb_8dev.c | 117 u8 dlc; member 149 u8 dlc; /* data length code 0-8 bytes */ member 160 u8 dlc; /* data length code 0-8 bytes */ member 475 cf->can_dlc = get_can_dlc(msg->dlc & 0xF); in usb_8dev_rx_can_msg() 588 netdev->stats.tx_bytes += context->dlc; in usb_8dev_write_bulk_callback() 642 msg->dlc = cf->can_dlc; in usb_8dev_start_xmit() 661 context->dlc = cf->can_dlc; in usb_8dev_start_xmit()
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | xilinx_can.c | 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() 817 u32 id_xcan, dlc, data[2] = {0, 0}, dwindex = 0, i, dw_offset; in xcanfd_rx() local 820 dlc = priv->read_reg(priv, XCAN_FRAME_DLC_OFFSET(frame_base)); in xcanfd_rx() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-core.c | 759 const struct snd_soc_dai_link_component *dlc, in snd_soc_is_matching_component() argument 764 if (!dlc) in snd_soc_is_matching_component() 769 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_is_matching_component() 771 if (dlc->name && strcmp(component->name, dlc->name)) in snd_soc_is_matching_component() 778 const struct snd_soc_dai_link_component *dlc) in soc_find_component() argument 793 if (snd_soc_is_matching_component(dlc, component)) in soc_find_component() 811 const struct snd_soc_dai_link_component *dlc) in snd_soc_find_dai() argument 820 if (!snd_soc_is_matching_component(dlc, component)) in snd_soc_find_dai() 823 if (dlc->dai_name && strcmp(dai->name, dlc->dai_name) in snd_soc_find_dai() 825 || strcmp(dai->driver->name, dlc->dai_name))) in snd_soc_find_dai() [all …]
|
/kernel/linux/linux-5.10/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() 1429 .dlc = COMP_EMPTY(), 1441 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_a23_codec_create_card() 1444 if (!aux_dev.dlc.of_node) { in sun8i_a23_codec_create_card() 1480 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_h3_codec_create_card() [all …]
|
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
D | sof_maxim_common.c | 22 .dlc = COMP_CODEC_CONF(MAX_98373_DEV0_NAME), 26 .dlc = COMP_CODEC_CONF(MAX_98373_DEV1_NAME),
|
D | cml_rt1011_rt5682.c | 498 .dlc = COMP_CODEC_CONF("i2c-10EC1011:00"), 502 .dlc = COMP_CODEC_CONF("i2c-10EC1011:01"), 507 .dlc = COMP_CODEC_CONF("i2c-10EC1011:02"), 511 .dlc = COMP_CODEC_CONF("i2c-10EC1011:03"),
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
D | mt8183-da7219-max98357.c | 575 .dlc = COMP_EMPTY(), 581 .dlc = COMP_CODEC_CONF("mt6358-sound"), 621 .dlc = COMP_CODEC_CONF("mt6358-sound"), 625 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME), 629 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME), 767 mt8183_da7219_max98357_headset_dev.dlc.of_node = in mt8183_da7219_max98357_dev_probe() 770 if (!mt8183_da7219_max98357_headset_dev.dlc.of_node) { in mt8183_da7219_max98357_dev_probe()
|
D | mt8183-mt6358-ts3a227-max98357.c | 540 .dlc = COMP_CODEC_CONF(RT1015_DEV0_NAME), 544 .dlc = COMP_CODEC_CONF(RT1015_DEV1_NAME), 582 .dlc = COMP_EMPTY(), 674 mt8183_mt6358_ts3a227_max98357_headset_dev.dlc.of_node = in mt8183_mt6358_ts3a227_max98357_dev_probe() 677 if (mt8183_mt6358_ts3a227_max98357_headset_dev.dlc.of_node) { in mt8183_mt6358_ts3a227_max98357_dev_probe()
|
/kernel/linux/linux-5.10/net/can/j1939/ |
D | main.c | 313 int ret, dlc; in j1939_send_one() local 330 dlc = skb->len; in j1939_send_one() 339 skb_put(skb, J1939_CAN_FTR + (8 - dlc)); in j1939_send_one() 349 cf->can_dlc = dlc; in j1939_send_one()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 240 u8 dlc; member 254 u8 dlc; member 346 u8 dlc; member 1178 stats->tx_bytes += can_dlc2len(context->dlc); in kvaser_usb_hydra_tx_acknowledge() 1238 cf->can_dlc = get_can_dlc(cmd->rx_can.dlc); in kvaser_usb_hydra_rx_msg_std() 1260 u8 dlc; in kvaser_usb_hydra_rx_msg_ext() local 1271 dlc = (kcan_header & KVASER_USB_KCAN_DATA_DLC_MASK) >> in kvaser_usb_hydra_rx_msg_ext() 1309 cf->len = can_dlc2len(get_canfd_dlc(dlc)); in kvaser_usb_hydra_rx_msg_ext() 1315 cf->len = get_can_dlc(dlc); in kvaser_usb_hydra_rx_msg_ext() 1413 u8 dlc = can_len2dlc(cf->len); in kvaser_usb_hydra_frame_to_cmd_ext() local [all …]
|
/kernel/linux/linux-5.10/sound/soc/rockchip/ |
D | rockchip_max98090.c | 296 .dlc = COMP_EMPTY(), 365 rk_98090_headset_dev.dlc.of_node = of_parse_phandle( in rk_parse_headset_from_of() 367 if (!rk_98090_headset_dev.dlc.of_node) { in rk_parse_headset_from_of()
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
D | tm2_wm5110.c | 336 amp_pdm_dai = snd_soc_find_dai(&tm2_speaker_amp_dev.dlc); in tm2_late_probe() 533 card->aux_dev[0].dlc.of_node = of_parse_phandle(dev->of_node, in tm2_probe() 535 if (!card->aux_dev[0].dlc.of_node) { in tm2_probe() 624 of_node_put(card->aux_dev[0].dlc.of_node); in tm2_probe()
|
D | speyside.c | 243 .dlc = COMP_AUX("wm9081.1-006c"), 250 .dlc = COMP_CODEC_CONF("wm9081.1-006c"),
|
D | neo1973_wm8753.c | 298 .dlc = COMP_AUX("dfbmcs320.0"), 304 .dlc = COMP_CODEC_CONF("lm4857.0-007c"),
|