Home
last modified time | relevance | path

Searched refs:dbt (Results 1 – 4 of 4) sorted by relevance

/drivers/net/can/usb/
Dgs_usb.c405 struct gs_device_bittiming *dbt; in gs_usb_set_bittiming() local
407 dbt = kmalloc(sizeof(*dbt), GFP_KERNEL); in gs_usb_set_bittiming()
408 if (!dbt) in gs_usb_set_bittiming()
411 dbt->prop_seg = bt->prop_seg; in gs_usb_set_bittiming()
412 dbt->phase_seg1 = bt->phase_seg1; in gs_usb_set_bittiming()
413 dbt->phase_seg2 = bt->phase_seg2; in gs_usb_set_bittiming()
414 dbt->sjw = bt->sjw; in gs_usb_set_bittiming()
415 dbt->brp = bt->brp; in gs_usb_set_bittiming()
424 dbt, in gs_usb_set_bittiming()
425 sizeof(*dbt), in gs_usb_set_bittiming()
[all …]
/drivers/net/can/
Ddev.c940 struct can_bittiming dbt; in can_changelink() local
945 memcpy(&dbt, nla_data(data[IFLA_CAN_DATA_BITTIMING]), in can_changelink()
946 sizeof(dbt)); in can_changelink()
947 err = can_get_bittiming(dev, &dbt, priv->data_bittiming_const); in can_changelink()
950 memcpy(&priv->data_bittiming, &dbt, sizeof(dbt)); in can_changelink()
/drivers/dma/
Dsa11x0-dma.c117 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/
Dm_can.c803 const struct can_bittiming *dbt = &priv->can.data_bittiming; in m_can_set_bittiming() local
816 brp = dbt->brp - 1; in m_can_set_bittiming()
817 sjw = dbt->sjw - 1; in m_can_set_bittiming()
818 tseg1 = dbt->prop_seg + dbt->phase_seg1 - 1; in m_can_set_bittiming()
819 tseg2 = dbt->phase_seg2 - 1; in m_can_set_bittiming()