Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dvnic_main.c295 struct hfi1_vnic_vport_info *vinfo = rxq->vinfo; in hfi1_vnic_decap_skb() local
329 return vinfo; in get_first_vnic_port()
363 if (unlikely(!vinfo)) { in hfi1_vnic_bypass_rcv()
411 if (!vinfo->vesw_id) in hfi1_vnic_up()
414 rc = hfi1_netdev_add_data(dd, VNIC_ID(vinfo->vesw_id), vinfo); in hfi1_vnic_up()
462 hfi1_vnic_down(vinfo); in hfi1_netdev_close()
527 vinfo->vesw_id = id; in hfi1_vnic_set_vesw_id()
529 hfi1_vnic_up(vinfo); in hfi1_vnic_set_vesw_id()
584 vinfo->dd = dd; in hfi1_vnic_alloc_rn()
587 vinfo->netdev = netdev; in hfi1_vnic_alloc_rn()
[all …]
A 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
224 netif_wake_subqueue(vinfo->netdev, vnic_sdma->q_idx); in hfi1_vnic_sdma_wakeup()
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()
245 vnic_sdma->sde = &vinfo->dd->per_sdma[i]; in hfi1_vnic_sdma_init()
246 vnic_sdma->dd = vinfo->dd; in hfi1_vnic_sdma_init()
[all …]
A 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,
A Dhfi.h1302 struct hfi1_vnic_vport_info *vinfo,
/linux-6.3-rc2/drivers/video/fbdev/vermilion/
A Dvermilion.c174 vinfo->num_areas = 0; in vmlfb_free_vram()
195 vinfo->num_areas = 0; in vmlfb_alloc_vram()
197 va = &vinfo->vram[i]; in vmlfb_alloc_vram()
298 aoffset = offset - (vinfo->vram[i].phys - vinfo->vram_start); in vmlfb_vram_offset()
393 par = vinfo->par; in vml_pci_remove()
400 kfree(vinfo); in vml_pci_remove()
458 vinfo = kzalloc(sizeof(*vinfo), GFP_KERNEL); in vml_pci_probe()
459 if (vinfo == NULL) { in vml_pci_probe()
464 vinfo->par = par; in vml_pci_probe()
479 info = &vinfo->info; in vml_pci_probe()
[all …]
/linux-6.3-rc2/drivers/firmware/arm_scmi/
A Dvoltage.c72 struct voltage_info *vinfo) in scmi_protocol_attributes_get() argument
84 vinfo->num_domains = in scmi_protocol_attributes_get()
232 v = vinfo->domains + dom; in scmi_voltage_descriptors_get()
388 return vinfo->num_domains; in scmi_voltage_domains_num_get()
404 struct voltage_info *vinfo; in scmi_voltage_protocol_init() local
413 vinfo = devm_kzalloc(ph->dev, sizeof(*vinfo), GFP_KERNEL); in scmi_voltage_protocol_init()
414 if (!vinfo) in scmi_voltage_protocol_init()
416 vinfo->version = version; in scmi_voltage_protocol_init()
422 if (vinfo->num_domains) { in scmi_voltage_protocol_init()
423 vinfo->domains = devm_kcalloc(ph->dev, vinfo->num_domains, in scmi_voltage_protocol_init()
[all …]
/linux-6.3-rc2/drivers/regulator/
A Dscmi-regulator.c151 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()
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()
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()
194 sreg->desc.fixed_uV = vinfo->levels_uv[0]; in scmi_config_discrete_regulator_mappings()
205 const struct scmi_voltage_info *vinfo; in scmi_regulator_common_init() local
208 if (!vinfo) { in scmi_regulator_common_init()
220 if (vinfo->negative_volts_allowed) { in scmi_regulator_common_init()
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Ddat.c449 struct nilfs_vinfo *vinfo = buf; in nilfs_dat_get_vinfo() local
456 ret = nilfs_palloc_get_entry_block(dat, vinfo->vi_vblocknr, in nilfs_dat_get_vinfo()
462 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo()
467 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
468 vinfo->vi_vblocknr <= last; in nilfs_dat_get_vinfo()
469 j++, n++, vinfo = (void *)vinfo + visz) { in nilfs_dat_get_vinfo()
471 dat, vinfo->vi_vblocknr, entry_bh, kaddr); in nilfs_dat_get_vinfo()
472 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
473 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
474 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()
/linux-6.3-rc2/net/bridge/
A Dbr_netlink.c329 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range()
332 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
335 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range()
338 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
342 vinfo.flags = flags; in br_fill_ifvlaninfo_range()
344 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range()
421 vinfo.vid = v->vid; in br_fill_ifvlaninfo()
422 vinfo.flags = 0; in br_fill_ifvlaninfo()
430 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo()
696 err = nbp_vlan_add(p, vinfo->vid, vinfo->flags, in br_vlan_info()
[all …]
A Dbr_vlan.c2176 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_rtm_process_one()
2177 if (vinfo->flags & (BRIDGE_VLAN_INFO_RANGE_BEGIN | in br_vlan_rtm_process_one()
2182 if (!br_vlan_valid_id(vinfo->vid, extack)) in br_vlan_rtm_process_one()
2189 vinfo->flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_vlan_rtm_process_one()
2192 vinfo_last = vinfo; in br_vlan_rtm_process_one()
2193 vinfo = &vrange_end; in br_vlan_rtm_process_one()
2195 if (!br_vlan_valid_id(vinfo->vid, extack) || in br_vlan_rtm_process_one()
2196 !br_vlan_valid_range(vinfo, vinfo_last, extack)) in br_vlan_rtm_process_one()
2214 err = br_process_vlan_info(br, p, cmdmap, vinfo, &tmp_last, in br_vlan_rtm_process_one()
2231 range_end = br_vlan_find(vg, vinfo->vid); in br_vlan_rtm_process_one()
[all …]
A Dbr_vlan_options.c140 struct bridge_vlan_info *vinfo; in br_vlan_modify_tunnel() local
173 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_modify_tunnel()
178 tun_id += v->vid - vinfo->vid; in br_vlan_modify_tunnel()
/linux-6.3-rc2/net/dsa/
A Dtag.h114 struct bridge_vlan_info vinfo; in dsa_find_designated_bridge_port_by_vid() local
139 err = br_vlan_get_info_rcu(slave, vid, &vinfo); in dsa_find_designated_bridge_port_by_vid()
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dxen_shinfo_test.c397 static struct vcpu_info *vinfo; variable
402 if (vinfo) in handle_alrm()
403 printf("evtchn_upcall_pending 0x%x\n", vinfo->evtchn_upcall_pending); in handle_alrm()
617 vinfo = addr_gpa2hva(vm, VCPU_INFO_VADDR); in main()
618 vinfo->evtchn_upcall_pending = 0; in main()
654 vinfo->evtchn_upcall_pending = 1; in main()
/linux-6.3-rc2/arch/mips/kernel/
A 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.3-rc2/drivers/staging/media/av7110/
A Ddvb_filter.h173 struct dvb_video_info vinfo; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A 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()
A Dspectrum.h454 struct bridge_vlan_info vinfo; in mlxsw_sp_vxlan_mapped_vid() local
462 err = br_vlan_get_info(vxlan_dev, vid, &vinfo); in mlxsw_sp_vxlan_mapped_vid()
463 if (err || !(vinfo.flags & BRIDGE_VLAN_INFO_UNTAGGED)) in mlxsw_sp_vxlan_mapped_vid()
/linux-6.3-rc2/drivers/video/fbdev/sis/
A Dsis.h476 struct sis_video_info *vinfo; member
A 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()

Completed in 73 milliseconds