Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/parsers/
Dsharpslpart.c169 int i, ret, log_num; in sharpsl_nand_init_ftl() local
204 log_num = sharpsl_nand_get_logical_num(oob); in sharpsl_nand_init_ftl()
207 if (log_num > 0 && log_num < ftl->logmax) { in sharpsl_nand_init_ftl()
208 if (ftl->log2phy[log_num] == UINT_MAX) in sharpsl_nand_init_ftl()
209 ftl->log2phy[log_num] = block_num; in sharpsl_nand_init_ftl()
233 unsigned int log_num, final_log_num; in sharpsl_nand_read_laddr() local
240 log_num = mtd_div_by_eb((u32)from, mtd); in sharpsl_nand_read_laddr()
243 if (len <= 0 || log_num >= ftl->logmax || final_log_num > log_num) in sharpsl_nand_read_laddr()
246 block_num = ftl->log2phy[log_num]; in sharpsl_nand_read_laddr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_profile.c74 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 …]
/kernel/linux/linux-5.10/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()
173 profile[i].log_num, in mlx4_make_profile()
186 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile()
207 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile()
212 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile()
232 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile()
246 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile()
252 profile[i].log_num - 1; in mlx4_make_profile()
/kernel/linux/linux-5.10/drivers/vhost/
Dvhost.h190 struct vhost_log *log, unsigned int *log_num);
208 unsigned int log_num, u64 len,
Dvhost.c1931 unsigned int log_num, u64 len, struct iovec *iov, int count) in vhost_log_write() argument
1948 for (i = 0; i < log_num; ++i) { in vhost_log_write()
2101 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument
2173 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect()
2174 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect()
2175 ++*log_num; in get_indirect()
2202 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument
2261 *log_num = 0; in vhost_get_vq_desc()
2286 log, log_num, &desc); in vhost_get_vq_desc()
2314 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in vhost_get_vq_desc()
[all …]
Dnet.c1042 unsigned *log_num, in get_rx_bufs() argument
1062 &in, log, log_num); in get_rx_bufs()
1078 nlogs += *log_num; in get_rx_bufs()
1079 log += *log_num; in get_rx_bufs()
1091 *log_num = nlogs; in get_rx_bufs()
/kernel/linux/linux-5.10/drivers/dma/
Dste_dma40.c460 int log_num; member
610 return chan->log_num == D40_PHY_CHAN; in chan_is_physical()
1096 d40c->phy_chan->num, d40c->log_num, in __d40_execute_command_phy()
1202 d40c->log_num, status); in __d40_config_set_event()
1840 int log_num; in d40_allocate_channel() local
1849 log_num = 2 * dev_type; in d40_allocate_channel()
1854 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1894 d40c->log_num = D40_PHY_CHAN; in d40_allocate_channel()
1947 d40c->log_num = log_num; in d40_allocate_channel()
1951 d40c->base->lookup_log_chans[d40c->log_num] = d40c; in d40_allocate_channel()
[all …]