Home
last modified time | relevance | path

Searched refs:vinfo (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dvnic_main.c37 static void hfi1_vnic_update_stats(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_update_stats() argument
40 struct net_device *netdev = vinfo->netdev; in hfi1_vnic_update_stats()
44 for (i = 0; i < vinfo->num_tx_q; i++) { in hfi1_vnic_update_stats()
45 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
46 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
59 for (i = 0; i < vinfo->num_rx_q; i++) { in hfi1_vnic_update_stats()
60 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
61 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
123 static void hfi1_vnic_update_tx_counters(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_update_tx_counters() argument
127 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; in hfi1_vnic_update_tx_counters()
[all …]
Dvnic_sdma.c126 struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_send_dma() argument
129 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_send_dma()
220 struct hfi1_vnic_vport_info *vinfo = vnic_sdma->vinfo; in hfi1_vnic_sdma_wakeup() local
223 if (__netif_subqueue_stopped(vinfo->netdev, vnic_sdma->q_idx)) in hfi1_vnic_sdma_wakeup()
224 netif_wake_subqueue(vinfo->netdev, vnic_sdma->q_idx); in hfi1_vnic_sdma_wakeup()
227 inline bool hfi1_vnic_sdma_write_avail(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_sdma_write_avail() argument
230 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_sdma_write_avail()
235 void hfi1_vnic_sdma_init(struct hfi1_vnic_vport_info *vinfo) in hfi1_vnic_sdma_init() argument
239 for (i = 0; i < vinfo->num_tx_q; i++) { in hfi1_vnic_sdma_init()
240 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[i]; in hfi1_vnic_sdma_init()
[all …]
Dvnic.h45 struct hfi1_vnic_vport_info *vinfo; member
63 struct hfi1_vnic_vport_info *vinfo; member
99 netdev_dbg(vinfo->netdev, format, ## arg)
101 netdev_err(vinfo->netdev, format, ## arg)
103 netdev_info(vinfo->netdev, format, ## arg)
111 void hfi1_vnic_sdma_init(struct hfi1_vnic_vport_info *vinfo);
112 bool hfi1_vnic_sdma_write_avail(struct hfi1_vnic_vport_info *vinfo,
123 struct hfi1_vnic_vport_info *vinfo,
Dhfi.h1302 struct hfi1_vnic_vport_info *vinfo,
/linux-6.1.9/drivers/video/fbdev/vermilion/
Dvermilion.c167 static void vmlfb_free_vram(struct vml_info *vinfo) in vmlfb_free_vram() argument
171 for (i = 0; i < vinfo->num_areas; ++i) { in vmlfb_free_vram()
172 vmlfb_free_vram_area(&vinfo->vram[i]); in vmlfb_free_vram()
174 vinfo->num_areas = 0; in vmlfb_free_vram()
184 static int vmlfb_alloc_vram(struct vml_info *vinfo, in vmlfb_alloc_vram() argument
195 vinfo->num_areas = 0; in vmlfb_alloc_vram()
197 va = &vinfo->vram[i]; in vmlfb_alloc_vram()
209 vinfo->vram_start = va->phys; in vmlfb_alloc_vram()
210 vinfo->vram_logical = (void __iomem *) va->logical; in vmlfb_alloc_vram()
211 vinfo->vram_contig_size = va->size; in vmlfb_alloc_vram()
[all …]
/linux-6.1.9/drivers/firmware/arm_scmi/
Dvoltage.c72 struct voltage_info *vinfo) in scmi_protocol_attributes_get() argument
84 vinfo->num_domains = in scmi_protocol_attributes_get()
210 struct voltage_info *vinfo) in scmi_voltage_descriptors_get() argument
222 for (dom = 0; dom < vinfo->num_domains; dom++) { in scmi_voltage_descriptors_get()
232 v = vinfo->domains + dom; in scmi_voltage_descriptors_get()
241 if (PROTOCOL_REV_MAJOR(vinfo->version) >= 0x2) { in scmi_voltage_descriptors_get()
265 struct voltage_info *vinfo = ph->get_priv(ph); in __scmi_voltage_get_u32() local
267 if (domain_id >= vinfo->num_domains) in __scmi_voltage_get_u32()
288 struct voltage_info *vinfo = ph->get_priv(ph); in scmi_voltage_config_set() local
291 if (domain_id >= vinfo->num_domains) in scmi_voltage_config_set()
[all …]
/linux-6.1.9/drivers/regulator/
Dscmi-regulator.c140 const struct scmi_voltage_info *vinfo) in scmi_config_linear_regulator_mappings() argument
150 delta_uV = (vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_HIGH] - in scmi_config_linear_regulator_mappings()
151 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]); in scmi_config_linear_regulator_mappings()
157 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW], in scmi_config_linear_regulator_mappings()
158 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_HIGH], in scmi_config_linear_regulator_mappings()
166 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]; in scmi_config_linear_regulator_mappings()
172 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_LOW]; in scmi_config_linear_regulator_mappings()
174 vinfo->levels_uv[SCMI_VOLTAGE_SEGMENT_STEP]; in scmi_config_linear_regulator_mappings()
185 const struct scmi_voltage_info *vinfo) in scmi_config_discrete_regulator_mappings() argument
188 sreg->desc.n_voltages = vinfo->num_levels; in scmi_config_discrete_regulator_mappings()
[all …]
/linux-6.1.9/fs/nilfs2/
Ddat.c431 struct nilfs_vinfo *vinfo = buf; in nilfs_dat_get_vinfo() local
438 ret = nilfs_palloc_get_entry_block(dat, vinfo->vi_vblocknr, in nilfs_dat_get_vinfo()
444 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo()
449 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
450 vinfo->vi_vblocknr <= last; in nilfs_dat_get_vinfo()
451 j++, n++, vinfo = (void *)vinfo + visz) { in nilfs_dat_get_vinfo()
453 dat, vinfo->vi_vblocknr, entry_bh, kaddr); in nilfs_dat_get_vinfo()
454 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
455 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
456 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()
/linux-6.1.9/net/bridge/
Dbr_netlink.c317 struct bridge_vlan_info vinfo; in br_fill_ifvlaninfo_range() local
321 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
322 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_fill_ifvlaninfo_range()
324 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
327 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
328 vinfo.flags = flags | BRIDGE_VLAN_INFO_RANGE_END; in br_fill_ifvlaninfo_range()
330 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
333 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
334 vinfo.flags = flags; in br_fill_ifvlaninfo_range()
336 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
[all …]
Dbr_vlan.c2140 struct bridge_vlan_info *vinfo, vrange_end, *vinfo_last = NULL; in br_vlan_rtm_process_one() local
2173 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_rtm_process_one()
2174 if (vinfo->flags & (BRIDGE_VLAN_INFO_RANGE_BEGIN | in br_vlan_rtm_process_one()
2179 if (!br_vlan_valid_id(vinfo->vid, extack)) in br_vlan_rtm_process_one()
2185 vrange_end.flags = BRIDGE_VLAN_INFO_RANGE_END | vinfo->flags; in br_vlan_rtm_process_one()
2186 vinfo->flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_vlan_rtm_process_one()
2189 vinfo_last = vinfo; in br_vlan_rtm_process_one()
2190 vinfo = &vrange_end; in br_vlan_rtm_process_one()
2192 if (!br_vlan_valid_id(vinfo->vid, extack) || in br_vlan_rtm_process_one()
2193 !br_vlan_valid_range(vinfo, vinfo_last, extack)) in br_vlan_rtm_process_one()
[all …]
Dbr_vlan_options.c131 struct bridge_vlan_info *vinfo; in br_vlan_modify_tunnel() local
164 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_modify_tunnel()
169 tun_id += v->vid - vinfo->vid; in br_vlan_modify_tunnel()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c394 static struct vcpu_info *vinfo; variable
399 if (vinfo) in handle_alrm()
400 printf("evtchn_upcall_pending 0x%x\n", vinfo->evtchn_upcall_pending); in handle_alrm()
599 vinfo = addr_gpa2hva(vm, VCPU_INFO_VADDR); in main()
600 vinfo->evtchn_upcall_pending = 0; in main()
636 vinfo->evtchn_upcall_pending = 1; in main()
/linux-6.1.9/arch/mips/kernel/
Dsmp-bmips.c483 static void bmips_set_reset_vec_remote(void *vinfo) in bmips_set_reset_vec_remote() argument
485 struct reset_vec_info *info = vinfo; in bmips_set_reset_vec_remote()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Ddvb_filter.h173 struct dvb_video_info vinfo; member
/linux-6.1.9/net/dsa/
Ddsa_priv.h412 struct bridge_vlan_info vinfo; in dsa_find_designated_bridge_port_by_vid() local
437 err = br_vlan_get_info_rcu(slave, vid, &vinfo); in dsa_find_designated_bridge_port_by_vid()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c266 struct bridge_vlan_info vinfo; in mlxsw_sp_span_entry_bridge_8021q() local
272 if (!vid || br_vlan_get_info(br_dev, vid, &vinfo) || in mlxsw_sp_span_entry_bridge_8021q()
273 !(vinfo.flags & BRIDGE_VLAN_INFO_BRENTRY)) in mlxsw_sp_span_entry_bridge_8021q()
280 if (br_vlan_get_info(edev, vid, &vinfo)) in mlxsw_sp_span_entry_bridge_8021q()
282 if (vinfo.flags & BRIDGE_VLAN_INFO_UNTAGGED) in mlxsw_sp_span_entry_bridge_8021q()
Dspectrum.h453 struct bridge_vlan_info vinfo; in mlxsw_sp_vxlan_mapped_vid() local
461 err = br_vlan_get_info(vxlan_dev, vid, &vinfo); in mlxsw_sp_vxlan_mapped_vid()
462 if (err || !(vinfo.flags & BRIDGE_VLAN_INFO_UNTAGGED)) in mlxsw_sp_vxlan_mapped_vid()
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis.h476 struct sis_video_info *vinfo; member
Dsis_main.c3203 ivideo->sisfb_heap.vinfo = ivideo; in sisfb_heap_init()
3443 struct sis_video_info *ivideo = sisfb_heap->vinfo; in sis_malloc()
3480 struct sis_video_info *ivideo = sisfb_heap->vinfo; in sis_free()