Lines Matching refs:scom_device
66 struct scom_device { struct
75 static int __put_scom(struct scom_device *scom_dev, uint64_t value, in __put_scom() argument
107 static int __get_scom(struct scom_device *scom_dev, uint64_t *value, in __get_scom()
144 static int put_indirect_scom_form0(struct scom_device *scom, uint64_t value, in put_indirect_scom_form0()
174 static int put_indirect_scom_form1(struct scom_device *scom, uint64_t value, in put_indirect_scom_form1()
187 static int get_indirect_scom_form0(struct scom_device *scom, uint64_t *value, in get_indirect_scom_form0()
216 static int raw_put_scom(struct scom_device *scom, uint64_t value, in raw_put_scom()
228 static int raw_get_scom(struct scom_device *scom, uint64_t *value, in raw_get_scom()
239 static int handle_fsi2pib_status(struct scom_device *scom, uint32_t status) in handle_fsi2pib_status()
256 static int handle_pib_status(struct scom_device *scom, uint8_t status) in handle_pib_status()
284 static int put_scom(struct scom_device *scom, uint64_t value, in put_scom()
318 static int get_scom(struct scom_device *scom, uint64_t *value, in get_scom()
355 struct scom_device *scom = filep->private_data; in scom_read()
385 struct scom_device *scom = filep->private_data; in scom_write()
443 static int scom_raw_read(struct scom_device *scom, void __user *argp) in scom_raw_read()
461 static int scom_raw_write(struct scom_device *scom, void __user *argp) in scom_raw_write()
492 static int scom_reset(struct scom_device *scom, void __user *argp) in scom_reset()
508 static int scom_check(struct scom_device *scom, void __user *argp) in scom_check()
516 struct scom_device *scom = file->private_data; in scom_ioctl()
545 struct scom_device *scom = container_of(inode->i_cdev, struct scom_device, cdev); in scom_open()
563 struct scom_device *scom = container_of(dev, struct scom_device, dev); in scom_free()
572 struct scom_device *scom; in scom_probe()
618 struct scom_device *scom = dev_get_drvdata(dev); in scom_remove()