/linux/sound/usb/line6/ |
A D | midibuf.c | 39 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty() 49 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset() 71 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free() 80 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used() 106 length1 = this->size - this->pos_write; in line6_midibuf_write() 120 if (this->pos_write == this->pos_read) in line6_midibuf_write() 149 length1 = this->size - this->pos_read; in line6_midibuf_read() 152 command = this->buf[this->pos_read]; in line6_midibuf_read() 176 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read() 185 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read() [all …]
|
/linux/drivers/net/wireless/ |
A D | wl3501_cs.c | 338 wl3501_set_to_wla(this, this->tx_buffer_tail, in wl3501_free_tx_buffer() 365 if (this->esbq_req_head >= this->esbq_req_end) in wl3501_esbq_req() 366 this->esbq_req_head = this->esbq_req_start; in wl3501_esbq_req() 584 this->bss_cnt = this->join_sta_bss = 0; in wl3501_mgmt_scan() 710 if (this->join_sta_bss == this->bss_cnt) { in wl3501_mgmt_scan_confirm() 773 wl3501_get_from_wla(this, this->start_seg + 2, in wl3501_receive() 820 if (this->esbq_req_tail >= this->esbq_req_end) in wl3501_esbq_req_free() 821 this->esbq_req_tail = this->esbq_req_start; in wl3501_esbq_req_free() 889 if (this->join_sta_bss < this->bss_cnt) { in wl3501_mgmt_join_confirm() 914 if (this->join_sta_bss == this->bss_cnt) { in wl3501_mgmt_join_confirm() [all …]
|
/linux/drivers/mtd/nand/onenand/ |
A D | onenand_base.c | 682 free_irq(this->irq, this); in onenand_try_interrupt_wait() 2611 end = this->chipsize >> this->erase_shift; in onenand_check_lock_status() 2720 this->write_word(value, this->base + in onenand_otp_command() 2739 this->write_word(value, this->base + in onenand_otp_command() 2799 this->write_word(value, this->base + in onenand_otp_write_oob_nolock() 2808 this->write_word(value, this->base + in onenand_otp_write_oob_nolock() 3188 u_char *buf = FLEXONENAND(this) ? this->page_buf : this->oob_buf; in onenand_lock_user_prot_reg() 3702 this->technology = this->read_word(this->base + ONENAND_REG_TECHNOLOGY); in onenand_probe() 3714 this->dies = ONENAND_IS_DDP(this) ? 2 : 1; in onenand_probe() 3751 this->page_mask = (1 << (this->erase_shift - this->page_shift)) - 1; in onenand_probe() [all …]
|
A D | onenand_bbt.c | 58 struct onenand_chip *this = mtd->priv; in create_bbt() local 59 struct bbm_info *bbm = this->bbm; in create_bbt() 112 if (FLEXONENAND(this)) { in create_bbt() 133 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local 146 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local 147 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt() 183 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt() local 184 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt() 187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt() 235 if (!this->bbm) in onenand_default_bbt() [all …]
|
A D | onenand_samsung.c | 220 int reg = addr - this->base; in s3c_onenand_readw() 388 fpa &= this->page_mask; in s3c_onenand_command() 484 p += this->writesize; in s3c_get_bufferram() 626 p = this->base + area; in s5pc110_read_bufferram() 629 p += this->writesize; in s5pc110_read_bufferram() 733 end = this->chipsize >> this->erase_shift; in s3c_onenand_check_lock_status() 792 ofs = this->chipsize >> 1; in s3c_unlock_all() 793 len = this->chipsize >> 1; in s3c_unlock_all() 837 struct onenand_chip *this; in s3c_onenand_probe() local 856 mtd->priv = this; in s3c_onenand_probe() [all …]
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
A D | gpmi-nand.c | 808 if (this->bch) in gpmi_raw_len_to_len() 1026 clk = devm_clk_get(this->dev, this->devdata->clks[i]); in gpmi_get_clks() 1325 block_mark_swapping(this, buf, this->auxiliary_virt); in gpmi_ecc_read_page() 1444 block_mark_swapping(this, this->data_buffer_dma, in gpmi_ecc_write_page() 2141 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_wait_ready() 2170 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_read() 2190 if (!this->bch) in gpmi_chain_data_read() 2216 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this) in gpmi_chain_data_write() 2440 this->swap_block_mark = !GPMI_IS_MX23(this); in gpmi_nand_init() 2494 this = devm_kzalloc(&pdev->dev, sizeof(*this), GFP_KERNEL); in gpmi_nand_probe() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | nand_bbt.c | 396 scan_read(this, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts() 405 scan_read(this, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts() 561 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt() 667 (this->bbt_erase_shift - this->page_shift); in get_bbt_block() 695 page = block << (this->bbt_erase_shift - this->page_shift); in get_bbt_block() 798 page = block << (this->bbt_erase_shift - this->page_shift); in write_bbt() 1151 block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift); in mark_bbt_region() 1258 if (!this->bbt) in nand_scan_bbt() 1307 kfree(this->bbt); in nand_scan_bbt() 1308 this->bbt = NULL; in nand_scan_bbt() [all …]
|
A D | diskonchip.c | 359 this->controller->ops->exec_op(this, &op, false); in doc200x_readid() 980 offs <<= this->page_shift; in nftl_partscan() 1071 blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift); in inftl_partscan() 1146 this->bbt_td->veroffs = 7; in nftl_scan_bbt() 1152 this->bbt_md->veroffs = 7; in nftl_scan_bbt() 1155 this->bbt_md = NULL; in nftl_scan_bbt() 1182 this->bbt_md = NULL; in inftl_scan_bbt() 1187 this->bbt_td->offs = 8; in inftl_scan_bbt() 1188 this->bbt_td->len = 8; in inftl_scan_bbt() 1197 this->bbt_md->offs = 8; in inftl_scan_bbt() [all …]
|
A D | au1550nd.c | 43 struct au1550nd_ctx *ctx = chip_to_au_ctx(this); in au_write_buf() 178 if ((this->options & NAND_BUSWIDTH_16) && in au1550nd_exec_instr() 180 au_read_buf16(this, instr->ctx.data.buf.in, in au1550nd_exec_instr() 183 au_read_buf(this, instr->ctx.data.buf.in, in au1550nd_exec_instr() 188 if ((this->options & NAND_BUSWIDTH_16) && in au1550nd_exec_instr() 258 struct nand_chip *this; in au1550nd_probe() local 292 this = &ctx->chip; in au1550nd_probe() 293 mtd = nand_to_mtd(this); in au1550nd_probe() 307 this->controller = &ctx->controller; in au1550nd_probe() 310 this->options |= NAND_BUSWIDTH_16; in au1550nd_probe() [all …]
|
/linux/fs/jffs2/ |
A D | nodelist.c | 109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); 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() 225 this->ofs, this->ofs+this->size, this->node?(ref_offset(this->node->raw)):0xffffffff, this); in jffs2_add_frag_to_fragtree() 226 lastend = this->ofs + this->size; in jffs2_add_frag_to_fragtree() 251 this->ofs, this->ofs + this->size, in jffs2_add_frag_to_fragtree() 255 this->ofs, this->ofs + this->size); in jffs2_add_frag_to_fragtree() 275 this->ofs, this->ofs+this->size, ref_offset(this->node->raw)); in jffs2_add_frag_to_fragtree() 278 this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree() 315 newfrag, newfrag->ofs, newfrag->ofs+newfrag->size, this, this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree() 320 dbg_fragtree2("obsoleting node frag %p (%x-%x)\n", this, this->ofs, this->ofs+this->size); in jffs2_add_frag_to_fragtree() [all …]
|
A D | compr.c | 92 if (!this->compress || this->disabled) in jffs2_selected_compress() 103 this->usecount++; in jffs2_selected_compress() 111 this->usecount--; in jffs2_selected_compress() 114 ret = this->compr; in jffs2_selected_compress() 178 if ((!this->compress)||(this->disabled)) in jffs2_compress() 181 if ((this->compr_buf_size < orig_slen) && (this->compr_buf)) { in jffs2_compress() 202 this->usecount++; in jffs2_compress() 208 this->usecount--; in jffs2_compress() 214 best = this; in jffs2_compress() 278 this->usecount++; in jffs2_decompress() [all …]
|
A D | readinode.c | 273 this->version, this->fn->ofs, this->fn->size); in jffs2_add_tn_to_tree() 302 while (this && this->fn->ofs + this->fn->size <= fn_end) { in jffs2_add_tn_to_tree() 332 this = tn_next(this); in jffs2_add_tn_to_tree() 363 this, this->version, this->fn->ofs, in jffs2_add_tn_to_tree() 389 this->version, this->fn->ofs, in jffs2_add_tn_to_tree() 390 this->fn->ofs+this->fn->size); in jffs2_add_tn_to_tree() 391 this = tn_next(this); in jffs2_add_tn_to_tree() 468 this->fn->ofs+this->fn->size, this->overlapped); in jffs2_build_inode_fragtree() 469 this = tn_prev(this); in jffs2_build_inode_fragtree() 515 this, this->version, this->fn->ofs, in jffs2_build_inode_fragtree() [all …]
|
A D | debug.c | 501 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local 523 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local 710 while(this) { in __jffs2_dbg_dump_fragtree_nolock() 711 if (this->node) in __jffs2_dbg_dump_fragtree_nolock() 713 this->ofs, this->ofs+this->size, ref_offset(this->node->raw), in __jffs2_dbg_dump_fragtree_nolock() 714 ref_flags(this->node->raw), this, frag_left(this), frag_right(this), in __jffs2_dbg_dump_fragtree_nolock() 715 frag_parent(this)); in __jffs2_dbg_dump_fragtree_nolock() 718 this->ofs, this->ofs+this->size, this, frag_left(this), in __jffs2_dbg_dump_fragtree_nolock() 719 frag_right(this), frag_parent(this)); in __jffs2_dbg_dump_fragtree_nolock() 722 lastofs = this->ofs + this->size; in __jffs2_dbg_dump_fragtree_nolock() [all …]
|
/linux/drivers/s390/net/ |
A D | fsm.c | 31 strlcpy(this->name, name, sizeof(this->name)); in init_fsm() 45 this->f = f; in init_fsm() 69 return this; in init_fsm() 75 if (this) { in kfree_fsm() 80 kfree(this); in kfree_fsm() 135 fsm_timer *this = from_timer(this, t, tl); in fsm_expire_timer() local 138 this->fi->name, this); in fsm_expire_timer() 140 fsm_event(this->fi, this->expire_event, this->event_arg); in fsm_expire_timer() 159 this); in fsm_deltimer() 170 this->fi->name, this, millisec); in fsm_addtimer() [all …]
|
/linux/include/linux/mtd/ |
A D | onenand.h | 153 #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 163 (this->read_word(this->base + ONENAND_REG_SYS_CFG1)) 165 (this->write_word(v, this->base + ONENAND_REG_SYS_CFG1)) 167 #define ONENAND_IS_DDP(this) \ argument [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | mm.c | 52 if (this) { in nvkm_mm_free() 59 kfree(this); this = prev; in nvkm_mm_free() 68 kfree(this); this = NULL; in nvkm_mm_free() 71 if (this && this->type != NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 126 e = this->offset + this->length; in nvkm_mm_head() 146 this = region_head(mm, this, min(size_max, e - s)); in nvkm_mm_head() 147 if (!this) in nvkm_mm_head() 153 *pnode = this; in nvkm_mm_head() 195 u32 e = this->offset + this->length; in nvkm_mm_tail() 225 this = region_tail(mm, this, a); in nvkm_mm_tail() [all …]
|
/linux/Documentation/driver-api/media/drivers/ccs/ |
A D | mk-ccs-regs | 59 my %this; 201 my $this = $_[0]; 202 my $size = $this->{elsize}; 203 my $h = $this->{argparams}; 217 ($this->{args}, $this->{argparams}, $this->{name}); 222 my $size = arr_size($this); 297 next if $#{$this{args}} + 1 != scalar keys %{$this{argparams}}; 330 } @{$this{args}}; 333 my $da = $this{argparams}->{$this{discontig}}; 354 if (! @{$this{args}}) { [all …]
|
/linux/net/caif/ |
A D | cffrml.c | 38 if (!this) in cffrml_create() 42 kfree(this); in cffrml_create() 52 this->dofcs = use_fcs; in cffrml_create() 53 this->layer.id = phyid; in cffrml_create() 66 this->up = up; in cffrml_set_uplayer() 71 this->dn = dn; in cffrml_set_dnlayer() 88 struct cffrml *this; in cffrml_receive() local 89 this = container_obj(layr); in cffrml_receive() 95 if (!this->dofcs) in cffrml_receive() 108 if (this->dofcs) { in cffrml_receive() [all …]
|
A D | caif_usb.c | 89 if (!this) in cfusbl_create() 94 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create() 95 this->layer.receive = cfusbl_receive; in cfusbl_create() 96 this->layer.transmit = cfusbl_transmit; in cfusbl_create() 97 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create() 99 this->layer.id = phyid; in cfusbl_create() 107 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], braddr); in cfusbl_create() 108 ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr); in cfusbl_create() 112 this->tx_eth_hdr, this->tx_eth_hdr + ETH_ALEN, in cfusbl_create() 113 this->tx_eth_hdr[12], this->tx_eth_hdr[13]); in cfusbl_create() [all …]
|
/linux/Documentation/ABI/testing/ |
A D | configfs-most | 19 configure the buffer size for this channel 27 configure number of buffers used for this 32 this channel 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 82 configure number of buffers used for this 87 this channel 100 transmitted via USB (this is used for USB 142 this channel [all …]
|
/linux/drivers/staging/greybus/ |
A D | Kconfig | 8 Select this option if you have a device that follows the 11 To compile this code as a module, chose M here: the module 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 49 Select this option if you have a device that follows the 59 Select this option if you have a device that follows the 69 Select this option if you have a device that follows the 127 Examples of this include serial, SPI, USB, and others. [all …]
|
/linux/net/atm/ |
A D | addr.c | 51 struct atm_dev_addr *this, *p; in atm_reset_addr() local 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 91 if (!this) { in atm_add_addr() 95 this->addr = *addr; in atm_add_addr() 96 list_add(&this->entry, head); in atm_add_addr() 107 struct atm_dev_addr *this; in atm_del_addr() local 121 list_del(&this->entry); in atm_del_addr() 123 kfree(this); in atm_del_addr() [all …]
|
/linux/lib/zlib_inflate/ |
A D | inftrees.c | 105 this.bits = (unsigned char)1; in zlib_inflate_table() 106 this.val = (unsigned short)0; in zlib_inflate_table() 108 *(*table)++ = this; in zlib_inflate_table() 206 this.op = (unsigned char)0; in zlib_inflate_table() 207 this.val = work[sym]; in zlib_inflate_table() 211 this.val = base[work[sym]]; in zlib_inflate_table() 215 this.val = 0; in zlib_inflate_table() 285 this.bits = (unsigned char)(len - drop); in zlib_inflate_table() 286 this.val = (unsigned short)0; in zlib_inflate_table() 293 this.bits = (unsigned char)len; in zlib_inflate_table() [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_interval.c | 13 return this->end; in interval_end() 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() 52 rb_link_node(&this->rb, parent, new); in drbd_insert_interval() 53 rb_insert_augmented(&this->rb, root, &augment_callbacks); in drbd_insert_interval() [all …]
|
/linux/Documentation/scheduler/ |
A D | sched-stats.rst | 18 domain. Domains have no particular names in this implementation, but 21 sometimes balancing only between pairs of cpus. At this time, there 29 which does this for many of the fields is available at 62 9) # of timeslices run on this cpu 80 2) # of times in this domain load_balance() checked but found 85 load_balance() in this domain when the cpu was idle 101 load_balance() in this domain when the cpu was busy 102 13) # of times in this domain pull_task() was called when busy 147 last ran on a different cpu in this domain 156 this file correlating for that process to: [all …]
|