Home
last modified time | relevance | path

Searched refs:entry_len (Results 1 – 12 of 12) sorted by relevance

/drivers/firmware/google/
Dvpd_decode.c37 u32 *_consumed, const u8 **entry, u32 *entry_len) in vpd_decode_entry() argument
43 entry_len, &decoded_len) != VPD_OK) in vpd_decode_entry()
52 if (max_len - consumed < *entry_len) in vpd_decode_entry()
55 consumed += *entry_len; in vpd_decode_entry()
/drivers/s390/net/
Dqeth_l3_sys.c375 int entry_len; in qeth_l3_dev_ipato_add_show() local
380 entry_len = qeth_l3_ipaddr_to_string(proto, ipatoe->addr, in qeth_l3_dev_ipato_add_show()
382 if (entry_len < 0) in qeth_l3_dev_ipato_add_show()
386 entry_len += 1 + ((proto == QETH_PROT_IPV4) ? 2 : 3); in qeth_l3_dev_ipato_add_show()
388 if (entry_len + 1 > PAGE_SIZE - str_len - 1) in qeth_l3_dev_ipato_add_show()
391 entry_len = scnprintf(buf, PAGE_SIZE - str_len, in qeth_l3_dev_ipato_add_show()
393 str_len += entry_len; in qeth_l3_dev_ipato_add_show()
394 buf += entry_len; in qeth_l3_dev_ipato_add_show()
596 int entry_len; in qeth_l3_dev_ip_add_show() local
601 entry_len = qeth_l3_ipaddr_to_string(proto, (u8 *)&ipaddr->u, in qeth_l3_dev_ip_add_show()
[all …]
Dism.h174 u64 entry_len; member
/drivers/firmware/efi/
Dapple-properties.c57 u32 key_len, val_len, entry_len; in unmarshal_key_value_pairs() local
91 entry_len = val_len - sizeof(val_len); in unmarshal_key_value_pairs()
92 if (entry_len) in unmarshal_key_value_pairs()
94 entry_len); in unmarshal_key_value_pairs()
101 16, 1, entry_data, entry_len, true); in unmarshal_key_value_pairs()
/drivers/crypto/bcm/
Dutil.c143 u32 entry_len = 0; in spu_msg_sg_add() local
152 entry_len = sg->length - skip; in spu_msg_sg_add()
153 frag_len = min(entry_len, length - copied); in spu_msg_sg_add()
158 if (copied == entry_len) { in spu_msg_sg_add()
167 if (frag_len < entry_len) in spu_msg_sg_add()
/drivers/base/regmap/
Dregmap-debugfs.c371 unsigned int entry_len; in regmap_reg_ranges_read_file() local
402 entry_len = snprintf(entry, PAGE_SIZE, "%x-%x\n", in regmap_reg_ranges_read_file()
405 if (buf_pos + entry_len > count) in regmap_reg_ranges_read_file()
407 memcpy(buf + buf_pos, entry, entry_len); in regmap_reg_ranges_read_file()
408 buf_pos += entry_len; in regmap_reg_ranges_read_file()
410 p += entry_len; in regmap_reg_ranges_read_file()
/drivers/media/pci/tw686x/
Dtw686x-video.c189 unsigned int len, entry_len; in tw686x_sg_desc_fill() local
206 entry_len = min_t(unsigned int, len, in tw686x_sg_desc_fill()
208 entry_len = min_t(unsigned int, entry_len, buf_len); in tw686x_sg_desc_fill()
211 cpu_to_le32(BIT(30) | entry_len); in tw686x_sg_desc_fill()
212 phys += entry_len; in tw686x_sg_desc_fill()
213 len -= entry_len; in tw686x_sg_desc_fill()
214 buf_len -= entry_len; in tw686x_sg_desc_fill()
/drivers/acpi/
Dtables.c300 unsigned long table_end, subtable_len, entry_len; in acpi_parse_entries_array() local
337 entry_len = acpi_get_entry_length(&entry); in acpi_parse_entries_array()
338 if (entry_len == 0) { in acpi_parse_entries_array()
344 ((unsigned long)entry.hdr + entry_len); in acpi_parse_entries_array()
/drivers/net/wireless/intersil/p54/
Deeprom.c734 unsigned int data_len, entry_len; in p54_parse_eeprom() local
746 entry_len = le16_to_cpu(entry->len); in p54_parse_eeprom()
747 data_len = ((entry_len - 1) << 1); in p54_parse_eeprom()
878 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
879 entry = (void *)entry + (entry_len + 1) * 2; in p54_parse_eeprom()
/drivers/scsi/
Ddpt_i2o.c1025 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba()
2992 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get()
2993 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get()
/drivers/net/wireless/
Drndis_wlan.c1644 int i, len, count, max_pmkids, entry_len; in debug_print_pmkids() local
1650 entry_len = (count > 0) ? (len - sizeof(*pmkids)) / count : -1; in debug_print_pmkids()
1653 "%d)\n", func_str, count, len, entry_len); in debug_print_pmkids()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2283 u32 offset, entry_len; in _base_build_nvme_prp() local
2359 entry_len = ioc->page_size - offset; in _base_build_nvme_prp()
2417 dma_addr += entry_len; in _base_build_nvme_prp()
2420 if (entry_len > length) in _base_build_nvme_prp()
2423 length -= entry_len; in _base_build_nvme_prp()