Home
last modified time | relevance | path

Searched refs:rst (Results 1 - 21 of 21) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/phy/
H A Dphy-rockchip-inno-usb3.c314 static const char *get_rest_name(enum rockchip_u3phy_rest_req rst) in get_rest_name() argument
316 switch (rst) { in get_rest_name()
336 int rst; in rockchip_u3phy_rest_deassert() local
340 for (rst = PIPE_APB_RSTN; rst <= UTMI_APB_RSTN; rst++) { in rockchip_u3phy_rest_deassert()
341 if (u3phy->rsts[rst]) { in rockchip_u3phy_rest_deassert()
342 reset_control_deassert(u3phy->rsts[rst]); in rockchip_u3phy_rest_deassert()
350 for (rst = U3_POR_RSTN; rst < in rockchip_u3phy_rest_deassert()
370 int rst; rockchip_u3phy_rest_assert() local
792 int rst; rockchip_u3phy_on_shutdown() local
[all...]
H A Dphy-rockchip-usbdp.c213 struct reset_control *rst; in udphy_reset_init() local
216 rst = devm_reset_control_get(dev, name); in udphy_reset_init()
217 if (IS_ERR(rst)) { in udphy_reset_init()
220 return PTR_ERR(rst); in udphy_reset_init()
223 udphy->rsts[idx] = rst; in udphy_reset_init()
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb3.c325 static const char *get_rest_name(enum rockchip_u3phy_rest_req rst) in get_rest_name() argument
327 switch (rst) { in get_rest_name()
348 int rst; in rockchip_u3phy_rest_deassert() local
352 for (rst = PIPE_APB_RSTN; rst <= UTMI_APB_RSTN; rst++) { in rockchip_u3phy_rest_deassert()
353 if (u3phy->rsts[rst]) in rockchip_u3phy_rest_deassert()
354 reset_control_deassert(u3phy->rsts[rst]); in rockchip_u3phy_rest_deassert()
361 for (rst = U3_POR_RSTN; rst < in rockchip_u3phy_rest_deassert()
378 int rst; rockchip_u3phy_rest_assert() local
818 int rst; rockchip_u3phy_on_shutdown() local
[all...]
H A Dphy-rockchip-usbdp.c280 struct reset_control *rst; in udphy_reset_init() local
283 rst = devm_reset_control_get(dev, name); in udphy_reset_init()
284 if (IS_ERR(rst)) { in udphy_reset_init()
287 return PTR_ERR(rst); in udphy_reset_init()
290 udphy->rsts[idx] = rst; in udphy_reset_init()
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/
H A Drockchip-otp.c65 struct reset_control *rst; member
83 ret = reset_control_assert(otp->rst); in rockchip_otp_reset()
91 ret = reset_control_deassert(otp->rst); in rockchip_otp_reset()
251 otp->rst = devm_reset_control_get(dev, "phy"); in rockchip_otp_probe()
252 if (IS_ERR(otp->rst)) { in rockchip_otp_probe()
253 return PTR_ERR(otp->rst); in rockchip_otp_probe()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_common.h680 static inline int mpp_safe_reset(struct reset_control *rst) in mpp_safe_reset() argument
682 if (rst) { in mpp_safe_reset()
683 reset_control_assert(rst); in mpp_safe_reset()
689 static inline int mpp_safe_unreset(struct reset_control *rst) in mpp_safe_unreset() argument
691 if (rst) { in mpp_safe_unreset()
692 reset_control_deassert(rst); in mpp_safe_unreset()
H A Dmpp_common.c491 struct reset_control *rst = NULL; in mpp_reset_control_get() local
498 rst = devm_reset_control_get(mpp->dev, name); in mpp_reset_control_get()
499 mpp_safe_unreset(rst); in mpp_reset_control_get()
501 return rst; in mpp_reset_control_get()
519 rst = group->resets[type]; in mpp_reset_control_get()
520 if (!rst) { in mpp_reset_control_get()
521 rst = devm_reset_control_get(mpp->dev, shared_name); in mpp_reset_control_get()
522 mpp_safe_unreset(rst); in mpp_reset_control_get()
523 group->resets[type] = rst; in mpp_reset_control_get()
533 return rst; in mpp_reset_control_get()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_common.h691 static inline int mpp_safe_reset(struct reset_control *rst) in mpp_safe_reset() argument
693 if (rst) in mpp_safe_reset()
694 reset_control_assert(rst); in mpp_safe_reset()
699 static inline int mpp_safe_unreset(struct reset_control *rst) in mpp_safe_unreset() argument
701 if (rst) in mpp_safe_unreset()
702 reset_control_deassert(rst); in mpp_safe_unreset()
H A Dmpp_common.c521 struct reset_control *rst = NULL; in mpp_reset_control_get() local
528 rst = devm_reset_control_get(mpp->dev, name); in mpp_reset_control_get()
529 mpp_safe_unreset(rst); in mpp_reset_control_get()
531 return rst; in mpp_reset_control_get()
551 rst = group->resets[type]; in mpp_reset_control_get()
552 if (!rst) { in mpp_reset_control_get()
553 rst = devm_reset_control_get(mpp->dev, shared_name); in mpp_reset_control_get()
554 mpp_safe_unreset(rst); in mpp_reset_control_get()
555 group->resets[type] = rst; in mpp_reset_control_get()
565 return rst; in mpp_reset_control_get()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
H A D8250_dw.c51 struct reset_control *rst; member
635 data->rst = devm_reset_control_get_optional_exclusive(dev, NULL); in dw8250_probe()
636 if (IS_ERR(data->rst)) { in dw8250_probe()
637 err = PTR_ERR(data->rst); in dw8250_probe()
640 reset_control_deassert(data->rst); in dw8250_probe()
692 reset_control_assert(data->rst); in dw8250_probe()
718 reset_control_assert(data->rst); in dw8250_remove()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Danalogix_dp-rockchip.c81 struct reset_control *rst; member
176 reset_control_assert(dp->rst); in rockchip_dp_pre_init()
178 reset_control_deassert(dp->rst); in rockchip_dp_pre_init()
422 dp->rst = devm_reset_control_get(dev, "dp"); in rockchip_dp_of_probe()
423 if (IS_ERR(dp->rst)) { in rockchip_dp_of_probe()
425 return PTR_ERR(dp->rst); in rockchip_dp_of_probe()
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/
H A Ddevice.h31 Pinctrl rst; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/netinet/
H A Dtcp.h127 uint16_t rst:1; member
139 uint16_t rst:1; member
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip_pvtm.c71 struct reset_control *rst; member
184 ret = reset_control_assert(pvtm->rst); in rockchip_pvtm_reset()
192 ret = reset_control_deassert(pvtm->rst); in rockchip_pvtm_reset()
900 pvtm->rst = devm_reset_control_array_get_optional_exclusive(dev); in rockchip_pvtm_init()
901 if (IS_ERR(pvtm->rst)) { in rockchip_pvtm_init()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip_pvtm.c76 struct reset_control *rst; member
191 ret = reset_control_assert(pvtm->rst); in rockchip_pvtm_reset()
199 ret = reset_control_deassert(pvtm->rst); in rockchip_pvtm_reset()
902 pvtm->rst = devm_reset_control_array_get_optional_exclusive(dev); in rockchip_pvtm_init()
903 if (IS_ERR(pvtm->rst)) in rockchip_pvtm_init()
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-dsidphy.c236 struct reset_control *rst; member
816 inno->rst = devm_reset_control_get(dev, "apb"); in inno_dsidphy_probe()
817 if (IS_ERR(inno->rst)) { in inno_dsidphy_probe()
818 ret = PTR_ERR(inno->rst); in inno_dsidphy_probe()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Dhw.c1041 struct reset_control *rst = NULL; in rkcif_plat_hw_probe() local
1044 rst = devm_reset_control_get(dev, data->rsts[i]); in rkcif_plat_hw_probe()
1046 if (IS_ERR(rst)) { in rkcif_plat_hw_probe()
1048 return PTR_ERR(rst); in rkcif_plat_hw_probe()
1050 cif_hw->cif_rst[i] = rst; in rkcif_plat_hw_probe()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Dhw.c1046 struct reset_control *rst = NULL; in rkcif_plat_hw_probe() local
1049 rst = devm_reset_control_get(dev, data->rsts[i]); in rkcif_plat_hw_probe()
1050 if (IS_ERR(rst)) { in rkcif_plat_hw_probe()
1052 return PTR_ERR(rst); in rkcif_plat_hw_probe()
1054 cif_hw->cif_rst[i] = rst; in rkcif_plat_hw_probe()
/device/soc/rockchip/common/vendor/drivers/pci/
H A Dpcie-dw-rockchip.c54 struct reset_control *rst; member
1106 rk_pcie->rsts[i].rst = devm_reset_control_get_exclusive(dev, rk_pcie->rsts[i].id); in rk_pcie_reset_control_release()
1107 if (IS_ERR_OR_NULL(rk_pcie->rsts[i].rst)) { in rk_pcie_reset_control_release()
1109 return -PTR_ERR(rk_pcie->rsts[i].rst); in rk_pcie_reset_control_release()
1114 ret = reset_control_deassert(rk_pcie->rsts[i].rst); in rk_pcie_reset_control_release()
/device/soc/rockchip/rk3588/kernel/drivers/pci/controller/dwc/
H A Dpcie-dw-rockchip.c55 struct reset_control *rst; member
1257 rk_pcie->rsts[i].rst = devm_reset_control_get_exclusive(dev, in rk_pcie_reset_control_release()
1259 if (IS_ERR_OR_NULL(rk_pcie->rsts[i].rst)) { in rk_pcie_reset_control_release()
1262 return -PTR_ERR(rk_pcie->rsts[i].rst); in rk_pcie_reset_control_release()
1267 ret = reset_control_deassert(rk_pcie->rsts[i].rst); in rk_pcie_reset_control_release()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_tx_data.c1318 hi_u32 rst = hmac_tx_encap(hmac_vap, hmac_user, netbuf); in hmac_tx_lan_mpdu_process_ap() local
1319 if (oal_unlikely((rst != HI_SUCCESS))) { in hmac_tx_lan_mpdu_process_ap()
1321 "{hmac_tx_lan_mpdu_process_ap::hmac_tx_encap failed[%d].}", rst); in hmac_tx_lan_mpdu_process_ap()

Completed in 39 milliseconds