Home
last modified time | relevance | path

Searched refs:CONTROL (Results 1 – 25 of 29) sorted by relevance

12

/drivers/clocksource/
Dtimer-digicolor.c50 #define CONTROL(t) ((t)*8) macro
74 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable()
80 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable()
182 writeb(CONTROL_DISABLE, dc_timer_dev.base + CONTROL(TIMER_B)); in digicolor_timer_init()
184 writeb(CONTROL_ENABLE, dc_timer_dev.base + CONTROL(TIMER_B)); in digicolor_timer_init()
/drivers/parport/
Dparport_gsc.c90 s->u.pc.ctr = parport_readb (CONTROL (p)); in parport_gsc_save_state()
95 parport_writeb (s->u.pc.ctr, CONTROL (p)); in parport_gsc_restore_state()
154 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported()
161 r = parport_readb (CONTROL (pb)); in parport_SPP_supported()
164 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported()
165 r = parport_readb (CONTROL (pb)); in parport_SPP_supported()
166 parport_writeb (0xc, CONTROL (pb)); in parport_SPP_supported()
Dparport_gsc.h61 #define CONTROL(p) ((p)->base + 0x2) macro
118 parport_writeb (ctr, CONTROL (p)); in __parport_gsc_frob_control()
Dparport_pc.c258 outb(c, CONTROL(p)); in parport_pc_restore_state()
1427 outb(w, CONTROL(pb)); in parport_SPP_supported()
1434 r = inb(CONTROL(pb)); in parport_SPP_supported()
1437 outb(w, CONTROL(pb)); in parport_SPP_supported()
1438 r = inb(CONTROL(pb)); in parport_SPP_supported()
1439 outb(0xc, CONTROL(pb)); in parport_SPP_supported()
1499 outb(r, CONTROL(pb)); in parport_ECR_present()
1501 outb(r ^ 0x2, CONTROL(pb)); /* Toggle bit 1 */ in parport_ECR_present()
1503 r = inb(CONTROL(pb)); in parport_ECR_present()
1516 outb(0xc, CONTROL(pb)); in parport_ECR_present()
[all …]
/drivers/bluetooth/
Dbt3c_cs.c113 #define CONTROL 4 macro
349 iir = inb(iobase + CONTROL); in bt3c_interrupt()
370 outb(iir, iobase + CONTROL); in bt3c_interrupt()
521 outb(inb(iobase + CONTROL) | 0x40, iobase + CONTROL); in bt3c_load_firmware()
/drivers/watchdog/
Dmachzwd.c58 #define CONTROL 0x10 /* 16 */ macro
161 return zf_readw(CONTROL); in zf_get_control()
166 zf_writew(CONTROL, new); in zf_set_control()
/drivers/hwmon/
Dadt7475.c30 #define CONTROL 3 macro
680 data->pwm[CONTROL][sattr->index] = in set_pwm()
687 if (((data->pwm[CONTROL][sattr->index] >> 5) & 7) != 7) { in set_pwm()
761 data->pwm[CONTROL][index] &= ~0xE0; in hw_set_pwm()
762 data->pwm[CONTROL][index] |= (val & 7) << 5; in hw_set_pwm()
765 data->pwm[CONTROL][index]); in hw_set_pwm()
1453 data->pwm[CONTROL][index] = adt7475_read(PWM_CONFIG_REG(index)); in adt7475_read_pwm()
1459 v = (data->pwm[CONTROL][index] >> 5) & 7; in adt7475_read_pwm()
1472 data->pwm[CONTROL][index] &= ~0xE0; in adt7475_read_pwm()
1473 data->pwm[CONTROL][index] |= (7 << 5); in adt7475_read_pwm()
[all …]
/drivers/net/ethernet/smsc/
Dsmc9194.c338 outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); in smc_reset()
398 outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); in smc_shutdown()
Dsmc91c92_cs.c190 #define CONTROL 12 macro
550 outw((CTL_RELOAD | CTL_EE_SELECT), ioaddr + CONTROL); in mot_setup()
554 wait = ((CTL_RELOAD | CTL_STORE) & inw(ioaddr + CONTROL)); in mot_setup()
772 outw(0, ioaddr + CONTROL); in check_sig()
1102 outw(CTL_POWERDOWN, ioaddr + CONTROL ); in smc_close()
1333 outw(CTL_AUTO_RELEASE | 0x0000, ioaddr + CONTROL); in smc_eph_irq()
1335 ioaddr + CONTROL); in smc_eph_irq()
1660 ioaddr + CONTROL); in smc_reset()
Dsmc9194.h104 #define CONTROL 12 macro
/drivers/scsi/
Daha1542.h28 #define CONTROL(base) STATUS(base) macro
Daha1542.c67 outb(IRST, CONTROL(base)); in aha1542_intr_reset()
199 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port()
231 outb(IRST, CONTROL(sh->io_port)); in aha1542_test_port()
866 outb(reset_cmd, CONTROL(cmd->device->host->io_port)); in aha1542_reset()
/drivers/hid/
Dhid-roccat-lua.c98 LUA_BIN_ATTRIBUTE_RW(control, CONTROL) in LUA_BIN_ATTRIBUTE_RW() argument
Dhid-roccat-isku.c221 ISKU_BIN_ATTR_W(control, CONTROL);
Dhid-roccat-koneplus.c180 KONEPLUS_BIN_ATTRIBUTE_W(control, CONTROL);
Dhid-roccat-pyra.c183 PYRA_BIN_ATTRIBUTE_W(control, CONTROL);
Dhid-roccat-kovaplus.c213 KOVAPLUS_BIN_ATTRIBUTE_W(control, CONTROL);
/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c142 SR(CONTROL); in dss_save_context()
162 RR(CONTROL); in dss_restore_context()
/drivers/gpu/drm/omapdrm/dss/
Ddss.c147 SR(CONTROL); in dss_save_context()
167 RR(CONTROL); in dss_restore_context()
/drivers/usb/gadget/udc/
Dpxa27x_udc.h264 #define USB_EP_CTRL USB_EP_DEF(0, "ep0", 0, CONTROL, EP0_FIFO_SIZE, \
Datmel_usba_udc.c401 usba_dma_writel(ep, CONTROL, req->ctrl); in submit_request()
661 usba_dma_writel(ep, CONTROL, 0); in usba_ep_disable()
812 usba_dma_writel(ep, CONTROL, 0); in stop_dma()
1580 control = usba_dma_readl(ep, CONTROL); in usba_dma_irq()
/drivers/scsi/aic94xx/
Daic94xx_reg_def.h696 #define CONTROL 0x48 macro
737 CONTROL)
798 CONTROL)
Daic94xx_dump.c523 PRINT_LREG_32bit(asd_ha, lseq, CONTROL); in asd_dump_lseq_state()
/drivers/net/wireless/mediatek/mt7601u/
Dmain.c124 MT76_FILTER(CONTROL, MT_RX_FILTR_CFG_ACK | in mt76_configure_filter()
/drivers/phy/
DKconfig158 tristate "OMAP CONTROL PHY Driver"

12