Searched refs:mode (Results 51 - 75 of 6117) sorted by relevance

1234567891011>>

/linux-master/drivers/video/fbdev/
H A Dmacmodes.c26 * MacOS video mode definitions
133 * Mapping between MacOS video mode numbers and video mode definitions
142 const struct fb_videomode *mode; member in struct:mode_map
178 * Mapping between monitor sense values and MacOS video mode numbers
210 * @vmode: MacOS video mode
211 * @cmode: MacOS color mode
212 * @var: frame buffer video mode structure
215 * mode structure.
223 const struct fb_videomode *mode local
322 const struct fb_videomode *mode = map->mode; local
[all...]
/linux-master/drivers/phy/hisilicon/
H A Dphy-histb-combphy.c50 struct histb_combphy_mode mode; member in struct:histb_combphy_priv
74 static int is_mode_fixed(struct histb_combphy_mode *mode) argument
76 return (mode->fixed != PHY_NONE) ? true : false;
81 struct histb_combphy_mode *mode = &priv->mode; local
85 if (is_mode_fixed(mode))
88 switch (mode->select) {
102 return regmap_update_bits(syscon, mode->reg, mode->mask,
103 hw_sel << mode
169 struct histb_combphy_mode *mode = &priv->mode; local
198 struct histb_combphy_mode *mode; local
[all...]
/linux-master/net/rose/
H A Dsysctl_net_rose.c29 .mode = 0644,
38 .mode = 0644,
47 .mode = 0644,
56 .mode = 0644,
65 .mode = 0644,
74 .mode = 0644,
83 .mode = 0644,
92 .mode = 0644,
101 .mode = 0644,
110 .mode
[all...]
/linux-master/fs/ceph/
H A Dutil.c57 int mode; local
66 mode = CEPH_FILE_MODE_WR;
69 mode = CEPH_FILE_MODE_RD;
73 mode = CEPH_FILE_MODE_RDWR;
78 mode |= CEPH_FILE_MODE_LAZY;
81 return mode;
84 int ceph_caps_for_mode(int mode) argument
88 if (mode & CEPH_FILE_MODE_RD)
91 if (mode & CEPH_FILE_MODE_WR)
96 if (mode
[all...]
/linux-master/net/rxrpc/
H A Dsysctl.c38 .mode = 0644,
47 .mode = 0644,
56 .mode = 0644,
65 .mode = 0644,
77 .mode = 0644,
89 .mode = 0644,
98 .mode = 0644,
107 .mode = 0644,
116 .mode = 0644,
125 .mode
[all...]
/linux-master/include/linux/
H A Dproc_fs.h93 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode,
96 #define proc_create_seq_data(name, mode, parent, ops, data) \
97 proc_create_seq_private(name, mode, parent, ops, 0, data)
98 #define proc_create_seq(name, mode, parent, ops) \
99 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
100 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode,
103 #define proc_create_single(name, mode, parent, show) \
104 proc_create_single_data(name, mode, parent, show, NULL)
111 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
129 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode,
180 _proc_mkdir(const char *name, umode_t mode, struct proc_dir_entry *parent, void *data, bool force_lookup) argument
185 proc_mkdir_data(const char *name, umode_t mode, struct proc_dir_entry *parent, void *data) argument
187 proc_mkdir_mode(const char *name, umode_t mode, struct proc_dir_entry *parent) argument
196 proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops) argument
201 proc_create_data(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops, void *data) argument
[all...]
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_encoder.c20 struct drm_display_mode *mode,
34 mode = adjusted_mode;
36 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode));
42 if (mode->flags & DRM_MODE_FLAG_NHSYNC)
44 if (mode->flags & DRM_MODE_FLAG_NVSYNC)
73 hsync_start_x = (mode->htotal - mode->hsync_start);
74 hsync_end_x = mode->htotal - (mode
19 mdp5_vid_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
177 mdp5_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
[all...]
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dzmii.c47 static inline int zmii_valid_mode(int mode) argument
49 return mode == PHY_INTERFACE_MODE_MII ||
50 mode == PHY_INTERFACE_MODE_RMII ||
51 mode == PHY_INTERFACE_MODE_SMII ||
52 mode == PHY_INTERFACE_MODE_NA;
55 static inline const char *zmii_mode_name(int mode) argument
57 switch (mode) {
69 static inline u32 zmii_mode_mask(int mode, int input) argument
71 switch (mode) {
84 phy_interface_t *mode)
83 zmii_attach(struct platform_device *ofdev, int input, phy_interface_t *mode) argument
[all...]
/linux-master/tools/spi/
H A Dspidev_test.c39 static uint32_t mode; variable
131 if (mode & SPI_TX_OCTAL)
133 else if (mode & SPI_TX_QUAD)
135 else if (mode & SPI_TX_DUAL)
137 if (mode & SPI_RX_OCTAL)
139 else if (mode & SPI_RX_QUAD)
141 else if (mode & SPI_RX_DUAL)
143 if (!(mode & SPI_LOOP)) {
144 if (mode & (SPI_TX_OCTAL | SPI_TX_QUAD | SPI_TX_DUAL))
146 else if (mode
[all...]
/linux-master/drivers/gpu/drm/armada/
H A Darmada_fb.c21 const struct drm_mode_fb_cmd2 *mode, struct armada_gem_object *obj)
27 switch (mode->pixel_format) {
67 drm_helper_mode_fill_fb_struct(dev, &dfb->fb, mode);
87 struct drm_file *dfile, const struct drm_mode_fb_cmd2 *mode)
89 const struct drm_format_info *info = drm_get_format_info(dev, mode);
95 mode->width, mode->height, mode->pixel_format,
96 mode->flags, mode
20 armada_framebuffer_create(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode, struct armada_gem_object *obj) argument
86 armada_fb_create(struct drm_device *dev, struct drm_file *dfile, const struct drm_mode_fb_cmd2 *mode) argument
[all...]
/linux-master/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,
/linux-master/drivers/net/wireless/ath/ath5k/
H A Deeprom.c41 unsigned int mode)
48 if (mode == AR5K_EEPROM_MODE_11A) {
190 unsigned int mode)
198 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f;
199 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f;
200 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f;
203 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf;
204 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f;
205 ee->ee_ant_control[mode][i++] = val & 0x3f;
208 ee->ee_ant_control[mode][
40 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, unsigned int mode) argument
189 ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument
249 ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument
471 unsigned int mode; local
510 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, struct ath5k_chan_pcal_info *pc, unsigned int mode) argument
601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) argument
667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) argument
714 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
796 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) argument
905 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
1019 ath5k_eeprom_read_pcal_info_5112(struct ath5k_hw *ah, int mode) argument
1154 ath5k_pdgains_size_2413(struct ath5k_eeprom_info *ee, unsigned int mode) argument
1168 ath5k_cal_data_offset_2413(struct ath5k_eeprom_info *ee, int mode) argument
1197 ath5k_eeprom_convert_pcal_info_2413(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
1282 ath5k_eeprom_read_pcal_info_2413(struct ath5k_hw *ah, int mode) argument
1473 ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) argument
1572 int mode; local
1778 u8 mode; local
[all...]
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-di.c205 u32 h_total = sig->mode.hactive + sig->mode.hsync_len +
206 sig->mode.hback_porch + sig->mode.hfront_porch;
207 u32 v_total = sig->mode.vactive + sig->mode.vsync_len +
208 sig->mode.vback_porch + sig->mode.vfront_porch;
220 .cnt_down = sig->mode.hsync_len * 2,
227 .cnt_down = sig->mode
506 ipu_di_adjust_videomode(struct ipu_di *di, struct videomode *mode) argument
[all...]
/linux-master/net/netrom/
H A Dsysctl_net_netrom.c39 .mode = 0644,
48 .mode = 0644,
57 .mode = 0644,
66 .mode = 0644,
75 .mode = 0644,
84 .mode = 0644,
93 .mode = 0644,
102 .mode = 0644,
111 .mode = 0644,
120 .mode
[all...]
/linux-master/drivers/gpu/drm/sti/
H A Dsti_vtg.h25 const struct drm_display_mode *mode);
31 u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y);
32 u32 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x);
H A Dsti_vtg.c160 const struct drm_display_mode *mode)
166 u32 xstart = sti_vtg_get_pixel_number(*mode, 0);
167 u32 ystart = sti_vtg_get_line_number(*mode, 0);
168 u32 xstop = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1);
169 u32 ystop = sti_vtg_get_line_number(*mode, mode->vdisplay - 1);
171 /* Set output window to fit the display mode selected */
187 const struct drm_display_mode *mode)
193 clocksperline = mode
159 vtg_set_output_window(void __iomem *regs, const struct drm_display_mode *mode) argument
185 vtg_set_hsync_vsync_pos(struct sti_vtg_sync_params *sync, int delay, const struct drm_display_mode *mode) argument
238 vtg_set_mode(struct sti_vtg *vtg, int type, struct sti_vtg_sync_params *sync, const struct drm_display_mode *mode) argument
292 sti_vtg_set_config(struct sti_vtg *vtg, const struct drm_display_mode *mode) argument
315 sti_vtg_get_line_number(struct drm_display_mode mode, int y) argument
335 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x) argument
[all...]
/linux-master/drivers/crypto/qce/
H A Dcommon.h74 #define IS_CBC(mode) (mode & QCE_MODE_CBC)
75 #define IS_ECB(mode) (mode & QCE_MODE_ECB)
76 #define IS_CTR(mode) (mode & QCE_MODE_CTR)
77 #define IS_XTS(mode) (mode & QCE_MODE_XTS)
78 #define IS_CCM(mode) (mode
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dmux.h27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \
30 .mask = mode,
41 #define MUX_REG_7XX(reg, mode_offset, mode) .mux_reg_name = "OMAP7XX_IO_CONF_"#reg, \
44 .mask = mode,
53 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, \
55 .mask = mode,
64 #define MUX_REG_7XX(reg, mode_offset, mode) \
67 .mask = mode,
75 #define MUX_CFG(desc, mux_reg, mode_offset, mode, \
81 MUX_REG(mux_reg, mode_offset, mode) \
[all...]
/linux-master/arch/x86/xen/
H A Dmulticalls.h42 /* Issue a multicall if we're not in a lazy mode */
43 static inline void xen_mc_issue(unsigned mode) argument
45 trace_xen_mc_issue(mode);
47 if ((xen_get_lazy_mode() & mode) == 0)
/linux-master/net/ipv4/
H A Dsysctl_net_ipv4.c74 .mode = table->mode,
110 .mode = table->mode,
170 .mode = table->mode,
472 .mode = 0644,
479 .mode = 0644,
486 .mode = 0644,
493 .mode
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw-phy-sel.c44 u32 mode = 0; local
51 mode = AM33XX_GMII_SEL_MODE_RMII;
55 mode = AM33XX_GMII_SEL_MODE_RGMII;
61 mode = AM33XX_GMII_SEL_MODE_RGMII;
67 "Unsupported PHY mode: \"%s\". Defaulting to MII.\n",
71 mode = AM33XX_GMII_SEL_MODE_MII;
77 mode <<= slave * 2;
81 mode |= AM33XX_GMII_SEL_RMII1_IO_CLK_EN;
83 mode |= AM33XX_GMII_SEL_RMII2_IO_CLK_EN;
88 mode |
104 u32 mode = 0; local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_modes.c53 * drm_mode_debug_printmodeline - print a mode to dmesg
54 * @mode: mode to print
56 * Describe @mode using DRM_DEBUG.
58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) argument
60 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode));
65 * drm_mode_create - create a new display mode
72 * Pointer to new mode on success, NULL on error.
87 * drm_mode_destroy - remove a mode
89 * @mode
93 drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) argument
111 drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode) argument
325 fill_analog_mode(struct drm_device *dev, struct drm_display_mode *mode, const struct analog_parameters *params, unsigned long pixel_clock_hz, unsigned int hactive, unsigned int vactive, bool interlace) argument
551 struct drm_display_mode *mode; local
1268 drm_mode_set_name(struct drm_display_mode *mode) argument
1286 drm_mode_vrefresh(const struct drm_display_mode *mode) argument
1316 drm_mode_get_hv_timing(const struct drm_display_mode *mode, int *hdisplay, int *vdisplay) argument
1453 drm_mode_duplicate(struct drm_device *dev, const struct drm_display_mode *mode) argument
1625 drm_mode_validate_basic(const struct drm_display_mode *mode) argument
1667 drm_mode_validate_driver(struct drm_device *dev, const struct drm_display_mode *mode) argument
1698 drm_mode_validate_size(const struct drm_display_mode *mode, int maxX, int maxY) argument
1723 drm_mode_validate_ycbcr420(const struct drm_display_mode *mode, struct drm_connector *connector) argument
1805 struct drm_display_mode *mode, *t; local
1892 struct drm_display_mode *mode; local
1936 drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, struct drm_cmdline_mode *mode) argument
1955 drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, struct drm_cmdline_mode *mode) argument
1974 drm_mode_parse_cmdline_extra(const char *str, int length, bool freestanding, const struct drm_connector *connector, struct drm_cmdline_mode *mode) argument
2025 drm_mode_parse_cmdline_res_mode(const char *str, unsigned int length, bool extras, const struct drm_connector *connector, struct drm_cmdline_mode *mode) argument
2112 drm_mode_parse_panel_orientation(const char *delim, struct drm_cmdline_mode *mode) argument
2139 drm_mode_parse_tv_mode(const char *delim, struct drm_cmdline_mode *mode) argument
2163 drm_mode_parse_cmdline_options(const char *str, bool freestanding, const struct drm_connector *connector, struct drm_cmdline_mode *mode) argument
2313 const struct drm_named_mode *mode = &drm_named_modes[i]; local
2359 drm_mode_parse_command_line_for_connector(const char *mode_option, const struct drm_connector *connector, struct drm_cmdline_mode *mode) argument
2541 struct drm_display_mode *mode; local
2709 drm_mode_is_420_only(const struct drm_display_info *display, const struct drm_display_mode *mode) argument
2729 drm_mode_is_420_also(const struct drm_display_info *display, const struct drm_display_mode *mode) argument
2748 drm_mode_is_420(const struct drm_display_info *display, const struct drm_display_mode *mode) argument
2768 struct drm_display_mode *mode; local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_agp.c187 static int radeon_agp_head_enable(struct radeon_device *rdev, struct radeon_agp_mode mode) argument
192 rdev->agp->mode = mode.mode;
193 agp_enable(rdev->agp->bridge, mode.mode);
208 info->mode = kern->mode;
224 struct radeon_agp_mode mode; local
253 mode
[all...]
/linux-master/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_spi_device.h20 enum cxd2880_spi_mode mode,
/linux-master/arch/sparc/lib/
H A Dlibgcc.h7 typedef int word_type __attribute__ ((mode (__word__)));

Completed in 230 milliseconds

1234567891011>>