| /freebsd-14.2/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_intf.c | 42 struct mlx4_interface *intf; member 58 dev_ctx->intf = intf; in mlx4_add_device() 65 if (intf->activate) { in mlx4_add_device() 79 if (dev_ctx->intf == intf) { in mlx4_remove_device() 94 if (!intf->add || !intf->remove) in mlx4_register_interface() 106 mlx4_add_device(intf, priv); in mlx4_register_interface() 124 list_del(&intf->list); in mlx4_unregister_interface() 192 if (dev_ctx->intf->event) in mlx4_dispatch_event() 201 struct mlx4_interface *intf; in mlx4_register_device() local 219 struct mlx4_interface *intf; in mlx4_unregister_device() local [all …]
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt76x2/ |
| H A D | usb.c | 27 static int mt76x2u_probe(struct usb_interface *intf, in mt76x2u_probe() argument 42 struct usb_device *udev = interface_to_usbdev(intf); in mt76x2u_probe() 57 usb_set_intfdata(intf, dev); in mt76x2u_probe() 60 err = mt76u_init(mdev, intf); in mt76x2u_probe() 80 usb_set_intfdata(intf, NULL); in mt76x2u_probe() 86 static void mt76x2u_disconnect(struct usb_interface *intf) in mt76x2u_disconnect() argument 88 struct usb_device *udev = interface_to_usbdev(intf); in mt76x2u_disconnect() 89 struct mt76x02_dev *dev = usb_get_intfdata(intf); in mt76x2u_disconnect() 96 usb_set_intfdata(intf, NULL); in mt76x2u_disconnect() 103 struct mt76x02_dev *dev = usb_get_intfdata(intf); in mt76x2u_suspend() [all …]
|
| /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/ |
| H A D | usb.h | 67 int (*probe)(struct usb_interface *intf, 70 void (*disconnect)(struct usb_interface *intf); 72 int (*ioctl)(struct usb_interface *intf, unsigned int code, void *buf); 74 int (*suspend)(struct usb_interface *intf, pm_message_t message); 75 int (*resume)(struct usb_interface *intf); 79 void (*shutdown)(struct usb_interface *intf); 295 const struct usb_interface *intf, uint8_t alt_index); 300 void *usbd_get_intfdata(struct usb_interface *intf); 306 void usb_set_intfdata(struct usb_interface *intf, void *data); 315 #define interface_to_usbdev(intf) (intf)->linux_udev argument [all …]
|
| /freebsd-14.2/sys/dev/xen/console/ |
| H A D | xen_console.c | 124 struct xencons_interface *intf; member 324 intf = cons->intf; in xencons_write_ring() 328 wcons = intf->out_cons; in xencons_write_ring() 329 wprod = intf->out_prod; in xencons_write_ring() 338 intf->out[MASK_XENCONS_IDX(wprod, intf->out)] = buffer[sent]; in xencons_write_ring() 342 intf->out_prod = wprod; in xencons_write_ring() 356 intf = cons->intf; in xencons_read_ring() 360 rcons = intf->in_cons; in xencons_read_ring() 361 rprod = intf->in_prod; in xencons_read_ring() 367 buffer[rsz] = intf->in[MASK_XENCONS_IDX(rcons, intf->in)]; in xencons_read_ring() [all …]
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | tpm_device.c | 37 struct tpm_intf *intf; member 48 if (tpm->intf->build_acpi_table == NULL) { in tpm_build_acpi_table() 52 return (tpm->intf->build_acpi_table(tpm->intf_sc, tpm->vm_ctx)); in tpm_build_acpi_table() 116 if (dev->intf != NULL && dev->intf->deinit != NULL) in tpm_device_destroy() 117 dev->intf->deinit(dev->intf_sc); in tpm_device_destroy() 190 dev->intf = *ppintf; in tpm_device_create() 193 if (dev->intf == NULL) { in tpm_device_create() 199 if (dev->intf->init) { in tpm_device_create() 200 error = dev->intf->init(&dev->intf_sc, dev->emul, dev->emul_sc, in tpm_device_create()
|
| /freebsd-14.2/usr.sbin/route6d/misc/ |
| H A D | chkrt | 34 $intf = $1; 42 print "NOT FOUND: $dst $intf $gateway $metric $age\n"; 47 print "WRONG GW: $dst $intf $gateway $metric $age\n"; 52 if ($int{$dst} ne $intf) { 53 print "WRONG IF: $dst $intf $gateway $metric $age\n";
|
| /freebsd-14.2/sbin/pfctl/tests/files/ |
| H A D | pf0035.in | 3 intf = "lo0" 4 pass out on $intf inet proto tcp from any to any port 22 tos 0x10 5 pass out on $intf inet proto tcp from any to any port 22 tos 0x08
|
| H A D | pf0035.ok | 1 intf = "lo0"
|
| /freebsd-14.2/tests/sys/netpfil/pf/ |
| H A D | CVE-2019-5597.py | 39 intf = sys.argv[1] 59 sp.sendp(pkt0, iface=intf, verbose=False) 60 sp.sendp(pkt1, iface=intf, verbose=False)
|
| H A D | pfsync_defer.py | 76 def ping(intf): argument 85 sp.sendp(req, iface=intf, verbose=False)
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_main.c | 102 struct mlx5_interface *intf; member 796 dev_ctx->intf = intf; in mlx5_add_device() 816 if (dev_ctx->intf == intf) { in mlx5_remove_device() 831 struct mlx5_interface *intf; in mlx5_register_device() local 836 mlx5_add_device(intf, priv); in mlx5_register_device() 846 struct mlx5_interface *intf; in mlx5_unregister_device() local 859 if (!intf->add || !intf->remove) in mlx5_register_interface() 865 mlx5_add_device(intf, priv); in mlx5_register_interface() 879 list_del(&intf->list); in mlx5_unregister_interface() 895 dev_ctx->intf->get_dev) { in mlx5_get_protocol_dev() [all …]
|
| /freebsd-14.2/sys/contrib/dev/rtw88/ |
| H A D | usb.c | 766 struct usb_interface *intf) in rtw_usb_intf_init() argument 773 ret = rtw_usb_parse(rtwdev, intf); in rtw_usb_intf_init() 782 usb_set_intfdata(intf, rtwdev->hw); in rtw_usb_intf_init() 784 SET_IEEE80211_DEV(rtwdev->hw, &intf->dev); in rtw_usb_intf_init() 791 struct usb_interface *intf) in rtw_usb_intf_deinit() argument 797 usb_set_intfdata(intf, NULL); in rtw_usb_intf_deinit() 815 rtwdev->dev = &intf->dev; in rtw_usb_probe() 831 ret = rtw_usb_intf_init(rtwdev, intf); in rtw_usb_probe() 870 rtw_usb_intf_deinit(rtwdev, intf); in rtw_usb_probe() 884 struct ieee80211_hw *hw = usb_get_intfdata(intf); in rtw_usb_disconnect() [all …]
|
| H A D | rtw8723du.c | 20 static int rtw8723du_probe(struct usb_interface *intf, in rtw8723du_probe() argument 23 return rtw_usb_probe(intf, id); in rtw8723du_probe()
|
| H A D | rtw8822cu.c | 28 static int rtw8822bu_probe(struct usb_interface *intf, in rtw8822bu_probe() argument 31 return rtw_usb_probe(intf, id); in rtw8822bu_probe()
|
| H A D | rtw8821cu.c | 34 static int rtw_8821cu_probe(struct usb_interface *intf, in rtw_8821cu_probe() argument 37 return rtw_usb_probe(intf, id); in rtw_8821cu_probe()
|
| H A D | usb.h | 97 int rtw_usb_probe(struct usb_interface *intf, const struct usb_device_id *id); 98 void rtw_usb_disconnect(struct usb_interface *intf);
|
| H A D | rtw8822bu.c | 74 static int rtw8822bu_probe(struct usb_interface *intf, in rtw8822bu_probe() argument 77 return rtw_usb_probe(intf, id); in rtw8822bu_probe()
|
| /freebsd-14.2/sys/dev/oce/ |
| H A D | oce_hw.c | 238 pci_sli_intf_t intf; in oce_hw_pci_alloc() local 273 intf.dw0 = pci_read_config((sc)->dev,OCE_INTF_REG_OFFSET,4); in oce_hw_pci_alloc() 275 if (intf.bits.sli_valid != OCE_INTF_VALID_SIG) in oce_hw_pci_alloc() 278 if (intf.bits.sli_rev != OCE_INTF_SLI_REV4) { in oce_hw_pci_alloc() 283 if (intf.bits.sli_if_type == OCE_INTF_IF_TYPE_1) in oce_hw_pci_alloc() 286 if (intf.bits.sli_hint1 == OCE_INTF_FUNC_RESET_REQD) in oce_hw_pci_alloc() 289 if (intf.bits.sli_func_type == OCE_INTF_VIRT_FUNC) in oce_hw_pci_alloc()
|
| /freebsd-14.2/sys/dev/mlx4/ |
| H A D | driver.h | 68 int mlx4_register_interface(struct mlx4_interface *intf); 69 void mlx4_unregister_interface(struct mlx4_interface *intf);
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | usb.c | 219 static int mt7663u_suspend(struct usb_interface *intf, pm_message_t state) in mt7663u_suspend() argument 221 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_suspend() 238 static int mt7663u_resume(struct usb_interface *intf) in mt7663u_resume() argument 240 struct mt7615_dev *dev = usb_get_intfdata(intf); in mt7663u_resume()
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | usb.c | 258 static int mt7921u_suspend(struct usb_interface *intf, pm_message_t state) in mt7921u_suspend() argument 260 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7921u_suspend() 285 static int mt7921u_resume(struct usb_interface *intf) in mt7921u_resume() argument 287 struct mt792x_dev *dev = usb_get_intfdata(intf); in mt7921u_resume()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/display/mediatek/ |
| H A D | mediatek,dpi.yaml | 26 - mediatek,mt8188-dp-intf 28 - mediatek,mt8195-dp-intf
|
| /freebsd-14.2/contrib/wpa/src/drivers/ |
| H A D | driver_ndis.c | 2529 INTF_ENTRY intf; in wpa_driver_ndis_set_wzc() 2597 os_memset(&intf, 0, sizeof(intf)); in wpa_driver_ndis_set_wzc() 2598 intf.wszGuid = guids.pIntfs[i].wszGuid; in wpa_driver_ndis_set_wzc() 2600 intf.dwCtlFlags = -1; in wpa_driver_ndis_set_wzc() 2613 (int) flags, (int) intf.dwCtlFlags); in wpa_driver_ndis_set_wzc() 2615 if (intf.dwCtlFlags == -1) { in wpa_driver_ndis_set_wzc() 2619 (u8 *) &intf, sizeof(intf)); in wpa_driver_ndis_set_wzc() 2624 if (!(intf.dwCtlFlags & INTFCTL_ENABLED)) { in wpa_driver_ndis_set_wzc() 2627 intf.dwCtlFlags |= INTFCTL_ENABLED; in wpa_driver_ndis_set_wzc() 2643 if (intf.dwCtlFlags & INTFCTL_ENABLED) { in wpa_driver_ndis_set_wzc() [all …]
|
| /freebsd-14.2/tests/sys/net/ |
| H A D | if_bridge_test.sh | 538 intf=$1 540 ifconfig ${intf} ether | awk '$5 == "mtu" { print $6 }' 545 intf=$1 548 mtu=$(get_mtu $intf) 551 atf_fail "Expected MTU of $expected on $intf but found $mtu"
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_usb.c | 1079 usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t alt_index) in usb_altnum_to_altsetting() argument 1081 if (alt_index >= intf->num_altsetting) { in usb_altnum_to_altsetting() 1084 return (intf->altsetting + alt_index); in usb_altnum_to_altsetting() 1122 usbd_get_intfdata(struct usb_interface *intf) in usbd_get_intfdata() argument 1124 return (intf->bsd_priv_sc); in usbd_get_intfdata() 1262 usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata() argument 1264 intf->bsd_priv_sc = data; in usb_set_intfdata()
|