search for: 7bd89ea

Displaying 10 results from an estimated 10 matches for "7bd89ea".

2014 Nov 13
7
[PATCH 1/2] virito: introduce methods of fixing device features
...void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...
2014 Nov 13
7
[PATCH 1/2] virito: introduce methods of fixing device features
...void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...
2014 Nov 17
4
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...(*config_changed)(struct virtio_device *dev); + void (*sanitize_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...
2014 Nov 17
4
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...(*config_changed)(struct virtio_device *dev); + void (*sanitize_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...
2014 Nov 13
0
[PATCH 1/2] virito: introduce methods of fixing device features
...> + drv->fix_features(dev); I'd probably call this "sanitize_features" instead. > + > dev->config->finalize_features(dev); > > err = drv->probe(dev); > diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h > index 7f4ef66..7bd89ea 100644 > --- a/include/linux/virtio_config.h > +++ b/include/linux/virtio_config.h > @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, > return test_bit(fbit, vdev->features); > } > > +static inline void virtio_disable_feature(str...
2014 Nov 17
0
[PATCH V3 1/2] virtio: introduce methods of sanitizing device features
...io_device *dev); > + void (*sanitize_features)(struct virtio_device *dev); > #ifdef CONFIG_PM > int (*freeze)(struct virtio_device *dev); > int (*restore)(struct virtio_device *dev); > diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h > index 7f4ef66..7bd89ea 100644 > --- a/include/linux/virtio_config.h > +++ b/include/linux/virtio_config.h > @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, > return test_bit(fbit, vdev->features); > } > > +static inline void virtio_disable_feature(st...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...ev); > I'd probably call this "sanitize_features" instead. Ok. >> + >> dev->config->finalize_features(dev); >> >> err = drv->probe(dev); >> diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h >> index 7f4ef66..7bd89ea 100644 >> --- a/include/linux/virtio_config.h >> +++ b/include/linux/virtio_config.h >> @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, >> return test_bit(fbit, vdev->features); >> } >> >> +static inline void...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...ev); > I'd probably call this "sanitize_features" instead. Ok. >> + >> dev->config->finalize_features(dev); >> >> err = drv->probe(dev); >> diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h >> index 7f4ef66..7bd89ea 100644 >> --- a/include/linux/virtio_config.h >> +++ b/include/linux/virtio_config.h >> @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, >> return test_bit(fbit, vdev->features); >> } >> >> +static inline void...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...
2014 Nov 13
2
[PATCH 1/2] virito: introduce methods of fixing device features
...void (*config_changed)(struct virtio_device *dev); + void (*fix_features)(struct virtio_device *dev); #ifdef CONFIG_PM int (*freeze)(struct virtio_device *dev); int (*restore)(struct virtio_device *dev); diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 7f4ef66..7bd89ea 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -96,6 +96,18 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev, return test_bit(fbit, vdev->features); } +static inline void virtio_disable_feature(struct virtio_device *vdev, +...