Lines Matching refs:fsi_dev

68 	struct fsi_device *fsi_dev;  member
82 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA0_REG, &data, in __put_scom()
88 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA1_REG, &data, in __put_scom()
94 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_CMD_REG, &data, in __put_scom()
98 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_STATUS_REG, &raw_status, in __put_scom()
116 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_CMD_REG, &data, in __get_scom()
120 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_STATUS_REG, &raw_status, in __get_scom()
129 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_DATA0_REG, &data, in __get_scom()
134 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_DATA1_REG, &data, in __get_scom()
246 fsi_device_write(scom->fsi_dev, SCOM_FSI2PIB_RESET_REG, &dummy, in handle_fsi2pib_status()
266 fsi_device_write(scom->fsi_dev, SCOM_FSI2PIB_RESET_REG, &dummy, in handle_pib_status()
295 fsi_device_write(scom->fsi_dev, SCOM_FSI2PIB_RESET_REG, in put_scom()
329 fsi_device_write(scom->fsi_dev, SCOM_FSI2PIB_RESET_REG, in get_scom()
356 struct device *dev = &scom->fsi_dev->dev; in scom_read()
386 struct device *dev = &scom->fsi_dev->dev; in scom_write()
500 rc = fsi_device_write(scom->fsi_dev, SCOM_PIB_RESET_REG, &dummy, in scom_reset()
503 rc = fsi_device_write(scom->fsi_dev, SCOM_FSI2PIB_RESET_REG, &dummy, in scom_reset()
565 put_device(&scom->fsi_dev->dev); in scom_free()
571 struct fsi_device *fsi_dev = to_fsi_dev(dev); in scom_probe() local
586 scom->fsi_dev = fsi_dev; in scom_probe()
595 rc = fsi_get_new_minor(fsi_dev, fsi_dev_scom, &scom->dev.devt, &didx); in scom_probe()