Home
last modified time | relevance | path

Searched refs:loop_mode (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/atm/
Didt77105.c38 int loop_mode; member
184 PRIV(dev)->loop_mode = mode; in set_loopback()
201 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in idt77105_ioctl()
285 PRIV(dev)->loop_mode = ATM_LM_NONE; in idt77105_start()
288 PRIV(dev)->loop_mode = ATM_LM_LOC_ATM; in idt77105_start()
291 PRIV(dev)->loop_mode = ATM_LM_RMT_ATM; in idt77105_start()
DuPD98402.c30 int loop_mode; /* loopback mode */ member
131 PRIV(dev)->loop_mode = mode; in set_loopback()
153 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in uPD98402_ioctl()
Dsuni.c182 PRIV(dev)->loop_mode = mode; in set_loopback()
281 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl()
325 PRIV(dev)->loop_mode = ATM_LM_NONE; in suni_start()
Dsuni.h233 int loop_mode; /* loopback mode */ member
Dfore200e.c1805 fore200e_setloop(struct fore200e* fore200e, int loop_mode) in fore200e_setloop() argument
1813 switch (loop_mode) { in fore200e_setloop()
1834 fore200e->loop_mode = loop_mode; in fore200e_setloop()
1888 return put_user(fore200e->loop_mode, (int __user *)arg) ? -EFAULT : 0; in fore200e_ioctl()
2811 switch (fore200e->loop_mode) { in fore200e_proc_read()
Dfore200e.h858 int loop_mode; /* S/UNI loopback mode */ member
/Linux-v5.4/drivers/spi/
Dspi-fsl-espi.c479 u32 loop_mode; in fsl_espi_setup() local
506 loop_mode = fsl_espi_read_reg(espi, ESPI_SPMODE); in fsl_espi_setup()
507 loop_mode &= ~SPMODE_LOOP; in fsl_espi_setup()
509 loop_mode |= SPMODE_LOOP; in fsl_espi_setup()
510 fsl_espi_write_reg(espi, ESPI_SPMODE, loop_mode); in fsl_espi_setup()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.h200 enum hnae_loop loop_mode; member
334 enum hnae_loop loop_mode; member
361 int (*config_loopback)(void *mac_drv, enum hnae_loop loop_mode,
Dhns_ethtool.c336 enum hnae_loop loop_mode) in __lb_up() argument
346 ret = __lb_setup(ndev, loop_mode); in __lb_up()
470 enum hnae_loop loop_mode) in __lb_run_test() argument
518 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
532 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
Dhns_dsaf_gmac.c486 static int hns_gmac_config_loopback(void *mac_drv, enum hnae_loop loop_mode, in hns_gmac_config_loopback() argument
491 switch (loop_mode) { in hns_gmac_config_loopback()
Dhnae.h485 enum hnae_loop loop_mode, int en);
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c110 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up() argument
119 ret = hns3_lp_setup(ndev, loop_mode, true); in hns3_lp_up()
125 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down() argument
129 ret = hns3_lp_setup(ndev, loop_mode, false); in hns3_lp_down()
Dhnae3.h398 enum hnae3_loop loop_mode, bool en);
/Linux-v5.4/drivers/net/fddi/
Ddefza.h488 u32 loop_mode; /* loopback mode */ member
Ddefza.c335 writel_u(loopback, &buf->param.loop_mode); in fza_cmd_send()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6388 enum hnae3_loop loop_mode) in hclge_cfg_serdes_loopback() argument
6401 switch (loop_mode) { in hclge_cfg_serdes_loopback()
6410 "unsupported serdes loopback mode %d\n", loop_mode); in hclge_cfg_serdes_loopback()
6452 enum hnae3_loop loop_mode) in hclge_set_serdes_loopback() argument
6456 ret = hclge_cfg_serdes_loopback(hdev, en, loop_mode); in hclge_set_serdes_loopback()
6550 enum hnae3_loop loop_mode, bool en) in hclge_set_loopback() argument
6571 switch (loop_mode) { in hclge_set_loopback()
6577 ret = hclge_set_serdes_loopback(hdev, en, loop_mode); in hclge_set_loopback()
6585 "loop_mode %d is not supported\n", loop_mode); in hclge_set_loopback()