vga                71 arch/arm/mach-integrator/impd1.c #define PANELTYPE	vga
vga                72 arch/arm/mach-integrator/impd1.c static struct clcd_panel vga = {
vga                41 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = drm_connector_to_dumb_vga(connector);
vga                45 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (!vga->ddc)
vga                48 drivers/gpu/drm/bridge/dumb-vga-dac.c 	edid = drm_get_edid(connector, vga->ddc);
vga                79 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = drm_connector_to_dumb_vga(connector);
vga                87 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (vga->ddc && drm_probe_ddc(vga->ddc))
vga               104 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = drm_bridge_to_dumb_vga(bridge);
vga               112 drivers/gpu/drm/bridge/dumb-vga-dac.c 	drm_connector_helper_add(&vga->connector,
vga               114 drivers/gpu/drm/bridge/dumb-vga-dac.c 	ret = drm_connector_init_with_ddc(bridge->dev, &vga->connector,
vga               117 drivers/gpu/drm/bridge/dumb-vga-dac.c 					  vga->ddc);
vga               123 drivers/gpu/drm/bridge/dumb-vga-dac.c 	drm_connector_attach_encoder(&vga->connector,
vga               131 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = drm_bridge_to_dumb_vga(bridge);
vga               134 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (vga->vdd)
vga               135 drivers/gpu/drm/bridge/dumb-vga-dac.c 		ret = regulator_enable(vga->vdd);
vga               143 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = drm_bridge_to_dumb_vga(bridge);
vga               145 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (vga->vdd)
vga               146 drivers/gpu/drm/bridge/dumb-vga-dac.c 		regulator_disable(vga->vdd);
vga               179 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga;
vga               181 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga = devm_kzalloc(&pdev->dev, sizeof(*vga), GFP_KERNEL);
vga               182 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (!vga)
vga               184 drivers/gpu/drm/bridge/dumb-vga-dac.c 	platform_set_drvdata(pdev, vga);
vga               186 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga->vdd = devm_regulator_get_optional(&pdev->dev, "vdd");
vga               187 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (IS_ERR(vga->vdd)) {
vga               188 drivers/gpu/drm/bridge/dumb-vga-dac.c 		int ret = PTR_ERR(vga->vdd);
vga               191 drivers/gpu/drm/bridge/dumb-vga-dac.c 		vga->vdd = NULL;
vga               195 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga->ddc = dumb_vga_retrieve_ddc(&pdev->dev);
vga               196 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (IS_ERR(vga->ddc)) {
vga               197 drivers/gpu/drm/bridge/dumb-vga-dac.c 		if (PTR_ERR(vga->ddc) == -ENODEV) {
vga               200 drivers/gpu/drm/bridge/dumb-vga-dac.c 			vga->ddc = NULL;
vga               203 drivers/gpu/drm/bridge/dumb-vga-dac.c 			return PTR_ERR(vga->ddc);
vga               207 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga->bridge.funcs = &dumb_vga_bridge_funcs;
vga               208 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga->bridge.of_node = pdev->dev.of_node;
vga               209 drivers/gpu/drm/bridge/dumb-vga-dac.c 	vga->bridge.timings = of_device_get_match_data(&pdev->dev);
vga               211 drivers/gpu/drm/bridge/dumb-vga-dac.c 	drm_bridge_add(&vga->bridge);
vga               218 drivers/gpu/drm/bridge/dumb-vga-dac.c 	struct dumb_vga *vga = platform_get_drvdata(pdev);
vga               220 drivers/gpu/drm/bridge/dumb-vga-dac.c 	drm_bridge_remove(&vga->bridge);
vga               222 drivers/gpu/drm/bridge/dumb-vga-dac.c 	if (vga->ddc)
vga               223 drivers/gpu/drm/bridge/dumb-vga-dac.c 		i2c_put_adapter(vga->ddc);
vga                50 drivers/gpu/drm/virtio/virtgpu_drv.c 	bool vga = (pdev->class >> 8) == PCI_CLASS_DISPLAY_VGA;
vga                54 drivers/gpu/drm/virtio/virtgpu_drv.c 		 vga ? "virtio-vga" : "virtio-gpu-pci",
vga                57 drivers/gpu/drm/virtio/virtgpu_drv.c 	if (vga)
vga                49 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = to_zx_vga(encoder);
vga                50 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl;
vga                61 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = to_zx_vga(encoder);
vga                62 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl;
vga                81 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = to_zx_vga(connector);
vga                89 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, 0);
vga                91 drivers/gpu/drm/zte/zx_vga.c 	edid = drm_get_edid(connector, &vga->ddc->adap);
vga                99 drivers/gpu/drm/zte/zx_vga.c 		zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL,
vga               101 drivers/gpu/drm/zte/zx_vga.c 		vga->connected = false;
vga               109 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, VGA_DETECT_SEL_HAS_DEVICE);
vga               133 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = to_zx_vga(connector);
vga               135 drivers/gpu/drm/zte/zx_vga.c 	return vga->connected ? connector_status_connected :
vga               148 drivers/gpu/drm/zte/zx_vga.c static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
vga               150 drivers/gpu/drm/zte/zx_vga.c 	struct drm_encoder *encoder = &vga->encoder;
vga               151 drivers/gpu/drm/zte/zx_vga.c 	struct drm_connector *connector = &vga->connector;
vga               152 drivers/gpu/drm/zte/zx_vga.c 	struct device *dev = vga->dev;
vga               166 drivers/gpu/drm/zte/zx_vga.c 	vga->connector.polled = DRM_CONNECTOR_POLL_HPD;
vga               192 drivers/gpu/drm/zte/zx_vga.c static int zx_vga_pwrctrl_init(struct zx_vga *vga)
vga               194 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl;
vga               195 drivers/gpu/drm/zte/zx_vga.c 	struct device *dev = vga->dev;
vga               220 drivers/gpu/drm/zte/zx_vga.c static int zx_vga_i2c_read(struct zx_vga *vga, struct i2c_msg *msg)
vga               227 drivers/gpu/drm/zte/zx_vga.c 	reinit_completion(&vga->complete);
vga               230 drivers/gpu/drm/zte/zx_vga.c 	zx_writel_mask(vga->mmio + VGA_CMD_CFG, VGA_CMD_COMBO, VGA_CMD_COMBO);
vga               231 drivers/gpu/drm/zte/zx_vga.c 	zx_writel_mask(vga->mmio + VGA_CMD_CFG, VGA_CMD_RW, 0);
vga               237 drivers/gpu/drm/zte/zx_vga.c 		zx_writel_mask(vga->mmio + VGA_RXF_CTRL, VGA_RX_FIFO_CLEAR,
vga               241 drivers/gpu/drm/zte/zx_vga.c 		zx_writel(vga->mmio + VGA_SUB_ADDR, offset);
vga               244 drivers/gpu/drm/zte/zx_vga.c 		zx_writel_mask(vga->mmio + VGA_CMD_CFG, VGA_CMD_TRANS,
vga               247 drivers/gpu/drm/zte/zx_vga.c 		if (!wait_for_completion_timeout(&vga->complete,
vga               249 drivers/gpu/drm/zte/zx_vga.c 			DRM_DEV_ERROR(vga->dev, "transfer timeout\n");
vga               253 drivers/gpu/drm/zte/zx_vga.c 		cnt = zx_readl(vga->mmio + VGA_RXF_STATUS);
vga               259 drivers/gpu/drm/zte/zx_vga.c 			*buf++ = zx_readl(vga->mmio + VGA_DATA);
vga               268 drivers/gpu/drm/zte/zx_vga.c static int zx_vga_i2c_write(struct zx_vga *vga, struct i2c_msg *msg)
vga               278 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_DEVICE_ADDR, msg->addr);
vga               286 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = i2c_get_adapdata(adap);
vga               287 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga_i2c *ddc = vga->ddc;
vga               295 drivers/gpu/drm/zte/zx_vga.c 			ret = zx_vga_i2c_read(vga, &msgs[i]);
vga               297 drivers/gpu/drm/zte/zx_vga.c 			ret = zx_vga_i2c_write(vga, &msgs[i]);
vga               321 drivers/gpu/drm/zte/zx_vga.c static int zx_vga_ddc_register(struct zx_vga *vga)
vga               323 drivers/gpu/drm/zte/zx_vga.c 	struct device *dev = vga->dev;
vga               332 drivers/gpu/drm/zte/zx_vga.c 	vga->ddc = ddc;
vga               348 drivers/gpu/drm/zte/zx_vga.c 	i2c_set_adapdata(adap, vga);
vga               355 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = dev_id;
vga               357 drivers/gpu/drm/zte/zx_vga.c 	drm_helper_hpd_irq_event(vga->connector.dev);
vga               364 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = dev_id;
vga               367 drivers/gpu/drm/zte/zx_vga.c 	status = zx_readl(vga->mmio + VGA_I2C_STATUS);
vga               370 drivers/gpu/drm/zte/zx_vga.c 	zx_writel_mask(vga->mmio + VGA_I2C_STATUS, VGA_CLEAR_IRQ,
vga               380 drivers/gpu/drm/zte/zx_vga.c 		vga->connected = true;
vga               385 drivers/gpu/drm/zte/zx_vga.c 		zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL,
vga               387 drivers/gpu/drm/zte/zx_vga.c 		vga->connected = false;
vga               392 drivers/gpu/drm/zte/zx_vga.c 		complete(&vga->complete);
vga               399 drivers/gpu/drm/zte/zx_vga.c static void zx_vga_hw_init(struct zx_vga *vga)
vga               401 drivers/gpu/drm/zte/zx_vga.c 	unsigned long ref = clk_get_rate(vga->i2c_wclk);
vga               409 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_CLK_DIV_FS, div);
vga               412 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_AUTO_DETECT_PARA, 0x80);
vga               413 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, VGA_DETECT_SEL_NO_DEVICE);
vga               419 drivers/gpu/drm/zte/zx_vga.c 	zx_writel(vga->mmio + VGA_DEVICE_ADDR, DDC_ADDR);
vga               420 drivers/gpu/drm/zte/zx_vga.c 	zx_writel_mask(vga->mmio + VGA_CMD_CFG, VGA_CMD_TRANS, VGA_CMD_TRANS);
vga               428 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga;
vga               432 drivers/gpu/drm/zte/zx_vga.c 	vga = devm_kzalloc(dev, sizeof(*vga), GFP_KERNEL);
vga               433 drivers/gpu/drm/zte/zx_vga.c 	if (!vga)
vga               436 drivers/gpu/drm/zte/zx_vga.c 	vga->dev = dev;
vga               437 drivers/gpu/drm/zte/zx_vga.c 	dev_set_drvdata(dev, vga);
vga               440 drivers/gpu/drm/zte/zx_vga.c 	vga->mmio = devm_ioremap_resource(dev, res);
vga               441 drivers/gpu/drm/zte/zx_vga.c 	if (IS_ERR(vga->mmio))
vga               442 drivers/gpu/drm/zte/zx_vga.c 		return PTR_ERR(vga->mmio);
vga               448 drivers/gpu/drm/zte/zx_vga.c 	vga->i2c_wclk = devm_clk_get(dev, "i2c_wclk");
vga               449 drivers/gpu/drm/zte/zx_vga.c 	if (IS_ERR(vga->i2c_wclk)) {
vga               450 drivers/gpu/drm/zte/zx_vga.c 		ret = PTR_ERR(vga->i2c_wclk);
vga               455 drivers/gpu/drm/zte/zx_vga.c 	ret = zx_vga_pwrctrl_init(vga);
vga               461 drivers/gpu/drm/zte/zx_vga.c 	ret = zx_vga_ddc_register(vga);
vga               467 drivers/gpu/drm/zte/zx_vga.c 	ret = zx_vga_register(drm, vga);
vga               473 drivers/gpu/drm/zte/zx_vga.c 	init_completion(&vga->complete);
vga               477 drivers/gpu/drm/zte/zx_vga.c 					dev_name(dev), vga);
vga               483 drivers/gpu/drm/zte/zx_vga.c 	ret = clk_prepare_enable(vga->i2c_wclk);
vga               487 drivers/gpu/drm/zte/zx_vga.c 	zx_vga_hw_init(vga);
vga               495 drivers/gpu/drm/zte/zx_vga.c 	struct zx_vga *vga = dev_get_drvdata(dev);
vga               497 drivers/gpu/drm/zte/zx_vga.c 	clk_disable_unprepare(vga->i2c_wclk);
vga               191 drivers/media/dvb-frontends/cx24113.c 	   vga    = cx24113_readreg(state, 0x1f) & 0x3f,
vga               206 drivers/media/dvb-frontends/cx24113.c 		vga   |= (VGA_7 << 3) | VGA_7;
vga               209 drivers/media/dvb-frontends/cx24113.c 		vga  |= (VGA_6 << 3) | VGA_2;
vga               214 drivers/media/dvb-frontends/cx24113.c 	cx24113_writereg(state, 0x1f, vga);
vga               133 drivers/media/pci/solo6x10/solo6x10-enc.c 	const struct font_desc *vga = find_font("VGA8x16");
vga               137 drivers/media/pci/solo6x10/solo6x10-enc.c 	if (WARN_ON_ONCE(!vga))
vga               148 drivers/media/pci/solo6x10/solo6x10-enc.c 	vga_data = (const u8 *)vga->data;
vga                37 drivers/media/usb/gspca/jl2005bcd.c 	int vga;	/* 1 if vga cam, 0 if cif cam */
vga              1033 drivers/pinctrl/meson/pinctrl-meson8.c 	FUNCTION(vga),
vga               487 drivers/platform/x86/compal-laptop.c TEMPERATURE_SHOW_TEMP_AND_LABEL(vga,        TEMP_VGA,        "VGA_TEMP");