Home
last modified time | relevance | path

Searched refs:physical_address (Results 1 – 24 of 24) sorted by relevance

/trueos/sys/contrib/octeon-sdk/
HDcvmx-access-native.h180 static inline void *cvmx_phys_to_ptr(uint64_t physical_address) in cvmx_phys_to_ptr() argument
183 cvmx_warn_if(physical_address==0, "cvmx_phys_to_ptr() passed a zero address\n"); in cvmx_phys_to_ptr()
195 if (physical_address < 0x80000000) in cvmx_phys_to_ptr()
199 return CASTPTR(void, physical_address); in cvmx_phys_to_ptr()
209 if (physical_address >= gd->bd->bi_uboot_ram_addr in cvmx_phys_to_ptr()
210 && physical_address < gd->bd->bi_uboot_ram_addr + gd->bd->bi_uboot_ram_used_size) in cvmx_phys_to_ptr()
212 return ((char *)&uboot_start + (physical_address - gd->bd->bi_uboot_ram_addr)); in cvmx_phys_to_ptr()
218 if (physical_address >= 0x80000000) in cvmx_phys_to_ptr()
227 return CASTPTR(void, CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, physical_address)); in cvmx_phys_to_ptr()
232 return CASTPTR(void, CVMX_ADD_SEG32(CVMX_MIPS32_SPACE_KSEG0, physical_address)); in cvmx_phys_to_ptr()
[all …]
HDcvmx-qlm.c93 extern void octeon_remote_read_mem(void *buffer, uint64_t physical_address, int length);
94 extern void octeon_remote_write_mem(uint64_t physical_address, const void *buffer, int length);
HDcvmx-access.h116 CVMX_FUNCTION void *cvmx_phys_to_ptr(uint64_t physical_address);
HDcvmx-srio.h529 int cvmx_srio_physical_unmap(uint64_t physical_address, uint64_t size);
HDcvmx-bootmem.c226 extern void octeon_remote_read_mem(void *buffer, uint64_t physical_address, int length); in CVMX_BOOTMEM_NAMED_GET_NAME()
257 extern void octeon_remote_write_mem(uint64_t physical_address, const void *buffer, int length); in CVMX_BOOTMEM_NAMED_SET_NAME()
HDcvmx-srio.c1528 int cvmx_srio_physical_unmap(uint64_t physical_address, uint64_t size) in cvmx_srio_physical_unmap() argument
1531 int subdid = (physical_address >> 40) & 7; in cvmx_srio_physical_unmap()
1532 int extender = (physical_address >> 34) & 3; in cvmx_srio_physical_unmap()
/trueos/sys/dev/isci/scil/
HDsci_base_memory_descriptor_list_decorator.c100 U64 physical_address; in sci_mdl_decorator_assign_memory() local
102 physical_address in sci_mdl_decorator_assign_memory()
125 if ((physical_address % mde->constant_memory_alignment) != 0) in sci_mdl_decorator_assign_memory()
127 physical_address in sci_mdl_decorator_assign_memory()
129 (physical_address % mde->constant_memory_alignment)); in sci_mdl_decorator_assign_memory()
135 mde->physical_address, in sci_mdl_decorator_assign_memory()
136 (U32) (physical_address >> 32), in sci_mdl_decorator_assign_memory()
137 (U32) (physical_address & 0xFFFFFFFF) in sci_mdl_decorator_assign_memory()
141 physical_address += mde->constant_memory_size; in sci_mdl_decorator_assign_memory()
HDsci_util.h103 #define sci_physical_address_add(physical_address, value) \ argument
105 U32 lower = sci_cb_physical_address_lower((physical_address)); \
106 U32 upper = sci_cb_physical_address_upper((physical_address)); \
112 sci_cb_make_physical_address(physical_address, upper, lower); \
120 #define sci_physical_address_subtract(physical_address, value) \ argument
122 U32 lower = sci_cb_physical_address_lower((physical_address)); \
123 U32 upper = sci_cb_physical_address_upper((physical_address)); \
129 sci_cb_make_physical_address(physical_address, upper, lower); \
HDscic_sds_unsolicited_frame_control.c211 uf_buffer_phys_address = mde->physical_address; in scic_sds_unsolicited_frame_control_construct()
221 uf_control->headers.physical_address = uf_buffer_phys_address; in scic_sds_unsolicited_frame_control_construct()
223 uf_control->headers.physical_address, used_uf_buffer_bytes); in scic_sds_unsolicited_frame_control_construct()
225 uf_control->headers.physical_address, unused_uf_header_bytes); in scic_sds_unsolicited_frame_control_construct()
235 uf_control->address_table.physical_address = uf_buffer_phys_address; in scic_sds_unsolicited_frame_control_construct()
237 uf_control->address_table.physical_address, used_uf_buffer_bytes); in scic_sds_unsolicited_frame_control_construct()
239 uf_control->address_table.physical_address, used_uf_header_bytes); in scic_sds_unsolicited_frame_control_construct()
HDscic_sds_unsolicited_frame_control.h152 SCI_PHYSICAL_ADDRESS physical_address; member
190 SCI_PHYSICAL_ADDRESS physical_address; member
224 SCI_PHYSICAL_ADDRESS physical_address; member
HDsci_base_memory_descriptor_list.c153 U32 physical_address = sci_cb_physical_address_lower(mde->physical_address); in sci_base_mde_is_valid() local
156 ((physical_address & (alignment - 1)) != 0) in sci_base_mde_is_valid()
HDscic_sds_request.c406 SCI_PHYSICAL_ADDRESS physical_address; in scic_sds_request_build_sgl() local
440 &physical_address in scic_sds_request_build_sgl()
444 sci_cb_physical_address_upper(physical_address); in scic_sds_request_build_sgl()
446 sci_cb_physical_address_lower(physical_address); in scic_sds_request_build_sgl()
664 SCI_PHYSICAL_ADDRESS physical_address; in scu_ssp_reqeust_construct_task_context() local
741 &physical_address in scu_ssp_reqeust_construct_task_context()
745 sci_cb_physical_address_upper(physical_address); in scu_ssp_reqeust_construct_task_context()
747 sci_cb_physical_address_lower(physical_address); in scu_ssp_reqeust_construct_task_context()
754 &physical_address in scu_ssp_reqeust_construct_task_context()
758 sci_cb_physical_address_upper(physical_address); in scu_ssp_reqeust_construct_task_context()
[all …]
HDscic_sds_smp_request.c369 SCI_PHYSICAL_ADDRESS physical_address; in scu_smp_request_construct_task_context() local
484 &physical_address in scu_smp_request_construct_task_context()
488 sci_cb_physical_address_upper(physical_address); in scu_smp_request_construct_task_context()
490 sci_cb_physical_address_lower(physical_address); in scu_smp_request_construct_task_context()
HDscic_sds_stp_packet_request.c278 SCI_PHYSICAL_ADDRESS physical_address; in scic_sds_stp_packet_internal_request_sense_build_sgl() local
291 &physical_address in scic_sds_stp_packet_internal_request_sense_build_sgl()
294 scu_sgl_list->A.address_upper = sci_cb_physical_address_upper(physical_address); in scic_sds_stp_packet_internal_request_sense_build_sgl()
295 scu_sgl_list->A.address_lower = sci_cb_physical_address_lower(physical_address); in scic_sds_stp_packet_internal_request_sense_build_sgl()
HDscif_sas_sati_binding.h194 *(phys_address_low) = sci_cb_physical_address_lower(mde.physical_address); \
195 *(phys_address_high) = sci_cb_physical_address_upper(mde.physical_address); \
HDsci_memory_descriptor_list.h102 SCI_PHYSICAL_ADDRESS physical_address; member
HDscic_user_callback.h291 SCI_PHYSICAL_ADDRESS * physical_address
HDscic_sds_stp_request.c262 SCI_PHYSICAL_ADDRESS physical_address; in scu_sata_reqeust_construct_task_context() local
345 &physical_address in scu_sata_reqeust_construct_task_context()
349 sci_cb_physical_address_upper(physical_address); in scu_sata_reqeust_construct_task_context()
351 sci_cb_physical_address_lower(physical_address); in scu_sata_reqeust_construct_task_context()
HDscic_sds_controller.c389 SMU_CQBAR_WRITE(this_controller, mde->physical_address); in scic_sds_controller_ram_initialization()
396 SMU_RNCBAR_WRITE(this_controller, mde->physical_address); in scic_sds_controller_ram_initialization()
402 SMU_HTTBAR_WRITE(this_controller, mde->physical_address); in scic_sds_controller_ram_initialization()
413 this_controller->uf_control.headers.physical_address); in scic_sds_controller_ram_initialization()
416 this_controller->uf_control.address_table.physical_address); in scic_sds_controller_ram_initialization()
/trueos/sys/dev/isci/
HDenvironment.h71 #define sci_cb_make_physical_address(physical_address, address_upper, address_lower) \ argument
72 ((physical_address) = ((U64)(address_upper))<<32 | (address_lower))
HDisci_io_request.c322 SCI_PHYSICAL_ADDRESS *physical_address) in scic_cb_io_request_get_physical_address() argument
336 *physical_address = isci_request->physical_address + in scic_cb_io_request_get_physical_address()
354 *physical_address = in scic_cb_io_request_get_physical_address()
355 isci_controller->uncached_controller_memory.physical_address in scic_cb_io_request_get_physical_address()
676 bus_dma_tag_t io_buffer_dma_tag, bus_addr_t physical_address) in isci_request_construct() argument
681 request->physical_address = physical_address; in isci_request_construct()
HDisci_controller.c194 isci_single_map, &mde->physical_address, in scif_cb_controller_allocate_memory()
421 bus_addr_t physical_address; in isci_controller_allocate_memory() local
437 uncached_controller_memory->physical_address); in isci_controller_allocate_memory()
452 cached_controller_memory->physical_address); in isci_controller_allocate_memory()
485 physical_address = request_memory->physical_address; in isci_controller_allocate_memory()
493 controller->buffer_dma_tag, physical_address); in isci_controller_allocate_memory()
498 physical_address += isci_request_get_object_size(); in isci_controller_allocate_memory()
HDisci.h128 bus_addr_t physical_address; member
199 SCI_PHYSICAL_ADDRESS physical_address; member
279 bus_dma_tag_t io_buffer_dma_tag, bus_addr_t physical_address);
HDisci.c403 memory->physical_address = seg->ds_addr; in isci_allocate_dma_buffer_callback()