Home
last modified time | relevance | path

Searched refs:mode (Results 226 – 250 of 12012) sorted by relevance

12345678910>>...481

/openbmc/u-boot/arch/arc/lib/
H A Dlibgcc2.h32 typedef int QItype __attribute__ ((mode (QI)));
33 typedef unsigned int UQItype __attribute__ ((mode (QI)));
34 typedef int HItype __attribute__ ((mode (HI)));
35 typedef unsigned int UHItype __attribute__ ((mode (HI)));
38 typedef int SItype __attribute__ ((mode (SI)));
39 typedef unsigned int USItype __attribute__ ((mode (SI)));
42 typedef int DItype __attribute__ ((mode (DI)));
43 typedef unsigned int UDItype __attribute__ ((mode (DI)));
46 typedef int TItype __attribute__ ((mode (TI)));
47 typedef unsigned int UTItype __attribute__ ((mode (TI)));
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dirq_txx9.c63 unsigned char mode; member
95 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack()
105 int mode; in txx9_irq_set_type() local
110 case IRQF_TRIGGER_RISING: mode = TXx9_IRCR_UP; break; in txx9_irq_set_type()
111 case IRQF_TRIGGER_FALLING: mode = TXx9_IRCR_DOWN; break; in txx9_irq_set_type()
112 case IRQF_TRIGGER_HIGH: mode = TXx9_IRCR_HIGH; break; in txx9_irq_set_type()
113 case IRQF_TRIGGER_LOW: mode = TXx9_IRCR_LOW; break; in txx9_irq_set_type()
121 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type()
123 txx9irq[irq_nr].mode = mode; in txx9_irq_set_type()
143 txx9irq[i].mode = TXx9_IRCR_LOW; in txx9_irq_init()
/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-spi.c114 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_start_interface()
127 INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, in cvmx_spi_start_interface()
157 cvmx_dprintf("SPI%d: Restart %s\n", interface, modes[mode]); in cvmx_spi_restart_interface()
160 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_restart_interface()
195 int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode) in cvmx_spi_reset_cb() argument
316 if (mode & CVMX_SPI_MODE_RX_HALFPLEX) { in cvmx_spi_calendar_setup_cb()
350 if (mode & CVMX_SPI_MODE_TX_HALFPLEX) { in cvmx_spi_calendar_setup_cb()
580 if (mode & CVMX_SPI_MODE_RX_HALFPLEX) { in cvmx_spi_calendar_sync_cb()
592 if (mode & CVMX_SPI_MODE_TX_HALFPLEX) { in cvmx_spi_calendar_sync_cb()
639 if (mode & CVMX_SPI_MODE_RX_HALFPLEX) { in cvmx_spi_interface_up_cb()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/
H A Dgeneral_systemd.hpp19 const std::string& mode);
22 const std::string& mode) : in SystemdNoFile() argument
24 triggerService(service), mode(mode) in SystemdNoFile()
42 const std::string mode; member in ipmi_flash::SystemdNoFile
72 const std::string& mode);
75 const std::string& service, const std::string& mode) : in SystemdWithStatusFile() argument
76 SystemdNoFile(std::move(bus), service, mode), in SystemdWithStatusFile()
/openbmc/linux/kernel/printk/
H A Dsysctl.c28 .mode = 0644,
35 .mode = 0644,
42 .mode = 0644,
49 .mode = 0644,
58 .mode = 0644,
65 .mode = 0644,
74 .mode = 0644,
/openbmc/linux/drivers/video/backlight/
H A Dtdo24m.c37 int mode; member
219 switch (mode) { in tdo24m_adj_mode()
234 lcd->mode = mode; in tdo24m_adj_mode()
240 switch (mode) { in tdo35s_adj_mode()
255 lcd->mode = mode; in tdo35s_adj_mode()
271 err = lcd->adj_mode(lcd, lcd->mode); in tdo24m_power_on()
314 int mode = MODE_QVGA; in tdo24m_set_mode() local
317 mode = MODE_VGA; in tdo24m_set_mode()
319 if (lcd->mode == mode) in tdo24m_set_mode()
322 return lcd->adj_mode(lcd, mode); in tdo24m_set_mode()
[all …]
/openbmc/linux/fs/hostfs/
H A Dhostfs_user.c24 p->mode = buf->st_mode; in stat64_to_hostfs()
58 int mode = 0; in access_file() local
61 mode = R_OK; in access_file()
63 mode |= W_OK; in access_file()
65 mode |= X_OK; in access_file()
73 int mode = 0, fd; in open_file() local
76 mode = O_RDONLY; in open_file()
78 mode = O_WRONLY; in open_file()
80 mode = O_RDWR; in open_file()
84 mode |= O_APPEND; in open_file()
[all …]
/openbmc/linux/include/linux/
H A Dhrtimer.h375 enum hrtimer_mode mode);
377 enum hrtimer_mode mode);
381 enum hrtimer_mode mode);
384 enum hrtimer_mode mode);
390 enum hrtimer_mode mode) in hrtimer_init_on_stack() argument
397 enum hrtimer_mode mode) in hrtimer_init_sleeper_on_stack() argument
418 const enum hrtimer_mode mode) in hrtimer_start() argument
427 enum hrtimer_mode mode) in hrtimer_start_expires() argument
438 enum hrtimer_mode mode);
518 const enum hrtimer_mode mode);
[all …]
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_display.c93 crtc->mode.hdisplay, in virtio_gpu_crtc_mode_set_nofb()
94 crtc->mode.vdisplay, 0, 0); in virtio_gpu_crtc_mode_set_nofb()
147 struct drm_display_mode *mode, in virtio_gpu_enc_mode_set() argument
164 struct drm_display_mode *mode = NULL; in virtio_gpu_conn_get_modes() local
183 if (!mode) in virtio_gpu_conn_get_modes()
185 mode->type |= DRM_MODE_TYPE_PREFERRED; in virtio_gpu_conn_get_modes()
186 drm_mode_probed_add(connector, mode); in virtio_gpu_conn_get_modes()
205 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF) in virtio_gpu_conn_mode_valid()
207 if (mode->hdisplay <= width && mode->hdisplay >= width - 16 && in virtio_gpu_conn_mode_valid()
208 mode->vdisplay <= height && mode->vdisplay >= height - 16) in virtio_gpu_conn_mode_valid()
[all …]
/openbmc/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c227 mode->name = videomode->name; in fbmode_to_mmpmode()
228 mode->refresh = videomode->refresh; in fbmode_to_mmpmode()
229 mode->xres = videomode->xres; in fbmode_to_mmpmode()
230 mode->yres = videomode->yres; in fbmode_to_mmpmode()
245 mode->pix_fmt_out = output_fmt; in fbmode_to_mmpmode()
249 struct mmp_mode *mode) in mmpmode_to_fbmode() argument
253 videomode->name = mode->name; in mmpmode_to_fbmode()
255 videomode->xres = mode->xres; in mmpmode_to_fbmode()
256 videomode->yres = mode->yres; in mmpmode_to_fbmode()
403 struct mmp_mode mode; in mmpfb_set_par() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_crtc.c202 cpu_to_le16(mode->crtc_hblank_end - mode->crtc_hdisplay + (amdgpu_crtc->h_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing()
207 cpu_to_le16(mode->crtc_hsync_start - mode->crtc_hdisplay + amdgpu_crtc->h_border); in amdgpu_atombios_crtc_set_dtd_timing()
209 cpu_to_le16(mode->crtc_hsync_end - mode->crtc_hsync_start); in amdgpu_atombios_crtc_set_dtd_timing()
211 cpu_to_le16(mode->crtc_vsync_start - mode->crtc_vdisplay + amdgpu_crtc->v_border); in amdgpu_atombios_crtc_set_dtd_timing()
213 cpu_to_le16(mode->crtc_vsync_end - mode->crtc_vsync_start); in amdgpu_atombios_crtc_set_dtd_timing()
315 u32 dp_clock = mode->clock; in amdgpu_atombios_crtc_adjust_pll()
316 u32 clock = mode->clock; in amdgpu_atombios_crtc_adjust_pll()
789 mode->clock / 10); in amdgpu_atombios_crtc_prepare_pll()
796 mode->clock / 10); in amdgpu_atombios_crtc_prepare_pll()
803 mode->clock / 10); in amdgpu_atombios_crtc_prepare_pll()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-lm3530.c85 const char *mode; member
109 enum lm3530_mode mode; member
241 switch (drvdata->mode) { in lm3530_init_registers()
314 switch (drvdata->mode) { in lm3530_brightness_set()
375 int mode, err; in mode_store() local
381 if (mode < 0) { in mode_store()
383 return mode; in mode_store()
386 drvdata->mode = mode; in mode_store()
398 return sizeof(drvdata->mode); in mode_store()
400 static DEVICE_ATTR_RW(mode);
[all …]
/openbmc/linux/include/drm/
H A Ddrm_modes.h449 return mode->flags & DRM_MODE_FLAG_3D_MASK; in drm_mode_is_stereo()
465 const struct drm_display_mode *mode);
467 const struct drm_display_mode *mode);
469 const struct drm_display_mode *mode);
472 enum drm_connector_tv_mode mode,
528 void drm_mode_set_name(struct drm_display_mode *mode);
529 int drm_mode_vrefresh(const struct drm_display_mode *mode);
540 const struct drm_display_mode *mode);
553 const struct drm_display_mode *mode);
557 drm_mode_validate_ycbcr420(const struct drm_display_mode *mode,
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rtq2208.yaml17 switching operation in normal mode; the latter defines the operation in suspend to RAM mode.
20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous
21 conduction mode (FCCM).
66 0 - Auto mode
106 regulator-mode = <1>;
116 regulator-mode = <1>;
126 regulator-mode = <1>;
136 regulator-mode = <1>;
146 regulator-mode = <1>;
156 regulator-mode = <1>;
[all …]
/openbmc/qemu/crypto/
H A Dcipher.c81 QCryptoCipherMode mode) in qcrypto_cipher_get_iv_len() argument
86 if (mode >= G_N_ELEMENTS(mode_need_iv)) { in qcrypto_cipher_get_iv_len()
90 if (mode_need_iv[mode]) { in qcrypto_cipher_get_iv_len()
99 QCryptoCipherMode mode, in qcrypto_cipher_validate_key_length() argument
109 if (mode == QCRYPTO_CIPHER_MODE_XTS) { in qcrypto_cipher_validate_key_length()
146 QCryptoCipherMode mode, in qcrypto_cipher_new() argument
153 cipher = qcrypto_afalg_cipher_ctx_new(alg, mode, key, nkey, NULL); in qcrypto_cipher_new()
157 cipher = qcrypto_cipher_ctx_new(alg, mode, key, nkey, errp); in qcrypto_cipher_new()
164 cipher->mode = mode; in qcrypto_cipher_new()
/openbmc/linux/drivers/firmware/
H A Dsysfb_simplefb.c28 struct simplefb_platform_data *mode) in sysfb_parse_mode() argument
82 mode->format = f->name; in sysfb_parse_mode()
83 mode->width = si->lfb_width; in sysfb_parse_mode()
84 mode->height = si->lfb_height; in sysfb_parse_mode()
85 mode->stride = si->lfb_linelength; in sysfb_parse_mode()
94 const struct simplefb_platform_data *mode) in sysfb_create_simplefb() argument
126 length = mode->height * mode->stride; in sysfb_create_simplefb()
152 ret = platform_device_add_data(pd, mode, sizeof(*mode)); in sysfb_create_simplefb()
/openbmc/linux/Documentation/fb/
H A Dviafb.modes28 mode "640x480-60"
52 mode "640x480-75"
73 mode "640x480-85"
94 mode "640x480-100"
115 mode "640x480-120"
136 mode "720x480-60"
157 mode "800x480-60"
178 mode "720x576-60"
199 mode "800x600-60"
221 mode "800x600-75"
[all …]
/openbmc/linux/arch/x86/boot/
H A Dvideo-vesa.c34 u16 mode; in vesa_probe() local
54 while ((mode = rdfs16(mode_ptr)) != 0xffff) { in vesa_probe()
60 if (mode & ~0x1ff) in vesa_probe()
66 ireg.cx = mode; in vesa_probe()
77 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe()
92 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe()
104 static int vesa_set_mode(struct mode_info *mode) in vesa_set_mode() argument
108 u16 vesa_mode = mode->mode - VIDEO_FIRST_VESA; in vesa_set_mode()
146 force_x = mode->x; in vesa_set_mode()
147 force_y = mode->y; in vesa_set_mode()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.c325 cipher_parms.mode = ctx->cipher.mode; in handle_skcipher_req()
704 hash_parms.mode = ctx->auth.mode; in handle_ahash_req()
788 hash_parms.mode, in handle_ahash_req()
1301 cipher_parms.mode = ctx->cipher.mode; in handle_aead_req()
1309 hash_parms.mode = ctx->auth.mode; in handle_aead_req()
1379 ctx->cipher.mode, in handle_aead_req()
1405 ctx->cipher.mode, in handle_aead_req()
1410 ctx->cipher.mode, in handle_aead_req()
1869 cipher_parms.mode = ctx->cipher.mode; in skcipher_setkey()
3040 .mode = CIPHER_MODE_GCM,
[all …]
/openbmc/linux/drivers/media/usb/gspca/
H A Dstv0680.c29 struct v4l2_pix_format mode; member
98 if (sd->current_mode == mode) in stv0680_set_video_mode()
102 gspca_dev->usb_buf[0] = mode; in stv0680_set_video_mode()
115 sd->current_mode = mode; in stv0680_set_video_mode()
205 sd->mode.pixelformat = V4L2_PIX_FMT_STV0680; in sd_config()
206 sd->mode.field = V4L2_FIELD_NONE; in sd_config()
207 sd->mode.bytesperline = sd->mode.width; in sd_config()
208 sd->mode.sizeimage = cam->bulk_size; in sd_config()
209 sd->mode.colorspace = V4L2_COLORSPACE_SRGB; in sd_config()
213 cam->cam_mode = &sd->mode; in sd_config()
[all …]
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1000_dma.h114 unsigned int mode; member
234 u32 mode; in init_dma() local
244 mode = chan->mode | (chan->dev_id << DMA_DID_BIT); in init_dma()
246 mode |= DMA_IE; in init_dma()
248 __raw_writel(~mode, chan->io + DMA_MODE_CLEAR); in init_dma()
249 __raw_writel(mode, chan->io + DMA_MODE_SET); in init_dma()
268 chan->mode |= mode; in set_dma_mode()
277 return chan->mode; in get_dma_mode()
301 if (chan->mode & DMA_DS) /* second bank of device IDs */ in set_dma_fifo_addr()
445 if ((chan->mode & DMA_DW_MASK) == DMA_DW16) in get_dma_residue()
[all …]
/openbmc/qemu/scripts/
H A Danalyse-9p-simpletrace.py102 def v9fs_stat_return(self, tag, id, mode, atime, mtime, length): argument
103 …print("RSTAT (tag =", tag, ", mode =", mode, ", atime =", atime, ", mtime =", mtime, ", length =",…
108 def v9fs_getattr_return(self, tag, id, result_mask, mode, uid, gid): argument
117 def v9fs_open(self, tag, id, fid, mode): argument
118 print("TOPEN (tag =", tag, ", fid =", fid, ", mode =", oct(mode), ")")
123 def v9fs_lcreate(self, tag, id, dfid, flags, mode, gid): argument
153 def v9fs_create(self, tag, id, fid, name, perm, mode): argument
174 def v9fs_wstat(self, tag, id, fid, mode, atime, mtime): argument
177 def v9fs_mknod(self, tag, id, fid, mode, major, minor): argument
192 def v9fs_mkdir(self, tag, id, fid, name, mode, gid): argument
[all …]
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx55-mtp.dts117 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
123 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
129 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
135 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
141 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
147 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
153 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
159 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
165 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
171 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-olimex-lcd-olinuxino.c144 struct drm_display_mode *mode; in lcd_olinuxino_get_modes() local
151 mode = drm_mode_create(connector->dev); in lcd_olinuxino_get_modes()
152 if (!mode) { in lcd_olinuxino_get_modes()
160 mode->clock = lcd_mode->pixelclock; in lcd_olinuxino_get_modes()
161 mode->hdisplay = lcd_mode->hactive; in lcd_olinuxino_get_modes()
165 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
167 mode->vdisplay = lcd_mode->vactive; in lcd_olinuxino_get_modes()
176 mode->type |= DRM_MODE_TYPE_PREFERRED; in lcd_olinuxino_get_modes()
177 mode->type |= DRM_MODE_TYPE_DRIVER; in lcd_olinuxino_get_modes()
179 drm_mode_set_name(mode); in lcd_olinuxino_get_modes()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dlontium-lt9611.c133 h_total = mode->htotal; in lt9611_mipi_video_setup()
134 v_total = mode->vtotal; in lt9611_mipi_video_setup()
136 hactive = mode->hdisplay; in lt9611_mipi_video_setup()
137 hsync_len = mode->hsync_end - mode->hsync_start; in lt9611_mipi_video_setup()
138 hfront_porch = mode->hsync_start - mode->hdisplay; in lt9611_mipi_video_setup()
139 hsync_porch = mode->htotal - mode->hsync_start; in lt9611_mipi_video_setup()
142 vsync_len = mode->vsync_end - mode->vsync_start; in lt9611_mipi_video_setup()
143 vfront_porch = mode->vsync_start - mode->vdisplay; in lt9611_mipi_video_setup()
144 vsync_porch = mode->vtotal - mode->vsync_start; in lt9611_mipi_video_setup()
348 mode); in lt9611_hdmi_set_infoframes()
[all …]

12345678910>>...481