Searched refs:QL_ALIGN (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/sys/dev/qlxgbe/ |
| H A D | ql_ioctl.c | 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() 403 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 406 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 409 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 413 drvr_state_size += QL_ALIGN(size, 64); in ql_drvr_state_size() 503 hdr->tx_state_offset = QL_ALIGN(size, 64); in ql_capture_drvr_state() 522 hdr->txr_offset = hdr->sds_state_offset + QL_ALIGN(size, 64); in ql_capture_drvr_state() 532 hdr->rxr_offset = hdr->txr_offset + QL_ALIGN(size, 64); in ql_capture_drvr_state() [all …]
|
| H A D | ql_def.h | 272 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
| /freebsd-12.1/sys/dev/qlxgb/ |
| H A D | qla_hw.c | 231 size = QL_ALIGN((sizeof (q80_tx_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 233 size += QL_ALIGN((sizeof (q80_tx_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 235 size += QL_ALIGN((sizeof (q80_rcv_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 237 size += QL_ALIGN((sizeof (q80_rcv_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_alloc_dma() 241 size = QL_ALIGN(size, PAGE_SIZE); in qla_alloc_dma() 299 size = QL_ALIGN((sizeof (q80_tx_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 305 size = QL_ALIGN((sizeof (q80_tx_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 311 size = QL_ALIGN((sizeof (q80_rcv_cntxt_req_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions() 317 size = QL_ALIGN((sizeof (q80_rcv_cntxt_rsp_t)), QL_BUFFER_ALIGN); in qla_init_cntxt_regions()
|
| H A D | qla_def.h | 205 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
| /freebsd-12.1/sys/dev/qlxge/ |
| H A D | qls_def.h | 366 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))) macro
|
| /freebsd-12.1/sys/dev/qlnx/qlnxe/ |
| H A D | qlnx_def.h | 525 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1))); macro
|