Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/drivers/infiniband/hw/mthca/
Dmthca_profile.c72 int log_num; in mthca_make_profile() member
114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
157 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
175 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile()
180 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile()
185 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile()
190 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile()
201 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile()
216 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile()
217 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); in mthca_make_profile()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/vhost/
Dvhost.h188 struct vhost_log *log, unsigned int *log_num);
206 unsigned int log_num, u64 len,
Dvhost.c1943 unsigned int log_num, u64 len, struct iovec *iov, int count) in vhost_log_write() argument
1960 for (i = 0; i < log_num; ++i) { in vhost_log_write()
2113 struct vhost_log *log, unsigned int *log_num, in get_indirect() argument
2185 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in get_indirect()
2186 log[*log_num].len = vhost32_to_cpu(vq, desc.len); in get_indirect()
2187 ++*log_num; in get_indirect()
2214 struct vhost_log *log, unsigned int *log_num) in vhost_get_vq_desc() argument
2273 *log_num = 0; in vhost_get_vq_desc()
2298 log, log_num, &desc); in vhost_get_vq_desc()
2326 log[*log_num].addr = vhost64_to_cpu(vq, desc.addr); in vhost_get_vq_desc()
[all …]
Dnet.c1045 unsigned *log_num, in get_rx_bufs() argument
1065 &in, log, log_num); in get_rx_bufs()
1081 nlogs += *log_num; in get_rx_bufs()
1082 log += *log_num; in get_rx_bufs()
1094 *log_num = nlogs; in get_rx_bufs()
/Linux-v6.1/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()
1839 int log_num; in d40_allocate_channel() local
1848 log_num = 2 * dev_type; in d40_allocate_channel()
1853 log_num = 2 * dev_type + 1; in d40_allocate_channel()
1893 d40c->log_num = D40_PHY_CHAN; in d40_allocate_channel()
1946 d40c->log_num = log_num; in d40_allocate_channel()
1950 d40c->base->lookup_log_chans[d40c->log_num] = d40c; in d40_allocate_channel()
[all …]