Searched refs:dbt (Results 1 – 6 of 6) sorted by relevance
/drivers/net/can/usb/ |
D | gs_usb.c | 423 struct gs_device_bittiming *dbt; in gs_usb_set_bittiming() local 425 dbt = kmalloc(sizeof(*dbt), GFP_KERNEL); in gs_usb_set_bittiming() 426 if (!dbt) in gs_usb_set_bittiming() 429 dbt->prop_seg = bt->prop_seg; in gs_usb_set_bittiming() 430 dbt->phase_seg1 = bt->phase_seg1; in gs_usb_set_bittiming() 431 dbt->phase_seg2 = bt->phase_seg2; in gs_usb_set_bittiming() 432 dbt->sjw = bt->sjw; in gs_usb_set_bittiming() 433 dbt->brp = bt->brp; in gs_usb_set_bittiming() 442 dbt, in gs_usb_set_bittiming() 443 sizeof(*dbt), in gs_usb_set_bittiming() [all …]
|
/drivers/net/can/ifi_canfd/ |
D | ifi_canfd.c | 659 const struct can_bittiming *dbt = &priv->can.data_bittiming; in ifi_canfd_set_bittiming() local 674 brp = dbt->brp - 2; in ifi_canfd_set_bittiming() 675 sjw = dbt->sjw - 1; in ifi_canfd_set_bittiming() 676 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in ifi_canfd_set_bittiming() 677 tseg2 = dbt->phase_seg2 - 2; in ifi_canfd_set_bittiming() 685 tdc = dbt->brp * (dbt->prop_seg + dbt->phase_seg1); in ifi_canfd_set_bittiming()
|
/drivers/net/can/ |
D | dev.c | 941 struct can_bittiming dbt; in can_changelink() local 946 memcpy(&dbt, nla_data(data[IFLA_CAN_DATA_BITTIMING]), in can_changelink() 947 sizeof(dbt)); in can_changelink() 948 err = can_get_bittiming(dev, &dbt, priv->data_bittiming_const); in can_changelink() 951 memcpy(&priv->data_bittiming, &dbt, sizeof(dbt)); in can_changelink()
|
/drivers/dma/ |
D | sa11x0-dma.c | 117 u32 dbt[2]; member 1009 p->dbt[0] = readl_relaxed(p->base + DMA_DBTB); in sa11x0_dma_suspend() 1011 p->dbt[1] = readl_relaxed(p->base + DMA_DBTA); in sa11x0_dma_suspend() 1016 p->dbt[0] = readl_relaxed(p->base + DMA_DBTA); in sa11x0_dma_suspend() 1018 p->dbt[1] = readl_relaxed(p->base + DMA_DBTB); in sa11x0_dma_suspend() 1052 writel_relaxed(p->dbt[0], p->base + DMA_DBTA); in sa11x0_dma_resume() 1054 writel_relaxed(p->dbt[1], p->base + DMA_DBTB); in sa11x0_dma_resume()
|
/drivers/net/can/m_can/ |
D | m_can.c | 806 const struct can_bittiming *dbt = &priv->can.data_bittiming; in m_can_set_bittiming() local 819 brp = dbt->brp - 1; in m_can_set_bittiming() 820 sjw = dbt->sjw - 1; in m_can_set_bittiming() 821 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in m_can_set_bittiming() 822 tseg2 = dbt->phase_seg2 - 1; in m_can_set_bittiming()
|
/drivers/net/can/rcar/ |
D | rcar_canfd.c | 1185 const struct can_bittiming *dbt = &priv->can.data_bittiming; in rcar_canfd_set_bittiming() local 1206 brp = dbt->brp - 1; in rcar_canfd_set_bittiming() 1207 sjw = dbt->sjw - 1; in rcar_canfd_set_bittiming() 1208 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in rcar_canfd_set_bittiming() 1209 tseg2 = dbt->phase_seg2 - 1; in rcar_canfd_set_bittiming()
|