Home
last modified time | relevance | path

Searched refs:ifreq (Results 1 – 25 of 236) sorted by relevance

12345678910

/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.h114 struct ifreq *ifr);
116 struct ifreq *ifr);
136 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_set()
142 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_get()
/drivers/net/ethernet/intel/ice/
Dice_ptp.h169 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr);
170 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr);
182 static inline int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
187 static inline int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.h41 struct ifreq *ifr);
43 struct ifreq *ifr);
Dhellcreek_hwtstamp.c117 struct ifreq *ifr) in hellcreek_port_hwtstamp_set()
141 struct ifreq *ifr) in hellcreek_port_hwtstamp_get()
/drivers/net/ethernet/sfc/
Dptp.h21 int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr);
22 int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
/drivers/net/ethernet/pensando/ionic/
Dionic_lif.h310 int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr);
311 int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr);
321 static inline int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_set()
326 static inline int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_get()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.h133 int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr);
134 int hclge_ptp_set_cfg(struct hclge_dev *hdev, struct ifreq *ifr);
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.h133 int bnxt_hwtstamp_set(struct net_device *dev, struct ifreq *ifr);
134 int bnxt_hwtstamp_get(struct net_device *dev, struct ifreq *ifr);
/drivers/net/wireless/intersil/hostap/
Dhostap.h95 int hostap_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
96 int hostap_siocdevprivate(struct net_device *dev, struct ifreq *ifr,
/drivers/net/dsa/sja1105/
Dsja1105_ptp.h96 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr);
98 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
/drivers/net/ethernet/aquantia/atlantic/
Daq_main.c264 static int aq_ndev_hwtstamp_set(struct aq_nic_s *aq_nic, struct ifreq *ifr) in aq_ndev_hwtstamp_set()
287 static int aq_ndev_hwtstamp_get(struct aq_nic_s *aq_nic, struct ifreq *ifr) in aq_ndev_hwtstamp_get()
300 static int aq_ndev_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in aq_ndev_ioctl()
/drivers/staging/octeon/
Dethernet-mdio.h25 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/drivers/staging/rtl8712/
Dosdep_intf.h30 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.h17 int qede_ptp_hw_ts(struct qede_dev *edev, struct ifreq *req);
/drivers/net/appletalk/
Dipddp.c57 static int ipddp_siocdevprivate(struct net_device *dev, struct ifreq *ifr,
272 static int ipddp_siocdevprivate(struct net_device *dev, struct ifreq *ifr, in ipddp_siocdevprivate()
Dcops.c199 static int cops_ioctl (struct net_device *dev, struct ifreq *rq, int cmd);
514 struct ifreq ifr; in cops_load()
930 static int cops_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in cops_ioctl()
/drivers/media/dvb-frontends/
Dsp887x.c313 int ifreq = 36000000; in sp887x_correct_offsets() local
331 freq = ifreq - freq_offset; in sp887x_correct_offsets()
333 freq = ifreq + freq_offset; in sp887x_correct_offsets()
/drivers/staging/rtl8723bs/include/
Dosdep_intf.h50 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
/drivers/net/ethernet/microchip/
Dlan743x_ptp.h51 int lan743x_ptp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd);
/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib_vlan.c143 static int mlx5i_pkey_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
180 static int mlx5i_pkey_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in mlx5i_pkey_ioctl()
Dipoib.h87 int mlx5i_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1512 struct ifreq *ifreq) in xgbe_get_hwtstamp_settings() argument
1514 if (copy_to_user(ifreq->ifr_data, &pdata->tstamp_config, in xgbe_get_hwtstamp_settings()
1522 struct ifreq *ifreq) in xgbe_set_hwtstamp_settings() argument
1527 if (copy_from_user(&config, ifreq->ifr_data, sizeof(config))) in xgbe_set_hwtstamp_settings()
2047 static int xgbe_ioctl(struct net_device *netdev, struct ifreq *ifreq, int cmd) in xgbe_ioctl() argument
2054 ret = xgbe_get_hwtstamp_settings(pdata, ifreq); in xgbe_ioctl()
2058 ret = xgbe_set_hwtstamp_settings(pdata, ifreq); in xgbe_ioctl()
/drivers/net/ethernet/cadence/
Dmacb.h1155 struct ifreq *ifr);
1157 struct ifreq *ifr, int cmd);
1347 int gem_get_hwtst(struct net_device *dev, struct ifreq *rq);
1348 int gem_set_hwtst(struct net_device *dev, struct ifreq *ifr, int cmd);
/drivers/net/ethernet/freescale/
Dfec.h644 int fec_ptp_set(struct net_device *ndev, struct ifreq *ifr);
645 int fec_ptp_get(struct net_device *ndev, struct ifreq *ifr);
/drivers/net/phy/
Dnxp-c45-tja11xx.c513 struct ifreq *ifreq) in nxp_c45_hwtstamp() argument
520 if (copy_from_user(&cfg, ifreq->ifr_data, sizeof(cfg))) in nxp_c45_hwtstamp()
566 return copy_to_user(ifreq->ifr_data, &cfg, sizeof(cfg)) ? -EFAULT : 0; in nxp_c45_hwtstamp()

12345678910