/linux-4.1.27/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 94 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 95 L1_CACHE_ALIGN(pinfo->tx_nrfifos * pinfo->tx_fifosize); in cpm_uart_allocbuf() 118 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf() 129 dma_free_coherent(pinfo->port.dev, L1_CACHE_ALIGN(pinfo->rx_nrfifos * in cpm_uart_freebuf() 131 L1_CACHE_ALIGN(pinfo->tx_nrfifos * in cpm_uart_freebuf()
|
D | cpm_uart_cpm2.c | 130 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 131 L1_CACHE_ALIGN(pinfo->tx_nrfifos * pinfo->tx_fifosize); in cpm_uart_allocbuf() 153 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf() 164 dma_free_coherent(pinfo->port.dev, L1_CACHE_ALIGN(pinfo->rx_nrfifos * in cpm_uart_freebuf() 166 L1_CACHE_ALIGN(pinfo->tx_nrfifos * in cpm_uart_freebuf()
|
D | cpm_uart_core.c | 787 mem_addr = pinfo->mem_addr + L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize); in cpm_uart_initbd()
|
/linux-4.1.27/include/linux/ |
D | cache.h | 7 #ifndef L1_CACHE_ALIGN 8 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES) macro
|
/linux-4.1.27/drivers/scsi/ |
D | 53c700.h | 226 #define MSGOUT_OFFSET (L1_CACHE_ALIGN(sizeof(SCRIPT))) 228 #define MSGIN_OFFSET (MSGOUT_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 230 #define STATUS_OFFSET (MSGIN_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 232 #define SLOTS_OFFSET (STATUS_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE)) 234 #define TOTAL_MEM_SIZE (SLOTS_OFFSET + L1_CACHE_ALIGN(sizeof(struct NCR_700_command_slot) * NCR_700…
|
/linux-4.1.27/arch/ia64/mm/ |
D | discontig.c | 124 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize() 125 pernodesize += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in compute_pernodesize() 126 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize() 282 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode() 285 pernode += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in fill_pernode() 288 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 48 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kmalloc_cacheline_aligned() 58 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kmalloc_cacheline_aligned() 98 len = L1_CACHE_ALIGN(len); in xpc_get_rsvd_page_pa() 103 buf_len = L1_CACHE_ALIGN(len); in xpc_get_rsvd_page_pa()
|
D | xpc.h | 177 #define XPC_RP_HEADER_SIZE L1_CACHE_ALIGN(sizeof(struct xpc_rsvd_page)) 178 #define XPC_RP_VARS_SIZE L1_CACHE_ALIGN(sizeof(struct xpc_vars_sn2)) 309 L1_CACHE_ALIGN(sizeof(struct xpc_gp_sn2) * XPC_MAX_NCHANNELS) 324 L1_CACHE_ALIGN(sizeof(struct xpc_openclose_args) * \
|
D | xpc_main.c | 390 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kzalloc_cacheline_aligned() 400 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kzalloc_cacheline_aligned() 927 DBUG_ON((u64)part != L1_CACHE_ALIGN((u64)part)); in xpc_setup_partitions()
|
D | xpc_sn2.c | 1329 DBUG_ON(src_pa != L1_CACHE_ALIGN(src_pa)); in xpc_pull_remote_cachelines_sn2() 1330 DBUG_ON((unsigned long)dst != L1_CACHE_ALIGN((unsigned long)dst)); in xpc_pull_remote_cachelines_sn2() 1331 DBUG_ON(cnt != L1_CACHE_ALIGN(cnt)); in xpc_pull_remote_cachelines_sn2() 1354 (struct xpc_vars_part_sn2 *)L1_CACHE_ALIGN((u64)buffer); in xpc_pull_remote_vars_part_sn2() 1364 L1_CACHE_ALIGN(part_sn2->remote_vars_part_pa)); in xpc_pull_remote_vars_part_sn2()
|
D | xpnet.c | 459 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); in xpnet_dev_hard_start_xmit()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | nodedata.h | 59 L1_CACHE_ALIGN(sizeof(struct pglist_data))))
|
/linux-4.1.27/sound/firewire/ |
D | packets-buffer.c | 36 packet_size = L1_CACHE_ALIGN(packet_size); in iso_packets_buffer_init()
|
/linux-4.1.27/arch/sh/mm/ |
D | cache-sh5.c | 78 addr = L1_CACHE_ALIGN(aligned_start); in sh64_icache_inv_kernel_range() 222 aligned_start = L1_CACHE_ALIGN(start); in sh64_icache_inv_current_user_range()
|
/linux-4.1.27/arch/ia64/sn/kernel/ |
D | bte.c | 286 bteBlock = (char *)L1_CACHE_ALIGN((u64) bteBlock_unaligned); in bte_unaligned_copy() 392 headBteLen = L1_CACHE_ALIGN(len + headBcopySrcOffset); in bte_unaligned_copy()
|
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 138 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_rx_napi() 147 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_rx_napi() 189 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_rx_napi() 417 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_init_bds() 473 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_cleanup_bds()
|
D | fs_enet.h | 121 #define ENET_RX_FRSIZE L1_CACHE_ALIGN(PKT_MAXBUF_SIZE + ENET_RX_ALIGN - 1)
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_mem.c | 90 arr->va_size = size = L1_CACHE_ALIGN(size); in cfs_percpt_alloc()
|
D | tracefile.h | 180 char __pad[L1_CACHE_ALIGN(sizeof(struct cfs_trace_cpu_data))];
|
/linux-4.1.27/drivers/hsi/clients/ |
D | cmt_speech.c | 821 size_t buf_size_aligned = L1_CACHE_ALIGN(buf_cfg->buf_size) * in check_buf_params() 823 size_t ctrl_size_aligned = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in check_buf_params() 896 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable() 901 data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in cs_hsi_data_enable()
|
/linux-4.1.27/drivers/tty/serial/ |
D | ucc_uart.c | 622 L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_initbd() 1016 rx_size = L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_request_port() 1017 tx_size = L1_CACHE_ALIGN(qe_port->tx_nrfifos * qe_port->tx_fifosize); in qe_uart_request_port()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | cache.c | 370 parisc_cache_flush_threshold = L1_CACHE_ALIGN(parisc_cache_flush_threshold); in parisc_setup_cache_timing()
|
/linux-4.1.27/drivers/net/cris/ |
D | eth_v10.c | 339 RxDescList[i].descr.buf = L1_CACHE_ALIGN(virt_to_phys(RxDescList[i].skb->data)); in etrax_ethernet_init() 1302 myNextRxDesc->descr.buf = L1_CACHE_ALIGN(virt_to_phys(myNextRxDesc->skb->data)); in e100_rx()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lprocfs_status.h | 476 percpusize = L1_CACHE_ALIGN(percpusize); in lprocfs_stats_counter_size()
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 354 L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + NET_IP_ALIGN) 357 L1_CACHE_ALIGN(ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN + NET_IP_ALIGN)
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | sdio.c | 374 (u8 *)L1_CACHE_ALIGN((unsigned long)virt_buf); in ath6kl_sdio_alloc_prep_scat_req()
|
/linux-4.1.27/drivers/parisc/ |
D | sba_iommu.c | 631 L1_CACHE_ALIGN(((unsigned long) pdir_ptr)) in sba_mark_invalid()
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 45 #define SXGBE_ALIGN(x) L1_CACHE_ALIGN(x)
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 56 #define STMMAC_ALIGN(x) L1_CACHE_ALIGN(x)
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 849 status_blk_size = L1_CACHE_ALIGN(sizeof(struct status_block)); in bnx2_alloc_mem() 851 status_blk_size = L1_CACHE_ALIGN(BNX2_MAX_MSIX_HW_VEC * in bnx2_alloc_mem()
|