/drivers/media/i2c/ |
D | saa7127.c | 350 int enable = (data->line != 0); in saa7127_set_vps() local 352 if (enable && (data->field != 0 || data->line != 16)) in saa7127_set_vps() 354 if (state->vps_enable != enable) { in saa7127_set_vps() 355 v4l2_dbg(1, debug, sd, "Turn VPS Signal %s\n", enable ? "on" : "off"); in saa7127_set_vps() 356 saa7127_write(sd, 0x54, enable << 7); in saa7127_set_vps() 357 state->vps_enable = enable; in saa7127_set_vps() 359 if (!enable) in saa7127_set_vps() 382 int enable = (data->line != 0); in saa7127_set_cc() local 384 if (enable && (data->field != 0 || data->line != 21)) in saa7127_set_cc() 386 if (state->cc_enable != enable) { in saa7127_set_cc() [all …]
|
D | saa7110.c | 62 int enable; member 320 static int saa7110_s_stream(struct v4l2_subdev *sd, int enable) in saa7110_s_stream() argument 324 if (decoder->enable != enable) { in saa7110_s_stream() 325 decoder->enable = enable; in saa7110_s_stream() 326 saa7110_write(sd, 0x0E, enable ? 0x18 : 0x80); in saa7110_s_stream() 327 v4l2_dbg(1, debug, sd, "YUV %s\n", enable ? "on" : "off"); in saa7110_s_stream() 416 decoder->enable = 1; in saa7110_probe()
|
/drivers/power/ |
D | Kconfig | 4 Say Y here to enable power supply class support. This allows 14 Say Y here to enable debugging messages for power supply class 21 Say Y here to enable generic power driver for PDAs and phones with 29 Say Y here to enable support APM status emulation using 36 Say Y here to enable support for the generic battery driver 43 Say Y here to enable support for the battery charger in the Maxim 50 Say Y here to enable support for the backup battery charger 57 Say Y here to enable support for the power management unit 64 Say Y here to enable support for the power management unit 76 Say Y here to enable battery monitor for Marvell 88PM860x chip. [all …]
|
/drivers/media/platform/davinci/ |
D | vpif.h | 271 static inline void enable_channel0(int enable) in enable_channel0() argument 273 if (enable) in enable_channel0() 280 static inline void enable_channel1(int enable) in enable_channel1() argument 282 if (enable) in enable_channel1() 289 static inline void channel0_intr_enable(int enable) in channel0_intr_enable() argument 295 if (enable) { in channel0_intr_enable() 311 static inline void channel1_intr_enable(int enable) in channel1_intr_enable() argument 317 if (enable) { in channel1_intr_enable() 426 static inline void enable_channel2(int enable) in enable_channel2() argument 428 if (enable) { in enable_channel2() [all …]
|
/drivers/video/exynos/ |
D | exynos_mipi_dsi_lowlevel.h | 33 unsigned int enable); 50 unsigned int enable); 51 void exynos_mipi_dsi_enable_afc(struct mipi_dsim_device *dsim, unsigned int enable, 54 unsigned int enable); 65 unsigned int enable); 69 unsigned int enable); 71 unsigned int enable, unsigned int prs_val); 73 unsigned int lane_sel, unsigned int enable); 75 unsigned int enable); 88 unsigned int enable); [all …]
|
D | exynos_mipi_dsi_lowlevel.c | 116 unsigned int enable) in exynos_mipi_dsi_set_main_stand_by() argument 124 if (enable) in exynos_mipi_dsi_set_main_stand_by() 253 unsigned int enable) in exynos_mipi_dsi_enable_lane() argument 259 if (enable) in exynos_mipi_dsi_enable_lane() 279 void exynos_mipi_dsi_enable_afc(struct mipi_dsim_device *dsim, unsigned int enable, in exynos_mipi_dsi_enable_afc() argument 284 if (enable) { in exynos_mipi_dsi_enable_afc() 295 unsigned int enable) in exynos_mipi_dsi_enable_pll_bypass() argument 300 reg |= DSIM_PLL_BYPASS_SHIFT(enable); in exynos_mipi_dsi_enable_pll_bypass() 345 void exynos_mipi_dsi_enable_pll(struct mipi_dsim_device *dsim, unsigned int enable) in exynos_mipi_dsi_enable_pll() argument 350 reg |= DSIM_PLL_EN_SHIFT(enable & 0x1); in exynos_mipi_dsi_enable_pll() [all …]
|
D | exynos_dp_core.h | 48 void exynos_dp_enable_video_mute(struct exynos_dp_device *dp, bool enable); 50 void exynos_dp_lane_swap(struct exynos_dp_device *dp, bool enable); 57 void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable); 60 bool enable); 100 void exynos_dp_enable_enhanced_mode(struct exynos_dp_device *dp, bool enable); 129 void exynos_dp_enable_video_master(struct exynos_dp_device *dp, bool enable);
|
/drivers/usb/renesas_usbhs/ |
D | common.c | 99 static void usbhs_sys_clock_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_clock_ctrl() argument 101 usbhs_bset(priv, SYSCFG, SCKE, enable ? SCKE : 0); in usbhs_sys_clock_ctrl() 104 void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_host_ctrl() argument 119 usbhs_bset(priv, SYSCFG, mask, enable ? val : 0); in usbhs_sys_host_ctrl() 122 void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) in usbhs_sys_function_ctrl() argument 133 usbhs_bset(priv, SYSCFG, mask, enable ? val : 0); in usbhs_sys_function_ctrl() 136 void usbhs_sys_function_pullup(struct usbhs_priv *priv, int enable) in usbhs_sys_function_pullup() argument 138 usbhs_bset(priv, SYSCFG, DPRPU, enable ? DPRPU : 0); in usbhs_sys_function_pullup() 216 int usbhs_vbus_ctrl(struct usbhs_priv *priv, int enable) in usbhs_vbus_ctrl() argument 220 return usbhs_platform_call(priv, set_vbus, pdev, enable); in usbhs_vbus_ctrl() [all …]
|
/drivers/media/rc/ |
D | rc-loopback.c | 145 static void loop_set_idle(struct rc_dev *dev, bool enable) in loop_set_idle() argument 149 if (lodev->idle != enable) { in loop_set_idle() 150 dprintk("%sing idle mode\n", enable ? "enter" : "exit"); in loop_set_idle() 151 lodev->idle = enable; in loop_set_idle() 155 static int loop_set_learning_mode(struct rc_dev *dev, int enable) in loop_set_learning_mode() argument 159 if (lodev->learning != enable) { in loop_set_learning_mode() 160 dprintk("%sing learning mode\n", enable ? "enter" : "exit"); in loop_set_learning_mode() 161 lodev->learning = !!enable; in loop_set_learning_mode() 167 static int loop_set_carrier_report(struct rc_dev *dev, int enable) in loop_set_carrier_report() argument 171 if (lodev->carrierreport != enable) { in loop_set_carrier_report() [all …]
|
/drivers/ptp/ |
D | ptp_sysfs.c | 67 int cnt, enable; in extts_enable_store() local 70 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store() 76 err = ops->enable(ops, &req, enable ? 1 : 0); in extts_enable_store() 125 int cnt, enable, err = -EINVAL; in period_store() local 135 enable = req.perout.period.sec || req.perout.period.nsec; in period_store() 136 err = ops->enable(ops, &req, enable); in period_store() 152 int cnt, enable; in pps_enable_store() local 158 cnt = sscanf(buf, "%d", &enable); in pps_enable_store() 162 err = ops->enable(ops, &req, enable ? 1 : 0); in pps_enable_store()
|
D | ptp_chardev.c | 42 int enable, err = 0; in ptp_ioctl() local 69 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl() 70 err = ops->enable(ops, &req, enable); in ptp_ioctl() 84 enable = req.perout.period.sec || req.perout.period.nsec; in ptp_ioctl() 85 err = ops->enable(ops, &req, enable); in ptp_ioctl() 92 enable = arg ? 1 : 0; in ptp_ioctl() 93 err = ops->enable(ops, &req, enable); in ptp_ioctl()
|
/drivers/pci/ |
D | pci-acpi.c | 226 static void acpi_pci_propagate_wakeup_enable(struct pci_bus *bus, bool enable) in acpi_pci_propagate_wakeup_enable() argument 229 if (!acpi_pm_device_sleep_wake(&bus->self->dev, enable)) in acpi_pci_propagate_wakeup_enable() 236 acpi_pm_device_sleep_wake(bus->bridge, enable); in acpi_pci_propagate_wakeup_enable() 239 static int acpi_pci_sleep_wake(struct pci_dev *dev, bool enable) in acpi_pci_sleep_wake() argument 242 return acpi_pm_device_sleep_wake(&dev->dev, enable); in acpi_pci_sleep_wake() 244 acpi_pci_propagate_wakeup_enable(dev->bus, enable); in acpi_pci_sleep_wake() 248 static void acpi_pci_propagate_run_wake(struct pci_bus *bus, bool enable) in acpi_pci_propagate_run_wake() argument 255 if (!acpi_pm_device_run_wake(&bridge->dev, enable)) in acpi_pci_propagate_run_wake() 262 acpi_pm_device_run_wake(bus->bridge, enable); in acpi_pci_propagate_run_wake() 265 static int acpi_pci_run_wake(struct pci_dev *dev, bool enable) in acpi_pci_run_wake() argument [all …]
|
/drivers/video/backlight/ |
D | Kconfig | 101 If you have an Sharp SL-6000 Zaurus say Y to enable a driver 110 say Y to enable LCD control driver. 117 If you have an S6E63M0 LCD Panel, say Y to enable its 125 If you have an LD9040 Panel, say Y to enable its 133 If you have an AMS369FG06 AMOLED Panel, say Y to enable its 141 If you have an LMS501KF03 LCD Panel, say Y to enable its 148 If you have a HX-8357 LCD panel, say Y to enable its LCD control 178 If in doubt, it's safe to enable this option; it doesn't kick 197 the EP93xx, say Y here to enable this driver. 206 Say y to enable the generic platform backlight driver previously [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | acx.c | 228 bool enable, void *mc_list, u32 mc_list_len) in wl1271_acx_group_address_tbl() argument 243 acx->enabled = enable; in wl1271_acx_group_address_tbl() 339 dco->enable = c->enable; in wl1271_acx_dco_itrim_params() 373 beacon_filter->enable = enable_filter; in wl1271_acx_beacon_filter_opt() 452 bool enable) in wl1271_acx_conn_monit_params() argument 460 enable ? "enabled" : "disabled"); in wl1271_acx_conn_monit_params() 468 if (enable) { in wl1271_acx_conn_monit_params() 491 int wl1271_acx_sg_enable(struct wl1271 *wl, bool enable) in wl1271_acx_sg_enable() argument 504 if (enable) in wl1271_acx_sg_enable() 505 pta->enable = wl->conf.sg.state; in wl1271_acx_sg_enable() [all …]
|
D | acx.h | 230 u8 enable; member 296 u8 enable; member 311 u8 enable; member 546 u8 enable; member 563 u8 enable; /* bitmap of enabled ARP filtering features */ member 653 u8 enable; member 762 u8 enable; member 791 u8 enable; member 837 u8 enable; member 933 u8 enable; member [all …]
|
/drivers/leds/ |
D | leds-netxbig.c | 58 gpio_set_value(gpio_ext->enable, 0); in gpio_ext_enable_select() 59 gpio_set_value(gpio_ext->enable, 1); in gpio_ext_enable_select() 97 err = gpio_request_one(gpio_ext->enable, GPIOF_OUT_INIT_LOW, in gpio_ext_init() 119 gpio_free(gpio_ext->enable); in gpio_ext_free() 241 unsigned long enable; in netxbig_led_sata_store() local 246 ret = kstrtoul(buff, 10, &enable); in netxbig_led_sata_store() 250 enable = !!enable; in netxbig_led_sata_store() 254 if (led_dat->sata == enable) { in netxbig_led_sata_store() 262 else if (enable) in netxbig_led_sata_store() 275 led_dat->sata = enable; in netxbig_led_sata_store()
|
/drivers/staging/nvec/ |
D | Kconfig | 6 Say Y here to enable support for a nVidia compliant embedded 13 Say Y here to enable support for a keyboard connected to 20 Say Y here to enable support for a Touchpad / Mouse connected 27 Say Y to enable support for battery and charger interface for 34 Say Y to enable control of the yellow side leds on Compal PAZ00 based
|
/drivers/xen/xen-pciback/ |
D | pciback_ops.c | 26 int enable = 0; in xen_pcibk_control_isr() local 40 enable = dev_data->enable_intx; in xen_pcibk_control_isr() 43 if (!enable && !dev_data->isr_on) in xen_pcibk_control_isr() 50 if (enable) in xen_pcibk_control_isr() 67 enable ? "enable" : "disable"); in xen_pcibk_control_isr() 69 if (enable) { in xen_pcibk_control_isr() 83 dev_data->isr_on = enable; in xen_pcibk_control_isr() 84 dev_data->ack_intr = enable; in xen_pcibk_control_isr() 92 enable ? (dev_data->isr_on ? "enabled" : "failed to enable") : in xen_pcibk_control_isr()
|
/drivers/gpu/drm/radeon/ |
D | r600_hdmi.c | 450 void r600_hdmi_enable(struct drm_encoder *encoder, bool enable) in r600_hdmi_enable() argument 459 if (enable && dig->afmt->enabled) in r600_hdmi_enable() 461 if (!enable && !dig->afmt->enabled) in r600_hdmi_enable() 466 if (enable) in r600_hdmi_enable() 470 if (enable) { in r600_hdmi_enable() 478 if (enable) { in r600_hdmi_enable() 486 if (enable) { in r600_hdmi_enable() 494 if (enable) in r600_hdmi_enable() 508 if (enable) in r600_hdmi_enable() 514 dig->afmt->enabled = enable; in r600_hdmi_enable() [all …]
|
D | r600_audio.c | 147 static void r600_audio_engine_enable(struct radeon_device *rdev, bool enable) in r600_audio_engine_enable() argument 150 DRM_INFO("%s audio support\n", enable ? "Enabling" : "Disabling"); in r600_audio_engine_enable() 152 if (enable) { in r600_audio_engine_enable() 159 enable ? 0x81000000 : 0x0, ~0x81000000); in r600_audio_engine_enable() 161 rdev->audio_enabled = enable; in r600_audio_engine_enable()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | tp.c | 139 static void set_csum_offload(struct petp *tp, u32 csum_bit, int enable) in set_csum_offload() argument 143 if (enable) in set_csum_offload() 150 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) in t1_tp_set_ip_checksum_offload() argument 152 set_csum_offload(tp, F_IP_CSUM, enable); in t1_tp_set_ip_checksum_offload() 155 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) in t1_tp_set_tcp_checksum_offload() argument 157 set_csum_offload(tp, F_TCP_CSUM, enable); in t1_tp_set_tcp_checksum_offload()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_mac.c | 76 u32 dma_len, int enable, int clear) in efx_mcdi_mac_stats() argument 81 int period = enable ? 1000 : 0; in efx_mcdi_mac_stats() 94 MC_CMD_MAC_STATS_IN_DMA, !!enable, in efx_mcdi_mac_stats() 97 MC_CMD_MAC_STATS_IN_PERIODIC_ENABLE, !!enable, in efx_mcdi_mac_stats() 112 __func__, enable ? "enable" : "disable", rc); in efx_mcdi_mac_stats()
|
/drivers/staging/tidspbridge/core/ |
D | tiomap3430_pwr.c | 413 void dsp_clk_wakeup_event_ctrl(u32 clock_id, bool enable) in dsp_clk_wakeup_event_ctrl() argument 438 if (enable) { in dsp_clk_wakeup_event_ctrl() 451 if (enable) { in dsp_clk_wakeup_event_ctrl() 464 if (enable) { in dsp_clk_wakeup_event_ctrl() 477 if (enable) { in dsp_clk_wakeup_event_ctrl() 490 if (enable) { in dsp_clk_wakeup_event_ctrl() 503 if (enable) { in dsp_clk_wakeup_event_ctrl() 516 if (enable) { in dsp_clk_wakeup_event_ctrl() 529 if (enable) { in dsp_clk_wakeup_event_ctrl() 542 if (enable) { in dsp_clk_wakeup_event_ctrl()
|
/drivers/media/dvb-frontends/ |
D | au8522_common.c | 81 int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_i2c_gate_ctrl() argument 85 dprintk("%s(%d)\n", __func__, enable); in au8522_i2c_gate_ctrl() 95 if (enable) in au8522_i2c_gate_ctrl() 102 int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_analog_i2c_gate_ctrl() argument 106 dprintk("%s(%d)\n", __func__, enable); in au8522_analog_i2c_gate_ctrl() 108 if (enable) in au8522_analog_i2c_gate_ctrl()
|
/drivers/regulator/ |
D | tps6524x-regulator.c | 132 struct field enable, voltage, ilimsel; member 382 .enable = __MK_FIELD(REG_DCDC_EN, DCDCDCDC_EN_MASK, 393 .enable = __MK_FIELD(REG_DCDC_EN, DCDCDCDC_EN_MASK, 404 .enable = __MK_FIELD(REG_DCDC_EN, DCDCDCDC_EN_MASK, 415 .enable = __MK_FIELD(REG_BLOCK_EN, BLOCK_MASK, 428 .enable = __MK_FIELD(REG_BLOCK_EN, BLOCK_MASK, 441 .enable = __MK_FIELD(REG_BLOCK_EN, BLOCK_MASK, 452 .enable = __MK_FIELD(REG_BLOCK_EN, BLOCK_MASK, 543 return write_field(hw, &info->enable, 1); in enable_supply() 554 return write_field(hw, &info->enable, 0); in disable_supply() [all …]
|