/Linux-v5.4/drivers/clocksource/ |
D | timer-digicolor.c | 51 #define CONTROL(t) ((t)*8) macro 75 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable() 81 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable() 183 writeb(CONTROL_DISABLE, dc_timer_dev.base + CONTROL(TIMER_B)); in digicolor_timer_init() 185 writeb(CONTROL_ENABLE, dc_timer_dev.base + CONTROL(TIMER_B)); in digicolor_timer_init()
|
/Linux-v5.4/drivers/parport/ |
D | parport_gsc.c | 85 s->u.pc.ctr = parport_readb (CONTROL (p)); in parport_gsc_save_state() 90 parport_writeb (s->u.pc.ctr, CONTROL (p)); in parport_gsc_restore_state() 149 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 156 r = parport_readb (CONTROL (pb)); in parport_SPP_supported() 159 parport_writeb (w, CONTROL (pb)); in parport_SPP_supported() 160 r = parport_readb (CONTROL (pb)); in parport_SPP_supported() 161 parport_writeb (0xc, CONTROL (pb)); in parport_SPP_supported()
|
D | parport_gsc.h | 47 #define CONTROL(p) ((p)->base + 0x2) macro 104 parport_writeb (ctr, CONTROL (p)); in __parport_gsc_frob_control()
|
D | parport_pc.c | 259 outb(c, CONTROL(p)); in parport_pc_restore_state() 1428 outb(w, CONTROL(pb)); in parport_SPP_supported() 1435 r = inb(CONTROL(pb)); in parport_SPP_supported() 1438 outb(w, CONTROL(pb)); in parport_SPP_supported() 1439 r = inb(CONTROL(pb)); in parport_SPP_supported() 1440 outb(0xc, CONTROL(pb)); in parport_SPP_supported() 1500 outb(r, CONTROL(pb)); in parport_ECR_present() 1502 outb(r ^ 0x2, CONTROL(pb)); /* Toggle bit 1 */ in parport_ECR_present() 1504 r = inb(CONTROL(pb)); in parport_ECR_present() 1517 outb(0xc, CONTROL(pb)); in parport_ECR_present() [all …]
|
/Linux-v5.4/include/linux/ |
D | parport_pc.h | 15 #define CONTROL(p) ((p)->base + 0x2) macro 86 unsigned char dcr = inb (CONTROL (p)); in dump_parport_state() 100 dcr = i ? priv->ctr : inb (CONTROL (p)); in dump_parport_state() 141 outb (ctr, CONTROL (p)); in __parport_pc_frob_control()
|
/Linux-v5.4/sound/pci/ |
D | ens1370.c | 686 inl(ES_REG(ensoniq, CONTROL)); in snd_es1371_codec_read() 845 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_trigger() 891 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_playback1_prepare() 910 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_playback1_prepare() 932 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_playback2_prepare() 950 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_playback2_prepare() 972 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_capture_prepare() 988 outl(ensoniq->ctrl, ES_REG(ensoniq, CONTROL)); in snd_ensoniq_capture_prepare() 1002 if (inl(ES_REG(ensoniq, CONTROL)) & ES_DAC1_EN) { in snd_ensoniq_playback1_pointer() 1019 if (inl(ES_REG(ensoniq, CONTROL)) & ES_DAC2_EN) { in snd_ensoniq_playback2_pointer() [all …]
|
/Linux-v5.4/drivers/watchdog/ |
D | machzwd.c | 52 #define CONTROL 0x10 /* 16 */ macro 155 return zf_readw(CONTROL); in zf_get_control() 160 zf_writew(CONTROL, new); in zf_set_control()
|
/Linux-v5.4/drivers/bluetooth/ |
D | bt3c_cs.c | 113 #define CONTROL 4 macro 349 iir = inb(iobase + CONTROL); in bt3c_interrupt() 370 outb(iir, iobase + CONTROL); in bt3c_interrupt() 524 outb(inb(iobase + CONTROL) | 0x40, iobase + CONTROL); in bt3c_load_firmware()
|
/Linux-v5.4/Documentation/devicetree/bindings/timer/ |
D | marvell,orion-timer.txt | 5 - reg: base address of the timer register starting with TIMERS CONTROL register
|
D | rockchip,rk-timer.txt | 14 - reg: base address of the timer register starting with TIMERS CONTROL register
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_opp.h | 78 SRI(CONTROL, FMT_MEMORY, id) 82 SRI(CONTROL, FMT_MEMORY, id) 257 uint32_t CONTROL; member
|
D | dce_opp.c | 440 REG_GET(CONTROL, in program_formatter_420_memory() 447 REG_UPDATE(CONTROL, in program_formatter_420_memory()
|
D | dce_hwseq.h | 459 HWS_SF(blk, CONTROL, BLND_FEEDTHROUGH_EN, mask_sh),\ 460 HWS_SF(blk, CONTROL, BLND_ALPHA_MODE, mask_sh),\ 461 HWS_SF(blk, CONTROL, BLND_MODE, mask_sh),\ 462 HWS_SF(blk, CONTROL, BLND_MULTIPLIED_MODE, mask_sh) 483 HWS_SF(BLND_, CONTROL, BLND_MODE, mask_sh),\
|
/Linux-v5.4/drivers/hwmon/ |
D | adt7475.c | 29 #define CONTROL 3 macro 785 data->pwm[CONTROL][sattr->index] = in pwm_store() 792 if (((data->pwm[CONTROL][sattr->index] >> 5) & 7) != 7) { in pwm_store() 903 data->pwm[CONTROL][index] &= ~0xE0; in hw_set_pwm() 904 data->pwm[CONTROL][index] |= (val & 7) << 5; in hw_set_pwm() 907 data->pwm[CONTROL][index]); in hw_set_pwm() 1661 data->pwm[CONTROL][index] = adt7475_read(PWM_CONFIG_REG(index)); in adt7475_read_pwm() 1667 v = (data->pwm[CONTROL][index] >> 5) & 7; in adt7475_read_pwm() 1680 data->pwm[CONTROL][index] &= ~0xE0; in adt7475_read_pwm() 1681 data->pwm[CONTROL][index] |= (7 << 5); in adt7475_read_pwm() [all …]
|
/Linux-v5.4/Documentation/leds/ |
D | leds-lm3556.rst | 23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A), 50 In Torch Mode, the current source(LED) is programmed via the CURRENT CONTROL
|
/Linux-v5.4/drivers/scsi/ |
D | aha1542.h | 29 #define CONTROL(base) STATUS(base) macro
|
D | aha1542.c | 75 outb(IRST, CONTROL(base)); in aha1542_intr_reset() 207 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port() 239 outb(IRST, CONTROL(sh->io_port)); in aha1542_test_port() 924 outb(reset_cmd, CONTROL(cmd->device->host->io_port)); in aha1542_reset()
|
/Linux-v5.4/drivers/net/ethernet/smsc/ |
D | smc9194.h | 104 #define CONTROL 12 macro
|
D | smc9194.c | 338 outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); in smc_reset() 398 outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); in smc_shutdown()
|
D | smc91c92_cs.c | 191 #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() 1661 ioaddr + CONTROL); in smc_reset()
|
/Linux-v5.4/Documentation/driver-api/backlight/ |
D | lp855x-driver.rst | 44 Value of DEVICE CONTROL register.
|
/Linux-v5.4/Documentation/devicetree/bindings/leds/backlight/ |
D | lp855x.txt | 7 - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_optc.c | 261 REG_UPDATE(CONTROL, in optc1_program_timing() 332 REG_UPDATE_2(CONTROL, in optc1_set_vtg_params() 457 REG_UPDATE(CONTROL, in optc1_enable_crtc() 480 REG_UPDATE(CONTROL, in optc1_disable_crtc()
|
/Linux-v5.4/drivers/hid/ |
D | hid-roccat-lua.c | 95 LUA_BIN_ATTRIBUTE_RW(control, CONTROL) in LUA_BIN_ATTRIBUTE_RW() argument
|
/Linux-v5.4/Documentation/networking/ |
D | can_ucan_protocol.rst | 21 CONTROL endpoint 31 CONTROL Messages
|