/linux/drivers/infiniband/hw/hfi1/ |
A D | vnic_main.c | 295 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 D | vnic_sdma.c | 126 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 D | vnic.h | 45 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 D | hfi.h | 1302 struct hfi1_vnic_vport_info *vinfo,
|
/linux/drivers/video/fbdev/vermilion/ |
A D | vermilion.c | 173 vinfo->num_areas = 0; in vmlfb_free_vram() 194 vinfo->num_areas = 0; in vmlfb_alloc_vram() 196 va = &vinfo->vram[i]; in vmlfb_alloc_vram() 295 aoffset = offset - (vinfo->vram[i].phys - vinfo->vram_start); in vmlfb_vram_offset() 390 par = vinfo->par; in vml_pci_remove() 397 kfree(vinfo); in vml_pci_remove() 451 vinfo = kzalloc(sizeof(*vinfo), GFP_KERNEL); in vml_pci_probe() 452 if (vinfo == NULL) { in vml_pci_probe() 457 vinfo->par = par; in vml_pci_probe() 472 info = &vinfo->info; in vml_pci_probe() [all …]
|
/linux/drivers/firmware/arm_scmi/ |
A D | voltage.c | 64 struct voltage_info *vinfo) in scmi_protocol_attributes_get() argument 76 vinfo->num_domains = in scmi_protocol_attributes_get() 147 v = vinfo->domains + dom; in scmi_voltage_descriptors_get() 323 return vinfo->num_domains; in scmi_voltage_domains_num_get() 339 struct voltage_info *vinfo; in scmi_voltage_protocol_init() local 348 vinfo = devm_kzalloc(ph->dev, sizeof(*vinfo), GFP_KERNEL); in scmi_voltage_protocol_init() 349 if (!vinfo) in scmi_voltage_protocol_init() 351 vinfo->version = version; in scmi_voltage_protocol_init() 357 if (vinfo->num_domains) { in scmi_voltage_protocol_init() 358 vinfo->domains = devm_kcalloc(ph->dev, vinfo->num_domains, in scmi_voltage_protocol_init() [all …]
|
/linux/drivers/regulator/ |
A D | scmi-regulator.c | 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() 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/fs/nilfs2/ |
A D | dat.c | 424 struct nilfs_vinfo *vinfo = buf; in nilfs_dat_get_vinfo() local 431 ret = nilfs_palloc_get_entry_block(dat, vinfo->vi_vblocknr, in nilfs_dat_get_vinfo() 437 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo() 442 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo() 443 vinfo->vi_vblocknr <= last; in nilfs_dat_get_vinfo() 444 j++, n++, vinfo = (void *)vinfo + visz) { in nilfs_dat_get_vinfo() 446 dat, vinfo->vi_vblocknr, entry_bh, kaddr); in nilfs_dat_get_vinfo() 447 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo() 448 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo() 449 vinfo->vi_blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_get_vinfo()
|
/linux/net/bridge/ |
A D | br_netlink.c | 316 vinfo.vid = vid_start; in br_fill_ifvlaninfo_range() 319 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range() 322 vinfo.vid = vid_end; in br_fill_ifvlaninfo_range() 325 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range() 329 vinfo.flags = flags; in br_fill_ifvlaninfo_range() 331 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo_range() 408 vinfo.vid = v->vid; in br_fill_ifvlaninfo() 409 vinfo.flags = 0; in br_fill_ifvlaninfo() 417 sizeof(vinfo), &vinfo)) in br_fill_ifvlaninfo() 657 err = nbp_vlan_add(p, vinfo->vid, vinfo->flags, in br_vlan_info() [all …]
|
A D | br_vlan.c | 2094 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_rtm_process_one() 2095 if (vinfo->flags & (BRIDGE_VLAN_INFO_RANGE_BEGIN | in br_vlan_rtm_process_one() 2100 if (!br_vlan_valid_id(vinfo->vid, extack)) in br_vlan_rtm_process_one() 2107 vinfo->flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in br_vlan_rtm_process_one() 2110 vinfo_last = vinfo; in br_vlan_rtm_process_one() 2111 vinfo = &vrange_end; in br_vlan_rtm_process_one() 2113 if (!br_vlan_valid_id(vinfo->vid, extack) || in br_vlan_rtm_process_one() 2114 !br_vlan_valid_range(vinfo, vinfo_last, extack)) in br_vlan_rtm_process_one() 2132 err = br_process_vlan_info(br, p, cmdmap, vinfo, &tmp_last, in br_vlan_rtm_process_one() 2149 range_end = br_vlan_find(vg, vinfo->vid); in br_vlan_rtm_process_one() [all …]
|
A D | br_vlan_options.c | 126 struct bridge_vlan_info *vinfo; in br_vlan_modify_tunnel() local 159 vinfo = nla_data(tb[BRIDGE_VLANDB_ENTRY_INFO]); in br_vlan_modify_tunnel() 164 tun_id += v->vid - vinfo->vid; in br_vlan_modify_tunnel()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | xen_shinfo_test.c | 217 struct vcpu_info *vinfo = addr_gpa2hva(vm, VCPU_INFO_VADDR); in main() local 218 vinfo->evtchn_upcall_pending = 0; in main() 252 vinfo->evtchn_upcall_pending = 1; in main()
|
/linux/arch/mips/kernel/ |
A D | smp-bmips.c | 483 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/net/dsa/ |
A D | dsa_priv.h | 409 struct bridge_vlan_info vinfo; in dsa_find_designated_bridge_port_by_vid() local 434 err = br_vlan_get_info_rcu(slave, vid, &vinfo); in dsa_find_designated_bridge_port_by_vid()
|
/linux/drivers/staging/media/av7110/ |
A D | dvb_filter.h | 173 struct dvb_video_info vinfo; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_span.c | 266 struct bridge_vlan_info vinfo; in mlxsw_sp_span_entry_bridge_8021q() local 273 br_vlan_get_info(br_dev, vid, &vinfo) || in mlxsw_sp_span_entry_bridge_8021q() 274 !(vinfo.flags & BRIDGE_VLAN_INFO_BRENTRY)) in mlxsw_sp_span_entry_bridge_8021q() 281 if (br_vlan_get_info(edev, vid, &vinfo)) in mlxsw_sp_span_entry_bridge_8021q() 283 if (vinfo.flags & BRIDGE_VLAN_INFO_UNTAGGED) in mlxsw_sp_span_entry_bridge_8021q()
|
A D | spectrum.h | 417 struct bridge_vlan_info vinfo; in mlxsw_sp_vxlan_mapped_vid() local 425 err = br_vlan_get_info(vxlan_dev, vid, &vinfo); in mlxsw_sp_vxlan_mapped_vid() 426 if (err || !(vinfo.flags & BRIDGE_VLAN_INFO_UNTAGGED)) in mlxsw_sp_vxlan_mapped_vid()
|
/linux/drivers/video/fbdev/sis/ |
A D | sis.h | 476 struct sis_video_info *vinfo; member
|
A D | sis_main.c | 3193 ivideo->sisfb_heap.vinfo = ivideo; in sisfb_heap_init() 3433 struct sis_video_info *ivideo = sisfb_heap->vinfo; in sis_malloc() 3470 struct sis_video_info *ivideo = sisfb_heap->vinfo; in sis_free()
|