Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/usb/host/
Dohci-platform.c40 struct reset_control *rst; member
201 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL); in ohci_platform_probe()
202 if (IS_ERR(priv->rst)) { in ohci_platform_probe()
203 err = PTR_ERR(priv->rst); in ohci_platform_probe()
206 priv->rst = NULL; in ohci_platform_probe()
208 err = reset_control_deassert(priv->rst); in ohci_platform_probe()
268 if (priv->rst) in ohci_platform_probe()
269 reset_control_assert(priv->rst); in ohci_platform_probe()
294 if (priv->rst) in ohci_platform_remove()
295 reset_control_assert(priv->rst); in ohci_platform_remove()
Dehci-platform.c46 struct reset_control *rst; member
237 priv->rst = devm_reset_control_get_optional(&dev->dev, NULL); in ehci_platform_probe()
238 if (IS_ERR(priv->rst)) { in ehci_platform_probe()
239 err = PTR_ERR(priv->rst); in ehci_platform_probe()
242 priv->rst = NULL; in ehci_platform_probe()
244 err = reset_control_deassert(priv->rst); in ehci_platform_probe()
303 if (priv->rst) in ehci_platform_probe()
304 reset_control_assert(priv->rst); in ehci_platform_probe()
329 if (priv->rst) in ehci_platform_remove()
330 reset_control_assert(priv->rst); in ehci_platform_remove()
Dehci-st.c37 struct reset_control *rst; member
77 ret = reset_control_deassert(priv->rst); in st_ehci_platform_power_on()
111 reset_control_assert(priv->rst); in st_ehci_platform_power_on()
126 reset_control_assert(priv->rst); in st_ehci_platform_power_off()
217 priv->rst = devm_reset_control_get_optional(&dev->dev, "softreset"); in st_ehci_platform_probe()
218 if (IS_ERR(priv->rst)) { in st_ehci_platform_probe()
219 err = PTR_ERR(priv->rst); in st_ehci_platform_probe()
222 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()
443 tegra->rst = devm_reset_control_get(&pdev->dev, "usb"); in tegra_ehci_probe()
444 if (IS_ERR(tegra->rst)) { in tegra_ehci_probe()
446 err = PTR_ERR(tegra->rst); in tegra_ehci_probe()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c183 bool rst = true; in rtl92c_init_llt_table() local
187 rst = rtl92c_llt_write(hw, i , i + 1); in rtl92c_init_llt_table()
188 if (true != rst) { in rtl92c_init_llt_table()
190 return rst; in rtl92c_init_llt_table()
194 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); in rtl92c_init_llt_table()
195 if (true != rst) { in rtl92c_init_llt_table()
197 return rst; in rtl92c_init_llt_table()
205 rst = rtl92c_llt_write(hw, i, (i + 1)); in rtl92c_init_llt_table()
206 if (true != rst) { in rtl92c_init_llt_table()
208 return rst; in rtl92c_init_llt_table()
[all …]
/linux-4.4.14/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.4.14/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"
12 compatible = "altr,rst-mgr";
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dtegra.c44 reset_control_assert(tdev->rst); in nvkm_device_tegra_power_up()
52 reset_control_deassert(tdev->rst); in nvkm_device_tegra_power_up()
70 reset_control_assert(tdev->rst); in nvkm_device_tegra_power_down()
266 tdev->rst = devm_reset_control_get(&pdev->dev, "gpu"); in nvkm_device_tegra_new()
267 if (IS_ERR(tdev->rst)) { in nvkm_device_tegra_new()
268 ret = PTR_ERR(tdev->rst); in nvkm_device_tegra_new()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dw.c64 struct reset_control *rst; member
455 data->rst = devm_reset_control_get_optional(&pdev->dev, NULL); in dw8250_probe()
456 if (IS_ERR(data->rst) && PTR_ERR(data->rst) == -EPROBE_DEFER) { in dw8250_probe()
460 if (!IS_ERR(data->rst)) in dw8250_probe()
461 reset_control_deassert(data->rst); in dw8250_probe()
495 if (!IS_ERR(data->rst)) in dw8250_probe()
496 reset_control_assert(data->rst); in dw8250_probe()
517 if (!IS_ERR(data->rst)) in dw8250_remove()
518 reset_control_assert(data->rst); in dw8250_remove()
/linux-4.4.14/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()
300 PTR_ERR(dpaux->rst)); in tegra_dpaux_probe()
301 return PTR_ERR(dpaux->rst); in tegra_dpaux_probe()
318 reset_control_deassert(dpaux->rst); in tegra_dpaux_probe()
417 reset_control_assert(dpaux->rst); in tegra_dpaux_remove()
Ddsi.c60 struct reset_control *rst; member
1005 reset_control_deassert(dsi->rst); in tegra_dsi_init()
1054 reset_control_assert(dsi->rst); in tegra_dsi_init()
1067 reset_control_assert(dsi->rst); in tegra_dsi_exit()
1491 dsi->rst = devm_reset_control_get(&pdev->dev, "dsi"); in tegra_dsi_probe()
1492 if (IS_ERR(dsi->rst)) in tegra_dsi_probe()
1493 return PTR_ERR(dsi->rst); in tegra_dsi_probe()
1595 reset_control_assert(dsi->rst); in tegra_dsi_probe()
1619 reset_control_assert(dsi->rst); in tegra_dsi_remove()
Dhdmi.c58 struct reset_control *rst; member
1370 reset_control_deassert(hdmi->rst); in tegra_hdmi_init()
1381 reset_control_assert(hdmi->rst); in tegra_hdmi_exit()
1468 hdmi->rst = devm_reset_control_get(&pdev->dev, "hdmi"); in tegra_hdmi_probe()
1469 if (IS_ERR(hdmi->rst)) { in tegra_hdmi_probe()
1471 return PTR_ERR(hdmi->rst); in tegra_hdmi_probe()
Dsor.c170 struct reset_control *rst; member
1144 reset_control_assert(sor->rst); in tegra_sor_edp_disable()
1207 reset_control_deassert(sor->rst); in tegra_sor_edp_enable()
1770 reset_control_assert(sor->rst); in tegra_sor_hdmi_disable()
1797 reset_control_deassert(sor->rst); in tegra_sor_hdmi_enable()
2214 err = reset_control_assert(sor->rst); in tegra_sor_init()
2228 err = reset_control_deassert(sor->rst); in tegra_sor_init()
2453 sor->rst = devm_reset_control_get(&pdev->dev, "sor"); in tegra_sor_probe()
2454 if (IS_ERR(sor->rst)) { in tegra_sor_probe()
2455 err = PTR_ERR(sor->rst); in tegra_sor_probe()
Ddc.c1997 dc->rst = devm_reset_control_get(&pdev->dev, "dc"); in tegra_dc_probe()
1998 if (IS_ERR(dc->rst)) { in tegra_dc_probe()
2000 return PTR_ERR(dc->rst); in tegra_dc_probe()
2010 dc->rst); in tegra_dc_probe()
2024 err = reset_control_deassert(dc->rst); in tegra_dc_probe()
2083 reset_control_assert(dc->rst); in tegra_dc_remove()
Ddrm.h126 struct reset_control *rst; member
/linux-4.4.14/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.4.14/drivers/usb/musb/
Dsunxi.c85 struct reset_control *rst; member
248 ret = reset_control_deassert(glue->rst); in sunxi_musb_init()
291 reset_control_assert(glue->rst); in sunxi_musb_init()
317 reset_control_assert(glue->rst); in sunxi_musb_exit()
680 glue->rst = devm_reset_control_get(&pdev->dev, NULL); in sunxi_musb_probe()
681 if (IS_ERR(glue->rst)) { in sunxi_musb_probe()
682 if (PTR_ERR(glue->rst) == -EPROBE_DEFER) in sunxi_musb_probe()
685 PTR_ERR(glue->rst)); in sunxi_musb_probe()
686 return PTR_ERR(glue->rst); in sunxi_musb_probe()
/linux-4.4.14/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.4.14/include/soc/tegra/
Dpmc.h118 struct reset_control *rst);
144 struct reset_control *rst) in tegra_powergate_sequence_power_up() argument
/linux-4.4.14/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.4.14/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.4.14/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()
190 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
193 if (th->rst) { in tcp_timewait_state_process()
232 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
246 if (!th->rst) { in tcp_timewait_state_process()
593 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()
Dsyncookies.c310 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.c5139 if (!th->rst) { in tcp_validate_incoming()
5158 if (!th->rst) { in tcp_validate_incoming()
5170 if (th->rst) { in tcp_validate_incoming()
5388 if (!th->ack && !th->rst && !th->syn) in tcp_rcv_established()
5557 if (th->rst) { in tcp_rcv_synsent_state_process()
5657 if (th->rst) { in tcp_rcv_synsent_state_process()
5764 if (th->rst) in tcp_rcv_state_process()
5816 if (!th->ack && !th->rst && !th->syn) in tcp_rcv_state_process()
Dtcp_ipv4.c602 if (th->rst) in tcp_v4_send_reset()
616 rep.th.rst = 1; in tcp_v4_send_reset()
/linux-4.4.14/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.4.14/sound/soc/codecs/
Dsti-sas.c80 struct reset_control *rst; member
227 dac->rst = devm_reset_control_get(codec->dev, "dac_rst"); in stih416_dac_probe()
228 if (IS_ERR(dac->rst)) { in stih416_dac_probe()
232 dac->rst = NULL; in stih416_dac_probe()
236 reset_control_assert(dac->rst); in stih416_dac_probe()
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/media/
Dstih407-c8sectpfe.txt38 - rst-gpio : reset gpio for this tsin channel.
78 rst-gpio = <&pio15 4 0>;
86 rst-gpio = <&pio15 7 0>;
/linux-4.4.14/include/uapi/linux/
Dtcp.h34 rst:1, member
48 rst:1, member
/linux-4.4.14/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.4.14/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.4.14/drivers/pinctrl/
Dpinctrl-tegra-xusb.c89 struct reset_control *rst; member
898 padctl->rst = devm_reset_control_get(&pdev->dev, NULL); in tegra_xusb_padctl_probe()
899 if (IS_ERR(padctl->rst)) in tegra_xusb_padctl_probe()
900 return PTR_ERR(padctl->rst); in tegra_xusb_padctl_probe()
902 err = reset_control_deassert(padctl->rst); in tegra_xusb_padctl_probe()
953 reset_control_assert(padctl->rst); in tegra_xusb_padctl_probe()
964 err = reset_control_assert(padctl->rst); in tegra_xusb_padctl_remove()
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Dhal_intf.c153 u32 rst = _FAIL; in rtw_hal_inirp_init() local
156 rst = adapt->HalFunc.inirp_init(adapt); in rtw_hal_inirp_init()
159 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.4.14/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()
668 kbc->rst = devm_reset_control_get(&pdev->dev, "kbc"); in tegra_kbc_probe()
669 if (IS_ERR(kbc->rst)) { in tegra_kbc_probe()
671 return PTR_ERR(kbc->rst); in tegra_kbc_probe()
/linux-4.4.14/arch/arm/boot/dts/
Dstih407-family.dtsi357 reset-names = "miphy-sw-rst";
373 reset-names = "miphy-sw-rst";
387 reset-names = "miphy-sw-rst";
553 reset-names = "pwr-dwn", "sw-rst", "pwr-rst";
575 "sw-rst",
576 "pwr-rst";
Dsocfpga_arria10.dtsi19 #include <dt-bindings/reset/altr,rst-mgr-a10.h>
418 resets = <&rst EMAC0_RESET>;
437 resets = <&rst EMAC1_RESET>;
602 rst: rstmgr@ffd05000 { label
604 compatible = "altr,rst-mgr";
Dsocfpga.dtsi19 #include <dt-bindings/reset/altr,rst-mgr.h>
532 resets = <&rst EMAC0_RESET>;
550 resets = <&rst EMAC1_RESET>;
687 rst: rstmgr@ffd05000 { label
689 compatible = "altr,rst-mgr";
Drk3066a-rayeager.dts362 rmii_rst: rmii-rst {
396 hub_rst: hub-rst {
Drk3288-firefly.dtsi432 phy_rst: phy-rst {
470 usbhub_rst: usbhub-rst {
Drk3288-veyron-minnie.dts230 touch_rst: touch-rst {
Domap4-var-som-om44.dtsi89 OMAP4_IOPAD(0x092, PIN_OUTPUT | MUX_MODE3) /* gpmc_ncs5.gpio_102 (rst) */
Drk3288-rock2-som.dtsi247 phy_rst: phy-rst {
Dstih416.dtsi335 reset-names = "pwr-dwn", "sw-rst";
Drk3188.dtsi251 emmc_rst: emmc-rst {
Dexynos5250-snow-common.dtsi577 wifi_rst: wifi-rst {
Ds3c64xx-pinctrl.dtsi416 cam_rst: cam-rst {
Drk3066a.dtsi314 emmc_rst: emmc-rst {
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dtegra.h12 struct reset_control *rst; member
/linux-4.4.14/drivers/i2c/busses/
Di2c-tegra.c173 struct reset_control *rst; member
432 reset_control_assert(i2c_dev->rst); in tegra_i2c_init()
434 reset_control_deassert(i2c_dev->rst); in tegra_i2c_init()
794 i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c"); in tegra_i2c_probe()
795 if (IS_ERR(i2c_dev->rst)) { in tegra_i2c_probe()
797 return PTR_ERR(i2c_dev->rst); in tegra_i2c_probe()
/linux-4.4.14/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.c279 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
297 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
338 if (th->rst && !test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) { in ipv4_synproxy_hook()
/linux-4.4.14/drivers/staging/nvec/
Dnvec.c730 reset_control_assert(nvec->rst); in tegra_init_i2c_slave()
732 reset_control_deassert(nvec->rst); in tegra_init_i2c_slave()
832 nvec->rst = devm_reset_control_get(&pdev->dev, "i2c"); in tegra_nvec_probe()
833 if (IS_ERR(nvec->rst)) { in tegra_nvec_probe()
835 return PTR_ERR(nvec->rst); in tegra_nvec_probe()
Dnvec.h144 struct reset_control *rst; member
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/pinctrl/
Dlantiq,pinctrl-falcon.txt44 rst, ntr, mdio, led, asc, spi, i2c, jtag, slic, pcm
80 lantiq,function = "rst";
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),
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-375-pinctrl.txt35 mpp19 19 gpio, tdm(rst)
Dmarvell,armada-xp-pinctrl.txt45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
Dmarvell,armada-39x-pinctrl.txt75 mpp53 53 gpio, sata1(prsnt) [1], sata0(prsnt) [1], tdm(rst) [2], audio(bclk) [2], sd0(d7), i2c3(sda)
Dmarvell,armada-38x-pinctrl.txt71 mpp53 53 gpio, sata1(prsnt), sata0(prsnt), tdm(rst), audio(bclk), sd0(d7), ptp(evreq)
/linux-4.4.14/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.4.14/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.c292 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
310 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
358 if (th->rst && !test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) { in ipv6_synproxy_hook()
/linux-4.4.14/drivers/net/ethernet/ezchip/
Dnps_enet.h267 rst:1; member
Dnps_enet.c270 phase_fifo_ctl.rst = NPS_ENET_ENABLE; in nps_enet_hw_reset()
/linux-4.4.14/drivers/tty/serial/
Dserial-tegra.c105 struct reset_control *rst; member
836 reset_control_assert(tup->rst); in tegra_uart_hw_init()
838 reset_control_deassert(tup->rst); in tegra_uart_hw_init()
1315 tup->rst = devm_reset_control_get(&pdev->dev, "serial"); in tegra_uart_probe()
1316 if (IS_ERR(tup->rst)) { in tegra_uart_probe()
1318 return PTR_ERR(tup->rst); in tegra_uart_probe()
/linux-4.4.14/net/core/
Dtso.c41 tcph->rst = 0; in tso_build_hdr()
/linux-4.4.14/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c941 unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, dbnc; in mtk_gpio_set_debounce() local
981 rst = EINT_DBNC_RST_BIT << eint_offset; in mtk_gpio_set_debounce()
982 writel(rst | bit, pctl->eint_reg_base + set_offset); in mtk_gpio_set_debounce()
1166 unsigned int rst, ctrl_offset; in mtk_eint_debounce_process() local
1176 rst = EINT_DBNC_RST_BIT << ((index % 4) * 8); in mtk_eint_debounce_process()
1177 writel(rst, pctl->eint_reg_base + ctrl_offset); in mtk_eint_debounce_process()
/linux-4.4.14/arch/mips/boot/dts/qca/
Dar9132.dtsi119 rst: reset-controller@1806001c { label
/linux-4.4.14/drivers/platform/x86/
DMakefile58 obj-$(CONFIG_INTEL_RST) += intel-rst.o
/linux-4.4.14/drivers/soc/tegra/
Dpmc.c286 struct reset_control *rst) in tegra_powergate_sequence_power_up() argument
290 reset_control_assert(rst); in tegra_powergate_sequence_power_up()
307 reset_control_deassert(rst); in tegra_powergate_sequence_power_up()
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
Ddram_init.S44 move.d REG_STATE(ddr2, rw_phy_ctrl, rst, yes) | \
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
Data_defs.h94 unsigned int rst : 1; member
/linux-4.4.14/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi222 rst: rstmgr@ffd11000 { label
224 compatible = "altr,rst-mgr";
/linux-4.4.14/drivers/dma/
Dtegra20-apb-dma.c217 struct reset_control *rst; member
1350 tdma->rst = devm_reset_control_get(&pdev->dev, "dma"); in tegra_dma_probe()
1351 if (IS_ERR(tdma->rst)) { in tegra_dma_probe()
1353 return PTR_ERR(tdma->rst); in tegra_dma_probe()
1376 reset_control_assert(tdma->rst); in tegra_dma_probe()
1378 reset_control_deassert(tdma->rst); in tegra_dma_probe()
/linux-4.4.14/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()
427 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.4.14/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_timer_grp_defs.h143 unsigned int rst : 4; member
/linux-4.4.14/arch/m68k/include/asm/
Dm68360_quicc.h248 volatile unsigned short rst:1; member
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_proto_tcp.c51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) in tcp_conn_schedule()
482 if (th->rst) in tcp_state_idx()
532 th->rst ? 'R' : '.', in set_tcp_state()
Dip_vs_core.c1053 return th->rst; in is_tcp_reset()
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
Dddr2_defs.h136 unsigned int rst : 1; member
/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c738 int oif, struct tcp_md5sig_key *key, int rst, in tcp_v6_send_response() argument
775 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
776 t1->rst = rst; in tcp_v6_send_response()
827 if (rst) in tcp_v6_send_response()
849 if (th->rst) in tcp_v6_send_reset()
Dsyncookies.c151 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v6_check()
/linux-4.4.14/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.4.14/arch/arm64/boot/dts/rockchip/
Drk3368-r88.dts322 bt_rst: bt-rst {
/linux-4.4.14/drivers/net/slip/
Dslhc.c270 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
/linux-4.4.14/include/net/
Dtcp.h1276 int rst) in tcp_paws_reject() argument
1293 if (rst && get_seconds() >= rx_opt->ts_recent_stamp + TCP_PAWS_MSL) in tcp_paws_reject()
/linux-4.4.14/arch/arm64/boot/dts/exynos/
Dexynos7-pinctrl.dtsi685 ufs_rst_n: ufs-rst-n {
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2034 if (th->fin || th->rst) in i40e_atr()
2043 !th->rst && in i40e_atr()
2068 dtype_cmd |= (th->fin || th->rst) ? in i40e_atr()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_nx.c2421 int rst; in qla82xx_load_fw() local
2433 rst = qla82xx_rd_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET); in qla82xx_load_fw()
2434 rst &= ~((1 << 28) | (1 << 24)); in qla82xx_load_fw()
2435 qla82xx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, rst); in qla82xx_load_fw()
/linux-4.4.14/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.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c513 tcph->rst = 1; in form_cm_frame()
2358 tcph->ack, tcph->rst, tcph->fin); in process_packet()
2360 if (tcph->rst) { in process_packet()
2796 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.4.14/drivers/net/ethernet/sfc/
Dtx.c1037 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c8382 if (tcp->urg || tcp->psh || tcp->rst || in verify_l3_l4_lro_capable()