/linux-6.1.9/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() 76 si->hit_largest = atomic64_read(&sbi->read_hit_largest); in update_general_status() [all …]
|
/linux-6.1.9/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.1.9/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 …]
|
/linux-6.1.9/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.1.9/mm/ |
D | swapfile.c | 131 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap() argument 134 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap() 175 static int discard_swap(struct swap_info_struct *si) in discard_swap() argument 183 se = first_se(si); in discard_swap() 187 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 198 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 245 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() argument 248 struct swap_extent *se = offset_to_swap_extent(si, start_page); in discard_swap_cluster() 262 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster() 355 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
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_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_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 | 89 int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd) in enetc_send_cmd() argument 91 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_send_cmd() 131 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) in enetc_clear_mac_flt_entry() argument 141 return enetc_send_cmd(si, &cbd); in enetc_clear_mac_flt_entry() 144 int enetc_set_mac_flt_entry(struct enetc_si *si, int index, in enetc_set_mac_flt_entry() argument 166 return enetc_send_cmd(si, &cbd); in enetc_set_mac_flt_entry() 170 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, in enetc_set_fs_entry() argument 173 struct enetc_cbdr *ring = &si->cbd_ring; in enetc_set_fs_entry() 185 tmp = enetc_cbd_alloc_data_mem(si, &cbd, sizeof(*rfse), in enetc_set_fs_entry() 192 err = enetc_send_cmd(si, &cbd); in enetc_set_fs_entry() [all …]
|
D | enetc.h | 239 static inline void *enetc_si_priv(const struct enetc_si *si) in enetc_si_priv() argument 241 return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); in enetc_si_priv() 244 static inline bool enetc_si_is_pf(struct enetc_si *si) in enetc_si_is_pf() argument 246 return !!(si->hw.port); in enetc_si_is_pf() 333 struct enetc_si *si; member 385 void enetc_get_si_caps(struct enetc_si *si); 411 int enetc_set_mac_flt_entry(struct enetc_si *si, int index, 413 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index); 414 int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, 417 int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count); [all …]
|
/linux-6.1.9/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() 40 if (si->lfb_depth == f->bits_per_pixel && in sysfb_parse_mode() 41 si->red_size == f->red.length && in sysfb_parse_mode() 42 si->red_pos == f->red.offset && in sysfb_parse_mode() 43 si->green_size == f->green.length && in sysfb_parse_mode() 44 si->green_pos == f->green.offset && in sysfb_parse_mode() 45 si->blue_size == f->blue.length && in sysfb_parse_mode() 46 si->blue_pos == f->blue.offset && in sysfb_parse_mode() 47 si->rsvd_size == f->transp.length && in sysfb_parse_mode() [all …]
|
D | sysfb.c | 74 struct screen_info *si = &screen_info; in sysfb_init() local 85 compatible = sysfb_parse_mode(si, &mode); in sysfb_init() 87 pd = sysfb_create_simplefb(si, &mode); in sysfb_init() 93 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init() 95 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init() 97 else if (si->orig_video_isVGA == VIDEO_TYPE_VGAC) in sysfb_init() 99 else if (si->orig_video_isVGA == VIDEO_TYPE_EGAC) in sysfb_init() 112 ret = platform_device_add_data(pd, si, sizeof(*si)); in sysfb_init()
|
/linux-6.1.9/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 | arm32-stub.c | 83 struct screen_info *si; in alloc_screen_info() local 93 sizeof(*si), (void **)&si); in alloc_screen_info() 99 &screen_info_guid, si); in alloc_screen_info() 101 return si; in alloc_screen_info() 103 efi_bs_call(free_pool, si); in alloc_screen_info() 107 void free_screen_info(struct screen_info *si) in free_screen_info() argument 109 if (!si) in free_screen_info() 113 efi_bs_call(free_pool, si); in free_screen_info()
|
/linux-6.1.9/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 116 "=S"(si), \ 131 eax, ebx, ecx, edx, si, di) \ argument 141 "=S"(si), \ 165 eax, ebx, ecx, edx, si, di) \ argument 177 "=S"(si), \ 192 eax, ebx, ecx, edx, si, di) \ argument 204 "=S"(si), \
|
D | vmwgfx_msg.c | 100 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local 103 (protocol | GUESTMSG_FLAG_COOKIE), si, di, in vmw_open_channel() 106 eax, ebx, ecx, edx, si, di); in vmw_open_channel() 112 channel->cookie_high = si; in vmw_open_channel() 129 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local 132 si = channel->cookie_high; in vmw_close_channel() 136 0, si, di, in vmw_close_channel() 139 eax, ebx, ecx, edx, si, di); in vmw_close_channel() 159 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local 167 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.1.9/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.1.9/net/core/ |
D | filter.c | 6809 const struct bpf_insn *si, in bpf_tcp_sock_convert_ctx_access() argument 6820 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 6832 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access() 6841 switch (si->off) { in bpf_tcp_sock_convert_ctx_access() 6848 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_tcp_sock_convert_ctx_access() 7004 const struct bpf_insn *si, in bpf_xdp_sock_convert_ctx_access() argument 7015 si->dst_reg, si->src_reg, \ in bpf_xdp_sock_convert_ctx_access() 7019 switch (si->off) { in bpf_xdp_sock_convert_ctx_access() 9083 const struct bpf_insn *si, in flow_dissector_convert_ctx_access() argument 9091 switch (si->off) { in flow_dissector_convert_ctx_access() [all …]
|
/linux-6.1.9/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.1.9/include/linux/iio/imu/ |
D | adis.h | 457 #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ argument 466 .scan_index = (si), \ 475 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument 476 ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) 478 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument 479 ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) 481 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument 490 .scan_index = (si), \ 499 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument 508 .scan_index = (si), \ [all …]
|
/linux-6.1.9/drivers/firmware/efi/ |
D | earlycon.c | 137 struct screen_info *si; in efi_earlycon_write() local 142 si = &screen_info; in efi_earlycon_write() 143 len = si->lfb_linelength; in efi_earlycon_write() 155 linemax = (si->lfb_width - efi_x) / font->width; in efi_earlycon_write() 190 if (efi_x + font->width > si->lfb_width) { in efi_earlycon_write() 195 if (efi_y + font->height > si->lfb_height) { in efi_earlycon_write() 210 struct screen_info *si; in efi_earlycon_setup() local 223 si = &screen_info; in efi_earlycon_setup() 224 xres = si->lfb_width; in efi_earlycon_setup() 225 yres = si->lfb_height; in efi_earlycon_setup() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/leds/ |
D | issi,is31fl319x.yaml | 31 - si-en,sn3190 32 - si-en,sn3191 33 - si-en,sn3193 34 - si-en,sn3196 35 - si-en,sn3199 85 - si-en,sn3190 86 - si-en,sn3191 87 - si-en,sn3193 119 - si-en,sn3190 120 - si-en,sn3191 [all …]
|
/linux-6.1.9/drivers/dma/ |
D | acpi-dma.c | 44 const struct acpi_csrt_shared_info *si; in acpi_dma_parse_resource_group() local 71 si = (const struct acpi_csrt_shared_info *)&grp[1]; in acpi_dma_parse_resource_group() 74 if (si->mmio_base_low != lower_32_bits(mem) || in acpi_dma_parse_resource_group() 75 si->mmio_base_high != upper_32_bits(mem)) in acpi_dma_parse_resource_group() 83 ret = acpi_register_gsi(NULL, si->gsi_interrupt, si->interrupt_mode, si->interrupt_polarity); in acpi_dma_parse_resource_group() 95 if (si->base_request_line == 0 && si->num_handshake_signals == 0) in acpi_dma_parse_resource_group() 100 DMA_BIT_MASK(si->dma_address_width)); in acpi_dma_parse_resource_group() 104 adma->base_request_line = si->base_request_line; in acpi_dma_parse_resource_group() 105 adma->end_request_line = si->base_request_line + in acpi_dma_parse_resource_group() 106 si->num_handshake_signals - 1; in acpi_dma_parse_resource_group()
|