Home
last modified time | relevance | path

Searched refs:CTRL (Results 1 – 25 of 38) sorted by relevance

12

/drivers/scsi/arm/
Dcumana_1.c39 #define CTRL 0x16fc macro
53 writeb(0x02, base + CTRL); in cumanascsi_pwrite()
78 writeb(0x12, base + CTRL); in cumanascsi_pwrite()
104 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pwrite()
120 writeb(0x00, base + CTRL); in cumanascsi_pread()
144 writeb(0x10, base + CTRL); in cumanascsi_pread()
170 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pread()
189 writeb(0, base + CTRL); in cumanascsi_read()
194 writeb(0x40, base + CTRL); in cumanascsi_read()
204 writeb(0, base + CTRL); in cumanascsi_write()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dmac.c467 ctrl = er32(CTRL); in e1000e_check_for_fiber_link()
491 ctrl = er32(CTRL); in e1000e_check_for_fiber_link()
493 ew32(CTRL, ctrl); in e1000e_check_for_fiber_link()
509 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000e_check_for_fiber_link()
532 ctrl = er32(CTRL); in e1000e_check_for_serdes_link()
554 ctrl = er32(CTRL); in e1000e_check_for_serdes_link()
556 ew32(CTRL, ctrl); in e1000e_check_for_serdes_link()
572 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000e_check_for_serdes_link()
839 ctrl = er32(CTRL); in e1000e_setup_fiber_serdes_link()
858 ew32(CTRL, ctrl); in e1000e_setup_fiber_serdes_link()
[all …]
D82571.c979 ctrl = er32(CTRL); in e1000_reset_hw_82571()
982 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82571()
1195 reg = er32(CTRL); in e1000_initialize_hw_bits_82571()
1197 ew32(CTRL, reg); in e1000_initialize_hw_bits_82571()
1425 ctrl = er32(CTRL); in e1000_setup_copper_link_82571()
1428 ew32(CTRL, ctrl); in e1000_setup_copper_link_82571()
1504 ctrl = er32(CTRL); in e1000_check_for_serdes_link_82571()
1537 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_serdes_link_82571()
1571 ew32(CTRL, ctrl); in e1000_check_for_serdes_link_82571()
1593 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_serdes_link_82571()
Dethtool.c444 regs_buff[0] = er32(CTRL); in e1000_get_regs()
1325 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback()
1332 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback()
1404 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback()
1425 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback()
1441 u32 ctrl = er32(CTRL); in e1000_set_82571_fiber_loopback()
1450 ew32(CTRL, ctrl); in e1000_set_82571_fiber_loopback()
1461 ctrl = er32(CTRL); in e1000_set_82571_fiber_loopback()
1463 ew32(CTRL, ctrl); in e1000_set_82571_fiber_loopback()
1481 u32 ctrl = er32(CTRL); in e1000_set_es2lan_mac_loopback()
[all …]
D80003es2lan.c685 ctrl = er32(CTRL); in e1000_reset_hw_80003es2lan()
692 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_80003es2lan()
1029 ctrl = er32(CTRL); in e1000_setup_copper_link_80003es2lan()
1032 ew32(CTRL, ctrl); in e1000_setup_copper_link_80003es2lan()
Dich8lan.c258 mac_reg = er32(CTRL); in e1000_toggle_lanphypc_pch_lpt()
261 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt()
265 ew32(CTRL, mac_reg); in e1000_toggle_lanphypc_pch_lpt()
2289 ctrl_reg = er32(CTRL); in e1000_configure_k1_ich8lan()
2293 ew32(CTRL, reg); in e1000_configure_k1_ich8lan()
2298 ew32(CTRL, ctrl_reg); in e1000_configure_k1_ich8lan()
4685 ctrl = er32(CTRL); in e1000_reset_hw_ich8lan()
4703 ew32(CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw_ich8lan()
4904 reg = er32(CTRL); in e1000_initialize_hw_bits_ich8lan()
4906 ew32(CTRL, reg); in e1000_initialize_hw_bits_ich8lan()
[all …]
Dphy.c1427 ctrl = er32(CTRL); in e1000e_phy_force_speed_duplex_setup()
1462 ew32(CTRL, ctrl); in e1000e_phy_force_speed_duplex_setup()
2106 ctrl = er32(CTRL); in e1000e_phy_hw_reset_generic()
2107 ew32(CTRL, ctrl | E1000_CTRL_PHY_RST); in e1000e_phy_hw_reset_generic()
2112 ew32(CTRL, ctrl); in e1000e_phy_hw_reset_generic()
Dnetdev.c1153 if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) in e1000_print_hw_hang()
2801 ctrl = er32(CTRL); in e1000e_vlan_strip_disable()
2803 ew32(CTRL, ctrl); in e1000e_vlan_strip_disable()
2816 ctrl = er32(CTRL); in e1000e_vlan_strip_enable()
2818 ew32(CTRL, ctrl); in e1000e_vlan_strip_enable()
5070 u32 ctrl = er32(CTRL); in e1000_print_link_info()
5115 (er32(CTRL) & E1000_PHY_CTRL_GBE_DISABLE)) { in e1000e_has_link()
6246 mac_reg = er32(CTRL); in e1000_init_phy_wakeup()
6349 ctrl = er32(CTRL); in __e1000_shutdown()
6353 ew32(CTRL, ctrl); in __e1000_shutdown()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c411 ctrl = er32(CTRL); in e1000_reset_hw()
415 ew32(CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw()
437 E1000_WRITE_REG_IO(hw, CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw()
446 ew32(CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw()
590 ctrl = er32(CTRL); in e1000_init_hw()
591 ew32(CTRL, ctrl | E1000_CTRL_PRIOR); in e1000_init_hw()
815 ctrl = er32(CTRL); in e1000_setup_fiber_serdes_link()
890 ew32(CTRL, ctrl); in e1000_setup_fiber_serdes_link()
904 (er32(CTRL) & E1000_CTRL_SWDPIN1) == signal) { in e1000_setup_fiber_serdes_link()
1009 ctrl = er32(CTRL); in e1000_copper_link_preconfig()
[all …]
De1000_ethtool.c336 regs_buff[0] = er32(CTRL); in e1000_get_regs()
1143 ctrl_reg = er32(CTRL); in e1000_nonintegrated_phy_loopback()
1150 ew32(CTRL, ctrl_reg); in e1000_nonintegrated_phy_loopback()
1220 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback()
1226 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback()
1245 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback()
De1000_main.c687 u32 ctrl = er32(CTRL); in e1000_reset()
693 ew32(CTRL, ctrl); in e1000_reset()
2441 ctrl = er32(CTRL); in e1000_watchdog()
3302 regs_buff[0] = er32(CTRL); in e1000_regdump()
4881 ctrl = er32(CTRL); in __e1000_vlan_mode()
4889 ew32(CTRL, ctrl); in __e1000_vlan_mode()
5095 ctrl = er32(CTRL); in __e1000_shutdown()
5102 ew32(CTRL, ctrl); in __e1000_shutdown()
/drivers/hwmon/
Das370-hwmon.c16 #define CTRL 0x0 macro
34 void __iomem *addr = hwmon->base + CTRL; in init_pvt()
/drivers/i3c/master/
Di3c-master-cdns.c58 #define CTRL 0x10 macro
488 writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_disable()
496 writel(readl(master->regs + CTRL) | CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_enable()
544 writel(readl(master->regs + CTRL) | CTRL_MCS, in cdns_i3c_master_start_xfer_locked()
545 master->regs + CTRL); in cdns_i3c_master_start_xfer_locked()
648 writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, in cdns_i3c_master_unqueue_xfer()
649 master->regs + CTRL); in cdns_i3c_master_unqueue_xfer()
658 writel(readl(master->regs + CTRL) | CTRL_DEV_EN, in cdns_i3c_master_unqueue_xfer()
659 master->regs + CTRL); in cdns_i3c_master_unqueue_xfer()
1103 ctrl = readl(master->regs + CTRL); in cdns_i3c_master_upd_i3c_scl_lim()
[all …]
/drivers/gpu/drm/vc4/
Dvc4_dsi.c858 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable()
862 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable()
1020 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable()
1021 DSI_PORT_READ(CTRL) | in vc4_dsi_encoder_enable()
1043 DSI_PORT_WRITE(CTRL, DSI_PORT_READ(CTRL) | DSI0_CTRL_CTRL0); in vc4_dsi_encoder_enable()
1045 DSI_PORT_WRITE(CTRL, DSI_PORT_READ(CTRL) | DSI1_CTRL_EN); in vc4_dsi_encoder_enable()
1230 DSI_PORT_WRITE(CTRL, in vc4_dsi_host_transfer()
1231 DSI_PORT_READ(CTRL) | in vc4_dsi_host_transfer()
/drivers/mmc/host/
Ddw_mmc.c157 seq_printf(s, "CTRL:\t0x%08x\n", mci_readl(host, CTRL)); in dw_mci_regs_show()
191 ctrl = mci_readl(host, CTRL); in dw_mci_ctrl_reset()
193 mci_writel(host, CTRL, ctrl); in dw_mci_ctrl_reset()
457 temp = mci_readl(host, CTRL); in dw_mci_idmac_stop_dma()
460 mci_writel(host, CTRL, temp); in dw_mci_idmac_stop_dma()
740 temp = mci_readl(host, CTRL); in dw_mci_idmac_start_dma()
742 mci_writel(host, CTRL, temp); in dw_mci_idmac_start_dma()
1110 temp = mci_readl(host, CTRL); in dw_mci_submit_data_dma()
1112 mci_writel(host, CTRL, temp); in dw_mci_submit_data_dma()
1171 temp = mci_readl(host, CTRL); in dw_mci_submit_data()
[all …]
/drivers/net/ethernet/intel/igbvf/
Dvf.c112 ctrl = er32(CTRL); in e1000_reset_hw_vf()
113 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
Dethtool.c138 regs_buff[0] = er32(CTRL); in igbvf_get_regs()
/drivers/infiniband/hw/hfi1/
Dpio.c770 write_kctxt_csr(dd, hw_context, SC(CTRL), reg); in sc_alloc()
901 write_kctxt_csr(dd, hw_context, SC(CTRL), 0); in sc_free()
929 reg = read_kctxt_csr(sc->dd, sc->hw_context, SC(CTRL)); in sc_disable()
933 write_kctxt_csr(sc->dd, sc->hw_context, SC(CTRL), reg); in sc_disable()
1302 sc_ctrl = read_kctxt_csr(dd, sc->hw_context, SC(CTRL)); in sc_enable()
1363 write_kctxt_csr(dd, sc->hw_context, SC(CTRL), sc_ctrl); in sc_enable()
1368 read_kctxt_csr(dd, sc->hw_context, SC(CTRL)); in sc_enable()
Dexp_rcv.h183 EXP_TID_SET(CTRL, 1 << (rcventry - pair)); in rcventry2tidinfo()
Duser_sdma.c1092 tidctrl = EXP_TID_GET(tidval, CTRL), in check_header_template()
1222 EXP_TID_GET(tidval, CTRL)); in set_txreq_header()
1332 val = cpu_to_le16(((EXP_TID_GET(tidval, CTRL) & 0x3) << 10) | in set_txreq_header_ahg()
Dsdma.c1977 write_sde_csr(sde, SD(CTRL), in sdma_sendctrl()
1981 write_sde_csr(sde, SD(CTRL), sde->p_senddmactrl); in sdma_sendctrl()
2107 sdma_dumpstate_helper(SD(CTRL)); in sdma_dumpstate()
2225 (unsigned long long)read_sde_csr(sde, SD(CTRL)), in sdma_seqfile_dump_sde()
/drivers/usb/gadget/udc/
Datmel_usba_udc.c1010 ctrl = usba_readl(udc, CTRL); in usba_udc_wakeup()
1011 usba_writel(udc, CTRL, ctrl | USBA_REMOTE_WAKE_UP); in usba_udc_wakeup()
1189 regval = usba_readl(udc, CTRL); in set_address()
1191 usba_writel(udc, CTRL, regval); in set_address()
1469 usba_writel(udc, CTRL, (usba_readl(udc, CTRL) in usba_control_irq()
1904 usba_writel(udc, CTRL, USBA_ENABLE_MASK); in usba_start()
1931 usba_writel(udc, CTRL, USBA_DISABLE_MASK); in usba_stop()
2256 usba_writel(udc, CTRL, USBA_DISABLE_MASK); in usba_udc_probe()
/drivers/regulator/
Dmax77802-regulator.c410 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL, \
/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c367 #define LN1_AIF(ID, CTRL) \ argument
373 .ctrl_reg = LOCHNAGAR1_##CTRL, \
/drivers/s390/net/
Dqeth_core_main.c657 QETH_DBF_HEX(CTRL, 2, buffer, QETH_DBF_CTRL_LEN); in qeth_check_idx_response()
1580 QETH_DBF_HEX(CTRL, 2, request, sizeof(*request)); in qeth_vm_detect_layer()
1582 QETH_DBF_HEX(CTRL, 2, request, sizeof(*request)); in qeth_vm_detect_layer()
1585 QETH_DBF_HEX(CTRL, 2, response, sizeof(*response)); in qeth_vm_detect_layer()
1768 QETH_DBF_HEX(CTRL, 2, iob->data, min(iob->length, QETH_DBF_CTRL_LEN)); in qeth_send_control_data()
4629 QETH_DBF_HEX(CTRL, 2, request, sizeof(*request)); in qeth_vm_request_mac()
4631 QETH_DBF_HEX(CTRL, 2, request, sizeof(*request)); in qeth_vm_request_mac()
4634 QETH_DBF_HEX(CTRL, 2, response, sizeof(*response)); in qeth_vm_request_mac()

12