Searched refs:cur_ptr (Results 1 – 3 of 3) sorted by relevance
57 void __iomem *cur_ptr; member94 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 …]
53 unsigned char *cur_ptr, *start_ptr; in __nat25_find_pppoe_tag() local56 start_ptr = 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()
548 u8 *cur_ptr = event_skb->data + sizeof(u32); in mwifiex_bt_coex_wlan_param_update_event() local552 tlv = (struct mwifiex_ie_types_header *)cur_ptr; in mwifiex_bt_coex_wlan_param_update_event()584 cur_ptr += tlv_len + in mwifiex_bt_coex_wlan_param_update_event()