Searched refs:QL_ALIGN (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_ioctl.c | 385 drvr_state_size = QL_ALIGN(size, 64); in ql_drvr_state_size() 388 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 391 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 394 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 397 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 400 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 404 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 494 hdr->tx_state_offset = QL_ALIGN(size, 64); in ql_capture_drvr_state() 501 hdr->rx_state_offset = hdr->tx_state_offset + QL_ALIGN(size, 64); in ql_capture_drvr_state() 507 hdr->sds_state_offset = hdr->rx_state_offset + QL_ALIGN(size, 64); in ql_capture_drvr_state() [all …]
|
H A D | ql_def.h | 270 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_hw.c | 229 size = QL_ALIGN((sizeof (q80_tx_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 231 size += QL_ALIGN((sizeof (q80_tx_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 233 size += QL_ALIGN((sizeof (q80_rcv_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 235 size += QL_ALIGN((sizeof (q80_rcv_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 239 size = QL_ALIGN(size, PAGE_SIZE); in qla_alloc_dma() 293 size = QL_ALIGN((sizeof (q80_tx_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 299 size = QL_ALIGN((sizeof (q80_tx_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 305 size = QL_ALIGN((sizeof (q80_rcv_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 311 size = QL_ALIGN((sizeof (q80_rcv_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions()
|
H A D | qla_def.h | 203 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_def.h | 361 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_def.h | 509 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))); macro
|