Home
last modified time | relevance | path

Searched defs:ifr (Results 1 – 25 of 166) sorted by relevance

1234567

/Linux-v6.1/net/core/
Ddev_ioctl.c26 static int dev_ifname(struct net *net, struct ifreq *ifr) in dev_ifname()
84 static int dev_getifmap(struct net_device *dev, struct ifreq *ifr) in dev_getifmap()
111 static int dev_setifmap(struct net_device *dev, struct ifreq *ifr) in dev_setifmap()
137 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked()
186 static int net_hwtstamp_validate(struct ifreq *ifr) in net_hwtstamp_validate()
246 struct ifreq *ifr, unsigned int cmd) in dev_eth_ioctl()
266 struct ifreq *ifr, unsigned int cmd) in dev_siocbond()
280 static int dev_siocdevprivate(struct net_device *dev, struct ifreq *ifr, in dev_siocdevprivate()
312 static int dev_ifsioc(struct net *net, struct ifreq *ifr, void __user *data, in dev_ifsioc()
473 int dev_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr, in dev_ioctl()
/Linux-v6.1/tools/testing/selftests/net/
Dtun.c22 struct ifreq ifr; in tun_attach() local
33 struct ifreq ifr; in tun_detach() local
44 struct ifreq ifr; in tun_alloc() local
Dhwtstamp_config.c88 struct ifreq ifr; in main() local
Dudpgso.c279 struct ifreq ifr; in get_device_mtu() local
293 struct ifreq ifr; in __set_device_mtu() local
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c295 static int aq_ndev_hwtstamp_set(struct aq_nic_s *aq_nic, struct ifreq *ifr) in aq_ndev_hwtstamp_set()
318 static int aq_ndev_hwtstamp_get(struct aq_nic_s *aq_nic, struct ifreq *ifr) in aq_ndev_hwtstamp_get()
331 static int aq_ndev_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in aq_ndev_ioctl()
/Linux-v6.1/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.h136 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_set()
142 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_get()
Dhwtstamp.c172 struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_set()
197 struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_get()
/Linux-v6.1/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c113 struct ifreq *ifr) in hellcreek_port_hwtstamp_set()
137 struct ifreq *ifr) in hellcreek_port_hwtstamp_get()
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c186 int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_set()
249 int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_get()
/Linux-v6.1/drivers/net/phy/
Dphy.c311 int phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd) in phy_mii_ioctl()
416 int phy_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in phy_do_ioctl()
435 int phy_do_ioctl_running(struct net_device *dev, struct ifreq *ifr, int cmd) in phy_do_ioctl_running()
/Linux-v6.1/drivers/net/appletalk/
Dcops.c514 struct ifreq ifr; in cops_load() local
930 static int cops_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in cops_ioctl()
Dipddp.c273 static int ipddp_siocdevprivate(struct net_device *dev, struct ifreq *ifr, in ipddp_siocdevprivate()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c215 int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_get_cfg()
370 int hclge_ptp_set_cfg(struct hclge_dev *hdev, struct ifreq *ifr) in hclge_ptp_set_cfg()
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c77 int sparx5_ptp_hwtstamp_set(struct sparx5_port *port, struct ifreq *ifr) in sparx5_ptp_hwtstamp_set()
140 int sparx5_ptp_hwtstamp_get(struct sparx5_port *port, struct ifreq *ifr) in sparx5_ptp_hwtstamp_get()
/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c48 struct ifreq ifr; in get_mac_addr() local
/Linux-v6.1/drivers/net/ethernet/freescale/
Dfec_ptp.c462 int fec_ptp_set(struct net_device *ndev, struct ifreq *ifr) in fec_ptp_set()
497 int fec_ptp_get(struct net_device *ndev, struct ifreq *ifr) in fec_ptp_get()
/Linux-v6.1/drivers/net/ethernet/ti/
Dcpsw_priv.c616 static int cpsw_hwtstamp_set(struct net_device *dev, struct ifreq *ifr) in cpsw_hwtstamp_set()
676 static int cpsw_hwtstamp_get(struct net_device *dev, struct ifreq *ifr) in cpsw_hwtstamp_get()
694 static int cpsw_hwtstamp_get(struct net_device *dev, struct ifreq *ifr) in cpsw_hwtstamp_get()
699 static int cpsw_hwtstamp_set(struct net_device *dev, struct ifreq *ifr) in cpsw_hwtstamp_set()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c428 struct ifreq ifr = { in create_tap() local
459 struct ifreq ifr = {}; in ifup() local
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot_ptp.c477 int ocelot_hwstamp_get(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_get()
484 int ocelot_hwstamp_set(struct ocelot *ocelot, int port, struct ifreq *ifr) in ocelot_hwstamp_set()
/Linux-v6.1/drivers/net/ethernet/engleder/
Dtsnep_ptp.c22 int tsnep_ptp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in tsnep_ptp_ioctl()
/Linux-v6.1/arch/um/os-Linux/drivers/
Dtuntap_user.c130 struct ifreq ifr; in tuntap_open() local
/Linux-v6.1/drivers/net/ethernet/atheros/atlx/
Datlx.c42 static int atlx_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in atlx_ioctl()
/Linux-v6.1/arch/um/drivers/
Dvector_user.c133 struct ifreq ifr; in create_tap_fd() local
163 struct ifreq ifr; in create_raw_fd() local
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c38 int lan966x_ptp_hwtstamp_set(struct lan966x_port *port, struct ifreq *ifr) in lan966x_ptp_hwtstamp_set()
100 int lan966x_ptp_hwtstamp_get(struct lan966x_port *port, struct ifreq *ifr) in lan966x_ptp_hwtstamp_get()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_ptp.h261 static inline int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
266 static inline int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()

1234567