/linux-5.19.10/sound/usb/line6/ |
D | midibuf.c | 37 static int midibuf_is_empty(struct midi_buffer *this) in midibuf_is_empty() argument 39 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty() 42 static int midibuf_is_full(struct midi_buffer *this) in midibuf_is_full() argument 44 return this->full; in midibuf_is_full() 47 void line6_midibuf_reset(struct midi_buffer *this) in line6_midibuf_reset() argument 49 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset() 50 this->command_prev = -1; in line6_midibuf_reset() 53 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument 55 this->buf = kmalloc(size, GFP_KERNEL); in line6_midibuf_init() 57 if (this->buf == NULL) in line6_midibuf_init() [all …]
|
/linux-5.19.10/drivers/net/wireless/ |
D | wl3501_cs.c | 188 static inline void wl3501_switch_page(struct wl3501_card *this, u8 page) in wl3501_switch_page() argument 190 wl3501_outb(page, this->base_addr + WL3501_NIC_BSS); in wl3501_switch_page() 199 static int wl3501_get_flash_mac_addr(struct wl3501_card *this) in wl3501_get_flash_mac_addr() argument 201 int base_addr = this->base_addr; in wl3501_get_flash_mac_addr() 210 this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() 212 this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() 214 this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() 216 this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() 218 this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() 220 this->mac_addr[5] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr() [all …]
|
/linux-5.19.10/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 224 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 …]
|
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() 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 …]
|
D | onenand_samsung.c | 218 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-5.19.10/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 119 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_get_sync(this->dev); in gpmi_init() 153 pm_runtime_put_noidle(this->dev); in gpmi_init() 165 ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this)); in gpmi_init() 191 pm_runtime_mark_last_busy(this->dev); in gpmi_init() 192 pm_runtime_put_autosuspend(this->dev); in gpmi_init() [all …]
|
/linux-5.19.10/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 166 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 …]
|
D | au1550nd.c | 27 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 …]
|
D | diskonchip.c | 292 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-5.19.10/drivers/s390/net/ |
D | fsm.c | 21 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 strlcpy(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-5.19.10/fs/jffs2/ |
D | nodelist.c | 24 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 …]
|
D | compr.c | 34 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 …]
|
D | readinode.c | 223 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 …]
|
D | debug.c | 501 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local 505 list_for_each(this, &c->clean_list) { in __jffs2_dbg_dump_block_lists_nolock() 506 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock() 523 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local 527 list_for_each(this, &c->very_dirty_list) { in __jffs2_dbg_dump_block_lists_nolock() 528 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock() 546 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local 550 list_for_each(this, &c->dirty_list) { in __jffs2_dbg_dump_block_lists_nolock() 551 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock() 569 struct list_head *this; in __jffs2_dbg_dump_block_lists_nolock() local [all …]
|
/linux-5.19.10/include/linux/mtd/ |
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 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-5.19.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 50 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-5.19.10/Documentation/driver-api/media/drivers/ccs/ |
D | mk-ccs-regs | 59 my %this; 201 my $this = $_[0]; 202 my $size = $this->{elsize}; 203 my $h = $this->{argparams}; 205 foreach my $arg (@{$this->{args}}) { 215 my ($this, $postfix, $is_same_reg) = @_; 217 ($this->{args}, $this->{argparams}, $this->{name}); 220 my @sorted_args = @{$this->{sorted_args}}; 222 my $size = arr_size($this); 246 ", \"$name" . (defined $this->{discontig} ? " $lim_arg" : "") . "\" },\n" [all …]
|
/linux-5.19.10/net/caif/ |
D | cffrml.c | 37 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 …]
|
D | caif_usb.c | 87 struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC); in cfusbl_create() local 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() 98 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); 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() [all …]
|
/linux-5.19.10/Documentation/ABI/testing/ |
D | configfs-most | 19 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-5.19.10/net/atm/ |
D | addr.c | 51 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-5.19.10/drivers/staging/greybus/ |
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 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-5.19.10/lib/zlib_inflate/ |
D | inftrees.c | 39 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-5.19.10/drivers/block/drbd/ |
D | drbd_interval.c | 12 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-5.19.10/Documentation/scheduler/ |
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 59 7) sum of all time spent running by tasks on this processor (in nanoseconds) 60 8) sum of all time spent waiting to run by tasks on this processor (in 62 9) # of timeslices run on this cpu 73 The first field is a bit mask indicating what cpus this domain operates over. 78 1) # of times in this domain load_balance() was called when the 80 2) # of times in this domain load_balance() checked but found 82 3) # of times in this domain load_balance() tried to move one or [all …]
|