Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Domap4-keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 ((((dbms) * 1000) / ((1 << ((ptv) + 1)) * (1000000 / 32768))) - 1)
85 static int kbd_readl(struct omap4_keypad *keypad_data, u32 offset) in kbd_readl() argument
87 return __raw_readl(keypad_data->base + in kbd_readl()
88 keypad_data->reg_offset + offset); in kbd_readl()
91 static void kbd_writel(struct omap4_keypad *keypad_data, u32 offset, u32 value) in kbd_writel() argument
94 keypad_data->base + keypad_data->reg_offset + offset); in kbd_writel()
97 static int kbd_read_irqreg(struct omap4_keypad *keypad_data, u32 offset) in kbd_read_irqreg() argument
99 return __raw_readl(keypad_data->base + in kbd_read_irqreg()
100 keypad_data->irqreg_offset + offset); in kbd_read_irqreg()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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>
12 #include <video/imx-ipu-image-convert.h>
14 #include "ipu-prv.h"
29 * the DMA channel's parameter memory!). IDMA double-buffering is used
30 * to convert each tile back-to-back when possible (see note below
36 * +---------+-----+
37 * +-----+---+ | A | B |
39 * +-----+---+ --> +---------+-----+
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dssd1307fb.txt4 - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for
7 - reg: Should contain address of the controller on the I2C bus. Most likely
9 - pwm: Should contain the pwm to use according to the OF device tree PWM
11 - solomon,height: Height in pixel of the screen driven by the controller
12 - solomon,width: Width in pixel of the screen driven by the controller
13 - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is
17 - reset-gpios: The GPIO used to reset the OLED display, if available. See
19 - vbat-supply: The supply for VBAT
20 - solomon,segment-no-remap: Display needs normal (non-inverted) data column
22 - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to.
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dtridentfb.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro>
30 #include <linux/i2c-algo-bit.h>
79 MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
81 MODULE_PARM_DESC(mode, "Initial video mode e.g. '648x480-8@60' (deprecated)");
166 fb_writeb(val, p->io_virt + reg); in t_outb()
171 return fb_readb(p->io_virt + reg); in t_inb()
176 fb_writel(v, par->io_virt + r); in writemmr()
181 return fb_readl(par->io_virt + r); in readmmr()
193 u8 reg = vga_mm_rcrt(par->io_virt, I2C) & DDC_MASK_TGUI; in tridentfb_ddc_setscl_tgui()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 - enum:
18 - solomon,ssd1305fb-i2c
19 - solomon,ssd1306fb-i2c
20 - solomon,ssd1307fb-i2c
21 - solomon,ssd1309fb-i2c
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel.c9 * Copyright (C) 2005-2007 Derek Smithies <derek@indranet.co.nz>
26 * 3. Neither the names of the above-listed copyright holders nor the names
59 _mi->sample_table[(_idx * SAMPLE_COLUMNS) + _col]
66 for (i = rix; i >= 0; i--) in rix_to_ndx()
67 if (mi->r[i].rix == rix) in rix_to_ndx()
77 usecs = mr->perfect_tx_time; in minstrel_get_tp_avg()
82 if (mr->stats.prob_avg < MINSTREL_FRAC(10, 100)) in minstrel_get_tp_avg()
97 struct minstrel_rate_stats *cur_mrs = &mi->r[i].stats; in minstrel_sort_best_tp_rates()
99 for (j = MAX_THR_RATES; j > 0; --j) { in minstrel_sort_best_tp_rates()
100 tmp_mrs = &mi->r[tp_list[j - 1]].stats; in minstrel_sort_best_tp_rates()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Dhantro_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <linux/v4l2-controls.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-vp9.h>
16 #include <media/videobuf2-core.h>
49 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data
101 * @dpb_longterm: DPB long-term
214 * @bsd_ctrl_offset: bsd offset into tile_edge
216 * @ctx_counters_offset: hw counters offset into misc
217 * @tile_info_offset: tile info offset into misc
[all …]

123456789