Home
last modified time | relevance | path

Searched refs:sctrl (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/slimbus/
Dqcom-ctrl.c278 static int qcom_clk_pause_wakeup(struct slim_controller *sctrl) in qcom_clk_pause_wakeup() argument
280 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_clk_pause_wakeup()
325 static int qcom_xfer_msg(struct slim_controller *sctrl, in qcom_xfer_msg() argument
328 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_xfer_msg()
389 static int qcom_set_laddr(struct slim_controller *sctrl, in qcom_set_laddr() argument
392 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_set_laddr()
495 struct slim_controller *sctrl; in qcom_slim_probe() local
523 sctrl = &ctrl->ctrl; in qcom_slim_probe()
524 sctrl->dev = &pdev->dev; in qcom_slim_probe()
536 sctrl->set_laddr = qcom_set_laddr; in qcom_slim_probe()
[all …]
Dqcom-ngd-ctrl.c766 static int qcom_slim_ngd_xfer_msg(struct slim_controller *sctrl, in qcom_slim_ngd_xfer_msg() argument
769 struct qcom_slim_ngd_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_slim_ngd_xfer_msg()
831 ret = slim_alloc_txn_tid(sctrl, txn); in qcom_slim_ngd_xfer_msg()
876 dev_err(sctrl->dev, "TX timed out:MC:0x%x,mt:0x%x", txn->mc, in qcom_slim_ngd_xfer_msg()
884 dev_err(sctrl->dev, "TX timed out:MC:0x%x,mt:0x%x", in qcom_slim_ngd_xfer_msg()
/linux-4.19.296/drivers/isdn/hisax/
Dhfc_sx.c392 cs->hw.hfcsx.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcsx()
393 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in reset_hfcsx()
606 cs->hw.hfcsx.sctrl |= SCTRL_MODE_NT; in hfcsx_auxcmd()
607 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); /* set NT-mode */ in hfcsx_auxcmd()
635 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in hfcsx_auxcmd()
641 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in hfcsx_auxcmd()
1064 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in mode_hfcsx()
1067 cs->hw.hfcsx.sctrl &= ~SCTRL_B1_ENA; in mode_hfcsx()
1078 cs->hw.hfcsx.sctrl |= SCTRL_B2_ENA; in mode_hfcsx()
1081 cs->hw.hfcsx.sctrl |= SCTRL_B1_ENA; in mode_hfcsx()
[all …]
Dhfc_pci.c139 cs->hw.hfcpci.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci()
140 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in reset_hfcpci()
781 cs->hw.hfcpci.sctrl |= SCTRL_MODE_NT; in hfcpci_auxcmd()
782 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); /* set NT-mode */ in hfcpci_auxcmd()
812 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in hfcpci_auxcmd()
817 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in hfcpci_auxcmd()
1303 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci()
1306 cs->hw.hfcpci.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci()
1321 cs->hw.hfcpci.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
1324 cs->hw.hfcpci.sctrl |= SCTRL_B1_ENA; in mode_hfcpci()
[all …]
Dhfcscard.c97 cs->hw.hfcD.sctrl = 0; in reset_hfcs()
98 cs->BC_Write_Reg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in reset_hfcs()
Dhfc_2bds0.c418 cs->hw.hfcD.sctrl &= ~SCTRL_B2_ENA; in mode_2bs0()
421 cs->hw.hfcD.sctrl &= ~SCTRL_B1_ENA; in mode_2bs0()
428 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0()
432 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0()
439 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0()
443 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0()
447 WriteReg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in mode_2bs0()
Dhisax.h695 unsigned char sctrl; member
722 unsigned char sctrl; member
750 unsigned char sctrl; member
/linux-4.19.296/drivers/isdn/hardware/mISDN/
Dhfcpci.c104 unsigned char sctrl; member
187 hc->hw.sctrl |= SCTRL_MODE_NT; /* NT-MODE */ in hfcpci_setmode()
191 hc->hw.sctrl &= ~SCTRL_MODE_NT; /* TE-MODE */ in hfcpci_setmode()
198 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode()
244 hc->hw.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci()
1304 hc->hw.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci()
1307 hc->hw.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci()
1336 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
1342 hc->hw.sctrl |= SCTRL_B1_ENA; in mode_hfcpci()
1371 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
[all …]
Dhfcsusb.c700 __u8 conhdlc, sctrl, sctrl_r; in hfcsusb_setup_bch() local
747 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); in hfcsusb_setup_bch()
750 sctrl |= 1; in hfcsusb_setup_bch()
754 sctrl |= 2; in hfcsusb_setup_bch()
757 write_reg(hw, HFCUSB_SCTRL, sctrl); in hfcsusb_setup_bch()