Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/can/usb/
Desd_usb.c1020 u32 canbtr; in esd_usb_2_set_bittiming() local
1023 canbtr = ESD_USB_UBR; in esd_usb_2_set_bittiming()
1025 canbtr |= ESD_USB_LOM; in esd_usb_2_set_bittiming()
1027 canbtr |= (bt->brp - 1) & (btc->brp_max - 1); in esd_usb_2_set_bittiming()
1035 canbtr |= ((bt->sjw - 1) & (btc->sjw_max - 1)) in esd_usb_2_set_bittiming()
1037 canbtr |= ((bt->prop_seg + bt->phase_seg1 - 1) in esd_usb_2_set_bittiming()
1040 canbtr |= ((bt->phase_seg2 - 1) & (btc->tseg2_max - 1)) in esd_usb_2_set_bittiming()
1043 canbtr |= ESD_USB_TRIPLE_SAMPLES; in esd_usb_2_set_bittiming()
1053 msg->setbaud.baud = cpu_to_le32(canbtr); in esd_usb_2_set_bittiming()
1055 netdev_dbg(netdev, "setting BTR=%#x\n", canbtr); in esd_usb_2_set_bittiming()