/drivers/video/fbdev/core/ |
H A D | svgalib.c | 304 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 D | metronomefb.c | 311 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 D | omap_hdq.c | 235 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 D | cyclades.c | 3441 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 D | n_tty.c | 2174 unsigned char cs; local 2178 cs = tty->link->ctrl_status; 2181 if (tty_put_user(tty, cs, b++)) {
|
H A D | tty_io.c | 44 * -- 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 D | ar933x_uart.c | 235 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 D | f_uac1.c | 285 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 D | ehci-orion.c | 139 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 D | xhci-mvebu.c | 34 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 D | io_ti.c | 615 __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 D | ti_usb_3410_5052.c | 1415 u8 cs = 0; local 1422 cs = (__u8)(cs + buffer[pos]); 1427 header->bCheckSum = cs;
|
/drivers/s390/char/ |
H A D | raw3270.h | 223 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 D | aic79xx.h | 1165 struct cs *critical_sections;
|
H A D | aic79xx_core.c | 3471 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 D | aic79xx_seq.h_shipped | 1169 static const struct cs {
|
H A D | aic7xxx.h | 1004 struct cs *critical_sections;
|
H A D | aic7xxx_core.c | 2003 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 D | aic7xxx_seq.h_shipped | 1294 static const struct cs {
|
/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm.c | 353 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 D | aicasm_gram.y | 1005 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 D | acornscsi.c | 298 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 D | spi-adi-v3.c | 103 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 D | spi-bcm2835.c | 127 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 D | spi-bcm63xx-hsspi.c | 108 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);
|