Home
last modified time | relevance | path

Searched refs:log_num (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_profile.c74 int log_num; in mthca_make_profile() member
117 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
163 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
181 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile()
186 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile()
191 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile()
196 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile()
207 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile()
222 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile()
223 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); in mthca_make_profile()
[all …]
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c80 int log_num; in mlx4_make_profile() member
139 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile()
176 profile[i].log_num, in mlx4_make_profile()
189 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile()
210 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile()
215 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile()
235 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile()
249 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile()
255 profile[i].log_num - 1; in mlx4_make_profile()
/linux-4.1.27/drivers/vhost/
Dvhost.c982 unsigned int log_num, u64 len) in vhost_log_write() argument
988 for (i = 0; i < log_num; ++i) { in vhost_log_write()
1123 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument
1194 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect()
1195 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect()
1196 ++*log_num; in get_indirect()
1223 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument
1276 *log_num = 0; in vhost_get_vq_desc()
1301 log, log_num, &desc); in vhost_get_vq_desc()
1323 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in vhost_get_vq_desc()
[all …]
Dvhost.h140 struct vhost_log *log, unsigned int *log_num);
156 unsigned int log_num, u64 len);
Dnet.c454 unsigned *log_num, in get_rx_bufs() argument
474 &in, log, log_num); in get_rx_bufs()
490 nlogs += *log_num; in get_rx_bufs()
491 log += *log_num; in get_rx_bufs()
503 *log_num = nlogs; in get_rx_bufs()
/linux-4.1.27/drivers/dma/
Dste_dma40.c458 int log_num; member
606 return chan->log_num == D40_PHY_CHAN; in chan_is_physical()
1115 d40c->phy_chan->num, d40c->log_num, in __d40_execute_command_phy()
1221 d40c->log_num, status); in __d40_config_set_event()
1865 int log_num; in d40_allocate_channel() local
1874 log_num = 2 * dev_type; in d40_allocate_channel()
1879 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1919 d40c->log_num = D40_PHY_CHAN; in d40_allocate_channel()
1972 d40c->log_num = log_num; in d40_allocate_channel()
1976 d40c->base->lookup_log_chans[d40c->log_num] = d40c; in d40_allocate_channel()
[all …]