Home
last modified time | relevance | path

Searched refs:idev (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/dev/drm2/
H A Ddrm_dp_iic_helper.c33 iic_dp_aux_transaction(device_t idev, int mode, uint8_t write_byte, in iic_dp_aux_transaction() argument
39 aux_data = device_get_softc(idev); in iic_dp_aux_transaction()
40 ret = (*aux_data->aux_ch)(idev, mode, write_byte, read_byte); in iic_dp_aux_transaction()
56 iic_dp_aux_address(device_t idev, u16 address, bool reading) in iic_dp_aux_address() argument
61 aux_data = device_get_softc(idev); in iic_dp_aux_address()
69 ret = iic_dp_aux_transaction(idev, mode, 0, NULL); in iic_dp_aux_address()
78 iic_dp_aux_stop(device_t idev, bool reading) in iic_dp_aux_stop() argument
83 aux_data = device_get_softc(idev); in iic_dp_aux_stop()
90 (void)iic_dp_aux_transaction(idev, mode, 0, NULL); in iic_dp_aux_stop()
100 iic_dp_aux_put_byte(device_t idev, u8 byte) in iic_dp_aux_put_byte() argument
[all …]
H A Ddrm_dp_helper.h321 int (*ch)(device_t idev, int mode, uint8_t write_byte, uint8_t *read_byte),
/freebsd/sys/isa/
H A Disa_common.c416 struct isa_device *idev = DEVTOISA(child); in isa_assign_resources() local
425 TAILQ_FOREACH(ice, &idev->id_configs, ice_link) { in isa_assign_resources()
444 if (idev->id_config_cb) { in isa_assign_resources()
445 idev->id_config_cb(idev->id_config_arg, in isa_assign_resources()
460 if (idev->id_config_cb) in isa_assign_resources()
461 idev->id_config_cb(idev->id_config_arg, cfg, 0); in isa_assign_resources()
475 struct isa_device *idev = DEVTOISA(child); in isa_claim_resources() local
476 struct resource_list *rl = &idev->id_resources; in isa_claim_resources()
495 struct isa_device *idev; in isa_probe_children() local
523 idev = DEVTOISA(children[i]); in isa_probe_children()
[all …]
H A Disahint.c88 struct isa_device* idev = DEVTOISA(dev); in isa_match_resource_hint() local
89 struct resource_list *rl = &idev->id_resources; in isa_match_resource_hint()
/freebsd/stand/libsa/
H A Ddev.c71 struct devdesc *idev; in default_parsedev() local
75 idev = malloc(sizeof(struct devdesc)); in default_parsedev()
76 if (idev == NULL) in default_parsedev()
95 idev->d_unit = unit; in default_parsedev()
98 *dev = idev; in default_parsedev()
101 free(idev); in default_parsedev()
109 struct devdesc *idev; in devparse() local
131 idev = NULL; in devparse()
134 err = dv->dv_parsedev(&idev, devspec, path); in devparse()
137 err = default_parsedev(&idev, np, path); in devparse()
[all …]
/freebsd/stand/uboot/
H A Ddevicename.c85 struct uboot_devdesc *idev; in uboot_parsedev() local
105 idev = malloc(sizeof(struct uboot_devdesc)); in uboot_parsedev()
115 free(idev); in uboot_parsedev()
116 err = disk_parsedev((struct devdesc **)&idev, devspec, path); in uboot_parsedev()
137 idev->dd.d_unit = unit; in uboot_parsedev()
147 idev->dd.d_dev = dv; in uboot_parsedev()
153 free(idev); in uboot_parsedev()
155 *dev = idev; in uboot_parsedev()
160 free(idev); in uboot_parsedev()
/freebsd/stand/libofw/
H A Ddevicename.c97 struct ofw_devdesc *idev; in ofw_common_parsedev() local
101 idev = malloc(sizeof(struct ofw_devdesc)); in ofw_common_parsedev()
102 if (idev == NULL) { in ofw_common_parsedev()
106 strlcpy(idev->d_path, devspec, min(rem_path - devspec + 1, in ofw_common_parsedev()
107 sizeof(idev->d_path))); in ofw_common_parsedev()
108 *dev = &idev->dd; in ofw_common_parsedev()
H A Dofw_disk.c224 ofwd_fmtdev(struct devdesc *idev) in ofwd_fmtdev() argument
226 struct ofw_devdesc *dev = (struct ofw_devdesc *)idev; in ofwd_fmtdev()
H A Dofw_net.c320 ofwnd_fmtdev(struct devdesc *idev) in ofwnd_fmtdev() argument
322 struct ofw_devdesc *dev = (struct ofw_devdesc *)idev; in ofwnd_fmtdev()
/freebsd/sys/powerpc/mpc85xx/
H A Disa.c50 struct isa_device* idev = DEVTOISA(child); in isa_alloc_resource() local
51 struct resource_list *rl = &idev->id_resources; in isa_alloc_resource()
78 struct isa_device* idev = DEVTOISA(child); in isa_release_resource() local
79 struct resource_list *rl = &idev->id_resources; in isa_release_resource()
/freebsd/sys/x86/isa/
H A Disa.c95 struct isa_device* idev = DEVTOISA(child); in isa_alloc_resource() local
96 struct resource_list *rl = &idev->id_resources; in isa_alloc_resource()
135 struct isa_device* idev = DEVTOISA(child); in isa_release_resource() local
136 struct resource_list *rl = &idev->id_resources; in isa_release_resource()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c120 if_t idev, void *cookie) in roce_gid_match_netdev() argument
123 if (idev == NULL) in roce_gid_match_netdev()
125 return (ndev == idev); in roce_gid_match_netdev()
130 if_t idev, void *cookie) in roce_gid_match_all() argument
132 if (idev == NULL) in roce_gid_match_all()
139 u8 port, if_t idev) in roce_gid_enum_netdev_default() argument
145 ib_cache_gid_set_default_gid(ib_dev, port, idev, gid_type_mask, in roce_gid_enum_netdev_default()
H A Dib_device.c733 if_t idev = NULL; in ib_enum_roce_netdev() local
736 idev = ib_dev->get_netdev(ib_dev, port); in ib_enum_roce_netdev()
738 if (idev && (if_getflags(idev) & IFF_DYING)) { in ib_enum_roce_netdev()
739 dev_put(idev); in ib_enum_roce_netdev()
740 idev = NULL; in ib_enum_roce_netdev()
743 if (filter(ib_dev, port, idev, filter_cookie)) in ib_enum_roce_netdev()
744 cb(ib_dev, port, idev, cookie); in ib_enum_roce_netdev()
746 if (idev) in ib_enum_roce_netdev()
747 dev_put(idev); in ib_enum_roce_netdev()
H A Dcore_priv.h83 if_t idev, void *cookie);
86 if_t idev, void *cookie);
H A Dib_sa_query.c666 if_t idev; in ib_init_ah_from_path() local
690 idev = device->get_netdev(device, port_num); in ib_init_ah_from_path()
691 if (!idev) in ib_init_ah_from_path()
697 dev_put(idev); in ib_init_ah_from_path()
702 (resolved_dev != idev && in ib_init_ah_from_path()
703 rdma_vlan_dev_real_dev(resolved_dev) != idev)) in ib_init_ah_from_path()
705 dev_put(idev); in ib_init_ah_from_path()
/freebsd/stand/kboot/kboot/
H A Dhostdisk.c48 static int hostdisk_parsedev(struct devdesc **idev, const char *devspec, const char **path);
443 hostdisk_parsedev(struct devdesc **idev, const char *devspec, const char **path) in hostdisk_parsedev() argument
474 *idev = dev; in hostdisk_parsedev()
/freebsd/stand/common/
H A Ddisk.c413 disk_parsedev(struct devdesc **idev, const char *devspec, const char **path) in disk_parsedev() argument
477 *idev = &dev->dd; in disk_parsedev()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c1095 struct inet6_dev *idev) in mt7921_ipv6_addr_change() argument
1121 read_lock_bh(&idev->lock); in mt7921_ipv6_addr_change()
1122 list_for_each_entry(ifa, &idev->addr_list, if_list) { in mt7921_ipv6_addr_change()
1129 read_unlock_bh(&idev->lock); in mt7921_ipv6_addr_change()
/freebsd/stand/libsa/zfs/
H A Dzfs.c64 static int zfs_parsedev(struct devdesc **idev, const char *devspec,
1612 zfs_parsedev(struct devdesc **idev, const char *devspec, const char **path) in zfs_parsedev() argument
1658 *idev = &dev->dd; in zfs_parsedev()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dd3.c47 struct inet6_dev *idev) in iwl_mvm_ipv6_addr_change() argument
55 read_lock_bh(&idev->lock); in iwl_mvm_ipv6_addr_change()
56 list_for_each_entry(ifa, &idev->addr_list, if_list) { in iwl_mvm_ipv6_addr_change()
64 read_unlock_bh(&idev->lock); in iwl_mvm_ipv6_addr_change()
H A Dmvm.h2295 struct inet6_dev *idev);
/freebsd/sys/dev/mxge/
H A Dif_mxge.c341 uintptr_t bus, slot, func, ivend, idev; in mxge_enable_nvidia_ecrc() local
410 PCI_IVAR_DEVICE, &idev); in mxge_enable_nvidia_ecrc()
430 if (! (vendor_id == ivend && device_id == idev)) { in mxge_enable_nvidia_ecrc()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c8713 struct inet6_dev *idev) in ath11k_mac_op_ipv6_changed() argument
8728 read_lock_bh(&idev->lock); in ath11k_mac_op_ipv6_changed()
8735 list_for_each(p, &idev->addr_list) { in ath11k_mac_op_ipv6_changed()
8758 for (ifaca6 = idev->ac_list; ifaca6; ifaca6 = ifaca6->aca_next) { in ath11k_mac_op_ipv6_changed()
8779 read_unlock_bh(&idev->lock); in ath11k_mac_op_ipv6_changed()