Home
last modified time | relevance | path

Searched full:cobalt (Results 1 – 25 of 55) sorted by relevance

123

/linux/drivers/media/pci/cobalt/
H A Dcobalt-irq.c3 * cobalt interrupt handling
11 #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 Dcobalt-driver.h3 * cobalt driver internal defines and structures
41 /* 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 Dcobalt-cpld.c3 * Cobalt CPLD functions
11 #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 DMakefile2 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 Dcobalt-alsa-main.c3 * ALSA interface to cobalt PCM capture streams
21 #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 Dcobalt-i2c.c3 * cobalt I2C functions
11 #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 Dcobalt-omnitek.c14 #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 Dcobalt-flash.c3 * Cobalt NOR flash functions
14 #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 Dcobalt-flash.h3 * Cobalt NOR flash functions
12 #include "cobalt-driver.h"
14 int cobalt_flash_probe(struct cobalt *cobalt);
15 void cobalt_flash_remove(struct cobalt *cobalt);
H A Dcobalt-cpld.h3 * Cobalt CPLD functions
12 #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 Dcobalt-alsa-pcm.c4 * ALSA interface to cobalt PCM capture streams
19 #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 Dcobalt-v4l2.h3 * cobalt V4L2 API
9 int cobalt_nodes_register(struct cobalt *cobalt);
10 void cobalt_nodes_unregister(struct cobalt *cobalt);
H A Dcobalt-i2c.h3 * cobalt I2C functions
12 int cobalt_i2c_init(struct cobalt *cobalt);
13 void cobalt_i2c_exit(struct cobalt *cobalt);
H A Dcobalt-omnitek.h13 #include "cobalt-driver.h"
29 int omni_sg_dma_init(struct cobalt *cobalt);
34 int descriptor_list_create(struct cobalt *cobalt,
H A Dcobalt-irq.h3 * cobalt interrupt handling
13 void cobalt_irq_log_status(struct cobalt *cobalt);
H A DKconfig3 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 Dsetup.c24 #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 Dled.c3 * 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 Dserial.c3 * Registration of Cobalt UART platform device.
13 #include <cobalt.h>
46 * Cobalt Qube1 has no UART. in cobalt_uart_add()
H A DPlatform2 # Cobalt Server
4 cflags-$(CONFIG_MIPS_COBALT) += -I$(srctree)/arch/mips/include/asm/mach-cobalt
/linux/drivers/input/misc/
H A Dcobalt_btns.c3 * 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 Dirq.h2 * Cobalt IRQ definitions.
8 * Copyright (C) 1997 Cobalt Microserver
17 * i8259 interrupts used on Cobalt:
29 * CPU interrupts used on Cobalt:
H A Dcobalt.h2 * The Cobalt board ID information.
8 * Copyright (C) 1997 Cobalt Microserver
/linux/drivers/leds/
H A Dleds-cobalt-qube.c5 * Control the Cobalt Qube/RaQ front LED
58 .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 Dcobalt_lcdfb.c3 * 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");

123