android_kernel_xiaomi_sdm845/drivers/infiniband/hw/mthca
Marcin Slusarz 5163dc1a64 IB/mthca: Convert to use be16_add_cpu()
replace:

	big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) +
						expression_in_cpu_byteorder);

with:

	beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder);

Generated with a semantic patch.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-02-13 07:47:47 -08:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile
mthca_allocator.c IB/mthca: Replace memset(<addr>, 0, PAGE_SIZE) with clear_page(<addr>) 2007-07-10 12:28:05 -07:00
mthca_av.c IB/mthca: Set GRH:HopLimit when building MLX headers 2007-05-19 08:51:56 -07:00
mthca_catas.c
mthca_cmd.c IB/mthca: Don't read reserved fields in mthca_QUERY_ADAPTER() 2008-02-04 20:20:43 -08:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c IB/mthca: Convert to use be16_add_cpu() 2008-02-13 07:47:47 -08:00
mthca_dev.h IB/mthca: Remove MSI support as scheduled 2008-01-25 14:15:33 -08:00
mthca_doorbell.h IB/mthca: Avoid alignment traps when writing doorbells 2007-10-15 20:17:27 -07:00
mthca_eq.c IB/mthca: Remove MSI support as scheduled 2008-01-25 14:15:33 -08:00
mthca_mad.c
mthca_main.c IB: Avoid marking __devinitdata as const 2008-02-04 20:20:44 -08:00
mthca_mcg.c
mthca_memfree.c IB/mthca: Add missing sg_init_table() in mthca_map_user_db() 2008-02-12 14:38:22 -08:00
mthca_memfree.h PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mthca_mr.c IB/mthca: Return proper error codes from mthca_fmr_alloc() 2008-02-04 20:20:44 -08:00
mthca_pd.c
mthca_profile.c IB/mthca: Merge MR and FMR space on 64-bit systems 2007-02-12 16:16:29 -08:00
mthca_profile.h
mthca_provider.c IB/mthca: Don't read reserved fields in mthca_QUERY_ADAPTER() 2008-02-04 20:20:43 -08:00
mthca_provider.h IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
mthca_qp.c IB/ib_mthca: Pre-link receive WQEs in Tavor mode 2008-02-04 20:20:44 -08:00
mthca_reset.c
mthca_srq.c IB/ib_mthca: Pre-link receive WQEs in Tavor mode 2008-02-04 20:20:44 -08:00
mthca_uar.c
mthca_user.h
mthca_wqe.h IB/mthca: Factor out setting WQE data segment entries 2007-07-18 11:30:34 -07:00