Home
last modified time | relevance | path

Searched +full:col +full:- +full:offset (Results 1 – 25 of 99) sorted by relevance

1234

/Linux-v6.1/sound/pci/cs46xx/
Ddsp_spos.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * 2002-07 Benny Sjostrand benny@hostmobility.com
51 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in shadow_and_reallocate_code()
54 return -EINVAL; in shadow_and_reallocate_code()
60 if (ins->code.offset > 0) { in shadow_and_reallocate_code()
75 dev_dbg(chip->card->dev, in shadow_and_reallocate_code()
80 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
82 dev_dbg(chip->card->dev, in shadow_and_reallocate_code()
95 dev_dbg(chip->card->dev, in shadow_and_reallocate_code()
102 } /* ins->code.offset > 0 */ in shadow_and_reallocate_code()
[all …]
/Linux-v6.1/drivers/gpu/ipu-v3/
Dipu-image-convert.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2012-2016 Mentor Graphics Inc.
9 #include <linux/dma-mapping.h>
10 #include <video/imx-ipu-image-convert.h>
11 #include "ipu-prv.h"
26 * the DMA channel's parameter memory!). IDMA double-buffering is used
27 * to convert each tile back-to-back when possible (see note below
33 * +---------+-----+
34 * +-----+---+ | A | B |
36 * +-----+---+ --> +---------+-----+
[all …]
/Linux-v6.1/drivers/tty/vt/
Dvc_screen.c1 // SPDX-License-Identifier: GPL-2.0
13 * /dev/vcsuN: similar to /dev/vcsaN but using 4-byte unicode values
14 * instead of 1-byte screen glyph values.
22 * aeb@cwi.nl - efter Friedas begravelse - 950211
24 * machek@k332.feld.cvut.cz - modified not to send characters to wrong console
25 * - fixed some fatal off-by-one bugs (0-- no longer == -1 -> looping and looping and looping...)
26 * - making it shorter - scr_readw are macros which expand in PRETTY long code
88 struct vc_data *vc = param->vc; in vcs_notifier()
91 int currcons = poll->cons_num; in vcs_notifier()
108 currcons--; in vcs_notifier()
[all …]
/Linux-v6.1/arch/mips/sgi-ip27/
Dip27-memory.c6 * Copyright (C) 2000, 05 by Ralf Baechle (ralf@linux-mips.org)
31 #include "ip27-common.h"
33 #define SLOT_PFNSHIFT (SLOT_SHIFT - PAGE_SHIFT)
34 #define PFN_NASIDSHFT (NASID_SHFT - PAGE_SHIFT)
64 if (router_a->rou_rflag == 1) in router_recurse()
70 router_a->rou_rflag = 1; in router_recurse()
73 if (router_a->rou_port[port].port_nasid == INVALID_NASID) in router_recurse()
77 router_a->rou_port[port].port_nasid, in router_recurse()
78 router_a->rou_port[port].port_offset); in router_recurse()
80 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse()
[all …]
/Linux-v6.1/drivers/video/fbdev/
Dtridentfb.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro>
31 #include <linux/i2c-algo-bit.h>
80 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
82 MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)");
167 fb_writeb(val, p->io_virt + reg); in t_outb()
172 return fb_readb(p->io_virt + reg); in t_inb()
177 fb_writel(v, par->io_virt + r); in writemmr()
182 return fb_readl(par->io_virt + r); in readmmr()
194 u8 reg = vga_mm_rcrt(par->io_virt, I2C) & DDC_MASK_TGUI; in tridentfb_ddc_setscl_tgui()
[all …]
/Linux-v6.1/samples/vfs/
Dtest-statx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 #define __NR_statx -1
55 tim = ts->tv_sec; in print_time()
67 printf(".%09u", ts->tv_nsec); in print_time()
81 printf("results=%x\n", stx->stx_mask); in dump_statx()
84 if (stx->stx_mask & STATX_SIZE) in dump_statx()
85 printf(" Size: %-15llu", (unsigned long long)stx->stx_size); in dump_statx()
86 if (stx->stx_mask & STATX_BLOCKS) in dump_statx()
87 printf(" Blocks: %-10llu", (unsigned long long)stx->stx_blocks); in dump_statx()
88 printf(" IO Block: %-6llu", (unsigned long long)stx->stx_blksize); in dump_statx()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/gpio/
Dgpio.txt5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
24 and bit-banged data signals:
27 gpio-controller;
28 #gpio-cells = <2>;
32 data-gpios = <&gpio1 12 0>,
38 a local offset to the GPIO line and the second cell represent consumer flags,
44 recommended to use the two-cell approach.
[all …]
/Linux-v6.1/drivers/edac/
Ddmc520_edac.c1 // SPDX-License-Identifier: GPL-2.0
4 * EDAC driver for DMC-520 memory controller.
25 /* DMC-520 registers */
43 /* DMC-520 types, masks and bitfields */
78 * The max-length message would be: "rank:7 bank:15 row:262143 col:1023".
79 * Max length is 34. Using a 40-size buffer is enough.
82 #define EDAC_MOD_NAME "dmc520-edac"
105 u32 col; member
165 * error_lock is to protect concurrent writes to the mci->error_desc through
178 static u32 dmc520_read_reg(struct dmc520_edac *pvt, u32 offset) in dmc520_read_reg() argument
[all …]
Darmada_xp_edac.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <asm/hardware/cache-l2x0.h>
11 #include <asm/hardware/cache-aurora-l2.h>
84 uint16_t col) in axp_mc_calc_address() argument
86 if (drvdata->width == 8) { in axp_mc_calc_address()
88 if (drvdata->cs_addr_sel[cs]) in axp_mc_calc_address()
93 ((col & 0x3ff) << 3)); in axp_mc_calc_address()
97 ((col & 0x3ff)) << 3)); in axp_mc_calc_address()
98 } else if (drvdata->width == 4) { in axp_mc_calc_address()
100 if (drvdata->cs_addr_sel[cs]) in axp_mc_calc_address()
[all …]
Dcpc925_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
34 #define CPC925_BIT(nr) (1UL << (CPC925_BITS_PER_REG - 1 - nr))
50 * "CPC925 Bridge and Memory Controller User Manual, SA14-2761-02".
139 #define MSCR_SCRUB_MOD_MASK 0xC0000000 /* scrub_mod - bit0:1*/
141 #define MSCR_SI_SHIFT 16 /* si - bit8:15*/
217 ERRCTRL_EOC_NF = CPC925_BIT(3), /* End-Of-Chain error */
246 LINKERR_EOC_ERR = CPC925_BIT(17), /* End-Of-Chain error */
300 pdata->total_mem = 0; in get_total_mem()
307 pdata->total_mem += size; in get_total_mem()
311 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
[all …]
/Linux-v6.1/drivers/mtd/nand/raw/
Dvf610_nfc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2009-2015 Freescale Semiconductor, Inc. and others
15 * - Untested on MPC5125 and M54418.
16 * - DMA and pipelining not used.
17 * - 2K pages or less.
18 * - HW ECC: Only 2K page with 64+ OOB.
19 * - HW ECC: Only 24 and 32-bit error correction implemented.
66 #define COMMAND_NADDR_BYTES(x) GENMASK(13, 13 - (x) + 1)
135 * ECC status - seems to consume 8 bytes (double word). The documented
138 * Calculate an offset to store the ECC status at the end of the buffer.
[all …]
Dmxc_nand.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
28 #define NFC_V1_V2_BUF_SIZE (host->regs + 0x00)
29 #define NFC_V1_V2_BUF_ADDR (host->regs + 0x04)
30 #define NFC_V1_V2_FLASH_ADDR (host->regs + 0x06)
31 #define NFC_V1_V2_FLASH_CMD (host->regs + 0x08)
32 #define NFC_V1_V2_CONFIG (host->regs + 0x0a)
33 #define NFC_V1_V2_ECC_STATUS_RESULT (host->regs + 0x0c)
34 #define NFC_V1_V2_RSLTMAIN_AREA (host->regs + 0x0e)
35 #define NFC_V21_RSLTSPARE_AREA (host->regs + 0x10)
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/
Dsolomon,ssd1307fb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Ripard <mripard@kernel.org>
11 - Javier Martinez Canillas <javierm@redhat.com>
17 - items:
18 - enum:
19 - solomon,ssd1305fb-i2c
20 - solomon,ssd1306fb-i2c
21 - solomon,ssd1307fb-i2c
[all …]
/Linux-v6.1/drivers/input/keyboard/
Domap4-keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
60 ((((dbms) * 1000) / ((1 << ((ptv) + 1)) * (1000000 / 32768))) - 1)
88 static int kbd_readl(struct omap4_keypad *keypad_data, u32 offset) in kbd_readl() argument
90 return __raw_readl(keypad_data->base + in kbd_readl()
91 keypad_data->reg_offset + offset); in kbd_readl()
94 static void kbd_writel(struct omap4_keypad *keypad_data, u32 offset, u32 value) in kbd_writel() argument
97 keypad_data->base + keypad_data->reg_offset + offset); in kbd_writel()
100 static int kbd_read_irqreg(struct omap4_keypad *keypad_data, u32 offset) in kbd_read_irqreg() argument
102 return __raw_readl(keypad_data->base + in kbd_read_irqreg()
103 keypad_data->irqreg_offset + offset); in kbd_read_irqreg()
[all …]
/Linux-v6.1/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * v4l2-tpg-core.c - Test Pattern Generator
12 #include <media/tpg/v4l2-tpg.h>
54 * Sine table: sin[0] = 127 * sin(-180 degrees)
59 0, -4, -7, -11, -13, -18, -20, -22, -26, -29, -33, -35, -37, -41, -43, -48,
60 -50, -52, -56, -58, -62, -63, -65, -69, -71, -75, -76, -78, -82, -83, -87, -88,
61 -90, -93, -94, -97, -99, -101, -103, -104, -107, -108, -110, -111, -112, -114, -115, -117,
62 -118, -119, -120, -121, -122, -123, -123, -124, -125, -125, -126, -126, -127, -127, -127, -127,
63 -127, -127, -127, -127, -126, -126, -125, -125, -124, -124, -123, -122, -121, -120, -119, -118,
64 -117, -116, -114, -113, -111, -110, -109, -107, -105, -103, -101, -100, -97, -96, -93, -91,
[all …]
/Linux-v6.1/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz>
33 u_int32_t col; in matroxfb_dh_setcolreg() local
38 if (m2info->fbcon.var.grayscale) { in matroxfb_dh_setcolreg()
42 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); in matroxfb_dh_setcolreg()
43 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); in matroxfb_dh_setcolreg()
44 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); in matroxfb_dh_setcolreg()
45 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); in matroxfb_dh_setcolreg()
47 col = (red << m2info->fbcon.var.red.offset) | in matroxfb_dh_setcolreg()
48 (green << m2info->fbcon.var.green.offset) | in matroxfb_dh_setcolreg()
[all …]
/Linux-v6.1/include/linux/
Dselection.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 extern u16 screen_glyph(const struct vc_data *vc, int offset);
39 extern u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
40 extern void complement_pos(struct vc_data *vc, int offset);
41 extern void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
53 unsigned int row, unsigned int col,
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot_vcap.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
40 u32 tg_sw; /* Current type-group */
42 u32 key_offset; /* Current entry offset */
43 u32 action_offset; /* Current action offset */
44 u32 counter_offset; /* Current counter offset */
45 u32 tg_value; /* Current type-group value */
46 u32 tg_mask; /* Current type-group mask */
52 return ocelot_target_read(ocelot, vcap->target, VCAP_CORE_UPDATE_CTRL); in vcap_read_update_ctrl()
62 if ((sel & VCAP_SEL_ENTRY) && ix >= vcap->entry_count) in vcap_cmd()
74 ocelot_target_write(ocelot, vcap->target, value, VCAP_CORE_UPDATE_CTRL); in vcap_cmd()
[all …]
/Linux-v6.1/arch/powerpc/boot/dts/
Dac14xx.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #address-cells = <1>;
15 #size-cells = <1>;
26 timebase-frequency = <40000000>; /* 40 MHz (csb/4) */
27 bus-frequency = <160000000>; /* 160 MHz csb bus */
28 clock-frequency = <400000000>; /* 400 MHz ppc core */
49 compatible = "cfi-flash";
51 #address-cells = <1>;
52 #size-cells = <1>;
53 bank-width = <2>;
[all …]
/Linux-v6.1/drivers/net/wireless/ti/wl1251/
Dboot.c1 // SPDX-License-Identifier: GPL-2.0-only
19 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); in wl1251_boot_target_enable_interrupts()
40 /* 1.2 check pWhalBus->uSelfClearTime if the in wl1251_boot_soft_reset()
43 return -1; in wl1251_boot_soft_reset()
63 * col #1: INTEGER_DIVIDER in wl1251_boot_init_seq()
64 * col #2: FRACTIONAL_DIVIDER in wl1251_boot_init_seq()
65 * col #3: ATTN_BB in wl1251_boot_init_seq()
66 * col #4: ALPHA_BB in wl1251_boot_init_seq()
67 * col #5: STOP_TIME_BB in wl1251_boot_init_seq()
68 * col #6: BB_PLL_LOOP_FILTER in wl1251_boot_init_seq()
[all …]
/Linux-v6.1/drivers/soundwire/
Dgeneric_bandwidth_allocation.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2 // Copyright(c) 2015-2020 Intel Corporation.
46 struct sdw_bus_params *b_params = &m_rt->bus->params; in sdw_compute_slave_ports()
48 port_bo = t_data->block_offset; in sdw_compute_slave_ports()
50 list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { in sdw_compute_slave_ports()
51 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports()
52 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
53 sample_int = (m_rt->bus->params.curr_dr_freq / rate); in sdw_compute_slave_ports()
56 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports()
57 ch = sdw_ch_mask_to_ch(p_rt->ch_mask); in sdw_compute_slave_ports()
[all …]
/Linux-v6.1/drivers/net/wireless/ath/ath5k/
Drfbuffer.h50 * struct ath5k_ini_rfbuffer - Initial RF Buffer settings
65 * struct ath5k_rfb_field - An RF Buffer field (register/value)
67 * @pos: Offset on the raw packet
68 * @col: Used for shifting
77 u8 col; member
81 * struct ath5k_rf_reg - RF analog register definition
100 * enum ath5k_rf_regs_idx - Map RF registers to indexes
164 /* BANK 2 len pos col */
167 /* BANK 6 len pos col */
178 #define AR5K_RF5111_PWD(_n) { 1, (135 - _n), 3 }
[all …]
/Linux-v6.1/drivers/irqchip/
Dirq-gic-v3-its.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved.
34 #include <linux/irqchip/arm-gic-v3.h>
35 #include <linux/irqchip/arm-gic-v4.h>
40 #include "irq-gic-common.h"
67 * Collection structure - just an ID, and a redistributor address to
77 * The ITS_BASER structure - contains memory information, cached
90 * The ITS structure - contains most of the infrastructure, with the
91 * top-level MSI domain, the command queue, the collections, and the
124 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS))
[all …]
/Linux-v6.1/drivers/mtd/devices/
Dpmc551.c1 // SPDX-License-Identifier: GPL-2.0-only
137 struct mypriv *priv = mtd->priv; in pmc551_erase()
138 u32 soff_hi; /* start address offset hi */ in pmc551_erase()
139 u32 eoff_hi, eoff_lo; /* end address offset hi/lo */ in pmc551_erase()
145 printk(KERN_DEBUG "pmc551_erase(pos:%ld, len:%ld)\n", (long)instr->addr, in pmc551_erase()
146 (long)instr->len); in pmc551_erase()
149 end = instr->addr + instr->len - 1; in pmc551_erase()
150 eoff_hi = end & ~(priv->asize - 1); in pmc551_erase()
151 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase()
152 eoff_lo = end & (priv->asize - 1); in pmc551_erase()
[all …]
/Linux-v6.1/tools/perf/ui/
Dbrowser.c1 // SPDX-License-Identifier: GPL-2.0
23 if (current && (!browser->use_navkeypressed || browser->navkeypressed)) in ui_browser__percent_color()
34 int ret = browser->current_color; in ui_browser__set_color()
35 browser->current_color = color; in ui_browser__set_color()
49 SLsmg_gotorc(browser->y + y, browser->x + x); in ui_browser__gotorc_title()
54 SLsmg_gotorc(browser->y + y + browser->extra_title_lines, browser->x + x); in ui_browser__gotorc()
82 if (!browser->filter || !browser->filter(browser, pos)) in ui_browser__list_head_filter_entries()
84 pos = pos->next; in ui_browser__list_head_filter_entries()
85 } while (pos != browser->entries); in ui_browser__list_head_filter_entries()
95 if (!browser->filter || !browser->filter(browser, pos)) in ui_browser__list_head_filter_prev_entries()
[all …]

1234