Searched refs:cc770_read_reg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/can/cc770/ |
D | cc770.c | 216 cc770_read_reg(priv, interrupt); in set_reset_mode() 230 cc770_read_reg(priv, interrupt); in set_normal_mode() 264 cc770_read_reg(priv, interrupt); in chipset_init() 310 if (cc770_read_reg(priv, cpu_interface) & CPUIF_RST) { in cc770_probe_chip() 320 if ((cc770_read_reg(priv, msgobj[1].data[1]) != 0x25) || in cc770_probe_chip() 321 (cc770_read_reg(priv, msgobj[2].data[3]) != 0x52) || in cc770_probe_chip() 322 (cc770_read_reg(priv, msgobj[10].data[6]) != 0xc3)) { in cc770_probe_chip() 329 if (cc770_read_reg(priv, control) & CTRL_EAF) in cc770_probe_chip() 387 bec->txerr = cc770_read_reg(priv, tx_error_counter); in cc770_get_berr_counter() 388 bec->rxerr = cc770_read_reg(priv, rx_error_counter); in cc770_get_berr_counter() [all …]
|
D | cc770.h | 148 #define cc770_read_reg(priv, member) \ macro
|