| /linux/drivers/media/pci/cobalt/ | 
| H A D | cobalt-irq.c | 3  *  cobalt interrupt handling11 #include "cobalt-driver.h"
 12 #include "cobalt-irq.h"
 13 #include "cobalt-omnitek.h"
 17 	struct cobalt *cobalt = s->cobalt;  in cobalt_dma_stream_queue_handler()  local
 20 		COBALT_CVI_FREEWHEEL(s->cobalt, rx);  in cobalt_dma_stream_queue_handler()
 22 		COBALT_CVI_VMR(s->cobalt, rx);  in cobalt_dma_stream_queue_handler()
 24 		COBALT_CVI(s->cobalt, rx);  in cobalt_dma_stream_queue_handler()
 26 		COBALT_CVI_CLK_LOSS(s->cobalt, rx);  in cobalt_dma_stream_queue_handler()
 136 	struct cobalt *cobalt = (struct cobalt *)dev_id;  in cobalt_irq_handler()  local
 [all …]
 
 | 
| H A D | cobalt-driver.h | 3  *  cobalt driver internal defines and structures41 /* Number of cobalt device nodes. */
 45 /* Number of cobalt device streams. */
 51 /* Cobalt audio streams */
 97 /* Cobalt memory map */
 124 #define COBALT_CVI(cobalt, c) \  argument
 125 	(cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE)
 126 #define COBALT_CVI_VMR(cobalt, c) \  argument
 127 	(cobalt->bar1 + COBALT_VID_BASE + (c) * COBALT_VID_SIZE + 0x100)
 128 #define COBALT_CVI_EVCNT(cobalt, c) \  argument
 [all …]
 
 | 
| H A D | cobalt-cpld.c | 3  *  Cobalt CPLD functions11 #include "cobalt-cpld.h"
 15 static u16 cpld_read(struct cobalt *cobalt, u32 offset)  in cpld_read()  argument
 17 	return cobalt_bus_read32(cobalt->bar1, ADRS(offset));  in cpld_read()
 20 static void cpld_write(struct cobalt *cobalt, u32 offset, u16 val)  in cpld_write()  argument
 22 	return cobalt_bus_write32(cobalt->bar1, ADRS(offset), val);  in cpld_write()
 25 static void cpld_info_ver3(struct cobalt *cobalt)  in cpld_info_ver3()  argument
 32 		    cpld_read(cobalt, 0));  in cpld_info_ver3()
 35 		    cpld_read(cobalt, 0x04));  in cpld_info_ver3()
 38 		    cpld_read(cobalt, 0x08));  in cpld_info_ver3()
 [all …]
 
 | 
| H A D | Makefile | 2 cobalt-objs    := cobalt-driver.o cobalt-irq.o cobalt-v4l2.o \3 		  cobalt-i2c.o cobalt-omnitek.o cobalt-flash.o cobalt-cpld.o \
 4 		  cobalt-alsa-main.o cobalt-alsa-pcm.o
 6 obj-$(CONFIG_VIDEO_COBALT) += cobalt.o
 
 | 
| H A D | cobalt-alsa-main.c | 3  *  ALSA interface to cobalt PCM capture streams21 #include "cobalt-driver.h"
 22 #include "cobalt-alsa.h"
 23 #include "cobalt-alsa-pcm.h"
 64 	struct cobalt *cobalt = s->cobalt;  in snd_cobalt_card_set_names()  local
 68 	strscpy(sc->driver, "cobalt", sizeof(sc->driver));  in snd_cobalt_card_set_names()
 70 	/* sc->shortname is a symlink in /proc/asound: COBALT-M -> cardN */  in snd_cobalt_card_set_names()
 71 	snprintf(sc->shortname,  sizeof(sc->shortname), "cobalt-%d-%d",  in snd_cobalt_card_set_names()
 72 		 cobalt->instance, s->video_channel);  in snd_cobalt_card_set_names()
 76 		 "Cobalt %d HDMI %d",  in snd_cobalt_card_set_names()
 [all …]
 
 | 
