Home
last modified time | relevance | path

Searched refs:rst (Results 1 – 109 of 109) sorted by relevance

/linux-4.1.27/drivers/clk/qcom/
Dreset.c33 struct qcom_reset_controller *rst; in qcom_reset_assert() local
37 rst = to_qcom_reset_controller(rcdev); in qcom_reset_assert()
38 map = &rst->reset_map[id]; in qcom_reset_assert()
41 return regmap_update_bits(rst->regmap, map->reg, mask, mask); in qcom_reset_assert()
47 struct qcom_reset_controller *rst; in qcom_reset_deassert() local
51 rst = to_qcom_reset_controller(rcdev); in qcom_reset_deassert()
52 map = &rst->reset_map[id]; in qcom_reset_deassert()
55 return regmap_update_bits(rst->regmap, map->reg, mask, 0); in qcom_reset_deassert()
/linux-4.1.27/drivers/reset/sti/
Dreset-syscfg.c44 struct reset_controller_dev rst; member
50 container_of(_rst, struct syscfg_reset_controller, rst)
55 struct syscfg_reset_controller *rst = to_syscfg_reset_controller(rcdev); in syscfg_reset_program_hw() local
57 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
63 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
136 rc->rst.ops = &syscfg_reset_ops, in syscfg_reset_controller_register()
137 rc->rst.of_node = dev->of_node; in syscfg_reset_controller_register()
138 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
166 err = reset_controller_register(&rc->rst); in syscfg_reset_controller_register()
/linux-4.1.27/drivers/phy/
Dphy-s5pv210-usb2.c117 u32 rst; in s5pv210_phy_pwr() local
139 rst = readl(drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
140 rst |= rstbits; in s5pv210_phy_pwr()
141 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
143 rst &= ~rstbits; in s5pv210_phy_pwr()
144 writel(rst, drv->reg_phy + S5PV210_UPHYRST); in s5pv210_phy_pwr()
Dphy-exynos4210-usb2.c154 u32 rst; in exynos4210_phy_pwr() local
194 rst = readl(drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
195 rst |= rstbits; in exynos4210_phy_pwr()
196 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
198 rst &= ~rstbits; in exynos4210_phy_pwr()
199 writel(rst, drv->reg_phy + EXYNOS_4210_UPHYRST); in exynos4210_phy_pwr()
Dphy-exynos4x12-usb2.c216 u32 rst; in exynos4x12_phy_pwr() local
247 rst = readl(drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
248 rst |= rstbits; in exynos4x12_phy_pwr()
249 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
251 rst &= ~rstbits; in exynos4x12_phy_pwr()
252 writel(rst, drv->reg_phy + EXYNOS_4x12_UPHYRST); in exynos4x12_phy_pwr()
/linux-4.1.27/drivers/media/rc/
Dsunxi-cir.c96 struct reset_control *rst; member
176 ir->rst = devm_reset_control_get_optional(dev, NULL); in sunxi_ir_probe()
177 if (IS_ERR(ir->rst)) { in sunxi_ir_probe()
178 ret = PTR_ERR(ir->rst); in sunxi_ir_probe()
181 ir->rst = NULL; in sunxi_ir_probe()
183 ret = reset_control_deassert(ir->rst); in sunxi_ir_probe()
295 if (ir->rst) in sunxi_ir_probe()
296 reset_control_assert(ir->rst); in sunxi_ir_probe()
308 if (ir->rst) in sunxi_ir_remove()
309 reset_control_assert(ir->rst); in sunxi_ir_remove()
/linux-4.1.27/Documentation/devicetree/bindings/ata/
Dahci-st.txt17 - reset-names : Associated names must be; "pwr-dwn", "sw-rst" and "pwr-rst"
31 reset-names = "pwr-dwn", "sw-rst";
47 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
/linux-4.1.27/drivers/usb/host/
Dohci-platform.c40 struct reset_control *rst; member
222 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL); in ohci_platform_probe()
223 if (IS_ERR(priv->rst)) { in ohci_platform_probe()
224 err = PTR_ERR(priv->rst); in ohci_platform_probe()
227 priv->rst = NULL; in ohci_platform_probe()
229 err = reset_control_deassert(priv->rst); in ohci_platform_probe()
289 if (priv->rst) in ohci_platform_probe()
290 reset_control_assert(priv->rst); in ohci_platform_probe()
315 if (priv->rst) in ohci_platform_remove()
316 reset_control_assert(priv->rst); in ohci_platform_remove()
Dehci-platform.c45 struct reset_control *rst; member
251 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL); in ehci_platform_probe()
252 if (IS_ERR(priv->rst)) { in ehci_platform_probe()
253 err = PTR_ERR(priv->rst); in ehci_platform_probe()
256 priv->rst = NULL; in ehci_platform_probe()
258 err = reset_control_deassert(priv->rst); in ehci_platform_probe()
313 if (priv->rst) in ehci_platform_probe()
314 reset_control_assert(priv->rst); in ehci_platform_probe()
339 if (priv->rst) in ehci_platform_remove()
340 reset_control_assert(priv->rst); in ehci_platform_remove()
Dehci-st.c37 struct reset_control *rst; member
82 ret = reset_control_deassert(priv->rst); in st_ehci_platform_power_on()
116 reset_control_assert(priv->rst); in st_ehci_platform_power_on()
131 reset_control_assert(priv->rst); in st_ehci_platform_power_off()
222 priv->rst = devm_reset_control_get_optional(&dev->dev, "softreset"); in st_ehci_platform_probe()
223 if (IS_ERR(priv->rst)) { in st_ehci_platform_probe()
224 err = PTR_ERR(priv->rst); in st_ehci_platform_probe()
227 priv->rst = NULL; in st_ehci_platform_probe()
Dohci-st.c36 struct reset_control *rst; member
58 ret = reset_control_deassert(priv->rst); in st_ohci_platform_power_on()
92 reset_control_assert(priv->rst); in st_ohci_platform_power_on()
108 reset_control_assert(priv->rst); in st_ohci_platform_power_off()
197 priv->rst = devm_reset_control_get_optional(&dev->dev, "softreset"); in st_ohci_platform_probe()
198 if (IS_ERR(priv->rst)) { in st_ohci_platform_probe()
199 err = PTR_ERR(priv->rst); in st_ohci_platform_probe()
Dehci-tegra.c58 struct reset_control *rst; member
109 reset_control_assert(tegra->rst); in tegra_reset_usb_controller()
111 reset_control_deassert(tegra->rst); in tegra_reset_usb_controller()
437 tegra->rst = devm_reset_control_get(&pdev->dev, "usb"); in tegra_ehci_probe()
438 if (IS_ERR(tegra->rst)) { in tegra_ehci_probe()
440 err = PTR_ERR(tegra->rst); in tegra_ehci_probe()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Dusb_ops_linux.h58 u8 rst = true; in rtw_usb_bulk_size_boundary() local
62 rst = (0 == (buf_len) % USB_HIGH_SPEED_BULK_SIZE) ? in rtw_usb_bulk_size_boundary()
65 rst = (0 == (buf_len) % USB_FULL_SPEED_BULK_SIZE) ? in rtw_usb_bulk_size_boundary()
67 return rst; in rtw_usb_bulk_size_boundary()
/linux-4.1.27/arch/mips/txx9/generic/
Dsetup_tx4939.c518 __u64 pcfg, rst = 0, ckd = 0; in tx4939_stop_unused_modules() local
526 rst |= TX4939_CLKCTR_ACLRST; in tx4939_stop_unused_modules()
534 rst |= TX4939_CLKCTR_I2SRST; in tx4939_stop_unused_modules()
539 rst |= TX4939_CLKCTR_ATA0RST; in tx4939_stop_unused_modules()
544 rst |= TX4939_CLKCTR_ATA1RST; in tx4939_stop_unused_modules()
549 rst |= TX4939_CLKCTR_SPIRST; in tx4939_stop_unused_modules()
554 rst |= TX4939_CLKCTR_VPCRST; in tx4939_stop_unused_modules()
559 rst |= TX4939_CLKCTR_SIO2RST; in tx4939_stop_unused_modules()
564 rst |= TX4939_CLKCTR_SIO3RST; in tx4939_stop_unused_modules()
568 if (rst | ckd) { in tx4939_stop_unused_modules()
[all …]
Dsetup_tx4938.c436 __u64 pcfg, rst = 0, ckd = 0; in tx4938_stop_unused_modules() local
445 rst |= TX4938_CLKCTR_ACLRST; in tx4938_stop_unused_modules()
453 rst |= TX4938_CLKCTR_ACLRST; in tx4938_stop_unused_modules()
461 rst |= TX4938_CLKCTR_NDFRST; in tx4938_stop_unused_modules()
466 rst |= TX4938_CLKCTR_SPIRST; in tx4938_stop_unused_modules()
472 if (rst | ckd) { in tx4938_stop_unused_modules()
473 txx9_set64(&tx4938_ccfgptr->clkctr, rst); in tx4938_stop_unused_modules()
Dsetup_tx4927.c313 __u64 pcfg, rst = 0, ckd = 0; in tx4927_stop_unused_modules() local
320 rst |= TX4927_CLKCTR_ACLRST; in tx4927_stop_unused_modules()
324 if (rst | ckd) { in tx4927_stop_unused_modules()
325 txx9_set64(&tx4927_ccfgptr->clkctr, rst); in tx4927_stop_unused_modules()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_platform.c54 reset_control_assert(gpu->rst); in nouveau_platform_power_up()
62 reset_control_deassert(gpu->rst); in nouveau_platform_power_up()
81 reset_control_assert(gpu->rst); in nouveau_platform_power_down()
176 gpu->rst = devm_reset_control_get(&pdev->dev, "gpu"); in nouveau_platform_probe()
177 if (IS_ERR(gpu->rst)) in nouveau_platform_probe()
178 return PTR_ERR(gpu->rst); in nouveau_platform_probe()
Dnouveau_platform.h36 struct reset_control *rst; member
/linux-4.1.27/arch/arm/mach-omap2/
Dprm2xxx_3xxx.c88 u32 rst, st; in omap2_prm_deassert_hardreset() local
91 rst = 1 << rst_shift; in omap2_prm_deassert_hardreset()
95 if (omap2_prm_read_mod_bits_shift(prm_mod, OMAP2_RM_RSTCTRL, rst) == 0) in omap2_prm_deassert_hardreset()
101 omap2_prm_rmw_mod_reg_bits(rst, 0, prm_mod, OMAP2_RM_RSTCTRL); in omap2_prm_deassert_hardreset()
/linux-4.1.27/Documentation/devicetree/bindings/reset/
Dreset.txt41 rst: reset-controller {
62 resets = <&rst 20>;
69 resets = <&rst 10> <&rst 11> <&rst 12> <&rst 11>;
Dsocfpga-reset.txt4 - compatible : "altr,rst-mgr"
11 compatible = "altr,rst-mgr";
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c195 bool rst = true; in rtl92c_init_llt_table() local
199 rst = rtl92c_llt_write(hw, i , i + 1); in rtl92c_init_llt_table()
200 if (true != rst) { in rtl92c_init_llt_table()
202 return rst; in rtl92c_init_llt_table()
206 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); in rtl92c_init_llt_table()
207 if (true != rst) { in rtl92c_init_llt_table()
209 return rst; in rtl92c_init_llt_table()
217 rst = rtl92c_llt_write(hw, i, (i + 1)); in rtl92c_init_llt_table()
218 if (true != rst) { in rtl92c_init_llt_table()
220 return rst; in rtl92c_init_llt_table()
[all …]
/linux-4.1.27/drivers/tty/serial/8250/
D8250_dw.c65 struct reset_control *rst; member
479 data->rst = devm_reset_control_get_optional(&pdev->dev, NULL); in dw8250_probe()
480 if (IS_ERR(data->rst) && PTR_ERR(data->rst) == -EPROBE_DEFER) { in dw8250_probe()
484 if (!IS_ERR(data->rst)) in dw8250_probe()
485 reset_control_deassert(data->rst); in dw8250_probe()
523 if (!IS_ERR(data->rst)) in dw8250_probe()
524 reset_control_assert(data->rst); in dw8250_probe()
545 if (!IS_ERR(data->rst)) in dw8250_remove()
546 reset_control_assert(data->rst); in dw8250_remove()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dgr3d.c28 struct reset_control *rst; member
263 gr3d->rst = devm_reset_control_get(&pdev->dev, "3d"); in gr3d_probe()
264 if (IS_ERR(gr3d->rst)) { in gr3d_probe()
266 return PTR_ERR(gr3d->rst); in gr3d_probe()
285 gr3d->rst); in gr3d_probe()
Ddpaux.c38 struct reset_control *rst; member
297 dpaux->rst = devm_reset_control_get(&pdev->dev, "dpaux"); in tegra_dpaux_probe()
298 if (IS_ERR(dpaux->rst)) in tegra_dpaux_probe()
299 return PTR_ERR(dpaux->rst); in tegra_dpaux_probe()
309 reset_control_deassert(dpaux->rst); in tegra_dpaux_probe()
373 reset_control_assert(dpaux->rst); in tegra_dpaux_remove()
Ddsi.c60 struct reset_control *rst; member
1004 reset_control_deassert(dsi->rst); in tegra_dsi_init()
1053 reset_control_assert(dsi->rst); in tegra_dsi_init()
1066 reset_control_assert(dsi->rst); in tegra_dsi_exit()
1490 dsi->rst = devm_reset_control_get(&pdev->dev, "dsi"); in tegra_dsi_probe()
1491 if (IS_ERR(dsi->rst)) in tegra_dsi_probe()
1492 return PTR_ERR(dsi->rst); in tegra_dsi_probe()
1594 reset_control_assert(dsi->rst); in tegra_dsi_probe()
1618 reset_control_assert(dsi->rst); in tegra_dsi_remove()
Dsor.c33 struct reset_control *rst; member
964 reset_control_deassert(sor->rst); in tegra_sor_encoder_mode_set()
1428 reset_control_assert(sor->rst); in tegra_sor_encoder_disable()
1519 err = reset_control_assert(sor->rst); in tegra_sor_init()
1533 err = reset_control_deassert(sor->rst); in tegra_sor_init()
1611 sor->rst = devm_reset_control_get(&pdev->dev, "sor"); in tegra_sor_probe()
1612 if (IS_ERR(sor->rst)) in tegra_sor_probe()
1613 return PTR_ERR(sor->rst); in tegra_sor_probe()
Dhdmi.c58 struct reset_control *rst; member
1386 reset_control_deassert(hdmi->rst); in tegra_hdmi_init()
1397 reset_control_assert(hdmi->rst); in tegra_hdmi_exit()
1484 hdmi->rst = devm_reset_control_get(&pdev->dev, "hdmi"); in tegra_hdmi_probe()
1485 if (IS_ERR(hdmi->rst)) { in tegra_hdmi_probe()
1487 return PTR_ERR(hdmi->rst); in tegra_hdmi_probe()
Ddc.c1914 dc->rst = devm_reset_control_get(&pdev->dev, "dc"); in tegra_dc_probe()
1915 if (IS_ERR(dc->rst)) { in tegra_dc_probe()
1917 return PTR_ERR(dc->rst); in tegra_dc_probe()
1927 dc->rst); in tegra_dc_probe()
1941 err = reset_control_deassert(dc->rst); in tegra_dc_probe()
2006 reset_control_assert(dc->rst); in tegra_dc_remove()
Ddrm.h118 struct reset_control *rst; member
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h2379 uint64_t rst:1; member
2459 uint64_t rst:1;
2541 uint64_t rst:1; member
2607 uint64_t rst:1;
2612 uint64_t rst:1; member
2678 uint64_t rst:1;
2684 uint64_t rst:1; member
2758 uint64_t rst:1;
2763 uint64_t rst:1; member
2823 uint64_t rst:1;
[all …]
Dcvmx-ciu2-defs.h511 uint64_t rst:1; member
553 uint64_t rst:1;
564 uint64_t rst:1; member
606 uint64_t rst:1;
617 uint64_t rst:1; member
659 uint64_t rst:1;
1498 uint64_t rst:1; member
1540 uint64_t rst:1;
1551 uint64_t rst:1; member
1593 uint64_t rst:1;
[all …]
Dcvmx-ipd.h332 pip_sft_rst.s.rst = 1; in cvmx_ipd_free_ptr()
Dcvmx-pip-defs.h2354 uint64_t rst:1; member
2356 uint64_t rst:1;
/linux-4.1.27/drivers/spi/
Dspi-tegra20-sflash.c120 struct reset_control *rst; member
381 reset_control_assert(tsd->rst); in handle_cpu_based_xfer()
383 reset_control_deassert(tsd->rst); in handle_cpu_based_xfer()
488 tsd->rst = devm_reset_control_get(&pdev->dev, "spi"); in tegra_sflash_probe()
489 if (IS_ERR(tsd->rst)) { in tegra_sflash_probe()
491 ret = PTR_ERR(tsd->rst); in tegra_sflash_probe()
510 reset_control_assert(tsd->rst); in tegra_sflash_probe()
512 reset_control_deassert(tsd->rst); in tegra_sflash_probe()
Dspi-tegra114.c170 struct reset_control *rst; member
892 reset_control_assert(tspi->rst); in handle_cpu_based_xfer()
894 reset_control_deassert(tspi->rst); in handle_cpu_based_xfer()
964 reset_control_assert(tspi->rst); in handle_dma_based_xfer()
966 reset_control_deassert(tspi->rst); in handle_dma_based_xfer()
1086 tspi->rst = devm_reset_control_get(&pdev->dev, "spi"); in tegra_spi_probe()
1087 if (IS_ERR(tspi->rst)) { in tegra_spi_probe()
1089 ret = PTR_ERR(tspi->rst); in tegra_spi_probe()
Dspi-tegra20-slink.c169 struct reset_control *rst; member
863 reset_control_assert(tspi->rst); in handle_cpu_based_xfer()
865 reset_control_deassert(tspi->rst); in handle_cpu_based_xfer()
936 reset_control_assert(tspi->rst); in handle_dma_based_xfer()
938 reset_control_assert(tspi->rst); in handle_dma_based_xfer()
1084 tspi->rst = devm_reset_control_get(&pdev->dev, "spi"); in tegra_slink_probe()
1085 if (IS_ERR(tspi->rst)) { in tegra_slink_probe()
1087 ret = PTR_ERR(tspi->rst); in tegra_slink_probe()
/linux-4.1.27/include/soc/tegra/
Dpmc.h115 struct reset_control *rst);
141 struct reset_control *rst) in tegra_powergate_sequence_power_up() argument
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dphy-miphy28lp.txt31 - reset-names : Associated name must be "miphy-sw-rst".
66 reset-names = "miphy-sw-rst";
82 reset-names = "miphy-sw-rst";
95 reset-names = "miphy-sw-rst";
/linux-4.1.27/drivers/watchdog/
Dcadence_wdt.c81 bool rst; member
211 if (wdt->rst) { in cdns_wdt_start()
340 wdt->rst = of_property_read_bool(pdev->dev.of_node, "reset-on-timeout"); in cdns_wdt_probe()
342 if (!wdt->rst && irq >= 0) { in cdns_wdt_probe()
/linux-4.1.27/net/ipv4/
Dtcp_minisocks.c115 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
130 if (th->rst) in tcp_timewait_state_process()
191 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
194 if (th->rst) { in tcp_timewait_state_process()
234 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
248 if (!th->rst) { in tcp_timewait_state_process()
581 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()
Dsyncookies.c307 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v4_check()
Dinet_lro.c69 tcph->rst || tcph->syn || tcph->fin) in lro_tcp_ip_check()
Dtcp_input.c5091 if (!th->rst) { in tcp_validate_incoming()
5110 if (!th->rst) { in tcp_validate_incoming()
5122 if (th->rst) { in tcp_validate_incoming()
5340 if (!th->ack && !th->rst && !th->syn) in tcp_rcv_established()
5509 if (th->rst) { in tcp_rcv_synsent_state_process()
5609 if (th->rst) { in tcp_rcv_synsent_state_process()
5717 if (th->rst) in tcp_rcv_state_process()
5769 if (!th->ack && !th->rst && !th->syn) in tcp_rcv_state_process()
Dtcp_ipv4.c599 if (th->rst) in tcp_v4_send_reset()
613 rep.th.rst = 1; in tcp_v4_send_reset()
/linux-4.1.27/arch/mips/lasat/
Dds1603.c43 rtc_reg_write(rtc_reg_read() | ds1603->rst); in rtc_nrst_high()
48 rtc_reg_write(rtc_reg_read() & ~ds1603->rst); in rtc_nrst_low()
Dds1603.h13 u32 rst; member
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Dmedia.c201 unsigned char *rst = rleaf->leafdata; in tulip_select_media() local
204 for (i = 0; i < rst[0]; i++) in tulip_select_media()
205 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media()
331 unsigned char *rst = rleaf->leafdata; in tulip_select_media() local
334 for (i = 0; i < rst[0]; i++) in tulip_select_media()
335 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media()
Dde4x5.c512 u_char *rst; /* Start of reset sequence in SROM */ member
853 u_char *rst; /* Pointer to Type 5 reset info */ member
3294 if (lp->phy[lp->active].rst) { in de4x5_reset_phy()
3295 srom_exec(dev, lp->phy[lp->active].rst); in de4x5_reset_phy()
3296 srom_exec(dev, lp->phy[lp->active].rst); in de4x5_reset_phy()
3297 } else if (lp->rst) { /* Type 5 infoblock reset */ in de4x5_reset_phy()
3298 srom_exec(dev, lp->rst); in de4x5_reset_phy()
3299 srom_exec(dev, lp->rst); in de4x5_reset_phy()
3835 srom_exec(dev, lp->phy[lp->active].rst); in reset_init_sia()
4625 lp->phy[lp->active].rst = (*p ? p : NULL); p += (*p + 1); in type1_infoblock()
[all …]
/linux-4.1.27/include/uapi/linux/
Dtcp.h34 rst:1, member
48 rst:1, member
/linux-4.1.27/sound/soc/tegra/
Dtegra30_ahub.c522 struct reset_control *rst; in tegra30_ahub_probe() local
546 rst = reset_control_get(&pdev->dev, in tegra30_ahub_probe()
548 if (IS_ERR(rst)) { in tegra30_ahub_probe()
551 ret = PTR_ERR(rst); in tegra30_ahub_probe()
555 ret = reset_control_deassert(rst); in tegra30_ahub_probe()
556 reset_control_put(rst); in tegra30_ahub_probe()
/linux-4.1.27/drivers/block/
Dmg_disk.c129 unsigned int rst; member
410 gpio_set_value(host->rst, 0); in mg_disk_init()
416 gpio_set_value(host->rst, 1); in mg_disk_init()
886 host->rst = rsc->start; in mg_probe()
889 err = gpio_request(host->rst, MG_RST_PIN); in mg_probe()
892 gpio_direction_output(host->rst, 1); in mg_probe()
1028 gpio_free(host->rst); in mg_probe()
1067 if (host->rst) in mg_remove()
1068 gpio_free(host->rst); in mg_remove()
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-tegra-xusb.c94 struct reset_control *rst; member
896 padctl->rst = devm_reset_control_get(&pdev->dev, NULL); in tegra_xusb_padctl_probe()
897 if (IS_ERR(padctl->rst)) in tegra_xusb_padctl_probe()
898 return PTR_ERR(padctl->rst); in tegra_xusb_padctl_probe()
900 err = reset_control_deassert(padctl->rst); in tegra_xusb_padctl_probe()
949 reset_control_assert(padctl->rst); in tegra_xusb_padctl_probe()
960 err = reset_control_assert(padctl->rst); in tegra_xusb_padctl_remove()
/linux-4.1.27/drivers/input/keyboard/
Dtegra-kbc.c119 struct reset_control *rst; member
377 reset_control_assert(kbc->rst); in tegra_kbc_start()
379 reset_control_assert(kbc->rst); in tegra_kbc_start()
667 kbc->rst = devm_reset_control_get(&pdev->dev, "kbc"); in tegra_kbc_probe()
668 if (IS_ERR(kbc->rst)) { in tegra_kbc_probe()
670 return PTR_ERR(kbc->rst); in tegra_kbc_probe()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Dhal_intf.c177 u32 rst = _FAIL; in rtw_hal_inirp_init() local
180 rst = adapt->HalFunc.inirp_init(adapt); in rtw_hal_inirp_init()
183 return rst; in rtw_hal_inirp_init()
Drtl8188e_hal_init.c77 s32 rst = _SUCCESS; in iol_InitLLTTable() local
80 rst = iol_execute(padapter, CMD_INIT_LLT); in iol_InitLLTTable()
82 return rst; in iol_InitLLTTable()
/linux-4.1.27/drivers/i2c/busses/
Di2c-tegra.c163 struct reset_control *rst; member
420 reset_control_assert(i2c_dev->rst); in tegra_i2c_init()
422 reset_control_deassert(i2c_dev->rst); in tegra_i2c_init()
746 i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c"); in tegra_i2c_probe()
747 if (IS_ERR(i2c_dev->rst)) { in tegra_i2c_probe()
749 return PTR_ERR(i2c_dev->rst); in tegra_i2c_probe()
/linux-4.1.27/net/ipv4/netfilter/
Dnf_reject_ipv4.c34 if (oth->rst) in nf_reject_ip_tcphdr_get()
92 tcph->rst = 1; in nf_reject_ip_tcphdr_put()
Dipt_SYNPROXY.c274 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
292 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
333 if (th->rst && !test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) { in ipv4_synproxy_hook()
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt22 mpp6 6 gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo)
80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
89 mpp60 60 gpio, dev(ale1), uart1(rxd), sata0(prsnt), pcie(rst-out),
Dlantiq,falcon-pinumx.txt44 rst, ntr, mdio, led, asc, spi, i2c, jtag, slic, pcm
80 lantiq,function = "rst";
Dmarvell,kirkwood-pinctrl.txt143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
192 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
207 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk)
261 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst), lcd(d9)
277 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk), lcd(clk)
Dmarvell,armada-xp-pinctrl.txt45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
/linux-4.1.27/drivers/net/irda/
Dmcs7780.c575 int rst = 0; in mcs_speed_change() local
598 if ((rst = (mcs->speed > 115200))) in mcs_speed_change()
604 if ((rst = !(mcs->speed == 576000 || mcs->speed == 1152000))) in mcs_speed_change()
610 if ((rst = (mcs->speed != 4000000))) in mcs_speed_change()
622 if (rst) in mcs_speed_change()
/linux-4.1.27/drivers/staging/nvec/
Dnvec.c731 reset_control_assert(nvec->rst); in tegra_init_i2c_slave()
733 reset_control_deassert(nvec->rst); in tegra_init_i2c_slave()
833 nvec->rst = devm_reset_control_get(&pdev->dev, "i2c"); in tegra_nvec_probe()
834 if (IS_ERR(nvec->rst)) { in tegra_nvec_probe()
836 return PTR_ERR(nvec->rst); in tegra_nvec_probe()
Dnvec.h144 struct reset_control *rst; member
/linux-4.1.27/arch/arm/boot/dts/
Dstih407-family.dtsi305 reset-names = "miphy-sw-rst";
321 reset-names = "miphy-sw-rst";
335 reset-names = "miphy-sw-rst";
Dsocfpga.dtsi19 #include <dt-bindings/reset/altr,rst-mgr.h>
487 resets = <&rst EMAC0_RESET>;
503 resets = <&rst EMAC1_RESET>;
733 rst: rstmgr@ffd05000 { label
735 compatible = "altr,rst-mgr";
Dsocfpga_arria10.dtsi278 rst: rstmgr@ffd05000 { label
280 compatible = "altr,rst-mgr";
Drk3066a-rayeager.dts359 rmii_rst: rmii-rst {
393 hub_rst: hub-rst {
Drk3288-firefly.dtsi374 phy_rst: phy-rst {
412 usbhub_rst: usbhub-rst {
Domap4-var-som-om44.dtsi89 OMAP4_IOPAD(0x092, PIN_OUTPUT | MUX_MODE3) /* gpmc_ncs5.gpio_102 (rst) */
Drk3188.dtsi187 emmc_rst: emmc-rst {
Dstih416.dtsi313 reset-names = "pwr-dwn", "sw-rst";
Drk3066a.dtsi264 emmc_rst: emmc-rst {
Dexynos5250-snow.dts590 wifi_rst: wifi-rst {
Ds3c64xx-pinctrl.dtsi416 cam_rst: cam-rst {
/linux-4.1.27/net/ipv6/netfilter/
Dnf_reject_ipv6.c52 if (otcph->rst) { in nf_reject_ip6_tcphdr_get()
118 tcph->rst = 1; in nf_reject_ip6_tcphdr_put()
Dip6t_SYNPROXY.c289 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
307 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
355 if (th->rst && !test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) { in ipv6_synproxy_hook()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dsi_smc.c163 u32 rst = RREG32_SMC(SMC_SYSCON_RESET_CNTL); in si_is_smc_running() local
166 if (!(rst & RST_REG) && !(clk & CK_DISABLE)) in si_is_smc_running()
/linux-4.1.27/net/core/
Dtso.c34 tcph->rst = 0; in tso_build_hdr()
/linux-4.1.27/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c854 unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, dbnc; in mtk_gpio_set_debounce() local
894 rst = EINT_DBNC_RST_BIT << eint_offset; in mtk_gpio_set_debounce()
895 writel(rst | bit, pctl->eint_reg_base + set_offset); in mtk_gpio_set_debounce()
1005 unsigned int rst, ctrl_offset; in mtk_eint_debounce_process() local
1015 rst = EINT_DBNC_RST_BIT << ((index % 4) * 8); in mtk_eint_debounce_process()
1016 writel(rst, pctl->eint_reg_base + ctrl_offset); in mtk_eint_debounce_process()
/linux-4.1.27/drivers/tty/serial/
Dserial-tegra.c105 struct reset_control *rst; member
838 reset_control_assert(tup->rst); in tegra_uart_hw_init()
840 reset_control_deassert(tup->rst); in tegra_uart_hw_init()
1317 tup->rst = devm_reset_control_get(&pdev->dev, "serial"); in tegra_uart_probe()
1318 if (IS_ERR(tup->rst)) { in tegra_uart_probe()
1320 return PTR_ERR(tup->rst); in tegra_uart_probe()
/linux-4.1.27/drivers/platform/x86/
DMakefile56 obj-$(CONFIG_INTEL_RST) += intel-rst.o
/linux-4.1.27/drivers/soc/tegra/
Dpmc.c284 struct reset_control *rst) in tegra_powergate_sequence_power_up() argument
288 reset_control_assert(rst); in tegra_powergate_sequence_power_up()
305 reset_control_deassert(rst); in tegra_powergate_sequence_power_up()
/linux-4.1.27/arch/cris/arch-v32/mach-a3/
Ddram_init.S44 move.d REG_STATE(ddr2, rw_phy_ctrl, rst, yes) | \
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
Data_defs.h94 unsigned int rst : 1; member
/linux-4.1.27/drivers/dma/
Dtegra20-apb-dma.c220 struct reset_control *rst; member
1339 tdma->rst = devm_reset_control_get(&pdev->dev, "dma"); in tegra_dma_probe()
1340 if (IS_ERR(tdma->rst)) { in tegra_dma_probe()
1342 return PTR_ERR(tdma->rst); in tegra_dma_probe()
1365 reset_control_assert(tdma->rst); in tegra_dma_probe()
1367 reset_control_deassert(tdma->rst); in tegra_dma_probe()
/linux-4.1.27/net/netfilter/
Dnf_log_common.c101 if (th->rst) in nf_log_dump_tcp_header()
Dxt_TPROXY.c265 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait4()
428 if (hp->syn && !hp->rst && !hp->ack && !hp->fin) { in tproxy_handle_time_wait6()
Dnf_conntrack_proto_tcp.c327 if (tcph->rst) return TCP_RST_SET; in get_conntrack_index()
622 if (tcph->rst && seq == 0 && state->state == TCP_CONNTRACK_SYN_SENT) in tcp_in_window()
1050 (th->fin ? 1 : 0), (th->rst ? 1 : 0), in tcp_packet()
1077 if (th->rst) { in tcp_packet()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_timer_grp_defs.h143 unsigned int rst : 4; member
/linux-4.1.27/arch/m68k/include/asm/
Dm68360_quicc.h248 volatile unsigned short rst:1; member
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_proto_tcp.c53 if ((th->syn || sysctl_sloppy_tcp(ipvs)) && !th->rst && in tcp_conn_schedule()
462 if (th->rst) in tcp_state_idx()
512 th->rst ? 'R' : '.', in set_tcp_state()
Dip_vs_core.c1038 return th->rst; in is_tcp_reset()
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
Dddr2_defs.h136 unsigned int rst : 1; member
/linux-4.1.27/net/ipv6/
Dtcp_ipv6.c735 int oif, struct tcp_md5sig_key *key, int rst, in tcp_v6_send_response() argument
772 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
773 t1->rst = rst; in tcp_v6_send_response()
824 if (rst) in tcp_v6_send_response()
846 if (th->rst) in tcp_v6_send_reset()
Dsyncookies.c171 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v6_check()
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dfeature.c1067 const u32 *rst = of_get_property(np, "soft-reset", NULL); in core99_reset_cpu() local
1068 if (num == NULL || rst == NULL) in core99_reset_cpu()
1071 reset_io = *rst; in core99_reset_cpu()
1518 const u32 *rst = of_get_property(np, "soft-reset", NULL); in g5_reset_cpu() local
1519 if (num == NULL || rst == NULL) in g5_reset_cpu()
1522 reset_io = *rst; in g5_reset_cpu()
/linux-4.1.27/drivers/net/slip/
Dslhc.c270 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
/linux-4.1.27/include/net/
Dtcp.h1200 int rst) in tcp_paws_reject() argument
1217 if (rst && get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_MSL) in tcp_paws_reject()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_nx.c2420 int rst; in qla82xx_load_fw() local
2432 rst = qla82xx_rd_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET); in qla82xx_load_fw()
2433 rst &= ~((1 << 28) | (1 << 24)); in qla82xx_load_fw()
2434 qla82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, rst); in qla82xx_load_fw()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_nx.c1334 u32 rst; in qla4_82xx_load_fw() local
1350 rst = qla4_82xx_rd_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET); in qla4_82xx_load_fw()
1352 rst &= ~(1 << 28); in qla4_82xx_load_fw()
1353 qla4_82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, rst); in qla4_82xx_load_fw()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_cm.c513 tcph->rst = 1; in form_cm_frame()
2355 tcph->ack, tcph->rst, tcph->fin); in process_packet()
2357 if (tcph->rst) { in process_packet()
2793 if (!tcph->rst && !tcph->fin) { in mini_cm_recv_pkt()
Dnes_mgt.c183 *rst_rcvd = tcph->rst; in nes_get_seq()
Dnes_nic.c611 tcph->rst = 0; in nes_netdev_start_xmit()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1987 !th->rst && in i40e_atr()
2012 dtype_cmd |= (th->fin || th->rst) ? in i40e_atr()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dtx.c1036 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start()
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c8406 if (tcp->urg || tcp->psh || tcp->rst || in verify_l3_l4_lro_capable()