Searched refs:log_num (Results 1 – 6 of 6) sorted by relevance
/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 74 int log_num; in mthca_make_profile() member 116 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile() 159 i, profile[i].type, profile[i].log_num, in mthca_make_profile() 177 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile() 182 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile() 187 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile() 192 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile() 203 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile() 218 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile() 219 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); in mthca_make_profile() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | profile.c | 80 int log_num; in mlx4_make_profile() member 138 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile() 172 profile[i].log_num, in mlx4_make_profile() 185 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile() 206 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile() 211 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile() 231 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile() 245 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile() 251 profile[i].log_num - 1; in mlx4_make_profile()
|
/drivers/vhost/ |
D | vhost.c | 1667 unsigned int log_num, u64 len) in vhost_log_write() argument 1673 for (i = 0; i < log_num; ++i) { in vhost_log_write() 1836 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument 1914 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect() 1915 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect() 1916 ++*log_num; in get_indirect() 1943 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument 1996 *log_num = 0; in vhost_get_vq_desc() 2022 log, log_num, &desc); in vhost_get_vq_desc() 2050 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in vhost_get_vq_desc() [all …]
|
D | vhost.h | 189 struct vhost_log *log, unsigned int *log_num); 206 unsigned int log_num, u64 len);
|
D | net.c | 559 unsigned *log_num, in get_rx_bufs() argument 579 &in, log, log_num); in get_rx_bufs() 595 nlogs += *log_num; in get_rx_bufs() 596 log += *log_num; in get_rx_bufs() 608 *log_num = nlogs; in get_rx_bufs()
|
/drivers/dma/ |
D | ste_dma40.c | 458 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 …]
|