Searched refs:btr1 (Results 1 – 6 of 6) sorted by relevance
/drivers/net/can/usb/ |
D | ems_usb.c | 144 u8 btr1; member 931 u8 btr0, btr1; in ems_usb_set_bittiming() local 934 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ems_usb_set_bittiming() 937 btr1 |= 0x80; in ems_usb_set_bittiming() 939 netdev_info(netdev, "setting BTR0=0x%02x BTR1=0x%02x\n", btr0, btr1); in ems_usb_set_bittiming() 942 dev->active_params.msg.can_params.cc_params.sja1000.btr1 = btr1; in ems_usb_set_bittiming() 971 sja1000->btr1 = 0; in init_params_sja1000()
|
/drivers/net/can/sja1000/ |
D | sja1000.c | 209 u8 btr0, btr1; in sja1000_set_bittiming() local 212 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in sja1000_set_bittiming() 215 btr1 |= 0x80; in sja1000_set_bittiming() 217 netdev_info(dev, "setting BTR0=0x%02x BTR1=0x%02x\n", btr0, btr1); in sja1000_set_bittiming() 220 priv->write_reg(priv, REG_BTR1, btr1); in sja1000_set_bittiming()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 220 u8 btr0, btr1; in pcan_usb_set_bittiming() local 223 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in pcan_usb_set_bittiming() 226 btr1 |= 0x80; in pcan_usb_set_bittiming() 229 btr0, btr1); in pcan_usb_set_bittiming() 231 args[0] = btr1; in pcan_usb_set_bittiming()
|
/drivers/net/can/cc770/ |
D | cc770.c | 366 u8 btr0, btr1; in cc770_set_bittiming() local 369 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in cc770_set_bittiming() 372 btr1 |= 0x80; in cc770_set_bittiming() 374 netdev_info(dev, "setting BTR0=0x%02x BTR1=0x%02x\n", btr0, btr1); in cc770_set_bittiming() 377 cc770_write_reg(priv, bit_timing_1, btr1); in cc770_set_bittiming()
|
/drivers/net/can/mscan/ |
D | mscan.c | 547 u8 btr0, btr1; in mscan_do_set_bittiming() local 550 btr1 = (BTR1_SET_TSEG1(bt->prop_seg + bt->phase_seg1) | in mscan_do_set_bittiming() 554 netdev_info(dev, "setting BTR0=0x%02x BTR1=0x%02x\n", btr0, btr1); in mscan_do_set_bittiming() 557 out_8(®s->canbtr1, btr1); in mscan_do_set_bittiming()
|
/drivers/net/can/ |
D | janz-ican3.c | 1514 u8 btr0, btr1; in ican3_set_bittiming() local 1517 btr1 = ((bt->prop_seg + bt->phase_seg1 - 1) & 0xf) | in ican3_set_bittiming() 1520 btr1 |= 0x80; in ican3_set_bittiming() 1528 msg.data[3] = btr1; in ican3_set_bittiming()
|