Searched refs:devflags (Results 1 - 17 of 17) sorted by relevance

/linux-4.4.14/drivers/usb/isp1760/
H A Disp1760-core.c51 if (isp->devflags & ISP1760_FLAG_BUS_WIDTH_16) isp1760_init_core()
53 if (isp->devflags & ISP1760_FLAG_ANALOG_OC) isp1760_init_core()
55 if (isp->devflags & ISP1760_FLAG_DACK_POL_HIGH) isp1760_init_core()
57 if (isp->devflags & ISP1760_FLAG_DREQ_POL_HIGH) isp1760_init_core()
59 if (isp->devflags & ISP1760_FLAG_INTR_POL_HIGH) isp1760_init_core()
61 if (isp->devflags & ISP1760_FLAG_INTR_EDGE_TRIG) isp1760_init_core()
70 if (isp->devflags & ISP1760_FLAG_ISP1761) { isp1760_init_core()
90 if ((isp->devflags & ISP1760_FLAG_ISP1761) && isp1760_init_core()
91 (isp->devflags & ISP1760_FLAG_OTG_EN)) isp1760_init_core()
101 isp->devflags & ISP1760_FLAG_BUS_WIDTH_16 ? 16 : 32, isp1760_init_core()
102 isp->devflags & ISP1760_FLAG_ANALOG_OC ? "analog" : "digital"); isp1760_init_core()
112 struct device *dev, unsigned int devflags) isp1760_register()
115 bool udc_disabled = !(devflags & ISP1760_FLAG_ISP1761); isp1760_register()
134 isp->devflags = devflags; isp1760_register()
111 isp1760_register(struct resource *mem, int irq, unsigned long irqflags, struct device *dev, unsigned int devflags) isp1760_register() argument
H A Disp1760-if.c126 unsigned int devflags = 0; isp1761_pci_probe() local
143 devflags); isp1761_pci_probe()
191 unsigned int devflags = 0; isp1760_plat_probe() local
210 devflags |= ISP1760_FLAG_ISP1761; isp1760_plat_probe()
215 devflags |= ISP1760_FLAG_BUS_WIDTH_16; isp1760_plat_probe()
218 devflags |= ISP1760_FLAG_OTG_EN; isp1760_plat_probe()
221 devflags |= ISP1760_FLAG_ANALOG_OC; isp1760_plat_probe()
224 devflags |= ISP1760_FLAG_DACK_POL_HIGH; isp1760_plat_probe()
227 devflags |= ISP1760_FLAG_DREQ_POL_HIGH; isp1760_plat_probe()
233 devflags |= ISP1760_FLAG_ISP1761; isp1760_plat_probe()
235 devflags |= ISP1760_FLAG_BUS_WIDTH_16; isp1760_plat_probe()
237 devflags |= ISP1760_FLAG_OTG_EN; isp1760_plat_probe()
239 devflags |= ISP1760_FLAG_ANALOG_OC; isp1760_plat_probe()
241 devflags |= ISP1760_FLAG_DACK_POL_HIGH; isp1760_plat_probe()
243 devflags |= ISP1760_FLAG_DREQ_POL_HIGH; isp1760_plat_probe()
247 devflags); isp1760_plat_probe()
H A Disp1760-core.h29 * indicate the most "atypical" case, so that a devflags of 0 is
45 unsigned int devflags; member in struct:isp1760_device
53 struct device *dev, unsigned int devflags);
/linux-4.4.14/drivers/video/fbdev/matrox/
H A Dmatroxfb_DAC1064.c107 if (minfo->devflags.noinit) { DBG()
264 if (minfo->devflags.g450dac) { DAC1064_global_init()
336 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG400) { DAC1064_global_restore()
338 outDAC1064(minfo, 0x1F, minfo->devflags.dfp_type); DAC1064_global_restore()
339 if (minfo->devflags.g450dac) { DAC1064_global_restore()
686 if (minfo->devflags.noinit) MGA1064_preinit()
690 if (minfo->devflags.novga) MGA1064_preinit()
692 if (minfo->devflags.nobios) MGA1064_preinit()
694 if (minfo->devflags.nopciretry) MGA1064_preinit()
797 if (minfo->devflags.novga) g450_preinit()
799 if (minfo->devflags.nobios) g450_preinit()
801 if (minfo->devflags.nopciretry) g450_preinit()
852 if (minfo->devflags.g450dac) { DBG()
869 minfo->capable.plnwt = minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG100
870 ? minfo->devflags.sgram : 1;
872 if (minfo->devflags.g450dac) {
881 if (minfo->devflags.g450dac) {
886 if (minfo->devflags.noinit)
888 if (minfo->devflags.g450dac) {
894 if (minfo->devflags.novga)
896 if (minfo->devflags.nobios)
898 if (minfo->devflags.nopciretry)
903 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG100) {
935 } else if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG200) {
940 if (minfo->devflags.memtype == -1)
943 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10;
944 if (minfo->devflags.sgram)
960 if (minfo->devflags.memtype == -1)
963 hw->MXoptionReg |= (minfo->devflags.memtype & 7) << 10;
964 if (minfo->devflags.sgram)
999 if (!minfo->devflags.noinit) { DBG()
1007 if (minfo->devflags.g450dac) {
1015 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG400) {
1016 if (minfo->devflags.dfp_type == -1) {
1017 minfo->devflags.dfp_type = inDAC1064(minfo, 0x1F);
1020 if (minfo->devflags.noinit)
1022 if (minfo->devflags.g450dac) {
1080 if (minfo->devflags.support32MB) MGAG100_restore()
H A Dmatroxfb_base.c229 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG400) matroxfb_enable_irq()
260 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG400) matroxfb_disable_irq()
279 if (minfo->devflags.accelerator != FB_ACCEL_MATROX_MGAG400) { matroxfb_wait_for_sync()
339 if (minfo->devflags.support32MB) matrox_pan_var()
441 if (minfo->devflags.video64bits) matroxfb_get_final_bppShift()
466 if (minfo->devflags.accelerator == FB_ACCEL_MATROX_MGAG400) DBG()
491 if (minfo->devflags.precise_width) { matroxfb_pitch_adjust()
716 fix->accel = minfo->devflags.accelerator; matroxfb_init_fix()
774 ydstorg += minfo->devflags.ydstorg;
1005 if (minfo->devflags.panellink) {
1062 if (minfo->devflags.panellink) {
1591 if (minfo->devflags.g450dac) { setDefaultOutputs()
1608 } else if (c == '2' && minfo->devflags.crtc2) { setDefaultOutputs()
1637 minfo->devflags.accelerator = b->base->accelID; initMatrox2()
1644 minfo->devflags.video64bits = b->flags & DEVF_VIDEO64BIT; initMatrox2()
1646 minfo->devflags.vgastep = 4; initMatrox2()
1647 minfo->devflags.textmode = 4; initMatrox2()
1648 minfo->devflags.text_type_aux = FB_AUX_TEXT_MGA_STEP16; initMatrox2()
1650 minfo->devflags.vgastep = 16; initMatrox2()
1651 minfo->devflags.textmode = 1; initMatrox2()
1652 minfo->devflags.text_type_aux = FB_AUX_TEXT_MGA_STEP16; initMatrox2()
1654 minfo->devflags.vgastep = 8; initMatrox2()
1655 minfo->devflags.textmode = 1; initMatrox2()
1656 minfo->devflags.text_type_aux = FB_AUX_TEXT_MGA_STEP8; initMatrox2()
1658 minfo->devflags.support32MB = (b->flags & DEVF_SUPPORT32MB) != 0; initMatrox2()
1659 minfo->devflags.precise_width = !(b->flags & DEVF_ANY_VXRES); initMatrox2()
1660 minfo->devflags.crtc2 = (b->flags & DEVF_CRTC2) != 0; initMatrox2()
1661 minfo->devflags.maven_capable = (b->flags & DEVF_MAVEN_CAPABLE) != 0; initMatrox2()
1662 minfo->devflags.dualhead = (b->flags & DEVF_DUALHEAD) != 0; initMatrox2()
1663 minfo->devflags.dfp_type = dfp_type; initMatrox2()
1664 minfo->devflags.g450dac = (b->flags & DEVF_G450DAC) != 0; initMatrox2()
1665 minfo->devflags.textstep = minfo->devflags.vgastep * minfo->devflags.textmode; initMatrox2()
1666 minfo->devflags.textvram = 65536 / minfo->devflags.textmode; initMatrox2()
1673 minfo->devflags.panellink = 1; initMatrox2()
1681 minfo->devflags.fbResource = PCI_BASE_ADDRESS_0; initMatrox2()
1685 minfo->devflags.fbResource = PCI_BASE_ADDRESS_1; initMatrox2()
1737 if (!(mga_option & 0x20000000) && !minfo->devflags.nopciretry) { initMatrox2()
1741 minfo->devflags.nopciretry = 1; initMatrox2()
1763 minfo->devflags.ydstorg = 0; initMatrox2()
1773 if (!minfo->devflags.novga) initMatrox2()
2070 minfo->devflags.memtype = memtype; matroxfb_probe()
2074 minfo->devflags.novga = novga; matroxfb_probe()
2075 minfo->devflags.nobios = nobios; matroxfb_probe()
2076 minfo->devflags.noinit = noinit; matroxfb_probe()
2082 minfo->devflags.novga = 1; matroxfb_probe()
2083 minfo->devflags.nobios = 1; matroxfb_probe()
2084 minfo->devflags.noinit = 0; matroxfb_probe()
2087 minfo->devflags.nopciretry = no_pci_retry; matroxfb_probe()
2088 minfo->devflags.mga_24bpp_fix = inv24; matroxfb_probe()
2089 minfo->devflags.precise_width = option_precise_width; matroxfb_probe()
2090 minfo->devflags.sgram = sgram; matroxfb_probe()
H A Dmatroxfb_Ti3026.c356 if (minfo->devflags.mga_24bpp_fix) Ti3026_setpclk()
552 if (minfo->devflags.noinit) ti3026_ramdac_init()
704 if (minfo->devflags.noinit) Ti3026_preinit()
709 if (minfo->devflags.novga) Ti3026_preinit()
711 if (minfo->devflags.nobios) Ti3026_preinit()
713 if (minfo->devflags.nopciretry) Ti3026_preinit()
H A Di2c-matroxfb.c172 if (minfo->devflags.dualhead) { i2c_matroxfb_probe()
H A Dmatroxfb_crtc2.c86 if (minfo->devflags.g450dac) { matroxfb_dh_restore()
484 if (minfo->devflags.panellink) { DBG()
536 if (minfo->devflags.panellink) { DBG()
696 if (!minfo->devflags.crtc2) matroxfb_crtc2_probe()
H A Dmatroxfb_g450.c604 if (minfo->devflags.g450dac) { matroxfb_g450_connect()
621 if (minfo->devflags.g450dac) { matroxfb_g450_shutdown()
H A Dmatroxfb_base.h460 } devflags; member in struct:matrox_fb_info
H A Dmatroxfb_misc.c774 pci_read_config_dword(pdev, minfo->devflags.fbResource, &fbbase); matroxfb_read_pins()
/linux-4.4.14/drivers/scsi/
H A Deata_pio.c259 hd->devflags |= (1 << cp->cp_id); eata_pio_int_handler()
260 } else if (hd->devflags & (1 << cp->cp_id)) eata_pio_int_handler()
755 SD(sh)->devflags = 1 << gc->scsi_id[3]; register_pio_HBA()
H A Deata_generic.h355 __u16 devflags; /* bits set for detected devices */ member in struct:hstd
/linux-4.4.14/include/uapi/linux/raid/
H A Dmd_p.h268 __u8 devflags; /* per-device flags. Only one defined...*/ member in struct:mdp_superblock_1
/linux-4.4.14/include/linux/
H A Dparport.h245 unsigned long devflags; member in struct:parport
/linux-4.4.14/drivers/parport/
H A Dshare.c797 if (!test_and_set_bit(PARPORT_DEVPROC_REGISTERED, &port->devflags)) { parport_register_device()
981 clear_bit(PARPORT_DEVPROC_REGISTERED, &port->devflags); parport_unregister_device()
/linux-4.4.14/drivers/md/
H A Dmd.c1673 if (sb->devflags & WriteMostly1) super_1_validate()
1717 sb->devflags |= WriteMostly1; super_1_sync()
1719 sb->devflags &= ~WriteMostly1; super_1_sync()

Completed in 371 milliseconds