Home
last modified time | relevance | path

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

12345678910>>...158

/linux/sound/usb/line6/
H A 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/drivers/mtd/nand/raw/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/s390/net/
H A Dfsm.c22 fsm_instance *this; in init_fsm() local
26 this = kzalloc(sizeof(fsm_instance), order); in init_fsm()
27 if (this == NULL) { in init_fsm()
32 strscpy(this->name, name, sizeof(this->name)); in init_fsm()
33 init_waitqueue_head(&this->wait_q); in init_fsm()
39 kfree_fsm(this); in init_fsm()
46 this->f = f; in init_fsm()
52 kfree_fsm(this); in init_fsm()
64 kfree_fsm(this); in init_fsm()
70 return this; in init_fsm()
[all …]
/linux/fs/jffs2/
H A 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 …]
H A 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 …]
H A 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/include/linux/mtd/
H A 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/drivers/gpu/drm/loongson/
H A 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/Documentation/driver-api/media/drivers/ccs/
H A 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/drivers/gpu/drm/nouveau/nvkm/core/
H A 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/net/caif/
H A 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 in cffrml_create()
59 struct cffrml *this = container_obj(layer); cffrml_free() local
64 cffrml_set_uplayer(struct cflayer * this,struct cflayer * up) cffrml_set_uplayer() argument
69 cffrml_set_dnlayer(struct cflayer * this,struct cflayer * dn) cffrml_set_dnlayer() argument
88 struct cffrml *this; cffrml_receive() local
143 struct cffrml *this = container_obj(layr); cffrml_transmit() local
178 struct cffrml *this = container_obj(layr); cffrml_put() local
185 struct cffrml *this = container_obj(layr); cffrml_hold() local
193 struct cffrml *this = container_obj(layr); cffrml_refcnt_read() local
[all...]
H A Dcaif_usb.c88 struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC); in cfusbl_create() local
90 if (!this) in cfusbl_create()
95 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create()
96 this->layer.receive = cfusbl_receive; in cfusbl_create()
97 this->layer.transmit = cfusbl_transmit; in cfusbl_create()
98 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create()
99 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create()
100 this->layer.id = phyid; in cfusbl_create()
108 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], braddr); in cfusbl_create()
109 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create()
[all …]
/linux/rust/proc-macro2/probe/
H A Dproc_macro_span.rs15 pub fn byte_range(this: &Span) -> Range<usize> { in byte_range()
16 this.byte_range() in byte_range()
19 pub fn start(this: &Span) -> Span { in start()
20 this.start() in start()
23 pub fn end(this: &Span) -> Span { in end()
24 this.end() in end()
27 pub fn line(this: &Span) -> usize { in line()
28 this.line() in line()
31 pub fn column(this: &Span) -> usize { in column()
32 this.column() in column()
[all …]
/linux/drivers/accessibility/speakup/
H A 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 …]
H A 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/drivers/mtd/nand/onenand/
H A 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 …]
H A 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/Documentation/ABI/testing/
H A 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/net/atm/
H A 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/drivers/staging/greybus/
H A 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/lib/zlib_inflate/
H A 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/drivers/block/drbd/
H A 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 …]
/linux/drivers/block/rnull/
H A Dconfigfs.rs134 fn show(this: &DeviceConfig, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { in show()
137 if this.data.lock().powered {
146 fn store(this: &DeviceConfig, page: &[u8]) -> Result { in store()
148 let mut guard = this.data.lock(); in store()
172 fn show(this: &DeviceConfig, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { in show()
174 writer.write_fmt(fmt!("{}\n", this.data.lock().block_size))?;
178 fn store(this: &DeviceConfig, page: &[u8]) -> Result { in store()
179 if this.data.lock().powered { in store()
187 this.data.lock().block_size = value; in store()
196 fn show(this: &DeviceConfig, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { in show()
[all …]

12345678910>>...158