Home
last modified time | relevance | path

Searched refs:L1_CACHE_ALIGN (Results 1 – 25 of 30) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_cpm1.c80 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf()
81 L1_CACHE_ALIGN(pinfo->tx_nrfifos * pinfo->tx_fifosize); in cpm_uart_allocbuf()
104 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf()
115 dma_free_coherent(pinfo->port.dev, L1_CACHE_ALIGN(pinfo->rx_nrfifos * in cpm_uart_freebuf()
117 L1_CACHE_ALIGN(pinfo->tx_nrfifos * in cpm_uart_freebuf()
H A Dcpm_uart_cpm2.c116 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf()
117 L1_CACHE_ALIGN(pinfo->tx_nrfifos * pinfo->tx_fifosize); in cpm_uart_allocbuf()
139 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf()
150 dma_free_coherent(pinfo->port.dev, L1_CACHE_ALIGN(pinfo->rx_nrfifos * in cpm_uart_freebuf()
152 L1_CACHE_ALIGN(pinfo->tx_nrfifos * in cpm_uart_freebuf()
H A Dcpm_uart_core.c773 mem_addr = pinfo->mem_addr + L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize); in cpm_uart_initbd()
/OK3568_Linux_fs/kernel/arch/ia64/mm/
H A Ddiscontig.c119 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize()
120 pernodesize += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in compute_pernodesize()
121 pernodesize += L1_CACHE_ALIGN(sizeof(pg_data_t)); in compute_pernodesize()
273 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
276 pernode += L1_CACHE_ALIGN(sizeof(struct ia64_node_data)); in fill_pernode()
277 pernode += L1_CACHE_ALIGN(sizeof(pg_data_t)); in fill_pernode()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcache.h8 #ifndef L1_CACHE_ALIGN
9 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES) macro
/OK3568_Linux_fs/kernel/drivers/scsi/
H A D53c700.h229 #define MSGOUT_OFFSET (L1_CACHE_ALIGN(sizeof(SCRIPT)))
231 #define MSGIN_OFFSET (MSGOUT_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
233 #define STATUS_OFFSET (MSGIN_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
235 #define SLOTS_OFFSET (STATUS_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
237 #define TOTAL_MEM_SIZE (SLOTS_OFFSET + L1_CACHE_ALIGN(sizeof(struct NCR_700_command_slot) * NCR_700…
/OK3568_Linux_fs/kernel/drivers/misc/sgi-xp/
H A Dxpc_partition.c49 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kmalloc_cacheline_aligned()
59 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kmalloc_cacheline_aligned()
99 buf_len = L1_CACHE_ALIGN(len); in xpc_get_rsvd_page_pa()
H A Dxpc.h104 #define XPC_RP_HEADER_SIZE L1_CACHE_ALIGN(sizeof(struct xpc_rsvd_page))
236 L1_CACHE_ALIGN(sizeof(struct xpc_openclose_args) * \
H A Dxpc_main.c383 if ((u64)*base == L1_CACHE_ALIGN((u64)*base)) in xpc_kzalloc_cacheline_aligned()
393 return (void *)L1_CACHE_ALIGN((u64)*base); in xpc_kzalloc_cacheline_aligned()
922 DBUG_ON((u64)part != L1_CACHE_ALIGN((u64)part)); in xpc_setup_partitions()
H A Dxpnet.c446 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); in xpnet_dev_hard_start_xmit()
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dnodedata.h59 L1_CACHE_ALIGN(sizeof(struct pglist_data))))
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c249 L1_CACHE_ALIGN(pkt_len), in fs_enet_napi()
262 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi()
267 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi()
385 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_init_bds()
441 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_cleanup_bds()
H A Dfs_enet.h119 #define ENET_RX_FRSIZE L1_CACHE_ALIGN(PKT_MAXBUF_SIZE + ENET_RX_ALIGN - 1)
/OK3568_Linux_fs/kernel/sound/firewire/
H A Dpackets-buffer.c36 packet_size = L1_CACHE_ALIGN(packet_size); in iso_packets_buffer_init()
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dcache.h35 #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) macro
/OK3568_Linux_fs/kernel/drivers/hsi/clients/
H A Dcmt_speech.c813 size_t buf_size_aligned = L1_CACHE_ALIGN(buf_cfg->buf_size) * in check_buf_params()
815 size_t ctrl_size_aligned = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in check_buf_params()
888 hi->slot_size = L1_CACHE_ALIGN(hi->buf_size); in cs_hsi_data_enable()
893 data_start = L1_CACHE_ALIGN(sizeof(*hi->mmap_cfg)); in cs_hsi_data_enable()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/
H A Dgve_tx.c113 aligned_head = L1_CACHE_ALIGN(fifo->head); in gve_tx_alloc_fifo()
302 align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; in gve_skb_fifo_bytes_required()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Ducc_uart.c621 L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_initbd()
1008 rx_size = L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_request_port()
1009 tx_size = L1_CACHE_ALIGN(qe_port->tx_nrfifos * qe_port->tx_fifosize); in qe_uart_request_port()
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dcache.c406 threshold = L1_CACHE_ALIGN(size * alltime / rangetime); in parisc_setup_cache_timing()
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/
H A Ddma.c18 size = L1_CACHE_ALIGN(dev->drv->txwi_size + sizeof(*t)); in mt76_alloc_txwi()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/toshiba/
H A Dtc35815.c354 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)
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c376 (u8 *)L1_CACHE_ALIGN((unsigned long)virt_buf); in ath6kl_sdio_alloc_prep_scat_req()
/OK3568_Linux_fs/kernel/net/xdp/
H A Dxsk.c390 hr = max(NET_SKB_PAD, L1_CACHE_ALIGN(xs->dev->needed_headroom)); in xsk_generic_xmit()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aurora/
H A Dnb8800.c192 int size = L1_CACHE_ALIGN(RX_BUF_SIZE); in nb8800_alloc_rx()
/OK3568_Linux_fs/kernel/drivers/parisc/
H A Dsba_iommu.c628 L1_CACHE_ALIGN(((unsigned long) pdir_ptr)) in sba_mark_invalid()

12