Home
last modified time | relevance | path

Searched refs:align_offset (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/csr/
Dul_int.c338 u32 align_offset = (u32)(long)(bulkdata->d[i].os_data_ptr) & (CSR_WIFI_ALIGN_BYTES-1); in _align_bulk_data_buffers() local
339 if (align_offset) in _align_bulk_data_buffers()
345 align_offset); in _align_bulk_data_buffers()
351 align_offset); in _align_bulk_data_buffers()
356 bulkdata->d[i].os_data_ptr, align_offset, skb->data); in _align_bulk_data_buffers()
360 if (unlikely(skb_headroom(skb) < align_offset)) in _align_bulk_data_buffers()
365 skb = skb_realloc_headroom(skb, align_offset); in _align_bulk_data_buffers()
378 skb_push(skb, align_offset); in _align_bulk_data_buffers()
382 signal[SIZEOF_SIGNAL_HEADER + (i * SIZEOF_DATAREF) + 1] = align_offset; in _align_bulk_data_buffers()
Dunifi_pdu_processing.c32 u32 align_offset; in _update_buffered_pkt_params_after_alignment() local
39 align_offset = (u32)(long)(bulkdata->d[0].os_data_ptr) & (CSR_WIFI_ALIGN_BYTES-1); in _update_buffered_pkt_params_after_alignment()
40 if(align_offset){ in _update_buffered_pkt_params_after_alignment()
41 skb_pull(skb,align_offset); in _update_buffered_pkt_params_after_alignment()
/drivers/scsi/pm8001/
Dpm8001_sas.c123 u64 align_offset = 0; in pm8001_mem_alloc() local
125 align_offset = (dma_addr_t)align - 1; in pm8001_mem_alloc()
134 phys_align = (*pphys_addr + align_offset) & ~align_offset; in pm8001_mem_alloc()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1569 u32 cmd_flags, align_offset, val; in bnx2x_nvram_write1() local
1588 align_offset = (offset & ~0x03); in bnx2x_nvram_write1()
1589 rc = bnx2x_nvram_read_dword(bp, align_offset, &val_be, cmd_flags); in bnx2x_nvram_write1()
1600 rc = bnx2x_nvram_write_dword(bp, align_offset, val, in bnx2x_nvram_write1()