| H A D | cobalt-i2c.c | 3  *  cobalt I2C functions11 #include "cobalt-driver.h"
 12 #include "cobalt-i2c.h"
 82 cobalt_i2c_regs(struct cobalt *cobalt, unsigned idx)  in cobalt_i2c_regs()  argument
 88 			(cobalt->bar1 + COBALT_I2C_0_BASE);  in cobalt_i2c_regs()
 91 			(cobalt->bar1 + COBALT_I2C_1_BASE);  in cobalt_i2c_regs()
 94 			(cobalt->bar1 + COBALT_I2C_2_BASE);  in cobalt_i2c_regs()
 97 			(cobalt->bar1 + COBALT_I2C_3_BASE);  in cobalt_i2c_regs()
 100 			(cobalt->bar1 + COBALT_I2C_HSMA_BASE);  in cobalt_i2c_regs()
 293 	.name = "cobalt i2c driver",
 [all …]
 
 | 
| H A D | cobalt-omnitek.c | 14 #include "cobalt-driver.h"15 #include "cobalt-omnitek.h"
 42 #define BASE			(cobalt->bar0)
 65 static void show_dma_capability(struct cobalt *cobalt)  in show_dma_capability()  argument
 98 	struct cobalt *cobalt = s->cobalt;  in omni_sg_dma_start()  local
 107 	struct cobalt *cobalt = s->cobalt;  in is_dma_done()  local
 117 	struct cobalt *cobalt = s->cobalt;  in omni_sg_dma_abort_channel()  local
 123 int omni_sg_dma_init(struct cobalt *cobalt)  in omni_sg_dma_init()  argument
 128 	cobalt->first_fifo_channel = 0;  in omni_sg_dma_init()
 129 	cobalt->dma_channels = capa & 0xf;  in omni_sg_dma_init()
 [all …]
 
 | 
