/linux-6.6.21/fs/f2fs/ |
D | debug.c | 34 struct f2fs_stat_info *si = F2FS_STAT(sbi); in f2fs_update_sit_info() local 55 si->bimodal = div64_u64(bimodal, dist); in f2fs_update_sit_info() 56 if (si->dirty_count) in f2fs_update_sit_info() 57 si->avg_vblocks = div_u64(total_vblocks, ndirty); in f2fs_update_sit_info() 59 si->avg_vblocks = 0; in f2fs_update_sit_info() 65 struct f2fs_stat_info *si = F2FS_STAT(sbi); in update_general_status() local 70 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in update_general_status() 71 si->main_area_sections = le32_to_cpu(raw_super->section_count); in update_general_status() 72 si->main_area_zones = si->main_area_sections / in update_general_status() 79 si->hit_cached[i] = atomic64_read(&sbi->read_hit_cached[i]); in update_general_status() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | slot_map.c | 44 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si, 47 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument 50 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot() 51 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot() 54 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument 57 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot() 59 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot() 60 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot() 64 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument 70 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended() [all …]
|
/linux-6.6.21/fs/xfs/scrub/ |
D | xfarray.c | 374 # define xfarray_sort_bump_loads(si) do { (si)->loads++; } while (0) argument 375 # define xfarray_sort_bump_stores(si) do { (si)->stores++; } while (0) argument 376 # define xfarray_sort_bump_compares(si) do { (si)->compares++; } while (0) argument 377 # define xfarray_sort_bump_heapsorts(si) do { (si)->heapsorts++; } while (0) argument 379 # define xfarray_sort_bump_loads(si) argument 380 # define xfarray_sort_bump_stores(si) argument 381 # define xfarray_sort_bump_compares(si) argument 382 # define xfarray_sort_bump_heapsorts(si) argument 388 struct xfarray_sortinfo *si, in xfarray_sort_load() argument 392 xfarray_sort_bump_loads(si); in xfarray_sort_load() [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 86 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() local 90 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs() 91 si->xy_mode); in cyttsp4_load_status_regs() 96 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs() 97 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs() 166 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_data_offsets() local 167 int rc = cyttsp4_adap_read(cd, CY_REG_BASE, sizeof(si->si_data), in cyttsp4_si_data_offsets() 168 &si->si_data); in cyttsp4_si_data_offsets() 176 cyttsp4_pr_buf(cd->dev, cd->pr_buf, (u8 *)&si->si_data, in cyttsp4_si_data_offsets() 177 sizeof(si->si_data), "sysinfo_data_offsets"); in cyttsp4_si_data_offsets() [all …]
|
D | cyttsp5.c | 280 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_touch_record() local 285 si->tch_abs[abs].size, in cyttsp5_get_touch_record() 286 si->tch_abs[abs].max, in cyttsp5_get_touch_record() 287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record() 288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record() 294 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_mt_touches() local 317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches() 318 tch->abs[CY_TCH_MAJ] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches() 319 tmp = tch->abs[CY_TCH_MIN] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches() 320 tch->abs[CY_TCH_MIN] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches() [all …]
|
/linux-6.6.21/arch/s390/kernel/ |
D | perf_event.c | 115 struct hws_qsi_info_block si; in print_debug_sf() local 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() 124 si.cpu_speed); 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() 163 struct hws_qsi_info_block si; in sl_print_sampling() local [all …]
|
D | lgr.c | 69 struct sysinfo_1_1_1 *si = (void *) lgr_page; in lgr_stsi_1_1_1() local 71 if (stsi(si, 1, 1, 1)) in lgr_stsi_1_1_1() 73 cpascii(lgr_info->manufacturer, si->manufacturer, 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() 86 struct sysinfo_2_2_2 *si = (void *) lgr_page; in lgr_stsi_2_2_2() local 88 if (stsi(si, 2, 2, 2)) in lgr_stsi_2_2_2() [all …]
|
/linux-6.6.21/drivers/firmware/ |
D | sysfb_simplefb.c | 27 __init bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode() argument 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() 64 bits_per_pixel = max_t(u32, bits_per_pixel, si->lfb_depth); in sysfb_parse_mode() 66 bits_per_pixel = si->lfb_depth; in sysfb_parse_mode() 76 si->red_size == f->red.length && in sysfb_parse_mode() [all …]
|
D | sysfb.c | 74 struct screen_info *si = &screen_info; in sysfb_init() local 87 compatible = sysfb_parse_mode(si, &mode); in sysfb_init() 89 pd = sysfb_create_simplefb(si, &mode); in sysfb_init() 95 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init() 97 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init() 99 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) in sysfb_init() 101 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) in sysfb_init() 114 ret = platform_device_add_data(pd, si, sizeof(*si)); in sysfb_init()
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 17 static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) in enetc_pf_get_primary_mac_addr() argument 19 u32 upper = __raw_readl(hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_get_primary_mac_addr() 20 u16 lower = __raw_readw(hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_get_primary_mac_addr() 26 static void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si, in enetc_pf_set_primary_mac_addr() argument 32 __raw_writel(upper, hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_set_primary_mac_addr() 33 __raw_writew(lower, hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_set_primary_mac_addr() 45 enetc_pf_set_primary_mac_addr(&priv->si->hw, 0, saddr->sa_data); in enetc_pf_set_mac_addr() 61 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc() 67 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_disable_si_vlan_promisc() 70 static void enetc_set_isol_vlan(struct enetc_hw *hw, int si, u16 vlan, u8 qos) in enetc_set_isol_vlan() argument [all …]
|
D | enetc_msg.c | 22 struct enetc_si *si = (struct enetc_si *)data; in enetc_msg_psi_msix() local 23 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_psi_msix() 25 enetc_msg_disable_mr_int(&si->hw); in enetc_msg_psi_msix() 34 struct enetc_hw *hw = &pf->si->hw; in enetc_msg_task() 64 static int enetc_msg_alloc_mbx(struct enetc_si *si, int idx) in enetc_msg_alloc_mbx() argument 66 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_alloc_mbx() 67 struct device *dev = &si->pdev->dev; in enetc_msg_alloc_mbx() 68 struct enetc_hw *hw = &si->hw; in enetc_msg_alloc_mbx() 93 static void enetc_msg_free_mbx(struct enetc_si *si, int idx) in enetc_msg_free_mbx() argument 95 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_free_mbx() [all …]
|
D | enetc_vf.c | 20 static int enetc_msg_vsi_send(struct enetc_si *si, struct enetc_msg_swbd *msg) in enetc_msg_vsi_send() argument 25 enetc_msg_vsi_write_msg(&si->hw, msg); in enetc_msg_vsi_send() 28 vsimsgsr = enetc_rd(&si->hw, ENETC_VSIMSGSR); in enetc_msg_vsi_send() 40 dev_err(&si->pdev->dev, "VSI command execute error: %d\n", in enetc_msg_vsi_send() 70 err = enetc_msg_vsi_send(priv->si, &msg); in enetc_msg_vsi_set_primary_mac_addr() 119 static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev, in enetc_vf_netdev_setup() argument 124 SET_NETDEV_DEV(ndev, &si->pdev->dev); in enetc_vf_netdev_setup() 126 priv->si = si; in enetc_vf_netdev_setup() 127 priv->dev = &si->pdev->dev; in enetc_vf_netdev_setup() 128 si->ndev = ndev; in enetc_vf_netdev_setup() [all …]
|
D | enetc_cbdr.c | 91 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd) in enetc_send_cmd() argument 93 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_send_cmd() 134 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) in enetc_clear_mac_flt_entry() argument 144 return enetc_send_cmd(si, &cbd); in enetc_clear_mac_flt_entry() 148 int enetc_set_mac_flt_entry(struct enetc_si *si, int index, in enetc_set_mac_flt_entry() argument 170 return enetc_send_cmd(si, &cbd); in enetc_set_mac_flt_entry() 175 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, in enetc_set_fs_entry() argument 178 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_set_fs_entry() 190 tmp = enetc_cbd_alloc_data_mem(si, &cbd, sizeof(*rfse), in enetc_set_fs_entry() 197 err = enetc_send_cmd(si, &cbd); in enetc_set_fs_entry() [all …]
|
D | enetc_ethtool.c | 44 struct enetc_hw *hw = &priv->si->hw; in enetc_get_reglen() 54 if (hw->port && !!(priv->si->hw_features & ENETC_SI_F_QBU)) in enetc_get_reglen() 66 struct enetc_hw *hw = &priv->si->hw; in enetc_get_regs() 103 if (priv->si->hw_features & ENETC_SI_F_QBU) { in enetc_get_regs() 239 if (!enetc_si_is_pf(priv->si)) in enetc_get_sset_count() 274 if (!enetc_si_is_pf(priv->si)) in enetc_get_strings() 290 struct enetc_hw *hw = &priv->si->hw; in enetc_get_ethtool_stats() 313 if (!enetc_si_is_pf(priv->si)) in enetc_get_ethtool_stats() 331 struct enetc_hw *hw = &priv->si->hw; in enetc_get_pause_stats() 332 struct enetc_si *si = priv->si; in enetc_get_pause_stats() local [all …]
|
/linux-6.6.21/mm/ |
D | swapfile.c | 133 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap() argument 136 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap() 177 static int discard_swap(struct swap_info_struct *si) in discard_swap() argument 185 se = first_se(si); in discard_swap() 189 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 200 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 247 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() argument 250 struct swap_extent *se = offset_to_swap_extent(si, start_page); in discard_swap_cluster() 264 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster() 357 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster() argument [all …]
|
/linux-6.6.21/drivers/clk/ |
D | clk-si521xx.c | 60 struct si521xx *si; member 195 struct si521xx *si = si_clk->si; in si521xx_diff_prepare() local 197 regmap_set_bits(si->regmap, SI521XX_REG_OE(si_clk->reg), si_clk->bit); in si521xx_diff_prepare() 205 struct si521xx *si = si_clk->si; in si521xx_diff_unprepare() local 207 regmap_clear_bits(si->regmap, SI521XX_REG_OE(si_clk->reg), si_clk->bit); in si521xx_diff_unprepare() 218 static int si521xx_get_common_config(struct si521xx *si) in si521xx_get_common_config() argument 220 struct i2c_client *client = si->client; in si521xx_get_common_config() 226 si->pll_amplitude = SI521XX_REG_DA_AMP(SI521XX_REG_DA_AMP_DEFAULT); in si521xx_get_common_config() 237 si->pll_amplitude = SI521XX_REG_DA_AMP(amp); in si521xx_get_common_config() 243 static void si521xx_update_config(struct si521xx *si) in si521xx_update_config() argument [all …]
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | gop.c | 430 setup_pixel_info(struct screen_info *si, u32 pixels_per_scan_line, in setup_pixel_info() argument 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() 444 si->lfb_linelength = (pixels_per_scan_line * si->lfb_depth) / 8; in setup_pixel_info() 447 si->red_pos = 0; in setup_pixel_info() 448 si->blue_pos = 16; in setup_pixel_info() [all …]
|
D | screen_info.c | 26 struct screen_info *si; in __alloc_screen_info() local 30 sizeof(*si), (void **)&si); in __alloc_screen_info() 36 &screen_info_guid, si); in __alloc_screen_info() 38 return si; in __alloc_screen_info() 40 efi_bs_call(free_pool, si); in __alloc_screen_info() 44 void free_screen_info(struct screen_info *si) in free_screen_info() argument 46 if (!si) in free_screen_info() 50 efi_bs_call(free_pool, si); in free_screen_info()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
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), \
|
D | vmwgfx_msg.c | 107 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local 110 (protocol | GUESTMSG_FLAG_COOKIE), si, di, in vmw_open_channel() 113 eax, ebx, ecx, edx, si, di); in vmw_open_channel() 119 channel->cookie_high = si; in vmw_open_channel() 136 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local 139 si = channel->cookie_high; in vmw_close_channel() 143 0, si, di, in vmw_close_channel() 146 eax, ebx, ecx, edx, si, di); in vmw_close_channel() 166 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local 174 si = (uintptr_t) msg; in vmw_port_hb_out() [all …]
|
D | vmwgfx_msg_arm64.h | 53 unsigned long *si, unsigned long *di) in vmw_port() argument 76 *si = x4; in vmw_port() 86 unsigned long *si, unsigned long *di) in vmw_port_hb() argument 109 *si = x4; in vmw_port_hb() 114 si, di) \ argument 116 &edx, &si, &di) 119 ecx, edx, si, di) \ argument 121 0, &eax, &ebx, &ecx, &edx, &si, &di) 124 ecx, edx, si, di) \ argument 126 X86_IO_W7_DIR, &eax, &ebx, &ecx, &edx, &si, &di)
|
/linux-6.6.21/drivers/media/test-drivers/vidtv/ |
D | vidtv_channel.c | 423 m->si.pat = vidtv_psi_pat_table_init(m->transport_stream_id); in vidtv_channel_si_init() 424 if (!m->si.pat) in vidtv_channel_si_init() 427 m->si.sdt = vidtv_psi_sdt_table_init(m->network_id, in vidtv_channel_si_init() 429 if (!m->si.sdt) in vidtv_channel_si_init() 449 m->si.nit = vidtv_psi_nit_table_init(m->network_id, in vidtv_channel_si_init() 453 if (!m->si.nit) in vidtv_channel_si_init() 456 m->si.eit = vidtv_psi_eit_table_init(m->network_id, in vidtv_channel_si_init() 459 if (!m->si.eit) in vidtv_channel_si_init() 463 vidtv_psi_pat_program_assign(m->si.pat, programs); in vidtv_channel_si_init() 466 vidtv_psi_sdt_service_assign(m->si.sdt, services); in vidtv_channel_si_init() [all …]
|
/linux-6.6.21/net/core/ |
D | filter.c | 7039 const struct bpf_insn *si, in bpf_tcp_sock_convert_ctx_access() argument 7050 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 7062 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 7070 switch (si->off) { in bpf_tcp_sock_convert_ctx_access() 7077 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_tcp_sock_convert_ctx_access() 7233 const struct bpf_insn *si, in bpf_xdp_sock_convert_ctx_access() argument 7244 si->dst_reg, si->src_reg, \ in bpf_xdp_sock_convert_ctx_access() 7248 switch (si->off) { in bpf_xdp_sock_convert_ctx_access() 9295 const struct bpf_insn *si, in flow_dissector_convert_ctx_access() argument 9303 switch (si->off) { in flow_dissector_convert_ctx_access() [all …]
|
/linux-6.6.21/drivers/xen/ |
D | manage.c | 64 struct suspend_info *si = data; in xen_suspend() local 79 si->cancelled = HYPERVISOR_suspend(xen_pv_domain() in xen_suspend() 83 xen_arch_post_suspend(si->cancelled); in xen_suspend() 84 xen_manage_runstate_time(si->cancelled ? 1 : 0); in xen_suspend() 87 if (!si->cancelled) { in xen_suspend() 100 struct suspend_info si; in do_suspend() local 128 si.cancelled = 0; in do_suspend() 134 si.cancelled = 1; in do_suspend() 136 err = stop_machine(xen_suspend, &si, cpumask_of(0)); in do_suspend() 139 if (!si.cancelled) in do_suspend() [all …]
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | efi.c | 73 struct screen_info *si; in init_screen_info() local 78 si = early_memremap(screen_info_table, sizeof(*si)); in init_screen_info() 79 if (!si) { in init_screen_info() 83 screen_info = *si; in init_screen_info() 84 memset(si, 0, sizeof(*si)); in init_screen_info() 85 early_memunmap(si, sizeof(*si)); in init_screen_info()
|