Home
last modified time | relevance | path

Searched refs:cur_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/soc/fsl/
Ddpaa2-console.c57 void __iomem *cur_ptr; member
94 if (cd->cur_ptr <= cd->end_of_data) in dpaa2_console_size()
95 size = cd->end_of_data - cd->cur_ptr; in dpaa2_console_size()
97 size = (cd->end_addr - cd->cur_ptr) + in dpaa2_console_size()
150 cd->cur_ptr = cd->end_of_data + 1; in dpaa2_generic_console_open()
152 cd->cur_ptr = cd->start_addr; in dpaa2_generic_console_open()
196 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read()
204 if (cd->end_of_data == cd->cur_ptr) in dpaa2_console_read()
215 memcpy_fromio(kbuf, cd->cur_ptr, bytes_end); in dpaa2_console_read()
221 cd->cur_ptr = cd->start_addr; in dpaa2_console_read()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_br_ext.c52 unsigned char *cur_ptr, *start_ptr; in __nat25_find_pppoe_tag() local
56 cur_ptr = (unsigned char *)ph->tag; in __nat25_find_pppoe_tag()
57 while ((cur_ptr - start_ptr) < ntohs(ph->length)) { in __nat25_find_pppoe_tag()
59 tagType = (unsigned short)((cur_ptr[0] << 8) + cur_ptr[1]); in __nat25_find_pppoe_tag()
60 tagLen = (unsigned short)((cur_ptr[2] << 8) + cur_ptr[3]); in __nat25_find_pppoe_tag()
62 return cur_ptr; in __nat25_find_pppoe_tag()
63 cur_ptr = cur_ptr + TAG_HDR_LEN + tagLen; in __nat25_find_pppoe_tag()
/linux-6.1.9/fs/btrfs/
Dbackref.h110 u32 cur_ptr; member
143 iter->cur_ptr - iter->item_ptr == sizeof(struct btrfs_extent_item)) in btrfs_backref_has_tree_block_info()
165 iter->cur_ptr = 0; in btrfs_backref_iter_release()
Dbackref.c2609 iter->cur_ptr = (u32)(iter->item_ptr + sizeof(*ei)); in btrfs_backref_iter_start()
2612 if (iter->cur_ptr >= iter->end_ptr) { in btrfs_backref_iter_start()
2631 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2633 iter->item_ptr = iter->cur_ptr; in btrfs_backref_iter_start()
2665 ASSERT(iter->cur_ptr < iter->end_ptr); in btrfs_backref_iter_next()
2675 ((unsigned long)iter->cur_ptr); in btrfs_backref_iter_next()
2680 iter->cur_ptr += size; in btrfs_backref_iter_next()
2681 if (iter->cur_ptr < iter->end_ptr) in btrfs_backref_iter_next()
2700 iter->cur_ptr = iter->item_ptr; in btrfs_backref_iter_next()
3139 ((unsigned long)iter->cur_ptr); in btrfs_backref_add_tree_node()
/linux-6.1.9/arch/mips/alchemy/common/
Ddbdma.c580 ctp->get_ptr = ctp->put_ptr = ctp->cur_ptr = ctp->chan_desc_base; in au1xxx_dbdma_ring_alloc()
790 cp->ddma_desptr = virt_to_phys(ctp->cur_ptr); in au1xxx_dbdma_start()
806 ctp->get_ptr = ctp->put_ptr = ctp->cur_ptr = ctp->chan_desc_base; in au1xxx_dbdma_reset()
876 dp = ctp->cur_ptr; in dbdma_interrupt()
885 ctp->cur_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in dbdma_interrupt()
907 (u32)(ctp->put_ptr), (u32)(ctp->cur_ptr)); in au1xxx_dbdma_dump()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c536 u8 *cur_ptr = event_skb->data + sizeof(u32); in mwifiex_bt_coex_wlan_param_update_event() local
540 tlv = (struct mwifiex_ie_types_header *)cur_ptr; in mwifiex_bt_coex_wlan_param_update_event()
572 cur_ptr += tlv_len + in mwifiex_bt_coex_wlan_param_update_event()
/linux-6.1.9/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h328 au1x_ddma_desc_t *get_ptr, *put_ptr, *cur_ptr; member