/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | ramht.c | 43 u32 co, ho; in nvkm_ramht_search() local 45 co = ho = nvkm_ramht_hash(ramht, chid, handle); in nvkm_ramht_search() 47 if (ramht->data[co].chid == chid) { in nvkm_ramht_search() 48 if (ramht->data[co].handle == handle) in nvkm_ramht_search() 49 return ramht->data[co].inst; in nvkm_ramht_search() 52 if (++co >= ramht->size) in nvkm_ramht_search() 53 co = 0; in nvkm_ramht_search() 54 } while (co != ho); in nvkm_ramht_search() 60 nvkm_ramht_update(struct nvkm_ramht *ramht, int co, struct nvkm_object *object, in nvkm_ramht_update() argument 63 struct nvkm_ramht_data *data = &ramht->data[co]; in nvkm_ramht_update() [all …]
|
/linux/crypto/ |
H A D | lskcipher.c | 29 return container_of(alg, struct lskcipher_alg, co.base); in __crypto_lskcipher_alg() 59 if (keylen < cipher->co.min_keysize || keylen > cipher->co.max_keysize) in crypto_lskcipher_setkey() 256 seq_printf(m, "min keysize : %u\n", skcipher->co.min_keysize); in crypto_lskcipher_show() 257 seq_printf(m, "max keysize : %u\n", skcipher->co.max_keysize); in crypto_lskcipher_show() 258 seq_printf(m, "ivsize : %u\n", skcipher->co.ivsize); in crypto_lskcipher_show() 259 seq_printf(m, "chunksize : %u\n", skcipher->co.chunksize); in crypto_lskcipher_show() 260 seq_printf(m, "statesize : %u\n", skcipher->co.statesize); in crypto_lskcipher_show() 275 rblkcipher.min_keysize = skcipher->co.min_keysize; in crypto_lskcipher_report() 276 rblkcipher.max_keysize = skcipher->co.max_keysize; in crypto_lskcipher_report() 277 rblkcipher.ivsize = skcipher->co.ivsize; in crypto_lskcipher_report() [all …]
|
H A D | arc4.c | 50 .co.base.cra_name = "arc4", 51 .co.base.cra_driver_name = "arc4-generic", 52 .co.base.cra_priority = 100, 53 .co.base.cra_blocksize = ARC4_BLOCK_SIZE, 54 .co.base.cra_ctxsize = sizeof(struct arc4_ctx), 55 .co.base.cra_alignmask = ARC4_ALIGN - 1, 56 .co.base.cra_module = THIS_MODULE, 57 .co.min_keysize = ARC4_MIN_KEY_SIZE, 58 .co.max_keysize = ARC4_MAX_KEY_SIZE, 59 .co.statesize = sizeof(struct arc4_ctx),
|
H A D | ecb.c | 129 inst->alg.co.base.cra_blocksize = cipher_alg->cra_blocksize; in lskcipher_alloc_instance_simple2() 130 inst->alg.co.base.cra_alignmask = cipher_alg->cra_alignmask; in lskcipher_alloc_instance_simple2() 131 inst->alg.co.base.cra_priority = cipher_alg->cra_priority; in lskcipher_alloc_instance_simple2() 132 inst->alg.co.min_keysize = cipher_alg->cra_cipher.cia_min_keysize; in lskcipher_alloc_instance_simple2() 133 inst->alg.co.max_keysize = cipher_alg->cra_cipher.cia_max_keysize; in lskcipher_alloc_instance_simple2() 134 inst->alg.co.ivsize = cipher_alg->cra_blocksize; in lskcipher_alloc_instance_simple2() 137 inst->alg.co.base.cra_ctxsize = sizeof(struct crypto_cipher *); in lskcipher_alloc_instance_simple2() 159 inst->alg.co.ivsize = 0; in crypto_ecb_create2() 188 inst->alg.co.ivsize = 0; in crypto_ecb_create() 189 if (cipher_alg->co.ivsize) in crypto_ecb_create() [all …]
|
/linux/drivers/usb/serial/ |
H A D | console.c | 55 static int usb_console_setup(struct console *co, char *options) in usb_console_setup() argument 112 port = usb_serial_port_get_by_minor(co->index); in usb_console_setup() 115 pr_err("No USB device connected to ttyUSB%i\n", co->index); in usb_console_setup() 143 tty->index = co->index; in usb_console_setup() 197 static void usb_console_write(struct console *co, in usb_console_write() argument 246 static struct tty_driver *usb_console_device(struct console *co, int *index) in usb_console_device() argument 248 struct tty_driver **p = (struct tty_driver **)co->data; in usb_console_device() 253 *index = co->index; in usb_console_device()
|
/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 112 u32 co; member 224 cfg->co = 1 << i; in mixel_dphy_config_from_opts() 229 cfg->co < 1 || cfg->co > 8) { in mixel_dphy_config_from_opts() 231 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts() 339 priv->cfg.co < 1 || priv->cfg.co > 8) { in mixel_dphy_set_pll_params() 341 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 345 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 348 phy_write(phy, CO(priv->cfg.co), DPHY_CO); in mixel_dphy_set_pll_params() 389 u32 co; in mixel_dphy_configure_lvds_phy() local 417 for (co = 1; co <= 8; co *= 2) { in mixel_dphy_configure_lvds_phy() [all …]
|
/linux/arch/m68k/atari/ |
H A D | debug.c | 42 static void atari_mfp_console_write(struct console *co, const char *str, in atari_mfp_console_write() argument 61 static void atari_scc_console_write(struct console *co, const char *str, in atari_scc_console_write() argument 78 static void atari_midi_console_write(struct console *co, const char *str, in atari_midi_console_write() argument 109 static void atari_par_console_write(struct console *co, const char *str, in atari_par_console_write() argument 132 int atari_mfp_console_wait_key(struct console *co) 139 int atari_scc_console_wait_key(struct console *co) 148 int atari_midi_console_wait_key(struct console *co)
|
/linux/Documentation/networking/devlink/ |
H A D | sfc.rst | 40 - SmartNIC application co-processor (APU) first stage boot loader version. 43 - SmartNIC application co-processor (APU) co-operating system loader version. 46 - SmartNIC application co-processor (APU) main operating system version. 49 - SmartNIC application co-processor (APU) recovery operating system version.
|
/linux/drivers/clk/ti/ |
H A D | adpll.c | 536 struct ti_adpll_clkout_data *co = to_clkout(hw); in ti_adpll_clkout_enable() local 537 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_enable() 546 struct ti_adpll_clkout_data *co = to_clkout(hw); in ti_adpll_clkout_disable() local 547 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_disable() 555 struct ti_adpll_clkout_data *co = to_clkout(hw); in ti_adpll_clkout_is_enabled() local 556 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_is_enabled() 566 struct ti_adpll_clkout_data *co = to_clkout(hw); in ti_adpll_clkout_get_parent() local 567 struct ti_adpll_data *d = co->adpll; in ti_adpll_clkout_get_parent() 578 struct ti_adpll_clkout_data *co; in ti_adpll_init_clkout() local 586 co = devm_kzalloc(d->dev, sizeof(*co), GFP_KERNEL); in ti_adpll_init_clkout() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-regulator | 4 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 70 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 94 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 109 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 124 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 149 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 164 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 179 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 194 Contact: Liam Girdwood <lrg@slimlogic.co.uk> 209 Contact: Liam Girdwood <lrg@slimlogic.co.uk> [all …]
|
H A D | sysfs-driver-hid-prodikeys | 4 Contact: Don Prince <dhprince.devel@yahoo.co.uk> 13 Contact: Don Prince <dhprince.devel@yahoo.co.uk> 23 Contact: Don Prince <dhprince.devel@yahoo.co.uk>
|
/linux/tools/memory-model/ |
H A D | lock.cat | 68 * until after the co relation has been generated. 136 (* Generate all co relations, including LKW events but not UL *) 143 (* Merge UL events into co *) 144 let co = (co | critical | (critical^-1 ; co))+ 145 let coe = co & ext 146 let coi = co & int 149 let rf = rf | ([IW | UL] ; singlestep(co) ; lk-rmw^-1) 153 let fr = rf^-1 ; co 157 show co,rf,fr
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | st-rproc.txt | 7 the bootloader starts a co-processor, the primary OS must detect its state 17 - clocks Clock for co-processor (See: ../clock/clock-bindings.txt) 18 - clock-frequency Clock frequency to set co-processor at if the bootloader 21 for the co-processor
|
/linux/drivers/tty/serial/ |
H A D | mcf.c | 473 static void mcf_console_putc(struct console *co, const char c) in mcf_console_putc() argument 475 struct uart_port *port = &(mcf_ports + co->index)->port; in mcf_console_putc() 491 static void mcf_console_write(struct console *co, const char *s, unsigned int count) in mcf_console_write() argument 494 mcf_console_putc(co, *s); in mcf_console_write() 496 mcf_console_putc(co, '\r'); in mcf_console_write() 502 static int __init mcf_console_setup(struct console *co, char *options) in mcf_console_setup() argument 510 if ((co->index < 0) || (co->index >= MCF_MAXPORTS)) in mcf_console_setup() 511 co->index = 0; in mcf_console_setup() 512 port = &mcf_ports[co->index].port; in mcf_console_setup() 519 return uart_set_options(port, co, baud, parity, bits, flow); in mcf_console_setup()
|
H A D | altera_jtaguart.c | 297 static void altera_jtaguart_console_write(struct console *co, const char *s, in altera_jtaguart_console_write() argument 300 struct uart_port *port = &altera_jtaguart_ports[co->index]; in altera_jtaguart_console_write() 305 static int __init altera_jtaguart_console_setup(struct console *co, in altera_jtaguart_console_setup() argument 310 if (co->index < 0 || co->index >= ALTERA_JTAGUART_MAXPORTS) in altera_jtaguart_console_setup() 312 port = &altera_jtaguart_ports[co->index]; in altera_jtaguart_console_setup() 340 static void altera_jtaguart_earlycon_write(struct console *co, const char *s, in altera_jtaguart_earlycon_write() argument 343 struct earlycon_device *dev = co->data; in altera_jtaguart_earlycon_write()
|
H A D | apbuart.c | 400 apbuart_console_write(struct console *co, const char *s, unsigned int count) in apbuart_console_write() argument 402 struct uart_port *port = &grlib_apbuart_ports[co->index]; in apbuart_console_write() 445 static int __init apbuart_console_setup(struct console *co, char *options) in apbuart_console_setup() argument 454 co, co->index, options); in apbuart_console_setup() 461 if (co->index >= grlib_apbuart_port_nr) in apbuart_console_setup() 462 co->index = 0; in apbuart_console_setup() 464 port = &grlib_apbuart_ports[co->index]; in apbuart_console_setup() 473 return uart_set_options(port, co, baud, parity, bits, flow); in apbuart_console_setup()
|
H A D | ma35d1_serial.c | 553 static void ma35d1serial_console_write(struct console *co, const char *s, u32 count) in ma35d1serial_console_write() argument 560 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_write() 562 co->index); in ma35d1serial_console_write() 566 up = &ma35d1serial_ports[co->index]; in ma35d1serial_console_write() 590 static int __init ma35d1serial_console_setup(struct console *co, char *options) in ma35d1serial_console_setup() argument 601 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_setup() 602 pr_debug("Console Port%x out of range\n", co->index); in ma35d1serial_console_setup() 606 np = ma35d1serial_uart_nodes[co->index]; in ma35d1serial_console_setup() 607 p = &ma35d1serial_ports[co->index]; in ma35d1serial_console_setup() 623 port = &ma35d1serial_ports[co->index].port; in ma35d1serial_console_setup() [all …]
|
H A D | sunplus-uart.c | 510 static void sunplus_console_write(struct console *co, in sunplus_console_write() argument 518 locked = uart_port_trylock_irqsave(&sunplus_console_ports[co->index]->port, &flags); in sunplus_console_write() 520 uart_port_lock_irqsave(&sunplus_console_ports[co->index]->port, &flags); in sunplus_console_write() 522 uart_console_write(&sunplus_console_ports[co->index]->port, s, count, in sunplus_console_write() 526 uart_port_unlock_irqrestore(&sunplus_console_ports[co->index]->port, flags); in sunplus_console_write() 529 static int __init sunplus_console_setup(struct console *co, char *options) in sunplus_console_setup() argument 537 if (co->index < 0 || co->index >= SUP_UART_NR) in sunplus_console_setup() 540 sup = sunplus_console_ports[co->index]; in sunplus_console_setup() 547 return uart_set_options(&sup->port, co, baud, parity, bits, flow); in sunplus_console_setup()
|
H A D | altera_uart.c | 428 static void altera_uart_console_write(struct console *co, const char *s, in altera_uart_console_write() argument 431 struct uart_port *port = &(altera_uart_ports + co->index)->port; in altera_uart_console_write() 436 static int __init altera_uart_console_setup(struct console *co, char *options) in altera_uart_console_setup() argument 444 if (co->index < 0 || co->index >= CONFIG_SERIAL_ALTERA_UART_MAXPORTS) in altera_uart_console_setup() 446 port = &altera_uart_ports[co->index].port; in altera_uart_console_setup() 453 return uart_set_options(port, co, baud, parity, bits, flow); in altera_uart_console_setup() 478 static void altera_uart_earlycon_write(struct console *co, const char *s, in altera_uart_earlycon_write() argument 481 struct earlycon_device *dev = co->data; in altera_uart_earlycon_write()
|
H A D | vt8500_serial.c | 472 static void vt8500_console_write(struct console *co, const char *s, in vt8500_console_write() argument 475 struct vt8500_port *vt8500_port = vt8500_uart_ports[co->index]; in vt8500_console_write() 478 BUG_ON(co->index < 0 || co->index >= vt8500_uart_driver.nr); in vt8500_console_write() 494 static int __init vt8500_console_setup(struct console *co, char *options) in vt8500_console_setup() argument 502 if (unlikely(co->index >= vt8500_uart_driver.nr || co->index < 0)) in vt8500_console_setup() 505 vt8500_port = vt8500_uart_ports[co->index]; in vt8500_console_setup() 514 co, baud, parity, bits, flow); in vt8500_console_setup()
|
/linux/fs/xfs/scrub/ |
H A D | btree.c | 445 struct check_owner *co; in xchk_btree_check_owner() local 447 co = kmalloc(sizeof(struct check_owner), XCHK_GFP_FLAGS); in xchk_btree_check_owner() 448 if (!co) in xchk_btree_check_owner() 451 INIT_LIST_HEAD(&co->list); in xchk_btree_check_owner() 452 co->level = level; in xchk_btree_check_owner() 453 co->daddr = xfs_buf_daddr(bp); in xchk_btree_check_owner() 454 list_add_tail(&co->list, &bs->to_check); in xchk_btree_check_owner() 690 struct check_owner *co; in xchk_btree() local 792 list_for_each_entry_safe(co, n, &bs->to_check, list) { in xchk_btree() 794 error = xchk_btree_check_block_owner(bs, co->level, in xchk_btree() [all …]
|
/linux/include/linux/ |
H A D | console.h | 336 void (*write)(struct console *co, const char *s, unsigned int count); 337 int (*read)(struct console *co, char *s, unsigned int count); 338 struct tty_driver *(*device)(struct console *co, int *index); 340 int (*setup)(struct console *co, char *options); 341 int (*exit)(struct console *co); 342 int (*match)(struct console *co, char *name, int idx, char *options);
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 391 static void univ8250_console_write(struct console *co, const char *s, in univ8250_console_write() argument 394 struct uart_8250_port *up = &serial8250_ports[co->index]; in univ8250_console_write() 399 static int univ8250_console_setup(struct console *co, char *options) in univ8250_console_setup() argument 410 if (co->index < 0 || co->index >= UART_NR) in univ8250_console_setup() 411 co->index = 0; in univ8250_console_setup() 417 for (i = nr_uarts; i <= co->index; i++) { in univ8250_console_setup() 424 port = &serial8250_ports[co->index].port; in univ8250_console_setup() 426 uart_port_set_cons(port, co); in univ8250_console_setup() 434 static int univ8250_console_exit(struct console *co) in univ8250_console_exit() argument 438 port = &serial8250_ports[co->index].port; in univ8250_console_exit() [all …]
|
/linux/Documentation/fb/ |
H A D | cmap_xfbdev.rst | 45 dr = (long) pent->co.local.red - prgb->red; 46 dg = (long) pent->co.local.green - prgb->green; 47 db = (long) pent->co.local.blue - prgb->blue; 52 co.local.red are entries that were brought in through FBIOGETCMAP which come
|
/linux/arch/sh/kernel/ |
H A D | sh_bios.c | 108 static void sh_console_write(struct console *co, const char *s, in sh_console_write() argument 120 static int __init sh_console_setup(struct console *co, char *options) in sh_console_setup() argument 132 co->cflag = cflag; in sh_console_setup()
|