Searched refs:drv (Results 1 – 8 of 8) sorted by relevance
/net/wireless/ |
D | core.c | 42 struct cfg80211_registered_device *result = NULL, *drv; in cfg80211_drv_by_wiphy() local 44 list_for_each_entry(drv, &cfg80211_drv_list, list) { in cfg80211_drv_by_wiphy() 45 if (drv->idx == wiphy) { in cfg80211_drv_by_wiphy() 46 result = drv; in cfg80211_drv_by_wiphy() 99 struct cfg80211_registered_device *drv; in cfg80211_get_dev_from_info() local 102 drv = __cfg80211_drv_from_info(info); in cfg80211_get_dev_from_info() 107 if (!IS_ERR(drv)) in cfg80211_get_dev_from_info() 108 mutex_lock(&drv->mtx); in cfg80211_get_dev_from_info() 112 return drv; in cfg80211_get_dev_from_info() 118 struct cfg80211_registered_device *drv = ERR_PTR(-ENODEV); in cfg80211_get_dev_from_ifindex() local [all …]
|
D | nl80211.c | 34 struct cfg80211_registered_device **drv, in get_drv_dev_by_info_ifindex() argument 47 *drv = cfg80211_get_dev_from_ifindex(ifindex); in get_drv_dev_by_info_ifindex() 48 if (IS_ERR(*drv)) { in get_drv_dev_by_info_ifindex() 50 return PTR_ERR(*drv); in get_drv_dev_by_info_ifindex() 561 struct cfg80211_registered_device *drv; in nl80211_set_interface() local 570 err = get_drv_dev_by_info_ifindex(info->attrs, &drv, &dev); in nl80211_set_interface() 584 if (!drv->ops->change_virtual_intf || in nl80211_set_interface() 585 !(drv->wiphy.interface_modes & (1 << type))) { in nl80211_set_interface() 610 err = drv->ops->change_virtual_intf(&drv->wiphy, ifindex, in nl80211_set_interface() 619 cfg80211_put_dev(drv); in nl80211_set_interface() [all …]
|
D | core.h | 86 extern void cfg80211_put_dev(struct cfg80211_registered_device *drv); 89 extern void cfg80211_dev_free(struct cfg80211_registered_device *drv); 91 extern int cfg80211_dev_rename(struct cfg80211_registered_device *drv,
|
D | reg.c | 946 struct cfg80211_registered_device *drv; in update_all_wiphy_regulatory() local 948 list_for_each_entry(drv, &cfg80211_drv_list, list) in update_all_wiphy_regulatory() 949 if (!ignore_reg_update(&drv->wiphy, setby)) in update_all_wiphy_regulatory() 950 wiphy_update_regulatory(&drv->wiphy, setby); in update_all_wiphy_regulatory() 1236 struct cfg80211_registered_device *drv; in print_regdomain() local 1241 drv = wiphy_to_dev(wiphy); in print_regdomain() 1244 drv->country_ie_alpha2[0], in print_regdomain() 1245 drv->country_ie_alpha2[1]); in print_regdomain() 1306 struct cfg80211_registered_device *drv = NULL; in __set_regdom() local 1404 drv = wiphy_to_dev(wiphy); in __set_regdom() [all …]
|
/net/dsa/ |
D | dsa.c | 24 void register_switch_driver(struct dsa_switch_driver *drv) in register_switch_driver() argument 27 list_add_tail(&drv->list, &dsa_switch_drivers); in register_switch_driver() 31 void unregister_switch_driver(struct dsa_switch_driver *drv) in unregister_switch_driver() argument 34 list_del_init(&drv->list); in unregister_switch_driver() 50 struct dsa_switch_driver *drv; in dsa_switch_probe() local 52 drv = list_entry(list, struct dsa_switch_driver, list); in dsa_switch_probe() 54 name = drv->probe(bus, sw_addr); in dsa_switch_probe() 56 ret = drv; in dsa_switch_probe() 75 struct dsa_switch_driver *drv; in dsa_switch_setup() local 82 drv = dsa_switch_probe(bus, pd->sw_addr, &name); in dsa_switch_setup() [all …]
|
D | slave.c | 23 return ds->drv->phy_read(ds, addr, reg); in dsa_slave_phy_read() 33 return ds->drv->phy_write(ds, addr, reg, val); in dsa_slave_phy_write() 239 if (ds->drv->get_strings != NULL) in dsa_slave_get_strings() 240 ds->drv->get_strings(ds, p->port, data + 4 * len); in dsa_slave_get_strings() 255 if (ds->drv->get_ethtool_stats != NULL) in dsa_slave_get_ethtool_stats() 256 ds->drv->get_ethtool_stats(ds, p->port, data + 4); in dsa_slave_get_ethtool_stats() 268 if (ds->drv->get_sset_count != NULL) in dsa_slave_get_sset_count() 269 count += ds->drv->get_sset_count(ds); in dsa_slave_get_sset_count()
|
D | dsa_priv.h | 36 struct dsa_switch_driver *drv; member
|
/net/iucv/ |
D | iucv.c | 73 static int iucv_bus_match(struct device *dev, struct device_driver *drv) in iucv_bus_match() argument
|