/openbmc/linux/fs/f2fs/ |
H A D | debug.c | 82 si->hit_total[i] = si->hit_cached[i] + si->hit_rbtree[i]; in update_general_status() 186 si->util_invalid = 50 - si->util_free - si->util_valid; in update_general_status() 319 si->cache_mem += si->ext_mem[i]; in update_mem_info() 419 si->utilization, si->valid_count, si->discard_blks); in stat_show() 440 si->orphans, si->append, si->update); in stat_show() 501 si->prefree_count, si->free_segs, si->free_secs); in stat_show() 587 si->nr_rd_data, si->nr_rd_node, si->nr_rd_meta); in stat_show() 601 si->ndirty_dent, si->ndirty_dirs, si->ndirty_all); in stat_show() 614 si->dirty_nats, si->nats, si->dirty_sits, si->sits); in stat_show() 616 si->free_nids, si->avail_nids, si->alloc_nids); in stat_show() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | slot_map.c | 121 if (si == NULL) in ocfs2_refresh_slot_info() 134 ret = ocfs2_read_blocks(INODE_CACHE(si->si_inode), -1, si->si_blocks, in ocfs2_refresh_slot_info() 304 if (si == NULL) in __ocfs2_free_slot_info() 308 if (si->si_bh) { in __ocfs2_free_slot_info() 315 kfree(si->si_bh); in __ocfs2_free_slot_info() 318 kfree(si); in __ocfs2_free_slot_info() 325 if (si == NULL) in ocfs2_clear_slot() 366 si->si_bh = kcalloc(si->si_blocks, sizeof(struct buffer_head *), in ocfs2_map_slot_buffers() 368 if (!si->si_bh) { in ocfs2_map_slot_buffers() 406 if (!si) { in ocfs2_init_slot_info() [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | xfarray.c | 427 return xfarray_sortinfo_lo(si) + si->max_stack_depth; in xfarray_sortinfo_hi() 478 if (!si) in xfarray_sortinfo_alloc() 491 *infop = si; in xfarray_sortinfo_alloc() 534 return xfarray_sortinfo_hi(si) + si->max_stack_depth; in xfarray_sortinfo_isort_scratch() 583 si->page_kaddr = kmap_local_page(si->xfpage.page); in xfarray_sort_get_page() 598 return xfile_put_page(si->array->xfile, &si->xfpage); in xfarray_sort_put_page() 650 return xfarray_sortinfo_hi(si) + si->max_stack_depth; in xfarray_sortinfo_pivot() 807 if (si->stack_depth >= si->max_stack_depth - 1) { in xfarray_qsort_push() 808 ASSERT(si->stack_depth < si->max_stack_depth - 1); in xfarray_qsort_push() 816 si_hi[si->stack_depth + 1] = si_hi[si->stack_depth]; in xfarray_qsort_push() [all …]
|
/openbmc/linux/include/linux/ |
H A D | screen_info.h | 24 u64 lfb_base = si->lfb_base; in __screen_info_lfb_base() 27 lfb_base |= (u64)si->ext_lfb_base << 32; in __screen_info_lfb_base() 34 si->lfb_base = lfb_base & GENMASK_ULL(31, 0); in __screen_info_set_lfb_base() 37 if (si->ext_lfb_base) in __screen_info_set_lfb_base() 45 u64 lfb_size = si->lfb_size; in __screen_info_lfb_size() 59 return si->vesa_attributes & BIT(5); in __screen_info_vbe_mode_nonvga() 97 if (!si->orig_video_isVGA) in screen_info_video_type() 103 return si->orig_video_isVGA; in screen_info_video_type() 106 if (!si->orig_video_lines || !si->orig_video_cols) in screen_info_video_type() 110 if (si->orig_video_mode == 0x07) { in screen_info_video_type() [all …]
|
/openbmc/qemu/target/s390x/ |
H A D | sigp.c | 34 *si->status_reg |= status; in set_sigp_status() 35 si->cc = SIGP_CC_STATUS_STORED; in set_sigp_status() 97 SigpInfo *si = arg.host_ptr; in sigp_start() local 111 SigpInfo *si = arg.host_ptr; in sigp_stop() local 132 SigpInfo *si = arg.host_ptr; in sigp_stop_and_store_status() local 157 SigpInfo *si = arg.host_ptr; in sigp_store_status_at_address() local 179 SigpInfo *si = arg.host_ptr; in sigp_store_adtl_status() local 321 asn = si->param; in sigp_cond_emergency() 362 SigpInfo si = { in handle_sigp_single_dst() local 426 return si.cc; in handle_sigp_single_dst() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | perf_event.c | 118 memset(&si, 0, sizeof(si)); in print_debug_sf() 119 if (qsi(&si)) in print_debug_sf() 123 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf() 126 if (si.as) in print_debug_sf() 129 si.as, si.es, si.cs, si.bsdes, si.tear, si.dear); in print_debug_sf() 130 if (si.ad) in print_debug_sf() 133 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf() 165 memset(&si, 0, sizeof(si)); in sl_print_sampling() 169 if (!si.as && !si.ad) in sl_print_sampling() 175 if (si.as) in sl_print_sampling() [all …]
|
H A D | lgr.c | 71 if (stsi(si, 1, 1, 1)) in lgr_stsi_1_1_1() 74 sizeof(si->manufacturer)); in lgr_stsi_1_1_1() 75 cpascii(lgr_info->type, si->type, sizeof(si->type)); in lgr_stsi_1_1_1() 76 cpascii(lgr_info->model, si->model, sizeof(si->model)); in lgr_stsi_1_1_1() 77 cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); in lgr_stsi_1_1_1() 78 cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); in lgr_stsi_1_1_1() 88 if (stsi(si, 2, 2, 2)) in lgr_stsi_2_2_2() 90 cpascii(lgr_info->name, si->name, sizeof(si->name)); in lgr_stsi_2_2_2() 102 if (stsi(si, 3, 2, 2)) in lgr_stsi_3_2_2() 106 sizeof(si->vm[i].name)); in lgr_stsi_3_2_2() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 215 si->si_ofs.cydata_size = si->si_ofs.test_ofs - si->si_ofs.cydata_ofs; in cyttsp4_si_get_cydata() 292 si->si_ofs.test_size = si->si_ofs.pcfg_ofs - si->si_ofs.test_ofs; in cyttsp4_si_get_test_data() 351 si->si_ofs.pcfg_size = si->si_ofs.opcfg_ofs - si->si_ofs.pcfg_ofs; in cyttsp4_si_get_pcfg_data() 403 si->si_ofs.opcfg_size = si->si_ofs.ddata_ofs - si->si_ofs.opcfg_ofs; in cyttsp4_si_get_opcfg_data() 492 si->si_ofs.ddata_size = si->si_ofs.mdata_ofs - si->si_ofs.ddata_ofs; in cyttsp4_si_get_ddata() 519 si->si_ofs.mdata_size = si->si_ofs.map_sz - si->si_ofs.mdata_ofs; in cyttsp4_si_get_mdata() 665 si->si_ofs.max_x, si->si_ofs.max_x); in cyttsp4_si_put_log_data() 680 si->xy_mode, si->xy_data); in cyttsp4_si_put_log_data() 807 struct cyttsp4_sysinfo *si = md->si; in cyttsp4_get_touch() local 870 struct cyttsp4_sysinfo *si = md->si; in cyttsp4_get_mt_touches() local [all …]
|
H A D | cyttsp5.c | 285 si->tch_abs[abs].size, in cyttsp5_get_touch_record() 286 si->tch_abs[abs].max, in cyttsp5_get_touch_record() 288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record() 353 si->tch_hdr.max, in cyttsp5_mt_attention() 355 si->tch_hdr.bofs); in cyttsp5_mt_attention() 415 if (!si->num_btns) in cyttsp5_parse_dt_key_code() 419 memset32(si->key_code, KEY_RESERVED, si->num_btns); in cyttsp5_parse_dt_key_code() 422 si->key_code, si->num_btns); in cyttsp5_parse_dt_key_code() 519 si->num_btns = hweight8(btns); in cyttsp5_si_get_btn_data() 827 struct cyttsp5_sysinfo *si; in cyttsp5_probe() local [all …]
|
/openbmc/linux/drivers/firmware/ |
H A D | sysfb_simplefb.c | 34 type = si->orig_video_isVGA; in sysfb_parse_mode() 59 if (si->lfb_depth > 8) { in sysfb_parse_mode() 60 bits_per_pixel = max(max3(si->red_size + si->red_pos, in sysfb_parse_mode() 61 si->green_size + si->green_pos, in sysfb_parse_mode() 62 si->blue_size + si->blue_pos), in sysfb_parse_mode() 63 si->rsvd_size + si->rsvd_pos); in sysfb_parse_mode() 66 bits_per_pixel = si->lfb_depth; in sysfb_parse_mode() 83 mode->width = si->lfb_width; in sysfb_parse_mode() 84 mode->height = si->lfb_height; in sysfb_parse_mode() 107 base = si->lfb_base; in sysfb_create_simplefb() [all …]
|
H A D | sysfb.c | 74 struct screen_info *si = &screen_info; in sysfb_init() local 89 compatible = sysfb_parse_mode(si, &mode); in sysfb_init() 91 pd = sysfb_create_simplefb(si, &mode); in sysfb_init() 97 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init() 99 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init() 101 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) in sysfb_init() 103 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) in sysfb_init() 116 ret = platform_device_add_data(pd, si, sizeof(*si)); in sysfb_init()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 156 struct enetc_si *si = pf->si; in enetc_sync_mac_filters() local 322 struct enetc_si *si = priv->si; in enetc_set_loopback() local 397 int si) in enetc_setup_mac_address() argument 776 priv->si = si; in enetc_pf_netdev_setup() 778 si->ndev = ndev; in enetc_pf_netdev_setup() 797 if (si->num_rss) in enetc_pf_netdev_setup() 1003 struct enetc_si *si = pf->si; in enetc_pl_mac_link_up() local 1076 struct enetc_si *si = pf->si; in enetc_pl_mac_link_down() local 1209 if (!si->hw.port || !si->hw.global) { in enetc_psi_create() 1232 return si; in enetc_psi_create() [all …]
|
H A D | enetc_msg.c | 25 enetc_msg_disable_mr_int(&si->hw); in enetc_msg_psi_msix() 68 struct enetc_hw *hw = &si->hw; in enetc_msg_alloc_mbx() 96 struct enetc_hw *hw = &si->hw; in enetc_msg_free_mbx() 109 struct enetc_si *si = pf->si; in enetc_msg_psi_init() local 114 si->ndev->name); in enetc_msg_psi_init() 118 dev_err(&si->pdev->dev, in enetc_msg_psi_init() 142 enetc_msg_free_mbx(si, i); in enetc_msg_psi_init() 144 free_irq(vector, si); in enetc_msg_psi_init() 151 struct enetc_si *si = pf->si; in enetc_msg_psi_free() local 160 enetc_msg_free_mbx(si, i); in enetc_msg_psi_free() [all …]
|
H A D | enetc_vf.c | 133 priv->si = si; in enetc_vf_netdev_setup() 134 priv->dev = &si->pdev->dev; in enetc_vf_netdev_setup() 135 si->ndev = ndev; in enetc_vf_netdev_setup() 154 if (si->num_rss) in enetc_vf_netdev_setup() 166 struct enetc_si *si; in enetc_vf_probe() local 173 si = pci_get_drvdata(pdev); in enetc_vf_probe() 175 enetc_get_si_caps(si); in enetc_vf_probe() 191 &si->cbd_ring); in enetc_vf_probe() 229 si->ndev = NULL; in enetc_vf_probe() 243 unregister_netdev(si->ndev); in enetc_vf_remove() [all …]
|
H A D | enetc_cbdr.c | 93 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_send_cmd() 144 return enetc_send_cmd(si, &cbd); in enetc_clear_mac_flt_entry() 170 return enetc_send_cmd(si, &cbd); in enetc_set_mac_flt_entry() 178 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_set_fs_entry() 197 err = enetc_send_cmd(si, &cbd); in enetc_set_fs_entry() 201 enetc_cbd_free_data_mem(si, sizeof(*rfse), tmp, &dma); in enetc_set_fs_entry() 210 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_cmd_rss_table() 220 tmp = enetc_cbd_alloc_data_mem(si, &cbd, count, in enetc_cmd_rss_table() 233 err = enetc_send_cmd(si, &cbd); in enetc_cmd_rss_table() 241 enetc_cbd_free_data_mem(si, count, tmp, &dma); in enetc_cmd_rss_table() [all …]
|
/openbmc/linux/mm/ |
H A D | swapfile.c | 706 if (si->inuse_pages == si->pages) { in swap_range_alloc() 707 si->lowest_bit = si->max; in swap_range_alloc() 774 if (si->highest_bit <= si->lowest_bit) in set_cluster_next() 1269 if (!si) in get_swap_device() 1357 if (!si) in put_swap_folio() 1400 if (!si) in split_swap_cluster() 1547 if (!si) in folio_swapped() 1635 if (!si) in get_swap_page_of_type() 1709 if (!si || !(si->flags & SWP_WRITEOK)) in swapdev_block() 2604 if (!(si->flags & SWP_USED) || !si->swap_map) in swap_start() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-si521xx.c | 60 struct si521xx *si; member 195 struct si521xx *si = si_clk->si; in si521xx_diff_prepare() local 205 struct si521xx *si = si_clk->si; in si521xx_diff_unprepare() local 274 struct si521xx *si = data; in si521xx_of_clk_get() local 287 struct si521xx *si; in si521xx_probe() local 293 si = devm_kzalloc(&client->dev, sizeof(*si), GFP_KERNEL); in si521xx_probe() 294 if (!si) in si521xx_probe() 298 si->client = client; in si521xx_probe() 307 if (IS_ERR(si->regmap)) in si521xx_probe() 327 si->clk_dif[i].si = si; in si521xx_probe() [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | screen_info.c | 26 struct screen_info *si; in __alloc_screen_info() local 30 sizeof(*si), (void **)&si); in __alloc_screen_info() 35 memset(si, 0, sizeof(*si)); in __alloc_screen_info() 38 &screen_info_guid, si); in __alloc_screen_info() 40 return si; in __alloc_screen_info() 42 efi_bs_call(free_pool, si); in __alloc_screen_info() 46 void free_screen_info(struct screen_info *si) in free_screen_info() argument 48 if (!si) in free_screen_info() 52 efi_bs_call(free_pool, si); in free_screen_info()
|
H A D | gop.c | 435 &si->red_pos, &si->red_size); in setup_pixel_info() 437 &si->green_pos, &si->green_size); in setup_pixel_info() 439 &si->blue_pos, &si->blue_size); in setup_pixel_info() 441 &si->rsvd_pos, &si->rsvd_size); in setup_pixel_info() 442 si->lfb_depth = si->red_size + si->green_size + in setup_pixel_info() 443 si->blue_size + si->rsvd_size; in setup_pixel_info() 456 si->red_size = si->green_size = in setup_pixel_info() 457 si->blue_size = si->rsvd_size = 8; in setup_pixel_info() 540 &si->lfb_base, &si->ext_lfb_base); in setup_gop() 544 si->pages = 1; in setup_gop() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | vesafb.c | 301 si->vesapm_seg = 0; in vesafb_probe() 328 if (si->vesapm_seg) { in vesafb_probe() 330 si->vesapm_seg, si->vesapm_off); in vesafb_probe() 339 pmi_phys = ((unsigned long)si->vesapm_seg << 4) + si->vesapm_off; in vesafb_probe() 406 si->rsvd_size, in vesafb_probe() 407 si->red_size, in vesafb_probe() 409 si->blue_size, in vesafb_probe() 410 si->rsvd_pos, in vesafb_probe() 411 si->red_pos, in vesafb_probe() 412 si->green_pos, in vesafb_probe() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/ |
H A D | mx6-pins.h | 10 #define MX6_PAD_DECLARE(prefix, name, pco, mc, mm, sio, si, pc) \ argument 11 prefix##name = IOMUX_PAD(pco, mc, mm, sio, si, pc) 15 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 16 MX6_PAD_DECLARE(MX6Q_PAD_,name, pco, mc, mm, sio, si, pc), 19 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 20 MX6_PAD_DECLARE(MX6DL_PAD_,name, pco, mc, mm, sio, si, pc), 25 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 26 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc), 31 #define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \ argument 32 MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc),
|
/openbmc/u-boot/api/ |
H A D | api_platform-powerpc.c | 27 int platform_sys_info(struct sys_info *si) in platform_sys_info() argument 29 si->clk_bus = gd->bus_clk; in platform_sys_info() 30 si->clk_cpu = gd->cpu_clk; in platform_sys_info() 39 si->bar = gd->bd->bi_bar; in platform_sys_info() 42 si->bar = 0; in platform_sys_info() 45 platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM); in platform_sys_info() 46 platform_set_mr(si, gd->bd->bi_flashstart, gd->bd->bi_flashsize, MR_ATTR_FLASH); in platform_sys_info() 47 platform_set_mr(si, gd->bd->bi_sramstart, gd->bd->bi_sramsize, MR_ATTR_SRAM); in platform_sys_info()
|
/openbmc/linux/drivers/video/ |
H A D | screen_info_pci.c | 13 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr) in __screen_info_relocation_is_valid() argument 15 u64 size = __screen_info_lfb_size(si, screen_info_video_type(si)); in __screen_info_relocation_is_valid() 29 struct screen_info *si = &screen_info; in screen_info_apply_fixups() local 35 if (__screen_info_relocation_is_valid(si, pr)) { in screen_info_apply_fixups() 40 __screen_info_set_lfb_base(si, pr->start + screen_info_lfb_offset); in screen_info_apply_fixups() 56 const struct screen_info *si = &screen_info; in screen_info_fixup_lfb() local 61 type = screen_info_video_type(si); in screen_info_fixup_lfb() 65 ret = screen_info_resources(si, res, ARRAY_SIZE(res)); in screen_info_fixup_lfb() 118 struct pci_dev *screen_info_pci_dev(const struct screen_info *si) in screen_info_pci_dev() argument 123 numres = screen_info_resources(si, res, ARRAY_SIZE(res)); in screen_info_pci_dev()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg_x86.h | 62 eax, ebx, ecx, edx, si, di) \ argument 69 "=S"(si), \ 106 eax, ebx, ecx, edx, si, di) \ argument 120 "=S"(si), \ 135 eax, ebx, ecx, edx, si, di) \ argument 149 "=S"(si), \ 173 eax, ebx, ecx, edx, si, di) \ argument 185 "=S"(si), \ 200 eax, ebx, ecx, edx, si, di) \ argument 212 "=S"(si), \
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_channel.c | 424 if (!m->si.pat) in vidtv_channel_si_init() 429 if (!m->si.sdt) in vidtv_channel_si_init() 453 if (!m->si.nit) in vidtv_channel_si_init() 459 if (!m->si.eit) in vidtv_channel_si_init() 471 m->si.pmt_secs = vidtv_psi_pmt_create_sec_for_each_pat_entry(m->si.pat, in vidtv_channel_si_init() 473 if (!m->si.pmt_secs) in vidtv_channel_si_init() 477 m->si.pmt_secs, in vidtv_channel_si_init() 478 m->si.pat->num_pmt); in vidtv_channel_si_init() 485 vidtv_psi_eit_table_destroy(m->si.eit); in vidtv_channel_si_init() 487 vidtv_psi_nit_table_destroy(m->si.nit); in vidtv_channel_si_init() [all …]
|