/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 | 979 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()
|
D | ethtool.c | 444 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 …]
|
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() 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 …]
|
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 | 1153 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/ |
D | e1000_hw.c | 411 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 …]
|
D | e1000_ethtool.c | 336 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()
|
D | e1000_main.c | 687 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/ |
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 | 58 #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/ |
D | vc4_dsi.c | 858 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/ |
D | dw_mmc.c | 157 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/ |
D | vf.c | 112 ctrl = er32(CTRL); in e1000_reset_hw_vf() 113 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 | 770 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()
|
D | exp_rcv.h | 183 EXP_TID_SET(CTRL, 1 << (rcventry - pair)); in rcventry2tidinfo()
|
D | user_sdma.c | 1092 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()
|
D | sdma.c | 1977 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/ |
D | atmel_usba_udc.c | 1010 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/ |
D | max77802-regulator.c | 410 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL, \
|
/drivers/pinctrl/cirrus/ |
D | pinctrl-lochnagar.c | 367 #define LN1_AIF(ID, CTRL) \ argument 373 .ctrl_reg = LOCHNAGAR1_##CTRL, \
|
/drivers/s390/net/ |
D | qeth_core_main.c | 657 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()
|