Searched refs:cs (Results 1 - 25 of 235) sorted by last modified time

12345678910

/drivers/video/fbdev/core/
H A Dsvgalib.c304 u8 cs = 0x0d; local
320 cs = 0x0d;
323 cs = 0x09;
326 cs = 0x07;
329 cs = 0x05;
332 cs = 0x01;
341 vga_wcrt(regbase, 0x0A, cs); /* set cursor start and enable it */
/drivers/video/fbdev/
H A Dmetronomefb.c311 u16 cs; local
318 so we just set cs here and set the opcode at the end */
321 opcode = cs = 0xCC41;
323 opcode = cs = 0xCC40;
330 cs += par->metromem_cmd->args[i++];
335 par->metromem_cmd->csum = cs;
344 u16 cs; local
348 cs = par->metromem_cmd->opcode;
353 cs += par->metromem_cmd->args[i];
359 par->metromem_cmd->csum = cs;
391 u16 cs; local
[all...]
/drivers/w1/masters/
H A Domap_hdq.c235 u64 module_id, rn_le, cs, id; local
247 cs = w1_calc_crc8((u8 *)&rn_le, 7);
248 id = (cs << 56) | module_id;
/drivers/tty/
H A Dcyclades.c3441 const struct zfile_config *c, *cs; local
3450 cs = ptr + h->config_offset;
3453 if ((void *)(cs + h->n_config) > ptr + len ||
3471 for (c = cs; c < cs + h->n_config; c++) {
3492 for (c = cs; c < cs + h->n_config; c++)
H A Dn_tty.c2174 unsigned char cs; local
2178 cs = tty->link->ctrl_status;
2181 if (tty_put_user(tty, cs, b++)) {
H A Dtty_io.c44 * -- grif@cs.ucr.edu, 5-Dec-95
3555 struct console *cs[16]; local
3568 cs[i++] = c;
3569 if (i >= ARRAY_SIZE(cs))
3573 int index = cs[i]->index;
3574 struct tty_driver *drv = cs[i]->device(cs[i], &index);
3577 if (drv && (cs[i]->index > 0 || drv->major != TTY_MAJOR))
3581 cs[i]->name, cs[
[all...]
/drivers/tty/serial/
H A Dar933x_uart.c235 unsigned int cs; local
246 cs = 0;
249 cs |= AR933X_UART_CS_PARITY_EVEN;
251 cs |= AR933X_UART_CS_PARITY_ODD;
253 cs |= AR933X_UART_CS_PARITY_NONE;
285 ar933x_uart_rmw(up, AR933X_UART_CS_REG, AR933X_UART_CS_PARITY_M, cs);
/drivers/usb/gadget/function/
H A Df_uac1.c285 struct list_head cs; member in struct:f_audio
389 struct usb_audio_control_selector *cs; local
395 list_for_each_entry(cs, &audio->cs, list) {
396 if (cs->id == id) {
397 list_for_each_entry(con, &cs->control, list) {
426 struct usb_audio_control_selector *cs; local
432 list_for_each_entry(cs, &audio->cs, list) {
433 if (cs
[all...]
/drivers/usb/host/
H A Dehci-orion.c139 const struct mbus_dram_window *cs = dram->cs + i; local
141 wrl(USB_WINDOW_CTRL(i), ((cs->size - 1) & 0xffff0000) |
142 (cs->mbus_attr << 8) |
144 wrl(USB_WINDOW_BASE(i), cs->base);
H A Dxhci-mvebu.c34 const struct mbus_dram_window *cs = dram->cs + win; local
36 writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) |
40 writel((cs->base & 0xffff0000), base + USB3_WIN_BASE(win));
/drivers/usb/serial/
H A Dio_ti.c615 __u8 cs = 0; local
618 cs = (__u8)(cs + buffer[i]);
620 if (cs != rom_desc->CheckSum) {
621 pr_debug("%s - Mismatch %x - %x", __func__, rom_desc->CheckSum, cs);
757 __u8 cs = 0; local
814 cs = (__u8)(cs + buffer[i]);
825 i2c_header->CheckSum = cs;
1278 __u8 cs local
[all...]
H A Dti_usb_3410_5052.c1415 u8 cs = 0; local
1422 cs = (__u8)(cs + buffer[pos]);
1427 header->bCheckSum = cs;
/drivers/s390/char/
H A Draw3270.h223 struct string *cs, *tmp; local
227 list_for_each_entry(cs, free_list, list) {
228 if (cs->size < size)
230 if (cs->size > size + sizeof(struct string)) {
231 char *endaddr = (char *) (cs + 1) + cs->size;
234 cs->size -= size + sizeof(struct string);
235 cs = tmp;
237 list_del(&cs->list);
238 cs
247 free_string(struct list_head *free_list, struct string *cs) argument
282 struct string *cs; local
[all...]
/drivers/scsi/aic7xxx/
H A Daic79xx.h1165 struct cs *critical_sections;
H A Daic79xx_core.c3471 struct cs *cs; local
3478 cs = ahd->critical_sections;
3479 for (i = 0; i < ahd->num_critical_sections; i++, cs++) {
3481 if (cs->begin < seqaddr && cs->end >= seqaddr)
9354 struct cs cs_table[num_critical_sections];
9496 cs_count *= sizeof(struct cs);
H A Daic79xx_seq.h_shipped1169 static const struct cs {
H A Daic7xxx.h1004 struct cs *critical_sections;
H A Daic7xxx_core.c2003 struct cs *cs; local
2017 cs = ahc->critical_sections;
2018 for (i = 0; i < ahc->num_critical_sections; i++, cs++) {
2020 if (cs->begin < seqaddr && cs->end >= seqaddr)
6852 struct cs cs_table[num_critical_sections];
6943 cs_count *= sizeof(struct cs);
H A Daic7xxx_seq.h_shipped1294 static const struct cs {
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c353 critical_section_t *cs; local
438 "static const struct cs {\n"
443 for (cs = TAILQ_FIRST(&cs_tailq);
444 cs != NULL;
445 cs = TAILQ_NEXT(cs, links)) {
447 cs == TAILQ_FIRST(&cs_tailq) ? "" : ",\n",
448 cs->begin_addr, cs->end_addr);
H A Daicasm_gram.y1005 critical_section_t *cs;
1012 cs = cs_alloc();
1013 cs->begin_addr = instruction_ptr;
1021 critical_section_t *cs;
1027 cs = TAILQ_LAST(&cs_tailq, cs_tailq);
1028 cs->end_addr = instruction_ptr;
/drivers/scsi/arm/
H A Dacornscsi.c298 acornscsi_csdelay(unsigned int cs) argument
302 target_jiffies = jiffies + 1 + cs * HZ / 100;
321 /* wait 3 cs. SCSI standard says 25ms. */
395 /* wait 25 cs. SCSI standard says 250ms. */
/drivers/spi/
H A Dspi-adi-v3.c103 u8 cs; member in struct:adi_spi_device
155 if (likely(chip->cs < MAX_CTRL_CS)) {
168 if (likely(chip->cs < MAX_CTRL_CS)) {
186 if (chip->cs < MAX_CTRL_CS) {
197 if (chip->cs < MAX_CTRL_CS) {
677 chip->cs = spi->chip_select;
679 if (chip->cs < MAX_CTRL_CS) {
680 chip->ssel = (1 << chip->cs) << 8;
682 [chip->cs-1], dev_name(&spi->dev));
688 chip->cs_gpio = chip->cs
[all...]
H A Dspi-bcm2835.c127 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); local
142 if (bs->len && (cs & BCM2835_SPI_CS_RXR)) {
164 if (cs & BCM2835_SPI_CS_DONE) {
169 cs &= ~(BCM2835_SPI_CS_INTR | BCM2835_SPI_CS_INTD);
170 bcm2835_wr(bs, BCM2835_SPI_CS, cs);
190 u32 cs = BCM2835_SPI_CS_INTR | BCM2835_SPI_CS_INTD | BCM2835_SPI_CS_TA; local
207 cs |= BCM2835_SPI_CS_CPOL;
209 cs |= BCM2835_SPI_CS_CPHA;
213 cs |= BCM2835_SPI_CS_CSPOL;
214 cs |
241 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); local
[all...]
H A Dspi-bcm63xx-hsspi.c108 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned cs, argument
116 reg &= ~BIT(cs);
117 if (active == !(bs->cs_polarity & BIT(cs)))
118 reg |= BIT(cs);

Completed in 424 milliseconds

12345678910