Lines Matching defs:mode
49 umode_t mode; /* mode of device node (unused, zero) */
86 * @dev: device for which the naming/mode hint is
87 * @mode: file mode for device node created in /dev
93 static char *hmcdrv_dev_name(struct device *dev, umode_t *mode)
101 /* on device destroy (rmmod) the mode pointer may be NULL
103 if (mode)
104 *mode = hmcdrv_dev.mode;
320 * node name/mode function is optional (only for mode != 0600).
322 hmcdrv_dev.mode = 0; /* "unset" */
346 hmcdrv_dev.dev.mode = 0; /* finally produces 0600 */