Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-css-fw.c13 static void imgu_css_fw_show_binary(struct device *dev, struct imgu_fw_info *bi, in imgu_css_fw_show_binary() argument
19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary()
20 if (bi->type != IMGU_FW_ISP_FIRMWARE) in imgu_css_fw_show_binary()
24 bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode, in imgu_css_fw_show_binary()
25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary()
26 bi->info.isp.sp.enable.vf_veceven, in imgu_css_fw_show_binary()
27 bi->info.isp.sp.vf_dec.is_variable, in imgu_css_fw_show_binary()
28 bi->info.isp.num_output_pins); in imgu_css_fw_show_binary()
31 bi->info.isp.sp.input.min_width, in imgu_css_fw_show_binary()
32 bi->info.isp.sp.input.min_height, in imgu_css_fw_show_binary()
[all …]
Dipu3-css.c431 struct imgu_fw_info *bi = in imgu_css_hw_init() local
435 base + IMGU_REG_SP_ICACHE_ADDR(bi->type)); in imgu_css_hw_init()
436 writel(readl(base + IMGU_REG_SP_CTRL(bi->type)) | in imgu_css_hw_init()
438 base + IMGU_REG_SP_CTRL(bi->type)); in imgu_css_hw_init()
485 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; in imgu_css_hw_start_sp() local
488 + bi->blob.data_source, in imgu_css_hw_start_sp()
489 .dmem_data_addr = bi->blob.data_target, in imgu_css_hw_start_sp()
490 .dmem_bss_addr = bi->blob.bss_target, in imgu_css_hw_start_sp()
491 .data_size = bi->blob.data_size, in imgu_css_hw_start_sp()
492 .bss_size = bi->blob.bss_size, in imgu_css_hw_start_sp()
[all …]
/kernel/linux/linux-5.10/crypto/
Daes_generic.c1147 #define f_rn(bo, bi, n, k) do { \ argument
1148 bo[n] = crypto_ft_tab[0][byte(bi[n], 0)] ^ \
1149 crypto_ft_tab[1][byte(bi[(n + 1) & 3], 1)] ^ \
1150 crypto_ft_tab[2][byte(bi[(n + 2) & 3], 2)] ^ \
1151 crypto_ft_tab[3][byte(bi[(n + 3) & 3], 3)] ^ *(k + n); \
1154 #define f_nround(bo, bi, k) do {\ argument
1155 f_rn(bo, bi, 0, k); \
1156 f_rn(bo, bi, 1, k); \
1157 f_rn(bo, bi, 2, k); \
1158 f_rn(bo, bi, 3, k); \
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dbootx_init.c38 #define BOOT_INFO_IS_COMPATIBLE(bi) \ argument
39 ((bi)->compatible_version <= BOOT_INFO_VERSION)
40 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) argument
41 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) argument
184 boot_infos_t *bi = bootx_info; in bootx_add_display_props() local
193 tmp = bi->dispDeviceDepth; in bootx_add_display_props()
195 tmp = bi->dispDeviceRect[2] - bi->dispDeviceRect[0]; in bootx_add_display_props()
197 tmp = bi->dispDeviceRect[3] - bi->dispDeviceRect[1]; in bootx_add_display_props()
199 tmp = bi->dispDeviceRowBytes; in bootx_add_display_props()
201 tmp = (u32)bi->dispDeviceBase; in bootx_add_display_props()
[all …]
/kernel/linux/linux-5.10/fs/ubifs/
Dbudget.c97 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability()
171 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs()
334 min_idx_lebs, c->bi.min_idx_lebs, rsvd_idx_lebs); in do_budget_space()
339 outstanding = c->bi.data_growth + c->bi.dd_growth; in do_budget_space()
350 c->bi.min_idx_lebs = min_idx_lebs; in do_budget_space()
383 data_growth = req->new_ino ? c->bi.inode_budget : 0; in calc_data_growth()
385 data_growth += c->bi.page_budget; in calc_data_growth()
387 data_growth += c->bi.dent_budget; in calc_data_growth()
403 dd_growth = req->dirtied_page ? c->bi.page_budget : 0; in calc_dd_growth()
406 dd_growth += c->bi.inode_budget << (req->dirtied_ino - 1); in calc_dd_growth()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c117 static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind);
118 static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi,
120 static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi, bool rebind);
121 static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind);
122 static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind);
123 static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind);
124 static int vmw_binding_scrub_so_target(struct vmw_ctx_bindinfo *bi, bool rebind);
126 static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi,
128 static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind);
129 static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind);
[all …]
Dvmwgfx_binding.h90 struct vmw_ctx_bindinfo bi; member
101 struct vmw_ctx_bindinfo bi; member
115 struct vmw_ctx_bindinfo bi; member
130 struct vmw_ctx_bindinfo bi; member
144 struct vmw_ctx_bindinfo bi; member
159 struct vmw_ctx_bindinfo bi; member
173 struct vmw_ctx_bindinfo bi; member
213 struct vmw_ctx_bindinfo bi; member
/kernel/linux/linux-5.10/tools/perf/util/
Dblock-info.c46 struct block_info *block_info__get(struct block_info *bi) in block_info__get() argument
48 if (bi) in block_info__get()
49 refcount_inc(&bi->refcnt); in block_info__get()
50 return bi; in block_info__get()
53 void block_info__put(struct block_info *bi) in block_info__put() argument
55 if (bi && refcount_dec_and_test(&bi->refcnt)) in block_info__put()
56 free(bi); in block_info__put()
61 struct block_info *bi = zalloc(sizeof(*bi)); in block_info__new() local
63 if (bi) in block_info__new()
64 refcount_set(&bi->refcnt, 1); in block_info__new()
[all …]
Dblock-info.h54 struct block_info *block_info__get(struct block_info *bi);
55 void block_info__put(struct block_info *bi);
57 static inline void __block_info__zput(struct block_info **bi) in __block_info__zput() argument
59 block_info__put(*bi); in __block_info__zput()
60 *bi = NULL; in __block_info__zput()
63 #define block_info__zput(bi) __block_info__zput(&bi) argument
/kernel/linux/linux-5.10/drivers/scsi/
Dsd_dif.c32 struct blk_integrity bi; in sd_dif_config_host() local
45 memset(&bi, 0, sizeof(bi)); in sd_dif_config_host()
50 bi.profile = &t10_pi_type3_ip; in sd_dif_config_host()
52 bi.profile = &t10_pi_type1_ip; in sd_dif_config_host()
54 bi.flags |= BLK_INTEGRITY_IP_CHECKSUM; in sd_dif_config_host()
57 bi.profile = &t10_pi_type3_crc; in sd_dif_config_host()
59 bi.profile = &t10_pi_type1_crc; in sd_dif_config_host()
61 bi.tuple_size = sizeof(struct t10_pi_tuple); in sd_dif_config_host()
63 "Enabling DIX %s protection\n", bi.profile->name); in sd_dif_config_host()
66 bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE; in sd_dif_config_host()
[all …]
/kernel/linux/linux-5.10/block/
Dblk-integrity.c225 struct blk_integrity *bi = &disk->queue->integrity; in integrity_attr_show() local
229 return entry->show(bi, page); in integrity_attr_show()
237 struct blk_integrity *bi = &disk->queue->integrity; in integrity_attr_store() local
243 ret = entry->store(bi, page, count); in integrity_attr_store()
248 static ssize_t integrity_format_show(struct blk_integrity *bi, char *page) in integrity_format_show() argument
250 if (bi->profile && bi->profile->name) in integrity_format_show()
251 return sprintf(page, "%s\n", bi->profile->name); in integrity_format_show()
256 static ssize_t integrity_tag_size_show(struct blk_integrity *bi, char *page) in integrity_tag_size_show() argument
258 return sprintf(page, "%u\n", bi->tag_size); in integrity_tag_size_show()
261 static ssize_t integrity_interval_show(struct blk_integrity *bi, char *page) in integrity_interval_show() argument
[all …]
Dbio-integrity.c165 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_process() local
175 iter.interval = 1 << bi->interval_exp; in bio_integrity_process()
211 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_prep() local
220 if (!bi) in bio_integrity_prep()
234 if (!bi->profile->verify_fn || in bio_integrity_prep()
235 !(bi->flags & BLK_INTEGRITY_VERIFY)) in bio_integrity_prep()
238 if (!bi->profile->generate_fn || in bio_integrity_prep()
239 !(bi->flags & BLK_INTEGRITY_GENERATE)) in bio_integrity_prep()
242 intervals = bio_integrity_intervals(bi, bio_sectors(bio)); in bio_integrity_prep()
245 len = intervals * bi->tuple_size; in bio_integrity_prep()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css_firmware.c106 sh_css_load_blob_info(const char *fw, const struct ia_css_fw_info *bi, in sh_css_load_blob_info() argument
117 if (!bi) in sh_css_load_blob_info()
118 bi = (const struct ia_css_fw_info *)fw; in sh_css_load_blob_info()
120 name = fw + bi->blob.prog_name_offset; in sh_css_load_blob_info()
121 blob = (const unsigned char *)fw + bi->blob.offset; in sh_css_load_blob_info()
124 if (bi->blob.size != in sh_css_load_blob_info()
125 bi->blob.text_size + bi->blob.icache_size + in sh_css_load_blob_info()
126 bi->blob.data_size + bi->blob.padding_size) { in sh_css_load_blob_info()
131 if ((bi->blob.offset % (1UL << (ISP_PMEM_WIDTH_LOG2 - 3))) != 0) in sh_css_load_blob_info()
135 bd->header = *bi; in sh_css_load_blob_info()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c147 struct ixgbe_rx_buffer *bi; in ixgbe_alloc_rx_buffers_zc() local
157 bi = &rx_ring->rx_buffer_info[i]; in ixgbe_alloc_rx_buffers_zc()
161 bi->xdp = xsk_buff_alloc(rx_ring->xsk_pool); in ixgbe_alloc_rx_buffers_zc()
162 if (!bi->xdp) { in ixgbe_alloc_rx_buffers_zc()
167 dma = xsk_buff_xdp_get_dma(bi->xdp); in ixgbe_alloc_rx_buffers_zc()
175 bi++; in ixgbe_alloc_rx_buffers_zc()
179 bi = rx_ring->rx_buffer_info; in ixgbe_alloc_rx_buffers_zc()
207 struct ixgbe_rx_buffer *bi) in ixgbe_construct_skb_zc() argument
209 unsigned int metasize = bi->xdp->data - bi->xdp->data_meta; in ixgbe_construct_skb_zc()
210 unsigned int datasize = bi->xdp->data_end - bi->xdp->data; in ixgbe_construct_skb_zc()
[all …]
/kernel/linux/linux-5.10/fs/bfs/
Dfile.c71 struct bfs_inode_info *bi = BFS_I(inode); in bfs_get_block() local
73 phys = bi->i_sblock + block; in bfs_get_block()
75 if (phys <= bi->i_eblock) { in bfs_get_block()
87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block()
106 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block()
110 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
111 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
124 if (bi->i_sblock) { in bfs_get_block()
125 err = bfs_move_blocks(inode->i_sb, bi->i_sblock, in bfs_get_block()
126 bi->i_eblock, phys); in bfs_get_block()
[all …]
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dhdlcdrv.c489 struct hdlcdrv_ioctl bi; in hdlcdrv_ioctl() local
493 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl()
496 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in hdlcdrv_ioctl()
499 switch (bi.cmd) { in hdlcdrv_ioctl()
502 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl()
506 bi.data.cp.tx_delay = s->ch_params.tx_delay; in hdlcdrv_ioctl()
507 bi.data.cp.tx_tail = s->ch_params.tx_tail; in hdlcdrv_ioctl()
508 bi.data.cp.slottime = s->ch_params.slottime; in hdlcdrv_ioctl()
509 bi.data.cp.ppersist = s->ch_params.ppersist; in hdlcdrv_ioctl()
510 bi.data.cp.fulldup = s->ch_params.fulldup; in hdlcdrv_ioctl()
[all …]
/kernel/linux/linux-5.10/fs/reiserfs/
Ddo_balan.c20 struct buffer_info *bi) in buffer_info_init_left() argument
22 bi->tb = tb; in buffer_info_init_left()
23 bi->bi_bh = tb->L[0]; in buffer_info_init_left()
24 bi->bi_parent = tb->FL[0]; in buffer_info_init_left()
25 bi->bi_position = get_left_neighbor_position(tb, 0); in buffer_info_init_left()
29 struct buffer_info *bi) in buffer_info_init_right() argument
31 bi->tb = tb; in buffer_info_init_right()
32 bi->bi_bh = tb->R[0]; in buffer_info_init_right()
33 bi->bi_parent = tb->FR[0]; in buffer_info_init_right()
34 bi->bi_position = get_right_neighbor_position(tb, 0); in buffer_info_init_right()
[all …]
Dlbalance.c814 static void leaf_delete_items_entirely(struct buffer_info *bi,
901 void leaf_insert_into_buf(struct buffer_info *bi, int before, in leaf_insert_into_buf() argument
906 struct buffer_head *bh = bi->bi_bh; in leaf_insert_into_buf()
962 do_balance_mark_leaf_dirty(bi->tb, bh, 1); in leaf_insert_into_buf()
964 if (bi->bi_parent) { in leaf_insert_into_buf()
966 t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_insert_into_buf()
970 do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); in leaf_insert_into_buf()
978 void leaf_paste_in_buffer(struct buffer_info *bi, int affected_item_num, in leaf_paste_in_buffer() argument
982 struct buffer_head *bh = bi->bi_bh; in leaf_paste_in_buffer()
1001 if (bi && bi->tb) in leaf_paste_in_buffer()
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Drgrp.c79 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_setbit() local
80 unsigned int buflen = bi->bi_bytes; in gfs2_setbit()
83 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
84 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit()
96 (unsigned long long)rbm->rgd->rd_addr, bi->bi_start, in gfs2_setbit()
97 (unsigned long long)bi->bi_bh->b_blocknr); in gfs2_setbit()
99 bi->bi_offset, bi->bi_bytes, in gfs2_setbit()
107 if (do_clone && bi->bi_clone) { in gfs2_setbit()
108 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
127 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_testbit() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c752 bnad_per_q_stats_fill(struct bnad *bnad, u64 *buf, int bi) in bnad_per_q_stats_fill() argument
765 buf[bi++] = bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill()
767 buf[bi++] = 0; /* ccb->consumer_index */ in bnad_per_q_stats_fill()
768 buf[bi++] = *(bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill()
771 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill()
773 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill()
775 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill()
777 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill()
779 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill()
793 buf[bi++] = rcb->rxq->rx_packets; in bnad_per_q_stats_fill()
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dnuma.c246 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() local
250 bi->start, bi->end - bi->start)) { in numa_cleanup_meminfo()
256 bi->start = max(bi->start, low); in numa_cleanup_meminfo()
259 if (bi->end > high) { in numa_cleanup_meminfo()
260 numa_add_memblk_to(bi->nid, high, bi->end, in numa_cleanup_meminfo()
262 bi->end = high; in numa_cleanup_meminfo()
266 if (bi->start >= bi->end) in numa_cleanup_meminfo()
272 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() local
283 if (bi->end > bj->start && bi->start < bj->end) { in numa_cleanup_meminfo()
284 if (bi->nid != bj->nid) { in numa_cleanup_meminfo()
[all …]
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dbootinfo_proc.c34 void __init save_bootinfo(const struct bi_record *bi) in save_bootinfo() argument
36 const void *start = bi; in save_bootinfo()
37 size_t size = sizeof(bi->tag); in save_bootinfo()
39 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo()
40 uint16_t n = be16_to_cpu(bi->size); in save_bootinfo()
42 bi = (struct bi_record *)((unsigned long)bi + n); in save_bootinfo()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c268 static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) in mi1_mdio_init() argument
270 u32 clkdiv = bi->clock_elmer0 / (2 * bi->mdio_mdc) - 1; in mi1_mdio_init()
271 u32 val = F_MI1_PREAMBLE_ENABLE | V_MI1_MDI_INVERT(bi->mdio_mdiinv) | in mi1_mdio_init()
272 V_MI1_MDI_ENABLE(bi->mdio_mdien) | V_MI1_CLK_DIV(clkdiv); in mi1_mdio_init()
274 if (!(bi->caps & SUPPORTED_10000baseT_Full)) in mi1_mdio_init()
894 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, in t1_get_board_rev() argument
897 p->chip_version = bi->chip_term; in t1_get_board_rev()
920 static int board_init(adapter_t *adapter, const struct board_info *bi) in board_init() argument
922 switch (bi->board) { in board_init()
965 const struct board_info *bi = board_info(adapter); in t1_init_hw_modules() local
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dmdio-boardinfo.c27 struct mdio_board_info *bi)) in mdiobus_setup_mdiodev_from_board_info() argument
31 struct mdio_board_info *bi; in mdiobus_setup_mdiodev_from_board_info() local
36 bi = &be->board_info; in mdiobus_setup_mdiodev_from_board_info()
38 if (strcmp(bus->id, bi->bus_id)) in mdiobus_setup_mdiodev_from_board_info()
42 ret = cb(bus, bi); in mdiobus_setup_mdiodev_from_board_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c249 struct xdp_buff **bi, *xdp; in i40e_alloc_rx_buffers_zc() local
254 bi = i40e_rx_bi(rx_ring, ntu); in i40e_alloc_rx_buffers_zc()
261 *bi = xdp; in i40e_alloc_rx_buffers_zc()
267 bi++; in i40e_alloc_rx_buffers_zc()
272 bi = i40e_rx_bi(rx_ring, 0); in i40e_alloc_rx_buffers_zc()
354 struct xdp_buff **bi; in i40e_clean_rx_irq_zc() local
371 bi = i40e_rx_bi(rx_ring, rx_ring->next_to_clean); in i40e_clean_rx_irq_zc()
372 xsk_buff_free(*bi); in i40e_clean_rx_irq_zc()
373 *bi = NULL; in i40e_clean_rx_irq_zc()
379 bi = i40e_rx_bi(rx_ring, rx_ring->next_to_clean); in i40e_clean_rx_irq_zc()
[all …]

12345678