Home
last modified time | relevance | path

Searched refs:PCICFG_ROUND_UP (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_cfg.c87 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro
1239 PCICFG_ROUND_UP(mem_request->ra_len, phdl->memory_gran); in cardbus_allocate_chunk()
1272 io_request->ra_len = PCICFG_ROUND_UP(io_request->ra_len, in cardbus_allocate_chunk()
1376 uval = PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN); in cardbus_setup_bridge()
1409 uval = PCICFG_ROUND_UP(entry->io_last, PCICFG_IOGRAN); in cardbus_setup_bridge()
1557 PCICFG_ROUND_UP(entry->memory_last, entry->memory_gran)); in cardbus_update_bridge()
1564 PCICFG_ROUND_UP(entry->memory_last, entry->memory_gran)); in cardbus_update_bridge()
1571 length = PCICFG_ROUND_UP(entry->memory_last + cardbus_min_spare_mem, in cardbus_update_bridge()
1624 PCICFG_ROUND_UP(entry->io_last, entry->io_gran)); in cardbus_update_bridge()
1637 length = PCICFG_ROUND_UP(entry->io_last + cardbus_min_spare_io, in cardbus_update_bridge()
[all …]
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c73 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro
2379 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()
2542 PCICFG_ROUND_UP( in pcicfg_sum_resources()
2550 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources()
2561 PCICFG_ROUND_UP( in pcicfg_sum_resources()
2569 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources()
2579 PCICFG_ROUND_UP(io_request->ra_len, in pcicfg_sum_resources()
3351 if ((length = (PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge()
3369 if ((length = (PCICFG_ROUND_UP(entry->pf_memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge()
3392 if ((length = (PCICFG_ROUND_UP(entry->io_last, PCICFG_IOGRAN) in pcicfg_update_bridge()
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c93 #define PCICFG_ROUND_UP(addr, gran) ((uintptr_t)((gran+addr-1)&(~(gran-1)))) macro
2419 PCICFG_ROUND_UP(mem_request->ra_len, PCICFG_MEMGRAN); in pcicfg_allocate_chunk()
2422 PCICFG_ROUND_UP(io_request->ra_len, PCICFG_IOGRAN); in pcicfg_allocate_chunk()
2508 actual_hole_start = PCICFG_ROUND_UP(hole->start, length); in pcicfg_alloc_hole()
2651 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources()
2660 PCICFG_ROUND_UP(mem_request->ra_len, in pcicfg_sum_resources()
2669 PCICFG_ROUND_UP(io_request->ra_len, in pcicfg_sum_resources()
3914 if ((length = (PCICFG_ROUND_UP(entry->memory_last, in pcicfg_update_bridge()
3939 if ((length = (PCICFG_ROUND_UP(entry->io_last, in pcicfg_update_bridge()
5364 mem_end = PCICFG_ROUND_UP(phdl.memory_base, PCICFG_MEMGRAN); in pcicfg_probe_bridge()
[all …]