/drivers/rtc/ |
D | rtc-pm8xxx.c | 88 unsigned int ctrl_reg, rtc_ctrl_reg; in pm8xxx_rtc_set_time() local 106 rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg); in pm8xxx_rtc_set_time() 110 if (ctrl_reg & regs->alarm_en) { in pm8xxx_rtc_set_time() 112 ctrl_reg &= ~regs->alarm_en; in pm8xxx_rtc_set_time() 113 rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg); in pm8xxx_rtc_set_time() 168 ctrl_reg |= regs->alarm_en; in pm8xxx_rtc_set_time() 169 rc = regmap_write(rtc_dd->regmap, regs->alarm_ctrl, ctrl_reg); in pm8xxx_rtc_set_time() 238 unsigned int ctrl_reg; in pm8xxx_rtc_set_alarm() local 259 rc = regmap_read(rtc_dd->regmap, regs->alarm_ctrl, &ctrl_reg); in pm8xxx_rtc_set_alarm() 264 ctrl_reg |= regs->alarm_en; in pm8xxx_rtc_set_alarm() [all …]
|
/drivers/watchdog/ |
D | machzwd.c | 192 unsigned int ctrl_reg = 0; in zf_timer_off() local 200 ctrl_reg = zf_get_control(); in zf_timer_off() 201 ctrl_reg |= (ENABLE_WD1|ENABLE_WD2); /* disable wd1 and wd2 */ in zf_timer_off() 202 ctrl_reg &= ~(ENABLE_WD1|ENABLE_WD2); in zf_timer_off() 203 zf_set_control(ctrl_reg); in zf_timer_off() 215 unsigned int ctrl_reg = 0; in zf_timer_on() local 231 ctrl_reg = zf_get_control(); in zf_timer_on() 232 ctrl_reg |= (ENABLE_WD1|zf_action); in zf_timer_on() 233 zf_set_control(ctrl_reg); in zf_timer_on() 242 unsigned int ctrl_reg = 0; in zf_ping() local [all …]
|
/drivers/bluetooth/ |
D | bluecard_cs.c | 79 unsigned char ctrl_reg; member 266 info->ctrl_reg |= REG_CONTROL_RTS; in bluecard_write_wakeup() 267 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup() 311 info->ctrl_reg &= ~0x03; in bluecard_write_wakeup() 312 info->ctrl_reg |= baud_reg; in bluecard_write_wakeup() 313 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup() 316 info->ctrl_reg &= ~REG_CONTROL_RTS; in bluecard_write_wakeup() 317 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup() 517 info->ctrl_reg &= ~REG_CONTROL_INTERRUPT; in bluecard_interrupt() 518 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_interrupt() [all …]
|
/drivers/pci/hotplug/ |
D | cpqphp.h | 122 struct ctrl_reg { /* offset */ struct 154 SLOT_RST = offsetof(struct ctrl_reg, slot_RST), argument 155 SLOT_ENABLE = offsetof(struct ctrl_reg, slot_enable), 156 MISC = offsetof(struct ctrl_reg, misc), 157 LED_CONTROL = offsetof(struct ctrl_reg, led_control), 158 INT_INPUT_CLEAR = offsetof(struct ctrl_reg, int_input_clear), 159 INT_MASK = offsetof(struct ctrl_reg, int_mask), 160 CTRL_RESERVED0 = offsetof(struct ctrl_reg, reserved0), 161 CTRL_RESERVED1 = offsetof(struct ctrl_reg, reserved1), 162 CTRL_RESERVED2 = offsetof(struct ctrl_reg, reserved1), [all …]
|
D | shpchp.h | 201 struct ctrl_reg { struct 219 BASE_OFFSET = offsetof(struct ctrl_reg, base_offset), argument 220 SLOT_AVAIL1 = offsetof(struct ctrl_reg, slot_avail1), 221 SLOT_AVAIL2 = offsetof(struct ctrl_reg, slot_avail2), 222 SLOT_CONFIG = offsetof(struct ctrl_reg, slot_config), 223 SEC_BUS_CONFIG = offsetof(struct ctrl_reg, sec_bus_config), 224 MSI_CTRL = offsetof(struct ctrl_reg, msi_ctrl), 225 PROG_INTERFACE = offsetof(struct ctrl_reg, prog_interface), 226 CMD = offsetof(struct ctrl_reg, cmd), 227 CMD_STATUS = offsetof(struct ctrl_reg, cmd_status), [all …]
|
/drivers/spi/ |
D | spi-cadence.c | 153 u32 ctrl_reg = CDNS_SPI_CR_DEFAULT_MASK; in cdns_spi_init_hw() local 156 ctrl_reg |= CDNS_SPI_CR_PERI_SEL_MASK; in cdns_spi_init_hw() 170 cdns_spi_write(xspi, CDNS_SPI_CR_OFFSET, ctrl_reg); in cdns_spi_init_hw() 183 u32 ctrl_reg; in cdns_spi_chipselect() local 185 ctrl_reg = cdns_spi_read(xspi, CDNS_SPI_CR_OFFSET); in cdns_spi_chipselect() 189 ctrl_reg |= CDNS_SPI_CR_SSCTRL_MASK; in cdns_spi_chipselect() 192 ctrl_reg &= ~CDNS_SPI_CR_SSCTRL_MASK; in cdns_spi_chipselect() 194 ctrl_reg |= ((~(CDNS_SPI_SS0 << spi->chip_select)) << in cdns_spi_chipselect() 198 ctrl_reg |= (spi->chip_select << CDNS_SPI_SS_SHIFT) & in cdns_spi_chipselect() 202 cdns_spi_write(xspi, CDNS_SPI_CR_OFFSET, ctrl_reg); in cdns_spi_chipselect() [all …]
|
/drivers/net/wireless/cw1200/ |
D | bh.c | 181 u16 *ctrl_reg) in cw1200_bh_read_ctrl_reg() argument 186 ST90TDS_CONTROL_REG_ID, ctrl_reg); in cw1200_bh_read_ctrl_reg() 189 ST90TDS_CONTROL_REG_ID, ctrl_reg); in cw1200_bh_read_ctrl_reg() 199 u16 ctrl_reg; in cw1200_device_wakeup() local 216 ret = cw1200_bh_read_ctrl_reg(priv, &ctrl_reg); in cw1200_device_wakeup() 223 if (ctrl_reg & ST90TDS_CONT_RDY_BIT) { in cw1200_device_wakeup() 241 uint16_t *ctrl_reg, in cw1200_bh_rx_helper() argument 255 read_len = (*ctrl_reg & ST90TDS_CONT_NEXT_LEN_MASK) * 2; in cw1200_bh_rx_helper() 262 read_len, *ctrl_reg); in cw1200_bh_rx_helper() 296 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper() [all …]
|
/drivers/clk/hisilicon/ |
D | clk-hix5hd2.c | 139 u32 ctrl_reg; member 151 void __iomem *ctrl_reg; member 177 val = readl_relaxed(clk->ctrl_reg); in clk_ether_prepare() 179 writel_relaxed(val, clk->ctrl_reg); in clk_ether_prepare() 181 writel_relaxed(val, clk->ctrl_reg); in clk_ether_prepare() 206 val = readl_relaxed(clk->ctrl_reg); in clk_ether_unprepare() 208 writel_relaxed(val, clk->ctrl_reg); in clk_ether_unprepare() 221 val = readl_relaxed(clk->ctrl_reg); in clk_complex_enable() 224 writel_relaxed(val, clk->ctrl_reg); in clk_complex_enable() 239 val = readl_relaxed(clk->ctrl_reg); in clk_complex_disable() [all …]
|
/drivers/clocksource/ |
D | cadence_ttc_timer.c | 117 u32 ctrl_reg; in ttc_set_interval() local 120 ctrl_reg = readl_relaxed(timer->base_addr + TTC_CNT_CNTRL_OFFSET); in ttc_set_interval() 121 ctrl_reg |= TTC_CNT_CNTRL_DISABLE_MASK; in ttc_set_interval() 122 writel_relaxed(ctrl_reg, timer->base_addr + TTC_CNT_CNTRL_OFFSET); in ttc_set_interval() 130 ctrl_reg |= CNT_CNTRL_RESET; in ttc_set_interval() 131 ctrl_reg &= ~TTC_CNT_CNTRL_DISABLE_MASK; in ttc_set_interval() 132 writel_relaxed(ctrl_reg, timer->base_addr + TTC_CNT_CNTRL_OFFSET); in ttc_set_interval() 201 u32 ctrl_reg; in ttc_shutdown() local 203 ctrl_reg = readl_relaxed(timer->base_addr + TTC_CNT_CNTRL_OFFSET); in ttc_shutdown() 204 ctrl_reg |= TTC_CNT_CNTRL_DISABLE_MASK; in ttc_shutdown() [all …]
|
/drivers/phy/ |
D | phy-berlin-sata.c | 68 static inline void phy_berlin_sata_reg_setbits(void __iomem *ctrl_reg, in phy_berlin_sata_reg_setbits() argument 74 writel(phy_base + reg, ctrl_reg + PORT_VSR_ADDR); in phy_berlin_sata_reg_setbits() 77 regval = readl(ctrl_reg + PORT_VSR_DATA); in phy_berlin_sata_reg_setbits() 80 writel(regval, ctrl_reg + PORT_VSR_DATA); in phy_berlin_sata_reg_setbits() 87 void __iomem *ctrl_reg = priv->base + 0x60 + (desc->index * 0x80); in phy_berlin_sata_power_on() local 108 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x01, in phy_berlin_sata_power_on() 112 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x25, in phy_berlin_sata_power_on() 116 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x23, in phy_berlin_sata_power_on() 120 phy_berlin_sata_reg_setbits(ctrl_reg, priv->phy_base, 0x02, in phy_berlin_sata_power_on() 124 regval = readl(ctrl_reg + PORT_SCR_CTL); in phy_berlin_sata_power_on() [all …]
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 74 u32 ctrl_reg; in ixgb_mac_reset() local 76 ctrl_reg = IXGB_CTRL0_RST | in ixgb_mac_reset() 87 IXGB_WRITE_REG_IO(hw, CTRL0, ctrl_reg); in ixgb_mac_reset() 89 IXGB_WRITE_REG(hw, CTRL0, ctrl_reg); in ixgb_mac_reset() 94 ctrl_reg = IXGB_READ_REG(hw, CTRL0); in ixgb_mac_reset() 97 ASSERT(!(ctrl_reg & IXGB_CTRL0_RST)); in ixgb_mac_reset() 101 ctrl_reg = /* Enable interrupt from XFP and SerDes */ in ixgb_mac_reset() 107 IXGB_WRITE_REG(hw, CTRL1, ctrl_reg); in ixgb_mac_reset() 114 return ctrl_reg; in ixgb_mac_reset() 125 u32 ctrl_reg; in ixgb_adapter_stop() local [all …]
|
/drivers/misc/ibmasm/ |
D | lowlevel.h | 67 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_enable_interrupts() local 68 writel( readl(ctrl_reg) & ~mask, ctrl_reg); in ibmasm_enable_interrupts() 73 void __iomem *ctrl_reg = base_address + INTR_CONTROL_REGISTER; in ibmasm_disable_interrupts() local 74 writel( readl(ctrl_reg) | mask, ctrl_reg); in ibmasm_disable_interrupts()
|
/drivers/fpga/ |
D | socfpga.c | 348 u32 ctrl_reg; in socfpga_fpga_cfg_mode_set() local 357 ctrl_reg = socfpga_fpga_readl(priv, SOCFPGA_FPGMGR_CTL_OFST); in socfpga_fpga_cfg_mode_set() 358 ctrl_reg &= ~SOCFPGA_FPGMGR_CTL_CDRATIO_MASK; in socfpga_fpga_cfg_mode_set() 359 ctrl_reg &= ~SOCFPGA_FPGMGR_CTL_CFGWDTH_MASK; in socfpga_fpga_cfg_mode_set() 360 ctrl_reg |= cfgmgr_modes[mode].ctrl; in socfpga_fpga_cfg_mode_set() 363 ctrl_reg &= ~SOCFPGA_FPGMGR_CTL_NCE; in socfpga_fpga_cfg_mode_set() 364 socfpga_fpga_writel(priv, SOCFPGA_FPGMGR_CTL_OFST, ctrl_reg); in socfpga_fpga_cfg_mode_set() 372 u32 ctrl_reg, status; in socfpga_fpga_reset() local 389 ctrl_reg = socfpga_fpga_readl(priv, SOCFPGA_FPGMGR_CTL_OFST); in socfpga_fpga_reset() 390 ctrl_reg |= SOCFPGA_FPGMGR_CTL_NCFGPULL; in socfpga_fpga_reset() [all …]
|
/drivers/char/hw_random/ |
D | ppc4xx-rng.c | 57 void __iomem *ctrl_reg; in ppc4xx_rng_enable() local 66 ctrl_reg = of_iomap(ctrl, 0); in ppc4xx_rng_enable() 67 if (!ctrl_reg) { in ppc4xx_rng_enable() 72 val = in_le32(ctrl_reg + PPC4XX_TRNG_DEV_CTRL); in ppc4xx_rng_enable() 79 out_le32(ctrl_reg + PPC4XX_TRNG_DEV_CTRL, val); in ppc4xx_rng_enable() 80 iounmap(ctrl_reg); in ppc4xx_rng_enable()
|
/drivers/tty/serial/ |
D | xilinx_uartps.c | 422 u32 ctrl_reg; in cdns_uart_clk_notifier_cb() local 452 ctrl_reg = readl(port->membase + CDNS_UART_CR_OFFSET); in cdns_uart_clk_notifier_cb() 453 ctrl_reg |= CDNS_UART_CR_TX_DIS | CDNS_UART_CR_RX_DIS; in cdns_uart_clk_notifier_cb() 454 writel(ctrl_reg, port->membase + CDNS_UART_CR_OFFSET); in cdns_uart_clk_notifier_cb() 479 ctrl_reg = readl(port->membase + CDNS_UART_CR_OFFSET); in cdns_uart_clk_notifier_cb() 480 ctrl_reg |= CDNS_UART_CR_TXRST | CDNS_UART_CR_RXRST; in cdns_uart_clk_notifier_cb() 481 writel(ctrl_reg, port->membase + CDNS_UART_CR_OFFSET); in cdns_uart_clk_notifier_cb() 493 ctrl_reg = readl(port->membase + CDNS_UART_CR_OFFSET); in cdns_uart_clk_notifier_cb() 494 ctrl_reg &= ~(CDNS_UART_CR_TX_DIS | CDNS_UART_CR_RX_DIS); in cdns_uart_clk_notifier_cb() 495 ctrl_reg |= CDNS_UART_CR_TX_EN | CDNS_UART_CR_RX_EN; in cdns_uart_clk_notifier_cb() [all …]
|
/drivers/i2c/busses/ |
D | i2c-cadence.c | 362 unsigned int ctrl_reg; in cdns_i2c_mrecv() local 369 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv() 370 ctrl_reg |= CDNS_I2C_CR_RW | CDNS_I2C_CR_CLR_FIFO; in cdns_i2c_mrecv() 382 ctrl_reg |= CDNS_I2C_CR_HOLD; in cdns_i2c_mrecv() 384 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv() 423 unsigned int ctrl_reg; in cdns_i2c_msend() local 431 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_msend() 432 ctrl_reg &= ~CDNS_I2C_CR_RW; in cdns_i2c_msend() 433 ctrl_reg |= CDNS_I2C_CR_CLR_FIFO; in cdns_i2c_msend() 440 ctrl_reg |= CDNS_I2C_CR_HOLD; in cdns_i2c_msend() [all …]
|
/drivers/isdn/hisax/ |
D | nj_s.c | 103 cs->hw.njet.ctrl_reg = 0xff; /* Reset On */ in reset_netjet_s() 104 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in reset_netjet_s() 109 cs->hw.njet.ctrl_reg = 0x40; /* Reset Off and status read clear */ in reset_netjet_s() 111 cs->hw.njet.ctrl_reg = 0x00; /* Reset Off and status read clear */ in reset_netjet_s() 112 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in reset_netjet_s() 195 cs->hw.njet.ctrl_reg = 0xff; /* Reset On */ in njs_cs_init() 196 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in njs_cs_init() 199 cs->hw.njet.ctrl_reg = 0x00; /* Reset Off and status read clear */ in njs_cs_init() 200 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in njs_cs_init()
|
D | nj_u.c | 86 cs->hw.njet.ctrl_reg = 0xff; /* Reset On */ in reset_netjet_u() 87 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in reset_netjet_u() 89 cs->hw.njet.ctrl_reg = 0x40; /* Reset Off and status read clear */ in reset_netjet_u() 91 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in reset_netjet_u() 156 cs->hw.njet.ctrl_reg = 0xff; /* Reset On */ in nju_cs_init() 157 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in nju_cs_init() 160 cs->hw.njet.ctrl_reg = 0x00; /* Reset Off and status read clear */ in nju_cs_init() 161 byteout(cs->hw.njet.base + NETJET_CTRL, cs->hw.njet.ctrl_reg); in nju_cs_init()
|
D | enternow_pci.c | 156 cs->hw.njet.ctrl_reg = 0x07; in reset_enpci() 157 outb(cs->hw.njet.ctrl_reg, cs->hw.njet.base + NETJET_CTRL); in reset_enpci() 160 cs->hw.njet.ctrl_reg = 0x30; in reset_enpci() 161 outb(cs->hw.njet.ctrl_reg, cs->hw.njet.base + NETJET_CTRL); in reset_enpci() 334 cs->hw.njet.ctrl_reg = 0x07; // geändert von 0xff in en_cs_init() 335 outb(cs->hw.njet.ctrl_reg, cs->hw.njet.base + NETJET_CTRL); in en_cs_init() 339 cs->hw.njet.ctrl_reg = 0x30; /* Reset Off and status read clear */ in en_cs_init() 340 outb(cs->hw.njet.ctrl_reg, cs->hw.njet.base + NETJET_CTRL); in en_cs_init()
|
D | elsa.c | 470 cs->hw.elsa.ctrl_reg |= 0x50; in reset_elsa() 471 cs->hw.elsa.ctrl_reg &= ~ELSA_ISDN_RESET; /* Reset On */ in reset_elsa() 472 byteout(cs->hw.elsa.ctrl, cs->hw.elsa.ctrl_reg); in reset_elsa() 476 cs->hw.elsa.ctrl_reg |= ELSA_ISDN_RESET; /* Reset Off */ in reset_elsa() 477 byteout(cs->hw.elsa.ctrl, cs->hw.elsa.ctrl_reg); in reset_elsa() 617 cs->hw.elsa.ctrl_reg |= ELSA_STAT_LED; in elsa_led_handler() 619 cs->hw.elsa.ctrl_reg &= ~ELSA_STAT_LED; in elsa_led_handler() 621 cs->hw.elsa.ctrl_reg ^= ELSA_STAT_LED; in elsa_led_handler() 625 cs->hw.elsa.ctrl_reg |= ELSA_LINE_LED; in elsa_led_handler() 627 cs->hw.elsa.ctrl_reg ^= ELSA_LINE_LED; in elsa_led_handler() [all …]
|
/drivers/media/platform/davinci/ |
D | vpif.h | 399 u32 ctrl_reg; in disable_raw_feature() local 401 ctrl_reg = VPIF_CH0_CTRL; in disable_raw_feature() 403 ctrl_reg = VPIF_CH1_CTRL; in disable_raw_feature() 406 vpif_clr_bit(ctrl_reg, VPIF_CH_VANC_EN_BIT); in disable_raw_feature() 408 vpif_clr_bit(ctrl_reg, VPIF_CH_HANC_EN_BIT); in disable_raw_feature() 413 u32 ctrl_reg; in enable_raw_feature() local 415 ctrl_reg = VPIF_CH0_CTRL; in enable_raw_feature() 417 ctrl_reg = VPIF_CH1_CTRL; in enable_raw_feature() 420 vpif_set_bit(ctrl_reg, VPIF_CH_VANC_EN_BIT); in enable_raw_feature() 422 vpif_set_bit(ctrl_reg, VPIF_CH_HANC_EN_BIT); in enable_raw_feature()
|
/drivers/mmc/host/ |
D | mvsdio.c | 607 u32 ctrl_reg = 0; in mvsd_set_ios() local 629 ctrl_reg |= MVSD_HOST_CTRL_BIG_ENDIAN; in mvsd_set_ios() 630 ctrl_reg &= ~MVSD_HOST_CTRL_LSB_FIRST; in mvsd_set_ios() 633 ctrl_reg |= MVSD_HOST_CTRL_TMOUT_MASK; in mvsd_set_ios() 634 ctrl_reg |= MVSD_HOST_CTRL_TMOUT_EN; in mvsd_set_ios() 637 ctrl_reg |= MVSD_HOST_CTRL_PUSH_PULL_EN; in mvsd_set_ios() 640 ctrl_reg |= MVSD_HOST_CTRL_DATA_WIDTH_4_BITS; in mvsd_set_ios() 652 ctrl_reg |= MVSD_HOST_CTRL_HI_SPEED_EN; in mvsd_set_ios() 655 host->ctrl = ctrl_reg; in mvsd_set_ios() 656 mvsd_write(MVSD_HOST_CTRL, ctrl_reg); in mvsd_set_ios() [all …]
|
/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_pkg_sender.c | 219 u32 ctrl_reg; in send_short_pkg() local 224 ctrl_reg = sender->mipi_hs_gen_ctrl_reg; in send_short_pkg() 228 ctrl_reg = sender->mipi_lp_gen_ctrl_reg; in send_short_pkg() 236 REG_WRITE(ctrl_reg, val); in send_short_pkg() 245 u32 ctrl_reg; in send_long_pkg() local 254 ctrl_reg = sender->mipi_hs_gen_ctrl_reg; in send_long_pkg() 259 ctrl_reg = sender->mipi_lp_gen_ctrl_reg; in send_long_pkg() 300 REG_WRITE(ctrl_reg, val); in send_long_pkg()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sti.c | 127 u32 ctrl_reg; /* GMAC glue-logic control register */ member 168 u32 reg = dwmac->ctrl_reg; in stih4xx_fix_retime_src() 204 u32 reg = dwmac->ctrl_reg; in stid127_fix_retime_src() 238 u32 reg = dwmac->ctrl_reg; in sti_dwmac_init() 286 err = of_property_read_u32_index(np, "st,syscon", 1, &dwmac->ctrl_reg); in sti_dwmac_parse_data()
|
/drivers/staging/comedi/drivers/ |
D | das16.c | 441 unsigned int ctrl_reg; member 486 if (!(devpriv->ctrl_reg & DAS16_CTRL_DMAE)) { in das16_interrupt() 752 devpriv->ctrl_reg &= ~(DAS16_CTRL_INTE | DAS16_CTRL_PACING_MASK); in das16_cmd_exec() 753 devpriv->ctrl_reg |= DAS16_CTRL_DMAE; in das16_cmd_exec() 755 devpriv->ctrl_reg |= DAS16_CTRL_EXT_PACER; in das16_cmd_exec() 757 devpriv->ctrl_reg |= DAS16_CTRL_INT_PACER; in das16_cmd_exec() 758 outb(devpriv->ctrl_reg, dev->iobase + DAS16_CTRL_REG); in das16_cmd_exec() 776 devpriv->ctrl_reg &= ~(DAS16_CTRL_INTE | DAS16_CTRL_DMAE | in das16_cancel() 778 outb(devpriv->ctrl_reg, dev->iobase + DAS16_CTRL_REG); in das16_cancel() 1163 devpriv->ctrl_reg = DAS16_CTRL_IRQ(dev->irq); in das16_attach() [all …]
|