/linux-4.1.27/drivers/clk/qcom/ |
D | reset.c | 33 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/ |
D | reset-syscfg.c | 44 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/ |
D | phy-s5pv210-usb2.c | 117 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()
|
D | phy-exynos4210-usb2.c | 154 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()
|
D | phy-exynos4x12-usb2.c | 216 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/ |
D | sunxi-cir.c | 96 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/ |
D | ahci-st.txt | 17 - 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/ |
D | ohci-platform.c | 40 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()
|
D | ehci-platform.c | 45 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()
|
D | ehci-st.c | 37 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()
|
D | ohci-st.c | 36 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()
|
D | ehci-tegra.c | 58 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/ |
D | usb_ops_linux.h | 58 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/ |
D | setup_tx4939.c | 518 __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 …]
|
D | setup_tx4938.c | 436 __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()
|
D | setup_tx4927.c | 313 __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/ |
D | nouveau_platform.c | 54 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()
|
D | nouveau_platform.h | 36 struct reset_control *rst; member
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | prm2xxx_3xxx.c | 88 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/ |
D | reset.txt | 41 rst: reset-controller { 62 resets = <&rst 20>; 69 resets = <&rst 10> <&rst 11> <&rst 12> <&rst 11>;
|
D | socfpga-reset.txt | 4 - compatible : "altr,rst-mgr" 11 compatible = "altr,rst-mgr";
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | mac.c | 195 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/ |
D | 8250_dw.c | 65 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/ |
D | gr3d.c | 28 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()
|
D | dpaux.c | 38 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()
|
D | dsi.c | 60 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()
|
D | sor.c | 33 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()
|
D | hdmi.c | 58 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()
|
D | dc.c | 1914 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()
|
D | drm.h | 118 struct reset_control *rst; member
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-ciu-defs.h | 2379 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 …]
|
D | cvmx-ciu2-defs.h | 511 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 …]
|
D | cvmx-ipd.h | 332 pip_sft_rst.s.rst = 1; in cvmx_ipd_free_ptr()
|
D | cvmx-pip-defs.h | 2354 uint64_t rst:1; member 2356 uint64_t rst:1;
|
/linux-4.1.27/drivers/spi/ |
D | spi-tegra20-sflash.c | 120 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()
|
D | spi-tegra114.c | 170 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()
|
D | spi-tegra20-slink.c | 169 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/ |
D | pmc.h | 115 struct reset_control *rst); 141 struct reset_control *rst) in tegra_powergate_sequence_power_up() argument
|
/linux-4.1.27/Documentation/devicetree/bindings/phy/ |
D | phy-miphy28lp.txt | 31 - 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/ |
D | cadence_wdt.c | 81 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/ |
D | tcp_minisocks.c | 115 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()
|
D | syncookies.c | 307 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v4_check()
|
D | inet_lro.c | 69 tcph->rst || tcph->syn || tcph->fin) in lro_tcp_ip_check()
|
D | tcp_input.c | 5091 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()
|
D | tcp_ipv4.c | 599 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/ |
D | ds1603.c | 43 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()
|
D | ds1603.h | 13 u32 rst; member
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | media.c | 201 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()
|
D | de4x5.c | 512 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/ |
D | tcp.h | 34 rst:1, member 48 rst:1, member
|
/linux-4.1.27/sound/soc/tegra/ |
D | tegra30_ahub.c | 522 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/ |
D | mg_disk.c | 129 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/ |
D | pinctrl-tegra-xusb.c | 94 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/ |
D | tegra-kbc.c | 119 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/ |
D | hal_intf.c | 177 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()
|
D | rtl8188e_hal_init.c | 77 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/ |
D | i2c-tegra.c | 163 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/ |
D | nf_reject_ipv4.c | 34 if (oth->rst) in nf_reject_ip_tcphdr_get() 92 tcph->rst = 1; in nf_reject_ip_tcphdr_put()
|
D | ipt_SYNPROXY.c | 274 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/ |
D | marvell,armada-370-pinctrl.txt | 22 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),
|
D | lantiq,falcon-pinumx.txt | 44 rst, ntr, mdio, led, asc, spi, i2c, jtag, slic, pcm 80 lantiq,function = "rst";
|
D | marvell,kirkwood-pinctrl.txt | 143 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)
|
D | marvell,armada-xp-pinctrl.txt | 45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
|
/linux-4.1.27/drivers/net/irda/ |
D | mcs7780.c | 575 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/ |
D | nvec.c | 731 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()
|
D | nvec.h | 144 struct reset_control *rst; member
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | stih407-family.dtsi | 305 reset-names = "miphy-sw-rst"; 321 reset-names = "miphy-sw-rst"; 335 reset-names = "miphy-sw-rst";
|
D | socfpga.dtsi | 19 #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";
|
D | socfpga_arria10.dtsi | 278 rst: rstmgr@ffd05000 { label 280 compatible = "altr,rst-mgr";
|
D | rk3066a-rayeager.dts | 359 rmii_rst: rmii-rst { 393 hub_rst: hub-rst {
|
D | rk3288-firefly.dtsi | 374 phy_rst: phy-rst { 412 usbhub_rst: usbhub-rst {
|
D | omap4-var-som-om44.dtsi | 89 OMAP4_IOPAD(0x092, PIN_OUTPUT | MUX_MODE3) /* gpmc_ncs5.gpio_102 (rst) */
|
D | rk3188.dtsi | 187 emmc_rst: emmc-rst {
|
D | stih416.dtsi | 313 reset-names = "pwr-dwn", "sw-rst";
|
D | rk3066a.dtsi | 264 emmc_rst: emmc-rst {
|
D | exynos5250-snow.dts | 590 wifi_rst: wifi-rst {
|
D | s3c64xx-pinctrl.dtsi | 416 cam_rst: cam-rst {
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 52 if (otcph->rst) { in nf_reject_ip6_tcphdr_get() 118 tcph->rst = 1; in nf_reject_ip6_tcphdr_put()
|
D | ip6t_SYNPROXY.c | 289 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/ |
D | si_smc.c | 163 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/ |
D | tso.c | 34 tcph->rst = 0; in tso_build_hdr()
|
/linux-4.1.27/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 854 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/ |
D | serial-tegra.c | 105 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/ |
D | Makefile | 56 obj-$(CONFIG_INTEL_RST) += intel-rst.o
|
/linux-4.1.27/drivers/soc/tegra/ |
D | pmc.c | 284 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/ |
D | dram_init.S | 44 move.d REG_STATE(ddr2, rw_phy_ctrl, rst, yes) | \
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/ |
D | ata_defs.h | 94 unsigned int rst : 1; member
|
/linux-4.1.27/drivers/dma/ |
D | tegra20-apb-dma.c | 220 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/ |
D | nf_log_common.c | 101 if (th->rst) in nf_log_dump_tcp_header()
|
D | xt_TPROXY.c | 265 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()
|
D | nf_conntrack_proto_tcp.c | 327 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/ |
D | iop_timer_grp_defs.h | 143 unsigned int rst : 4; member
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | m68360_quicc.h | 248 volatile unsigned short rst:1; member
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_proto_tcp.c | 53 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()
|
D | ip_vs_core.c | 1038 return th->rst; in is_tcp_reset()
|
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
D | ddr2_defs.h | 136 unsigned int rst : 1; member
|
/linux-4.1.27/net/ipv6/ |
D | tcp_ipv6.c | 735 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()
|
D | syncookies.c | 171 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v6_check()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | feature.c | 1067 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/ |
D | slhc.c | 270 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
|
/linux-4.1.27/include/net/ |
D | tcp.h | 1200 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/ |
D | qla_nx.c | 2420 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/ |
D | ql4_nx.c | 1334 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/ |
D | nes_cm.c | 513 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()
|
D | nes_mgt.c | 183 *rst_rcvd = tcph->rst; in nes_get_seq()
|
D | nes_nic.c | 611 tcph->rst = 0; in nes_netdev_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 1987 !th->rst && in i40e_atr() 2012 dtype_cmd |= (th->fin || th->rst) ? in i40e_atr()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | tx.c | 1036 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.c | 8406 if (tcp->urg || tcp->psh || tcp->rst || in verify_l3_l4_lro_capable()
|