search for: bustyp

Displaying 20 results from an estimated 84 matches for "bustyp".

Did you mean: bustype
2020 Aug 05
1
[PATCH v3 30/38] virtio_input: convert to LE accessors
...s(vi->idev, abs, re); } @@ -244,14 +244,14 @@ static int virtinput_probe(struct virtio_device *vdev) size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); if (size >= sizeof(struct virtio_input_devids)) { - virtio_cread(vi->vdev, struct virtio_input_config, - u.ids.bustype, &vi->idev->id.bustype); - virtio_cread(vi->vdev, struct virtio_input_config, - u.ids.vendor, &vi->idev->id.vendor); - virtio_cread(vi->vdev, struct virtio_input_config, - u.ids.product, &vi->idev->id.product); - virtio_cread(vi->vdev, struct...
2014 May 10
1
[Bug 78544] New: NV28M running at 1/8th GPU clock when using nouveau
...ayed a bit with nvclock and found something interesting. When using the nvidia driver in X I get: ================================ -- General info -- Card: nVidia Geforce 4 4000 GO Architecture: NV28 A2 PCI id: 0x286 NVPLL_COEFF=00010d01 m=1 n=13 p=1 GPU clock: 175.500 MHz Bustype: AGP -- Memory info -- Amount: 32 MB Type: 128 bit DDR MPLL_COEFF=00001d02 m=2 n=29 p=0 Clock: 391.500 MHz -- AGP info -- Status: Enabled Rate: 4X AGP rates: 1X 2X 4X Fast Writes: Disabled SBA: Disabled -- VideoBios informat...
2014 May 10
4
[Bug 78543] New: NV28M running at 1/8th GPU clock when using nouveau
...ayed a bit with nvclock and found something interesting. When using the nvidia driver in X I get: ================================ -- General info -- Card: nVidia Geforce 4 4000 GO Architecture: NV28 A2 PCI id: 0x286 NVPLL_COEFF=00010d01 m=1 n=13 p=1 GPU clock: 175.500 MHz Bustype: AGP -- Memory info -- Amount: 32 MB Type: 128 bit DDR MPLL_COEFF=00001d02 m=2 n=29 p=0 Clock: 391.500 MHz -- AGP info -- Status: Enabled Rate: 4X AGP rates: 1X 2X 4X Fast Writes: Disabled SBA: Disabled -- VideoBios informat...
2009 Jul 31
1
[PATCH] [memdisk] Additional EDD Device Parameter Table fields
...PT: .totalsize dd 0, 0 ; Filled in by installer .bytespersec dw SECTORSIZE .eddtable dw -1, -1 ; Invalid DPTE pointer +.dpikey dw 0 ; Device Path Info magic (not impl.) + ; Would be 0beddh if implemented +.dpilen db 2ch ; DPI len +.res1 db 0 ; Reserved +.res2 db 0 ; Reserved +.bustype equ ''PCI '' ; Host bus type (4 bytes, space padded) +.inttype equ ''ATA '' ; Interface type (8 bytes, spc. padded) +.intpath dd 0, 0 ; Interface path +.devpath dd 0, 0, 0, 0 ; Device path +.res3 db 0 ; Reserved +.chksum db 0 ; DPI checksum (not imple...
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
...quot;, REG_EXPAND_SZ ("system32\\drivers\\" ^ driver); "Tag", REG_DWORD 0x21_l ]; - [ current_cs; "Services"; "viostor"; "Parameters" ], + [ current_cs; "Services"; driver_name; "Parameters" ], [ "BusType", REG_DWORD 0x1_l ]; - [ current_cs; "Services"; "viostor"; "Parameters"; "MaxTransferSize" ], + [ current_cs; "Services"; driver_name; "Parameters"; "MaxTransferSize" ], [ "ParamDesc", REG_SZ &...
2015 Mar 20
2
[PATCH 1/1] Add virtio-input driver.
...e it 0, which is what you already do by not assigning it. >> > + vi->idev->name = vi->name; >> > + vi->idev->phys = vi->phys; >> >> Can you set vi->idev->uniq to the virtio-bus path? >> >> > + vi->idev->id.bustype = BUS_VIRTUAL; >> > + vi->idev->id.vendor = 0x0001; >> > + vi->idev->id.product = 0x0001; >> > + vi->idev->id.version = 0x0100; >> >> Please don't hardcode those. All user-space based interaction with >> input-de...
2015 Mar 20
2
[PATCH 1/1] Add virtio-input driver.
...e it 0, which is what you already do by not assigning it. >> > + vi->idev->name = vi->name; >> > + vi->idev->phys = vi->phys; >> >> Can you set vi->idev->uniq to the virtio-bus path? >> >> > + vi->idev->id.bustype = BUS_VIRTUAL; >> > + vi->idev->id.vendor = 0x0001; >> > + vi->idev->id.product = 0x0001; >> > + vi->idev->id.version = 0x0100; >> >> Please don't hardcode those. All user-space based interaction with >> input-de...
2020 Aug 06
0
[vhost:vhost 32/65] drivers/virtio/virtio_input.c:247:3: warning: comparison of distinct pointer types ('typeof (_Generic((virtio_cread_v), __u8: (virtio_cread_v), __le16: (__builtin_constant_p((__u16)((__u16)(__le16)(virtio_cread_v)))
...((__u64)(__le64)(virtio_cread_v)) & (__u64)71776119061217280ULL) >> 40) | (((__u64)((__u64)(__le64)(virtio_cread_v)) & (__u64)18374686479671623680ULL) >> 56))) : __fswab64((__u64)(__le64)(virtio_cread_v))))) *' (aka 'int *') and 'typeof (*(&vi->idev->id.bustype)) *' (aka 'unsigned short *')) [-Wcompare-distinct-pointer-types] virtio_cread_le(vi->vdev, struct virtio_input_config, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/virtio_config.h:405:3: note: expanded from macro '...
2020 Aug 03
0
[PATCH v2 11/24] virtio_input: correct tags for config space fields
...uapi/linux/virtio_input.h @@ -40,18 +40,18 @@ enum virtio_input_config_select { }; struct virtio_input_absinfo { - __u32 min; - __u32 max; - __u32 fuzz; - __u32 flat; - __u32 res; + __le32 min; + __le32 max; + __le32 fuzz; + __le32 flat; + __le32 res; }; struct virtio_input_devids { - __u16 bustype; - __u16 vendor; - __u16 product; - __u16 version; + __le16 bustype; + __le16 vendor; + __le16 product; + __le16 version; }; struct virtio_input_config { -- MST
2020 Aug 05
0
[PATCH v3 11/38] virtio_input: correct tags for config space fields
...uapi/linux/virtio_input.h @@ -40,18 +40,18 @@ enum virtio_input_config_select { }; struct virtio_input_absinfo { - __u32 min; - __u32 max; - __u32 fuzz; - __u32 flat; - __u32 res; + __le32 min; + __le32 max; + __le32 fuzz; + __le32 flat; + __le32 res; }; struct virtio_input_devids { - __u16 bustype; - __u16 vendor; - __u16 product; - __u16 version; + __le16 bustype; + __le16 vendor; + __le16 product; + __le16 version; }; struct virtio_input_config { -- MST
2009 Aug 02
0
[PATCH] [memdisk] Additional EDD DPT Fields
....inc b/memdisk/memdisk.inc index 237e020..9c19b58 100644 --- a/memdisk/memdisk.inc +++ b/memdisk/memdisk.inc @@ -980,8 +980,9 @@ EDD_DPT: .dpilen db 2ch ; DPI len .res1 db 0 ; Reserved .res2 dw 0 ; Reserved -.bustype equ 'MEM ' ; Host bus type (4 bytes, space padded) -.inttype equ 'MEMORY ' ; Interface type (8 bytes, spc. padded) +.bustype dd 'MEM ' ; Host bus type (4 bytes, space padded) +.inttype dd 'MEMO' +...
2015 Mar 20
0
[PATCH 1/1] Add virtio-input driver.
...ses where the resolution is either not known or not fixed? Just leave it zero? > > + vi->idev->name = vi->name; > > + vi->idev->phys = vi->phys; > > Can you set vi->idev->uniq to the virtio-bus path? > > > + vi->idev->id.bustype = BUS_VIRTUAL; > > + vi->idev->id.vendor = 0x0001; > > + vi->idev->id.product = 0x0001; > > + vi->idev->id.version = 0x0100; > > Please don't hardcode those. All user-space based interaction with > input-devices relies on those I...
2015 Mar 20
0
[PATCH 1/1] Add virtio-input driver.
...ses where the resolution is either not known or not fixed? Just leave it zero? > > + vi->idev->name = vi->name; > > + vi->idev->phys = vi->phys; > > Can you set vi->idev->uniq to the virtio-bus path? > > > + vi->idev->id.bustype = BUS_VIRTUAL; > > + vi->idev->id.vendor = 0x0001; > > + vi->idev->id.product = 0x0001; > > + vi->idev->id.version = 0x0100; > > Please don't hardcode those. All user-space based interaction with > input-devices relies on those I...
2015 Mar 24
2
[PATCH v3] Add virtio-input driver.
...t;serial; > > + > > + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); > > + if (size >= 8) { > > What does 8 mean here? Should be sizeof virtio_input_devids? > > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.bustype, &vi->idev->id.bustype); > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.vendor, &vi->idev->id.vendor); > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.product, &vi->idev->id.produ...
2015 Mar 24
2
[PATCH v3] Add virtio-input driver.
...t;serial; > > + > > + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); > > + if (size >= 8) { > > What does 8 mean here? Should be sizeof virtio_input_devids? > > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.bustype, &vi->idev->id.bustype); > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.vendor, &vi->idev->id.vendor); > > + virtio_cread(vi->vdev, struct virtio_input_config, > > + u.ids.product, &vi->idev->id.produ...
2015 Mar 24
3
[PATCH v4] Add virtio-input driver.
...ev->name = vi->name; + vi->idev->phys = vi->phys; + vi->idev->uniq = vi->serial; + + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); + if (size >= sizeof(struct virtio_input_devids)) { + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.bustype, &vi->idev->id.bustype); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.vendor, &vi->idev->id.vendor); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.product, &vi->idev->id.product); + virtio_cread(vi->vdev, struct...
2015 Mar 24
3
[PATCH v4] Add virtio-input driver.
...ev->name = vi->name; + vi->idev->phys = vi->phys; + vi->idev->uniq = vi->serial; + + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); + if (size >= sizeof(struct virtio_input_devids)) { + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.bustype, &vi->idev->id.bustype); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.vendor, &vi->idev->id.vendor); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.product, &vi->idev->id.product); + virtio_cread(vi->vdev, struct...
2015 Mar 24
6
[PATCH v3] Add virtio-input driver.
...ot;, vdev->index); + vi->idev->name = vi->name; + vi->idev->phys = vi->phys; + vi->idev->uniq = vi->serial; + + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); + if (size >= 8) { + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.bustype, &vi->idev->id.bustype); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.vendor, &vi->idev->id.vendor); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.product, &vi->idev->id.product); + virtio_cread(vi->vdev, struct...
2015 Mar 24
6
[PATCH v3] Add virtio-input driver.
...ot;, vdev->index); + vi->idev->name = vi->name; + vi->idev->phys = vi->phys; + vi->idev->uniq = vi->serial; + + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); + if (size >= 8) { + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.bustype, &vi->idev->id.bustype); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.vendor, &vi->idev->id.vendor); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.product, &vi->idev->id.product); + virtio_cread(vi->vdev, struct...
2015 Mar 20
2
[PATCH v2] Add virtio-input driver.
...ot;, vdev->index); + vi->idev->name = vi->name; + vi->idev->phys = vi->phys; + vi->idev->uniq = vi->serial; + + size = virtinput_cfg_select(vi, VIRTIO_INPUT_CFG_ID_DEVIDS, 0); + if (size >= 8) { + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.bustype, &vi->idev->id.bustype); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.vendor, &vi->idev->id.vendor); + virtio_cread(vi->vdev, struct virtio_input_config, + u.ids.product, &vi->idev->id.product); + virtio_cread(vi->vdev, struct...