Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 5232) sorted by relevance

12345678910>>...210

/linux-6.12.1/sound/usb/line6/
Dmidibuf.c33 static int midibuf_is_empty(struct midi_buffer *this) in midibuf_is_empty() argument
35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
38 static int midibuf_is_full(struct midi_buffer *this) in midibuf_is_full() argument
40 return this->full; in midibuf_is_full()
43 void line6_midibuf_reset(struct midi_buffer *this) in line6_midibuf_reset() argument
45 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()
46 this->command_prev = -1; in line6_midibuf_reset()
49 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument
51 this->buf = kmalloc(size, GFP_KERNEL); in line6_midibuf_init()
53 if (this->buf == NULL) in line6_midibuf_init()
[all …]
/linux-6.12.1/drivers/mtd/nand/onenand/
Donenand_base.c224 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
227 if (block & this->density_mask) in onenand_block_address()
228 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
241 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
244 if (block & this->density_mask) in onenand_bufferram_address()
301 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
305 if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) { in flexonenand_block()
307 addr -= this->diesize[0]; in flexonenand_block()
310 boundary = this->boundary[die]; in flexonenand_block()
312 blk = addr >> (this->erase_shift - 1); in flexonenand_block()
[all …]
Donenand_bbt.c58 struct onenand_chip *this = mtd->priv; in create_bbt() local
59 struct bbm_info *bbm = this->bbm; in create_bbt()
79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
95 from + j * this->writesize + bd->offs, &ops); in create_bbt()
102 scanlen, this->writesize, bd)) { in create_bbt()
112 if (FLEXONENAND(this)) { in create_bbt()
133 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local
135 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
146 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
147 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt()
[all …]
Donenand_samsung.c218 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw() local
220 int reg = addr - this->base; in s3c_onenand_readw()
268 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_writew() local
270 unsigned int reg = addr - this->base; in s3c_onenand_writew()
379 struct onenand_chip *this = mtd->priv; in s3c_onenand_command() local
386 fba = (int) (addr >> this->erase_shift); in s3c_onenand_command()
387 fpa = (int) (addr >> this->page_shift); in s3c_onenand_command()
388 fpa &= this->page_mask; in s3c_onenand_command()
398 ONENAND_SET_NEXT_BUFFERRAM(this); in s3c_onenand_command()
404 index = ONENAND_CURRENT_BUFFERRAM(this); in s3c_onenand_command()
[all …]
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_pixpll.c104 struct lsdc_pixpll *this = (struct lsdc_pixpll *)data; in lsdc_pixel_pll_free() local
106 iounmap(this->mmio); in lsdc_pixel_pll_free()
108 kfree(this->priv); in lsdc_pixel_pll_free()
118 static int lsdc_pixel_pll_setup(struct lsdc_pixpll * const this) in lsdc_pixel_pll_setup() argument
122 this->mmio = ioremap(this->reg_base, this->reg_size); in lsdc_pixel_pll_setup()
123 if (!this->mmio) in lsdc_pixel_pll_setup()
128 iounmap(this->mmio); in lsdc_pixel_pll_setup()
134 this->priv = pparms; in lsdc_pixel_pll_setup()
136 return drmm_add_action_or_reset(this->ddev, lsdc_pixel_pll_free, this); in lsdc_pixel_pll_setup()
149 static int lsdc_pixpll_find(struct lsdc_pixpll * const this, in lsdc_pixpll_find() argument
[all …]
Dlsdc_gfxpll.c59 static void __gfxpll_rreg(struct loongson_gfxpll *this, in __gfxpll_rreg() argument
63 reg->d = readq(this->mmio); in __gfxpll_rreg()
65 reg->w[0] = readl(this->mmio); in __gfxpll_rreg()
66 reg->w[1] = readl(this->mmio + 4); in __gfxpll_rreg()
72 static int loongson_gfxpll_update(struct loongson_gfxpll * const this, in loongson_gfxpll_update() argument
80 static void loongson_gfxpll_get_rates(struct loongson_gfxpll * const this, in loongson_gfxpll_get_rates() argument
85 struct loongson_gfxpll_parms *pparms = &this->parms; in loongson_gfxpll_get_rates()
92 __gfxpll_rreg(this, &gfxpll_reg); in loongson_gfxpll_get_rates()
117 static void loongson_gfxpll_print(struct loongson_gfxpll * const this, in loongson_gfxpll_print() argument
121 struct loongson_gfxpll_parms *parms = &this->parms; in loongson_gfxpll_print()
[all …]
/linux-6.12.1/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c119 static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v) in __gpmi_enable_clk() argument
126 clk = this->resources.clock[i]; in __gpmi_enable_clk()
142 clk_disable_unprepare(this->resources.clock[i - 1]); in __gpmi_enable_clk()
146 static int gpmi_init(struct gpmi_nand_data *this) in gpmi_init() argument
148 struct resources *r = &this->resources; in gpmi_init()
151 ret = pm_runtime_resume_and_get(this->dev); in gpmi_init()
163 ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this)); in gpmi_init()
189 pm_runtime_mark_last_busy(this->dev); in gpmi_init()
190 pm_runtime_put_autosuspend(this->dev); in gpmi_init()
195 static void gpmi_dump_info(struct gpmi_nand_data *this) in gpmi_dump_info() argument
[all …]
/linux-6.12.1/drivers/mtd/nand/raw/
Dnand_bbt.c166 static int read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num, in read_bbt() argument
169 struct mtd_info *mtd = nand_to_mtd(this); in read_bbt()
180 from = ((loff_t)page) << this->page_shift; in read_bbt()
183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
219 this->bbt_erase_shift); in read_bbt()
220 bbt_mark_entry(this, offs + act, in read_bbt()
231 this->bbt_erase_shift); in read_bbt()
234 bbt_mark_entry(this, offs + act, in read_bbt()
237 bbt_mark_entry(this, offs + act, in read_bbt()
259 static int read_abs_bbt(struct nand_chip *this, uint8_t *buf, in read_abs_bbt() argument
[all …]
Dau1550nd.c27 static struct au1550nd_ctx *chip_to_au_ctx(struct nand_chip *this) in chip_to_au_ctx() argument
29 return container_of(this, struct au1550nd_ctx, chip); in chip_to_au_ctx()
40 static void au_write_buf(struct nand_chip *this, const void *buf, in au_write_buf() argument
43 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); in au_write_buf()
61 static void au_read_buf(struct nand_chip *this, void *buf, in au_read_buf() argument
64 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); in au_read_buf()
82 static void au_write_buf16(struct nand_chip *this, const void *buf, in au_write_buf16() argument
85 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); in au_write_buf16()
104 static void au_read_buf16(struct nand_chip *this, void *buf, unsigned int len) in au_read_buf16() argument
106 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); in au_read_buf16()
[all …]
Ddiskonchip.c292 static void doc2000_write_byte(struct nand_chip *this, u_char datum) in doc2000_write_byte() argument
294 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_write_byte()
303 static void doc2000_writebuf(struct nand_chip *this, const u_char *buf, in doc2000_writebuf() argument
306 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_writebuf()
320 static void doc2000_readbuf(struct nand_chip *this, u_char *buf, int len) in doc2000_readbuf() argument
322 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_readbuf()
345 static void doc200x_readid(struct nand_chip *this, unsigned int cs, u8 *id) in doc200x_readid() argument
359 this->controller->ops->exec_op(this, &op, false); in doc200x_readid()
364 struct nand_chip *this = mtd_to_nand(mtd); in doc200x_ident_chip() local
365 struct doc_priv *doc = nand_get_controller_data(this); in doc200x_ident_chip()
[all …]
/linux-6.12.1/drivers/s390/net/
Dfsm.c21 fsm_instance *this; in init_fsm() local
25 this = kzalloc(sizeof(fsm_instance), order); in init_fsm()
26 if (this == NULL) { in init_fsm()
31 strscpy(this->name, name, sizeof(this->name)); in init_fsm()
32 init_waitqueue_head(&this->wait_q); in init_fsm()
38 kfree_fsm(this); in init_fsm()
45 this->f = f; in init_fsm()
51 kfree_fsm(this); in init_fsm()
63 kfree_fsm(this); in init_fsm()
69 return this; in init_fsm()
[all …]
/linux-6.12.1/fs/jffs2/
Dnodelist.c24 struct jffs2_node_frag *this);
102 struct jffs2_node_frag *this) in jffs2_obsolete_node_frag() argument
104 if (this->node) { in jffs2_obsolete_node_frag()
105 this->node->frags--; in jffs2_obsolete_node_frag()
106 if (!this->node->frags) { in jffs2_obsolete_node_frag()
109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag()
110 jffs2_mark_node_obsolete(c, this->node->raw); in jffs2_obsolete_node_frag()
111 jffs2_free_full_dnode(this->node); in jffs2_obsolete_node_frag()
114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag()
115 mark_ref_normal(this->node->raw); in jffs2_obsolete_node_frag()
[all …]
Dcompr.c34 static int jffs2_is_best_compression(struct jffs2_compressor *this, in jffs2_is_best_compression() argument
43 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression()
47 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100))) in jffs2_is_best_compression()
77 struct jffs2_compressor *this; in jffs2_selected_compress() local
90 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_selected_compress()
92 if (!this->compress || this->disabled) in jffs2_selected_compress()
96 if (compr && (compr != this->compr)) in jffs2_selected_compress()
103 this->usecount++; in jffs2_selected_compress()
108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress()
111 this->usecount--; in jffs2_selected_compress()
[all …]
Dreadinode.c223 struct jffs2_tmp_dnode_info *this, *ptn; in jffs2_add_tn_to_tree() local
250 this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs); in jffs2_add_tn_to_tree()
251 if (this) { in jffs2_add_tn_to_tree()
254 while (this->overlapped) { in jffs2_add_tn_to_tree()
255 ptn = tn_prev(this); in jffs2_add_tn_to_tree()
261 this->overlapped = 0; in jffs2_add_tn_to_tree()
264 this = ptn; in jffs2_add_tn_to_tree()
266 …dbg_readinode("'this' found %#04x-%#04x (%s)\n", this->fn->ofs, this->fn->ofs + this->fn->size, th… in jffs2_add_tn_to_tree()
269 while (this) { in jffs2_add_tn_to_tree()
270 if (this->fn->ofs > fn_end) in jffs2_add_tn_to_tree()
[all …]
/linux-6.12.1/include/linux/mtd/
Donenand.h153 #define ONENAND_CURRENT_BUFFERRAM(this) (this->bufferram_index) argument
154 #define ONENAND_NEXT_BUFFERRAM(this) (this->bufferram_index ^ 1) argument
155 #define ONENAND_SET_NEXT_BUFFERRAM(this) (this->bufferram_index ^= 1) argument
156 #define ONENAND_SET_PREV_BUFFERRAM(this) (this->bufferram_index ^= 1) argument
157 #define ONENAND_SET_BUFFERRAM0(this) (this->bufferram_index = 0) argument
158 #define ONENAND_SET_BUFFERRAM1(this) (this->bufferram_index = 1) argument
160 #define FLEXONENAND(this) \ argument
161 (this->device_id & DEVICE_IS_FLEXONENAND)
162 #define ONENAND_GET_SYS_CFG1(this) \ argument
163 (this->read_word(this->base + ONENAND_REG_SYS_CFG1))
[all …]
/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/
Dmk-ccs-regs59 my %this;
233 my $this = $_[0];
234 my $size = $this->{elsize};
235 my $h = $this->{argparams};
237 foreach my $arg (@{$this->{args}}) {
247 my ($this, $postfix, $is_same_reg) = @_;
249 ($this->{args}, $this->{argparams}, $this->{name});
252 my @sorted_args = @{$this->{sorted_args}};
254 my $size = arr_size($this);
278 ", \"$name" . (defined $this->{discontig} ? " $lim_arg" : "") . "\" },\n"
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c50 struct nvkm_mm_node *this = *pthis; in nvkm_mm_free() local
52 if (this) { in nvkm_mm_free()
53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free()
54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
58 list_del(&this->nl_entry); in nvkm_mm_free()
59 kfree(this); this = prev; in nvkm_mm_free()
63 next->offset = this->offset; in nvkm_mm_free()
64 next->length += this->length; in nvkm_mm_free()
65 if (this->type == NVKM_MM_TYPE_NONE) in nvkm_mm_free()
[all …]
/linux-6.12.1/net/caif/
Dcffrml.c37 struct cffrml *this = kzalloc(sizeof(struct cffrml), GFP_ATOMIC); in cffrml_create() local
38 if (!this) in cffrml_create()
40 this->pcpu_refcnt = alloc_percpu(int); in cffrml_create()
41 if (this->pcpu_refcnt == NULL) { in cffrml_create()
42 kfree(this); in cffrml_create()
48 this->layer.receive = cffrml_receive; in cffrml_create()
49 this->layer.transmit = cffrml_transmit; in cffrml_create()
50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create()
51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create()
52 this->dofcs = use_fcs; in cffrml_create()
[all …]
/linux-6.12.1/drivers/accessibility/speakup/
Dutils.h73 struct st_key *this = hash_name(name); in find_key() local
75 while (this) { in find_key()
76 if (this->name && !strcmp(name, this->name)) in find_key()
77 return this; in find_key()
78 this = this->next; in find_key()
80 return this; in find_key()
85 struct st_key *this = hash_name(name); in add_key() local
89 if (this->name != NULL) { in add_key()
90 while (this->next) { in add_key()
91 if (!strcmp(name, this->name)) in add_key()
[all …]
Dgenmap.c53 struct st_key *this; in main() local
84 this = find_key(cp); in main()
85 if (this == NULL) in main()
87 if (this->shift == is_shift) { in main()
90 shift_state += this->value; in main()
91 } else if (this->shift == is_input) in main()
92 value = this->value; in main()
104 this = find_key(cp); in main()
105 if (this == NULL || this->shift != is_spk) in main()
115 key_data[value][i] = (char)this->value; in main()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dconfigfs-most19 configure the buffer size for this channel
22 configure the sub-buffer size for this channel
27 configure number of buffers used for this
32 this channel
35 configure whether this link will be an input
39 configure DBR data buffer size (this is used
45 transmitted via USB (this is used for USB
58 write '1' to this attribute to trigger the
64 write '1' to this attribute to destroy an
74 configure the buffer size for this channel
[all …]
/linux-6.12.1/net/atm/
Daddr.c51 struct atm_dev_addr *this, *p; in atm_reset_addr() local
59 list_for_each_entry_safe(this, p, head, entry) { in atm_reset_addr()
60 list_del(&this->entry); in atm_reset_addr()
61 kfree(this); in atm_reset_addr()
72 struct atm_dev_addr *this; in atm_add_addr() local
84 list_for_each_entry(this, head, entry) { in atm_add_addr()
85 if (identical(&this->addr, addr)) { in atm_add_addr()
90 this = kmalloc(sizeof(struct atm_dev_addr), GFP_ATOMIC); in atm_add_addr()
91 if (!this) { in atm_add_addr()
95 this->addr = *addr; in atm_add_addr()
[all …]
/linux-6.12.1/drivers/staging/greybus/
DKconfig8 Select this option if you have a device that follows the
11 To compile this code as a module, chose M here: the module
18 Select this option if you have a Toshiba APB device that has I2S
22 To compile this code as a module, chose M here: the module
29 Select this option if you have a device that follows the
32 To compile this code as a module, chose M here: the module
39 Select this option if you have a device that follows the
42 To compile this code as a module, chose M here: the module
49 Select this option if you have a device that follows the
52 To compile this code as a module, chose M here: the module
[all …]
/linux-6.12.1/lib/zlib_inflate/
Dinftrees.c39 code this; /* table entry for duplication */ in zlib_inflate_table() local
104 this.op = (unsigned char)64; /* invalid code marker */ in zlib_inflate_table()
105 this.bits = (unsigned char)1; in zlib_inflate_table()
106 this.val = (unsigned short)0; in zlib_inflate_table()
107 *(*table)++ = this; /* make a table to force an error */ in zlib_inflate_table()
108 *(*table)++ = this; in zlib_inflate_table()
204 this.bits = (unsigned char)(len - drop); in zlib_inflate_table()
206 this.op = (unsigned char)0; in zlib_inflate_table()
207 this.val = work[sym]; in zlib_inflate_table()
210 this.op = (unsigned char)(extra[work[sym]]); in zlib_inflate_table()
[all …]
/linux-6.12.1/drivers/block/drbd/
Ddrbd_interval.c12 struct drbd_interval *this = rb_entry(node, struct drbd_interval, rb); in interval_end() local
13 return this->end; in interval_end()
25 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval() argument
28 sector_t this_end = this->sector + (this->size >> 9); in drbd_insert_interval()
30 BUG_ON(!IS_ALIGNED(this->size, 512)); in drbd_insert_interval()
39 if (this->sector < here->sector) in drbd_insert_interval()
41 else if (this->sector > here->sector) in drbd_insert_interval()
43 else if (this < here) in drbd_insert_interval()
45 else if (this > here) in drbd_insert_interval()
51 this->end = this_end; in drbd_insert_interval()
[all …]

12345678910>>...210