Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c539 struct kvaser_usb_busparams busparams; in kvaser_usb_set_bittiming() local
545 busparams.bitrate = cpu_to_le32(bt->bitrate); in kvaser_usb_set_bittiming()
546 busparams.sjw = (u8)sjw; in kvaser_usb_set_bittiming()
547 busparams.tseg1 = (u8)tseg1; in kvaser_usb_set_bittiming()
548 busparams.tseg2 = (u8)tseg2; in kvaser_usb_set_bittiming()
550 busparams.nsamples = 3; in kvaser_usb_set_bittiming()
552 busparams.nsamples = 1; in kvaser_usb_set_bittiming()
554 err = ops->dev_set_bittiming(netdev, &busparams); in kvaser_usb_set_bittiming()
570 if (memcmp(&busparams, &priv->busparams_nominal, in kvaser_usb_set_bittiming()
583 struct kvaser_usb_busparams busparams; in kvaser_usb_set_data_bittiming() local
[all …]
Dkvaser_usb_leaf.c169 struct kvaser_usb_busparams busparams; member
336 struct kvaser_cmd_busparams busparams; member
381 [CMD_GET_BUS_PARAMS_REPLY] = kvaser_fsize(u.busparams),
1496 u8 channel = cmd->u.busparams.channel; in kvaser_usb_leaf_get_busparams_reply()
1505 memcpy(&priv->busparams_nominal, &cmd->u.busparams.busparams, in kvaser_usb_leaf_get_busparams_reply()
1735 const struct kvaser_usb_busparams *busparams) in kvaser_usb_leaf_set_bittiming() argument
1748 cmd->u.busparams.channel = priv->channel; in kvaser_usb_leaf_set_bittiming()
1749 cmd->u.busparams.tid = 0xff; in kvaser_usb_leaf_set_bittiming()
1750 memcpy(&cmd->u.busparams.busparams, busparams, in kvaser_usb_leaf_set_bittiming()
1751 sizeof(cmd->u.busparams.busparams)); in kvaser_usb_leaf_set_bittiming()
Dkvaser_usb.h162 const struct kvaser_usb_busparams *busparams);
165 const struct kvaser_usb_busparams *busparams);
Dkvaser_usb_hydra.c217 struct kvaser_usb_busparams busparams; member
877 memcpy(&priv->busparams_nominal, &cmd->get_busparams_res.busparams, in kvaser_usb_hydra_get_busparams_reply()
881 memcpy(&priv->busparams_data, &cmd->get_busparams_res.busparams, in kvaser_usb_hydra_get_busparams_reply()
1634 const struct kvaser_usb_busparams *busparams) in kvaser_usb_hydra_set_bittiming() argument
1648 memcpy(&cmd->set_busparams_req.busparams_nominal, busparams, in kvaser_usb_hydra_set_bittiming()
1664 const struct kvaser_usb_busparams *busparams) in kvaser_usb_hydra_set_data_bittiming() argument
1678 memcpy(&cmd->set_busparams_req.busparams_data, busparams, in kvaser_usb_hydra_set_data_bittiming()