/Linux-v5.4/drivers/atm/ |
D | idt77105.c | 38 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()
|
D | uPD98402.c | 30 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()
|
D | suni.c | 182 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()
|
D | suni.h | 233 int loop_mode; /* loopback mode */ member
|
D | fore200e.c | 1805 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()
|
D | fore200e.h | 858 int loop_mode; /* S/UNI loopback mode */ member
|
/Linux-v5.4/drivers/spi/ |
D | spi-fsl-espi.c | 479 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/ |
D | hns_dsaf_mac.h | 200 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,
|
D | hns_ethtool.c | 336 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()
|
D | hns_dsaf_gmac.c | 486 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()
|
D | hnae.h | 485 enum hnae_loop loop_mode, int en);
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 110 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()
|
D | hnae3.h | 398 enum hnae3_loop loop_mode, bool en);
|
/Linux-v5.4/drivers/net/fddi/ |
D | defza.h | 488 u32 loop_mode; /* loopback mode */ member
|
D | defza.c | 335 writel_u(loopback, &buf->param.loop_mode); in fza_cmd_send()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 6388 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()
|