Searched refs:MLX4_TABLE_CHUNK_SIZE (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/mlx4/
H A Dicm.c51 MLX4_TABLE_CHUNK_SIZE = 1 << 18 enumerator in enum:__anon16844
257 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
267 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
276 (u64) i * MLX4_TABLE_CHUNK_SIZE)) {
294 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
299 mlx4_UNMAP_ICM(dev, table->virt + i * MLX4_TABLE_CHUNK_SIZE,
300 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE);
321 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE];
322 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE;
356 int inc = MLX4_TABLE_CHUNK_SIZE / tabl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/mlx4/
H A Dicm.c51 MLX4_TABLE_CHUNK_SIZE = 1 << 18 enumerator in enum:__anon28537
257 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
267 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
276 (u64) i * MLX4_TABLE_CHUNK_SIZE)) {
294 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
299 mlx4_UNMAP_ICM(dev, table->virt + i * MLX4_TABLE_CHUNK_SIZE,
300 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE);
321 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE];
322 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE;
356 int inc = MLX4_TABLE_CHUNK_SIZE / tabl
[all...]

Completed in 137 milliseconds