/linux-master/drivers/gpu/drm/amd/display/include/ |
H A D | gpio_interface.h | 37 enum gpio_mode mode); 41 enum gpio_mode mode); 53 /* Get current mode */ 57 /* Change mode of the handle */ 60 enum gpio_mode mode);
|
/linux-master/arch/x86/boot/ |
H A D | video.h | 10 * Header file for the real-mode video probing code 19 * This code uses an extended set of video mode numbers. These include: 65 u16 mode; /* Mode number (vga= style) */ member in struct:mode_info 67 u16 depth; /* Bits per pixel, 0 for text mode */ 72 int (*set_mode)(struct mode_info *mode); 78 u16 xmode_n; /* Size of unprobed mode range */ 84 int mode_defined(u16 mode); /* video.c */ 94 extern int graphic_mode; /* Graphics mode with linear frame buffer */
|
/linux-master/drivers/nfc/s3fwrn5/ |
H A D | s3fwrn5.h | 44 enum s3fwrn5_mode mode) 49 info->phy_ops->set_mode(info->phy_id, mode); 85 enum s3fwrn5_mode mode); 43 s3fwrn5_set_mode(struct s3fwrn5_info *info, enum s3fwrn5_mode mode) argument
|
/linux-master/include/sound/ |
H A D | emu8000.h | 95 void snd_emu8000_dma_chan(struct snd_emu8000 *emu, int ch, int mode); 102 int snd_emu8000_load_chorus_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len); 103 int snd_emu8000_load_reverb_fx(struct snd_emu8000 *emu, int mode, const void __user *buf, long len);
|
/linux-master/drivers/media/platform/samsung/s5p-jpeg/ |
H A D | jpeg-hw-s5p.h | 28 void s5p_jpeg_input_raw_mode(void __iomem *regs, unsigned long mode); 29 void s5p_jpeg_proc_mode(void __iomem *regs, unsigned long mode); 30 void s5p_jpeg_subsampling_mode(void __iomem *regs, unsigned int mode);
|
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sunxi_engine.h | 116 * This callback is used to set mode related parameters 117 * like interlacing, screen size, etc. once per mode set. 122 const struct drm_display_mode *mode); 198 * sunxi_engine_mode_set - Inform engine of a new mode 200 * @mode: new mode 202 * Engine can use this functionality to set specifics once per mode change. 206 const struct drm_display_mode *mode) 209 engine->ops->mode_set(engine, mode); 205 sunxi_engine_mode_set(struct sunxi_engine *engine, const struct drm_display_mode *mode) argument
|
H A D | sun4i_hdmi_enc.c | 41 struct drm_display_mode *mode) 48 &hdmi->connector, mode); 50 DRM_ERROR("Failed to get infoframes from mode\n"); 84 struct drm_display_mode *mode = &encoder->crtc->state->adjusted_mode; local 92 clk_set_rate(hdmi->mod_clk, mode->crtc_clock * 1000); 93 clk_set_rate(hdmi->tmds_clk, mode->crtc_clock * 1000); 116 writel(SUN4I_HDMI_VID_TIMING_X(mode->hdisplay) | 117 SUN4I_HDMI_VID_TIMING_Y(mode->vdisplay), 120 x = mode->htotal - mode 40 sun4i_hdmi_setup_avi_infoframes(struct sun4i_hdmi *hdmi, struct drm_display_mode *mode) argument 164 sun4i_hdmi_connector_clock_valid(const struct drm_connector *connector, const struct drm_display_mode *mode, unsigned long long clock) argument 195 struct drm_display_mode *mode = &crtc_state->adjusted_mode; local 207 sun4i_hdmi_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | es7241.c | 41 /* set the mode */ 50 const struct es7241_clock_mode *mode, 58 for (j = 0; j < mode->slv_mfs_num; j++) { 59 if (mode->slv_mfs[j] == mfs) 71 const struct es7241_clock_mode *mode, 78 if (mfs && mfs != mode->mst_mfs) 81 es7241_set_mode(priv, mode->mst_m0, mode->mst_m1); 96 const struct es7241_clock_mode *mode = &priv->chip->modes[i]; local 98 if (rate < mode 49 es7241_set_consumer_mode(struct es7241_data *priv, const struct es7241_clock_mode *mode, unsigned int mfs) argument 70 es7241_set_provider_mode(struct es7241_data *priv, const struct es7241_clock_mode *mode, unsigned int mfs) argument [all...] |
/linux-master/mm/ |
H A D | failslab.c | 57 umode_t mode = S_IFREG | 0600; local 63 debugfs_create_bool("ignore-gfp-wait", mode, dir, 65 debugfs_create_bool("cache-filter", mode, dir,
|
/linux-master/tools/power/cpupower/utils/ |
H A D | powercap-info.c | 28 int mode, i, ret = 0; local 35 ret = powercap_zone_get_enabled(zone, &mode); 38 printf(" (%s)\n", mode ? "enabled" : "disabled");
|
/linux-master/include/linux/usb/ |
H A D | musb.h | 40 enum musb_buf_mode mode; member in struct:musb_fifo_cfg 48 .mode = m, \ 82 u8 mode; member in struct:musb_hdrc_platform_data
|
/linux-master/include/trace/events/ |
H A D | spi.h | 52 __field(unsigned long, mode) 61 __entry->mode = spi->mode; 67 TP_printk("spi%d.%d setup mode %lu, %s%s%s%s%u bits/w, %u Hz max --> %d", 69 (__entry->mode & SPI_MODE_X_MASK), 70 (__entry->mode & SPI_CS_HIGH) ? "cs_high, " : "", 71 (__entry->mode & SPI_LSB_FIRST) ? "lsb, " : "", 72 (__entry->mode & SPI_3WIRE) ? "3wire, " : "", 73 (__entry->mode & SPI_LOOP) ? "loopback, " : "", 85 __field(unsigned long, mode) [all...] |
/linux-master/drivers/gpu/drm/panel/ |
H A D | panel-samsung-sofef00.c | 25 const struct drm_display_mode *mode; member in struct:sofef00_panel 54 dev_err(dev, "Failed to exit sleep mode: %d\n", ret); 101 dev_err(dev, "Failed to enter sleep mode: %d\n", ret); 178 struct drm_display_mode *mode; local 181 mode = drm_mode_duplicate(connector->dev, ctx->mode); 182 if (!mode) 185 drm_mode_set_name(mode); 187 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED; 188 connector->display_info.width_mm = mode [all...] |
H A D | panel-sharp-lq101r1sx01.c | 30 const struct drm_display_mode *mode; member in struct:sharp_panel 40 unsigned int refresh = drm_mode_vrefresh(sharp->mode); 116 dev_err(panel->dev, "failed to enter sleep mode: %d\n", err); 129 const struct drm_display_mode *mode) 133 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1); 139 err = mipi_dsi_dcs_set_page_address(left, 0, mode->vdisplay - 1); 145 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2, 146 mode->hdisplay - 1); 152 err = mipi_dsi_dcs_set_page_address(right, 0, mode->vdisplay - 1); 177 * mode t 127 sharp_setup_symmetrical_split(struct mipi_dsi_device *left, struct mipi_dsi_device *right, const struct drm_display_mode *mode) argument 277 struct drm_display_mode *mode; local [all...] |
/linux-master/fs/9p/ |
H A D | vfs_inode.c | 39 * unixmode2p9mode - convert unix mode bits to plan 9 41 * @mode: mode to convert 45 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) argument 49 res = mode & 0777; 50 if (S_ISDIR(mode)) 54 if (S_ISSOCK(mode)) 56 if (S_ISFIFO(mode)) 58 if (S_ISBLK(mode)) 60 if (S_ISCHR(mode)) 84 int mode = stat->mode; local 111 u32 mode = stat->mode; local 258 v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev) argument 534 v9fs_create(struct v9fs_session_info *v9ses, struct inode *dir, struct dentry *dentry, char *extension, u32 perm, u8 mode) argument 611 v9fs_vfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument 638 v9fs_vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument 728 v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, unsigned int flags, umode_t mode) argument 1084 umode_t mode; local 1275 v9fs_vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument [all...] |
/linux-master/crypto/ |
H A D | fips.c | 27 printk(KERN_INFO "fips mode: %s\n", 49 .mode = 0444, 56 .mode = 0444, 63 .mode = 0444,
|
/linux-master/net/phonet/ |
H A D | sysctl.c | 59 .mode = table->mode, 81 .mode = 0644,
|
/linux-master/drivers/leds/ |
H A D | leds-lm3530.c | 85 const char *mode; member in struct:lm3530_mode_map 100 * @mode: mode of operation - manual, ALS, PWM 109 enum lm3530_mode mode; member in struct:lm3530_data 149 if (sysfs_streq(str, mode_map[i].mode)) 241 switch (drvdata->mode) { 286 /* do not update brightness register when pwm mode */ 288 drvdata->mode == LM3530_BL_MODE_PWM) { 314 switch (drvdata->mode) { 358 if (drvdata->mode 375 int mode, err; local [all...] |
/linux-master/drivers/pci/controller/cadence/ |
H A D | pci-j721e.c | 52 u32 mode; member in struct:j721e_pcie 66 enum j721e_pcie_mode mode; member in struct:j721e_pcie_data 168 u32 mode = pcie->mode; local 172 if (mode == PCI_MODE_RC) 177 dev_err(dev, "failed to set pcie mode\n"); 246 dev_err(dev, "Failed to set pci mode\n"); 292 .mode = PCI_MODE_RC, 300 .mode = PCI_MODE_EP, 306 .mode 397 u32 mode; local [all...] |
/linux-master/drivers/iommu/amd/ |
H A D | io_pgtable.c | 114 static void free_sub_pt(u64 *root, int mode, struct list_head *freelist) argument 116 switch (mode) { 128 free_pt_lvl(root, freelist, mode); 136 u64 *root, int mode) 140 /* lowest 3 bits encode pgtable mode */ 141 pt_root = mode & 7; 166 if (address <= PM_LEVEL_SIZE(domain->iop.mode)) 170 if (WARN_ON_ONCE(domain->iop.mode == PAGE_MODE_6_LEVEL)) 173 *pte = PM_LEVEL_PDE(domain->iop.mode, iommu_virt_to_phys(domain->iop.root)); 176 domain->iop.mode 135 amd_iommu_domain_set_pgtable(struct protection_domain *domain, u64 *root, int mode) argument 343 int mode; local [all...] |
/linux-master/sound/isa/sb/ |
H A D | sb16_main.c | 48 if ((csp->mode & SNDRV_SB_CSP_MODE_DSP_WRITE) && 55 } else if ((csp->mode & SNDRV_SB_CSP_MODE_QSOUND) && (csp->q_enabled)) { 74 if (csp->ops.csp_start(csp, (chip->mode & SB_MODE_PLAYBACK_16) ? 96 if ((csp->mode & SNDRV_SB_CSP_MODE_DSP_READ) && 112 if (csp->ops.csp_start(csp, (chip->mode & SB_MODE_CAPTURE_16) ? 148 if (csp->mode & SNDRV_SB_CSP_MODE_DSP_WRITE) { 179 if (csp->mode & SNDRV_SB_CSP_MODE_DSP_READ) { 219 if (chip->mode & (channel == SNDRV_PCM_STREAM_PLAYBACK ? SB_MODE_PLAYBACK_16 : SB_MODE_CAPTURE_16)) 223 if (!(chip->mode & SB_RATE_LOCK)) { 252 dma = (chip->mode [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head.c | 69 if (asyh->set.mode ) head->func->mode (head, asyh); 97 u32 mode = 0x00; local 99 if (asyc->dither.mode) { 100 if (asyc->dither.mode == DITHERING_MODE_AUTO) { 102 mode = DITHERING_MODE_DYNAMIC2X2; 104 mode = asyc->dither.mode; 109 mode |= DITHERING_DEPTH_8BPC; 111 mode | 129 int mode = asyc->scaler.mode; local 286 struct drm_display_mode *mode = &asyh->state.adjusted_mode; local [all...] |
/linux-master/drivers/iio/accel/ |
H A D | stk8312.c | 102 u8 mode; member in struct:stk8312_data 170 static int stk8312_set_mode(struct stk8312_data *data, u8 mode) argument 175 if (mode == data->mode) 178 ret = i2c_smbus_write_byte_data(client, STK8312_REG_MODE, mode); 180 dev_err(&client->dev, "failed to change sensor mode\n"); 184 data->mode = mode; 185 if (mode & STK8312_MODE_ACTIVE) { 186 /* Need to run OTP sequence before entering active mode */ 197 u8 mode; local 246 u8 mode; local 283 u8 mode; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_crtc.c | 39 struct drm_display_mode *mode, 55 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); 56 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); 57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); 58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); 61 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; 62 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; 65 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); 66 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); 68 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode 38 amdgpu_atombios_crtc_overscan_setup(struct drm_crtc *crtc, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 189 amdgpu_atombios_crtc_set_dtd_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) argument 304 amdgpu_atombios_crtc_adjust_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) argument 746 amdgpu_atombios_crtc_prepare_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) argument 816 amdgpu_atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) argument [all...] |
/linux-master/drivers/gpu/drm/sti/ |
H A D | sti_mixer.c | 224 struct drm_display_mode *mode) 228 ydo = sti_vtg_get_line_number(*mode, 0); 229 yds = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); 230 xdo = sti_vtg_get_pixel_number(*mode, 0); 231 xds = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1); 293 struct drm_display_mode *mode) 297 ydo = sti_vtg_get_line_number(*mode, 0); 298 yds = sti_vtg_get_line_number(*mode, mod 223 sti_mixer_set_background_area(struct sti_mixer *mixer, struct drm_display_mode *mode) argument 292 sti_mixer_active_video_area(struct sti_mixer *mixer, struct drm_display_mode *mode) argument [all...] |