Home
last modified time | relevance | path

Searched refs:mode1 (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modes.c921 static bool drm_mode_match_timings(const struct drm_display_mode *mode1, in drm_mode_match_timings() argument
924 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings()
925 mode1->hsync_start == mode2->hsync_start && in drm_mode_match_timings()
926 mode1->hsync_end == mode2->hsync_end && in drm_mode_match_timings()
927 mode1->htotal == mode2->htotal && in drm_mode_match_timings()
928 mode1->hskew == mode2->hskew && in drm_mode_match_timings()
929 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings()
930 mode1->vsync_start == mode2->vsync_start && in drm_mode_match_timings()
931 mode1->vsync_end == mode2->vsync_end && in drm_mode_match_timings()
932 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Daddi_apci_1032.c85 unsigned int mode1; /* rising-edge/high level channels */ member
128 devpriv->mode1 = 0; in apci1032_cos_insn_config()
139 devpriv->mode1 = 0; in apci1032_cos_insn_config()
143 devpriv->mode1 &= oldmask; in apci1032_cos_insn_config()
147 devpriv->mode1 |= himask; in apci1032_cos_insn_config()
157 devpriv->mode1 = 0; in apci1032_cos_insn_config()
161 devpriv->mode1 &= oldmask; in apci1032_cos_insn_config()
165 devpriv->mode1 |= himask; in apci1032_cos_insn_config()
244 outl(devpriv->mode1, dev->iobase + APCI1032_MODE1_REG); in apci1032_cos_cmd()
Daddi_apci_1564.c165 unsigned int mode1; /* rising-edge/high level channels */ member
353 devpriv->mode1 = 0; in apci1564_cos_insn_config()
365 devpriv->mode1 = 0; in apci1564_cos_insn_config()
369 devpriv->mode1 &= oldmask; in apci1564_cos_insn_config()
373 devpriv->mode1 |= himask; in apci1564_cos_insn_config()
383 devpriv->mode1 = 0; in apci1564_cos_insn_config()
387 devpriv->mode1 &= oldmask; in apci1564_cos_insn_config()
391 devpriv->mode1 |= himask; in apci1564_cos_insn_config()
399 devpriv->mode1 &= APCI1564_DI_INT_MODE_MASK; in apci1564_cos_insn_config()
467 if (!devpriv->ctrl && !(devpriv->mode1 || devpriv->mode2)) { in apci1564_cos_cmd()
[all …]
Dni_mio_common.c2168 int mode1 = 0; /* mode1 is needed for both stop and convert */ in ni_ai_cmd() local
2243 mode1 |= NISTC_AI_MODE1_START_STOP | in ni_ai_cmd()
2246 ni_stc_writew(dev, mode1, NISTC_AI_MODE1_REG); in ni_ai_cmd()
2266 mode1 |= NISTC_AI_MODE1_START_STOP | in ni_ai_cmd()
2269 ni_stc_writew(dev, mode1, NISTC_AI_MODE1_REG); in ni_ai_cmd()
2348 mode1 |= NISTC_AI_MODE1_CONVERT_SRC( in ni_ai_cmd()
2354 mode1 |= NISTC_AI_MODE1_CONVERT_POLARITY; in ni_ai_cmd()
2355 ni_stc_writew(dev, mode1, NISTC_AI_MODE1_REG); in ni_ai_cmd()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c232 pko_mode.s.mode1 = 4; in __cvmx_helper_setup_gmx()
234 pko_mode.s.mode1 = 3; in __cvmx_helper_setup_gmx()
236 pko_mode.s.mode1 = 2; in __cvmx_helper_setup_gmx()
238 pko_mode.s.mode1 = 1; in __cvmx_helper_setup_gmx()
240 pko_mode.s.mode1 = 0; in __cvmx_helper_setup_gmx()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs690.c206 struct drm_display_mode *mode1, in rs690_line_buffer_adjust() argument
231 if (mode1 && mode2) { in rs690_line_buffer_adjust()
232 if (mode1->hdisplay > mode2->hdisplay) { in rs690_line_buffer_adjust()
233 if (mode1->hdisplay > 2560) in rs690_line_buffer_adjust()
237 } else if (mode2->hdisplay > mode1->hdisplay) { in rs690_line_buffer_adjust()
244 } else if (mode1) { in rs690_line_buffer_adjust()
252 if (mode1) in rs690_line_buffer_adjust()
253 rdev->mode_info.crtcs[0]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode1->crtc_hdisplay); in rs690_line_buffer_adjust()
464 struct drm_display_mode *mode1, in rs690_compute_mode_priority() argument
474 if (mode0 && mode1) { in rs690_compute_mode_priority()
[all …]
Drv515.c1115 struct drm_display_mode *mode1, in rv515_compute_mode_priority() argument
1125 if (mode0 && mode1) { in rv515_compute_mode_priority()
1205 } else if (mode1) { in rv515_compute_mode_priority()
1238 struct drm_display_mode *mode1 = NULL; in rv515_bandwidth_avivo_update() local
1248 mode1 = &rdev->mode_info.crtcs[1]->base.mode; in rv515_bandwidth_avivo_update()
1249 rs690_line_buffer_adjust(rdev, mode0, mode1); in rv515_bandwidth_avivo_update()
1263 mode0, mode1, in rv515_bandwidth_avivo_update()
1267 mode0, mode1, in rv515_bandwidth_avivo_update()
1280 struct drm_display_mode *mode1 = NULL; in rv515_bandwidth_update() local
1290 mode1 = &rdev->mode_info.crtcs[1]->base.mode; in rv515_bandwidth_update()
[all …]
Drs600.c896 struct drm_display_mode *mode1 = NULL; in rs600_bandwidth_update() local
908 mode1 = &rdev->mode_info.crtcs[1]->base.mode; in rs600_bandwidth_update()
910 rs690_line_buffer_adjust(rdev, mode0, mode1); in rs600_bandwidth_update()
Dr100.c3214 struct drm_display_mode *mode1 = NULL; in r100_bandwidth_update() local
3231 mode1 = &rdev->mode_info.crtcs[0]->base.mode; in r100_bandwidth_update()
3253 if (mode1) in r100_bandwidth_update()
3271 if (mode1) { in r100_bandwidth_update()
3273 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ in r100_bandwidth_update()
3465 if (mode1) { in r100_bandwidth_update()
3470 stop_req = mode1->hdisplay * pixel_bytes1 / 16; in r100_bandwidth_update()
3587 if (mode1) { in r100_bandwidth_update()
3644 if (mode1) in r100_bandwidth_update()
3645 rdev->mode_info.crtcs[0]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode1->crtc_hdisplay); in r100_bandwidth_update()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dak4535.c291 u8 mode1 = 0; in ak4535_set_dai_fmt() local
296 mode1 = 0x0002; in ak4535_set_dai_fmt()
299 mode1 = 0x0001; in ak4535_set_dai_fmt()
306 mode1 |= 0x4; in ak4535_set_dai_fmt()
308 snd_soc_component_write(component, AK4535_MODE1, mode1); in ak4535_set_dai_fmt()
Dak4641.c391 u8 mode1 = 0; in ak4641_i2s_set_dai_fmt() local
396 mode1 = 0x02; in ak4641_i2s_set_dai_fmt()
399 mode1 = 0x01; in ak4641_i2s_set_dai_fmt()
405 return snd_soc_component_write(component, AK4641_MODE1, mode1); in ak4641_i2s_set_dai_fmt()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dmodedb.c921 int fb_mode_is_equal(const struct fb_videomode *mode1, in fb_mode_is_equal() argument
924 return (mode1->xres == mode2->xres && in fb_mode_is_equal()
925 mode1->yres == mode2->yres && in fb_mode_is_equal()
926 mode1->pixclock == mode2->pixclock && in fb_mode_is_equal()
927 mode1->hsync_len == mode2->hsync_len && in fb_mode_is_equal()
928 mode1->vsync_len == mode2->vsync_len && in fb_mode_is_equal()
929 mode1->left_margin == mode2->left_margin && in fb_mode_is_equal()
930 mode1->right_margin == mode2->right_margin && in fb_mode_is_equal()
931 mode1->upper_margin == mode2->upper_margin && in fb_mode_is_equal()
932 mode1->lower_margin == mode2->lower_margin && in fb_mode_is_equal()
[all …]
Dfbmem.c968 struct fb_videomode mode1, mode2; in fb_set_var() local
970 fb_var_to_videomode(&mode1, var); in fb_set_var()
973 ret = fb_mode_is_equal(&mode1, &mode2); in fb_set_var()
975 ret = fbcon_mode_deleted(info, &mode1); in fb_set_var()
977 fb_delete_videomode(&mode1, &info->modelist); in fb_set_var()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsb1250-duart.c471 unsigned int mode1; in sbd_startup() local
487 mode1 = read_sbdchn(sport, R_DUART_MODE_REG_1); in sbd_startup()
488 mode1 &= ~(M_DUART_RX_IRQ_SEL_RXFULL | M_DUART_TX_IRQ_SEL_TXEMPT); in sbd_startup()
489 write_sbdchn(sport, R_DUART_MODE_REG_1, mode1); in sbd_startup()
537 unsigned int mode1 = 0, mode2 = 0, aux = 0; in sbd_set_termios() local
556 mode1 |= V_DUART_BITS_PER_CHAR_7; in sbd_set_termios()
560 mode1 |= V_DUART_BITS_PER_CHAR_8; in sbd_set_termios()
570 mode1 |= V_DUART_PARITY_MODE_ADD; in sbd_set_termios()
572 mode1 |= V_DUART_PARITY_MODE_NONE; in sbd_set_termios()
574 mode1 |= M_DUART_PARITY_TYPE_ODD; in sbd_set_termios()
[all …]
Dmax310x.c251 u8 mode1; member
419 .mode1 = MAX310X_MODE1_AUTOSLEEP_BIT | MAX310X_MODE1_IRQSEL_BIT,
427 .mode1 = MAX310X_MODE1_AUTOSLEEP_BIT,
435 .mode1 = MAX310X_MODE1_AUTOSLEEP_BIT,
443 .mode1 = MAX310X_MODE1_IRQSEL_BIT,
1010 unsigned int delay, mode1 = 0, mode2 = 0; in max310x_rs_proc() local
1017 mode1 = MAX310X_MODE1_TRNSCVCTRL_BIT; in max310x_rs_proc()
1024 MAX310X_MODE1_TRNSCVCTRL_BIT, mode1); in max310x_rs_proc()
1326 devtype->mode1); in max310x_probe()
/kernel/linux/linux-5.10/include/drm/
Ddrm_modes.h476 bool drm_mode_match(const struct drm_display_mode *mode1,
479 bool drm_mode_equal(const struct drm_display_mode *mode1,
481 bool drm_mode_equal_no_clocks(const struct drm_display_mode *mode1,
483 bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1,
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-pcf85063.c267 s8 mode0, mode1, reg; in pcf85063_set_offset() local
276 mode1 = DIV_ROUND_CLOSEST(offset, PCF85063_OFFSET_STEP1); in pcf85063_set_offset()
279 error1 = abs(offset - (mode1 * PCF85063_OFFSET_STEP1)); in pcf85063_set_offset()
280 if (mode1 > 63 || mode1 < -64 || error0 < error1) in pcf85063_set_offset()
283 reg = mode1 | PCF85063_OFFSET_MODE; in pcf85063_set_offset()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0035_linux_drivers_video.patch328 + const struct fb_videomode *mode1,
338 + return (mode1->xres == mode2->xres &&
339 + mode1->yres == mode2->yres &&
340 + mode1->hsync_len == mode2->hsync_len &&
341 + mode1->vsync_len == mode2->vsync_len &&
342 + mode1->left_margin == mode2->left_margin &&
343 + mode1->right_margin == mode2->right_margin &&
344 + mode1->upper_margin == mode2->upper_margin &&
345 + mode1->lower_margin == mode2->lower_margin &&
346 + mode1->sync == mode2->sync &&
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-soundwire-master23 clock-stop-mode0 and clock-stop-mode1 properties.
/kernel/linux/linux-5.10/fs/dlm/
Dlock.h20 int dlm_modes_compat(int mode1, int mode2);
/kernel/linux/linux-5.10/Documentation/ABI/obsolete/
Dsysfs-class-typec16 a mode will be "mode<index>" (for example mode1), where <index>
/kernel/linux/linux-5.10/drivers/block/
Dswim.c311 swim_write(base, mode1, INTERNAL_DRIVE); /* set drive 0 bit */ in swim_drive()
314 swim_write(base, mode1, EXTERNAL_DRIVE); /* set drive 1 bit */ in swim_drive()
467 swim_write(base, mode1, MOTON); in swim_read_sector()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-zii-ultra.dtsi239 usb-mode1-hog {
243 line-name = "usb-mode1";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qdl-zii-rdu2.dtsi340 usb-mode1 {
344 line-name = "usb-mode1";
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmbochs.c299 static bool mbochs_modes_equal(struct mbochs_mode *mode1, in mbochs_modes_equal() argument
302 return memcmp(mode1, mode2, sizeof(struct mbochs_mode)) == 0; in mbochs_modes_equal()

12