/drivers/media/pci/bt8xx/ |
D | bttv-audio-hook.c | 57 unsigned int con = 0; in gvbctv3pci_audio() local 62 con = 0x000; in gvbctv3pci_audio() 64 con = 0x300; in gvbctv3pci_audio() 66 con = 0x200; in gvbctv3pci_audio() 69 gpio_bits(0x300, con); in gvbctv3pci_audio() 78 unsigned int val, con; in gvbctv5pci_audio() local 85 con = 0x000; in gvbctv5pci_audio() 89 con = 0x100; in gvbctv5pci_audio() 93 con = 0x300; in gvbctv5pci_audio() 96 if (con != (val & 0x300)) { in gvbctv5pci_audio() [all …]
|
/drivers/gpio/ |
D | gpio-samsung.c | 205 u32 con; in samsung_gpio_setcfg_2bit() local 215 con = __raw_readl(reg); in samsung_gpio_setcfg_2bit() 216 con &= ~(0x3 << shift); in samsung_gpio_setcfg_2bit() 217 con |= cfg; in samsung_gpio_setcfg_2bit() 218 __raw_writel(con, reg); in samsung_gpio_setcfg_2bit() 236 u32 con; in samsung_gpio_getcfg_2bit() local 238 con = __raw_readl(chip->base); in samsung_gpio_getcfg_2bit() 239 con >>= off * 2; in samsung_gpio_getcfg_2bit() 240 con &= 3; in samsung_gpio_getcfg_2bit() 243 return S3C_GPIO_SPECIAL(con); in samsung_gpio_getcfg_2bit() [all …]
|
/drivers/video/ |
D | pmag-aa-fb.c | 52 static int aafb_set_var(struct fb_var_screeninfo *var, int con, 226 static int aafb_get_fix(struct fb_fix_screeninfo *fix, int con, in aafb_get_fix() argument 245 static void aafb_set_disp(struct display *disp, int con, in aafb_set_disp() argument 251 aafb_set_var(&disp->var, con, &info->info); in aafb_set_disp() 257 aafb_get_fix(&fix, con, &info->info); in aafb_set_disp() 273 static int aafb_get_cmap(struct fb_cmap *cmap, int kspc, int con, in aafb_get_cmap() argument 283 static int aafb_set_cmap(struct fb_cmap *cmap, int kspc, int con, in aafb_set_cmap() argument 305 static int aafb_switch(int con, struct fb_info *info) in aafb_switch() argument 309 struct display *new = (con < 0) ? &ip->disp : (fb_display + con); in aafb_switch() 315 currcon = con; in aafb_switch() [all …]
|
/drivers/tty/vt/ |
D | vt.c | 113 const struct consw *con; member 2868 if (con_driver->con == NULL) { in con_init() 2869 con_driver->con = conswitchp; in con_init() 3005 if (con_driver->con == csw) { in do_bind_con_driver() 3162 if (con_driver->con == csw && in do_unbind_con_driver() 3178 if (con_back->con && in do_unbind_con_driver() 3180 defcsw = con_back->con; in do_unbind_con_driver() 3226 static int vt_bind(struct con_driver *con) in vt_bind() argument 3231 if (!con->con || !(con->flag & CON_DRIVER_FLAG_MODULE) || in vt_bind() 3232 con_is_graphics(con->con, con->first, con->last)) in vt_bind() [all …]
|
/drivers/tty/serial/ |
D | suncore.c | 55 int sunserial_console_match(struct console *con, struct device_node *dp, in sunserial_console_match() argument 58 if (!con) in sunserial_console_match() 61 drv->cons = con; in sunserial_console_match() 78 con->index = line; in sunserial_console_match() 79 add_preferred_console(con->name, line, NULL); in sunserial_console_match() 85 void sunserial_console_termios(struct console *con, struct device_node *uart_dp) in sunserial_console_termios() argument 166 con->cflag = cflag; in sunserial_console_termios()
|
D | earlycon.c | 32 .con = &early_con, 143 early_console_dev.con->data = &early_console_dev; in setup_earlycon() 147 if (!early_console_dev.con->write) in setup_earlycon() 150 register_console(early_console_dev.con); in setup_earlycon()
|
D | lantiq.c | 401 unsigned int con = 0; in lqasc_set_termios() local 409 con = ASCCON_M_7ASYNC; in lqasc_set_termios() 417 con = ASCCON_M_8ASYNC; in lqasc_set_termios() 424 con |= ASCCON_STP; in lqasc_set_termios() 428 con &= ~ASCCON_ODD; in lqasc_set_termios() 430 con |= ASCCON_ODD; in lqasc_set_termios() 454 con |= ASCCON_FEN | ASCCON_TOEN | ASCCON_ROEN; in lqasc_set_termios() 459 ltq_w32_mask(0, con, port->membase + LTQ_ASC_CON); in lqasc_set_termios()
|
D | vr41xx_siu.c | 769 static void siu_console_write(struct console *con, const char *s, unsigned count) in siu_console_write() argument 774 port = &siu_uart_ports[con->index]; in siu_console_write() 785 static int __init siu_console_setup(struct console *con, char *options) in siu_console_setup() argument 793 if (con->index >= SIU_PORTS_MAX) in siu_console_setup() 794 con->index = 0; in siu_console_setup() 796 port = &siu_uart_ports[con->index]; in siu_console_setup() 809 return uart_set_options(port, con, baud, parity, bits, flow); in siu_console_setup()
|
D | sunsab.c | 841 static void sunsab_console_write(struct console *con, const char *s, unsigned n) in sunsab_console_write() argument 843 struct uart_sunsab_port *up = &sunsab_ports[con->index]; in sunsab_console_write() 863 static int sunsab_console_setup(struct console *con, char *options) in sunsab_console_setup() argument 865 struct uart_sunsab_port *up = &sunsab_ports[con->index]; in sunsab_console_setup() 879 (sunsab_reg.minor - 64) + con->index); in sunsab_console_setup() 881 sunserial_console_termios(con, up->port.dev->of_node); in sunsab_console_setup() 883 switch (con->cflag & CBAUD) { in sunsab_console_setup() 924 sunsab_convert_to_sab(up, con->cflag, 0, baud, quot); in sunsab_console_setup()
|
D | sunzilog.c | 1192 sunzilog_console_write(struct console *con, const char *s, unsigned int count) in sunzilog_console_write() argument 1194 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; in sunzilog_console_write() 1214 static int __init sunzilog_console_setup(struct console *con, char *options) in sunzilog_console_setup() argument 1216 struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; in sunzilog_console_setup() 1224 (sunzilog_reg.minor - 64) + con->index, con->index); in sunzilog_console_setup() 1227 sunserial_console_termios(con, up->port.dev->of_node); in sunzilog_console_setup() 1232 switch (con->cflag & CBAUD) { in sunzilog_console_setup() 1249 sunzilog_convert_to_zs(up, con->cflag, 0, brg); in sunzilog_console_setup()
|
D | sc26xx.c | 563 static void sc26xx_console_write(struct console *con, const char *s, unsigned n) in sc26xx_console_write() argument 575 static int __init sc26xx_console_setup(struct console *con, char *options) in sc26xx_console_setup() argument 586 printk(KERN_INFO "Console: ttySC%d (SC26XX)\n", con->index); in sc26xx_console_setup() 590 return uart_set_options(port, con, baud, parity, bits, flow); in sc26xx_console_setup()
|
D | ip22zilog.c | 1011 ip22zilog_console_write(struct console *con, const char *s, unsigned int count) in ip22zilog_console_write() argument 1013 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; in ip22zilog_console_write() 1022 static int __init ip22zilog_console_setup(struct console *con, char *options) in ip22zilog_console_setup() argument 1024 struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; in ip22zilog_console_setup() 1032 printk(KERN_INFO "Console: ttyS%d (IP22-Zilog)\n", con->index); in ip22zilog_console_setup() 1044 return uart_set_options(&up->port, con, baud, parity, bits, flow); in ip22zilog_console_setup()
|
D | sunhv.c | 430 static void sunhv_console_write_paged(struct console *con, const char *s, unsigned n) in sunhv_console_write_paged() argument 489 static void sunhv_console_write_bychar(struct console *con, const char *s, unsigned n) in sunhv_console_write_bychar() argument
|
D | arc_uart.c | 649 static __init void early_serial_write(struct console *con, const char *s, in early_serial_write() argument 652 struct uart_port *port = &arc_uart_ports[con->index].port; in early_serial_write()
|
/drivers/usb/gadget/ |
D | f_uac1.c | 32 static int generic_set_cmd(struct usb_audio_control *con, u8 cmd, int value); 33 static int generic_get_cmd(struct usb_audio_control *con, u8 cmd); 365 struct usb_audio_control *con; in audio_set_intf_req() local 372 list_for_each_entry(con, &cs->control, list) { in audio_set_intf_req() 373 if (con->type == con_sel) { in audio_set_intf_req() 374 audio->set_con = con; in audio_set_intf_req() 402 struct usb_audio_control *con; in audio_get_intf_req() local 409 list_for_each_entry(con, &cs->control, list) { in audio_get_intf_req() 410 if (con->type == con_sel && con->get) { in audio_get_intf_req() 411 value = con->get(con, cmd); in audio_get_intf_req() [all …]
|
/drivers/block/paride/ |
D | pseudo.h | 75 void (*con)(void); in ps_tq_int() local 80 con = ps_continuation; in ps_tq_int() 83 if (!con) { in ps_tq_int() 90 con(); in ps_tq_int()
|
/drivers/pinctrl/ |
D | pinctrl-exynos.c | 94 unsigned int con, trig_type; in exynos_gpio_irq_set_type() local 125 con = readl(d->virt_base + reg_con); in exynos_gpio_irq_set_type() 126 con &= ~(EXYNOS_EINT_CON_MASK << shift); in exynos_gpio_irq_set_type() 127 con |= trig_type << shift; in exynos_gpio_irq_set_type() 128 writel(con, d->virt_base + reg_con); in exynos_gpio_irq_set_type() 136 con = readl(d->virt_base + reg_con); in exynos_gpio_irq_set_type() 137 con &= ~(mask << shift); in exynos_gpio_irq_set_type() 138 con |= EXYNOS_EINT_FUNC << shift; in exynos_gpio_irq_set_type() 139 writel(con, d->virt_base + reg_con); in exynos_gpio_irq_set_type() 302 unsigned long con, trig_type; in exynos_wkup_irq_set_type() local [all …]
|
/drivers/iio/adc/ |
D | exynos_adc.c | 395 u32 con; in exynos_adc_suspend() local 398 con = readl(ADC_V2_CON1(info->regs)); in exynos_adc_suspend() 399 con &= ~ADC_CON_EN_START; in exynos_adc_suspend() 400 writel(con, ADC_V2_CON1(info->regs)); in exynos_adc_suspend() 402 con = readl(ADC_V1_CON(info->regs)); in exynos_adc_suspend() 403 con |= ADC_V1_CON_STANDBY; in exynos_adc_suspend() 404 writel(con, ADC_V1_CON(info->regs)); in exynos_adc_suspend()
|
/drivers/staging/imx-drm/ |
D | imx-drm-core.c | 226 struct imx_drm_connector *con; in imx_drm_device_get() local 239 list_for_each_entry(con, &imxdrm->connector_list, list) { in imx_drm_device_get() 240 if (!try_module_get(con->owner)) { in imx_drm_device_get() 242 module_name(con->owner)); in imx_drm_device_get() 265 list_for_each_entry_continue_reverse(con, &imxdrm->connector_list, list) in imx_drm_device_get() 266 module_put(con->owner); in imx_drm_device_get() 282 struct imx_drm_connector *con; in imx_drm_device_put() local 290 list_for_each_entry(con, &imxdrm->connector_list, list) in imx_drm_device_put() 291 module_put(con->owner); in imx_drm_device_put()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_connector.h | 87 struct drm_connector *con) in nouveau_connector() argument 89 return container_of(con, struct nouveau_connector, base); in nouveau_connector()
|
/drivers/thermal/ |
D | exynos_thermal.c | 665 unsigned int con, interrupt_en; in exynos_tmu_control() local 670 con = pdata->reference_voltage << EXYNOS_TMU_REF_VOLTAGE_SHIFT | in exynos_tmu_control() 674 con |= pdata->noise_cancel_mode << EXYNOS_TMU_TRIP_MODE_SHIFT; in exynos_tmu_control() 675 con |= (EXYNOS_MUX_ADDR_VALUE << EXYNOS_MUX_ADDR_SHIFT); in exynos_tmu_control() 679 con |= EXYNOS_TMU_CORE_ON; in exynos_tmu_control() 687 con |= EXYNOS_TMU_CORE_OFF; in exynos_tmu_control() 691 writel(con, data->base + EXYNOS_TMU_REG_CONTROL); in exynos_tmu_control()
|
/drivers/mmc/host/ |
D | s3cmci.c | 153 u32 con, pre, cmdarg, cmdcon, cmdsta, r0, r1, r2, r3, timer, bsize; in dbg_dumpregs() local 156 con = readl(host->base + S3C2410_SDICON); in dbg_dumpregs() 174 prefix, con, pre, timer); in dbg_dumpregs() 1366 u32 con = readl(host->base + S3C2410_SDICON); in s3cmci_reset() local 1368 con |= S3C2440_SDICON_SDRESET; in s3cmci_reset() 1369 writel(con, host->base + S3C2410_SDICON); in s3cmci_reset() 1391 u32 con; in s3cmci_enable_sdio_irq() local 1395 con = readl(host->base + S3C2410_SDICON); in s3cmci_enable_sdio_irq() 1402 con |= S3C2410_SDICON_SDIOIRQ; in s3cmci_enable_sdio_irq() 1411 con &= ~S3C2410_SDICON_SDIOIRQ; in s3cmci_enable_sdio_irq() [all …]
|
D | omap_hsmmc.c | 554 u32 con; in omap_hsmmc_set_bus_width() local 556 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_width() 558 con |= DDR; /* configure in DDR mode */ in omap_hsmmc_set_bus_width() 560 con &= ~DDR; in omap_hsmmc_set_bus_width() 563 OMAP_HSMMC_WRITE(host->base, CON, con | DW8); in omap_hsmmc_set_bus_width() 566 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width() 571 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width() 581 u32 con; in omap_hsmmc_set_bus_mode() local 583 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_mode() 585 OMAP_HSMMC_WRITE(host->base, CON, con | OD); in omap_hsmmc_set_bus_mode() [all …]
|
/drivers/tty/serial/8250/ |
D | 8250_early.c | 153 device->con->write = early_serial8250_write; in early_serial8250_setup()
|
/drivers/i2c/busses/ |
D | i2c-omap.c | 573 u16 con = omap_i2c_read_reg(dev, OMAP_I2C_CON_REG); in omap_i2c_xfer_msg() local 574 while (con & OMAP_I2C_CON_STT) { in omap_i2c_xfer_msg() 575 con = omap_i2c_read_reg(dev, OMAP_I2C_CON_REG); in omap_i2c_xfer_msg()
|