Home
last modified time | relevance | path

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

/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.c400 struct es58x_fd_tx_conf_msg tx_conf_msg = { 0 }; in es58x_fd_enable_channel() local
404 es58x_fd_convert_bittiming(&tx_conf_msg.nominal_bittiming, in es58x_fd_enable_channel()
409 tx_conf_msg.samples_per_bit = ES58X_SAMPLES_PER_BIT_THREE; in es58x_fd_enable_channel()
411 tx_conf_msg.samples_per_bit = ES58X_SAMPLES_PER_BIT_ONE; in es58x_fd_enable_channel()
412 tx_conf_msg.sync_edge = ES58X_SYNC_EDGE_SINGLE; in es58x_fd_enable_channel()
413 tx_conf_msg.physical_layer = ES58X_PHYSICAL_LAYER_HIGH_SPEED; in es58x_fd_enable_channel()
414 tx_conf_msg.echo_mode = ES58X_ECHO_ON; in es58x_fd_enable_channel()
416 tx_conf_msg.ctrlmode |= ES58X_FD_CTRLMODE_PASSIVE; in es58x_fd_enable_channel()
418 tx_conf_msg.ctrlmode |= ES58X_FD_CTRLMODE_ACTIVE; in es58x_fd_enable_channel()
421 tx_conf_msg.ctrlmode |= ES58X_FD_CTRLMODE_FD_NON_ISO; in es58x_fd_enable_channel()
[all …]
H A Des581_4.c396 struct es581_4_tx_conf_msg tx_conf_msg = { 0 }; in es581_4_set_bittiming() local
399 tx_conf_msg.bitrate = cpu_to_le32(bt->bitrate); in es581_4_set_bittiming()
401 tx_conf_msg.sample_point = cpu_to_le32(bt->sample_point / 10U); in es581_4_set_bittiming()
402 tx_conf_msg.samples_per_bit = cpu_to_le32(ES58X_SAMPLES_PER_BIT_ONE); in es581_4_set_bittiming()
403 tx_conf_msg.bit_time = cpu_to_le32(can_bit_time(bt)); in es581_4_set_bittiming()
404 tx_conf_msg.sjw = cpu_to_le32(bt->sjw); in es581_4_set_bittiming()
405 tx_conf_msg.sync_edge = cpu_to_le32(ES58X_SYNC_EDGE_SINGLE); in es581_4_set_bittiming()
406 tx_conf_msg.physical_layer = in es581_4_set_bittiming()
408 tx_conf_msg.echo_mode = cpu_to_le32(ES58X_ECHO_ON); in es581_4_set_bittiming()
409 tx_conf_msg.channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_set_bittiming()
[all …]
H A Des581_4.h185 struct es581_4_tx_conf_msg tx_conf_msg; member
H A Des58x_fd.h214 struct es58x_fd_tx_conf_msg tx_conf_msg; member