Searched refs:sc_mode (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-13-stable/sys/dev/hdmi/
H A Ddwc_hdmi.c122 inv_val = ((sc->sc_mode.flags & VID_PVSYNC) ?
126 inv_val |= ((sc->sc_mode.flags & VID_PHSYNC) ?
132 inv_val |= ((sc->sc_mode.flags & VID_INTERLACE) ?
136 inv_val |= ((sc->sc_mode.flags & VID_INTERLACE) ?
149 WR1(sc, HDMI_FC_INHACTV1, sc->sc_mode.hdisplay >> 8);
150 WR1(sc, HDMI_FC_INHACTV0, sc->sc_mode.hdisplay);
153 WR1(sc, HDMI_FC_INVACTV1, sc->sc_mode.vdisplay >> 8);
154 WR1(sc, HDMI_FC_INVACTV0, sc->sc_mode.vdisplay);
157 hblank = sc->sc_mode.htotal - sc->sc_mode
[all...]
H A Ddwc_hdmi.h41 struct videomode sc_mode; member in struct:dwc_hdmi_softc
/freebsd-13-stable/sys/dev/usb/input/
H A Dums.c142 mousemode_t sc_mode; member in struct:ums_softc
797 sc->sc_mode.protocol = MOUSE_PROTO_MSC;
798 sc->sc_mode.rate = -1;
799 sc->sc_mode.resolution = MOUSE_RES_UNKNOWN;
800 sc->sc_mode.accelfactor = 0;
801 sc->sc_mode.level = 0;
802 sc->sc_mode.packetsize = MOUSE_MSC_PACKETSIZE;
803 sc->sc_mode.syncmask[0] = MOUSE_MSC_SYNCMASK;
804 sc->sc_mode.syncmask[1] = MOUSE_MSC_SYNC;
896 buf[0] = sc->sc_mode
[all...]
H A Dwsp.c549 mousemode_t sc_mode; member in struct:wsp_softc
804 sc->sc_mode.protocol = MOUSE_PROTO_MSC;
805 sc->sc_mode.rate = -1;
806 sc->sc_mode.resolution = MOUSE_RES_UNKNOWN;
807 sc->sc_mode.packetsize = MOUSE_MSC_PACKETSIZE;
808 sc->sc_mode.syncmask[0] = MOUSE_MSC_SYNCMASK;
809 sc->sc_mode.syncmask[1] = MOUSE_MSC_SYNC;
1209 buf[0] = sc->sc_mode.syncmask[1];
1216 if (sc->sc_mode.level == 1) {
1222 sc->sc_mode
[all...]
H A Datp.c673 mousemode_t sc_mode; member in struct:atp_softc
2143 buf[0] = sc->sc_mode.syncmask[1];
2150 if (sc->sc_mode.level == 1) {
2157 sc->sc_mode.packetsize, 1);
2281 sc->sc_mode.protocol = MOUSE_PROTO_MSC;
2282 sc->sc_mode.rate = -1;
2283 sc->sc_mode.resolution = MOUSE_RES_UNKNOWN;
2284 sc->sc_mode.packetsize = MOUSE_MSC_PACKETSIZE;
2285 sc->sc_mode.syncmask[0] = MOUSE_MSC_SYNCMASK;
2286 sc->sc_mode
[all...]
H A Dukbd.c186 int sc_mode; /* input mode (K_XLATE,K_RAW,K_CODE) */ member in struct:ukbd_softc
1102 sc->sc_mode = K_XLATE;
1571 if (sc->sc_mode == K_RAW) {
1600 if (sc->sc_mode == K_RAW) {
1607 if (sc->sc_mode == K_RAW) {
1640 if (sc->sc_mode == K_CODE) {
1744 *(int *)arg = sc->sc_mode;
1756 if (sc->sc_mode != K_XLATE) {
1764 if (sc->sc_mode != *(int *)arg) {
1767 sc->sc_mode
[all...]
/freebsd-13-stable/sys/arm/freescale/imx/
H A Dimx6_ipu.c378 const struct videomode *sc_mode; member in struct:ipu_softc
661 freq = sc->sc_mode->dot_clock * 1000;
684 sc->sc_mode->htotal - 1, DI_SYNC_CLK, 0, DI_SYNC_NONE);
690 sc->sc_mode->htotal - 1, DI_SYNC_CLK, 0, DI_SYNC_CLK);
693 0, MODE_HSW(sc->sc_mode) * 2);
697 sc->sc_mode->vtotal - 1, DI_SYNC_COUNTER(DI_COUNTER_INT_HSYNC),
702 0, MODE_VSW(sc->sc_mode) * 2);
705 IPU_WRITE4(sc, di_scr_conf, sc->sc_mode->vtotal - 1);
712 MODE_VSW(sc->sc_mode) + MODE_VFP(sc->sc_mode), DI_SYNC_COUNTE
[all...]
/freebsd-13-stable/sys/dev/usb/gadget/
H A Dg_modem.c80 int sc_mode; member in struct:g_modem_softc
218 sc->sc_mode = g_modem_mode;
292 sc->sc_mode = G_MODEM_MODE_SILENT;
394 if (sc->sc_mode == G_MODEM_MODE_LOOP) {
398 } else if ((sc->sc_mode == G_MODEM_MODE_PATTERN) && (sc->sc_tx_interval != 0)) {
404 if (sc->sc_mode == G_MODEM_MODE_PATTERN) {
421 } else if (sc->sc_mode == G_MODEM_MODE_LOOP) {
470 if (sc->sc_mode == G_MODEM_MODE_LOOP) {
479 if ((sc->sc_mode == G_MODEM_MODE_SILENT) ||
H A Dg_keyboard.c121 int sc_mode; member in struct:g_keyboard_softc
194 sc->sc_mode = g_keyboard_mode;
242 sc->sc_mode = G_KEYBOARD_MODE_SILENT;
324 if (sc->sc_mode == G_KEYBOARD_MODE_SILENT) {
331 } else if (sc->sc_mode == G_KEYBOARD_MODE_PATTERN) {
H A Dg_mouse.c116 int sc_mode; member in struct:g_mouse_softc
220 sc->sc_mode = g_mouse_mode;
291 sc->sc_mode = G_MOUSE_MODE_SILENT;
374 switch (sc->sc_mode) {
H A Dg_audio.c81 int sc_mode; member in struct:g_audio_softc
235 sc->sc_mode = g_audio_mode;
243 if (sc->sc_mode != G_AUDIO_MODE_LOOP) {
306 sc->sc_mode = G_AUDIO_MODE_SILENT;
447 if (sc->sc_mode == G_AUDIO_MODE_LOOP)
455 if (sc->sc_mode == G_AUDIO_MODE_PATTERN) {
463 } else if (sc->sc_mode == G_AUDIO_MODE_LOOP) {
/freebsd-13-stable/sys/dev/hyperv/input/
H A Dhv_kbd.c256 if (sc->sc_mode == K_RAW) {
298 device_printf(sc->dev, "Unsupported mode: %d\n", sc->sc_mode);
338 *(int *)arg = sc->sc_mode;
351 if (sc->sc_mode != K_XLATE) {
359 if (sc->sc_mode != *(int *)arg) {
363 sc->sc_mode = *(int *)arg;
405 if (sc->sc_mode == K_XLATE &&
523 sc->sc_mode = K_RAW;
H A Dhv_kbdc.h85 int sc_mode; member in struct:hv_kbd_sc_t
/freebsd-13-stable/sys/dev/usb/controller/
H A Ddwc_otg_hisi.c78 sc->sc_otg.sc_mode = DWC_MODE_HOST;
H A Ddwc_otg_fdt.c114 sc->sc_otg.sc_mode = DWC_MODE_HOST;
116 sc->sc_otg.sc_mode = DWC_MODE_DEVICE;
H A Ddwc_otg.h210 uint8_t sc_mode; /* mode of operation */ member in struct:dwc_otg_softc
H A Ddwc_otg_acpi.c99 sc->sc_mode = DWC_MODE_DEVICE;
/freebsd-13-stable/sys/dev/adb/
H A Dadb_kbd.c77 int sc_mode; member in struct:adb_kbd_softc
300 sc->sc_mode = K_RAW;
605 if (sc->sc_mode == K_RAW && sc->at_buffered_char[0]) {
638 if (sc->sc_mode == K_CODE) {
641 } else if (sc->sc_mode == K_RAW) {
719 *(int *)data = sc->sc_mode;
724 if (sc->sc_mode != K_XLATE) {
732 if (sc->sc_mode != *(int *)data)
733 sc->sc_mode = *(int *)data;
/freebsd-13-stable/sys/arm/ti/am335x/
H A Dam335x_musb.c143 if (sc->sc_otg.sc_mode == MUSB2_DEVICE_MODE)
355 sc->sc_otg.sc_mode = MUSB2_HOST_MODE;
357 sc->sc_otg.sc_mode = MUSB2_DEVICE_MODE;
361 sc->sc_otg.sc_mode = MUSB2_DEVICE_MODE;
363 sc->sc_otg.sc_mode = MUSB2_HOST_MODE;
370 if (sc->sc_otg.sc_mode == MUSB2_HOST_MODE) {
/freebsd-13-stable/sys/arm/versatile/
H A Dpl050.c125 int sc_mode; /* input mode (K_XLATE,K_RAW,K_CODE) */ member in struct:kmi_softc
336 *(int *)arg = sc->sc_mode;
348 if (sc->sc_mode != K_XLATE) {
356 if (sc->sc_mode != *(int *)arg) {
359 sc->sc_mode = *(int *)arg;
385 if (sc->sc_mode == K_XLATE &&
/freebsd-13-stable/sys/dev/dpaa/
H A Dif_dtsec.c579 sc->sc_mode = DTSEC_MODE_REGULAR;
580 TUNABLE_INT_FETCH(tunable, &sc->sc_mode);
582 if (sc->sc_mode == DTSEC_MODE_REGULAR) {
593 (sc->sc_mode == DTSEC_MODE_REGULAR) ? "regular" : "independent");
638 if (sc->sc_mode == DTSEC_MODE_REGULAR) {
751 if (sc->sc_mode == DTSEC_MODE_REGULAR) {
H A Dif_dtsec.h57 int sc_mode; member in struct:dtsec_softc
/freebsd-13-stable/sys/dev/gpio/
H A Dgpiokeys.c141 int sc_mode; /* input mode (K_XLATE,K_RAW,K_CODE) */ member in struct:gpiokeys_softc
424 sc->sc_mode = K_XLATE;
752 if (sc->sc_mode == K_RAW) {
759 if (sc->sc_mode == K_CODE) {
801 *(int *)arg = sc->sc_mode;
813 if (sc->sc_mode != K_XLATE) {
821 if (sc->sc_mode != *(int *)arg) {
824 sc->sc_mode = *(int *)arg;
/freebsd-13-stable/sys/mips/mediatek/
H A Dmtk_dotg.c97 sc->sc_mode = DWC_MODE_HOST;
/freebsd-13-stable/sys/dev/hid/
H A Dhkbd.c180 int sc_mode; /* input mode (K_XLATE,K_RAW,K_CODE) */ member in struct:hkbd_softc
910 sc->sc_mode = K_XLATE;
1353 if (sc->sc_mode == K_RAW) {
1382 if (sc->sc_mode == K_RAW) {
1389 if (sc->sc_mode == K_RAW) {
1422 if (sc->sc_mode == K_CODE) {
1530 *(int *)arg = sc->sc_mode;
1542 if (sc->sc_mode != K_XLATE) {
1550 if (sc->sc_mode != *(int *)arg) {
1553 sc->sc_mode
[all...]

Completed in 230 milliseconds

12