Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-ktd2692.txt6 The ExpressWire interface through CTRL pin can control LED on/off and
10 Also, When the AUX pin is pulled high while CTRL pin is high,
15 - ctrl-gpios : Specifier of the GPIO connected to CTRL pin.
Dleds-lt3593.txt5 - lltc,ctrl-gpios: A handle to the GPIO that is connected to the 'CTRL'
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/hwmon/
Das370-hwmon.c16 #define CTRL 0x0 macro
34 void __iomem *addr = hwmon->base + CTRL; in init_pvt()
/Linux-v5.4/Documentation/devicetree/bindings/ufs/
Dufs-hisi.txt12 - reg : should contain UFS register address space & UFS SYS CTRL register address,
30 /* 1: UFS SYS CTRL */
/Linux-v5.4/Documentation/security/
Dsak.rst28 What key sequence should you use? Well, CTRL-ALT-DEL is used to reboot
29 the machine. CTRL-ALT-BACKSPACE is magical to the X server. We'll
30 choose CTRL-ALT-PAUSE.
/Linux-v5.4/sound/pci/ali5451/
Dali5451.c986 unsigned int CTRL, in snd_ali_write_voice_regs() argument
999 ((CTRL & 0x0000000f) << 12) | in snd_ali_write_voice_regs()
1047 unsigned int CTRL; in snd_ali_control_mode() local
1053 CTRL = 0x00000001; in snd_ali_control_mode()
1055 CTRL |= 0x00000008; /* 16-bit data */ in snd_ali_control_mode()
1057 CTRL |= 0x00000002; /* signed data */ in snd_ali_control_mode()
1059 CTRL |= 0x00000004; /* stereo data */ in snd_ali_control_mode()
1060 return CTRL; in snd_ali_control_mode()
1208 unsigned int CTRL; in snd_ali_playback_prepare() local
1247 CTRL = snd_ali_control_mode(substream); in snd_ali_playback_prepare()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/sound/pci/trident/
Dtrident_main.c440 ((voice->CTRL & 0x0000000f) << 12); in snd_trident_write_voice_regs()
579 outw((voice->CTRL << 12) | voice->Vol, in snd_trident_write_vol_reg()
750 unsigned int CTRL; in snd_trident_control_mode() local
756 CTRL = 0x00000001; in snd_trident_control_mode()
758 CTRL |= 0x00000008; // 16-bit data in snd_trident_control_mode()
760 CTRL |= 0x00000002; // signed data in snd_trident_control_mode()
762 CTRL |= 0x00000004; // stereo data in snd_trident_control_mode()
763 return CTRL; in snd_trident_control_mode()
955 voice->CTRL = snd_trident_control_mode(substream); in snd_trident_playback_prepare()
981 evoice->CTRL = voice->CTRL; in snd_trident_playback_prepare()
[all …]
/Linux-v5.4/tools/perf/ui/browsers/
Dheader.c68 case CTRL('c'): in list_menu__run()
Dmap.c96 case CTRL('c'): in map_browser__run()
/Linux-v5.4/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()
/Linux-v5.4/Documentation/devicetree/bindings/mips/brcm/
Dsoc.txt21 = Always-On control block (AON CTRL)
32 - reg : the register start and length for the AON CTRL block
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/Documentation/i2c/busses/
Di2c-mlxcpld.rst32 CTRL 0x1 - control reg.
/Linux-v5.4/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()

123