Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/drivers/staging/comedi/drivers/
Daddi_apci_3xxx.c56 .reset = i_APCI3XXX_Reset,
78 .reset = i_APCI3XXX_Reset,
100 .reset = i_APCI3XXX_Reset,
122 .reset = i_APCI3XXX_Reset,
144 .reset = i_APCI3XXX_Reset,
166 .reset = i_APCI3XXX_Reset,
191 .reset = i_APCI3XXX_Reset,
218 .reset = i_APCI3XXX_Reset,
245 .reset = i_APCI3XXX_Reset,
272 .reset = i_APCI3XXX_Reset,
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dreset.c44 void __iomem *reset; in mlx4_reset() local
93 reset = ioremap(pci_resource_start(dev->pdev, 0) + MLX4_RESET_BASE, in mlx4_reset()
95 if (!reset) { in mlx4_reset()
104 sem = readl(reset + MLX4_SEM_OFFSET); in mlx4_reset()
114 iounmap(reset); in mlx4_reset()
119 writel(MLX4_RESET_VALUE, reset + MLX4_RESET_OFFSET); in mlx4_reset()
120 iounmap(reset); in mlx4_reset()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c1501 p_dev->ahw->reset.seq_error++; in qlcnic_83xx_poll_reg()
1504 __func__, p_dev->ahw->reset.seq_index); in qlcnic_83xx_poll_reg()
1516 u16 *buff = (u16 *)p_dev->ahw->reset.buff; in qlcnic_83xx_reset_template_checksum()
1517 int count = p_dev->ahw->reset.hdr->size / sizeof(u16); in qlcnic_83xx_reset_template_checksum()
1539 ahw->reset.seq_error = 0; in qlcnic_83xx_get_reset_instruction_template()
1540 ahw->reset.buff = kzalloc(QLC_83XX_RESTART_TEMPLATE_SIZE, GFP_KERNEL); in qlcnic_83xx_get_reset_instruction_template()
1541 if (p_dev->ahw->reset.buff == NULL) in qlcnic_83xx_get_reset_instruction_template()
1544 p_buff = p_dev->ahw->reset.buff; in qlcnic_83xx_get_reset_instruction_template()
1553 ahw->reset.hdr = (struct qlc_83xx_reset_hdr *)ahw->reset.buff; in qlcnic_83xx_get_reset_instruction_template()
1554 addr = QLC_83XX_RESET_TEMPLATE_ADDR + ahw->reset.hdr->hdr_size; in qlcnic_83xx_get_reset_instruction_template()
[all …]
/drivers/isdn/hisax/
Disurf.c126 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/usb/phy/
Dphy-nop.c44 struct regulator *reset; member
85 if (!IS_ERR(nop->reset)) { in nop_init()
87 if (regulator_enable(nop->reset)) in nop_init()
98 if (!IS_ERR(nop->reset)) { in nop_shutdown()
100 if (regulator_disable(nop->reset)) in nop_shutdown()
208 nop->reset = devm_regulator_get(&pdev->dev, "reset"); in nop_usb_xceiv_probe()
209 if (IS_ERR(nop->reset)) { in nop_usb_xceiv_probe()
211 PTR_ERR(nop->reset)); in nop_usb_xceiv_probe()
/drivers/input/keyboard/
Dsunkbd.c86 volatile s8 reset; member
100 if (sunkbd->reset <= -1) { in sunkbd_interrupt()
105 sunkbd->reset = data; in sunkbd_interrupt()
120 sunkbd->reset = -1; in sunkbd_interrupt()
197 sunkbd->reset = -2; in sunkbd_initialize()
199 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_initialize()
200 if (sunkbd->reset < 0) in sunkbd_initialize()
203 sunkbd->type = sunkbd->reset; in sunkbd_initialize()
228 wait_event_interruptible_timeout(sunkbd->wait, sunkbd->reset >= 0, HZ); in sunkbd_reinit()
/drivers/net/can/softing/
Dsofting_cs.c50 .reset = softingcs_reset,
62 .reset = softingcs_reset,
74 .reset = softingcs_reset,
86 .reset = softingcs_reset,
98 .reset = softingcs_reset,
110 .reset = softingcs_reset,
122 .reset = softingcs_reset,
134 .reset = softingcs_reset,
146 .reset = softingcs_reset,
/drivers/media/dvb-frontends/
Dlgdt330x.c133 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/
Dhd.c115 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/watchdog/
Dmpc8xxx_wdt.c60 static bool reset = 1; variable
61 module_param(reset, bool, 0);
62 MODULE_PARM_DESC(reset,
102 reset ? "reset" : "machine check exception"); in mpc8xxx_wdt_pr_warn()
126 if (reset) in mpc8xxx_wdt_open()
232 reset ? "reset" : "interrupt", timeout, timeout_sec); in mpc8xxx_wdt_probe()
/drivers/media/usb/dvb-usb/
Ddvb-usb-firmware.c39 u8 reset; in usb_cypress_load_firmware() local
43 reset = 1; in usb_cypress_load_firmware()
44 if ((ret = usb_cypress_writemem(udev,cypress[type].cpu_cs_register,&reset,1)) != 1) in usb_cypress_load_firmware()
66 reset = 0; in usb_cypress_load_firmware()
67 if (ret || usb_cypress_writemem(udev,cypress[type].cpu_cs_register,&reset,1) != 1) { in usb_cypress_load_firmware()
/drivers/video/backlight/
Dhx8357.c76 unsigned reset; member
258 gpio_set_value(lcd->reset, 1); in hx8357_lcd_init()
260 gpio_set_value(lcd->reset, 0); in hx8357_lcd_init()
262 gpio_set_value(lcd->reset, 1); in hx8357_lcd_init()
411 lcd->reset = of_get_named_gpio(spi->dev.of_node, "gpios-reset", 0); in hx8357_probe()
412 if (!gpio_is_valid(lcd->reset)) { in hx8357_probe()
417 ret = devm_gpio_request_one(&spi->dev, lcd->reset, in hx8357_probe()
423 lcd->reset, ret); in hx8357_probe()
Dili9320.c82 cfg->reset(1); in ili9320_reset()
85 cfg->reset(0); in ili9320_reset()
88 cfg->reset(1); in ili9320_reset()
214 if (cfg->hsize <= 0 || cfg->vsize <= 0 || cfg->reset == NULL) { in ili9320_probe_spi()
/drivers/usb/misc/
Didmouse.c142 goto reset; in idmouse_create_image()
145 goto reset; in idmouse_create_image()
151 goto reset; in idmouse_create_image()
154 goto reset; in idmouse_create_image()
160 goto reset; in idmouse_create_image()
163 goto reset; in idmouse_create_image()
188 reset: in idmouse_create_image()
/drivers/power/reset/
DKconfig2 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
38 Power off and reset support for the ARM Ltd. Versatile
/drivers/media/pci/mantis/
Dhopper_vp3028.c50 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,
Dmantis_vp3030.c62 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/video/
Dssd1307fb.c36 int reset; member
279 par->reset = of_get_named_gpio(client->dev.of_node, in ssd1307fb_probe()
281 if (!gpio_is_valid(par->reset)) { in ssd1307fb_probe()
286 ret = devm_gpio_request_one(&client->dev, par->reset, in ssd1307fb_probe()
292 par->reset, ret); in ssd1307fb_probe()
316 gpio_set_value(par->reset, 0); in ssd1307fb_probe()
318 gpio_set_value(par->reset, 1); in ssd1307fb_probe()
/drivers/staging/speakup/
Dkobjects.c81 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()
707 static void report_msg_status(int reset, int received, int used, in report_msg_status() argument
713 if (reset) { in report_msg_status()
742 int reset = 0; in message_store_helper() local
[all …]
/drivers/infiniband/hw/mthca/
Dmthca_reset.c148 void __iomem *reset = ioremap(pci_resource_start(mdev->pdev, 0) + in mthca_reset() local
151 if (!reset) { in mthca_reset()
158 writel(MTHCA_RESET_VALUE, reset); in mthca_reset()
159 iounmap(reset); in mthca_reset()
/drivers/mfd/
Ducb1x00-core.c506 if (pdata && pdata->reset) in ucb1x00_probe()
507 pdata->reset(UCB_RST_PROBE); in ucb1x00_probe()
611 if (pdata && pdata->reset) in ucb1x00_probe()
612 pdata->reset(UCB_RST_PROBE_FAIL); in ucb1x00_probe()
641 if (pdata && pdata->reset) in ucb1x00_remove()
642 pdata->reset(UCB_RST_REMOVE); in ucb1x00_remove()
698 } else if (pdata && pdata->reset) in ucb1x00_suspend()
699 pdata->reset(UCB_RST_SUSPEND); in ucb1x00_suspend()
710 if (!ucb->irq_wake && pdata && pdata->reset) in ucb1x00_resume()
711 pdata->reset(UCB_RST_RESUME); in ucb1x00_resume()
/drivers/media/i2c/
Dmt9p031.c133 int reset; member
275 if (mt9p031->reset != -1) { in mt9p031_power_on()
276 gpio_set_value(mt9p031->reset, 0); in mt9p031_power_on()
290 if (mt9p031->reset != -1) { in mt9p031_power_on()
291 gpio_set_value(mt9p031->reset, 1); in mt9p031_power_on()
300 if (mt9p031->reset != -1) { in mt9p031_power_off()
301 gpio_set_value(mt9p031->reset, 0); in mt9p031_power_off()
959 mt9p031->reset = -1; in mt9p031_probe()
1034 if (pdata->reset != -1) { in mt9p031_probe()
1035 ret = devm_gpio_request_one(&client->dev, pdata->reset, in mt9p031_probe()
[all …]
/drivers/reset/
DKconfig10 This framework is designed to abstract reset handling of devices
11 via GPIOs or SoC-internal reset controller modules.
/drivers/isdn/i4l/
Disdn_ppp.c303 is->reset = isdn_ppp_ccp_reset_alloc(is); in isdn_ppp_open()
402 if (is->reset) in isdn_ppp_release()
2254 is->reset = r; in isdn_ppp_ccp_reset_alloc()
2264 is->reset); in isdn_ppp_ccp_reset_free()
2266 if (is->reset->rs[id]) { in isdn_ppp_ccp_reset_free()
2270 kfree(is->reset); in isdn_ppp_ccp_reset_free()
2271 is->reset = NULL; in isdn_ppp_ccp_reset_free()
2280 if (is->reset->rs[id]) { in isdn_ppp_ccp_reset_free_state()
2282 rs = is->reset->rs[id]; in isdn_ppp_ccp_reset_free_state()
2286 is->reset->rs[id] = NULL; in isdn_ppp_ccp_reset_free_state()
[all …]
/drivers/tty/serial/
Difx6x60.c968 gpio_set_value(ifx_dev->gpio.reset, 0); in ifx_spi_reset()
970 gpio_set_value(ifx_dev->gpio.reset, 1); in ifx_spi_reset()
1093 ifx_dev->gpio.reset = pl_data->rst_pmu; in ifx_spi_spi_probe()
1100 ifx_dev->gpio.reset, ifx_dev->gpio.po, ifx_dev->gpio.mrdy, in ifx_spi_spi_probe()
1104 ret = gpio_request(ifx_dev->gpio.reset, "ifxModem"); in ifx_spi_spi_probe()
1107 ifx_dev->gpio.reset); in ifx_spi_spi_probe()
1110 ret += gpio_direction_output(ifx_dev->gpio.reset, 0); in ifx_spi_spi_probe()
1111 ret += gpio_export(ifx_dev->gpio.reset, 1); in ifx_spi_spi_probe()
1114 ifx_dev->gpio.reset); in ifx_spi_spi_probe()
1221 gpio_free(ifx_dev->gpio.reset); in ifx_spi_spi_probe()
[all …]

12345678910>>...20