Searched refs:mode (Results 251 - 275 of 6117) sorted by relevance

<<11121314151617181920>>

/linux-master/net/smc/
H A Dsmc_sysctl.c38 .mode = 0644,
45 .mode = 0644,
54 .mode = 0644,
61 .mode = 0644,
70 .mode = 0644,
79 .mode = 0644,
88 .mode = 0644,
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c276 static int sun4i_tcon_get_clk_delay(const struct drm_display_mode *mode, argument
279 int delay = mode->vtotal - mode->vdisplay;
281 if (mode->flags & DRM_MODE_FLAG_INTERLACE)
348 const struct drm_display_mode *mode)
363 clk_set_rate(tcon->dclk, mode->crtc_clock * 1000 * (bpp / lanes)
368 SUN4I_TCON0_BASIC0_X(mode->crtc_hdisplay) |
369 SUN4I_TCON0_BASIC0_Y(mode->crtc_vdisplay));
395 block_space = mode->htotal * bpp / (tcon_div * lanes);
396 block_space -= mode
346 sun4i_tcon0_mode_set_cpu(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument
425 sun4i_tcon0_mode_set_lvds(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument
505 sun4i_tcon0_mode_set_rgb(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument
598 sun4i_tcon1_mode_set(struct sun4i_tcon *tcon, const struct drm_display_mode *mode) argument
712 sun4i_tcon_mode_set(struct sun4i_tcon *tcon, const struct drm_encoder *encoder, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/pps/
H A Dkapi.c72 if ((info->mode & default_params) != default_params) {
78 if ((info->mode & (PPS_TSFMT_TSPEC | PPS_TSFMT_NTPFP)) == 0) {
96 pps->params.mode = default_params;
100 if ((pps->info.mode & (PPS_ECHOASSERT | PPS_ECHOCLEAR)) &&
177 if ((pps->params.mode & (PPS_ECHOASSERT | PPS_ECHOCLEAR)))
181 pps->current_mode = pps->params.mode;
182 if (event & pps->params.mode & PPS_CAPTUREASSERT) {
184 if (pps->params.mode & PPS_OFFSETASSERT)
196 if (event & pps->params.mode & PPS_CAPTURECLEAR) {
198 if (pps->params.mode
[all...]
/linux-master/arch/mips/include/asm/
H A Dfpu.h30 * This enum specifies a mode in which we want the FPU to operate, for cores
54 static inline int __enable_fpu(enum fpu_mode mode) argument
58 switch (mode) {
60 /* just enable the FPU in its current mode */
87 fr = (int)mode & FPU_FR_MASK;
120 enum fpu_mode mode; local
124 mode = FPU_HYBRID;
126 mode = !test_thread_flag(TIF_32BIT_FPREGS);
128 ret = __enable_fpu(mode);
133 if (mode
258 __enable_fpu(enum fpu_mode mode) argument
[all...]
/linux-master/drivers/infiniband/core/
H A Dcounters.c24 port_counter->mode.mode = new_mode;
25 port_counter->mode.mask = new_mask;
30 * rdma_counter_set_auto_mode() - Turn on/off per-port auto mode
37 * Return 0 on success. If counter mode wasn't changed then it is considered
39 * Return -EBUSY when changing to auto mode while there are bounded counters.
47 enum rdma_nl_counter_mode mode; local
56 mode = RDMA_COUNTER_MODE_AUTO;
58 mode = (port_counter->num_counters) ? RDMA_COUNTER_MODE_MANUAL :
61 if (port_counter->mode
141 alloc_and_bind(struct ib_device *dev, u32 port, struct ib_qp *qp, enum rdma_nl_counter_mode mode) argument
614 rdma_counter_get_mode(struct ib_device *dev, u32 port, enum rdma_nl_counter_mode *mode, enum rdma_nl_counter_mask *mask) argument
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dfloppy.h23 #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA, mode)
33 #define fd_dma_setup(addr,size,mode,io) fd_ops->_dma_setup(addr,size,mode,io)
41 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
117 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) argument
121 virtual_dma_mode = (mode == DMA_MODE_WRITE);
128 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) argument
137 dir = (mode == DMA_MODE_READ) ? DMA_FROM_DEVICE : DMA_TO_DEVICE;
157 fd_set_dma_mode(mode);
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dcommon.h134 void omap2xxx_restart(enum reboot_mode mode, const char *cmd);
136 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) argument
142 void am33xx_restart(enum reboot_mode mode, const char *cmd);
144 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) argument
150 void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
152 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) argument
158 void ti81xx_restart(enum reboot_mode mode, const char *cmd);
160 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) argument
167 void omap44xx_restart(enum reboot_mode mode, const char *cmd);
169 static inline void omap44xx_restart(enum reboot_mode mode, cons argument
[all...]
/linux-master/net/core/
H A Dsysctl_net_core.c136 .mode = table->mode
388 .mode = 0644,
396 .mode = 0644,
404 .mode = 0644,
412 .mode = 0644,
420 .mode = 0644,
428 .mode = 0644,
435 .mode = 0644,
442 .mode
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_writeback.c37 const struct drm_display_mode *mode; local
61 mode = &crtc_state->mode;
65 DPU_DEBUG("[fb_id:%u][fb:%u,%u][mode:\"%s\":%ux%u]\n", fb->base.id, fb->width, fb->height,
66 mode->name, mode->hdisplay, mode->vdisplay);
68 if (fb->width != mode->hdisplay) {
69 DPU_ERROR("invalid fb w=%d, mode w=%d\n", fb->width, mode
[all...]
/linux-master/drivers/firmware/
H A Dsysfb_simplefb.c9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode.
10 * If the mode is incompatible, we return "false" and let the caller create
26 /* try parsing screen_info into a simple-framebuffer mode struct */
28 struct simplefb_platform_data *mode)
82 mode->format = f->name;
83 mode->width = si->lfb_width;
84 mode->height = si->lfb_height;
85 mode->stride = si->lfb_linelength;
94 const struct simplefb_platform_data *mode,
127 length = mode
27 sysfb_parse_mode(const struct screen_info *si, struct simplefb_platform_data *mode) argument
93 sysfb_create_simplefb(const struct screen_info *si, const struct simplefb_platform_data *mode, struct device *parent) argument
[all...]
/linux-master/drivers/net/ethernet/broadcom/
H A Dbnx2_fw.h13 .mode = BNX2_COM_CPU_MODE,
29 .mode = BNX2_CP_CPU_MODE,
45 .mode = BNX2_RXP_CPU_MODE,
61 .mode = BNX2_TPAT_CPU_MODE,
77 .mode = BNX2_TXP_CPU_MODE,
/linux-master/tools/perf/trace/beauty/
H A Dmode_t.c27 int printed = 0, mode = arg->val; local
30 if ((mode & S_##n) == S_##n) { \
32 mode &= ~S_##n; \
65 if (mode)
66 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", mode);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dethtool_lib.sh34 mode="Advertised link modes"
36 mode="Supported link modes"
67 mode="Advertised link modes"
69 mode="Supported link modes"
74 sed -n '/'"$mode"':/,$p' | \
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c325 u32 type, mode; local
342 for (mode = 0; mode < PRESTERA_LINK_MODE_MAX; mode++) {
343 if ((port_link_modes[mode].pr_mask &
345 type == port_link_modes[mode].port_type) {
346 new_mode = mode;
362 u32 mode; local
364 for (mode = 0; mode < PRESTERA_LINK_MODE_MA
388 u32 mode; local
414 u32 mode; local
591 u32 mode; local
683 u32 mode; local
712 u32 mode; local
[all...]
/linux-master/drivers/gpu/drm/bridge/
H A Dlontium-lt9211.c219 const struct drm_display_mode *mode)
263 if (width != mode->hdisplay) {
265 "RX: Detected DSI width (%d) does not match mode hdisplay (%d)\n",
266 width, mode->hdisplay);
270 if (height != mode->vdisplay) {
272 "RX: Detected DSI height (%d) does not match mode vdisplay (%d)\n",
273 height, mode->vdisplay);
284 const struct drm_display_mode *mode)
287 { 0xd00d, (mode->vtotal >> 8) & 0xff },
288 { 0xd00e, mode
218 lt9211_autodetect_rx(struct lt9211 *ctx, const struct drm_display_mode *mode) argument
283 lt9211_configure_timing(struct lt9211 *ctx, const struct drm_display_mode *mode) argument
307 lt9211_configure_plls(struct lt9211 *ctx, const struct drm_display_mode *mode) argument
464 const struct drm_display_mode *mode; local
576 lt9211_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-gt683r.c50 enum gt683r_led_mode mode; member in struct:gt683r_led
86 if (led->mode == GT683R_LED_NORMAL)
88 else if (led->mode == GT683R_LED_AUDIO)
111 led->mode = GT683R_LED_NORMAL;
113 led->mode = GT683R_LED_AUDIO;
115 led->mode = GT683R_LED_BREATHING;
159 static int gt683r_mode_set(struct gt683r_led *led, u8 mode) argument
171 buffer[3] = mode;
183 u8 mode; local
197 mode
[all...]
/linux-master/drivers/soc/samsung/
H A Dexynos-usi.c54 size_t mode; /* current USI SW_CONF mode index */ member in struct:exynos_usi
65 const char *name; /* mode name */
66 unsigned int val; /* mode register value */
96 * exynos_usi_set_sw_conf - Set USI block configuration mode
98 * @mode: Mode index
104 static int exynos_usi_set_sw_conf(struct exynos_usi *usi, size_t mode) argument
109 if (mode < usi->data->min_mode || mode > usi->data->max_mode)
112 val = exynos_usi_modes[mode]
180 u32 mode; local
[all...]
/linux-master/drivers/leds/
H A Dleds-max8997.c48 enum max8997_led_mode mode)
54 switch (mode) {
94 led->led_mode = mode;
203 enum max8997_led_mode mode; local
208 mode = MAX8997_FLASH_PIN_CONTROL_MODE;
210 mode = MAX8997_MOVIE_PIN_CONTROL_MODE;
212 mode = MAX8997_FLASH_MODE;
214 mode = MAX8997_MOVIE_MODE;
216 mode = MAX8997_NONE;
218 max8997_led_set_mode(led, mode);
47 max8997_led_set_mode(struct max8997_led *led, enum max8997_led_mode mode) argument
257 u8 mode = 0, brightness = 0; local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c38 struct drm_display_mode *mode)
50 struct drm_display_mode *mode)
55 int xres = mode->hdisplay;
56 int yres = mode->vdisplay;
84 fp_crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff)
85 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
87 hsync_wid = (mode->crtc_hsync_end - mode->crtc_hsync_start) / 8;
90 hsync_start = mode->crtc_hsync_start - 8;
94 | ((mode
37 radeon_overscan_setup(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
49 radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
297 radeon_crtc_dpms(struct drm_crtc *crtc, int mode) argument
573 radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
733 radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) argument
1026 radeon_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
1035 radeon_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode, int x, int y, struct drm_framebuffer *old_fb) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_sysctl.c74 .mode = 0644,
83 .mode = 0644,
92 .mode = 0644,
102 .mode = 0644,
111 .mode = 0644,
120 .mode = 0644,
129 .mode = 0644,
138 .mode = 0644,
147 .mode = 0644,
156 .mode
[all...]
/linux-master/drivers/video/backlight/
H A Dlp8788_bl.c47 enum lp8788_bl_ctrl_mode mode; member in struct:lp8788_bl
60 static inline bool is_brightness_ctrl_by_pwm(enum lp8788_bl_ctrl_mode mode) argument
62 return mode == LP8788_BL_COMB_PWM_BASED;
65 static inline bool is_brightness_ctrl_by_register(enum lp8788_bl_ctrl_mode mode) argument
67 return mode == LP8788_BL_REGISTER_ONLY ||
68 mode == LP8788_BL_COMB_REGISTER_BASED;
101 /* Brightness control mode */
112 dev_err(bl->lp->dev, "invalid mode: %d\n", cfg->bl_mode);
116 bl->mode = cfg->bl_mode;
162 enum lp8788_bl_ctrl_mode mode local
234 enum lp8788_bl_ctrl_mode mode = bl->mode; local
[all...]
/linux-master/net/sctp/
H A Dsysctl.c66 .mode = 0644,
73 .mode = 0644,
80 .mode = 0644,
102 .mode = 0644,
111 .mode = 0644,
120 .mode = 0644,
129 .mode = 0644,
138 .mode = 0644,
147 .mode = 0644,
156 .mode
[all...]
/linux-master/drivers/iio/adc/
H A Dhi8435.c166 u8 mode, psen; local
173 /* Supply-Open or GND-Open sensing mode */
174 mode = !!(psen & BIT(chan->channel / 8));
176 ret = hi8435_readw(priv, mode ? HI8435_SOCENHYS_REG :
198 u8 mode, psen; local
205 /* Supply-Open or GND-Open sensing mode */
206 mode = !!(psen & BIT(chan->channel / 8));
208 ret = hi8435_readw(priv, mode ? HI8435_SOCENHYS_REG :
215 if (val < 2 || val > 21 || (val + 2) > priv->threshold_hi[mode])
218 if (val == priv->threshold_lo[mode])
314 hi8435_set_sensing_mode(struct iio_dev *idev, const struct iio_chan_spec *chan, unsigned int mode) argument
[all...]
/linux-master/drivers/gpu/drm/meson/
H A Dmeson_encoder_hdmi.c69 const struct drm_display_mode *mode)
72 int vic = drm_match_cea_mode(mode);
78 vclk_freq = mode->clock;
94 if (mode->flags & DRM_MODE_FLAG_DBLCLK)
107 if (mode->flags & DRM_MODE_FLAG_DBLCLK)
120 const struct drm_display_mode *mode)
129 int vic = drm_match_cea_mode(mode);
132 dev_dbg(priv->dev, "Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode));
136 mode->clock > display_info->max_tmds_clock &&
137 !drm_mode_is_420_only(display_info, mode)
68 meson_encoder_hdmi_set_vclk(struct meson_encoder_hdmi *encoder_hdmi, const struct drm_display_mode *mode) argument
118 meson_encoder_hdmi_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *display_info, const struct drm_display_mode *mode) argument
196 const struct drm_display_mode *mode; local
[all...]
/linux-master/fs/sysfs/
H A Dgroup.c55 umode_t mode = (*attr)->mode; local
58 * In update mode, we're changing the permissions or
65 mode = grp->is_visible(kobj, *attr, i);
66 mode &= ~SYSFS_GROUP_INVISIBLE;
67 if (!mode)
71 WARN(mode & ~(SYSFS_PREALLOC | 0664),
73 (*attr)->name, mode); local
75 mode &= SYSFS_PREALLOC | 0664;
76 error = sysfs_add_file_mode_ns(parent, *attr, mode, ui
89 umode_t mode = (*bin_attr)->attr.mode; local
103 (*bin_attr)->attr.name, mode); local
143 umode_t mode = __first_visible(grp, kobj); local
[all...]

Completed in 401 milliseconds

<<11121314151617181920>>