| H A D | cobalt-flash.c | 3  *  Cobalt NOR flash functions14 #include "cobalt-flash.h"
 19 	.name =		"cobalt-flash",
 85 int cobalt_flash_probe(struct cobalt *cobalt)  in cobalt_flash_probe()  argument
 91 	map->virt = cobalt->bar1;  in cobalt_flash_probe()
 98 	cobalt->mtd = mtd;  in cobalt_flash_probe()
 105 	mtd->dev.parent = &cobalt->pci_dev->dev;  in cobalt_flash_probe()
 110 void cobalt_flash_remove(struct cobalt *cobalt)  in cobalt_flash_remove()  argument
 112 	if (cobalt->mtd) {  in cobalt_flash_remove()
 113 		mtd_device_unregister(cobalt->mtd);  in cobalt_flash_remove()
 [all …]
 
 | 
| H A D | cobalt-flash.h | 3  *  Cobalt NOR flash functions12 #include "cobalt-driver.h"
 14 int cobalt_flash_probe(struct cobalt *cobalt);
 15 void cobalt_flash_remove(struct cobalt *cobalt);
 
 | 
| H A D | cobalt-cpld.h | 3  *  Cobalt CPLD functions12 #include "cobalt-driver.h"
 14 void cobalt_cpld_status(struct cobalt *cobalt);
 15 bool cobalt_cpld_set_freq(struct cobalt *cobalt, unsigned freq);
 
 | 
| H A D | cobalt-alsa-pcm.c | 4  *  ALSA interface to cobalt PCM capture streams19 #include "cobalt-driver.h"
 20 #include "cobalt-alsa.h"
 21 #include "cobalt-alsa-pcm.h"
 30 			pr_info("cobalt-alsa-pcm %s: " fmt, __func__, ##arg); \
 110 	dprintk("cobalt alsa announce ptr=%p data=%p num_bytes=%zd\n", cobsc,  in cobalt_alsa_announce_pcm_data()
 309 	dprintk("cobalt alsa pb ptr=%p data=%p samples=%zd\n", cobsc,  in cobalt_alsa_pb_pcm_data()
 465 	struct cobalt *cobalt = s->cobalt;  in snd_cobalt_pcm_create()  local
 471 		cobalt_s_bit_sysctrl(cobalt,  in snd_cobalt_pcm_create()
 475 		cobalt_s_bit_sysctrl(cobalt,  in snd_cobalt_pcm_create()
 [all …]
 
 | 
| H A D | cobalt-v4l2.h | 3  *  cobalt V4L2 API9 int cobalt_nodes_register(struct cobalt *cobalt);
 10 void cobalt_nodes_unregister(struct cobalt *cobalt);
 
 | 
| H A D | cobalt-i2c.h | 3  *  cobalt I2C functions12 int cobalt_i2c_init(struct cobalt *cobalt);
 13 void cobalt_i2c_exit(struct cobalt *cobalt);
 
 | 
| H A D | cobalt-omnitek.h | 13 #include "cobalt-driver.h"29 int omni_sg_dma_init(struct cobalt *cobalt);
 34 int descriptor_list_create(struct cobalt *cobalt,
 
 | 
| H A D | cobalt-irq.h | 3  *  cobalt interrupt handling13 void cobalt_irq_log_status(struct cobalt *cobalt);
 
 | 
| H A D | Kconfig | 3 	tristate "Cisco Cobalt support"18 	  This is a video4linux driver for the Cisco PCIe Cobalt card.
 25 	  module will be called cobalt.
 
 | 
| /linux/arch/mips/cobalt/ | 
| H A D | setup.c | 24 #include <cobalt.h>30 			return "Cobalt Qube";  in get_system_type()
 32 			return "Cobalt RaQ";  in get_system_type()
 34 			return "Cobalt Qube2";  in get_system_type()
 36 			return "Cobalt RaQ2";  in get_system_type()
 38 	return "MIPS Cobalt";  in get_system_type()
 42  * Cobalt doesn't have PS/2 keyboard/mouse interfaces,
 
 | 
| H A D | led.c | 3  *  Registration of Cobalt LED platform device.12 #include <cobalt.h>
 27 		pdev = platform_device_alloc("cobalt-qube-leds", -1);  in cobalt_led_add()
 29 		pdev = platform_device_alloc("cobalt-raq-leds", -1);  in cobalt_led_add()
 
 | 
| H A D | serial.c | 3  *  Registration of Cobalt UART platform device.13 #include <cobalt.h>
 46 	 * Cobalt Qube1 has no UART.  in cobalt_uart_add()
 
 | 
| H A D | Platform | 2 # Cobalt Server4 cflags-$(CONFIG_MIPS_COBALT)	+= -I$(srctree)/arch/mips/include/asm/mach-cobalt
 
 | 
| /linux/drivers/input/misc/ | 
| H A D | cobalt_btns.c | 3  *  Cobalt button interface driver.88 	input->name = "Cobalt buttons";  in cobalt_buttons_probe()
 89 	input->phys = "cobalt/input0";  in cobalt_buttons_probe()
 117 MODULE_DESCRIPTION("Cobalt button interface driver");
 120 MODULE_ALIAS("platform:Cobalt buttons");
 125 		.name	= "Cobalt buttons",
 
 | 
| /linux/arch/mips/include/asm/mach-cobalt/ | 
| H A D | irq.h | 2  * Cobalt IRQ definitions.8  * Copyright (C) 1997 Cobalt Microserver
 17  * i8259 interrupts used on Cobalt:
 29  * CPU interrupts used on Cobalt:
 
 | 
| H A D | cobalt.h | 2  * The Cobalt board ID information.8  * Copyright (C) 1997 Cobalt Microserver
 
 | 
| /linux/drivers/leds/ | 
| H A D | leds-cobalt-qube.c | 5  * Control the Cobalt Qube/RaQ front LED58 		.name	= "cobalt-qube-leds",
 65 MODULE_DESCRIPTION("Front LED support for Cobalt Server");
 67 MODULE_ALIAS("platform:cobalt-qube-leds");
 
 | 
| /linux/drivers/video/fbdev/ | 
| H A D | cobalt_lcdfb.c | 3  *  Cobalt/SEAD3 LCD frame buffer driver.117 	.id		= "cobalt-lcd",
 329 	fb_info(info, "Cobalt server LCD frame buffer device\n");  in cobalt_lcdfb_probe()
 349 		.name	= "cobalt-lcd",
 356 MODULE_DESCRIPTION("Cobalt server LCD frame buffer driver");
 
 |