search for: add_registry

Displaying 3 results from an estimated 3 matches for "add_registry".

2024 Feb 20
2
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...to + * have only one specific type. + */ +struct registry_list_entry { + struct list_head head; + enum registry_type type; + size_t klen; + size_t vlen; + union { + u32 dword; /* TYPE_DWORD */ + void *binary; /* TYPE_BINARY or TYPE_STRING */ + } v; + char key[] __counted_by(klen); +}; + +/** + * add_registry -- adds a registry entry + * @gsp: gsp pointer + * @key: name of the registry key + * @type: type of data + * @data: pointer to value + * @length: size of data, in bytes + * + * Adds a registry key/value pair to the registry database. + * + * This function collects the registry information in a lin...
2024 Jan 29
0
[PATCH] [v2] nouveau: add command-line GSP-RM registry support
...MIN_SIZE * 16 @@ -1049,52 +1051,278 @@ r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend) return nvkm_gsp_rpc_wr(gsp, rpc, true); } +struct registry_list_entry { + struct list_head list; + size_t name_len; + u32 type; + u32 data; + u32 length; + char name[]; +}; + +/** + * add_registry -- adds a registry entry + * @name: name of the registry key + * @type: type of data (1 = integer) + * @data: value + * @length: size of data, in bytes + * + * Adds a registry key/value pair to the registry database. + * + * Currently, only 32-bit integers (type == 1, length == 4) are supported. +...
2024 Mar 20
1
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...ry_type type; > > + size_t klen; > > + size_t vlen; > > + union { > > + u32 dword; /* TYPE_DWORD */ > > + void *binary; /* TYPE_BINARY or TYPE_STRING */ > > + } v; > > + char key[] __counted_by(klen); > > +}; > > + > > +/** > > + * add_registry -- adds a registry entry > > + * @gsp: gsp pointer > > + * @key: name of the registry key > > + * @type: type of data > > + * @data: pointer to value > > + * @length: size of data, in bytes > > + * > > + * Adds a registry key/value pair to the registry data...