Lines Matching refs:cc770_read_reg
209 cc770_read_reg(priv, interrupt); in set_reset_mode()
223 cc770_read_reg(priv, interrupt); in set_normal_mode()
257 cc770_read_reg(priv, interrupt); in chipset_init()
303 if (cc770_read_reg(priv, cpu_interface) & CPUIF_RST) { in cc770_probe_chip()
313 if ((cc770_read_reg(priv, msgobj[1].data[1]) != 0x25) || in cc770_probe_chip()
314 (cc770_read_reg(priv, msgobj[2].data[3]) != 0x52) || in cc770_probe_chip()
315 (cc770_read_reg(priv, msgobj[10].data[6]) != 0xc3)) { in cc770_probe_chip()
322 if (cc770_read_reg(priv, control) & CTRL_EAF) in cc770_probe_chip()
380 bec->txerr = cc770_read_reg(priv, tx_error_counter); in cc770_get_berr_counter()
381 bec->rxerr = cc770_read_reg(priv, rx_error_counter); in cc770_get_berr_counter()
437 if ((cc770_read_reg(priv, in cc770_start_xmit()
463 config = cc770_read_reg(priv, msgobj[mo].config); in cc770_rx()
477 id = cc770_read_reg(priv, msgobj[mo].id[3]); in cc770_rx()
478 id |= cc770_read_reg(priv, msgobj[mo].id[2]) << 8; in cc770_rx()
479 id |= cc770_read_reg(priv, msgobj[mo].id[1]) << 16; in cc770_rx()
480 id |= cc770_read_reg(priv, msgobj[mo].id[0]) << 24; in cc770_rx()
484 id = cc770_read_reg(priv, msgobj[mo].id[1]); in cc770_rx()
485 id |= cc770_read_reg(priv, msgobj[mo].id[0]) << 8; in cc770_rx()
492 cf->data[i] = cc770_read_reg(priv, msgobj[mo].data[i]); in cc770_rx()
517 cf->data[6] = cc770_read_reg(priv, tx_error_counter); in cc770_err()
518 cf->data[7] = cc770_read_reg(priv, rx_error_counter); in cc770_err()
586 status = cc770_read_reg(priv, status); in cc770_status_interrupt()
608 ctrl1 = cc770_read_reg(priv, msgobj[mo].ctrl1); in cc770_rx_interrupt()
613 if (!(cc770_read_reg(priv, msgobj[mo].ctrl0) & in cc770_rx_interrupt()
648 ctrl0 = cc770_read_reg(priv, msgobj[mo].ctrl0); in cc770_rtr_interrupt()
652 ctrl1 = cc770_read_reg(priv, msgobj[mo].ctrl1); in cc770_rtr_interrupt()
671 ctrl1 = cc770_read_reg(priv, msgobj[mo].ctrl1); in cc770_tx_interrupt()
724 intid = cc770_read_reg(priv, interrupt); in cc770_interrupt()