| /linux-6.15/drivers/power/supply/ |
| H A D | ab8500_bmdata.c | 152 bi = bm->bi; in ab8500_bm_of_probe() 177 if (bi->charge_term_current_ua) in ab8500_bm_of_probe() 181 if (!bi->maintenance_charge || !bi->maintenance_charge_size) { in ab8500_bm_of_probe() 204 !bi->resist_table) { in ab8500_bm_of_probe() 211 if (bi->bti_resistance_ohm < 0 || in ab8500_bm_of_probe() 213 bi->bti_resistance_ohm = 7000; in ab8500_bm_of_probe() 217 if (!bi->ocv_table[0]) { in ab8500_bm_of_probe() 219 bi->ocv_temp[0] = 25; in ab8500_bm_of_probe() 220 bi->ocv_table[0] = ocv_cap_tbl; in ab8500_bm_of_probe() 224 if (bi->temp_min == INT_MIN) in ab8500_bm_of_probe() [all …]
|
| /linux-6.15/drivers/staging/media/ipu3/ |
| H A D | ipu3-css-fw.c | 19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary() 24 bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode, 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() 33 bi->info.isp.sp.input.max_width, in imgu_css_fw_show_binary() 78 struct imgu_fw_info *bi = in imgu_css_fw_pipeline_params() local 162 if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size in imgu_css_fw_init() 163 + bi->blob.data_size + bi->blob.padding_size) in imgu_css_fw_init() 165 if (bi->blob.offset + bi->blob.size > css->fw->size) in imgu_css_fw_init() [all …]
|
| /linux-6.15/arch/powerpc/platforms/powermac/ |
| H A D | bootx_init.c | 41 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) argument 42 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) argument 196 tmp = bi->dispDeviceRect[2] - bi->dispDeviceRect[0]; in bootx_add_display_props() 198 tmp = bi->dispDeviceRect[3] - bi->dispDeviceRect[1]; in bootx_add_display_props() 205 tmp += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; in bootx_add_display_props() 369 base = ((unsigned long)bi) + bi->deviceTreeOffset; in bootx_flatten_dt() 484 bi->logicalDisplayBase = bi->dispDeviceBase; in bootx_init() 496 bi->dispDeviceRect[3] - bi->dispDeviceRect[1], in bootx_init() 497 bi->dispDeviceDepth, bi->dispDeviceRowBytes, in bootx_init() 550 space = bi->deviceTreeOffset + bi->deviceTreeSize; in bootx_init() [all …]
|
| /linux-6.15/crypto/ |
| H A D | aes_generic.c | 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); \ 1170 f_rl(bo, bi, 0, k); \ 1171 f_rl(bo, bi, 1, k); \ 1172 f_rl(bo, bi, 2, k); \ 1173 f_rl(bo, bi, 3, k); \ 1225 i_rn(bo, bi, 0, k); \ 1226 i_rn(bo, bi, 1, k); \ [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_controlq_setup.c | 45 if (!cq->bi.rx_buff) in idpf_ctlq_alloc_bufs() 50 struct idpf_dma_mem *bi; in idpf_ctlq_alloc_bufs() local 55 if (!cq->bi.rx_buff[i]) in idpf_ctlq_alloc_bufs() 58 bi = cq->bi.rx_buff[i]; in idpf_ctlq_alloc_bufs() 60 bi->va = idpf_alloc_dma_mem(hw, bi, cq->buf_size); in idpf_ctlq_alloc_bufs() 61 if (!bi->va) { in idpf_ctlq_alloc_bufs() 77 kfree(cq->bi.rx_buff); in idpf_ctlq_alloc_bufs() 106 void *bi; in idpf_ctlq_free_bufs() local 119 bi = (void *)cq->bi.rx_buff; in idpf_ctlq_free_bufs() 121 bi = (void *)cq->bi.tx_msg; in idpf_ctlq_free_bufs() [all …]
|
| H A D | idpf_controlq.c | 67 struct idpf_dma_mem *bi = cq->bi.rx_buff[i]; in idpf_ctlq_init_rxq_bufs() local 70 if (!bi) in idpf_ctlq_init_rxq_bufs() 166 if (!cq->bi.tx_msg) { in idpf_ctlq_add() 388 cq->bi.tx_msg[ntc] = NULL; in idpf_ctlq_clean_sq() 451 if (cq->bi.rx_buff[ntp]) in idpf_ctlq_post_rx_buffs() 466 if (cq->bi.rx_buff[tbp]) { in idpf_ctlq_post_rx_buffs() 467 cq->bi.rx_buff[ntp] = in idpf_ctlq_post_rx_buffs() 468 cq->bi.rx_buff[tbp]; in idpf_ctlq_post_rx_buffs() 469 cq->bi.rx_buff[tbp] = NULL; in idpf_ctlq_post_rx_buffs() 487 cq->bi.rx_buff[ntp] = buffs[i]; in idpf_ctlq_post_rx_buffs() [all …]
|
| /linux-6.15/fs/ubifs/ |
| H A D | budget.c | 94 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability() 168 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs() 335 outstanding = c->bi.data_growth + c->bi.dd_growth; in do_budget_space() 449 if (unlikely(c->bi.nospace) && (c->bi.nospace_rp || !can_use_rp(c))) { in ubifs_budget_space() 457 c->bi.dd_growth += dd_growth; in ubifs_budget_space() 491 c->bi.nospace = 1; in ubifs_budget_space() 493 c->bi.nospace_rp = 1; in ubifs_budget_space() 538 c->bi.nospace = c->bi.nospace_rp = 0; in ubifs_release_budget() 573 c->bi.data_growth -= c->bi.page_budget; in ubifs_convert_page_budget() 575 c->bi.dd_growth += c->bi.page_budget; in ubifs_convert_page_budget() [all …]
|
| /linux-6.15/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_binding.c | 413 memcpy(loc, bi, vmw_binding_infos[bi->bt].size); in vmw_binding_transfer() 575 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_shader() 607 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_render_target() 643 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_texture() 677 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_dx_shader() 706 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_cb() 799 ((!biv->bi.ctx || biv->bi.scrubbed) ? in vmw_collect_dirty_view_ids() 1015 container_of(bi, struct vmw_ctx_bindinfo_vb, bi); in vmw_collect_dirty_vbs() 1026 if (!biv->bi.ctx || biv->bi.scrubbed) { in vmw_collect_dirty_vbs() 1280 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_ib() [all …]
|
| H A D | vmwgfx_binding.h | 90 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
|
| /linux-6.15/tools/perf/util/ |
| H A D | block-info.c | 57 free(bi); in block_info__new() 62 return bi; in block_info__new() 67 if (bi) in block_info__delete() 69 free(bi); in block_info__delete() 108 bi->sym = sym; in init_block_info() 154 if (!bi) in block_info__process_sym() 161 cycles += bi->cycles_aggr / bi->num_aggr; in block_info__process_sym() 276 avg = bi->cycles_aggr / bi->num_aggr; in block_cycles_pct_entry() 320 bi->start, bi->end); in block_range_entry() 367 bi->num_aggr, bi->evsel)) in block_branch_counter_entry() [all …]
|
| /linux-6.15/block/ |
| H A D | t10-pi.c | 38 struct blk_integrity *bi) in t10_pi_generate() argument 40 u8 offset = bi->pi_offset; in t10_pi_generate() 47 bi->csum_type); in t10_pi_generate() 65 struct blk_integrity *bi) in t10_pi_verify() argument 67 u8 offset = bi->pi_offset; in t10_pi_verify() 93 bi->csum_type); in t10_pi_verify() 96 bi->csum_type); in t10_pi_verify() 130 u8 offset = bi->pi_offset; in t10_pi_type1_prepare() 182 u8 offset = bi->pi_offset; in t10_pi_type1_complete() 217 struct blk_integrity *bi) in ext_pi_crc64_generate() argument [all …]
|
| H A D | bio-integrity-auto.c | 55 switch (bi->csum_type) { in bi_offload_capable() 63 __func__, bi->csum_type); in bi_offload_capable() 116 if (!bi) in bio_integrity_prep() 128 if (bi->flags & BLK_INTEGRITY_NOVERIFY) { in bio_integrity_prep() 129 if (bi_offload_capable(bi)) in bio_integrity_prep() 140 if (bi->flags & BLK_INTEGRITY_NOGENERATE) { in bio_integrity_prep() 141 if (bi_offload_capable(bi)) in bio_integrity_prep() 156 len = bio_integrity_bytes(bi, bio_sectors(bio)); in bio_integrity_prep() 171 if (bi->csum_type == BLK_INTEGRITY_CSUM_IP) in bio_integrity_prep() 173 if (bi->csum_type) in bio_integrity_prep() [all …]
|
| H A D | blk-integrity.c | 189 switch (bi->csum_type) { in blk_integrity_profile_name() 191 if (bi->flags & BLK_INTEGRITY_REF_TAG) in blk_integrity_profile_name() 195 if (bi->flags & BLK_INTEGRITY_REF_TAG) in blk_integrity_profile_name() 199 if (bi->flags & BLK_INTEGRITY_REF_TAG) in blk_integrity_profile_name() 237 struct blk_integrity *bi = dev_to_bi(dev); in flag_show() local 245 struct blk_integrity *bi = dev_to_bi(dev); in format_show() local 247 if (!bi->tuple_size) in format_show() 255 struct blk_integrity *bi = dev_to_bi(dev); in tag_size_show() local 264 struct blk_integrity *bi = dev_to_bi(dev); in protection_interval_bytes_show() local 267 bi->interval_exp ? 1 << bi->interval_exp : 0); in protection_interval_bytes_show() [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_bmap_item.c | 266 switch (bi->bi_type) { in xfs_bmap_update_log_item() 278 if (xfs_ifork_is_realtime(bi->bi_owner, bi->bi_whichfork)) in xfs_bmap_update_log_item() 325 struct xfs_bmap_intent *bi) in xfs_bmap_update_get_group() argument 329 if (xfs_ifork_is_realtime(bi->bi_owner, bi->bi_whichfork)) in xfs_bmap_update_get_group() 339 bi->bi_group = xfs_group_intent_get(mp, bi->bi_bmap.br_startblock, in xfs_bmap_update_get_group() 360 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bmap_defer_add() 362 trace_xfs_bmap_defer(bi); in xfs_bmap_defer_add() 374 bi->bi_owner->i_delayed_blks -= bi->bi_bmap.br_blockcount; in xfs_bmap_update_cancel_item() 470 bi->bi_owner = *ipp; in xfs_bui_recover_work() 475 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bui_recover_work() [all …]
|
| /linux-6.15/drivers/scsi/ |
| H A D | sd_dif.c | 31 struct blk_integrity *bi = &lim->integrity; in sd_dif_config_host() local 34 memset(bi, 0, sizeof(*bi)); in sd_dif_config_host() 48 bi->csum_type = BLK_INTEGRITY_CSUM_IP; in sd_dif_config_host() 50 bi->csum_type = BLK_INTEGRITY_CSUM_CRC; in sd_dif_config_host() 53 bi->flags |= BLK_INTEGRITY_REF_TAG; in sd_dif_config_host() 55 bi->tuple_size = sizeof(struct t10_pi_tuple); in sd_dif_config_host() 58 bi->flags |= BLK_INTEGRITY_DEVICE_CAPABLE; in sd_dif_config_host() 64 bi->tag_size = sizeof(u16) + sizeof(u32); in sd_dif_config_host() 66 bi->tag_size = sizeof(u16); in sd_dif_config_host() 71 blk_integrity_profile_name(bi), bi->tag_size); in sd_dif_config_host()
|
| /linux-6.15/mm/ |
| H A D | numa_memblks.c | 225 bi->start, bi->end - bi->start)) { in numa_cleanup_meminfo() 231 bi->start = max(bi->start, low); in numa_cleanup_meminfo() 235 numa_add_memblk_to(bi->nid, high, bi->end, in numa_cleanup_meminfo() 237 bi->end = high; in numa_cleanup_meminfo() 241 if (bi->start >= bi->end) in numa_cleanup_meminfo() 258 if (bi->end > bj->start && bi->start < bj->end) { in numa_cleanup_meminfo() 261 bi->nid, bi->start, bi->end - 1, in numa_cleanup_meminfo() 266 bi->nid, bi->start, bi->end - 1, in numa_cleanup_meminfo() 290 bi->nid, bi->start, bi->end - 1, bj->start, in numa_cleanup_meminfo() 293 bi->end = end; in numa_cleanup_meminfo() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css_firmware.c | 108 if (!bi) in sh_css_load_blob_info() 109 bi = (const struct ia_css_fw_info *)fw; in sh_css_load_blob_info() 111 name = fw + bi->blob.prog_name_offset; in sh_css_load_blob_info() 115 if (bi->blob.size != in sh_css_load_blob_info() 116 bi->blob.text_size + bi->blob.icache_size + in sh_css_load_blob_info() 117 bi->blob.data_size + bi->blob.padding_size) { in sh_css_load_blob_info() 126 bd->header = *bi; in sh_css_load_blob_info() 128 if (bi->type == ia_css_isp_firmware || bi->type == ia_css_sp_firmware) { in sh_css_load_blob_info() 139 if (bi->type == ia_css_isp_firmware) { in sh_css_load_blob_info() 285 if (bi->blob.offset + bi->blob.size > fw_size) in sh_css_load_firmware() [all …]
|
| /linux-6.15/drivers/net/hamradio/ |
| H A D | hdlcdrv.c | 491 struct hdlcdrv_ioctl bi; in hdlcdrv_siocdevprivate() local 499 if (copy_from_user(&bi, data, sizeof(bi))) in hdlcdrv_siocdevprivate() 502 switch (bi.cmd) { in hdlcdrv_siocdevprivate() 529 bi.data.mp.irq = dev->irq; in hdlcdrv_siocdevprivate() 530 bi.data.mp.dma = dev->dma; in hdlcdrv_siocdevprivate() 541 dev->irq = bi.data.mp.irq; in hdlcdrv_siocdevprivate() 542 dev->dma = bi.data.mp.dma; in hdlcdrv_siocdevprivate() 581 bi.data.bits = in hdlcdrv_siocdevprivate() 594 bi.data.bits = in hdlcdrv_siocdevprivate() 607 bi.data.drivername[0] = '\0'; in hdlcdrv_siocdevprivate() [all …]
|
| /linux-6.15/fs/bfs/ |
| H A D | file.c | 72 struct bfs_inode_info *bi = BFS_I(inode); in bfs_get_block() local 74 phys = bi->i_sblock + block; in bfs_get_block() 76 if (phys <= bi->i_eblock) { in bfs_get_block() 88 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 107 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block() 111 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block() 125 if (bi->i_sblock) { in bfs_get_block() 127 bi->i_eblock, phys); in bfs_get_block() 138 bi->i_sblock = phys; in bfs_get_block() 140 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block() [all …]
|
| /linux-6.15/fs/gfs2/ |
| H A D | rgrp.c | 102 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit() 117 bi->bi_offset, bi->bi_bytes, in gfs2_setbit() 318 bi++; in gfs2_rbm_add() 828 bi->bi_start, bi->bi_bytes, bi->bi_offset); in compute_bitstructs() 1154 for (i = 0, bi = rgd->rd_bits; i < length; i++, bi++) { in count_unlinked() 1156 buffer = bi->bi_bh->b_data + bi->bi_offset; in count_unlinked() 1323 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; in gfs2_rgrp_send_discards() 1768 buffer = bi->bi_clone + bi->bi_offset; in gfs2_rbm_find() 2273 bi->bi_clone = kmalloc(bi->bi_bh->b_size, in rgblk_free() 2275 memcpy(bi->bi_clone + bi->bi_offset, in rgblk_free() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_xsk.c | 169 if (!bi->xdp) { in ixgbe_alloc_rx_buffers_zc() 182 bi++; in ixgbe_alloc_rx_buffers_zc() 289 bi->xdp = NULL; in ixgbe_clean_rx_irq_zc() 299 bi->xdp = NULL; in ixgbe_clean_rx_irq_zc() 300 bi->discard = false; in ixgbe_clean_rx_irq_zc() 305 bi->xdp->data_end = bi->xdp->data + size; in ixgbe_clean_rx_irq_zc() 320 bi->xdp = NULL; in ixgbe_clean_rx_irq_zc() 336 xsk_buff_free(bi->xdp); in ixgbe_clean_rx_irq_zc() 337 bi->xdp = NULL; in ixgbe_clean_rx_irq_zc() 383 if (!bi->xdp) in ixgbe_xsk_clean_rx_ring() [all …]
|
| /linux-6.15/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 747 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 749 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 762 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 764 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 788 return bi; in bnad_per_q_stats_fill() 796 int i, j, bi = 0; in bnad_get_ethtool_stats() local 839 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 847 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 857 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 870 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() [all …]
|
| /linux-6.15/arch/m68k/kernel/ |
| H A D | bootinfo_proc.c | 34 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()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
| H A D | ia_css_debug.c | 401 bi->in_frame_info.format, in ia_css_debug_binary_print() 424 bi->vf_frame_info.format, in ia_css_debug_binary_print() 428 bi->input_buf_vectors); in ia_css_debug_binary_print() 431 bi->vf_downscale_log2); in ia_css_debug_binary_print() 433 bi->dis.deci_factor_log2); in ia_css_debug_binary_print() 435 bi->dis.coef.pad.width); in ia_css_debug_binary_print() 437 bi->dis.coef.pad.height); in ia_css_debug_binary_print() 439 bi->dis.proj.pad.height); in ia_css_debug_binary_print() 441 bi->sctbl_width_per_color); in ia_css_debug_binary_print() 1216 bi->enable.ds ? "ds," : "", in ia_css_debug_pipe_graph_dump_stage() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | blk-integrity.h | 18 const char *blk_integrity_profile_name(struct blk_integrity *bi); 68 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals() argument 71 return sectors >> (bi->interval_exp - 9); in bio_integrity_intervals() 74 static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, in bio_integrity_bytes() argument 77 return bio_integrity_intervals(bi, sectors) * bi->tuple_size; in bio_integrity_bytes() 130 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals() argument 136 static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, in bio_integrity_bytes() argument
|