Searched defs:mode (Results 1 - 25 of 1533) sorted by relevance

1234567891011>>

/drivers/mtd/nand/
H A Dnand_timings.c243 * timings according to the given ONFI timing mode
244 * @mode: ONFI timing mode
246 const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode) argument
248 if (mode < 0 || mode >= ARRAY_SIZE(onfi_sdr_timings))
251 return &onfi_sdr_timings[mode];
/drivers/acpi/acpica/
H A Dhwacpi.c55 * PARAMETERS: mode - SYS_MODE_ACPI or SYS_MODE_LEGACY
59 * DESCRIPTION: Transitions the system into the requested mode.
62 acpi_status acpi_hw_set_mode(u32 mode) argument
69 /* If the Hardware Reduced flag is set, machine is always in acpi mode */
77 * system does not support mode transition.
81 "No SMI_CMD in FADT, mode transition failed"));
88 * As old systems may have used zero for mode transition,
94 "No ACPI mode transition supported in this system "
99 switch (mode) {
107 "Attempting to enable ACPI mode\
[all...]
/drivers/media/usb/pwc/
H A Dpwc-kiara.h39 unsigned char mode[12]; /* precomputed mode settings for cam */ member in struct:Kiara_table_entry
H A Dpwc-timon.h29 It lists the bandwidth requirements for said mode by its alternate interface
30 number. An alternate of 0 means that the mode is unavailable.
37 When an uncompressed mode is not available, the next available compressed mode
54 unsigned char mode[13]; /* precomputed mode settings for cam */ member in struct:Timon_table_entry
/drivers/ide/
H A Dide-disk_ioctl.c18 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, argument
/drivers/net/wireless/iwlwifi/mvm/
H A Dled.c93 int mode = iwlwifi_mod_params.led_mode; local
96 switch (mode) {
98 IWL_ERR(mvm, "Blink led mode not supported, used default\n");
101 mode = IWL_LED_RF_STATE;
115 if (mode == IWL_LED_RF_STATE)
/drivers/power/reset/
H A Dhisi-reboot.c27 static void hisi_restart(enum reboot_mode mode, const char *cmd) argument
H A Dbrcmstb-reboot.c38 static void brcmstb_reboot(enum reboot_mode mode, const char *cmd) argument
H A Dsun6i-reboot.c33 static void sun6i_wdt_restart(enum reboot_mode mode, const char *cmd) argument
H A Dsyscon-reboot.c35 unsigned long mode, void *cmd)
34 syscon_restart_handle(struct notifier_block *this, unsigned long mode, void *cmd) argument
H A Dxgene-reboot.c43 static void xgene_restart(enum reboot_mode mode, const char *cmd) argument
/drivers/video/fbdev/via/
H A Dvia_aux.c77 const struct fb_videomode *mode = NULL; local
84 mode = pos->get_preferred_mode(pos);
87 return mode;
/drivers/clocksource/
H A Ddummy_timer.c19 static void dummy_timer_set_mode(enum clock_event_mode mode, argument
/drivers/gpu/drm/armada/
H A Darmada_510.c36 * This gets called with sclk = NULL to test whether the mode is
45 const struct drm_display_mode *mode, uint32_t *sclk)
66 rate = mode->clock * 1000;
44 armada510_crtc_compute_clock(struct armada_crtc *dcrtc, const struct drm_display_mode *mode, uint32_t *sclk) argument
/drivers/gpu/drm/gma500/
H A Dmdfld_tpo_vid.c32 struct drm_display_mode *mode; local
37 mode = kzalloc(sizeof(*mode), GFP_KERNEL);
38 if (!mode)
42 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo;
43 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo;
44 mode->hsync_start = mode->hdisplay +
47 mode->hsync_end = mode
[all...]
/drivers/gpu/drm/nouveau/core/core/
H A Doption.c80 int mode = 1, level = CONFIG_NOUVEAU_DEBUG_DEFAULT; local
87 mode = 0;
91 if (mode) {
112 mode = 1;
/drivers/gpu/drm/rcar-du/
H A Drcar_du_lvdsenc.h33 struct drm_crtc *crtc, int mode);
40 struct drm_crtc *crtc, int mode)
39 rcar_du_lvdsenc_dpms(struct rcar_du_lvdsenc *lvds, struct drm_crtc *crtc, int mode) argument
/drivers/gpu/drm/shmobile/
H A Dshmob_drm_backlight.c49 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode) argument
54 scon->backlight->props.power = mode == DRM_MODE_DPMS_ON
/drivers/gpu/drm/udl/
H A Dudl_encoder.c30 const struct drm_display_mode *mode,
45 struct drm_display_mode *mode,
51 udl_encoder_dpms(struct drm_encoder *encoder, int mode) argument
29 udl_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
44 udl_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
/drivers/media/pci/solo6x10/
H A Dsolo6x10-gpio.c29 unsigned int port_mask, unsigned int mode)
42 ret |= ((mode & 3) << (port << 1));
54 if (!mode)
28 solo_gpio_mode(struct solo_dev *solo_dev, unsigned int port_mask, unsigned int mode) argument
/drivers/media/usb/as102/
H A Das10x_cmd_cfg.c103 /* pcmd->body.context.req.reg_val.mode initialization is not required */
133 * as10x_cmd_eLNA_change_mode - send eLNA change mode command to AS10x
135 * @mode: mode selected:
143 int as10x_cmd_eLNA_change_mode(struct as10x_bus_adapter_t *adap, uint8_t mode) argument
158 pcmd->body.cfg_change_mode.req.mode = mode;
/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c62 * Only for magic packet detection mode.
115 netdev_crit(dev, "polling wol mode timeout\n");
125 enum bcmgenet_power_mode mode)
132 if (mode != GENET_POWER_WOL_MAGIC) {
133 netif_err(priv, wol, dev, "unsupported mode: %d\n", mode);
147 /* Do not leave UniMAC in MPD mode only */
183 enum bcmgenet_power_mode mode)
188 if (mode != GENET_POWER_WOL_MAGIC) {
189 netif_err(priv, wol, priv->dev, "invalid mode
124 bcmgenet_wol_power_down_cfg(struct bcmgenet_priv *priv, enum bcmgenet_power_mode mode) argument
182 bcmgenet_wol_power_up_cfg(struct bcmgenet_priv *priv, enum bcmgenet_power_mode mode) argument
[all...]
/drivers/net/wireless/b43/
H A Dsysfs.c98 int mode; local
103 mode = get_integer(buf, count);
104 switch (mode) {
106 mode = B43_INTERFMODE_NONE;
109 mode = B43_INTERFMODE_NONWLAN;
112 mode = B43_INTERFMODE_MANUALWLAN;
115 mode = B43_INTERFMODE_AUTOWLAN;
124 err = wldev->phy.ops->interf_mitigation(wldev, mode);
/drivers/net/wireless/ti/wl1251/
H A Dps.c55 /* Routines to toggle sleep mode while in ELP */
106 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) argument
110 switch (mode) {
180 wl->station_mode = mode;
/drivers/soc/qcom/
H A Dqcom_gsbi.c27 u32 mode; member in struct:gsbi_info
48 if (of_property_read_u32(node, "qcom,mode", &gsbi->mode)) {
49 dev_err(&pdev->dev, "missing mode configuration\n");
57 gsbi->mode, gsbi->crci);
64 writel_relaxed((gsbi->mode << GSBI_PROTOCOL_SHIFT) | gsbi->crci,

Completed in 2333 milliseconds

1234567891011>>