/drivers/ata/ |
H A D | pata_mpiix.c | 158 int cmd, ctl, irq; local 178 ctl = 0x3F6; 182 ctl = 0x376; 187 ctl_addr = devm_ioport_map(&dev->dev, ctl, 1); 191 ata_port_desc(ap, "cmd 0x%x ctl 0x%x", cmd, ctl);
|
H A D | pata_samsung_cf.c | 183 if (tf->ctl != ap->last_ctl) { 184 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); 185 ap->last_ctl = tf->ctl; 226 ata_outb(ap->host, tf->ctl | ATA_HOB, ioaddr->ctl_addr); 232 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); 233 ap->last_ctl = tf->ctl; 369 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); 371 ata_outb(ap->host, ap->ctl | ATA_SRST, ioaddr->ctl_addr); 373 ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); 374 ap->last_ctl = ap->ctl; 415 pata_s3c_set_devctl(struct ata_port *ap, u8 ctl) argument [all...] |
/drivers/net/wireless/b43/ |
H A D | leds.c | 37 u16 ctl; local 39 ctl = b43_read16(dev, B43_MMIO_GPIO_CONTROL); 41 ctl &= ~(1 << led_index); 43 ctl |= (1 << led_index); 44 b43_write16(dev, B43_MMIO_GPIO_CONTROL, ctl); 50 u16 ctl; local 52 ctl = b43_read16(dev, B43_MMIO_GPIO_CONTROL); 54 ctl |= (1 << led_index); 56 ctl &= ~(1 << led_index); 57 b43_write16(dev, B43_MMIO_GPIO_CONTROL, ctl); [all...] |
H A D | lo.h | 27 struct b43_loctl ctl; member in struct:b43_lo_calib
|
/drivers/net/ethernet/micrel/ |
H A D | ks8842.c | 434 struct ks8842_tx_dma_ctl *ctl = &adapter->dma_tx; local 435 u8 *buf = ctl->buf; 437 if (ctl->adesc) { 443 sg_dma_len(&ctl->sg) = skb->len + sizeof(u32); 454 sg_dma_address(&ctl->sg), 0, sg_dma_len(&ctl->sg), 458 if (sg_dma_len(&ctl->sg) % 4) 459 sg_dma_len(&ctl->sg) += 4 - sg_dma_len(&ctl->sg) % 4; 461 ctl 555 struct ks8842_rx_dma_ctl *ctl = &adapter->dma_rx; local 606 struct ks8842_rx_dma_ctl *ctl = &adapter->dma_rx; local 857 struct ks8842_tx_dma_ctl *ctl = &adapter->dma_tx; local [all...] |
/drivers/net/ethernet/cadence/ |
H A D | at91_ether.c | 45 u32 ctl; local 83 ctl = macb_readl(lp, NCR); 84 macb_writel(lp, NCR, ctl | MACB_BIT(RE) | MACB_BIT(TE)); 93 u32 ctl; local 97 ctl = macb_readl(lp, NCR); 98 macb_writel(lp, NCR, ctl | MACB_BIT(CLRSTAT)); 127 u32 ctl; local 130 ctl = macb_readl(lp, NCR); 131 macb_writel(lp, NCR, ctl & ~(MACB_BIT(TE) | MACB_BIT(RE))); 229 u32 intstatus, ctl; local [all...] |
/drivers/net/wan/lmc/ |
H A D | lmc_media.c | 193 lmc_hssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) argument 195 if (ctl == NULL) 206 if (ctl->clock_source && !sc->ictl.clock_source) 211 else if (!ctl->clock_source && sc->ictl.clock_source) 217 lmc_set_protocol (sc, ctl); 338 lmc_ds3_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) argument 340 if (ctl == NULL) 352 if (ctl->cable_length && !sc->ictl.cable_length) 354 else if (!ctl->cable_length && sc->ictl.cable_length) 360 if (ctl 575 lmc_ssi_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument 635 lmc_ssi_set_speed(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument 992 lmc_t1_set_status(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument 1207 lmc_set_protocol(lmc_softc_t * const sc, lmc_ctl_t * ctl) argument [all...] |
/drivers/media/pci/ttpci/ |
H A D | budget.c | 643 struct stv6110x_devctl *ctl; local 656 ctl = dvb_attach(stv6110x_attach, 661 if (ctl) { 662 tt1600_stv090x_config.tuner_init = ctl->tuner_init; 663 tt1600_stv090x_config.tuner_sleep = ctl->tuner_sleep; 664 tt1600_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; 665 tt1600_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; 666 tt1600_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; 667 tt1600_stv090x_config.tuner_set_bandwidth = ctl->tuner_set_bandwidth; 668 tt1600_stv090x_config.tuner_get_bandwidth = ctl 696 struct stv6110x_devctl *ctl; local [all...] |
/drivers/thunderbolt/ |
H A D | tb.c | 323 if (tb->ctl) { 324 tb_ctl_stop(tb->ctl); 325 tb_ctl_free(tb->ctl); 327 tb->ctl = NULL; 370 tb->ctl = tb_ctl_alloc(tb->nhi, tb_schedule_hotplug_handler, tb); 371 if (!tb->ctl) 377 tb_ctl_start(tb->ctl); 403 tb_ctl_stop(tb->ctl); 414 tb_ctl_start(tb->ctl);
|
H A D | tb.h | 13 #include "ctl.h" 105 struct tb_ctl *ctl; member in struct:tb 143 return tb_cfg_read(sw->tb->ctl, 155 return tb_cfg_write(sw->tb->ctl, 167 return tb_cfg_read(port->sw->tb->ctl, 179 return tb_cfg_write(port->sw->tb->ctl,
|
/drivers/tty/serial/ |
H A D | bcm63xx_uart.c | 206 static void bcm_uart_break_ctl(struct uart_port *port, int ctl) argument 214 if (ctl) 508 unsigned int ctl, baud, quot, ier; local 518 ctl = bcm_uart_readl(port, UART_CTL_REG); 519 ctl &= ~UART_CTL_BITSPERSYM_MASK; 523 ctl |= (0 << UART_CTL_BITSPERSYM_SHIFT); 526 ctl |= (1 << UART_CTL_BITSPERSYM_SHIFT); 529 ctl |= (2 << UART_CTL_BITSPERSYM_SHIFT); 532 ctl |= (3 << UART_CTL_BITSPERSYM_SHIFT); 536 ctl [all...] |
/drivers/dma/ioat/ |
H A D | hw.h | 72 uint32_t ctl; member in union:ioat_dma_descriptor::__anon561 106 uint32_t ctl; member in union:ioat_xor_descriptor::__anon564 153 uint32_t ctl; member in union:ioat_pq_descriptor::__anon568 202 uint32_t ctl; member in union:ioat_pq_update_descriptor::__anon571
|
/drivers/iio/adc/ |
H A D | men_z188_adc.c | 90 u32 ctl; local 92 ctl = readl(addr + Z188_CTRL_REG); 93 ctl |= Z188_CFG_AUTO; 94 writel(ctl, addr + Z188_CTRL_REG);
|
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3cdev.h | 60 int (*ctl)(struct t3cdev *dev, unsigned int req, void *data); member in struct:t3cdev
|
/drivers/pcmcia/ |
H A D | ricoh.h | 183 u16 config, ctl; local 188 ctl = RL5C4XX_16CTL_IO_TIMING | RL5C4XX_16CTL_MEM_TIMING; 191 ctl |= RL5C46X_16CTL_LEVEL_1 | RL5C46X_16CTL_LEVEL_2; 196 config_writew(socket, RL5C4XX_16BIT_CTL, ctl);
|
/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 400 struct v4l2_control *ctl) 407 ctl->id, ctl->value); 409 switch (ctl->id) { 411 ctl->value = port->ctl_brightness; 414 ctl->value = port->ctl_contrast; 417 ctl->value = port->ctl_saturation; 420 ctl->value = port->ctl_hue; 423 ctl->value = port->ctl_sharpness; 426 ctl 399 vidioc_g_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument 435 vidioc_s_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument [all...] |
H A D | saa7164-vbi.c | 372 struct v4l2_control *ctl) 379 ctl->id, ctl->value); 381 switch (ctl->id) { 383 ctl->value = port->ctl_brightness; 386 ctl->value = port->ctl_contrast; 389 ctl->value = port->ctl_saturation; 392 ctl->value = port->ctl_hue; 395 ctl->value = port->ctl_sharpness; 398 ctl 371 vidioc_g_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument 407 vidioc_s_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument [all...] |
/drivers/watchdog/ |
H A D | via_wdt.c | 77 unsigned int ctl = readl(wdt_mem); local 79 writel(ctl | VIA_WDT_TRIGGER, wdt_mem); 110 unsigned int ctl = readl(wdt_mem); local 113 writel(ctl | VIA_WDT_RUNNING | VIA_WDT_TRIGGER, wdt_mem); 121 unsigned int ctl = readl(wdt_mem); local 123 writel(ctl & ~VIA_WDT_RUNNING, wdt_mem);
|
H A D | bcm_kona_wdt.c | 117 int ctl, cur, ctl_sec, cur_sec, res; local 119 ctl = ctl_val & SECWDOG_COUNT_MASK; 122 ctl_sec = TICKS_TO_SECS(ctl, wdt); 128 wdt->resolution, ctl_sec, ctl, ctl, cur_sec,
|
/drivers/isdn/pcbit/ |
H A D | drv.c | 46 static int pcbit_ioctl(isdn_ctrl *ctl); 59 static int pcbit_command(isdn_ctrl *ctl); 236 static int pcbit_command(isdn_ctrl *ctl) argument 242 dev = finddev(ctl->driver); 250 chan = (ctl->arg & 0x0F) ? dev->b2 : dev->b1; 253 switch (ctl->command) { 255 return pcbit_ioctl(ctl); 259 info.data.setup.CalledPN = (char *) &ctl->parm.setup.phone; 272 chan->proto = (ctl->arg >> 8); 278 pcbit_set_msn(dev, ctl 805 isdn_ctrl ctl; local 865 pcbit_ioctl(isdn_ctrl *ctl) argument [all...] |
/drivers/crypto/caam/ |
H A D | ctrl.c | 635 ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root); 641 ctrlpriv->ctl, &perfmon->req_dequeued); 645 ctrlpriv->ctl, &perfmon->ob_enc_req); 649 ctrlpriv->ctl, &perfmon->ib_dec_req); 653 ctrlpriv->ctl, &perfmon->ob_enc_bytes); 657 ctrlpriv->ctl, &perfmon->ob_prot_bytes); 661 ctrlpriv->ctl, &perfmon->ib_dec_bytes); 665 ctrlpriv->ctl, &perfmon->ib_valid_bytes); 671 ctrlpriv->ctl, [all...] |
/drivers/media/usb/dvb-usb/ |
H A D | technisat-usb2.c | 512 struct stv6110x_devctl *ctl; local 514 ctl = dvb_attach(stv6110x_attach, 519 if (ctl) { 520 technisat_usb2_stv090x_config.tuner_init = ctl->tuner_init; 521 technisat_usb2_stv090x_config.tuner_sleep = ctl->tuner_sleep; 522 technisat_usb2_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; 523 technisat_usb2_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; 524 technisat_usb2_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; 525 technisat_usb2_stv090x_config.tuner_set_bandwidth = ctl->tuner_set_bandwidth; 526 technisat_usb2_stv090x_config.tuner_get_bandwidth = ctl [all...] |
/drivers/usb/gadget/udc/ |
H A D | amd5536udc.c | 182 DBG(dev, "dev control = %08x\n", readl(&dev->regs->ctl)); 300 if (readl(&ep->regs->ctl) & AMD_BIT(UDC_EPCTL_NAK)) { 340 tmp = readl(&dev->ep[ep->num].regs->ctl); 342 writel(tmp, &dev->ep[ep->num].regs->ctl); 371 tmp = readl(&ep->regs->ctl); 373 writel(tmp, &ep->regs->ctl); 425 tmp = readl(&ep->regs->ctl); 427 writel(tmp, &ep->regs->ctl); 450 tmp = readl(&ep->regs->ctl); 452 writel(tmp, &ep->regs->ctl); [all...] |
/drivers/edac/ |
H A D | edac_core.h | 58 #define edac_device_printk(ctl, level, fmt, arg...) \ 59 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) 61 #define edac_pci_printk(ctl, level, fmt, arg...) \ 62 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) 196 struct edac_device_ctl_info *ctl; /* Up pointer */ member in struct:edac_device_instance 291 /* To get from the instance's wq to the beginning of the ctl structure */
|
/drivers/i2c/busses/ |
H A D | i2c-elektor.c | 65 static void pcf_isa_setbyte(void *data, int ctl, int val) argument 67 u8 __iomem *address = ctl ? (base_iomem + 1) : base_iomem; 70 if (ctl && irq && (val & I2C_PCF_ESO)) { 82 static int pcf_isa_getbyte(void *data, int ctl) argument 84 u8 __iomem *address = ctl ? (base_iomem + 1) : base_iomem;
|