Searched refs:mode (Results 426 - 450 of 6125) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/sti/
H A Dsti_mixer.c224 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...]
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c30 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/drivers/crypto/ccp/
H A Dccp-crypto-aes.c32 if (ctx->u.aes.mode != CCP_AES_MODE_ECB)
57 ctx->u.aes.mode = alg->mode;
77 if (((ctx->u.aes.mode == CCP_AES_MODE_ECB) ||
78 (ctx->u.aes.mode == CCP_AES_MODE_CBC)) &&
82 if (ctx->u.aes.mode != CCP_AES_MODE_ECB) {
96 rctx->cmd.u.aes.mode = ctx->u.aes.mode;
241 enum ccp_aes_mode mode; member in struct:ccp_aes_def
252 .mode
[all...]
/linux-master/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c78 enum addr_mode mode; member in struct:_ioaddr
86 enum addr_mode mode; member in struct:_iohandle
632 if (hw->cfg.mode) {
633 if (hw->cfg.mode == AM_MEMIO) {
639 hw->cfg.mode = AM_NONE;
641 if (hw->addr.mode) {
642 if (hw->addr.mode == AM_MEMIO) {
648 hw->addr.mode = AM_NONE;
675 hw->cfg.mode = hw->ci->cfg_mode;
682 pr_notice("%s: IO cfg %lx (%lu bytes) mode
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c58 struct drm_display_mode *mode, *largest = NULL; local
61 list_for_each_entry(mode, &connector->probed_modes, head) {
62 if (helper->mode_valid(connector, mode) != MODE_OK ||
63 (mode->flags & DRM_MODE_FLAG_INTERLACE))
66 /* Use preferred mode if there is one.. */
67 if (mode->type & DRM_MODE_TYPE_PREFERRED) {
68 NV_DEBUG(drm, "native mode from preferred\n");
69 return drm_mode_duplicate(dev, mode);
75 if (mode->hdisplay < high_w)
78 if (mode
851 struct moderec *mode = &scaler_modes[0]; local
885 struct drm_display_mode *mode = nv_connector->native_mode; local
982 struct drm_display_mode mode; local
1001 struct drm_display_mode *mode; local
1074 nouveau_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c252 * struct zynqmp_dp_mode - Configured mode of DisplayPort
255 * @pclock: pixel clock frequency of current mode
295 * @mode: current mode between IP core and sink device
318 struct zynqmp_dp_mode mode;
544 * @pclock: pixel clock for requested display mode
548 * clock @pclock. The @pclock is stored in the mode to be used in other
588 dp->mode.bw_code = bw_code;
589 dp->mode.lane_cnt = lane_cnt;
590 dp->mode
317 struct zynqmp_dp_mode mode; member in struct:zynqmp_dp
887 struct zynqmp_dp_mode *mode = &dp->mode; local
1189 zynqmp_dp_encoder_mode_set_transfer_unit(struct zynqmp_dp *dp, const struct drm_display_mode *mode) argument
1225 zynqmp_dp_encoder_mode_set_stream(struct zynqmp_dp *dp, const struct drm_display_mode *mode) argument
1366 zynqmp_dp_bridge_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) argument
1400 const struct drm_display_mode *mode; local
1498 struct drm_display_mode *mode = &crtc_state->mode; local
[all...]
/linux-master/arch/sh/kernel/cpu/shmobile/
H A Dpm.c27 * Sleep mode is just plain "sleep" instruction
28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
29 * Standby Self-Refresh mode is above plus stopped clocks
37 * U-standby mode is unsupported since it needs bootloader hacks
46 void sh_mobile_call_standby(unsigned long mode) argument
56 mode, NULL);
59 if (mode & SUSP_SH_MMU)
63 standby_onchip_mem(mode, RAM_BASE);
66 mode, NULL);
102 /* part 1: common code to enter sleep mode */
[all...]
/linux-master/include/math-emu/
H A Dsoft-fp.h193 typedef int SItype __attribute__((mode(SI)));
194 typedef int DItype __attribute__((mode(DI)));
195 typedef unsigned int USItype __attribute__((mode(SI)));
196 typedef unsigned int UDItype __attribute__((mode(DI)));
198 typedef unsigned int UHWtype __attribute__((mode(HI)));
/linux-master/sound/pci/echoaudio/
H A Dechoaudio_gml.c109 static int set_digital_mode(struct echoaudio *chip, u8 mode) argument
117 /* All audio channels must be closed before changing the digital mode */
121 if (snd_BUG_ON(!(chip->digital_modes & (1 << mode))))
125 err = dsp_set_digital_mode(chip, mode);
127 /* If we successfully changed the digital mode from or to ADAT,
130 if (err >= 0 && previous_mode != mode &&
131 (previous_mode == DIGITAL_MODE_ADAT || mode == DIGITAL_MODE_ADAT)) {
165 /* Set the new S/PDIF flags depending on the mode */
169 /* Professional mode */
185 /* Consumer mode */
[all...]
/linux-master/arch/sh/mm/
H A Dalignment.c144 char mode; local
147 if (get_user(mode, buffer))
149 if (mode >= '0' && mode <= '5')
150 *data = mode - '0';
/linux-master/arch/powerpc/kernel/
H A Dpci-hotplug.c109 int slotno, mode, max; local
116 mode = PCI_PROBE_NORMAL;
118 mode = phb->controller_ops.probe_mode(bus);
120 if (mode == PCI_PROBE_DEVTREE) {
123 } else if (mode == PCI_PROBE_NORMAL &&
/linux-master/drivers/staging/vt6655/
H A Dkey.c19 u32 mode, bool onfly_latch)
58 key_mode |= mode;
61 key_mode |= (mode << 4);
65 key_mode |= mode;
75 if (mode == KEY_CTL_WEP) {
17 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) argument
/linux-master/security/apparmor/include/
H A Dapparmorfs.h29 umode_t mode; member in struct:aa_sfs_entry
43 { .name = (_name), .mode = 0444, \
47 { .name = (_name), .mode = 0444, \
51 { .name = (_name), .mode = 0444, \
56 .mode = (_mode), .file_ops = (_fops) }
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c51 if (crtc_state->mode.hdisplay != new_state->crtc_w ||
52 crtc_state->mode.vdisplay != new_state->crtc_h) {
54 "%s: Size must match mode (%dx%d == %dx%d)", __func__,
55 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay,
60 pitch = crtc_state->mode.hdisplay *
/linux-master/drivers/base/
H A Ddevtmpfs.c12 * owned by root and have a default mode of 0600. Subsystems can
51 umode_t mode; /* 0 => delete */ member in struct:req
122 req.mode = 0;
125 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp);
129 if (req.mode == 0)
130 req.mode = 0600;
132 req.mode |= S_IFBLK;
134 req.mode |= S_IFCHR;
153 req.mode = 0;
159 static int dev_mkdir(const char *name, umode_t mode) argument
204 handle_create(const char *nodename, umode_t mode, kuid_t uid, kgid_t gid, struct device *dev) argument
380 handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, struct device *dev) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/bonding/
H A Dbond_macvlan.sh38 log_test "$mode: $message"
46 # setup new bond mode
49 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge
55 ip -n ${s_ns} link add link bond0 name macv0 type macvlan mode bridge
95 for mode in $modes; do
96 macvlan_over_bond "mode $mode"
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dsi.c61 struct drm_display_mode *mode)
66 intel_panel_fixed_mode(intel_connector, mode);
72 status = intel_panel_mode_valid(intel_connector, mode);
79 return intel_mode_valid_max_plane_size(dev_priv, mode, false);
60 intel_dsi_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c200 * bandwidth compared with the clone (mirroring) display mode provided by
219 const struct drm_display_mode *mode)
224 (mode->crtc_htotal << 16) | mode->crtc_hdisplay);
227 (mode->crtc_vtotal << 16) | mode->crtc_vdisplay);
230 (mode->crtc_hsync_end << 16) | mode->crtc_hsync_start | HSYNC_EN);
233 (mode->crtc_vsync_end << 16) | mode
217 lsdc_crtc0_set_mode(struct lsdc_crtc *lcrtc, const struct drm_display_mode *mode) argument
235 lsdc_crtc1_set_mode(struct lsdc_crtc *lcrtc, const struct drm_display_mode *mode) argument
578 struct drm_display_mode *mode = &crtc->state->mode; local
742 lsdc_crtc_mode_valid(struct drm_crtc *crtc, const struct drm_display_mode *mode) argument
811 struct drm_display_mode *mode = &state->mode; local
897 lsdc_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.c52 * report mode 2. First 2^n bytes carries inband tones and last
192 if (ar->spectral.mode == SPECTRAL_DISABLED)
211 enum ath10k_spectral_mode mode)
225 arvif->spectral_enabled = (mode != SPECTRAL_DISABLED);
226 ar->spectral.mode = mode;
236 if (mode == SPECTRAL_DISABLED)
239 if (mode == SPECTRAL_BACKGROUND)
277 char *mode = ""; local
282 spectral_mode = ar->spectral.mode;
210 ath10k_spectral_scan_config(struct ath10k *ar, enum ath10k_spectral_mode mode) argument
466 create_buf_file_handler(const char *filename, struct dentry *parent, umode_t mode, struct rchan_buf *buf, int *is_global) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_inode.c41 struct inode *ialloc(struct inode *parent, umode_t mode) argument
56 rc = diAlloc(parent, S_ISDIR(mode), inode);
67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode);
88 if (S_ISDIR(mode)) {
94 if (S_ISLNK(mode))
/linux-master/drivers/gpu/drm/xe/
H A Dxe_gen_wa_oob.c128 const char *mode; member in struct:__anon859
131 [ARGS_INPUT] = { .fn = argv[1], .mode = "r" },
132 [ARGS_CSOURCE] = { .fn = argv[2], .mode = "w" },
133 [ARGS_CHEADER] = { .fn = argv[3], .mode = "w" },
144 args[i].f = fopen(args[i].fn, args[i].mode);
/linux-master/tools/testing/selftests/kvm/lib/
H A Dguest_modes.c55 "No supported mode!");
94 "Guest mode ID %d (%s) not supported.",
104 printf(" -m: specify the guest mode ID to test\n"
107 " Guest mode IDs:\n");
117 unsigned int mode; local
126 mode = atoi_non_negative("Guest mode ID", arg);
127 TEST_ASSERT(mode < NUM_VM_MODES, "Guest mode ID %d too big", mode);
[all...]
/linux-master/include/linux/iio/adc/
H A Dad_sigma_delta.h22 * @mode: Calibration mode.
26 unsigned int mode; member in struct:ad_sd_calib_data
38 * @set_mode: Will be called to select the current mode, may be NULL.
55 int (*set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode);
141 unsigned int mode)
144 return sd->info->set_mode(sd, mode);
170 unsigned int mode, unsigned int channel);
140 ad_sigma_delta_set_mode(struct ad_sigma_delta *sd, unsigned int mode) argument
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_audio.h49 struct drm_connector *connector, struct drm_display_mode *mode);
65 struct drm_display_mode *mode);
66 void (*dpms)(struct drm_encoder *encoder, bool mode);
80 struct drm_display_mode *mode);
81 void radeon_audio_dpms(struct drm_encoder *encoder, int mode);
/linux-master/fs/smb/client/
H A Dreparse.h49 static inline u64 reparse_mode_nfs_type(mode_t mode) argument
51 switch (mode & S_IFMT) {
60 static inline u32 reparse_mode_wsl_tag(mode_t mode) argument
62 switch (mode & S_IFMT) {
109 const char *full_path, umode_t mode, dev_t dev);

Completed in 235 milliseconds

<<11121314151617181920>>