/drivers/scsi/arm/ |
D | cumana_1.c | 39 #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/ |
D | mac.c | 467 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 …]
|
D | 82571.c | 981 ctrl = er32(CTRL); in e1000_reset_hw_82571() 984 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82571() 1197 reg = er32(CTRL); in e1000_initialize_hw_bits_82571() 1199 ew32(CTRL, reg); in e1000_initialize_hw_bits_82571() 1427 ctrl = er32(CTRL); in e1000_setup_copper_link_82571() 1430 ew32(CTRL, ctrl); in e1000_setup_copper_link_82571() 1506 ctrl = er32(CTRL); in e1000_check_for_serdes_link_82571() 1539 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_serdes_link_82571() 1573 ew32(CTRL, ctrl); in e1000_check_for_serdes_link_82571() 1595 ew32(CTRL, (ctrl & ~E1000_CTRL_SLU)); in e1000_check_for_serdes_link_82571()
|
D | ethtool.c | 451 regs_buff[0] = er32(CTRL); in e1000_get_regs() 1333 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback() 1340 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback() 1412 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback() 1433 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback() 1449 u32 ctrl = er32(CTRL); in e1000_set_82571_fiber_loopback() 1458 ew32(CTRL, ctrl); in e1000_set_82571_fiber_loopback() 1469 ctrl = er32(CTRL); in e1000_set_82571_fiber_loopback() 1471 ew32(CTRL, ctrl); in e1000_set_82571_fiber_loopback() 1489 u32 ctrl = er32(CTRL); in e1000_set_es2lan_mac_loopback() [all …]
|
D | 80003es2lan.c | 685 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()
|
D | ich8lan.c | 258 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() 2336 ctrl_reg = er32(CTRL); in e1000_configure_k1_ich8lan() 2340 ew32(CTRL, reg); in e1000_configure_k1_ich8lan() 2345 ew32(CTRL, ctrl_reg); in e1000_configure_k1_ich8lan() 4741 ctrl = er32(CTRL); in e1000_reset_hw_ich8lan() 4759 ew32(CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw_ich8lan() 4969 reg = er32(CTRL); in e1000_initialize_hw_bits_ich8lan() 4971 ew32(CTRL, reg); in e1000_initialize_hw_bits_ich8lan() [all …]
|
D | phy.c | 1427 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()
|
D | netdev.c | 1158 if ((hw->mac.type == e1000_pchlan) && (er32(CTRL) & E1000_CTRL_TFCE)) in e1000_print_hw_hang() 2811 ctrl = er32(CTRL); in e1000e_vlan_strip_disable() 2813 ew32(CTRL, ctrl); in e1000e_vlan_strip_disable() 2826 ctrl = er32(CTRL); in e1000e_vlan_strip_enable() 2828 ew32(CTRL, ctrl); in e1000e_vlan_strip_enable() 5093 u32 ctrl = er32(CTRL); in e1000_print_link_info() 5139 (er32(CTRL) & E1000_PHY_CTRL_GBE_DISABLE)) { in e1000e_has_link() 6267 mac_reg = er32(CTRL); in e1000_init_phy_wakeup() 6660 ctrl = er32(CTRL); in __e1000_shutdown() 6664 ew32(CTRL, ctrl); in __e1000_shutdown()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 409 ctrl = er32(CTRL); in e1000_reset_hw() 413 ew32(CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw() 435 E1000_WRITE_REG_IO(hw, CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw() 444 ew32(CTRL, (ctrl | E1000_CTRL_RST)); in e1000_reset_hw() 588 ctrl = er32(CTRL); in e1000_init_hw() 589 ew32(CTRL, ctrl | E1000_CTRL_PRIOR); in e1000_init_hw() 813 ctrl = er32(CTRL); in e1000_setup_fiber_serdes_link() 888 ew32(CTRL, ctrl); in e1000_setup_fiber_serdes_link() 902 (er32(CTRL) & E1000_CTRL_SWDPIN1) == signal) { in e1000_setup_fiber_serdes_link() 1007 ctrl = er32(CTRL); in e1000_copper_link_preconfig() [all …]
|
D | e1000_ethtool.c | 336 regs_buff[0] = er32(CTRL); in e1000_get_regs() 1141 ctrl_reg = er32(CTRL); in e1000_nonintegrated_phy_loopback() 1148 ew32(CTRL, ctrl_reg); in e1000_nonintegrated_phy_loopback() 1218 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback() 1224 ctrl_reg = er32(CTRL); in e1000_integrated_phy_loopback() 1243 ew32(CTRL, ctrl_reg); in e1000_integrated_phy_loopback()
|
D | e1000_main.c | 688 u32 ctrl = er32(CTRL); in e1000_reset() 694 ew32(CTRL, ctrl); in e1000_reset() 2447 ctrl = er32(CTRL); in e1000_watchdog() 3304 regs_buff[0] = er32(CTRL); in e1000_regdump() 4892 ctrl = er32(CTRL); in __e1000_vlan_mode() 4900 ew32(CTRL, ctrl); in __e1000_vlan_mode() 5097 ctrl = er32(CTRL); in __e1000_shutdown() 5104 ew32(CTRL, ctrl); in __e1000_shutdown()
|
/drivers/hwmon/ |
D | as370-hwmon.c | 16 #define CTRL 0x0 macro 34 void __iomem *addr = hwmon->base + CTRL; in init_pvt()
|
/drivers/i3c/master/ |
D | i3c-master-cdns.c | 59 #define CTRL 0x10 macro 497 writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_disable() 505 writel(readl(master->regs + CTRL) | CTRL_DEV_EN, master->regs + CTRL); in cdns_i3c_master_enable() 553 writel(readl(master->regs + CTRL) | CTRL_MCS, in cdns_i3c_master_start_xfer_locked() 554 master->regs + CTRL); in cdns_i3c_master_start_xfer_locked() 657 writel(readl(master->regs + CTRL) & ~CTRL_DEV_EN, in cdns_i3c_master_unqueue_xfer() 658 master->regs + CTRL); in cdns_i3c_master_unqueue_xfer() 667 writel(readl(master->regs + CTRL) | CTRL_DEV_EN, in cdns_i3c_master_unqueue_xfer() 668 master->regs + CTRL); in cdns_i3c_master_unqueue_xfer() 1112 ctrl = readl(master->regs + CTRL); in cdns_i3c_master_upd_i3c_scl_lim() [all …]
|
/drivers/gpu/drm/vc4/ |
D | vc4_dsi.c | 916 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable() 920 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable() 1081 DSI_PORT_WRITE(CTRL, in vc4_dsi_encoder_enable() 1082 DSI_PORT_READ(CTRL) | in vc4_dsi_encoder_enable() 1104 DSI_PORT_WRITE(CTRL, DSI_PORT_READ(CTRL) | DSI0_CTRL_CTRL0); in vc4_dsi_encoder_enable() 1106 DSI_PORT_WRITE(CTRL, DSI_PORT_READ(CTRL) | DSI1_CTRL_EN); in vc4_dsi_encoder_enable() 1309 DSI_PORT_WRITE(CTRL, in vc4_dsi_host_transfer() 1310 DSI_PORT_READ(CTRL) | in vc4_dsi_host_transfer()
|
/drivers/net/wwan/ |
D | Kconfig | 32 MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem 57 RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
|
/drivers/usb/gadget/udc/ |
D | tegra-xudc.c | 52 #define CTRL 0x030 macro 1737 val = xudc_readl(xudc, CTRL); in __tegra_xudc_ep_disable() 1739 xudc_writel(xudc, val, CTRL); in __tegra_xudc_ep_disable() 1823 val = xudc_readl(xudc, CTRL); in __tegra_xudc_ep_enable() 1825 xudc_writel(xudc, val, CTRL); in __tegra_xudc_ep_enable() 2043 val = xudc_readl(xudc, CTRL); in tegra_xudc_gadget_pullup() 2048 xudc_writel(xudc, val, CTRL); in tegra_xudc_gadget_pullup() 2090 val = xudc_readl(xudc, CTRL); in tegra_xudc_gadget_start() 2092 xudc_writel(xudc, val, CTRL); in tegra_xudc_gadget_start() 2099 val = xudc_readl(xudc, CTRL); in tegra_xudc_gadget_start() [all …]
|
D | atmel_usba_udc.c | 1005 ctrl = usba_readl(udc, CTRL); in usba_udc_wakeup() 1006 usba_writel(udc, CTRL, ctrl | USBA_REMOTE_WAKE_UP); in usba_udc_wakeup() 1188 regval = usba_readl(udc, CTRL); in set_address() 1190 usba_writel(udc, CTRL, regval); in set_address() 1468 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() 1972 ctrl = usba_readl(udc, CTRL); in atmel_usba_pullup() 1977 usba_writel(udc, CTRL, ctrl); in atmel_usba_pullup() 2322 usba_writel(udc, CTRL, USBA_DISABLE_MASK); in usba_udc_probe()
|
/drivers/mmc/host/ |
D | dw_mmc.c | 159 seq_printf(s, "CTRL:\t0x%08x\n", mci_readl(host, CTRL)); in dw_mci_regs_show() 196 ctrl = mci_readl(host, CTRL); in dw_mci_ctrl_reset() 198 mci_writel(host, CTRL, ctrl); in dw_mci_ctrl_reset() 462 temp = mci_readl(host, CTRL); in dw_mci_idmac_stop_dma() 465 mci_writel(host, CTRL, temp); in dw_mci_idmac_stop_dma() 745 temp = mci_readl(host, CTRL); in dw_mci_idmac_start_dma() 747 mci_writel(host, CTRL, temp); in dw_mci_idmac_start_dma() 1118 temp = mci_readl(host, CTRL); in dw_mci_submit_data_dma() 1120 mci_writel(host, CTRL, temp); in dw_mci_submit_data_dma() 1179 temp = mci_readl(host, CTRL); in dw_mci_submit_data() [all …]
|
/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 114 ctrl = er32(CTRL); in e1000_reset_hw_vf() 115 ew32(CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
|
D | ethtool.c | 138 regs_buff[0] = er32(CTRL); in igbvf_get_regs()
|
/drivers/infiniband/hw/hfi1/ |
D | pio.c | 728 write_kctxt_csr(dd, hw_context, SC(CTRL), reg); in sc_alloc() 859 write_kctxt_csr(dd, hw_context, SC(CTRL), 0); in sc_free() 888 reg = read_kctxt_csr(sc->dd, sc->hw_context, SC(CTRL)); in sc_disable() 892 write_kctxt_csr(sc->dd, sc->hw_context, SC(CTRL), reg); in sc_disable() 1262 sc_ctrl = read_kctxt_csr(dd, sc->hw_context, SC(CTRL)); in sc_enable() 1323 write_kctxt_csr(dd, sc->hw_context, SC(CTRL), sc_ctrl); in sc_enable() 1328 read_kctxt_csr(dd, sc->hw_context, SC(CTRL)); in sc_enable()
|
D | exp_rcv.h | 141 EXP_TID_SET(CTRL, 1 << (rcventry - pair)); in rcventry2tidinfo()
|
D | user_sdma.c | 902 tidctrl = EXP_TID_GET(tidval, CTRL), in check_header_template() 1032 EXP_TID_GET(tidval, CTRL)); in set_txreq_header() 1142 val = cpu_to_le16(((EXP_TID_GET(tidval, CTRL) & 0x3) << 10) | in set_txreq_header_ahg()
|
D | sdma.c | 1935 write_sde_csr(sde, SD(CTRL), in sdma_sendctrl() 1939 write_sde_csr(sde, SD(CTRL), sde->p_senddmactrl); in sdma_sendctrl() 2065 sdma_dumpstate_helper(SD(CTRL)); in sdma_dumpstate() 2183 (unsigned long long)read_sde_csr(sde, SD(CTRL)), in sdma_seqfile_dump_sde()
|
/drivers/regulator/ |
D | max77802-regulator.c | 368 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL, \ 370 .ramp_reg = MAX77802_REG_BUCK ## num ## CTRL, \
|