Searched refs:altdev (Results 1 – 2 of 2) sorted by relevance
1460 struct altr_edac_device_dev *altdev; in altr_portb_setup() local1478 dci = edac_device_alloc_ctl_info(sizeof(*altdev), ecc_name, 1, in altr_portb_setup()1488 altdev = dci->pvt_info; in altr_portb_setup()1489 *altdev = *device; in altr_portb_setup()1491 if (!devres_open_group(&altdev->ddev, altr_portb_setup, GFP_KERNEL)) in altr_portb_setup()1495 altdev->edac_dev_name = ecc_name; in altr_portb_setup()1496 altdev->edac_idx = edac_idx; in altr_portb_setup()1497 altdev->edac_dev = dci; in altr_portb_setup()1498 altdev->data = prv; in altr_portb_setup()1499 dci->dev = &altdev->ddev; in altr_portb_setup()[all …]
631 struct bpf_offload_netdev *ondev, *altdev; in bpf_offload_dev_netdev_unregister() local646 altdev = list_first_entry_or_null(&offdev->netdevs, in bpf_offload_dev_netdev_unregister()649 if (altdev) { in bpf_offload_dev_netdev_unregister()651 offload->netdev = altdev->netdev; in bpf_offload_dev_netdev_unregister()652 list_splice_init(&ondev->progs, &altdev->progs); in bpf_offload_dev_netdev_unregister()655 offmap->netdev = altdev->netdev; in bpf_offload_dev_netdev_unregister()656 list_splice_init(&ondev->maps, &altdev->maps); in bpf_offload_dev_netdev_unregister()