Searched refs:desc_start (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/lib/avb/libavb/ |
| H A D | avb_descriptor.c | 48 const uint8_t* desc_start; in avb_descriptor_foreach() local 78 desc_start = image_data + sizeof(AvbVBMetaImageHeader) + in avb_descriptor_foreach() 82 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach() 84 if (desc_start < image_data || desc_start > image_end || in avb_descriptor_foreach() 85 desc_end < image_data || desc_end > image_end || desc_end < desc_start) { in avb_descriptor_foreach() 90 for (p = desc_start; p < desc_end;) { in avb_descriptor_foreach() 105 if (nb_total + p < desc_start || nb_total + p > desc_end) { in avb_descriptor_foreach()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | sun8i_emac.c | 504 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_eth_recv() local 505 uintptr_t desc_end = desc_start + in _sun8i_eth_recv() 512 invalidate_dcache_range(desc_start, desc_end); in _sun8i_eth_recv() 550 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_emac_eth_send() local 551 uintptr_t desc_end = desc_start + in _sun8i_emac_eth_send() 559 invalidate_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 579 flush_dcache_range(desc_start, desc_end); in _sun8i_emac_eth_send() 701 uintptr_t desc_start = (uintptr_t)desc_p; in _sun8i_free_pkt() local 702 uintptr_t desc_end = desc_start + in _sun8i_free_pkt() 709 flush_dcache_range(desc_start, desc_end); in _sun8i_free_pkt()
|
| H A D | designware.c | 351 ulong desc_start = (ulong)desc_p; in _dw_eth_send() local 352 ulong desc_end = desc_start + in _dw_eth_send() 364 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_send() 393 flush_dcache_range(desc_start, desc_end); in _dw_eth_send() 412 ulong desc_start = (ulong)desc_p; in _dw_eth_recv() local 413 ulong desc_end = desc_start + in _dw_eth_recv() 419 invalidate_dcache_range(desc_start, desc_end); in _dw_eth_recv() 442 ulong desc_start = (ulong)desc_p; in _dw_free_pkt() local 443 ulong desc_end = desc_start + in _dw_free_pkt() 453 flush_dcache_range(desc_start, desc_end); in _dw_free_pkt()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-floppy.c | 406 unsigned int desc_start = 4 + i*8; in ide_floppy_get_capacity() local 408 blocks = be32_to_cpup((__be32 *)&pc_buf[desc_start]); in ide_floppy_get_capacity() 409 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); in ide_floppy_get_capacity() 422 switch (pc_buf[desc_start + 4] & 0x03) { in ide_floppy_get_capacity() 472 pc_buf[desc_start + 4] & 0x03); in ide_floppy_get_capacity()
|
| H A D | ide-floppy_ioctl.c | 72 unsigned int desc_start = 4 + i*8; in ide_floppy_get_format_capacities() local 77 blocks = be32_to_cpup((__be32 *)&pc_buf[desc_start]); in ide_floppy_get_format_capacities() 78 length = be16_to_cpup((__be16 *)&pc_buf[desc_start + 6]); in ide_floppy_get_format_capacities()
|
| /OK3568_Linux_fs/kernel/lib/pldmfw/ |
| H A D | pldmfw.c | 262 const u8 *desc_start; in pldm_parse_desc_tlvs() local 265 desc_start = data->fw->data + data->offset; in pldm_parse_desc_tlvs() 267 pldm_for_each_desc_tlv(i, __desc, desc_start, desc_count) { in pldm_parse_desc_tlvs()
|