D | fsi-sbefifo.c | 119 struct sbefifo { struct 135 struct sbefifo *sbefifo; argument 149 struct sbefifo *sbefifo = container_of(dev, struct sbefifo, dev); in timeout_show() local 151 return sysfs_emit(buf, "%d\n", sbefifo->timed_out ? 1 : 0); in timeout_show() 264 static int sbefifo_regr(struct sbefifo *sbefifo, int reg, u32 *word) in sbefifo_regr() argument 269 rc = fsi_device_read(sbefifo->fsi_dev, reg, &raw_word, in sbefifo_regr() 279 static int sbefifo_regw(struct sbefifo *sbefifo, int reg, u32 word) in sbefifo_regw() argument 283 return fsi_device_write(sbefifo->fsi_dev, reg, &raw_word, in sbefifo_regw() 287 static int sbefifo_check_sbe_state(struct sbefifo *sbefifo) in sbefifo_check_sbe_state() argument 293 rc = fsi_slave_read(sbefifo->fsi_dev->slave, CFAM_GP_MBOX_SBM_ADDR, in sbefifo_check_sbe_state() [all …]
|