Home
last modified time | relevance | path

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

/linux-4.4.14/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()
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 …]
Dsock.c157 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct()
165 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct()
209 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close()
248 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
256 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
262 pi->dlc->sec_level = pi->sec_level; in rfcomm_sock_init()
263 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
293 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 …]
Dcore.c539 struct rfcomm_dlc *dlc = NULL; in rfcomm_dlc_exists() local
549 dlc = rfcomm_dlc_get(s, dlci); in rfcomm_dlc_exists()
552 return dlc; in rfcomm_dlc_exists()
/linux-4.4.14/drivers/net/can/
Dbfin_can.c51 __BFP(dlc);
236 writew(0, &reg->chl[RECEIVE_STD_CHL + i].dlc); in bfin_can_set_reset_mode()
245 writew(0, &reg->chl[RECEIVE_EXT_CHL + i].dlc); in bfin_can_set_reset_mode()
346 u8 dlc = cf->can_dlc; in bfin_can_start_xmit() local
369 val = ((7 - i) < dlc ? (data[7 - i]) : 0) + in bfin_can_start_xmit()
370 ((6 - i) < dlc ? (data[6 - i] << 8) : 0); in bfin_can_start_xmit()
375 writew(dlc, &reg->chl[TRANSMIT_CHL].dlc); in bfin_can_start_xmit()
418 cf->can_dlc = get_can_dlc(readw(&reg->chl[obj].dlc) & 0xF); in bfin_can_rx()
527 stats->tx_bytes += readw(&reg->chl[TRANSMIT_CHL].dlc); in bfin_can_interrupt()
Drcar_can.c41 u8 dlc; /* Data Length Code - bits [0..3] */ member
612 writeb(cf->can_dlc, &priv->regs->mb[RCAR_CAN_TX_FIFO_MBX].dlc); in rcar_can_start_xmit()
642 u8 dlc; in rcar_can_rx_pkt() local
656 dlc = readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].dlc); in rcar_can_rx_pkt()
657 cf->can_dlc = get_can_dlc(dlc); in rcar_can_rx_pkt()
661 for (dlc = 0; dlc < cf->can_dlc; dlc++) in rcar_can_rx_pkt()
662 cf->data[dlc] = in rcar_can_rx_pkt()
663 readb(&priv->regs->mb[RCAR_CAN_RX_FIFO_MBX].data[dlc]); in rcar_can_rx_pkt()
Dxilinx_can.c393 u32 id, dlc, data[2] = {0, 0}; in xcan_start_xmit() local
433 dlc = cf->can_dlc << XCAN_DLCR_DLC_SHIFT; in xcan_start_xmit()
446 priv->write_reg(priv, XCAN_TXFIFO_DLC_OFFSET, dlc); in xcan_start_xmit()
479 u32 id_xcan, dlc, data[2] = {0, 0}; in xcan_rx() local
489 dlc = priv->read_reg(priv, XCAN_RXFIFO_DLC_OFFSET) >> in xcan_rx()
493 cf->can_dlc = get_can_dlc(dlc); in xcan_rx()
Dsun4i_can.c416 u8 dlc; in sun4ican_start_xmit() local
427 dlc = cf->can_dlc; in sun4ican_start_xmit()
428 msg_flag_n = dlc; in sun4ican_start_xmit()
446 for (i = 0; i < dlc; i++) in sun4ican_start_xmit()
Djanz-ican3.c1206 u8 dlc; in ican3_get_echo_skb() local
1215 dlc = cf->can_dlc; in ican3_get_echo_skb()
1220 return dlc; in ican3_get_echo_skb()
1228 return dlc; in ican3_get_echo_skb()
Dgrcan.c1362 u32 i, rtr, eff, dlc, tmp, err; in grcan_start_xmit() local
1406 dlc = cf->can_dlc; in grcan_start_xmit()
1413 slot[1] = ((dlc << GRCAN_MSG_DLC_BIT) & GRCAN_MSG_DLC); in grcan_start_xmit()
1416 for (i = 0; i < dlc; i++) { in grcan_start_xmit()
Dpch_can.c723 u32 dlc; in pch_can_tx_complete() local
729 dlc = get_can_dlc(ioread32(&priv->regs->ifregs[1].mcont) & in pch_can_tx_complete()
731 stats->tx_bytes += dlc; in pch_can_tx_complete()
Ddev.c441 u8 dlc = cf->can_dlc; in can_get_echo_skb() local
446 return dlc; in can_get_echo_skb()
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dmessage.c7947 static byte dlc[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; in add_b23() local
8003 dlc[0] = 2; in add_b23()
8004 PUT_WORD(&dlc[1], plci->appl->MaxDataLength); in add_b23()
8005 add_p(plci, DLC, dlc); in add_b23()
8018 dlc[0] = 2; in add_b23()
8019 PUT_WORD(&dlc[1], plci->appl->MaxDataLength); in add_b23()
8020 add_p(plci, DLC, dlc); in add_b23()
8060 dlc[0] = 2; in add_b23()
8061 PUT_WORD(&dlc[1], plci->appl->MaxDataLength); in add_b23()
8062 dlc[3] = 3; /* Addr A */ in add_b23()
[all …]
/linux-4.4.14/drivers/net/can/usb/
Dusb_8dev.c128 u8 dlc; member
159 u8 dlc; /* data length code 0-8 bytes */ member
170 u8 dlc; /* data length code 0-8 bytes */ member
484 cf->can_dlc = get_can_dlc(msg->dlc & 0xF); in usb_8dev_rx_can_msg()
595 netdev->stats.tx_bytes += context->dlc; in usb_8dev_write_bulk_callback()
651 msg->dlc = cf->can_dlc; in usb_8dev_start_xmit()
670 context->dlc = cf->can_dlc; in usb_8dev_start_xmit()
Desd_usb2.c131 u8 dlc; member
141 u8 dlc; member
198 int dlc; member
336 cf->can_dlc = get_can_dlc(msg->msg.rx.dlc); in esd_usb2_rx_can_msg()
341 if (msg->msg.rx.dlc & ESD_RTR) { in esd_usb2_rx_can_msg()
370 stats->tx_bytes += context->dlc; in esd_usb2_tx_done_msg()
753 msg->msg.tx.dlc = cf->can_dlc; in esd_usb2_start_xmit()
757 msg->msg.tx.dlc |= ESD_RTR; in esd_usb2_start_xmit()
785 context->dlc = cf->can_dlc; in esd_usb2_start_xmit()
Dems_usb.c245 u8 dlc; member
530 netdev->stats.tx_bytes += context->dlc; in ems_usb_write_bulk_callback()
811 context->dlc = cf->can_dlc; in ems_usb_start_xmit()
Dkvaser_usb.c381 u8 dlc; member
449 int dlc; member
750 stats->tx_bytes += context->dlc; in kvaser_usb_tx_acknowledge()
1187 cf->can_dlc = get_can_dlc(msg->u.leaf.log_message.dlc); in kvaser_usb_rx_can_msg()
1740 context->dlc = cf->can_dlc; in kvaser_usb_start_xmit()
/linux-4.4.14/drivers/net/can/cc770/
Dcc770.c399 u8 dlc, rtr; in cc770_start_xmit() local
414 dlc = cf->can_dlc; in cc770_start_xmit()
427 (dlc << 4) | rtr | MSGCFG_XTD); in cc770_start_xmit()
434 cc770_write_reg(priv, msgobj[mo].config, (dlc << 4) | rtr); in cc770_start_xmit()
439 for (i = 0; i < dlc; i++) in cc770_start_xmit()
448 stats->tx_bytes += dlc; in cc770_start_xmit()
/linux-4.4.14/drivers/net/can/m_can/
Dm_can.c366 u32 id, fgi, dlc; in m_can_read_fifo() local
371 dlc = m_can_fifo_read(priv, fgi, M_CAN_FIFO_DLC); in m_can_read_fifo()
372 if (dlc & RX_BUF_EDL) in m_can_read_fifo()
381 if (dlc & RX_BUF_EDL) in m_can_read_fifo()
382 cf->len = can_dlc2len((dlc >> 16) & 0x0F); in m_can_read_fifo()
384 cf->len = get_can_dlc((dlc >> 16) & 0x0F); in m_can_read_fifo()
397 if (!(dlc & RX_BUF_EDL) && (id & RX_BUF_RTR)) { in m_can_read_fifo()
400 if (dlc & RX_BUF_BRS) in m_can_read_fifo()
/linux-4.4.14/drivers/net/can/sja1000/
Dsja1000.c287 uint8_t dlc; in sja1000_start_xmit() local
298 fi = dlc = cf->can_dlc; in sja1000_start_xmit()
319 for (i = 0; i < dlc; i++) in sja1000_start_xmit()
/linux-4.4.14/drivers/net/can/c_can/
Dc_can.h215 u32 dlc[C_CAN_MSG_OBJ_TX_NUM]; member
Dc_can.c459 priv->dlc[idx] = frame->can_dlc; in c_can_start_xmit()
693 bytes += priv->dlc[idx]; in c_can_do_tx()
/linux-4.4.14/include/net/bluetooth/
Drfcomm.h306 struct rfcomm_dlc *dlc; member
/linux-4.4.14/sound/soc/
Dsoc-core.c884 const struct snd_soc_dai_link_component *dlc) in snd_soc_find_dai() argument
898 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_find_dai()
900 if (dlc->name && strcmp(component->name, dlc->name)) in snd_soc_find_dai()
903 if (dlc->dai_name && strcmp(dai->name, dlc->dai_name)) in snd_soc_find_dai()
/linux-4.4.14/arch/blackfin/include/asm/
Dbfin_can.h39 __BFP(dlc);
/linux-4.4.14/arch/arm/mach-sa1100/
DKconfig96 <http://h10025.www1.hp.com/ewfrf/wc/product?product=61677&cc=us&lc=en&dlc=en&product=61677#>
/linux-4.4.14/drivers/pci/
Dquirks.c60 unsigned char dlc; in quirk_passive_release() local
65 pci_read_config_byte(d, 0x82, &dlc); in quirk_passive_release()
66 if (!(dlc & 1<<1)) { in quirk_passive_release()
68 dlc |= 1<<1; in quirk_passive_release()
69 pci_write_config_byte(d, 0x82, dlc); in quirk_passive_release()
/linux-4.4.14/arch/blackfin/kernel/
Ddebug-mmrs.c190 (u16 *)(base + CAN_OFF(chl[i].dlc))); in bfin_debug_mmrs_can()