/drivers/clk/qcom/ |
D | common.c | 26 struct qcom_reset_controller reset; member 70 struct qcom_reset_controller *reset; in qcom_cc_really_probe() local 100 reset = &cc->reset; in qcom_cc_really_probe() 101 reset->rcdev.of_node = dev->of_node; in qcom_cc_really_probe() 102 reset->rcdev.ops = &qcom_reset_ops; in qcom_cc_really_probe() 103 reset->rcdev.owner = dev->driver->owner; in qcom_cc_really_probe() 104 reset->rcdev.nr_resets = desc->num_resets; in qcom_cc_really_probe() 105 reset->regmap = regmap; in qcom_cc_really_probe() 106 reset->reset_map = desc->resets; in qcom_cc_really_probe() 107 platform_set_drvdata(pdev, &reset->rcdev); in qcom_cc_really_probe() [all …]
|
/drivers/watchdog/ |
D | mena21_wdt.c | 47 int reset = 0; in a21_wdt_get_bootstatus() local 49 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus() 50 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus() 51 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus() 53 return reset; in a21_wdt_get_bootstatus() 151 unsigned int reset = 0; in a21_wdt_probe() local 201 reset = a21_wdt_get_bootstatus(drv); in a21_wdt_probe() 202 if (reset == 2) in a21_wdt_probe() 204 else if (reset == 4) in a21_wdt_probe() 206 else if (reset == 5) in a21_wdt_probe() [all …]
|
D | mpc8xxx_wdt.c | 61 static bool reset = 1; variable 62 module_param(reset, bool, 0); 63 MODULE_PARM_DESC(reset, 109 if (reset) in mpc8xxx_wdt_start() 195 reset ? "reset" : "interrupt", timeout, timeout_sec); in mpc8xxx_wdt_probe() 214 reset ? "reset" : "machine check exception"); in mpc8xxx_wdt_remove()
|
/drivers/power/reset/ |
D | Kconfig | 2 bool "Board level reset or power off" 4 Provides a number of drivers which either reset a complete board 7 Say Y here to enable board reset and power off 26 bool "Atmel AT91 reset driver" 34 bool "LSI Axxia reset driver" 42 bool "Broadcom STB reset driver" if COMPILE_TEST 105 bool "Allwinner A31 SoC reset driver" 114 Power off and reset support for STMicroelectronics boards. 126 bool "ARM Versatile Express power-off and reset driver" 130 Power off and reset support for the ARM Ltd. Versatile [all …]
|
D | Makefile | 3 obj-$(CONFIG_POWER_RESET_AT91_RESET) += at91-reset.o 4 obj-$(CONFIG_POWER_RESET_AXXIA) += axxia-reset.o 18 obj-$(CONFIG_POWER_RESET_KEYSTONE) += keystone-reset.o
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 44 void __iomem *reset; in mlx4_reset() local 91 reset = ioremap(pci_resource_start(dev->pdev, 0) + MLX4_RESET_BASE, in mlx4_reset() 93 if (!reset) { in mlx4_reset() 102 sem = readl(reset + MLX4_SEM_OFFSET); in mlx4_reset() 112 iounmap(reset); in mlx4_reset() 117 writel(MLX4_RESET_VALUE, reset + MLX4_RESET_OFFSET); in mlx4_reset() 118 iounmap(reset); in mlx4_reset()
|
/drivers/isdn/hisax/ |
D | isurf.c | 126 release_region(cs->hw.isurf.reset, 1); in release_io_isurf() 136 byteout(cs->hw.isurf.reset, chips); /* Reset On */ in reset_isurf() 138 byteout(cs->hw.isurf.reset, ISURF_ISAR_EA); /* Reset Off */ in reset_isurf() 212 cs->hw.isurf.reset = card->para[1]; in setup_isurf() 238 cs->hw.isurf.reset = pnp_port_start(pnp_d, 0); in setup_isurf() 241 if (!cs->irq || !cs->hw.isurf.reset || !cs->hw.isurf.phymem) { in setup_isurf() 243 cs->irq, cs->hw.isurf.reset, cs->hw.isurf.phymem); in setup_isurf() 260 if (!request_region(cs->hw.isurf.reset, 1, "isurf isdn")) { in setup_isurf() 263 cs->hw.isurf.reset); in setup_isurf() 271 release_region(cs->hw.isurf.reset, 1); in setup_isurf() [all …]
|
/drivers/input/keyboard/ |
D | sunkbd.c | 85 volatile s8 reset; member 99 if (sunkbd->reset <= -1) { in sunkbd_interrupt() 104 sunkbd->reset = data; in sunkbd_interrupt() 119 sunkbd->reset = -1; in sunkbd_interrupt() 196 sunkbd->reset = -2; in sunkbd_initialize() 198 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_initialize() 199 if (sunkbd->reset < 0) in sunkbd_initialize() 202 sunkbd->type = sunkbd->reset; in sunkbd_initialize() 227 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_reinit()
|
/drivers/net/can/softing/ |
D | softing_cs.c | 49 .reset = softingcs_reset, 61 .reset = softingcs_reset, 73 .reset = softingcs_reset, 85 .reset = softingcs_reset, 97 .reset = softingcs_reset, 109 .reset = softingcs_reset, 121 .reset = softingcs_reset, 133 .reset = softingcs_reset, 145 .reset = softingcs_reset,
|
/drivers/net/wireless/cw1200/ |
D | cw1200_sdio.c | 191 if (pdata->reset) { in cw1200_sdio_off() 192 gpio_set_value(pdata->reset, 0); in cw1200_sdio_off() 194 gpio_free(pdata->reset); in cw1200_sdio_off() 208 if (pdata->reset) { in cw1200_sdio_on() 209 gpio_request(pdata->reset, "cw1200_wlan_reset"); in cw1200_sdio_on() 210 gpio_direction_output(pdata->reset, 0); in cw1200_sdio_on() 216 if (pdata->reset || pdata->powerup) in cw1200_sdio_on() 242 if (pdata->reset) { in cw1200_sdio_on() 243 gpio_set_value(pdata->reset, 1); in cw1200_sdio_on()
|
D | cw1200_spi.c | 287 if (pdata->reset) { in cw1200_spi_off() 288 gpio_set_value(pdata->reset, 0); in cw1200_spi_off() 290 gpio_free(pdata->reset); in cw1200_spi_off() 304 if (pdata->reset) { in cw1200_spi_on() 305 gpio_request(pdata->reset, "cw1200_wlan_reset"); in cw1200_spi_on() 306 gpio_direction_output(pdata->reset, 0); in cw1200_spi_on() 312 if (pdata->reset || pdata->powerup) in cw1200_spi_on() 338 if (pdata->reset) { in cw1200_spi_on() 339 gpio_set_value(pdata->reset, 1); in cw1200_spi_on()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_init.c | 1678 p_dev->ahw->reset.seq_error++; in qlcnic_83xx_poll_reg() 1681 __func__, p_dev->ahw->reset.seq_index); in qlcnic_83xx_poll_reg() 1693 u16 *buff = (u16 *)p_dev->ahw->reset.buff; in qlcnic_83xx_reset_template_checksum() 1694 int count = p_dev->ahw->reset.hdr->size / sizeof(u16); in qlcnic_83xx_reset_template_checksum() 1716 if (ahw->reset.buff != NULL) { in qlcnic_83xx_get_reset_instruction_template() 1720 kfree(ahw->reset.buff); in qlcnic_83xx_get_reset_instruction_template() 1725 ahw->reset.seq_error = 0; in qlcnic_83xx_get_reset_instruction_template() 1726 ahw->reset.buff = kzalloc(QLC_83XX_RESTART_TEMPLATE_SIZE, GFP_KERNEL); in qlcnic_83xx_get_reset_instruction_template() 1727 if (p_dev->ahw->reset.buff == NULL) in qlcnic_83xx_get_reset_instruction_template() 1730 p_buff = p_dev->ahw->reset.buff; in qlcnic_83xx_get_reset_instruction_template() [all …]
|
/drivers/media/dvb-frontends/ |
D | lgdt330x.c | 133 u8 reset[] = { in lgdt3302_SwReset() local 140 reset, sizeof(reset)); in lgdt3302_SwReset() 144 reset[1] = 0x7f; in lgdt3302_SwReset() 146 reset, sizeof(reset)); in lgdt3302_SwReset() 154 u8 reset[] = { in lgdt3303_SwReset() local 160 reset, sizeof(reset)); in lgdt3303_SwReset() 164 reset[1] = 0x01; in lgdt3303_SwReset() 166 reset, sizeof(reset)); in lgdt3303_SwReset()
|
/drivers/block/ |
D | hd.c | 115 static int reset; variable 318 if (reset) in hd_out() 321 reset = 1; in hd_out() 371 if (reset) { in reset_hd() 372 reset = 0; in reset_hd() 377 if (reset) in reset_hd() 385 if (reset) in reset_hd() 425 reset = 1; in bad_rw_intr() 541 reset = 1; in hd_times_out() 559 return reset; in do_special_op() [all …]
|
/drivers/reset/sti/ |
D | Makefile | 1 obj-$(CONFIG_STI_RESET_SYSCFG) += reset-syscfg.o 3 obj-$(CONFIG_STIH415_RESET) += reset-stih415.o 4 obj-$(CONFIG_STIH416_RESET) += reset-stih416.o
|
D | reset-syscfg.c | 30 struct regmap_field *reset; member 65 err = regmap_field_write(ch->reset, ctrl_val); in syscfg_reset_program_hw() 114 .reset = syscfg_reset_dev, 150 f = devm_regmap_field_alloc(dev, map, data->channels[i].reset); in syscfg_reset_controller_register() 154 rc->channels[i].reset = f; in syscfg_reset_controller_register()
|
D | reset-syscfg.h | 28 struct reg_field reset; member 34 .reset = REG_FIELD(_rr, _rb, _rb), \ 39 .reset = REG_FIELD(_rr, _rb, _rb), }
|
/drivers/phy/ |
D | phy-exynos-mipi-video.c | 53 u32 reg, reset; in __set_phy_state() local 58 reset = EXYNOS_MIPI_PHY_MRESETN; in __set_phy_state() 60 reset = EXYNOS_MIPI_PHY_SRESETN; in __set_phy_state() 65 reg |= reset; in __set_phy_state() 67 reg &= ~reset; in __set_phy_state()
|
D | phy-sun4i-usb.c | 73 struct reset_control *reset; member 154 ret = reset_control_deassert(phy->reset); in sun4i_usb_phy_init() 176 reset_control_assert(phy->reset); in sun4i_usb_phy_exit() 283 phy->reset = devm_reset_control_get(dev, name); in sun4i_usb_phy_probe() 284 if (IS_ERR(phy->reset)) { in sun4i_usb_phy_probe() 286 return PTR_ERR(phy->reset); in sun4i_usb_phy_probe()
|
/drivers/reset/ |
D | Kconfig | 10 This framework is designed to abstract reset handling of devices 11 via GPIOs or SoC-internal reset controller modules. 15 source "drivers/reset/sti/Kconfig"
|
/drivers/usb/misc/ |
D | idmouse.c | 141 goto reset; in idmouse_create_image() 144 goto reset; in idmouse_create_image() 150 goto reset; in idmouse_create_image() 153 goto reset; in idmouse_create_image() 159 goto reset; in idmouse_create_image() 162 goto reset; in idmouse_create_image() 187 reset: in idmouse_create_image()
|
/drivers/gpu/drm/i915/ |
D | i915_params.c | 47 .reset = true, 108 module_param_named(reset, i915.reset, bool, 0600); 109 MODULE_PARM_DESC(reset, "Attempt GPU resets (default: true)");
|
/drivers/media/pci/mantis/ |
D | hopper_vp3028.c | 50 mantis_gpio_set_bits(mantis, config->reset, 0); in vp3028_frontend_init() 54 mantis_gpio_set_bits(mantis, config->reset, 1); in vp3028_frontend_init() 87 .reset = GPIF_A03,
|
D | mantis_vp3030.c | 62 mantis_gpio_set_bits(mantis, config->reset, 0); in vp3030_frontend_init() 66 mantis_gpio_set_bits(mantis, config->reset, 1); in vp3030_frontend_init() 102 .reset = GPIF_A13,
|
/drivers/staging/speakup/ |
D | kobjects.c | 81 static void report_char_chartab_status(int reset, int received, int used, in report_char_chartab_status() argument 91 if (reset) { in report_char_chartab_status() 125 int reset = 0; in chars_chartab_store() local 139 reset = 1; in chars_chartab_store() 176 reset = 1; /* just reset on error. */ in chars_chartab_store() 208 if (reset) { in chars_chartab_store() 216 report_char_chartab_status(reset, received, used, rejected, in chars_chartab_store() 720 static void report_msg_status(int reset, int received, int used, in report_msg_status() argument 726 if (reset) { in report_msg_status() 755 int reset = 0; in message_store_helper() local [all …]
|