search for: charp

Displaying 20 results from an estimated 40 matches for "charp".

Did you mean: char
2016 Aug 02
2
[PATCH 0904/1285] Replace numeric parameter like 0444 with macro
...ccw.c b/drivers/s390/virtio/virtio_ccw.c index 8688ad4..56d3671 100644 --- a/drivers/s390/virtio/virtio_ccw.c +++ b/drivers/s390/virtio/virtio_ccw.c @@ -1074,7 +1074,7 @@ static unsigned long devs_no_auto[__MAX_SSID + 1][__DEV_WORDS]; static char *no_auto = ""; -module_param(no_auto, charp, 0444); +module_param(no_auto, charp, S_IRUSR | S_IRGRP | S_IROTH); MODULE_PARM_DESC(no_auto, "list of ccw bus id ranges not to be auto-onlined"); static int virtio_ccw_check_autoonline(struct ccw_device *cdev) -- 2.9.2
2016 Aug 02
2
[PATCH 0904/1285] Replace numeric parameter like 0444 with macro
...ccw.c b/drivers/s390/virtio/virtio_ccw.c index 8688ad4..56d3671 100644 --- a/drivers/s390/virtio/virtio_ccw.c +++ b/drivers/s390/virtio/virtio_ccw.c @@ -1074,7 +1074,7 @@ static unsigned long devs_no_auto[__MAX_SSID + 1][__DEV_WORDS]; static char *no_auto = ""; -module_param(no_auto, charp, 0444); +module_param(no_auto, charp, S_IRUSR | S_IRGRP | S_IROTH); MODULE_PARM_DESC(no_auto, "list of ccw bus id ranges not to be auto-onlined"); static int virtio_ccw_check_autoonline(struct ccw_device *cdev) -- 2.9.2
2016 Aug 02
0
[PATCH 0205/1285] Replace numeric parameter like 0444 with macro
...au_drm.c index 11f8dd9..0a13c9a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -63,24 +63,24 @@ MODULE_PARM_DESC(config, "option string to pass to driver core"); static char *nouveau_config; -module_param_named(config, nouveau_config, charp, 0400); +module_param_named(config, nouveau_config, charp, S_IRUSR); MODULE_PARM_DESC(debug, "debug string to pass to driver core"); static char *nouveau_debug; -module_param_named(debug, nouveau_debug, charp, 0400); +module_param_named(debug, nouveau_debug, charp, S_IRUSR); MODULE...
2015 Jun 08
2
Problem with GT218 (GeForce GT210)
...C2:84:ED:AC:CF:0B:47:36:52:C3:4D:23:BE:C3:56:94:42:36:E6:3B sig_hashalgo: sha512 parm: tv_norm:Default TV norm. Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J, hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i. Default: PAL *NOTE* Ignored for cards with external TV encoders. (charp) parm: tv_disable:Disable TV-out detection (int) parm: ignorelid:Ignore ACPI lid status (int) parm: duallink:Allow dual-link TMDS (default: enabled) (int) parm: nofbaccel:Disable fbcon acceleration (int) parm: agpmode:AGP mode (0 to disable AGP) (in...
2016 Apr 10
1
[PATCH] module parameters: permissions as defines, readable to everyone
...vers/gpu/drm/nouveau/dispnv04/tvnv17.c @@ -40,7 +40,7 @@ MODULE_PARM_DESC(tv_norm, "Default TV norm.\n" "\t\tDefault: PAL\n" "\t\t*NOTE* Ignored for cards with external TV encoders."); static char *nouveau_tv_norm; -module_param_named(tv_norm, nouveau_tv_norm, charp, 0400); +module_param_named(tv_norm, nouveau_tv_norm, charp, S_IRUGO); static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) { diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c index 879655c..0bb1b9c 100644 --- a/drivers/gpu/drm/nouveau/nouv...
2009 Aug 24
5
[PATCH 1/2] drm/i2c/ch7006: Make some parameter descriptions more useful.
.../drivers/gpu/drm/i2c/ch7006_drv.c index 47421ba..ff0369c 100644 --- a/drivers/gpu/drm/i2c/ch7006_drv.c +++ b/drivers/gpu/drm/i2c/ch7006_drv.c @@ -515,11 +515,11 @@ MODULE_PARM_DESC(debug, "Enable debug output."); char *ch7006_tv_norm = NULL; module_param_named(tv_norm, ch7006_tv_norm, charp, 0600); -MODULE_PARM_DESC(tv_norm, "Default TV norm."); +MODULE_PARM_DESC(tv_norm, "Default TV norm (one of: PAL, PAL-M, PAL-N, PAL-Nc, PAL-60, NTSC-M, NTSC-J)."); int ch7006_scale = 0; module_param_named(scale, ch7006_scale, int, 0600); -MODULE_PARM_DESC(scale, "Defaul...
2016 Apr 11
0
[PATCH] nouveau: Switch perms from macros to octal notations, module params readable to everyone
...vers/gpu/drm/nouveau/dispnv04/tvnv17.c @@ -40,7 +40,7 @@ MODULE_PARM_DESC(tv_norm, "Default TV norm.\n" "\t\tDefault: PAL\n" "\t\t*NOTE* Ignored for cards with external TV encoders."); static char *nouveau_tv_norm; -module_param_named(tv_norm, nouveau_tv_norm, charp, 0400); +module_param_named(tv_norm, nouveau_tv_norm, charp, 0444); static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) { diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c index 879655c..6d2b9d9 100644 --- a/drivers/gpu/drm/nouveau/nouveau...
2015 Oct 16
1
[PATCH] inspect: Include more information for augeas parse errors (RHBZ#1229119)
...ot;%s/message", errorpath); + CLEANUP_FREE char *message = guestfs_aug_get (g, messagepath); + CLEANUP_FREE char *linepath = + safe_asprintf (g, "%s/line", errorpath); + CLEANUP_FREE char *line = guestfs_aug_get (g, linepath); + CLEANUP_FREE char *charpath = + safe_asprintf (g, "%s/char", errorpath); + CLEANUP_FREE char *charp = guestfs_aug_get (g, charpath); + guestfs_pop_error_handler (g); + + error (g, _("%s:%s:%s: augeas parse failure: %s"), + configfiles[i], + line...
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...lt;linux/io.h> @@ -443,6 +486,127 @@ static int __devexit virtio_mmio_remove(struct platform_device *pdev) +/* Devices list parameter */ + +#if defined(CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES) + +static char *virtio_mmio_cmdline_devices; +module_param_named(devices, virtio_mmio_cmdline_devices, charp, 0); + +static struct device virtio_mmio_cmdline_parent = { + .init_name = "virtio-mmio-cmdline", +}; + +static int virtio_mmio_register_cmdline_devices(void) +{ + int err; + int id = 0; + char *device = NULL; + char *token; + + err = device_register(&virtio_mmio_cmdline_parent); + if...
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...lt;linux/io.h> @@ -443,6 +486,127 @@ static int __devexit virtio_mmio_remove(struct platform_device *pdev) +/* Devices list parameter */ + +#if defined(CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES) + +static char *virtio_mmio_cmdline_devices; +module_param_named(devices, virtio_mmio_cmdline_devices, charp, 0); + +static struct device virtio_mmio_cmdline_parent = { + .init_name = "virtio-mmio-cmdline", +}; + +static int virtio_mmio_register_cmdline_devices(void) +{ + int err; + int id = 0; + char *device = NULL; + char *token; + + err = device_register(&virtio_mmio_cmdline_parent); + if...
2016 Aug 02
0
[PATCH 0202/1285] Replace numeric parameter like 0444 with macro
...vers/gpu/drm/nouveau/dispnv04/tvnv17.c @@ -40,7 +40,7 @@ MODULE_PARM_DESC(tv_norm, "Default TV norm.\n" "\t\tDefault: PAL\n" "\t\t*NOTE* Ignored for cards with external TV encoders."); static char *nouveau_tv_norm; -module_param_named(tv_norm, nouveau_tv_norm, charp, 0400); +module_param_named(tv_norm, nouveau_tv_norm, charp, S_IRUSR); static uint32_t nv42_tv_sample_load(struct drm_encoder *encoder) { -- 2.9.2
2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
...:4E:71:B0:42:9A:39:8B:8B:78:3B:6F:8B:ED:3B:AF:09:9E:E9:A7 sig_hashalgo: sha256 parm: tv_norm:Default TV norm. Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J, hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i. Default: PAL *NOTE* Ignored for cards with external TV encoders. (charp) parm: vram_pushbuf:Create DMA push buffers in VRAM (int) parm: nofbaccel:Disable fbcon acceleration (int) parm: tv_disable:Disable TV-out detection (int) parm: ignorelid:Ignore ACPI lid status (int) parm: duallink:Allow dual-link TMDS (default: ena...
2015 Dec 08
0
CentOS 6 pci audio card not enabled
...bc*sc*i* depends: snd,snd-ac97-codec,snd-pcm,snd-i2c,snd-ice17xx-ak4xxx,snd-rawmidi,snd-pt2258,snd-ak4xxx-adda,snd-ak4114 vermagic: 2.6.32-573.8.1.el6.x86_64 SMP mod_unload modversions parm: index:Index value for ICE1724 soundcard. (array of int) parm: id:ID string for ICE1724 soundcard. (array of charp) parm: enable:Enable ICE1724 soundcard. (array of bool) parm: model:Use the given board model. (array of charp)
2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Dear R-SIG-Fedora, I'm finding that on CentOS 7, rgl.snapshot (a function in the R package rgl, which provides an R interface to the OpenGL 3-d graphics library) only captures a small portion what's visible in the RGL device window. This does not happen with the same R and rgl versions on CentOS 5.3 (see details below). The maintainer of rgl, Duncan Murdoch, responded (see below) that
2014 Sep 25
2
[PATCH 1/2] drm/nouveau/disp/nv50: Add PFB writes
This fix a GPU lockup on 9400M (NVAC) when using acceleration, see #27501. Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> --- drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c index a7efbff..e425604 100644 ---
2012 Sep 12
1
[PATCH] drm/nouveau: fix early vram corruption originating from vgacon
...<core/device.h> #include <core/client.h> @@ -51,6 +52,8 @@ #include "nouveau_ttm.h" +#define NV_PCI_VGAMEM_ENABLE 0x54 + MODULE_PARM_DESC(config, "option string to pass to driver core"); static char *nouveau_config; module_param_named(config, nouveau_config, charp, 0400); @@ -247,9 +250,20 @@ nouveau_drm_load(struct drm_device *dev, unsigned long flags) struct nouveau_drm *drm; int ret; + /* Blank initial console to prevent VRAM corruption while we initialize + * the HW. For vgacon it will move console memory from VGA VRAM to RAM. + */ + console_lock...
2020 Oct 06
0
[RFC PATCH v2 2/3] nouveau: Add kernel-docs for module parameters
...ck level when plugged in to a + * power source. + * + * * NvClkModeDC (string): Force a particular clock level when running on + * battery. + */ MODULE_PARM_DESC(config, "option string to pass to driver core"); static char *nouveau_config; module_param_named(config, nouveau_config, charp, 0400); +/** + * DOC: debug (string) + * + * Like the "config" parameter, this is a string of comma-separated key=values. + * Valid keys include: + * + * * CLIENT + * * <subdevice> + * + * The list of current sub-device and engine names is in the %nvkm_subdev_name + * array and is...
2013 Jun 06
1
Problem with dahdi XPP driver?
...scription: DAHDI Telephony Interface author: Mark Spencer <markster at digium.com> <markster at digium.com> version: 2.6.1 srcversion: 0AFDAE1CD29137EA0FA18FB depends: crc-ccitt vermagic: 2.6.30.9 mod_unload modversions PENTIUM4 parm: initdir:charp parm: debug:Sets debugging verbosity as a bitfield, to see general debugging set this to 1. To see RBS debugging set this to 32 (int) parm: deftaps:int parm: max_pseudo_channels:Maximum number of pseudo channels. (int) parm: hwec_overrides_swec:When true, a h...
2014 Dec 10
2
[PATCH RESEND 1/2] Allow noaccel to be a pci address
...ns(-) diff --git a/drm/nouveau_drm.c b/drm/nouveau_drm.c index afb93bb..ffa1e4f 100644 --- a/drm/nouveau_drm.c +++ b/drm/nouveau_drm.c @@ -61,9 +61,10 @@ MODULE_PARM_DESC(debug, "debug string to pass to driver core"); static char *nouveau_debug; module_param_named(debug, nouveau_debug, charp, 0400); -MODULE_PARM_DESC(noaccel, "disable kernel/abi16 acceleration"); -static int nouveau_noaccel = 0; -module_param_named(noaccel, nouveau_noaccel, int, 0400); +MODULE_PARM_DESC(noaccel, "disable kernel/abi16 acceleration for all cards," + "or only for the...
2020 Sep 11
6
[RFC] Documentation: nouveau: Introduce some nouveau documentation
...ck level when plugged in to a + * power source. + * + * * NvClkModeDC (string): Force a particular clock level when running on + * battery. + */ MODULE_PARM_DESC(config, "option string to pass to driver core"); static char *nouveau_config; module_param_named(config, nouveau_config, charp, 0400); +/** + * DOC: debug (string) + * + * Like the "config" parameter, this is a string of comma-separated key=values. + * Valid keys include: + * + * * CLIENT + * * <subdevice> + * + * The list of current sub-device and engine names is in the %nvkm_subdev_name + * array and is...