Lines Matching refs:sc_ops
168 struct virtio_ops *sc_ops; /* set by transport */
189 #define virtio_read_device_config_1(sc, o) (sc)->sc_ops->read_dev_cfg_1(sc, o)
190 #define virtio_read_device_config_2(sc, o) (sc)->sc_ops->read_dev_cfg_2(sc, o)
191 #define virtio_read_device_config_4(sc, o) (sc)->sc_ops->read_dev_cfg_4(sc, o)
192 #define virtio_read_device_config_8(sc, o) (sc)->sc_ops->read_dev_cfg_8(sc, o)
193 #define virtio_write_device_config_1(sc, o, v) (sc)->sc_ops->write_dev_cfg_1(sc, o, v)
194 #define virtio_write_device_config_2(sc, o, v) (sc)->sc_ops->write_dev_cfg_2(sc, o, v)
195 #define virtio_write_device_config_4(sc, o, v) (sc)->sc_ops->write_dev_cfg_4(sc, o, v)
196 #define virtio_write_device_config_8(sc, o, v) (sc)->sc_ops->write_dev_cfg_8(sc, o, v)
197 #define virtio_read_queue_size(sc, i) (sc)->sc_ops->read_queue_size(sc, i)
198 #define virtio_setup_queue(sc, i, v) (sc)->sc_ops->setup_queue(sc, i, v)
199 #define virtio_negotiate_features(sc, n) (sc)->sc_ops->neg_features(sc, n)
200 #define virtio_poll_intr(sc) (sc)->sc_ops->poll_intr(sc)
201 #define virtio_get_status(sc) (sc)->sc_ops->get_status(sc)
202 #define virtio_set_status(sc, i) (sc)->sc_ops->set_status(sc, i)