interface 33 arch/arm/mach-imx/mach-imx6ul.c if (dev && dev->interface == PHY_INTERFACE_MODE_MII) { interface 36 arch/arm/mach-imx/mach-imx6ul.c } else if (dev && dev->interface == PHY_INTERFACE_MODE_RMII) { interface 239 arch/mips/cavium-octeon/executive/cvmx-helper-board.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 242 arch/mips/cavium-octeon/executive/cvmx-helper-board.c cvmx_read_csr(CVMX_GMXX_RXX_RX_INBND(index, interface)); interface 298 arch/mips/cavium-octeon/executive/cvmx-helper-board.c int __cvmx_helper_board_interface_probe(int interface, int supported_ports) interface 302 arch/mips/cavium-octeon/executive/cvmx-helper-board.c if (interface == 0) interface 306 arch/mips/cavium-octeon/executive/cvmx-helper-board.c if (interface == 0) interface 310 arch/mips/cavium-octeon/executive/cvmx-helper-board.c if (interface == 0) interface 316 arch/mips/cavium-octeon/executive/cvmx-helper-board.c if (interface == 1) interface 48 arch/mips/cavium-octeon/executive/cvmx-helper-loop.c int __cvmx_helper_loop_probe(int interface) interface 58 arch/mips/cavium-octeon/executive/cvmx-helper-loop.c int ipd_port = cvmx_helper_get_ipd_port(interface, port); interface 81 arch/mips/cavium-octeon/executive/cvmx-helper-loop.c int __cvmx_helper_loop_enable(int interface) interface 49 arch/mips/cavium-octeon/executive/cvmx-helper-npi.c int __cvmx_helper_npi_probe(int interface) interface 87 arch/mips/cavium-octeon/executive/cvmx-helper-npi.c int __cvmx_helper_npi_enable(int interface) interface 96 arch/mips/cavium-octeon/executive/cvmx-helper-npi.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 101 arch/mips/cavium-octeon/executive/cvmx-helper-npi.c cvmx_helper_get_ipd_port(interface, port); interface 52 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int __cvmx_helper_rgmii_probe(int interface) interface 56 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 100 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int interface = (port >> 4) & 1; interface 109 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); interface 110 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); interface 111 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); interface 112 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); interface 113 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); interface 114 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); interface 115 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_TX_PRT_EN(interface)); interface 116 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), (1 << index) | tmp); interface 117 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_RX_PRT_EN(interface)); interface 118 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), (1 << index) | tmp); interface 120 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); interface 133 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c static int __cvmx_helper_errata_asx_pass1(int interface, int port, interface 138 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 12); interface 140 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 11); interface 142 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 10); interface 144 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_HI_WATERX(port, interface), 9); interface 159 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int __cvmx_helper_rgmii_enable(int interface) interface 161 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 168 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 180 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), asx_tx.u64); interface 184 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), asx_rx.u64); interface 192 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c __cvmx_helper_errata_asx_pass1(interface, port, interface 204 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c (port, interface)); interface 207 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(port, interface), interface 218 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_PAUSE_PKT_TIME(port, interface), interface 221 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c (port, interface), 19000); interface 224 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface), interface 226 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface), interface 229 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(port, interface), interface 231 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(port, interface), interface 236 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c __cvmx_helper_setup_gmx(interface, num_ports); interface 243 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(port, interface)); interface 245 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(port, interface), interface 248 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c __cvmx_interrupt_asxx_enable(interface); interface 249 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c __cvmx_interrupt_gmxx_enable(interface); interface 266 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 270 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c asxx_prt_loop.u64 = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); interface 298 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 314 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 318 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), interface 319 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_ASXX_RX_PRT_EN(interface)) & interface 336 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c gmx_tx_ovr_bp.u64 = cvmx_read_csr(CVMX_GMXX_TX_OVR_BP(interface)); interface 340 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TX_OVR_BP(interface), gmx_tx_ovr_bp.u64); interface 341 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_TX_OVR_BP(interface)); interface 351 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c interface * 0x800 + index * 0x100 + 0x880); interface 359 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); interface 360 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 386 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 50); interface 387 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); interface 388 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); interface 390 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 5); interface 391 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); interface 392 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); interface 394 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); interface 395 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); interface 396 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); interface 402 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 419 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c (index, interface), 1); interface 425 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 428 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); interface 431 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), interface 432 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_ASXX_RX_PRT_EN(interface)) | (1 << interface 444 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TX_OVR_BP(interface), gmx_tx_ovr_bp_save.u64); interface 448 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); interface 52 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) interface 60 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 62 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); interface 70 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); interface 72 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); interface 82 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), interface 98 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); interface 103 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), interface 108 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); interface 114 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); interface 119 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface), interface 137 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init_link(int interface, int index) interface 150 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface)); interface 153 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface), interface 156 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (CVMX_PCSX_MRX_CONTROL_REG(index, interface), interface 160 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c interface, index); interface 172 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface), interface 182 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c CVMX_WAIT_FOR_FIELD64(CVMX_PCSX_MRX_STATUS_REG(index, interface), interface 201 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init_link_speed(int interface, interface 211 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 214 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); interface 218 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (CVMX_GMXX_PRTX_CFG(index, interface), union cvmx_gmxx_prtx_cfg, interface 220 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c || CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), interface 225 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c interface, index); interface 230 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 237 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); interface 257 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 64); interface 258 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); interface 265 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 64); interface 266 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); interface 273 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 512); interface 274 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 8192); interface 281 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface), interface 285 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); interface 288 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 292 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); interface 307 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init(int interface, int num_ports) interface 311 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_setup_gmx(interface, num_ports); interface 314 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int ipd_port = cvmx_helper_get_ipd_port(interface, index); interface 315 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_sgmii_hardware_init_one_time(interface, index); interface 329 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int __cvmx_helper_sgmii_enumerate(int interface) interface 342 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int __cvmx_helper_sgmii_probe(int interface) interface 351 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 353 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); interface 354 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c return __cvmx_helper_sgmii_enumerate(interface); interface 366 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int __cvmx_helper_sgmii_enable(int interface) interface 368 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 371 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_sgmii_hardware_init(interface, num_ports); interface 376 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 378 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), interface 380 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_interrupt_pcsx_intx_en_reg_enable(index, interface); interface 382 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_interrupt_pcsxx_int_en_reg_enable(interface); interface 383 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_interrupt_gmxx_enable(interface); interface 401 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 416 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface)); interface 426 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); interface 433 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); interface 445 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); interface 448 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (interface, index) != 0) interface 455 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); interface 510 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 512 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_sgmii_hardware_init_link(interface, index); interface 513 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c return __cvmx_helper_sgmii_hardware_init_link_speed(interface, index, interface 52 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int __cvmx_helper_spi_enumerate(int interface) interface 55 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi4000_is_present(interface)) { interface 71 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int __cvmx_helper_spi_probe(int interface) interface 76 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi4000_is_present(interface)) { interface 88 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c enable.s.enable |= 0xffff << (interface * 16); interface 91 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c __cvmx_helper_setup_gmx(interface, num_ports); interface 104 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int __cvmx_helper_spi_enable(int interface) interface 111 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 113 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports; interface 122 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi_start_interface(interface, CVMX_SPI_MODE_DUPLEX, interface 124 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c if (cvmx_spi4000_is_present(interface)) interface 125 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi4000_initialize(interface); interface 127 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c __cvmx_interrupt_spxx_int_msk_enable(interface); interface 128 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c __cvmx_interrupt_stxx_int_msk_enable(interface); interface 129 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c __cvmx_interrupt_gmxx_enable(interface); interface 146 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 155 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c } else if (cvmx_spi4000_is_present(interface)) { interface 157 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi4000_check_speed(interface, index); interface 137 arch/mips/cavium-octeon/executive/cvmx-helper-util.c int interface; interface 144 arch/mips/cavium-octeon/executive/cvmx-helper-util.c for (interface = 0; interface < 2; interface++) { interface 145 arch/mips/cavium-octeon/executive/cvmx-helper-util.c for (port = cvmx_helper_get_first_ipd_port(interface); interface 146 arch/mips/cavium-octeon/executive/cvmx-helper-util.c port < cvmx_helper_get_last_ipd_port(interface); port++) interface 180 arch/mips/cavium-octeon/executive/cvmx-helper-util.c int __cvmx_helper_setup_gmx(int interface, int num_ports) interface 189 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_prts.u64 = cvmx_read_csr(CVMX_GMXX_TX_PRTS(interface)); interface 191 arch/mips/cavium-octeon/executive/cvmx-helper-util.c cvmx_write_csr(CVMX_GMXX_TX_PRTS(interface), gmx_tx_prts.u64); interface 195 arch/mips/cavium-octeon/executive/cvmx-helper-util.c if (cvmx_helper_interface_get_mode(interface) == interface 197 arch/mips/cavium-octeon/executive/cvmx-helper-util.c || cvmx_helper_interface_get_mode(interface) == interface 199 arch/mips/cavium-octeon/executive/cvmx-helper-util.c || cvmx_helper_interface_get_mode(interface) == interface 201 arch/mips/cavium-octeon/executive/cvmx-helper-util.c || cvmx_helper_interface_get_mode(interface) == interface 209 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_rx_prts.u64 = cvmx_read_csr(CVMX_GMXX_RX_PRTS(interface)); interface 211 arch/mips/cavium-octeon/executive/cvmx-helper-util.c cvmx_write_csr(CVMX_GMXX_RX_PRTS(interface), gmx_rx_prts.u64); interface 219 arch/mips/cavium-octeon/executive/cvmx-helper-util.c if (interface == 0) { interface 252 arch/mips/cavium-octeon/executive/cvmx-helper-util.c gmx_tx_thresh.u64 = cvmx_read_csr(CVMX_GMXX_TXX_THRESH(0, interface)); interface 273 arch/mips/cavium-octeon/executive/cvmx-helper-util.c cvmx_write_csr(CVMX_GMXX_TXX_THRESH(index, interface), interface 288 arch/mips/cavium-octeon/executive/cvmx-helper-util.c int cvmx_helper_get_ipd_port(int interface, int port) interface 290 arch/mips/cavium-octeon/executive/cvmx-helper-util.c switch (interface) { interface 45 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c int __cvmx_helper_xaui_enumerate(int interface) interface 50 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_hg2_control.u64 = cvmx_read_csr(CVMX_GMXX_HG2_CONTROL(interface)); interface 66 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c int __cvmx_helper_xaui_probe(int interface) interface 76 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 78 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); interface 80 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_helper_setup_gmx(interface, 1); interface 98 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c pko_mem_port_ptrs.s.eid = interface * 4; interface 99 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c pko_mem_port_ptrs.s.pid = interface * 16 + i; interface 102 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c return __cvmx_helper_xaui_enumerate(interface); interface 114 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c int __cvmx_helper_xaui_enable(int interface) interface 126 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); interface 127 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_cfg.s.pknd = cvmx_helper_get_ipd_port(interface, 0); interface 128 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); interface 134 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c xauiMiscCtl.u64 = cvmx_read_csr(CVMX_PCSXX_MISC_CTL_REG(interface)); interface 136 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_MISC_CTL_REG(interface), xauiMiscCtl.u64); interface 139 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_rx_int_en.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_EN(0, interface)); interface 140 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_RXX_INT_EN(0, interface), 0x0); interface 141 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_tx_int_en.u64 = cvmx_read_csr(CVMX_GMXX_TX_INT_EN(interface)); interface 142 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_INT_EN(interface), 0x0); interface 143 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c pcsx_int_en_reg.u64 = cvmx_read_csr(CVMX_PCSXX_INT_EN_REG(interface)); interface 144 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_INT_EN_REG(interface), 0x0); interface 149 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmxXauiTxCtl.u64 = cvmx_read_csr(CVMX_GMXX_TX_XAUI_CTL(interface)); interface 153 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_XAUI_CTL(interface), gmxXauiTxCtl.u64); interface 156 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c xauiCtl.u64 = cvmx_read_csr(CVMX_PCSXX_CONTROL1_REG(interface)); interface 164 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_CONTROL1_REG(interface), xauiCtl.u64); interface 168 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_PCSXX_CONTROL1_REG(interface), union cvmx_pcsxx_control1_reg, interface 173 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_PCSXX_10GBX_STATUS_REG(interface), interface 178 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_GMXX_RX_XAUI_CTL(interface), union cvmx_gmxx_rx_xaui_ctl, interface 183 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); interface 185 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); interface 189 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_GMXX_PRTX_CFG(0, interface), union cvmx_gmxx_prtx_cfg, interface 194 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_GMXX_PRTX_CFG(0, interface), union cvmx_gmxx_prtx_cfg, interface 199 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); interface 203 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_PRTS(interface), 1); interface 204 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(0, interface), 512); interface 205 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(0, interface), 8192); interface 206 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); interface 209 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(0, interface), interface 210 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(0, interface))); interface 211 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_INT_REG(interface), interface 212 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_read_csr(CVMX_GMXX_TX_INT_REG(interface))); interface 213 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_INT_REG(interface), interface 214 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_read_csr(CVMX_PCSXX_INT_REG(interface))); interface 218 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_PCSXX_STATUS1_REG(interface), union cvmx_pcsxx_status1_reg, interface 222 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_PCSXX_STATUS2_REG(interface), union cvmx_pcsxx_status2_reg, interface 226 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c (CVMX_PCSXX_STATUS2_REG(interface), union cvmx_pcsxx_status2_reg, interface 230 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_RXX_INT_EN(0, interface), gmx_rx_int_en.u64); interface 231 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_INT_EN(interface), gmx_tx_int_en.u64); interface 232 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_INT_EN_REG(interface), pcsx_int_en_reg.u64); interface 236 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_MISC_CTL_REG(interface), xauiMiscCtl.u64); interface 238 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(0, interface)); interface 240 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(0, interface), gmx_cfg.u64); interface 242 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_pcsx_intx_en_reg_enable(0, interface); interface 243 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_pcsx_intx_en_reg_enable(1, interface); interface 244 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_pcsx_intx_en_reg_enable(2, interface); interface 245 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_pcsx_intx_en_reg_enable(3, interface); interface 246 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_pcsxx_int_en_reg_enable(interface); interface 247 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c __cvmx_interrupt_gmxx_enable(interface); interface 264 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 270 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmxx_tx_xaui_ctl.u64 = cvmx_read_csr(CVMX_GMXX_TX_XAUI_CTL(interface)); interface 271 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmxx_rx_xaui_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RX_XAUI_CTL(interface)); interface 273 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_read_csr(CVMX_PCSXX_STATUS1_REG(interface)); interface 284 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_RXX_INT_EN(0, interface), 0x0); interface 285 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_GMXX_TX_INT_EN(interface), 0x0); interface 286 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c cvmx_write_csr(CVMX_PCSXX_INT_EN_REG(interface), 0x0); interface 304 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 308 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmxx_tx_xaui_ctl.u64 = cvmx_read_csr(CVMX_GMXX_TX_XAUI_CTL(interface)); interface 309 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c gmxx_rx_xaui_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RX_XAUI_CTL(interface)); interface 320 arch/mips/cavium-octeon/executive/cvmx-helper-xaui.c return __cvmx_helper_xaui_enable(interface); interface 82 arch/mips/cavium-octeon/executive/cvmx-helper.c int cvmx_helper_ports_on_interface(int interface) interface 84 arch/mips/cavium-octeon/executive/cvmx-helper.c return interface_port_count[interface]; interface 92 arch/mips/cavium-octeon/executive/cvmx-helper.c static cvmx_helper_interface_mode_t __cvmx_get_mode_cn68xx(int interface) interface 95 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (interface) { interface 111 arch/mips/cavium-octeon/executive/cvmx-helper.c qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(interface)); interface 144 arch/mips/cavium-octeon/executive/cvmx-helper.c static cvmx_helper_interface_mode_t __cvmx_get_mode_octeon2(int interface) interface 149 arch/mips/cavium-octeon/executive/cvmx-helper.c return __cvmx_get_mode_cn68xx(interface); interface 151 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 2) interface 154 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 3) interface 159 arch/mips/cavium-octeon/executive/cvmx-helper.c (interface == 4 || interface == 5)) || interface 161 arch/mips/cavium-octeon/executive/cvmx-helper.c interface >= 4 && interface <= 7)) { interface 169 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 0) interface 171 arch/mips/cavium-octeon/executive/cvmx-helper.c else if (interface == 1) interface 188 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 0) { interface 196 arch/mips/cavium-octeon/executive/cvmx-helper.c } else if (interface == 1) { interface 206 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 0) { interface 215 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 1 && OCTEON_IS_MODEL(OCTEON_CN63XX)) interface 218 arch/mips/cavium-octeon/executive/cvmx-helper.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 244 arch/mips/cavium-octeon/executive/cvmx-helper.c static cvmx_helper_interface_mode_t __cvmx_get_mode_cn7xxx(int interface) interface 248 arch/mips/cavium-octeon/executive/cvmx-helper.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 250 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (interface) { interface 286 arch/mips/cavium-octeon/executive/cvmx-helper.c cvmx_helper_interface_mode_t cvmx_helper_interface_get_mode(int interface) interface 290 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface < 0 || interface 291 arch/mips/cavium-octeon/executive/cvmx-helper.c interface >= cvmx_helper_get_number_of_interfaces()) interface 298 arch/mips/cavium-octeon/executive/cvmx-helper.c return __cvmx_get_mode_cn7xxx(interface); interface 304 arch/mips/cavium-octeon/executive/cvmx-helper.c return __cvmx_get_mode_octeon2(interface); interface 309 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 2) interface 312 arch/mips/cavium-octeon/executive/cvmx-helper.c if (interface == 3) { interface 321 arch/mips/cavium-octeon/executive/cvmx-helper.c if ((interface == 1) interface 327 arch/mips/cavium-octeon/executive/cvmx-helper.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 416 arch/mips/cavium-octeon/executive/cvmx-helper.c int cvmx_helper_interface_enumerate(int interface) interface 418 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 422 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = 0; interface 426 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 427 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_xaui_enumerate(interface); interface 435 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 436 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_rgmii_enumerate(interface); interface 443 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 444 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_spi_enumerate(interface); interface 452 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 453 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_sgmii_enumerate(interface); interface 457 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 458 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_npi_enumerate(interface); interface 465 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 466 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_loop_enumerate(interface); interface 470 arch/mips/cavium-octeon/executive/cvmx-helper.c interface_port_count[interface] = interface 471 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_board_interface_probe(interface, interface 473 arch/mips/cavium-octeon/executive/cvmx-helper.c [interface]); interface 492 arch/mips/cavium-octeon/executive/cvmx-helper.c int cvmx_helper_interface_probe(int interface) interface 494 arch/mips/cavium-octeon/executive/cvmx-helper.c cvmx_helper_interface_enumerate(interface); interface 498 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 505 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_xaui_probe(interface); interface 513 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_rgmii_probe(interface); interface 520 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_spi_probe(interface); interface 528 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_sgmii_probe(interface); interface 532 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_npi_probe(interface); interface 539 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_loop_probe(interface); interface 559 arch/mips/cavium-octeon/executive/cvmx-helper.c static int __cvmx_helper_interface_setup_ipd(int interface) interface 561 arch/mips/cavium-octeon/executive/cvmx-helper.c int ipd_port = cvmx_helper_get_ipd_port(interface, 0); interface 562 arch/mips/cavium-octeon/executive/cvmx-helper.c int num_ports = interface_port_count[interface]; interface 602 arch/mips/cavium-octeon/executive/cvmx-helper.c static int __cvmx_helper_interface_setup_pko(int interface) interface 624 arch/mips/cavium-octeon/executive/cvmx-helper.c int ipd_port = cvmx_helper_get_ipd_port(interface, 0); interface 625 arch/mips/cavium-octeon/executive/cvmx-helper.c int num_ports = interface_port_count[interface]; interface 683 arch/mips/cavium-octeon/executive/cvmx-helper.c int interface; interface 684 arch/mips/cavium-octeon/executive/cvmx-helper.c for (interface = 0; interface < num_interfaces; interface++) { interface 685 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 697 arch/mips/cavium-octeon/executive/cvmx-helper.c cvmx_gmx_set_backpressure_override(interface, 0xf); interface 717 arch/mips/cavium-octeon/executive/cvmx-helper.c static int __cvmx_helper_packet_hardware_enable(int interface) interface 720 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 728 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_xaui_enable(interface); interface 736 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_rgmii_enable(interface); interface 743 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_spi_enable(interface); interface 751 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_sgmii_enable(interface); interface 755 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_npi_enable(interface); interface 762 arch/mips/cavium-octeon/executive/cvmx-helper.c result = __cvmx_helper_loop_enable(interface); interface 971 arch/mips/cavium-octeon/executive/cvmx-helper.c int interface; interface 982 arch/mips/cavium-octeon/executive/cvmx-helper.c for (interface = 0; interface < num_interfaces; interface++) { interface 983 arch/mips/cavium-octeon/executive/cvmx-helper.c if (cvmx_helper_ports_on_interface(interface) > 0) interface 984 arch/mips/cavium-octeon/executive/cvmx-helper.c __cvmx_helper_packet_hardware_enable(interface); interface 1010 arch/mips/cavium-octeon/executive/cvmx-helper.c int interface; interface 1032 arch/mips/cavium-octeon/executive/cvmx-helper.c for (interface = 0; interface < num_interfaces; interface++) { interface 1033 arch/mips/cavium-octeon/executive/cvmx-helper.c result |= cvmx_helper_interface_probe(interface); interface 1034 arch/mips/cavium-octeon/executive/cvmx-helper.c if (cvmx_helper_ports_on_interface(interface) > 0) interface 1036 arch/mips/cavium-octeon/executive/cvmx-helper.c interface, interface 1037 arch/mips/cavium-octeon/executive/cvmx-helper.c cvmx_helper_ports_on_interface(interface), interface 1040 arch/mips/cavium-octeon/executive/cvmx-helper.c (interface))); interface 1041 arch/mips/cavium-octeon/executive/cvmx-helper.c result |= __cvmx_helper_interface_setup_ipd(interface); interface 1042 arch/mips/cavium-octeon/executive/cvmx-helper.c result |= __cvmx_helper_interface_setup_pko(interface); interface 1081 arch/mips/cavium-octeon/executive/cvmx-helper.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 1088 arch/mips/cavium-octeon/executive/cvmx-helper.c if (index >= cvmx_helper_ports_on_interface(interface)) interface 1091 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 1142 arch/mips/cavium-octeon/executive/cvmx-helper.c int interface = cvmx_helper_get_interface_num(ipd_port); interface 1145 arch/mips/cavium-octeon/executive/cvmx-helper.c if (index >= cvmx_helper_ports_on_interface(interface)) interface 1148 arch/mips/cavium-octeon/executive/cvmx-helper.c switch (cvmx_helper_interface_get_mode(interface)) { interface 76 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c void __cvmx_interrupt_gmxx_enable(int interface) interface 83 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 137 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c cvmx_write_csr(CVMX_GMXX_TX_INT_EN(interface), gmx_tx_int_en.u64); interface 139 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c __cvmx_interrupt_gmxx_rxx_int_en_enable(index, interface); interface 42 arch/mips/cavium-octeon/executive/cvmx-pko.c static int __cvmx_pko_int(int interface, int index) interface 44 arch/mips/cavium-octeon/executive/cvmx-pko.c switch (interface) { interface 122 arch/mips/cavium-octeon/executive/cvmx-pko.c int interface, index; interface 140 arch/mips/cavium-octeon/executive/cvmx-pko.c interface = cvmx_helper_get_interface_num(port); interface 142 arch/mips/cavium-octeon/executive/cvmx-pko.c mode = cvmx_helper_interface_get_mode(interface); interface 150 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.intr = __cvmx_pko_int(interface, index); interface 105 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, interface 114 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); interface 117 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.calendar_setup_cb, interface, mode, interface 121 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); interface 124 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); interface 127 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, interface 131 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode); interface 150 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) interface 157 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Restart %s\n", interface, modes[mode]); interface 160 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); interface 166 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); interface 169 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); interface 172 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode, interface 176 arch/mips/cavium-octeon/executive/cvmx-spi.c INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode); interface 195 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode) interface 207 arch/mips/cavium-octeon/executive/cvmx-spi.c spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); interface 208 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), 0); interface 209 arch/mips/cavium-octeon/executive/cvmx-spi.c stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); interface 210 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_INT_MSK(interface), 0); interface 213 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_COM_CTL(interface), 0); interface 214 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_COM_CTL(interface), 0); interface 217 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_CTL(interface), spxx_clk_ctl.u64); interface 219 arch/mips/cavium-octeon/executive/cvmx-spi.c spxx_bist_stat.u64 = cvmx_read_csr(CVMX_SPXX_BIST_STAT(interface)); interface 223 arch/mips/cavium-octeon/executive/cvmx-spi.c interface); interface 226 arch/mips/cavium-octeon/executive/cvmx-spi.c interface); interface 229 arch/mips/cavium-octeon/executive/cvmx-spi.c interface); interface 238 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), interface 243 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_CALX(index, interface), interface 248 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_INT_REG(interface), interface 249 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_read_csr(CVMX_SPXX_INT_REG(interface))); interface 250 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); interface 251 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_INT_REG(interface), interface 252 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_read_csr(CVMX_STXX_INT_REG(interface))); interface 253 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); interface 267 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_CTL(interface), spxx_clk_ctl.u64); interface 272 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_CTL(interface), spxx_clk_ctl.u64); interface 288 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_TRN4_CTL(interface), spxx_trn4_ctl.u64); interface 291 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_DBG_DESKEW_CTL(interface), interface 311 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, interface 325 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_COM_CTL(interface), srxx_com_ctl.u64); interface 339 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), interface 346 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_SPI4_STAT(interface), interface 362 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_ARB_CTL(interface), stxx_arb_ctl.u64); interface 368 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_TX_SPI_MAX(interface), interface 373 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_TX_SPI_THRESH(interface), interface 379 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_TX_SPI_CTL(interface), interface 387 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_DAT(interface), interface 402 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_CALX(index, interface), interface 409 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_STAT(interface), interface 430 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout) interface 441 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Waiting to see TsClk...\n", interface); interface 449 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); interface 456 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); interface 461 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Timeout\n", interface); interface 466 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Waiting to see RsClk...\n", interface); interface 474 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); interface 481 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); interface 486 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Timeout\n", interface); interface 508 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout) interface 529 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_CTL(interface), spxx_clk_ctl.u64); interface 533 arch/mips/cavium-octeon/executive/cvmx-spi.c spxx_trn4_ctl.u64 = cvmx_read_csr(CVMX_SPXX_TRN4_CTL(interface)); interface 535 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_TRN4_CTL(interface), spxx_trn4_ctl.u64); interface 538 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Waiting for training\n", interface); interface 548 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); interface 551 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SPXX_CLK_STAT(interface), stat.u64); interface 555 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Timeout\n", interface); interface 577 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout) interface 585 arch/mips/cavium-octeon/executive/cvmx-spi.c interface); interface 586 arch/mips/cavium-octeon/executive/cvmx-spi.c srxx_com_ctl.u64 = cvmx_read_csr(CVMX_SRXX_COM_CTL(interface)); interface 589 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_COM_CTL(interface), srxx_com_ctl.u64); interface 601 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_COM_CTL(interface), stxx_com_ctl.u64); interface 605 arch/mips/cavium-octeon/executive/cvmx-spi.c interface, interface); interface 609 arch/mips/cavium-octeon/executive/cvmx-spi.c stat.u64 = cvmx_read_csr(CVMX_SPXX_CLK_STAT(interface)); interface 611 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Timeout\n", interface); interface 633 arch/mips/cavium-octeon/executive/cvmx-spi.c int cvmx_spi_interface_up_cb(int interface, cvmx_spi_mode_t mode) interface 641 arch/mips/cavium-octeon/executive/cvmx-spi.c srxx_com_ctl.u64 = cvmx_read_csr(CVMX_SRXX_COM_CTL(interface)); interface 643 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_COM_CTL(interface), srxx_com_ctl.u64); interface 644 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Rx is now up\n", interface); interface 649 arch/mips/cavium-octeon/executive/cvmx-spi.c stxx_com_ctl.u64 = cvmx_read_csr(CVMX_STXX_COM_CTL(interface)); interface 651 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_COM_CTL(interface), stxx_com_ctl.u64); interface 652 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_dprintf("SPI%d: Tx is now up\n", interface); interface 657 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_MIN(0, interface), interface 661 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(0, interface), interface 665 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_GMXX_RXX_JABBER(0, interface), gmxx_rxx_jabber.u64); interface 341 arch/mips/include/asm/octeon/cvmx-gmxx-defs.h void __cvmx_interrupt_gmxx_enable(int interface); interface 119 arch/mips/include/asm/octeon/cvmx-helper-board.h extern int __cvmx_helper_board_interface_probe(int interface, interface 46 arch/mips/include/asm/octeon/cvmx-helper-loop.h extern int __cvmx_helper_loop_probe(int interface); interface 47 arch/mips/include/asm/octeon/cvmx-helper-loop.h static inline int __cvmx_helper_loop_enumerate(int interface) {return 4; } interface 58 arch/mips/include/asm/octeon/cvmx-helper-loop.h extern int __cvmx_helper_loop_enable(int interface); interface 47 arch/mips/include/asm/octeon/cvmx-helper-npi.h extern int __cvmx_helper_npi_probe(int interface); interface 59 arch/mips/include/asm/octeon/cvmx-helper-npi.h extern int __cvmx_helper_npi_enable(int interface); interface 45 arch/mips/include/asm/octeon/cvmx-helper-rgmii.h extern int __cvmx_helper_rgmii_probe(int interface); interface 65 arch/mips/include/asm/octeon/cvmx-helper-rgmii.h extern int __cvmx_helper_rgmii_enable(int interface); interface 47 arch/mips/include/asm/octeon/cvmx-helper-sgmii.h extern int __cvmx_helper_sgmii_probe(int interface); interface 48 arch/mips/include/asm/octeon/cvmx-helper-sgmii.h extern int __cvmx_helper_sgmii_enumerate(int interface); interface 59 arch/mips/include/asm/octeon/cvmx-helper-sgmii.h extern int __cvmx_helper_sgmii_enable(int interface); interface 44 arch/mips/include/asm/octeon/cvmx-helper-spi.h extern int __cvmx_helper_spi_probe(int interface); interface 45 arch/mips/include/asm/octeon/cvmx-helper-spi.h extern int __cvmx_helper_spi_enumerate(int interface); interface 56 arch/mips/include/asm/octeon/cvmx-helper-spi.h extern int __cvmx_helper_spi_enable(int interface); interface 78 arch/mips/include/asm/octeon/cvmx-helper-util.h extern int __cvmx_helper_setup_gmx(int interface, int num_ports); interface 89 arch/mips/include/asm/octeon/cvmx-helper-util.h extern int cvmx_helper_get_ipd_port(int interface, int port); interface 99 arch/mips/include/asm/octeon/cvmx-helper-util.h static inline int cvmx_helper_get_first_ipd_port(int interface) interface 101 arch/mips/include/asm/octeon/cvmx-helper-util.h return cvmx_helper_get_ipd_port(interface, 0); interface 112 arch/mips/include/asm/octeon/cvmx-helper-util.h static inline int cvmx_helper_get_last_ipd_port(int interface) interface 114 arch/mips/include/asm/octeon/cvmx-helper-util.h extern int cvmx_helper_ports_on_interface(int interface); interface 116 arch/mips/include/asm/octeon/cvmx-helper-util.h return cvmx_helper_get_first_ipd_port(interface) + interface 117 arch/mips/include/asm/octeon/cvmx-helper-util.h cvmx_helper_ports_on_interface(interface) - 1; interface 47 arch/mips/include/asm/octeon/cvmx-helper-xaui.h extern int __cvmx_helper_xaui_probe(int interface); interface 48 arch/mips/include/asm/octeon/cvmx-helper-xaui.h extern int __cvmx_helper_xaui_enumerate(int interface); interface 59 arch/mips/include/asm/octeon/cvmx-helper-xaui.h extern int __cvmx_helper_xaui_enable(int interface); interface 113 arch/mips/include/asm/octeon/cvmx-helper.h extern int cvmx_helper_ports_on_interface(int interface); interface 136 arch/mips/include/asm/octeon/cvmx-helper.h interface); interface 175 arch/mips/include/asm/octeon/cvmx-helper.h extern int cvmx_helper_interface_probe(int interface); interface 176 arch/mips/include/asm/octeon/cvmx-helper.h extern int cvmx_helper_interface_enumerate(int interface); interface 459 arch/mips/include/asm/octeon/cvmx-pip.h static inline void cvmx_pip_config_crc(uint64_t interface, interface 470 arch/mips/include/asm/octeon/cvmx-pip.h cvmx_write_csr(CVMX_PIP_CRC_CTLX(interface), config.u64); interface 474 arch/mips/include/asm/octeon/cvmx-pip.h cvmx_write_csr(CVMX_PIP_CRC_IVX(interface), pip_crc_ivx.u64); interface 49 arch/mips/include/asm/octeon/cvmx-spi.h int (*reset_cb) (int interface, cvmx_spi_mode_t mode); interface 52 arch/mips/include/asm/octeon/cvmx-spi.h int (*calendar_setup_cb) (int interface, cvmx_spi_mode_t mode, interface 56 arch/mips/include/asm/octeon/cvmx-spi.h int (*clock_detect_cb) (int interface, cvmx_spi_mode_t mode, interface 60 arch/mips/include/asm/octeon/cvmx-spi.h int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout); interface 63 arch/mips/include/asm/octeon/cvmx-spi.h int (*calendar_sync_cb) (int interface, cvmx_spi_mode_t mode, interface 67 arch/mips/include/asm/octeon/cvmx-spi.h int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode); interface 77 arch/mips/include/asm/octeon/cvmx-spi.h static inline int cvmx_spi_is_spi_interface(int interface) interface 79 arch/mips/include/asm/octeon/cvmx-spi.h uint64_t gmxState = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); interface 97 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, interface 113 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, interface 123 arch/mips/include/asm/octeon/cvmx-spi.h static inline int cvmx_spi4000_is_present(int interface) interface 133 arch/mips/include/asm/octeon/cvmx-spi.h static inline int cvmx_spi4000_initialize(int interface) interface 146 arch/mips/include/asm/octeon/cvmx-spi.h int interface, interface 183 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_reset_cb(int interface, cvmx_spi_mode_t mode); interface 200 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_calendar_setup_cb(int interface, cvmx_spi_mode_t mode, interface 217 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, interface 234 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, interface 251 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, interface 267 arch/mips/include/asm/octeon/cvmx-spi.h extern int cvmx_spi_interface_up_cb(int interface, cvmx_spi_mode_t mode); interface 17 arch/mips/include/asm/vr41xx/siu.h extern void vr41xx_select_siu_interface(siu_interface_t interface); interface 101 arch/mips/loongson32/common/platform.c switch (plat_dat->interface) { interface 110 arch/mips/loongson32/common/platform.c plat_dat->interface); interface 115 arch/mips/loongson32/common/platform.c switch (plat_dat->interface) { interface 124 arch/mips/loongson32/common/platform.c plat_dat->interface); interface 134 arch/mips/loongson32/common/platform.c if (plat_dat->interface == PHY_INTERFACE_MODE_RMII) interface 149 arch/mips/loongson32/common/platform.c .interface = PHY_INTERFACE_MODE_MII, interface 151 arch/mips/loongson32/common/platform.c .interface = PHY_INTERFACE_MODE_RMII, interface 189 arch/mips/loongson32/common/platform.c .interface = PHY_INTERFACE_MODE_MII, interface 211 arch/powerpc/include/asm/opal.h int64_t opal_ipmi_send(uint64_t interface, struct opal_ipmi_msg *msg, interface 213 arch/powerpc/include/asm/opal.h int64_t opal_ipmi_recv(uint64_t interface, struct opal_ipmi_msg *msg, interface 73 drivers/acpi/osi.c static u32 acpi_osi_handler(acpi_string interface, u32 supported) interface 75 drivers/acpi/osi.c if (!strcmp("Linux", interface)) { interface 82 drivers/acpi/osi.c if (!strcmp("Darwin", interface)) { interface 573 drivers/firmware/edd.c static EDD_DEVICE_ATTR(interface, 0444, edd_show_interface, edd_has_edd30); interface 1331 drivers/gpu/drm/i915/gvt/scheduler.c unsigned int interface) interface 1340 drivers/gpu/drm/i915/gvt/scheduler.c if (WARN_ON(interface >= ARRAY_SIZE(ops))) interface 1343 drivers/gpu/drm/i915/gvt/scheduler.c if (WARN_ON(interface == 0 && engine_mask != ALL_ENGINES)) interface 1349 drivers/gpu/drm/i915/gvt/scheduler.c if (interface == 0) { interface 1357 drivers/gpu/drm/i915/gvt/scheduler.c ret = ops[interface]->init(vgpu, engine_mask); interface 1361 drivers/gpu/drm/i915/gvt/scheduler.c s->ops = ops[interface]; interface 1362 drivers/gpu/drm/i915/gvt/scheduler.c s->virtual_submission_interface = interface; interface 152 drivers/gpu/drm/i915/gvt/scheduler.h unsigned int interface); interface 460 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c enum dpu_intf interface) interface 493 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c cfg.intf = interface; interface 347 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h enum dpu_intf interface); interface 78 drivers/gpu/drm/shmobile/shmob_drm_crtc.c if (idata->interface >= SHMOB_DRM_IFACE_SYS8A && interface 79 drivers/gpu/drm/shmobile/shmob_drm_crtc.c idata->interface <= SHMOB_DRM_IFACE_SYS24) { interface 58 drivers/gpu/drm/shmobile/shmob_drm_drv.c if (sdev->pdata->iface.interface >= ARRAY_SIZE(ldmt1r)) { interface 60 drivers/gpu/drm/shmobile/shmob_drm_drv.c sdev->pdata->iface.interface); interface 64 drivers/gpu/drm/shmobile/shmob_drm_drv.c sdev->ldmt1r = ldmt1r[sdev->pdata->iface.interface]; interface 674 drivers/gpu/drm/tiny/gm12u320.c static int gm12u320_usb_probe(struct usb_interface *interface, interface 685 drivers/gpu/drm/tiny/gm12u320.c if (interface->cur_altsetting->desc.bInterfaceNumber != 0) interface 692 drivers/gpu/drm/tiny/gm12u320.c gm12u320->udev = interface_to_usbdev(interface); interface 698 drivers/gpu/drm/tiny/gm12u320.c ret = drm_dev_init(dev, &gm12u320_drm_driver, &interface->dev); interface 736 drivers/gpu/drm/tiny/gm12u320.c usb_set_intfdata(interface, dev); interface 750 drivers/gpu/drm/tiny/gm12u320.c static void gm12u320_usb_disconnect(struct usb_interface *interface) interface 752 drivers/gpu/drm/tiny/gm12u320.c struct drm_device *dev = usb_get_intfdata(interface); interface 760 drivers/gpu/drm/tiny/gm12u320.c static __maybe_unused int gm12u320_suspend(struct usb_interface *interface, interface 763 drivers/gpu/drm/tiny/gm12u320.c struct drm_device *dev = usb_get_intfdata(interface); interface 772 drivers/gpu/drm/tiny/gm12u320.c static __maybe_unused int gm12u320_resume(struct usb_interface *interface) interface 774 drivers/gpu/drm/tiny/gm12u320.c struct drm_device *dev = usb_get_intfdata(interface); interface 17 drivers/gpu/drm/udl/udl_drv.c static int udl_usb_suspend(struct usb_interface *interface, interface 20 drivers/gpu/drm/udl/udl_drv.c struct drm_device *dev = usb_get_intfdata(interface); interface 26 drivers/gpu/drm/udl/udl_drv.c static int udl_usb_resume(struct usb_interface *interface) interface 28 drivers/gpu/drm/udl/udl_drv.c struct drm_device *dev = usb_get_intfdata(interface); interface 86 drivers/gpu/drm/udl/udl_drv.c static struct udl_device *udl_driver_create(struct usb_interface *interface) interface 88 drivers/gpu/drm/udl/udl_drv.c struct usb_device *udev = interface_to_usbdev(interface); interface 96 drivers/gpu/drm/udl/udl_drv.c r = drm_dev_init(&udl->drm, &driver, &interface->dev); interface 112 drivers/gpu/drm/udl/udl_drv.c usb_set_intfdata(interface, udl); interface 116 drivers/gpu/drm/udl/udl_drv.c static int udl_usb_probe(struct usb_interface *interface, interface 122 drivers/gpu/drm/udl/udl_drv.c udl = udl_driver_create(interface); interface 139 drivers/gpu/drm/udl/udl_drv.c static void udl_usb_disconnect(struct usb_interface *interface) interface 141 drivers/gpu/drm/udl/udl_drv.c struct drm_device *dev = usb_get_intfdata(interface); interface 1249 drivers/greybus/es2.c static int ap_probe(struct usb_interface *interface, interface 1265 drivers/greybus/es2.c udev = usb_get_dev(interface_to_usbdev(interface)); interface 1284 drivers/greybus/es2.c es2->usb_intf = interface; interface 1288 drivers/greybus/es2.c usb_set_intfdata(interface, es2); interface 1302 drivers/greybus/es2.c iface_desc = interface->cur_altsetting; interface 1442 drivers/greybus/es2.c static void ap_disconnect(struct usb_interface *interface) interface 1444 drivers/greybus/es2.c struct es2_ap_dev *es2 = usb_get_intfdata(interface); interface 878 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 895 drivers/hid/usbhid/hid-core.c interface->desc.bInterfaceNumber, buf, count, interface 911 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 932 drivers/hid/usbhid/hid-core.c interface->desc.bInterfaceNumber, buf, count, interface 984 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 1001 drivers/hid/usbhid/hid-core.c if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT) { interface 1002 drivers/hid/usbhid/hid-core.c if (interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_KEYBOARD || interface 1003 drivers/hid/usbhid/hid-core.c interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_MOUSE) interface 1007 drivers/hid/usbhid/hid-core.c if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && interface 1008 drivers/hid/usbhid/hid-core.c (!interface->desc.bNumEndpoints || interface 1009 drivers/hid/usbhid/hid-core.c usb_get_extra_descriptor(&interface->endpoint[0], HID_DT_HID, &hdesc))) { interface 1038 drivers/hid/usbhid/hid-core.c hid_set_idle(dev, interface->desc.bInterfaceNumber, 0, 0); interface 1040 drivers/hid/usbhid/hid-core.c ret = hid_get_class_descriptor(dev, interface->desc.bInterfaceNumber, interface 1065 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 1093 drivers/hid/usbhid/hid-core.c for (n = 0; n < interface->desc.bNumEndpoints; n++) { interface 1098 drivers/hid/usbhid/hid-core.c endpoint = &interface->endpoint[n].desc; interface 1187 drivers/hid/usbhid/hid-core.c if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT && interface 1188 drivers/hid/usbhid/hid-core.c interface->desc.bInterfaceProtocol == interface 1296 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 1297 drivers/hid/usbhid/hid-core.c int ifnum = interface->desc.bInterfaceNumber; interface 1322 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 1333 drivers/hid/usbhid/hid-core.c for (n = 0; n < interface->desc.bNumEndpoints; n++) interface 1334 drivers/hid/usbhid/hid-core.c if (usb_endpoint_is_int_in(&interface->endpoint[n].desc)) interface 1399 drivers/hid/usbhid/hid-core.c usbhid->ifnum = interface->desc.bInterfaceNumber; interface 1503 drivers/hid/usbhid/hid-core.c struct usb_host_interface *interface = intf->cur_altsetting; interface 1517 drivers/hid/usbhid/hid-core.c interface->desc.bInterfaceNumber, interface 265 drivers/hid/usbhid/usbkbd.c struct usb_host_interface *interface; interface 272 drivers/hid/usbhid/usbkbd.c interface = iface->cur_altsetting; interface 274 drivers/hid/usbhid/usbkbd.c if (interface->desc.bNumEndpoints != 1) interface 277 drivers/hid/usbhid/usbkbd.c endpoint = &interface->endpoint[0].desc; interface 344 drivers/hid/usbhid/usbkbd.c kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); interface 109 drivers/hid/usbhid/usbmouse.c struct usb_host_interface *interface; interface 116 drivers/hid/usbhid/usbmouse.c interface = intf->cur_altsetting; interface 118 drivers/hid/usbhid/usbmouse.c if (interface->desc.bNumEndpoints != 1) interface 121 drivers/hid/usbhid/usbmouse.c endpoint = &interface->endpoint[0].desc; interface 2420 drivers/hid/wacom_sys.c hdev1 = usb_get_intfdata(usbdev->config->interface[1]); interface 2426 drivers/hid/wacom_sys.c hdev2 = usb_get_intfdata(usbdev->config->interface[2]); interface 92 drivers/hwmon/ibmaem.c int interface; interface 269 drivers/hwmon/ibmaem.c data->interface = iface; interface 276 drivers/hwmon/ibmaem.c err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs, interface 281 drivers/hwmon/ibmaem.c data->interface); interface 558 drivers/hwmon/ibmaem.c res = aem_init_ipmi_data(&data->ipmi, probe->interface, interface 568 drivers/hwmon/ibmaem.c probe->interface); interface 698 drivers/hwmon/ibmaem.c res = aem_init_ipmi_data(&data->ipmi, probe->interface, interface 708 drivers/hwmon/ibmaem.c probe->interface); interface 796 drivers/hwmon/ibmaem.c if (p1->ipmi.interface == iface) interface 75 drivers/hwmon/ibmpex.c int interface; interface 155 drivers/hwmon/ibmpex.c data->interface); interface 253 drivers/hwmon/ibmpex.c if (p->interface == iface) interface 454 drivers/hwmon/ibmpex.c data->interface = iface; interface 458 drivers/hwmon/ibmpex.c err = ipmi_create_user(data->interface, &driver_data.ipmi_hndlrs, interface 463 drivers/hwmon/ibmpex.c data->interface); interface 487 drivers/hwmon/ibmpex.c data->interface); interface 84 drivers/i2c/busses/i2c-diolan-u2c.c struct usb_interface *interface;/* the interface for this device */ interface 216 drivers/i2c/busses/i2c-diolan-u2c.c dev_err(&dev->interface->dev, "Failed to flush input buffer\n"); interface 279 drivers/i2c/busses/i2c-diolan-u2c.c dev_info(&dev->interface->dev, interface 293 drivers/i2c/busses/i2c-diolan-u2c.c dev_info(&dev->interface->dev, interface 315 drivers/i2c/busses/i2c-diolan-u2c.c dev_info(&dev->interface->dev, interface 438 drivers/i2c/busses/i2c-diolan-u2c.c static int diolan_u2c_probe(struct usb_interface *interface, interface 441 drivers/i2c/busses/i2c-diolan-u2c.c struct usb_host_interface *hostif = interface->cur_altsetting; interface 458 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); interface 459 drivers/i2c/busses/i2c-diolan-u2c.c dev->interface = interface; interface 462 drivers/i2c/busses/i2c-diolan-u2c.c usb_set_intfdata(interface, dev); interface 473 drivers/i2c/busses/i2c-diolan-u2c.c dev->adapter.dev.parent = &dev->interface->dev; interface 478 drivers/i2c/busses/i2c-diolan-u2c.c dev_err(&interface->dev, "failed to initialize adapter\n"); interface 487 drivers/i2c/busses/i2c-diolan-u2c.c dev_dbg(&interface->dev, "connected " DRIVER_NAME "\n"); interface 492 drivers/i2c/busses/i2c-diolan-u2c.c usb_set_intfdata(interface, NULL); interface 498 drivers/i2c/busses/i2c-diolan-u2c.c static void diolan_u2c_disconnect(struct usb_interface *interface) interface 500 drivers/i2c/busses/i2c-diolan-u2c.c struct i2c_diolan_u2c *dev = usb_get_intfdata(interface); interface 503 drivers/i2c/busses/i2c-diolan-u2c.c usb_set_intfdata(interface, NULL); interface 506 drivers/i2c/busses/i2c-diolan-u2c.c dev_dbg(&interface->dev, "disconnected\n"); interface 31 drivers/i2c/busses/i2c-robotfuzz-osif.c struct usb_interface *interface; interface 128 drivers/i2c/busses/i2c-robotfuzz-osif.c static int osif_probe(struct usb_interface *interface, interface 135 drivers/i2c/busses/i2c-robotfuzz-osif.c priv = devm_kzalloc(&interface->dev, sizeof(*priv), GFP_KERNEL); interface 139 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev = usb_get_dev(interface_to_usbdev(interface)); interface 140 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->interface = interface; interface 142 drivers/i2c/busses/i2c-robotfuzz-osif.c usb_set_intfdata(interface, priv); interface 159 drivers/i2c/busses/i2c-robotfuzz-osif.c dev_err(&interface->dev, "failure sending bit rate"); interface 167 drivers/i2c/busses/i2c-robotfuzz-osif.c dev_info(&interface->dev, interface 175 drivers/i2c/busses/i2c-robotfuzz-osif.c static void osif_disconnect(struct usb_interface *interface) interface 177 drivers/i2c/busses/i2c-robotfuzz-osif.c struct osif_priv *priv = usb_get_intfdata(interface); interface 180 drivers/i2c/busses/i2c-robotfuzz-osif.c usb_set_intfdata(interface, NULL); interface 169 drivers/i2c/busses/i2c-tiny-usb.c struct usb_interface *interface; /* the interface for this device */ interface 218 drivers/i2c/busses/i2c-tiny-usb.c static int i2c_tiny_usb_probe(struct usb_interface *interface, interface 225 drivers/i2c/busses/i2c-tiny-usb.c dev_dbg(&interface->dev, "probing usb device\n"); interface 230 drivers/i2c/busses/i2c-tiny-usb.c dev_err(&interface->dev, "Out of memory\n"); interface 234 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); interface 235 drivers/i2c/busses/i2c-tiny-usb.c dev->interface = interface; interface 238 drivers/i2c/busses/i2c-tiny-usb.c usb_set_intfdata(interface, dev); interface 241 drivers/i2c/busses/i2c-tiny-usb.c dev_info(&interface->dev, interface 262 drivers/i2c/busses/i2c-tiny-usb.c dev->adapter.dev.parent = &dev->interface->dev; interface 279 drivers/i2c/busses/i2c-tiny-usb.c static void i2c_tiny_usb_disconnect(struct usb_interface *interface) interface 281 drivers/i2c/busses/i2c-tiny-usb.c struct i2c_tiny_usb *dev = usb_get_intfdata(interface); interface 284 drivers/i2c/busses/i2c-tiny-usb.c usb_set_intfdata(interface, NULL); interface 287 drivers/i2c/busses/i2c-tiny-usb.c dev_dbg(&interface->dev, "disconnected\n"); interface 193 drivers/input/joystick/iforce/iforce-usb.c struct usb_host_interface *interface; interface 198 drivers/input/joystick/iforce/iforce-usb.c interface = intf->cur_altsetting; interface 200 drivers/input/joystick/iforce/iforce-usb.c if (interface->desc.bNumEndpoints < 2) interface 203 drivers/input/joystick/iforce/iforce-usb.c epirq = &interface->endpoint[0].desc; interface 207 drivers/input/joystick/iforce/iforce-usb.c epout = &interface->endpoint[1].desc; interface 207 drivers/input/misc/ati_remote2.c static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id); interface 208 drivers/input/misc/ati_remote2.c static void ati_remote2_disconnect(struct usb_interface *interface); interface 209 drivers/input/misc/ati_remote2.c static int ati_remote2_suspend(struct usb_interface *interface, pm_message_t message); interface 210 drivers/input/misc/ati_remote2.c static int ati_remote2_resume(struct usb_interface *interface); interface 211 drivers/input/misc/ati_remote2.c static int ati_remote2_reset_resume(struct usb_interface *interface); interface 212 drivers/input/misc/ati_remote2.c static int ati_remote2_pre_reset(struct usb_interface *interface); interface 213 drivers/input/misc/ati_remote2.c static int ati_remote2_post_reset(struct usb_interface *interface); interface 799 drivers/input/misc/ati_remote2.c static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id) interface 801 drivers/input/misc/ati_remote2.c struct usb_device *udev = interface_to_usbdev(interface); interface 802 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 817 drivers/input/misc/ati_remote2.c dev_err(&interface->dev, interface 822 drivers/input/misc/ati_remote2.c ar2->intf[0] = interface; interface 828 drivers/input/misc/ati_remote2.c dev_err(&interface->dev, "%s(): need 2 interfaces, found %d\n", interface 841 drivers/input/misc/ati_remote2.c dev_err(&interface->dev, interface 872 drivers/input/misc/ati_remote2.c usb_set_intfdata(interface, ar2); interface 874 drivers/input/misc/ati_remote2.c interface->needs_remote_wakeup = 1; interface 890 drivers/input/misc/ati_remote2.c static void ati_remote2_disconnect(struct usb_interface *interface) interface 893 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 898 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 899 drivers/input/misc/ati_remote2.c usb_set_intfdata(interface, NULL); interface 912 drivers/input/misc/ati_remote2.c static int ati_remote2_suspend(struct usb_interface *interface, interface 916 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 921 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 937 drivers/input/misc/ati_remote2.c static int ati_remote2_resume(struct usb_interface *interface) interface 940 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 946 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 963 drivers/input/misc/ati_remote2.c static int ati_remote2_reset_resume(struct usb_interface *interface) interface 966 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 972 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 994 drivers/input/misc/ati_remote2.c static int ati_remote2_pre_reset(struct usb_interface *interface) interface 997 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 1002 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 1014 drivers/input/misc/ati_remote2.c static int ati_remote2_post_reset(struct usb_interface *interface) interface 1017 drivers/input/misc/ati_remote2.c struct usb_host_interface *alt = interface->cur_altsetting; interface 1023 drivers/input/misc/ati_remote2.c ar2 = usb_get_intfdata(interface); interface 678 drivers/input/misc/cm109.c static void cm109_usb_disconnect(struct usb_interface *interface) interface 680 drivers/input/misc/cm109.c struct cm109_dev *dev = usb_get_intfdata(interface); interface 682 drivers/input/misc/cm109.c usb_set_intfdata(interface, NULL); interface 692 drivers/input/misc/cm109.c struct usb_host_interface *interface; interface 699 drivers/input/misc/cm109.c interface = intf->cur_altsetting; interface 701 drivers/input/misc/cm109.c if (interface->desc.bNumEndpoints < 1) interface 704 drivers/input/misc/cm109.c endpoint = &interface->endpoint[0].desc; interface 767 drivers/input/misc/cm109.c dev->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); interface 1753 drivers/input/misc/ims-pcu.c struct usb_host_interface *interface = pcu->ctrl_intf->cur_altsetting; interface 1764 drivers/input/misc/ims-pcu.c 0, interface->desc.bInterfaceNumber, interface 1776 drivers/input/misc/ims-pcu.c 0x03, interface->desc.bInterfaceNumber, interface 108 drivers/input/misc/keyspan_remote.c struct usb_interface *interface; interface 151 drivers/input/misc/keyspan_remote.c dev_dbg(&dev->interface->dev, interface 261 drivers/input/misc/keyspan_remote.c dev_err(&remote->interface->dev, interface 282 drivers/input/misc/keyspan_remote.c dev_err(&remote->interface->dev, interface 300 drivers/input/misc/keyspan_remote.c dev_err(&remote->interface->dev, interface 312 drivers/input/misc/keyspan_remote.c dev_err(&remote->interface->dev, interface 316 drivers/input/misc/keyspan_remote.c dev_dbg(&remote->interface->dev, interface 400 drivers/input/misc/keyspan_remote.c dev_err(&dev->interface->dev, interface 444 drivers/input/misc/keyspan_remote.c static int keyspan_probe(struct usb_interface *interface, const struct usb_device_id *id) interface 446 drivers/input/misc/keyspan_remote.c struct usb_device *udev = interface_to_usbdev(interface); interface 452 drivers/input/misc/keyspan_remote.c endpoint = keyspan_get_in_endpoint(interface->cur_altsetting); interface 465 drivers/input/misc/keyspan_remote.c remote->interface = interface; interface 509 drivers/input/misc/keyspan_remote.c input_dev->dev.parent = &interface->dev; interface 543 drivers/input/misc/keyspan_remote.c usb_set_intfdata(interface, remote); interface 558 drivers/input/misc/keyspan_remote.c static void keyspan_disconnect(struct usb_interface *interface) interface 562 drivers/input/misc/keyspan_remote.c remote = usb_get_intfdata(interface); interface 563 drivers/input/misc/keyspan_remote.c usb_set_intfdata(interface, NULL); interface 303 drivers/input/misc/powermate.c struct usb_host_interface *interface; interface 310 drivers/input/misc/powermate.c interface = intf->cur_altsetting; interface 311 drivers/input/misc/powermate.c if (interface->desc.bNumEndpoints < 1) interface 314 drivers/input/misc/powermate.c endpoint = &interface->endpoint[0].desc; interface 320 drivers/input/misc/powermate.c 0, interface->desc.bInterfaceNumber, NULL, 0, interface 856 drivers/input/misc/yealink.c struct usb_host_interface *interface; interface 862 drivers/input/misc/yealink.c interface = intf->cur_altsetting; interface 864 drivers/input/misc/yealink.c if (interface->desc.bNumEndpoints < 1) interface 867 drivers/input/misc/yealink.c endpoint = &interface->endpoint[0].desc; interface 927 drivers/input/misc/yealink.c yld->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber); interface 117 drivers/input/tablet/acecad.c struct usb_host_interface *interface = intf->cur_altsetting; interface 124 drivers/input/tablet/acecad.c if (interface->desc.bNumEndpoints != 1) interface 127 drivers/input/tablet/acecad.c endpoint = &interface->endpoint[0].desc; interface 1013 drivers/input/tablet/gtco.c static void gtco_disconnect(struct usb_interface *interface) interface 1016 drivers/input/tablet/gtco.c struct gtco *gtco = usb_get_intfdata(interface); interface 1017 drivers/input/tablet/gtco.c struct usb_device *udev = interface_to_usbdev(interface); interface 1029 drivers/input/tablet/gtco.c dev_info(&interface->dev, "gtco driver disconnected\n"); interface 645 drivers/input/touchscreen/sur40.c static int sur40_probe(struct usb_interface *interface, interface 648 drivers/input/touchscreen/sur40.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 656 drivers/input/touchscreen/sur40.c iface_desc = interface->cur_altsetting; interface 699 drivers/input/touchscreen/sur40.c poll_dev->input->dev.parent = &interface->dev; interface 702 drivers/input/touchscreen/sur40.c sur40->dev = &interface->dev; interface 710 drivers/input/touchscreen/sur40.c dev_err(&interface->dev, "Unable to allocate input buffer."); interface 718 drivers/input/touchscreen/sur40.c dev_err(&interface->dev, interface 727 drivers/input/touchscreen/sur40.c dev_err(&interface->dev, interface 774 drivers/input/touchscreen/sur40.c dev_err(&interface->dev, interface 782 drivers/input/touchscreen/sur40.c dev_err(&interface->dev, interface 788 drivers/input/touchscreen/sur40.c usb_set_intfdata(interface, sur40); interface 789 drivers/input/touchscreen/sur40.c dev_dbg(&interface->dev, "%s is now attached\n", DRIVER_DESC); interface 808 drivers/input/touchscreen/sur40.c static void sur40_disconnect(struct usb_interface *interface) interface 810 drivers/input/touchscreen/sur40.c struct sur40_state *sur40 = usb_get_intfdata(interface); interface 821 drivers/input/touchscreen/sur40.c usb_set_intfdata(interface, NULL); interface 822 drivers/input/touchscreen/sur40.c dev_dbg(&interface->dev, "%s is now disconnected\n", DRIVER_DESC); interface 95 drivers/input/touchscreen/usbtouchscreen.c struct usb_interface *interface; interface 252 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *udev = interface_to_usbdev(usbtouch->interface); interface 258 drivers/input/touchscreen/usbtouchscreen.c dev_dbg(&usbtouch->interface->dev, interface 297 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *udev = interface_to_usbdev(usbtouch->interface); interface 475 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *udev = interface_to_usbdev(usbtouch->interface); interface 490 drivers/input/touchscreen/usbtouchscreen.c dev_warn(&usbtouch->interface->dev, interface 514 drivers/input/touchscreen/usbtouchscreen.c ret = sysfs_create_group(&usbtouch->interface->dev.kobj, interface 528 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *udev = interface_to_usbdev(usbtouch->interface); interface 538 drivers/input/touchscreen/usbtouchscreen.c dev_dbg(&usbtouch->interface->dev, interface 550 drivers/input/touchscreen/usbtouchscreen.c dev_dbg(&usbtouch->interface->dev, interface 572 drivers/input/touchscreen/usbtouchscreen.c sysfs_remove_group(&usbtouch->interface->dev.kobj, &mtouch_attr_group); interface 688 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *dev = interface_to_usbdev(usbtouch->interface); interface 863 drivers/input/touchscreen/usbtouchscreen.c struct usb_interface *intf = dev->interface; interface 940 drivers/input/touchscreen/usbtouchscreen.c dev_dbg(&usbtouch->interface->dev, interface 957 drivers/input/touchscreen/usbtouchscreen.c struct usb_device *dev = interface_to_usbdev(usbtouch->interface); interface 958 drivers/input/touchscreen/usbtouchscreen.c struct usb_host_interface *interface = usbtouch->interface->cur_altsetting; interface 967 drivers/input/touchscreen/usbtouchscreen.c for (i = 0; i < interface->desc.bNumEndpoints; i++) { interface 969 drivers/input/touchscreen/usbtouchscreen.c usb_endpoint_dir_in(&interface->endpoint[i].desc)) interface 970 drivers/input/touchscreen/usbtouchscreen.c input_ep = interface->endpoint[i].desc.bEndpointAddress; interface 972 drivers/input/touchscreen/usbtouchscreen.c usb_endpoint_dir_out(&interface->endpoint[i].desc)) interface 973 drivers/input/touchscreen/usbtouchscreen.c output_ep = interface->endpoint[i].desc.bEndpointAddress; interface 1490 drivers/input/touchscreen/usbtouchscreen.c struct device *dev = &usbtouch->interface->dev; interface 1520 drivers/input/touchscreen/usbtouchscreen.c usb_mark_last_busy(interface_to_usbdev(usbtouch->interface)); interface 1532 drivers/input/touchscreen/usbtouchscreen.c usbtouch->irq->dev = interface_to_usbdev(usbtouch->interface); interface 1534 drivers/input/touchscreen/usbtouchscreen.c r = usb_autopm_get_interface(usbtouch->interface) ? -EIO : 0; interface 1546 drivers/input/touchscreen/usbtouchscreen.c usbtouch->interface->needs_remote_wakeup = 1; interface 1550 drivers/input/touchscreen/usbtouchscreen.c usb_autopm_put_interface(usbtouch->interface); interface 1566 drivers/input/touchscreen/usbtouchscreen.c r = usb_autopm_get_interface(usbtouch->interface); interface 1567 drivers/input/touchscreen/usbtouchscreen.c usbtouch->interface->needs_remote_wakeup = 0; interface 1569 drivers/input/touchscreen/usbtouchscreen.c usb_autopm_put_interface(usbtouch->interface); interface 1629 drivers/input/touchscreen/usbtouchscreen.c usbtouch_get_input_endpoint(struct usb_host_interface *interface) interface 1633 drivers/input/touchscreen/usbtouchscreen.c for (i = 0; i < interface->desc.bNumEndpoints; i++) interface 1634 drivers/input/touchscreen/usbtouchscreen.c if (usb_endpoint_dir_in(&interface->endpoint[i].desc)) interface 1635 drivers/input/touchscreen/usbtouchscreen.c return &interface->endpoint[i].desc; interface 1701 drivers/input/touchscreen/usbtouchscreen.c usbtouch->interface = intf; interface 1612 drivers/media/platform/omap3isp/isp.c enum isp_interface_type interface) interface 1624 drivers/media/platform/omap3isp/isp.c switch (interface) { interface 1652 drivers/media/platform/omap3isp/isp.c interface); interface 1664 drivers/media/platform/omap3isp/isp.c interface); interface 2042 drivers/media/platform/omap3isp/isp.c v4l2_subdev_to_bus_cfg(sd)->interface); interface 2058 drivers/media/platform/omap3isp/isp.c buscfg->interface = ISP_INTERFACE_PARALLEL; interface 2217 drivers/media/platform/omap3isp/isp.c buscfg->interface = isp_bus_interfaces[i].csi2_if; interface 2230 drivers/media/platform/omap3isp/isp.c buscfg->interface = interface 172 drivers/media/platform/omap3isp/ispcsiphy.c if (buscfg->interface == ISP_INTERFACE_CCP2B_PHY1 interface 173 drivers/media/platform/omap3isp/ispcsiphy.c || buscfg->interface == ISP_INTERFACE_CCP2B_PHY2) { interface 206 drivers/media/platform/omap3isp/ispcsiphy.c csiphy_routing_cfg(phy, buscfg->interface, true, interface 311 drivers/media/platform/omap3isp/ispcsiphy.c csiphy_routing_cfg(phy, buscfg->interface, false, interface 122 drivers/media/platform/omap3isp/omap3isp.h enum isp_interface_type interface; interface 777 drivers/media/platform/qcom/camss/camss-ispif.c enum ispif_intf intf = line->interface; interface 1255 drivers/media/platform/qcom/camss/camss-ispif.c line->interface = ispif_get_intf(id); interface 42 drivers/media/platform/qcom/camss/camss-ispif.h enum ispif_intf interface; interface 430 drivers/media/platform/qcom/camss/camss.c struct csiphy_lanes_cfg *lncfg = &csd->interface.csi2.lane_cfg; interface 437 drivers/media/platform/qcom/camss/camss.c csd->interface.csiphy_id = vep.base.port; interface 744 drivers/media/platform/qcom/camss/camss.c u8 id = csd->interface.csiphy_id; interface 747 drivers/media/platform/qcom/camss/camss.c csiphy->cfg.csi2 = &csd->interface.csi2; interface 95 drivers/media/platform/qcom/camss/camss.h struct camss_camera_interface interface; interface 144 drivers/media/rc/ati_remote.c const char *(*get_default_keymap)(struct usb_interface *interface); interface 147 drivers/media/rc/ati_remote.c static const char *get_medion_keymap(struct usb_interface *interface) interface 149 drivers/media/rc/ati_remote.c struct usb_device *udev = interface_to_usbdev(interface); interface 175 drivers/media/rc/ati_remote.c dev_info(&interface->dev, interface 236 drivers/media/rc/ati_remote.c struct usb_interface *interface; interface 336 drivers/media/rc/ati_remote.c dev_err(&ati_remote->interface->dev, interface 388 drivers/media/rc/ati_remote.c dev_dbg(&ati_remote->interface->dev, "%s: status %d\n", interface 418 drivers/media/rc/ati_remote.c dev_dbg(&ati_remote->interface->dev, interface 506 drivers/media/rc/ati_remote.c dbginfo(&ati_remote->interface->dev, interface 515 drivers/media/rc/ati_remote.c dbginfo(&ati_remote->interface->dev, interface 527 drivers/media/rc/ati_remote.c dbginfo(&ati_remote->interface->dev, interface 640 drivers/media/rc/ati_remote.c dev_dbg(&ati_remote->interface->dev, "ati_remote kind=%d\n", interface 664 drivers/media/rc/ati_remote.c dev_dbg(&ati_remote->interface->dev, interface 669 drivers/media/rc/ati_remote.c dev_dbg(&ati_remote->interface->dev, interface 676 drivers/media/rc/ati_remote.c dev_err(&ati_remote->interface->dev, interface 746 drivers/media/rc/ati_remote.c idev->dev.parent = &ati_remote->interface->dev; interface 764 drivers/media/rc/ati_remote.c rdev->dev.parent = &ati_remote->interface->dev; interface 799 drivers/media/rc/ati_remote.c dev_err(&ati_remote->interface->dev, interface 810 drivers/media/rc/ati_remote.c static int ati_remote_probe(struct usb_interface *interface, interface 813 drivers/media/rc/ati_remote.c struct usb_device *udev = interface_to_usbdev(interface); interface 814 drivers/media/rc/ati_remote.c struct usb_host_interface *iface_host = interface->cur_altsetting; interface 852 drivers/media/rc/ati_remote.c ati_remote->interface = interface; interface 882 drivers/media/rc/ati_remote.c rc_dev->map_name = type->get_default_keymap(interface); interface 914 drivers/media/rc/ati_remote.c usb_set_intfdata(interface, ati_remote); interface 936 drivers/media/rc/ati_remote.c static void ati_remote_disconnect(struct usb_interface *interface) interface 940 drivers/media/rc/ati_remote.c ati_remote = usb_get_intfdata(interface); interface 941 drivers/media/rc/ati_remote.c usb_set_intfdata(interface, NULL); interface 943 drivers/media/rc/ati_remote.c dev_warn(&interface->dev, "%s - null device?\n", __func__); interface 52 drivers/media/rc/imon.c static int imon_probe(struct usb_interface *interface, interface 54 drivers/media/rc/imon.c static void imon_disconnect(struct usb_interface *interface); interface 469 drivers/media/rc/imon.c struct usb_interface *interface; interface 478 drivers/media/rc/imon.c interface = usb_find_interface(&imon_driver, subminor); interface 479 drivers/media/rc/imon.c if (!interface) { interface 484 drivers/media/rc/imon.c ictx = usb_get_intfdata(interface); interface 2357 drivers/media/rc/imon.c static int imon_probe(struct usb_interface *interface, interface 2363 drivers/media/rc/imon.c struct device *dev = &interface->dev; interface 2370 drivers/media/rc/imon.c usbdev = usb_get_dev(interface_to_usbdev(interface)); interface 2371 drivers/media/rc/imon.c iface_desc = interface->cur_altsetting; interface 2391 drivers/media/rc/imon.c ictx = imon_init_intf0(interface, id); interface 2407 drivers/media/rc/imon.c ictx = imon_init_intf1(interface, first_if_ctx); interface 2416 drivers/media/rc/imon.c usb_set_intfdata(interface, ictx); interface 2422 drivers/media/rc/imon.c sysfs_err = sysfs_create_group(&interface->dev.kobj, interface 2430 drivers/media/rc/imon.c imon_init_display(ictx, interface); interface 2455 drivers/media/rc/imon.c static void imon_disconnect(struct usb_interface *interface) interface 2464 drivers/media/rc/imon.c ictx = usb_get_intfdata(interface); interface 2466 drivers/media/rc/imon.c ifnum = interface->cur_altsetting->desc.bInterfaceNumber; interface 2472 drivers/media/rc/imon.c sysfs_remove_group(&interface->dev.kobj, &imon_display_attr_group); interface 2473 drivers/media/rc/imon.c sysfs_remove_group(&interface->dev.kobj, &imon_rf_attr_group); interface 2475 drivers/media/rc/imon.c usb_set_intfdata(interface, NULL); interface 2491 drivers/media/rc/imon.c usb_deregister_dev(interface, &imon_lcd_class); interface 2493 drivers/media/rc/imon.c usb_deregister_dev(interface, &imon_vfd_class); interface 71 drivers/media/rc/streamzap.c struct usb_interface *interface; interface 97 drivers/media/rc/streamzap.c static int streamzap_probe(struct usb_interface *interface, interface 99 drivers/media/rc/streamzap.c static void streamzap_disconnect(struct usb_interface *interface); interface 338 drivers/media/rc/streamzap.c sz->interface = intf; interface 454 drivers/media/rc/streamzap.c static void streamzap_disconnect(struct usb_interface *interface) interface 456 drivers/media/rc/streamzap.c struct streamzap_ir *sz = usb_get_intfdata(interface); interface 457 drivers/media/rc/streamzap.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 459 drivers/media/rc/streamzap.c usb_set_intfdata(interface, NULL); interface 55 drivers/media/rc/xbox_remote.c struct usb_interface *interface; interface 71 drivers/media/rc/xbox_remote.c dev_err(&xbox_remote->interface->dev, interface 129 drivers/media/rc/xbox_remote.c dev_dbg(&xbox_remote->interface->dev, interface 134 drivers/media/rc/xbox_remote.c dev_dbg(&xbox_remote->interface->dev, interface 141 drivers/media/rc/xbox_remote.c dev_err(&xbox_remote->interface->dev, interface 163 drivers/media/rc/xbox_remote.c rdev->dev.parent = &xbox_remote->interface->dev; interface 187 drivers/media/rc/xbox_remote.c static int xbox_remote_probe(struct usb_interface *interface, interface 190 drivers/media/rc/xbox_remote.c struct usb_device *udev = interface_to_usbdev(interface); interface 191 drivers/media/rc/xbox_remote.c struct usb_host_interface *iface_host = interface->cur_altsetting; interface 230 drivers/media/rc/xbox_remote.c xbox_remote->interface = interface; interface 261 drivers/media/rc/xbox_remote.c usb_set_intfdata(interface, xbox_remote); interface 279 drivers/media/rc/xbox_remote.c static void xbox_remote_disconnect(struct usb_interface *interface) interface 283 drivers/media/rc/xbox_remote.c xbox_remote = usb_get_intfdata(interface); interface 284 drivers/media/rc/xbox_remote.c usb_set_intfdata(interface, NULL); interface 286 drivers/media/rc/xbox_remote.c dev_warn(&interface->dev, "%s - null device?\n", __func__); interface 17 drivers/media/usb/as102/as102_usb_drv.c static void as102_usb_disconnect(struct usb_interface *interface); interface 18 drivers/media/usb/as102/as102_usb_drv.c static int as102_usb_probe(struct usb_interface *interface, interface 163 drivers/media/usb/au0828/au0828-core.c static void au0828_usb_disconnect(struct usb_interface *interface) interface 165 drivers/media/usb/au0828/au0828-core.c struct au0828_dev *dev = usb_get_intfdata(interface); interface 181 drivers/media/usb/au0828/au0828-core.c usb_set_intfdata(interface, NULL); interface 648 drivers/media/usb/au0828/au0828-core.c static int au0828_usb_probe(struct usb_interface *interface, interface 655 drivers/media/usb/au0828/au0828-core.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 657 drivers/media/usb/au0828/au0828-core.c ifnum = interface->altsetting->desc.bInterfaceNumber; interface 702 drivers/media/usb/au0828/au0828-core.c retval = au0828_v4l2_device_register(interface, dev); interface 726 drivers/media/usb/au0828/au0828-core.c usb_set_intfdata(interface, dev); interface 729 drivers/media/usb/au0828/au0828-core.c retval = au0828_analog_register(dev, interface); interface 755 drivers/media/usb/au0828/au0828-core.c au0828_usb_disconnect(interface); interface 760 drivers/media/usb/au0828/au0828-core.c static int au0828_suspend(struct usb_interface *interface, interface 763 drivers/media/usb/au0828/au0828-core.c struct au0828_dev *dev = usb_get_intfdata(interface); interface 779 drivers/media/usb/au0828/au0828-core.c static int au0828_resume(struct usb_interface *interface) interface 781 drivers/media/usb/au0828/au0828-core.c struct au0828_dev *dev = usb_get_intfdata(interface); interface 650 drivers/media/usb/au0828/au0828-video.c int au0828_v4l2_device_register(struct usb_interface *interface, interface 662 drivers/media/usb/au0828/au0828-video.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); interface 1903 drivers/media/usb/au0828/au0828-video.c struct usb_interface *interface) interface 1911 drivers/media/usb/au0828/au0828-video.c interface->cur_altsetting->desc.bInterfaceNumber); interface 1919 drivers/media/usb/au0828/au0828-video.c interface->cur_altsetting->desc.bInterfaceNumber, 5); interface 1926 drivers/media/usb/au0828/au0828-video.c iface_desc = interface->cur_altsetting; interface 324 drivers/media/usb/au0828/au0828.h extern int au0828_v4l2_device_register(struct usb_interface *interface, interface 328 drivers/media/usb/au0828/au0828.h struct usb_interface *interface); interface 334 drivers/media/usb/au0828/au0828.h static inline int au0828_v4l2_device_register(struct usb_interface *interface, interface 338 drivers/media/usb/au0828/au0828.h struct usb_interface *interface) interface 825 drivers/media/usb/cpia2/cpia2_usb.c struct usb_interface_descriptor *interface; interface 832 drivers/media/usb/cpia2/cpia2_usb.c interface = &intf->cur_altsetting->desc; interface 842 drivers/media/usb/cpia2/cpia2_usb.c cam->iface = interface->bInterfaceNumber; interface 688 drivers/media/usb/cx231xx/cx231xx-audio.c dev->udev->actconfig->interface[dev->current_pcb_config. interface 1551 drivers/media/usb/cx231xx/cx231xx-cards.c struct usb_interface *interface, interface 1567 drivers/media/usb/cx231xx/cx231xx-cards.c uif = udev->actconfig->interface[idx]; interface 1605 drivers/media/usb/cx231xx/cx231xx-cards.c uif = udev->actconfig->interface[idx]; interface 1649 drivers/media/usb/cx231xx/cx231xx-cards.c uif = udev->actconfig->interface[idx]; interface 1689 drivers/media/usb/cx231xx/cx231xx-cards.c static int cx231xx_usb_probe(struct usb_interface *interface, interface 1693 drivers/media/usb/cx231xx/cx231xx-cards.c struct device *d = &interface->dev; interface 1703 drivers/media/usb/cx231xx/cx231xx-cards.c ifnum = interface->altsetting[0].desc.bInterfaceNumber; interface 1724 drivers/media/usb/cx231xx/cx231xx-cards.c udev = usb_get_dev(interface_to_usbdev(interface)); interface 1803 drivers/media/usb/cx231xx/cx231xx-cards.c usb_set_intfdata(interface, dev); interface 1816 drivers/media/usb/cx231xx/cx231xx-cards.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); interface 1827 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_init_v4l2(dev, udev, interface, isoc_pipe); interface 1840 drivers/media/usb/cx231xx/cx231xx-cards.c uif = udev->actconfig->interface[idx]; interface 1918 drivers/media/usb/cx231xx/cx231xx-cards.c usb_set_intfdata(interface, NULL); interface 1930 drivers/media/usb/cx231xx/cx231xx-cards.c static void cx231xx_usb_disconnect(struct usb_interface *interface) interface 1934 drivers/media/usb/cx231xx/cx231xx-cards.c dev = usb_get_intfdata(interface); interface 1935 drivers/media/usb/cx231xx/cx231xx-cards.c usb_set_intfdata(interface, NULL); interface 3836 drivers/media/usb/em28xx/em28xx-cards.c struct usb_interface *uif = udev->config->interface[i]; interface 34 drivers/media/usb/go7007/go7007-loader.c static int go7007_loader_probe(struct usb_interface *interface, interface 44 drivers/media/usb/go7007/go7007-loader.c usbdev = usb_get_dev(interface_to_usbdev(interface)); interface 49 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, "can't handle multiple config\n"); interface 68 drivers/media/usb/go7007/go7007-loader.c dev_info(&interface->dev, "loading firmware %s\n", fw1); interface 71 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, interface 78 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, "loader download failed\n"); interface 86 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, interface 93 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, "firmware download failed\n"); interface 100 drivers/media/usb/go7007/go7007-loader.c dev_err(&interface->dev, "probe failed\n"); interface 104 drivers/media/usb/go7007/go7007-loader.c static void go7007_loader_disconnect(struct usb_interface *interface) interface 106 drivers/media/usb/go7007/go7007-loader.c dev_info(&interface->dev, "disconnect\n"); interface 107 drivers/media/usb/go7007/go7007-loader.c usb_put_dev(interface_to_usbdev(interface)); interface 108 drivers/media/usb/go7007/go7007-loader.c usb_set_intfdata(interface, NULL); interface 1480 drivers/media/usb/gspca/gspca.c intf2 = dev->actconfig->interface[i]; interface 4949 drivers/media/usb/gspca/topro.c static int sd_probe(struct usb_interface *interface, interface 4952 drivers/media/usb/gspca/topro.c return gspca_dev_probe(interface, id, &sd_desc, sizeof(struct sd), interface 264 drivers/media/usb/hdpvr/hdpvr-core.c static int hdpvr_probe(struct usb_interface *interface, interface 281 drivers/media/usb/hdpvr/hdpvr-core.c dev_err(&interface->dev, "Out of memory\n"); interface 291 drivers/media/usb/hdpvr/hdpvr-core.c if (v4l2_device_register(&interface->dev, &dev->v4l2_dev)) { interface 292 drivers/media/usb/hdpvr/hdpvr-core.c dev_err(&interface->dev, "v4l2_device_register failed\n"); interface 320 drivers/media/usb/hdpvr/hdpvr-core.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 324 drivers/media/usb/hdpvr/hdpvr-core.c iface_desc = interface->cur_altsetting; interface 382 drivers/media/usb/hdpvr/hdpvr-core.c retval = hdpvr_register_videodev(dev, &interface->dev, interface 411 drivers/media/usb/hdpvr/hdpvr-core.c static void hdpvr_disconnect(struct usb_interface *interface) interface 413 drivers/media/usb/hdpvr/hdpvr-core.c struct hdpvr_device *dev = to_hdpvr_dev(usb_get_intfdata(interface)); interface 255 drivers/media/usb/s2255/s2255drv.c struct usb_interface *interface; interface 1594 drivers/media/usb/s2255/s2255drv.c ret = v4l2_device_register(&dev->interface->dev, &dev->v4l2_dev); interface 2201 drivers/media/usb/s2255/s2255drv.c static int s2255_probe(struct usb_interface *interface, interface 2215 drivers/media/usb/s2255/s2255drv.c s2255_dev_err(&interface->dev, "out of memory\n"); interface 2221 drivers/media/usb/s2255/s2255drv.c s2255_dev_err(&interface->dev, "out of memory\n"); interface 2233 drivers/media/usb/s2255/s2255drv.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 2235 drivers/media/usb/s2255/s2255drv.c dev_err(&interface->dev, "null usb device\n"); interface 2239 drivers/media/usb/s2255/s2255drv.c dev_dbg(&interface->dev, "dev: %p, udev %p interface %p\n", interface 2240 drivers/media/usb/s2255/s2255drv.c dev, dev->udev, interface); interface 2241 drivers/media/usb/s2255/s2255drv.c dev->interface = interface; interface 2243 drivers/media/usb/s2255/s2255drv.c iface_desc = interface->cur_altsetting; interface 2244 drivers/media/usb/s2255/s2255drv.c dev_dbg(&interface->dev, "num EP: %d\n", interface 2255 drivers/media/usb/s2255/s2255drv.c dev_err(&interface->dev, "Could not find bulk-in endpoint\n"); interface 2276 drivers/media/usb/s2255/s2255drv.c dev_err(&interface->dev, "out of memory!\n"); interface 2282 drivers/media/usb/s2255/s2255drv.c dev_err(&interface->dev, "sensoray 2255 failed to get firmware\n"); interface 2290 drivers/media/usb/s2255/s2255drv.c dev_err(&interface->dev, "Firmware invalid.\n"); interface 2316 drivers/media/usb/s2255/s2255drv.c dev_info(&interface->dev, "Sensoray 2255 detected\n"); interface 2341 drivers/media/usb/s2255/s2255drv.c static void s2255_disconnect(struct usb_interface *interface) interface 2343 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(usb_get_intfdata(interface)); interface 2365 drivers/media/usb/s2255/s2255drv.c dev_info(&interface->dev, "%s\n", __func__); interface 264 drivers/media/usb/stk1160/stk1160-core.c static int stk1160_probe(struct usb_interface *interface, interface 273 drivers/media/usb/stk1160/stk1160-core.c udev = interface_to_usbdev(interface); interface 279 drivers/media/usb/stk1160/stk1160-core.c if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) interface 283 drivers/media/usb/stk1160/stk1160-core.c alt_max_pkt_size = kmalloc_array(interface->num_altsetting, interface 293 drivers/media/usb/stk1160/stk1160-core.c rc = stk1160_scan_usb(interface, udev, alt_max_pkt_size); interface 307 drivers/media/usb/stk1160/stk1160-core.c dev->num_alt = interface->num_altsetting; interface 311 drivers/media/usb/stk1160/stk1160-core.c dev->dev = &interface->dev; interface 313 drivers/media/usb/stk1160/stk1160-core.c usb_set_intfdata(interface, dev); interface 389 drivers/media/usb/stk1160/stk1160-core.c static void stk1160_disconnect(struct usb_interface *interface) interface 393 drivers/media/usb/stk1160/stk1160-core.c dev = usb_get_intfdata(interface); interface 394 drivers/media/usb/stk1160/stk1160-core.c usb_set_intfdata(interface, NULL); interface 628 drivers/media/usb/stkwebcam/stk-webcam.c usb_autopm_get_interface(dev->interface); interface 646 drivers/media/usb/stkwebcam/stk-webcam.c usb_autopm_put_interface(dev->interface); interface 1236 drivers/media/usb/stkwebcam/stk-webcam.c usb_put_intf(dev->interface); interface 1269 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_camera_probe(struct usb_interface *interface, interface 1277 drivers/media/usb/stkwebcam/stk-webcam.c struct usb_device *udev = interface_to_usbdev(interface); interface 1286 drivers/media/usb/stkwebcam/stk-webcam.c err = v4l2_device_register(&interface->dev, &dev->v4l2_dev); interface 1313 drivers/media/usb/stkwebcam/stk-webcam.c dev->interface = interface; interface 1314 drivers/media/usb/stkwebcam/stk-webcam.c usb_get_intf(interface); interface 1334 drivers/media/usb/stkwebcam/stk-webcam.c iface_desc = interface->cur_altsetting; interface 1358 drivers/media/usb/stkwebcam/stk-webcam.c usb_set_intfdata(interface, dev); interface 1373 drivers/media/usb/stkwebcam/stk-webcam.c static void stk_camera_disconnect(struct usb_interface *interface) interface 1375 drivers/media/usb/stkwebcam/stk-webcam.c struct stk_camera *dev = usb_get_intfdata(interface); interface 1377 drivers/media/usb/stkwebcam/stk-webcam.c usb_set_intfdata(interface, NULL); interface 80 drivers/media/usb/stkwebcam/stk-webcam.h struct usb_interface *interface; interface 1172 drivers/media/usb/tm6000/tm6000-cards.c static int tm6000_usb_probe(struct usb_interface *interface, interface 1181 drivers/media/usb/tm6000/tm6000-cards.c usbdev = usb_get_dev(interface_to_usbdev(interface)); interface 1232 drivers/media/usb/tm6000/tm6000-cards.c for (i = 0; i < interface->num_altsetting; i++) { interface 1235 drivers/media/usb/tm6000/tm6000-cards.c for (ep = 0; ep < interface->altsetting[i].desc.bNumEndpoints; ep++) { interface 1239 drivers/media/usb/tm6000/tm6000-cards.c e = &interface->altsetting[i].endpoint[ep]; interface 1246 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting[i].desc.bInterfaceNumber, interface 1247 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting[i].desc.bInterfaceClass); interface 1253 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1258 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1266 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1271 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1279 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1284 drivers/media/usb/tm6000/tm6000-cards.c &interface->altsetting[i], interface 1298 drivers/media/usb/tm6000/tm6000-cards.c interface->altsetting->desc.bInterfaceNumber); interface 1308 drivers/media/usb/tm6000/tm6000-cards.c usb_set_intfdata(interface, dev); interface 1334 drivers/media/usb/tm6000/tm6000-cards.c static void tm6000_usb_disconnect(struct usb_interface *interface) interface 1336 drivers/media/usb/tm6000/tm6000-cards.c struct tm6000_core *dev = usb_get_intfdata(interface); interface 1337 drivers/media/usb/tm6000/tm6000-cards.c usb_set_intfdata(interface, NULL); interface 113 drivers/media/usb/ttusb-dec/ttusb_dec.c enum ttusb_dec_interface interface; interface 895 drivers/media/usb/ttusb-dec/ttusb_dec.c enum ttusb_dec_interface interface) interface 900 drivers/media/usb/ttusb-dec/ttusb_dec.c if (interface != dec->interface) { interface 901 drivers/media/usb/ttusb-dec/ttusb_dec.c switch (interface) { interface 920 drivers/media/usb/ttusb-dec/ttusb_dec.c dec->interface = interface; interface 1582 drivers/media/usb/ttusb-dec/ttusb_dec.c if (dec->interface == TTUSB_DEC_INTERFACE_IN) interface 23 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 37 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 53 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 67 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 83 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 99 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 113 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 129 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 143 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 159 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 175 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 191 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 205 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 219 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 235 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 251 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 265 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 279 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 293 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 307 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 321 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 335 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 349 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 363 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 377 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 393 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 409 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 425 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 441 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 457 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 473 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 489 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 505 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 521 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 537 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 553 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 569 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 585 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 601 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 617 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 633 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 649 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 665 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 681 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 697 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 713 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 727 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 743 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 759 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 775 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 791 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 807 drivers/media/usb/usbvision/usbvision-cards.c .interface = 0, interface 823 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 837 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 851 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 865 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 879 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 893 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 907 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 923 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 939 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 955 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 971 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 987 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 1003 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 1017 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 1031 drivers/media/usb/usbvision/usbvision-cards.c .interface = -1, interface 1417 drivers/media/usb/usbvision/usbvision-video.c const struct usb_host_interface *interface; interface 1435 drivers/media/usb/usbvision/usbvision-video.c if (usbvision_device_data[model].interface >= 0) interface 1436 drivers/media/usb/usbvision/usbvision-video.c interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0]; interface 1438 drivers/media/usb/usbvision/usbvision-video.c interface = &dev->actconfig->interface[ifnum]->altsetting[0]; interface 1446 drivers/media/usb/usbvision/usbvision-video.c if (interface->desc.bNumEndpoints < 2) { interface 1448 drivers/media/usb/usbvision/usbvision-video.c ifnum, interface->desc.bNumEndpoints); interface 1452 drivers/media/usb/usbvision/usbvision-video.c endpoint = &interface->endpoint[1].desc; interface 1485 drivers/media/usb/usbvision/usbvision-video.c uif = dev->actconfig->interface[0]; interface 322 drivers/media/usb/usbvision/usbvision.h int interface; /* to handle special interface number like BELKIN and Hauppauge WinTV-USB II */ interface 159 drivers/media/usb/zr364xx/zr364xx.c struct usb_interface *interface;/* the interface for this device */ interface 100 drivers/mfd/dln2.c struct usb_interface *interface; interface 196 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 243 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 417 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 435 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 545 drivers/mfd/dln2.c dev_err(&dln2->interface->dev, "Device ID 0x%x not supported\n", interface 558 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 633 drivers/mfd/dln2.c struct device *dev = &dln2->interface->dev; interface 715 drivers/mfd/dln2.c static void dln2_disconnect(struct usb_interface *interface) interface 717 drivers/mfd/dln2.c struct dln2_dev *dln2 = usb_get_intfdata(interface); interface 721 drivers/mfd/dln2.c mfd_remove_devices(&interface->dev); interface 726 drivers/mfd/dln2.c static int dln2_probe(struct usb_interface *interface, interface 729 drivers/mfd/dln2.c struct usb_host_interface *hostif = interface->cur_altsetting; interface 732 drivers/mfd/dln2.c struct device *dev = &interface->dev; interface 754 drivers/mfd/dln2.c dln2->usb_dev = usb_get_dev(interface_to_usbdev(interface)); interface 755 drivers/mfd/dln2.c dln2->interface = interface; interface 756 drivers/mfd/dln2.c usb_set_intfdata(interface, dln2); interface 47 drivers/mfd/viperboard.c static int vprbrd_probe(struct usb_interface *interface, interface 62 drivers/mfd/viperboard.c vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); interface 65 drivers/mfd/viperboard.c usb_set_intfdata(interface, vb); interface 84 drivers/mfd/viperboard.c dev_info(&interface->dev, interface 89 drivers/mfd/viperboard.c ret = mfd_add_hotplug_devices(&interface->dev, vprbrd_devs, interface 92 drivers/mfd/viperboard.c dev_err(&interface->dev, "Failed to add mfd devices to core."); interface 107 drivers/mfd/viperboard.c static void vprbrd_disconnect(struct usb_interface *interface) interface 109 drivers/mfd/viperboard.c struct vprbrd *vb = usb_get_intfdata(interface); interface 111 drivers/mfd/viperboard.c mfd_remove_devices(&interface->dev); interface 112 drivers/mfd/viperboard.c usb_set_intfdata(interface, NULL); interface 116 drivers/mfd/viperboard.c dev_dbg(&interface->dev, "disconnected\n"); interface 277 drivers/mmc/host/vub300.c static inline int interface_to_InterfaceNumber(struct usb_interface *interface) interface 279 drivers/mmc/host/vub300.c if (!interface) interface 281 drivers/mmc/host/vub300.c if (!interface->cur_altsetting) interface 283 drivers/mmc/host/vub300.c return interface->cur_altsetting->desc.bInterfaceNumber; interface 298 drivers/mmc/host/vub300.c struct usb_interface *interface; interface 681 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 712 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 745 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 1608 drivers/mmc/host/vub300.c vub300->interface); interface 1743 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 1902 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 1923 drivers/mmc/host/vub300.c if (!vub300->interface) { interface 2007 drivers/mmc/host/vub300.c if (!vub300->interface) interface 2048 drivers/mmc/host/vub300.c if (!vub300->interface) interface 2087 drivers/mmc/host/vub300.c static int vub300_probe(struct usb_interface *interface, interface 2092 drivers/mmc/host/vub300.c struct usb_device *udev = usb_get_dev(interface_to_usbdev(interface)); interface 2205 drivers/mmc/host/vub300.c vub300->interface = interface; interface 2224 drivers/mmc/host/vub300.c iface_desc = interface->cur_altsetting; interface 2318 drivers/mmc/host/vub300.c usb_set_intfdata(interface, vub300); interface 2333 drivers/mmc/host/vub300.c interface_to_InterfaceNumber(interface)); interface 2338 drivers/mmc/host/vub300.c interface_to_InterfaceNumber(interface)); interface 2356 drivers/mmc/host/vub300.c static void vub300_disconnect(struct usb_interface *interface) interface 2358 drivers/mmc/host/vub300.c struct vub300_mmc_host *vub300 = usb_get_intfdata(interface); interface 2366 drivers/mmc/host/vub300.c int ifnum = interface_to_InterfaceNumber(interface); interface 2367 drivers/mmc/host/vub300.c usb_set_intfdata(interface, NULL); interface 2369 drivers/mmc/host/vub300.c vub300->interface = NULL; interface 1114 drivers/net/dsa/b53/b53_common.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 1116 drivers/net/dsa/b53/b53_common.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) interface 1122 drivers/net/dsa/b53/b53_common.c phy_modes(phydev->interface)); interface 1186 drivers/net/dsa/b53/b53_common.c if (state->interface != PHY_INTERFACE_MODE_MII && interface 1187 drivers/net/dsa/b53/b53_common.c state->interface != PHY_INTERFACE_MODE_REVMII && interface 1188 drivers/net/dsa/b53/b53_common.c !phy_interface_mode_is_8023z(state->interface) && interface 1194 drivers/net/dsa/b53/b53_common.c if (!phy_interface_mode_is_8023z(state->interface)) { interface 1216 drivers/net/dsa/b53/b53_common.c if ((phy_interface_mode_is_8023z(state->interface) || interface 1217 drivers/net/dsa/b53/b53_common.c state->interface == PHY_INTERFACE_MODE_SGMII) && interface 1240 drivers/net/dsa/b53/b53_common.c if ((phy_interface_mode_is_8023z(state->interface) || interface 1241 drivers/net/dsa/b53/b53_common.c state->interface == PHY_INTERFACE_MODE_SGMII) && interface 1258 drivers/net/dsa/b53/b53_common.c phy_interface_t interface) interface 1270 drivers/net/dsa/b53/b53_common.c if (phy_interface_mode_is_8023z(interface) && interface 1272 drivers/net/dsa/b53/b53_common.c dev->ops->serdes_link_set(dev, port, mode, interface, false); interface 1278 drivers/net/dsa/b53/b53_common.c phy_interface_t interface, interface 1291 drivers/net/dsa/b53/b53_common.c if (phy_interface_mode_is_8023z(interface) && interface 1293 drivers/net/dsa/b53/b53_common.c dev->ops->serdes_link_set(dev, port, mode, interface, true); interface 57 drivers/net/dsa/b53/b53_priv.h unsigned int mode, phy_interface_t interface, interface 336 drivers/net/dsa/b53/b53_priv.h phy_interface_t interface); interface 339 drivers/net/dsa/b53/b53_priv.h phy_interface_t interface, interface 74 drivers/net/dsa/b53/b53_serdes.c if (state->interface == PHY_INTERFACE_MODE_1000BASEX) interface 142 drivers/net/dsa/b53/b53_serdes.c phy_interface_t interface, bool link_up) interface 117 drivers/net/dsa/b53/b53_serdes.h phy_interface_t interface, bool link_up); interface 494 drivers/net/dsa/bcm_sf2.c if (!phy_interface_mode_is_rgmii(state->interface) && interface 495 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_MII && interface 496 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_REVMII && interface 497 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_GMII && interface 498 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_INTERNAL && interface 499 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_MOCA) { interface 504 drivers/net/dsa/bcm_sf2.c state->interface, port); interface 517 drivers/net/dsa/bcm_sf2.c if (state->interface != PHY_INTERFACE_MODE_MII && interface 518 drivers/net/dsa/bcm_sf2.c state->interface != PHY_INTERFACE_MODE_REVMII) { interface 550 drivers/net/dsa/bcm_sf2.c switch (state->interface) { interface 609 drivers/net/dsa/bcm_sf2.c phy_interface_t interface, bool link) interface 614 drivers/net/dsa/bcm_sf2.c if (!phy_interface_mode_is_rgmii(interface) && interface 615 drivers/net/dsa/bcm_sf2.c interface != PHY_INTERFACE_MODE_MII && interface 616 drivers/net/dsa/bcm_sf2.c interface != PHY_INTERFACE_MODE_REVMII) interface 630 drivers/net/dsa/bcm_sf2.c phy_interface_t interface) interface 632 drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_set(ds, port, interface, false); interface 637 drivers/net/dsa/bcm_sf2.c phy_interface_t interface, interface 643 drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_mac_link_set(ds, port, interface, true); interface 1403 drivers/net/dsa/lantiq_gswip.c if (!phy_interface_mode_is_rgmii(state->interface) && interface 1404 drivers/net/dsa/lantiq_gswip.c state->interface != PHY_INTERFACE_MODE_MII && interface 1405 drivers/net/dsa/lantiq_gswip.c state->interface != PHY_INTERFACE_MODE_REVMII && interface 1406 drivers/net/dsa/lantiq_gswip.c state->interface != PHY_INTERFACE_MODE_RMII) interface 1412 drivers/net/dsa/lantiq_gswip.c if (state->interface != PHY_INTERFACE_MODE_INTERNAL) interface 1416 drivers/net/dsa/lantiq_gswip.c if (!phy_interface_mode_is_rgmii(state->interface) && interface 1417 drivers/net/dsa/lantiq_gswip.c state->interface != PHY_INTERFACE_MODE_INTERNAL) interface 1435 drivers/net/dsa/lantiq_gswip.c if (state->interface != PHY_INTERFACE_MODE_MII && interface 1436 drivers/net/dsa/lantiq_gswip.c state->interface != PHY_INTERFACE_MODE_REVMII) { interface 1454 drivers/net/dsa/lantiq_gswip.c dev_err(ds->dev, "Unsupported interface: %d\n", state->interface); interface 1467 drivers/net/dsa/lantiq_gswip.c switch (state->interface) { interface 1486 drivers/net/dsa/lantiq_gswip.c "Unsupported interface: %d\n", state->interface); interface 1491 drivers/net/dsa/lantiq_gswip.c switch (state->interface) { interface 1509 drivers/net/dsa/lantiq_gswip.c phy_interface_t interface) interface 1518 drivers/net/dsa/lantiq_gswip.c phy_interface_t interface, interface 1524 drivers/net/dsa/lantiq_gswip.c if (interface != PHY_INTERFACE_MODE_INTERNAL) interface 947 drivers/net/dsa/microchip/ksz8795.c switch (dev->interface) { interface 963 drivers/net/dsa/microchip/ksz8795.c if (dev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 964 drivers/net/dsa/microchip/ksz8795.c dev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 966 drivers/net/dsa/microchip/ksz8795.c if (dev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 967 drivers/net/dsa/microchip/ksz8795.c dev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 1096 drivers/net/dsa/microchip/ksz9477.c phy_interface_t interface; interface 1108 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_GMII; interface 1113 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_MII; interface 1116 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_RMII; interface 1119 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_RGMII; interface 1121 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_RGMII_TXID; interface 1123 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_RGMII_RXID; interface 1125 drivers/net/dsa/microchip/ksz9477.c interface = PHY_INTERFACE_MODE_RGMII_ID; interface 1129 drivers/net/dsa/microchip/ksz9477.c return interface; interface 1236 drivers/net/dsa/microchip/ksz9477.c switch (dev->interface) { interface 1257 drivers/net/dsa/microchip/ksz9477.c if (dev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 1258 drivers/net/dsa/microchip/ksz9477.c dev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 1260 drivers/net/dsa/microchip/ksz9477.c if (dev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 1261 drivers/net/dsa/microchip/ksz9477.c dev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 1300 drivers/net/dsa/microchip/ksz9477.c phy_interface_t interface; interface 1310 drivers/net/dsa/microchip/ksz9477.c interface = ksz9477_get_interface(dev, i); interface 1311 drivers/net/dsa/microchip/ksz9477.c if (!dev->interface) interface 1312 drivers/net/dsa/microchip/ksz9477.c dev->interface = interface; interface 1313 drivers/net/dsa/microchip/ksz9477.c if (interface && interface != dev->interface) interface 1316 drivers/net/dsa/microchip/ksz9477.c phy_modes(dev->interface), interface 1317 drivers/net/dsa/microchip/ksz9477.c phy_modes(interface)); interface 458 drivers/net/dsa/microchip/ksz_common.c dev->interface = ret; interface 75 drivers/net/dsa/microchip/ksz_common.h phy_interface_t interface; interface 563 drivers/net/dsa/mt7530.c static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) interface 593 drivers/net/dsa/mt7530.c interface = PHY_INTERFACE_MODE_NA; interface 602 drivers/net/dsa/mt7530.c if (phy_interface_mode_is_rgmii(interface)) { interface 610 drivers/net/dsa/mt7530.c (interface == PHY_INTERFACE_MODE_RGMII_TXID || interface 611 drivers/net/dsa/mt7530.c interface == PHY_INTERFACE_MODE_RGMII_ID)) interface 626 drivers/net/dsa/mt7530.c val, p5_intf_modes(priv->p5_intf_sel), phy_modes(interface)); interface 628 drivers/net/dsa/mt7530.c priv->p5_interface = interface; interface 1177 drivers/net/dsa/mt7530.c phy_interface_t interface; interface 1268 drivers/net/dsa/mt7530.c interface = PHY_INTERFACE_MODE_NA; interface 1272 drivers/net/dsa/mt7530.c interface = of_get_phy_mode(ds->ports[5].dn); interface 1289 drivers/net/dsa/mt7530.c interface = of_get_phy_mode(mac_np); interface 1301 drivers/net/dsa/mt7530.c mt7530_setup_port5(ds, interface); interface 1324 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_GMII) interface 1328 drivers/net/dsa/mt7530.c if (priv->p5_interface == state->interface) interface 1330 drivers/net/dsa/mt7530.c if (!phy_interface_mode_is_rgmii(state->interface) && interface 1331 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_MII && interface 1332 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_GMII) interface 1335 drivers/net/dsa/mt7530.c mt7530_setup_port5(ds, state->interface); interface 1338 drivers/net/dsa/mt7530.c if (priv->p6_interface == state->interface) interface 1341 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_RGMII && interface 1342 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_TRGMII) interface 1346 drivers/net/dsa/mt7530.c mt7530_pad_clk_setup(ds, state->interface); interface 1348 drivers/net/dsa/mt7530.c priv->p6_interface = state->interface; interface 1394 drivers/net/dsa/mt7530.c phy_interface_t interface) interface 1403 drivers/net/dsa/mt7530.c phy_interface_t interface, interface 1423 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 1424 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_GMII) interface 1428 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 1429 drivers/net/dsa/mt7530.c !phy_interface_mode_is_rgmii(state->interface) && interface 1430 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_MII && interface 1431 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_GMII) interface 1435 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 1436 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_RGMII && interface 1437 drivers/net/dsa/mt7530.c state->interface != PHY_INTERFACE_MODE_TRGMII) interface 1450 drivers/net/dsa/mt7530.c if (state->interface == PHY_INTERFACE_MODE_TRGMII) { interface 1458 drivers/net/dsa/mt7530.c if (state->interface != PHY_INTERFACE_MODE_MII) { interface 421 drivers/net/dsa/mv88e6xxx/chip.c (state.interface == mode || interface 422 drivers/net/dsa/mv88e6xxx/chip.c state.interface == PHY_INTERFACE_MODE_NA)) interface 482 drivers/net/dsa/mv88e6xxx/chip.c if (!phy_interface_mode_is_8023z(state->interface)) { interface 625 drivers/net/dsa/mv88e6xxx/chip.c state->interface); interface 647 drivers/net/dsa/mv88e6xxx/chip.c phy_interface_t interface) interface 654 drivers/net/dsa/mv88e6xxx/chip.c unsigned int mode, phy_interface_t interface, interface 650 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_NA; interface 670 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_RGMII_ID; interface 672 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_RGMII_RXID; interface 674 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_RGMII_TXID; interface 676 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_RGMII; interface 679 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_1000BASEX; interface 682 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_SGMII; interface 685 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_2500BASEX; interface 688 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_XAUI; interface 691 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_RXAUI; interface 695 drivers/net/dsa/mv88e6xxx/port.c state->interface = PHY_INTERFACE_MODE_NA; interface 733 drivers/net/dsa/mv88e6xxx/port.c if (state->interface == PHY_INTERFACE_MODE_1000BASEX) { interface 783 drivers/net/dsa/sja1105/sja1105_main.c phy_interface_t interface) interface 791 drivers/net/dsa/sja1105/sja1105_main.c switch (interface) { interface 812 drivers/net/dsa/sja1105/sja1105_main.c if (sja1105_phy_mode_mismatch(priv, port, state->interface)) interface 825 drivers/net/dsa/sja1105/sja1105_main.c phy_interface_t interface) interface 832 drivers/net/dsa/sja1105/sja1105_main.c phy_interface_t interface, interface 856 drivers/net/dsa/sja1105/sja1105_main.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 857 drivers/net/dsa/sja1105/sja1105_main.c sja1105_phy_mode_mismatch(priv, port, state->interface)) { interface 846 drivers/net/dsa/vitesse-vsc73xx-core.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) interface 223 drivers/net/ethernet/arc/emac.h int arc_emac_probe(struct net_device *ndev, int interface); interface 25 drivers/net/ethernet/arc/emac_arc.c int interface, err; interface 40 drivers/net/ethernet/arc/emac_arc.c interface = of_get_phy_mode(dev->of_node); interface 41 drivers/net/ethernet/arc/emac_arc.c if (interface < 0) interface 42 drivers/net/ethernet/arc/emac_arc.c interface = PHY_INTERFACE_MODE_MII; interface 51 drivers/net/ethernet/arc/emac_arc.c err = arc_emac_probe(ndev, interface); interface 866 drivers/net/ethernet/arc/emac_main.c int arc_emac_probe(struct net_device *ndev, int interface) interface 991 drivers/net/ethernet/arc/emac_main.c interface); interface 101 drivers/net/ethernet/arc/emac_rockchip.c int err, interface; interface 117 drivers/net/ethernet/arc/emac_rockchip.c interface = of_get_phy_mode(dev->of_node); interface 120 drivers/net/ethernet/arc/emac_rockchip.c if (interface != PHY_INTERFACE_MODE_RMII) { interface 121 drivers/net/ethernet/arc/emac_rockchip.c dev_err(dev, "unsupported phy interface mode %d\n", interface); interface 225 drivers/net/ethernet/arc/emac_rockchip.c err = arc_emac_probe(ndev, interface); interface 1440 drivers/net/ethernet/broadcom/tg3.c if (phydev->interface != PHY_INTERFACE_MODE_RGMII) { interface 1580 drivers/net/ethernet/broadcom/tg3.c phydev->interface = PHY_INTERFACE_MODE_GMII; interface 1597 drivers/net/ethernet/broadcom/tg3.c phydev->interface = PHY_INTERFACE_MODE_RGMII; interface 1601 drivers/net/ethernet/broadcom/tg3.c phydev->interface = PHY_INTERFACE_MODE_MII; interface 2108 drivers/net/ethernet/broadcom/tg3.c tg3_adjust_link, phydev->interface); interface 2115 drivers/net/ethernet/broadcom/tg3.c switch (phydev->interface) { interface 307 drivers/net/ethernet/cortina/gemini.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) interface 314 drivers/net/ethernet/cortina/gemini.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) interface 321 drivers/net/ethernet/cortina/gemini.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) interface 379 drivers/net/ethernet/cortina/gemini.c switch (phy->interface) { interface 621 drivers/net/ethernet/freescale/gianfar.c phy_interface_t interface = priv->interface; interface 626 drivers/net/ethernet/freescale/gianfar.c if (interface == PHY_INTERFACE_MODE_RGMII_ID) interface 810 drivers/net/ethernet/freescale/gianfar.c priv->interface = err; interface 812 drivers/net/ethernet/freescale/gianfar.c priv->interface = gfar_get_interface(dev); interface 1674 drivers/net/ethernet/freescale/gianfar.c phy_interface_t interface = priv->interface; interface 1691 drivers/net/ethernet/freescale/gianfar.c interface); interface 1697 drivers/net/ethernet/freescale/gianfar.c if (interface == PHY_INTERFACE_MODE_SGMII) interface 1119 drivers/net/ethernet/freescale/gianfar.h phy_interface_t interface; interface 750 drivers/net/ethernet/hisilicon/hisi_femac.c if (priv->ndev->phydev->interface == PHY_INTERFACE_MODE_RMII) interface 855 drivers/net/ethernet/hisilicon/hisi_femac.c phy_modes(phy->interface)); interface 412 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h #define MAC_MAKE_MODE(interface, speed) (enum mac_mode)((interface) | (speed)) interface 2651 drivers/net/ethernet/ibm/emac/core.c dev->phy.mode = dev->phy_dev->interface; interface 186 drivers/net/ethernet/intel/fm10k/fm10k.h struct fm10k_intfc *interface; interface 399 drivers/net/ethernet/intel/fm10k/fm10k.h static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) interface 401 drivers/net/ethernet/intel/fm10k/fm10k.h spin_lock(&interface->mbx_lock); interface 404 drivers/net/ethernet/intel/fm10k/fm10k.h static inline void fm10k_mbx_unlock(struct fm10k_intfc *interface) interface 406 drivers/net/ethernet/intel/fm10k/fm10k.h spin_unlock(&interface->mbx_lock); interface 409 drivers/net/ethernet/intel/fm10k/fm10k.h static inline int fm10k_mbx_trylock(struct fm10k_intfc *interface) interface 411 drivers/net/ethernet/intel/fm10k/fm10k.h return spin_trylock(&interface->mbx_lock); interface 480 drivers/net/ethernet/intel/fm10k/fm10k.h int fm10k_init_queueing_scheme(struct fm10k_intfc *interface); interface 481 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface); interface 485 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_tx_timeout_reset(struct fm10k_intfc *interface); interface 493 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_qv_free_irq(struct fm10k_intfc *interface); interface 494 drivers/net/ethernet/intel/fm10k/fm10k.h int fm10k_qv_request_irq(struct fm10k_intfc *interface); interface 497 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_up(struct fm10k_intfc *interface); interface 498 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_down(struct fm10k_intfc *interface); interface 499 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_update_stats(struct fm10k_intfc *interface); interface 500 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_service_event_schedule(struct fm10k_intfc *interface); interface 501 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_macvlan_schedule(struct fm10k_intfc *interface); interface 502 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_update_rx_drop_en(struct fm10k_intfc *interface); interface 519 drivers/net/ethernet/intel/fm10k/fm10k.h int fm10k_queue_vlan_request(struct fm10k_intfc *interface, u32 vid, interface 521 drivers/net/ethernet/intel/fm10k/fm10k.h int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort, interface 523 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_clear_macvlan_queue(struct fm10k_intfc *interface, interface 528 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir); interface 531 drivers/net/ethernet/intel/fm10k/fm10k.h s32 fm10k_iov_event(struct fm10k_intfc *interface); interface 532 drivers/net/ethernet/intel/fm10k/fm10k.h s32 fm10k_iov_mbx(struct fm10k_intfc *interface); interface 537 drivers/net/ethernet/intel/fm10k/fm10k.h s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid); interface 550 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_dbg_intfc_init(struct fm10k_intfc *interface); interface 551 drivers/net/ethernet/intel/fm10k/fm10k.h void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface); interface 557 drivers/net/ethernet/intel/fm10k/fm10k.h static inline void fm10k_dbg_intfc_init(struct fm10k_intfc *interface) {} interface 558 drivers/net/ethernet/intel/fm10k/fm10k.h static inline void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface) {} interface 79 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c struct fm10k_intfc *interface = netdev_priv(dev); interface 83 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c pfc->pfc_en = interface->pfc_en; interface 95 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c struct fm10k_intfc *interface = netdev_priv(dev); interface 98 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c interface->pfc_en = pfc->pfc_en; interface 102 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c fm10k_update_rx_drop_en(interface); interface 148 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c struct fm10k_intfc *interface = netdev_priv(dev); interface 149 drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c struct fm10k_hw *hw = &interface->hw; interface 152 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c struct fm10k_intfc *interface = q_vector->interface; interface 156 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c if (!interface->dbg_intfc) interface 162 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c q_vector->dbg_q_vector = debugfs_create_dir(name, interface->dbg_intfc); interface 193 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c struct fm10k_intfc *interface = q_vector->interface; interface 195 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c if (interface->dbg_intfc) interface 205 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c void fm10k_dbg_intfc_init(struct fm10k_intfc *interface) interface 207 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c const char *name = pci_name(interface->pdev); interface 210 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c interface->dbg_intfc = debugfs_create_dir(name, dbg_root); interface 217 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface) interface 220 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c debugfs_remove_recursive(interface->dbg_intfc); interface 221 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c interface->dbg_intfc = NULL; interface 158 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 167 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (interface->hw.mac.type != fm10k_mac_vf) interface 170 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->hw.mac.max_queues; i++) { interface 199 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 200 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 264 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 268 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_update_stats(interface); interface 272 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_add_ethtool_stats(&data, interface, fm10k_gstrings_global_stats); interface 274 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_add_ethtool_stats(&data, &interface->hw.mbx, interface 277 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (interface->hw.mac.type != fm10k_mac_vf) { interface 278 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_add_ethtool_stats(&data, interface, interface 282 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->hw.mac.max_queues; i++) { interface 285 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ring = interface->tx_ring[i]; interface 289 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ring = interface->rx_ring[i]; interface 354 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 355 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 432 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 433 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 448 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 454 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c strncpy(info->bus_info, pci_name(interface->pdev), interface 461 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 467 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c pause->rx_pause = interface->rx_pause ? 1 : 0; interface 473 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 474 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 481 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rx_pause = pause->rx_pause ? ~0 : 0; interface 486 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_update_rx_drop_en(interface); interface 493 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 495 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c return interface->msg_enable; interface 500 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 502 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->msg_enable = data; interface 508 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 514 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ring->rx_pending = interface->rx_ring_count; interface 515 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ring->tx_pending = interface->tx_ring_count; interface 523 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 539 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if ((new_tx_count == interface->tx_ring_count) && interface 540 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c (new_rx_count == interface->rx_ring_count)) { interface 545 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c while (test_and_set_bit(__FM10K_RESETTING, interface->state)) interface 548 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (!netif_running(interface->netdev)) { interface 549 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_tx_queues; i++) interface 550 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring[i]->count = new_tx_count; interface 551 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_rx_queues; i++) interface 552 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rx_ring[i]->count = new_rx_count; interface 553 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring_count = new_tx_count; interface 554 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rx_ring_count = new_rx_count; interface 559 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c i = max_t(int, interface->num_tx_queues, interface->num_rx_queues); interface 567 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_down(interface); interface 574 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (new_tx_count != interface->tx_ring_count) { interface 575 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_tx_queues; i++) { interface 576 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c memcpy(&temp_ring[i], interface->tx_ring[i], interface 590 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_tx_queues; i++) { interface 591 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_free_tx_resources(interface->tx_ring[i]); interface 593 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c memcpy(interface->tx_ring[i], &temp_ring[i], interface 597 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring_count = new_tx_count; interface 601 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (new_rx_count != interface->rx_ring_count) { interface 602 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_rx_queues; i++) { interface 603 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c memcpy(&temp_ring[i], interface->rx_ring[i], interface 617 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_rx_queues; i++) { interface 618 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_free_rx_resources(interface->rx_ring[i]); interface 620 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c memcpy(interface->rx_ring[i], &temp_ring[i], interface 624 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rx_ring_count = new_rx_count; interface 628 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_up(interface); interface 631 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c clear_bit(__FM10K_RESETTING, interface->state); interface 638 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 640 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ec->use_adaptive_tx_coalesce = ITR_IS_ADAPTIVE(interface->tx_itr); interface 641 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ec->tx_coalesce_usecs = interface->tx_itr & ~FM10K_ITR_ADAPTIVE; interface 643 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ec->use_adaptive_rx_coalesce = ITR_IS_ADAPTIVE(interface->rx_itr); interface 644 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ec->rx_coalesce_usecs = interface->rx_itr & ~FM10K_ITR_ADAPTIVE; interface 652 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 673 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_itr = tx_itr; interface 674 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rx_itr = rx_itr; interface 677 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c for (i = 0; i < interface->num_q_vectors; i++) { interface 678 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_q_vector *qv = interface->q_vector[i]; interface 687 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c static int fm10k_get_rss_hash_opts(struct fm10k_intfc *interface, interface 700 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags)) interface 717 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags)) interface 731 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 736 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c cmd->data = interface->num_rx_queues; interface 740 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ret = fm10k_get_rss_hash_opts(interface, cmd); interface 749 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c static int fm10k_set_rss_hash_opt(struct fm10k_intfc *interface, interface 753 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 755 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 780 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 784 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 797 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 801 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags); interface 830 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags)) || interface 832 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags))) { interface 833 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 844 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags)) { interface 849 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->flags)) { interface 858 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c netif_warn(interface, drv, interface->netdev, interface 869 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 874 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ret = fm10k_set_rss_hash_opt(interface, cmd); interface 883 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c static int fm10k_mbx_test(struct fm10k_intfc *interface, u64 *data) interface 885 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 902 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_mbx_lock(interface); interface 905 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_mbx_unlock(interface); interface 915 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_mbx_lock(interface); interface 917 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_mbx_unlock(interface); interface 937 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 938 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 943 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c netif_err(interface, drv, dev, interface 949 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (fm10k_mbx_test(interface, &data[FM10K_TEST_MBX])) interface 971 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c void fm10k_write_reta(struct fm10k_intfc *interface, const u32 *indir) interface 973 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c u16 rss_i = interface->ring_feature[RING_F_RSS].indices; interface 974 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 998 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (interface->reta[i] == reta) interface 1001 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->reta[i] = reta; interface 1008 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 1015 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c u32 reta = interface->reta[i]; interface 1028 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 1036 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c rss_i = interface->ring_feature[RING_F_RSS].indices; interface 1043 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_write_reta(interface, indir); interface 1056 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 1067 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c *(__le32 *)key = cpu_to_le32(interface->rssrk[i]); interface 1075 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 1076 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_hw *hw = &interface->hw; interface 1090 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (interface->rssrk[i] == rssrk) interface 1093 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->rssrk[i] = rssrk; interface 1102 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1103 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c unsigned int max_combined = interface->hw.mac.max_queues; interface 1116 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1126 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c ch->combined_count = interface->ring_feature[RING_F_RSS].indices; interface 1132 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1147 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->ring_feature[RING_F_RSS].limit = count; interface 12 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = hw->back; interface 13 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct pci_dev *pdev = interface->pdev; interface 37 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = hw->back; interface 111 drivers/net/ethernet/intel/fm10k/fm10k_iov.c err = fm10k_queue_mac_request(interface, vf_info->glort, interface 137 drivers/net/ethernet/intel/fm10k/fm10k_iov.c err = fm10k_queue_mac_request(interface, vf_info->glort, interface 152 drivers/net/ethernet/intel/fm10k/fm10k_iov.c s32 fm10k_iov_event(struct fm10k_intfc *interface) interface 154 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 160 drivers/net/ethernet/intel/fm10k/fm10k_iov.c if (!READ_ONCE(interface->iov_data)) interface 165 drivers/net/ethernet/intel/fm10k/fm10k_iov.c iov_data = interface->iov_data; interface 197 drivers/net/ethernet/intel/fm10k/fm10k_iov.c s32 fm10k_iov_mbx(struct fm10k_intfc *interface) interface 199 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 204 drivers/net/ethernet/intel/fm10k/fm10k_iov.c if (!READ_ONCE(interface->iov_data)) interface 209 drivers/net/ethernet/intel/fm10k/fm10k_iov.c iov_data = interface->iov_data; interface 216 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_mbx_lock(interface); interface 237 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_clear_macvlan_queue(interface, glort, false); interface 250 drivers/net/ethernet/intel/fm10k/fm10k_iov.c interface->hw_sm_mbx_full++; interface 253 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_service_event_schedule(interface); interface 274 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_mbx_unlock(interface); interface 284 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 285 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 286 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 302 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_clear_macvlan_queue(interface, vf_info->glort, false); interface 328 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 329 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 331 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 383 drivers/net/ethernet/intel/fm10k/fm10k_iov.c s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) interface 385 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 386 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 410 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 412 drivers/net/ethernet/intel/fm10k/fm10k_iov.c if (!interface->iov_data) interface 419 drivers/net/ethernet/intel/fm10k/fm10k_iov.c kfree_rcu(interface->iov_data, rcu); interface 420 drivers/net/ethernet/intel/fm10k/fm10k_iov.c interface->iov_data = NULL; interface 425 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 426 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 427 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 472 drivers/net/ethernet/intel/fm10k/fm10k_iov.c interface->iov_data = iov_data; interface 523 drivers/net/ethernet/intel/fm10k/fm10k_iov.c static inline void fm10k_reset_vf_info(struct fm10k_intfc *interface, interface 526 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 529 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_mbx_lock(interface); interface 534 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_clear_macvlan_queue(interface, vf_info->glort, false); interface 543 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_mbx_unlock(interface); interface 548 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 549 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 564 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_reset_vf_info(interface, vf_info); interface 572 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 573 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 574 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 601 drivers/net/ethernet/intel/fm10k/fm10k_iov.c fm10k_reset_vf_info(interface, vf_info); interface 609 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 610 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 611 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_hw *hw = &interface->hw; interface 634 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 635 drivers/net/ethernet/intel/fm10k/fm10k_iov.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 640 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_intfc *interface = netdev_priv(skb->dev); interface 644 drivers/net/ethernet/intel/fm10k/fm10k_main.c vxlan_port = list_first_entry_or_null(&interface->vxlan_port, interface 1125 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_intfc *interface = ring->q_vector->interface; interface 1126 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_hw *hw = &interface->hw; interface 1173 drivers/net/ethernet/intel/fm10k/fm10k_main.c void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) interface 1176 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!test_bit(__FM10K_DOWN, interface->state)) { interface 1177 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_timeout_count++; interface 1178 drivers/net/ethernet/intel/fm10k/fm10k_main.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1179 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_service_event_schedule(interface); interface 1192 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_intfc *interface = q_vector->interface; interface 1199 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (test_bit(__FM10K_DOWN, interface->state)) interface 1289 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_hw *hw = &interface->hw; interface 1291 drivers/net/ethernet/intel/fm10k/fm10k_main.c netif_err(interface, drv, tx_ring->netdev, interface 1305 drivers/net/ethernet/intel/fm10k/fm10k_main.c netif_info(interface, probe, tx_ring->netdev, interface 1307 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_timeout_count + 1, interface 1310 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_tx_timeout_reset(interface); interface 1329 drivers/net/ethernet/intel/fm10k/fm10k_main.c !test_bit(__FM10K_DOWN, interface->state)) { interface 1488 drivers/net/ethernet/intel/fm10k/fm10k_main.c static bool fm10k_set_qos_queues(struct fm10k_intfc *interface) interface 1490 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct net_device *dev = interface->netdev; interface 1502 drivers/net/ethernet/intel/fm10k/fm10k_main.c f = &interface->ring_feature[RING_F_QOS]; interface 1507 drivers/net/ethernet/intel/fm10k/fm10k_main.c rss_i = interface->hw.mac.max_queues / pcs; interface 1511 drivers/net/ethernet/intel/fm10k/fm10k_main.c f = &interface->ring_feature[RING_F_RSS]; interface 1520 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_rx_queues = rss_i * pcs; interface 1521 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_tx_queues = rss_i * pcs; interface 1534 drivers/net/ethernet/intel/fm10k/fm10k_main.c static bool fm10k_set_rss_queues(struct fm10k_intfc *interface) interface 1539 drivers/net/ethernet/intel/fm10k/fm10k_main.c f = &interface->ring_feature[RING_F_RSS]; interface 1540 drivers/net/ethernet/intel/fm10k/fm10k_main.c rss_i = min_t(u16, interface->hw.mac.max_queues, f->limit); interface 1546 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_rx_queues = rss_i; interface 1547 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_tx_queues = rss_i; interface 1563 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_set_num_queues(struct fm10k_intfc *interface) interface 1566 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (fm10k_set_qos_queues(interface)) interface 1570 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_set_rss_queues(interface); interface 1580 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_reset_num_queues(struct fm10k_intfc *interface) interface 1582 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_tx_queues = 0; interface 1583 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_rx_queues = 0; interface 1584 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_q_vectors = 0; interface 1599 drivers/net/ethernet/intel/fm10k/fm10k_main.c static int fm10k_alloc_q_vector(struct fm10k_intfc *interface, interface 1616 drivers/net/ethernet/intel/fm10k/fm10k_main.c netif_napi_add(interface->netdev, &q_vector->napi, interface 1620 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->q_vector[v_idx] = q_vector; interface 1621 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->interface = interface; interface 1630 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->tx.itr = interface->tx_itr; interface 1631 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->tx.itr_scale = interface->hw.mac.itr_scale; interface 1636 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->dev = &interface->pdev->dev; interface 1637 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->netdev = interface->netdev; interface 1643 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->count = interface->tx_ring_count; interface 1647 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_ring[txr_idx] = ring; interface 1659 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->rx.itr = interface->rx_itr; interface 1660 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->rx.itr_scale = interface->hw.mac.itr_scale; interface 1665 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->dev = &interface->pdev->dev; interface 1666 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->netdev = interface->netdev; interface 1667 drivers/net/ethernet/intel/fm10k/fm10k_main.c rcu_assign_pointer(ring->l2_accel, interface->l2_accel); interface 1673 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring->count = interface->rx_ring_count; interface 1677 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->rx_ring[rxr_idx] = ring; interface 1701 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx) interface 1703 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_q_vector *q_vector = interface->q_vector[v_idx]; interface 1709 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_ring[ring->queue_index] = NULL; interface 1712 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->rx_ring[ring->queue_index] = NULL; interface 1714 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->q_vector[v_idx] = NULL; interface 1726 drivers/net/ethernet/intel/fm10k/fm10k_main.c static int fm10k_alloc_q_vectors(struct fm10k_intfc *interface) interface 1728 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int q_vectors = interface->num_q_vectors; interface 1729 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int rxr_remaining = interface->num_rx_queues; interface 1730 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int txr_remaining = interface->num_tx_queues; interface 1736 drivers/net/ethernet/intel/fm10k/fm10k_main.c err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, interface 1751 drivers/net/ethernet/intel/fm10k/fm10k_main.c err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, interface 1768 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_reset_num_queues(interface); interface 1771 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_free_q_vector(interface, v_idx); interface 1784 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_free_q_vectors(struct fm10k_intfc *interface) interface 1786 drivers/net/ethernet/intel/fm10k/fm10k_main.c int v_idx = interface->num_q_vectors; interface 1788 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_reset_num_queues(interface); interface 1791 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_free_q_vector(interface, v_idx); interface 1800 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_reset_msix_capability(struct fm10k_intfc *interface) interface 1802 drivers/net/ethernet/intel/fm10k/fm10k_main.c pci_disable_msix(interface->pdev); interface 1803 drivers/net/ethernet/intel/fm10k/fm10k_main.c kfree(interface->msix_entries); interface 1804 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries = NULL; interface 1814 drivers/net/ethernet/intel/fm10k/fm10k_main.c static int fm10k_init_msix_capability(struct fm10k_intfc *interface) interface 1816 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_hw *hw = &interface->hw; interface 1825 drivers/net/ethernet/intel/fm10k/fm10k_main.c v_budget = max(interface->num_rx_queues, interface->num_tx_queues); interface 1840 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries = kcalloc(v_budget, sizeof(struct msix_entry), interface 1842 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!interface->msix_entries) interface 1847 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries[vector].entry = vector; interface 1850 drivers/net/ethernet/intel/fm10k/fm10k_main.c v_budget = pci_enable_msix_range(interface->pdev, interface 1851 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries, interface 1855 drivers/net/ethernet/intel/fm10k/fm10k_main.c kfree(interface->msix_entries); interface 1856 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->msix_entries = NULL; interface 1861 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->num_q_vectors = v_budget - NON_Q_VECTORS; interface 1872 drivers/net/ethernet/intel/fm10k/fm10k_main.c static bool fm10k_cache_ring_qos(struct fm10k_intfc *interface) interface 1874 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct net_device *dev = interface->netdev; interface 1876 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 pc_stride = interface->ring_feature[RING_F_QOS].mask + 1; interface 1882 drivers/net/ethernet/intel/fm10k/fm10k_main.c rss_i = interface->ring_feature[RING_F_RSS].indices; interface 1888 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_ring[offset + i]->reg_idx = q_idx; interface 1889 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_ring[offset + i]->qos_pc = pc; interface 1890 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->rx_ring[offset + i]->reg_idx = q_idx; interface 1891 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->rx_ring[offset + i]->qos_pc = pc; interface 1905 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_cache_ring_rss(struct fm10k_intfc *interface) interface 1909 drivers/net/ethernet/intel/fm10k/fm10k_main.c for (i = 0; i < interface->num_rx_queues; i++) interface 1910 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->rx_ring[i]->reg_idx = i; interface 1912 drivers/net/ethernet/intel/fm10k/fm10k_main.c for (i = 0; i < interface->num_tx_queues; i++) interface 1913 drivers/net/ethernet/intel/fm10k/fm10k_main.c interface->tx_ring[i]->reg_idx = i; interface 1924 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_assign_rings(struct fm10k_intfc *interface) interface 1926 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (fm10k_cache_ring_qos(interface)) interface 1929 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_cache_ring_rss(interface); interface 1932 drivers/net/ethernet/intel/fm10k/fm10k_main.c static void fm10k_init_reta(struct fm10k_intfc *interface) interface 1934 drivers/net/ethernet/intel/fm10k/fm10k_main.c u16 i, rss_i = interface->ring_feature[RING_F_RSS].indices; interface 1940 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (netif_is_rxfh_configured(interface->netdev)) { interface 1942 drivers/net/ethernet/intel/fm10k/fm10k_main.c reta = interface->reta[i]; interface 1950 drivers/net/ethernet/intel/fm10k/fm10k_main.c dev_err(&interface->pdev->dev, interface 1960 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_write_reta(interface, NULL); interface 1971 drivers/net/ethernet/intel/fm10k/fm10k_main.c int fm10k_init_queueing_scheme(struct fm10k_intfc *interface) interface 1976 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_set_num_queues(interface); interface 1979 drivers/net/ethernet/intel/fm10k/fm10k_main.c err = fm10k_init_msix_capability(interface); interface 1981 drivers/net/ethernet/intel/fm10k/fm10k_main.c dev_err(&interface->pdev->dev, interface 1987 drivers/net/ethernet/intel/fm10k/fm10k_main.c err = fm10k_alloc_q_vectors(interface); interface 1989 drivers/net/ethernet/intel/fm10k/fm10k_main.c dev_err(&interface->pdev->dev, interface 1995 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_assign_rings(interface); interface 1998 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_init_reta(interface); interface 2003 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_reset_msix_capability(interface); interface 2005 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_reset_num_queues(interface); interface 2016 drivers/net/ethernet/intel/fm10k/fm10k_main.c void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface) interface 2018 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_free_q_vectors(interface); interface 2019 drivers/net/ethernet/intel/fm10k/fm10k_main.c fm10k_reset_msix_capability(interface); interface 55 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface) interface 59 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_tx_queues; i++) { interface 60 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_setup_tx_resources(interface->tx_ring[i]); interface 64 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c netif_err(interface, probe, interface->netdev, interface 73 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_tx_resources(interface->tx_ring[i]); interface 122 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface) interface 126 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_rx_queues; i++) { interface 127 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_setup_rx_resources(interface->rx_ring[i]); interface 131 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c netif_err(interface, probe, interface->netdev, interface 140 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_rx_resources(interface->rx_ring[i]); interface 222 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c void fm10k_clean_all_tx_rings(struct fm10k_intfc *interface) interface 226 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_tx_queues; i++) interface 227 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clean_tx_ring(interface->tx_ring[i]); interface 236 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_free_all_tx_resources(struct fm10k_intfc *interface) interface 238 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c int i = interface->num_tx_queues; interface 241 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_tx_resources(interface->tx_ring[i]); interface 311 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c void fm10k_clean_all_rx_rings(struct fm10k_intfc *interface) interface 315 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_rx_queues; i++) interface 316 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clean_rx_ring(interface->rx_ring[i]); interface 325 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_free_all_rx_resources(struct fm10k_intfc *interface) interface 327 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c int i = interface->num_rx_queues; interface 330 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_rx_resources(interface->rx_ring[i]); interface 339 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_request_glort_range(struct fm10k_intfc *interface) interface 341 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 345 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort = hw->mac.dglort_map & FM10K_DGLORTMAP_NONE; interface 346 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count = 0; interface 358 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count = 1; interface 359 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort += mask; interface 361 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count = (mask + 1) / 2; interface 362 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort += interface->glort_count; interface 364 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count = mask - 63; interface 365 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort += 64; interface 375 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_free_udp_port_info(struct fm10k_intfc *interface) interface 380 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->vxlan_port, interface 385 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->vxlan_port, interface 391 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->geneve_port, interface 396 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->vxlan_port, interface 408 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_restore_udp_port_info(struct fm10k_intfc *interface) interface 410 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 417 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->vxlan_port, interface 425 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = list_first_entry_or_null(&interface->geneve_port, interface 482 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 485 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (interface->hw.mac.type != fm10k_mac_pf) interface 490 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_insert_tunnel_port(&interface->vxlan_port, ti); interface 493 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_insert_tunnel_port(&interface->geneve_port, ti); interface 499 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_restore_udp_port_info(interface); interface 514 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 517 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (interface->hw.mac.type != fm10k_mac_pf) interface 522 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = fm10k_remove_tunnel_port(&interface->vxlan_port, ti); interface 525 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c port = fm10k_remove_tunnel_port(&interface->geneve_port, ti); interface 534 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_restore_udp_port_info(interface); interface 551 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 555 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_setup_all_tx_resources(interface); interface 560 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_setup_all_rx_resources(interface); interface 565 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_qv_request_irq(interface); interface 570 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_request_glort_range(interface); interface 574 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->num_tx_queues); interface 579 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->num_rx_queues); interface 585 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_up(interface); interface 590 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_qv_free_irq(interface); interface 592 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_all_rx_resources(interface); interface 594 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_all_tx_resources(interface); interface 612 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 614 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_down(interface); interface 616 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_qv_free_irq(interface); interface 618 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_udp_port_info(interface); interface 620 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_all_tx_resources(interface); interface 621 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_free_all_rx_resources(interface); interface 628 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 629 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c int num_tx_queues = READ_ONCE(interface->num_tx_queues); interface 691 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_xmit_frame_ring(skb, interface->tx_ring[r_idx]); interface 702 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 707 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_tx_queues; i++) { interface 708 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_ring *tx_ring = interface->tx_ring[i]; interface 715 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_tx_timeout_reset(interface); interface 717 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c netif_info(interface, drv, netdev, interface 737 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static bool fm10k_host_mbx_ready(struct fm10k_intfc *interface) interface 739 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 741 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c return (hw->mac.type == fm10k_mac_vf || interface->host_ready); interface 756 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c int fm10k_queue_vlan_request(struct fm10k_intfc *interface, interface 774 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_lock_irqsave(&interface->macvlan_lock, flags); interface 775 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_add_tail(&request->list, &interface->macvlan_requests); interface 776 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_unlock_irqrestore(&interface->macvlan_lock, flags); interface 778 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_macvlan_schedule(interface); interface 795 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c int fm10k_queue_mac_request(struct fm10k_intfc *interface, u16 glort, interface 818 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_lock_irqsave(&interface->macvlan_lock, flags); interface 819 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_add_tail(&request->list, &interface->macvlan_requests); interface 820 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_unlock_irqrestore(&interface->macvlan_lock, flags); interface 822 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_macvlan_schedule(interface); interface 836 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c void fm10k_clear_macvlan_queue(struct fm10k_intfc *interface, interface 843 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_lock_irqsave(&interface->macvlan_lock, flags); interface 846 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_for_each_entry_safe(r, tmp, &interface->macvlan_requests, list) { interface 863 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c spin_unlock_irqrestore(&interface->macvlan_lock, flags); interface 869 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 870 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 glort = interface->glort; interface 871 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 vid = interface->vid; interface 878 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_mac_request(interface, glort, uc_addr, vid, set); interface 889 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 890 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 glort = interface->glort; interface 891 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 vid = interface->vid; interface 898 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_mac_request(interface, glort, mc_addr, vid, set); interface 908 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 909 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_l2_accel *l2_accel = interface->l2_accel; interface 910 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 931 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c set_bit(vid, interface->active_vlans); interface 933 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c clear_bit(vid, interface->active_vlans); interface 936 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_rx_queues; i++) { interface 937 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_ring *rx_ring = interface->rx_ring[i]; interface 940 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (test_bit(rx_vid, interface->active_vlans)) interface 961 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (test_bit(__FM10K_DOWN, interface->state)) interface 964 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 968 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_vlan_request(interface, vid, 0, set); interface 974 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_mac_request(interface, interface->glort, interface 989 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, interface 996 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->vid = vid + (set ? VLAN_N_VID : 0); interface 1003 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1022 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static u16 fm10k_find_next_vlan(struct fm10k_intfc *interface, u16 vid) interface 1024 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1028 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = find_next_bit(interface->active_vlans, vid_limit, ++vid); interface 1033 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_clear_unused_vlans(struct fm10k_intfc *interface) interface 1040 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c prev_vid = vid + 1, vid = fm10k_find_next_vlan(interface, vid)) { interface 1046 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_vlan_request(interface, prev_vid, 0, false); interface 1053 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1054 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 vid, glort = interface->glort; interface 1060 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (vid = fm10k_find_next_vlan(interface, 0); interface 1062 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = fm10k_find_next_vlan(interface, vid)) { interface 1063 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_mac_request(interface, glort, interface 1086 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1087 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1096 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1102 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1118 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1119 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u16 vid, glort = interface->glort; interface 1125 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (vid = fm10k_find_next_vlan(interface, 0); interface 1127 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = fm10k_find_next_vlan(interface, vid)) { interface 1128 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_queue_mac_request(interface, glort, interface 1151 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1152 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1165 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1168 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (interface->xcast_mode != xcast_mode) { interface 1171 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_vlan_request(interface, FM10K_VLAN_ALL, interface 1175 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC) interface 1176 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clear_unused_vlans(interface); interface 1179 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1180 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c hw->mac.ops.update_xcast_mode(hw, interface->glort, interface 1184 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->xcast_mode = xcast_mode; interface 1191 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1194 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c void fm10k_restore_rx_state(struct fm10k_intfc *interface) interface 1196 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_l2_accel *l2_accel = interface->l2_accel; interface 1197 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct net_device *netdev = interface->netdev; interface 1198 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1203 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c glort = interface->glort; interface 1215 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1218 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1220 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count, true); interface 1223 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_vlan_request(interface, FM10K_VLAN_ALL, 0, interface 1227 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (vid = fm10k_find_next_vlan(interface, 0); interface 1229 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = fm10k_find_next_vlan(interface, vid)) { interface 1230 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_vlan_request(interface, vid, 0, true); interface 1232 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, interface 1245 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, interface 1255 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1274 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, interface 1280 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1283 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->xcast_mode = xcast_mode; interface 1286 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_restore_udp_port_info(interface); interface 1289 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c void fm10k_reset_rx_state(struct fm10k_intfc *interface) interface 1291 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct net_device *netdev = interface->netdev; interface 1292 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1295 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c while (test_bit(__FM10K_MACVLAN_SCHED, interface->state)) interface 1299 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clear_macvlan_queue(interface, interface->glort, true); interface 1301 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1306 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1307 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c hw->mac.ops.update_lport_state(hw, interface->glort, interface 1308 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->glort_count, false); interface 1310 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1313 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->xcast_mode = FM10K_XCAST_MODE_NONE; interface 1331 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(netdev); interface 1338 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_rx_queues; i++) { interface 1339 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c ring = READ_ONCE(interface->rx_ring[i]); interface 1354 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_tx_queues; i++) { interface 1355 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c ring = READ_ONCE(interface->tx_ring[i]); interface 1378 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1382 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (tc && (interface->hw.mac.type != fm10k_mac_pf)) interface 1396 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_free_irq(interface); interface 1398 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clear_queueing_scheme(interface); interface 1404 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_init_queueing_scheme(interface); interface 1408 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c err = fm10k_mbx_request_irq(interface); interface 1417 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c set_bit(FM10K_FLAG_SWPRI_CONFIG, interface->flags); interface 1421 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_free_irq(interface); interface 1423 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_clear_queueing_scheme(interface); interface 1443 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c static void fm10k_assign_l2_accel(struct fm10k_intfc *interface, interface 1448 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (i = 0; i < interface->num_rx_queues; i++) { interface 1449 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_ring *ring = interface->rx_ring[i]; interface 1454 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->l2_accel = l2_accel; interface 1460 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1461 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_l2_accel *l2_accel = interface->l2_accel; interface 1464 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1478 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (interface->glort_count < 7) interface 1487 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c l2_accel->dglort = interface->glort; interface 1490 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_assign_l2_accel(interface, l2_accel); interface 1493 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c (l2_accel->count == (interface->glort_count - 1))) { interface 1511 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_assign_l2_accel(interface, l2_accel); interface 1528 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); interface 1529 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); interface 1530 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.glort = interface->glort; interface 1535 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1539 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1543 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, sdev->dev_addr, interface 1546 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (vid = fm10k_find_next_vlan(interface, 0); interface 1548 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = fm10k_find_next_vlan(interface, vid)) interface 1549 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, sdev->dev_addr, interface 1552 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1559 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface = netdev_priv(dev); interface 1560 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_l2_accel *l2_accel = READ_ONCE(interface->l2_accel); interface 1562 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_hw *hw = &interface->hw; interface 1581 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_lock(interface); interface 1585 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (fm10k_host_mbx_ready(interface)) interface 1589 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, sdev->dev_addr, interface 1592 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c for (vid = fm10k_find_next_vlan(interface, 0); interface 1594 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c vid = fm10k_find_next_vlan(interface, vid)) interface 1595 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_queue_mac_request(interface, glort, sdev->dev_addr, interface 1598 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_mbx_unlock(interface); interface 1607 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); interface 1608 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); interface 1609 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c dglort.glort = interface->glort; interface 1615 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_assign_l2_accel(interface, NULL); interface 1658 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_intfc *interface; interface 1670 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface = netdev_priv(dev); interface 1671 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c interface->msg_enable = BIT(DEFAULT_DEBUG_LEVEL_SHIFT) - 1; interface 36 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = hw->back; interface 42 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pci_read_config_word(interface->pdev, reg, &value); interface 59 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = hw->back; interface 60 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 70 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_hw_ready(struct fm10k_intfc *interface) interface 72 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 86 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_macvlan_schedule(struct fm10k_intfc *interface) interface 91 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!test_bit(__FM10K_MACVLAN_DISABLE, interface->state) && interface 92 drivers/net/ethernet/intel/fm10k/fm10k_pci.c !test_and_set_bit(__FM10K_MACVLAN_SCHED, interface->state)) { interface 93 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_MACVLAN_REQUEST, interface->state); interface 100 drivers/net/ethernet/intel/fm10k/fm10k_pci.c &interface->macvlan_task, 10); interface 102 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_MACVLAN_REQUEST, interface->state); interface 113 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_stop_macvlan_task(struct fm10k_intfc *interface) interface 116 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_MACVLAN_DISABLE, interface->state); interface 119 drivers/net/ethernet/intel/fm10k/fm10k_pci.c cancel_delayed_work_sync(&interface->macvlan_task); interface 127 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_MACVLAN_SCHED, interface->state); interface 137 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_resume_macvlan_task(struct fm10k_intfc *interface) interface 140 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_MACVLAN_DISABLE, interface->state); interface 145 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_MACVLAN_REQUEST, interface->state)) interface 146 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_macvlan_schedule(interface); interface 149 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_service_event_schedule(struct fm10k_intfc *interface) interface 151 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!test_bit(__FM10K_SERVICE_DISABLE, interface->state) && interface 152 drivers/net/ethernet/intel/fm10k/fm10k_pci.c !test_and_set_bit(__FM10K_SERVICE_SCHED, interface->state)) { interface 153 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_SERVICE_REQUEST, interface->state); interface 154 drivers/net/ethernet/intel/fm10k/fm10k_pci.c queue_work(fm10k_workqueue, &interface->service_task); interface 156 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_SERVICE_REQUEST, interface->state); interface 160 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_service_event_complete(struct fm10k_intfc *interface) interface 162 drivers/net/ethernet/intel/fm10k/fm10k_pci.c WARN_ON(!test_bit(__FM10K_SERVICE_SCHED, interface->state)); interface 166 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_SERVICE_SCHED, interface->state); interface 172 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_SERVICE_REQUEST, interface->state)) interface 173 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 176 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_stop_service_event(struct fm10k_intfc *interface) interface 178 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_SERVICE_DISABLE, interface->state); interface 179 drivers/net/ethernet/intel/fm10k/fm10k_pci.c cancel_work_sync(&interface->service_task); interface 188 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_SERVICE_SCHED, interface->state); interface 191 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_start_service_event(struct fm10k_intfc *interface) interface 193 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_SERVICE_DISABLE, interface->state); interface 194 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 203 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = from_timer(interface, t, interface 207 drivers/net/ethernet/intel/fm10k/fm10k_pci.c mod_timer(&interface->service_timer, (HZ * 2) + jiffies); interface 209 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 220 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static bool fm10k_prepare_for_reset(struct fm10k_intfc *interface) interface 222 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 230 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_and_set_bit(__FM10K_RESETTING, interface->state)) interface 237 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_stop_macvlan_task(interface); interface 241 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_iov_suspend(interface->pdev); interface 246 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_free_irq(interface); interface 249 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clear_queueing_scheme(interface); interface 252 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->last_reset = jiffies + (10 * HZ); interface 259 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_handle_reset(struct fm10k_intfc *interface) interface 261 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 262 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 265 drivers/net/ethernet/intel/fm10k/fm10k_pci.c WARN_ON(!test_bit(__FM10K_RESETTING, interface->state)); interface 269 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pci_set_master(interface->pdev); interface 274 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, "reset_hw failed: %d\n", err); interface 280 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, "init_hw failed: %d\n", err); interface 284 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_init_queueing_scheme(interface); interface 286 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, interface 292 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_mbx_request_irq(interface); interface 296 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_hw_ready(interface); interface 319 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_iov_resume(interface->pdev); interface 323 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_resume_macvlan_task(interface); interface 325 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_RESETTING, interface->state); interface 329 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_free_irq(interface); interface 331 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clear_queueing_scheme(interface); interface 337 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_RESETTING, interface->state); interface 342 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_detach_subtask(struct fm10k_intfc *interface) interface 344 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 349 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (netif_device_present(netdev) || interface->hw.hw_addr) interface 357 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fm10k_prepare_for_reset(interface)) interface 358 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_RESET_DETACHED, interface->state); interface 361 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw_addr = READ_ONCE(interface->uc_addr); interface 370 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->state)) interface 374 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->hw.hw_addr = interface->uc_addr; interface 379 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_handle_reset(interface); interface 382 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->hw.hw_addr = NULL; interface 393 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_reset_subtask(struct fm10k_intfc *interface) interface 398 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->flags)) interface 408 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!fm10k_prepare_for_reset(interface)) interface 411 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netdev_err(interface->netdev, "Reset interface\n"); interface 413 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_handle_reset(interface); interface 415 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, interface 425 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_swpri_map(struct fm10k_intfc *interface) interface 427 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 428 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 432 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(FM10K_FLAG_SWPRI_CONFIG, interface->flags); interface 448 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_watchdog_update_host_state(struct fm10k_intfc *interface) interface 450 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 453 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_LINK_DOWN, interface->state)) { interface 454 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->host_ready = false; interface 455 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (time_is_after_jiffies(interface->link_down_event)) interface 457 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_LINK_DOWN, interface->state); interface 460 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(FM10K_FLAG_SWPRI_CONFIG, interface->flags)) { interface 462 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_swpri_map(interface); interface 468 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_lock(interface); interface 470 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = hw->mac.ops.get_host_state(hw, &interface->host_ready); interface 471 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (err && time_is_before_jiffies(interface->last_reset)) interface 472 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 475 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_unlock(interface); interface 484 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_mbx_subtask(struct fm10k_intfc *interface) interface 487 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_RESETTING, interface->state)) interface 491 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_update_host_state(interface); interface 494 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_iov_mbx(interface); interface 501 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_watchdog_host_is_ready(struct fm10k_intfc *interface) interface 503 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 509 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_info(interface, drv, netdev, "NIC Link is up\n"); interface 519 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_watchdog_host_not_ready(struct fm10k_intfc *interface) interface 521 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 527 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_info(interface, drv, netdev, "NIC Link is down\n"); interface 537 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_update_stats(struct fm10k_intfc *interface) interface 539 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device_stats *net_stats = &interface->netdev->stats; interface 540 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 552 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_and_set_bit(__FM10K_UPDATING_STATS, interface->state)) interface 556 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->next_stats_update = jiffies + HZ; interface 559 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (bytes = 0, pkts = 0, i = 0; i < interface->num_tx_queues; i++) { interface 560 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_ring *tx_ring = READ_ONCE(interface->tx_ring[i]); interface 573 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->restart_queue = restart_queue; interface 574 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_busy = tx_busy; interface 577 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_csum_errors = tx_csum_errors; interface 578 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->hw_csum_tx_good = hw_csum_tx_good; interface 581 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (bytes = 0, pkts = 0, i = 0; i < interface->num_rx_queues; i++) { interface 582 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_ring *rx_ring = READ_ONCE(interface->rx_ring[i]); interface 602 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->alloc_failed = alloc_failed; interface 603 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_csum_errors = rx_csum_errors; interface 604 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->hw_csum_rx_good = hw_csum_rx_good; interface 605 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_switch_errors = rx_switch_errors; interface 606 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_drops = rx_drops; interface 607 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_pp_errors = rx_pp_errors; interface 608 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_link_errors = rx_link_errors; interface 609 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_length_errors = rx_length_errors; interface 611 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->mac.ops.update_hw_stats(hw, &interface->stats); interface 614 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw_stats_q *q = &interface->stats.q[i]; interface 623 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_bytes_nic = tx_bytes_nic; interface 624 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_packets_nic = tx_pkts_nic; interface 625 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_bytes_nic = rx_bytes_nic; interface 626 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_packets_nic = rx_pkts_nic; interface 627 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_drops_nic = rx_drops_nic; interface 631 drivers/net/ethernet/intel/fm10k/fm10k_pci.c net_stats->rx_dropped = interface->stats.nodesc_drop.count; interface 633 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_UPDATING_STATS, interface->state); interface 640 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_watchdog_flush_tx(struct fm10k_intfc *interface) interface 646 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (netif_carrier_ok(interface->netdev)) interface 649 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_tx_queues; i++) { interface 650 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_ring *tx_ring = interface->tx_ring[i]; interface 663 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 670 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_watchdog_subtask(struct fm10k_intfc *interface) interface 673 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_DOWN, interface->state) || interface 674 drivers/net/ethernet/intel/fm10k/fm10k_pci.c test_bit(__FM10K_RESETTING, interface->state)) interface 677 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->host_ready) interface 678 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_host_is_ready(interface); interface 680 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_host_not_ready(interface); interface 683 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (time_is_before_jiffies(interface->next_stats_update)) interface 684 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_update_stats(interface); interface 687 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_flush_tx(interface); interface 699 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_check_hang_subtask(struct fm10k_intfc *interface) interface 702 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_DOWN, interface->state) || interface 703 drivers/net/ethernet/intel/fm10k/fm10k_pci.c test_bit(__FM10K_RESETTING, interface->state)) interface 707 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (time_is_after_eq_jiffies(interface->next_tx_hang_check)) interface 709 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->next_tx_hang_check = jiffies + (2 * HZ); interface 711 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (netif_carrier_ok(interface->netdev)) { interface 715 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_tx_queues; i++) interface 716 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_check_for_tx_hang(interface->tx_ring[i]); interface 719 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_q_vectors; i++) { interface 720 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_q_vector *qv = interface->q_vector[i]; interface 735 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 737 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(work, struct fm10k_intfc, service_task); interface 740 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_detach_subtask(interface); interface 743 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_subtask(interface); interface 744 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_reset_subtask(interface); interface 747 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_subtask(interface); interface 748 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_check_hang_subtask(interface); interface 751 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_complete(interface); interface 768 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 775 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(dwork, struct fm10k_intfc, macvlan_task); interface 776 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw = &interface->hw; interface 777 drivers/net/ethernet/intel/fm10k/fm10k_pci.c requests = &interface->macvlan_requests; interface 781 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_lock_irqsave(&interface->macvlan_lock, flags); interface 788 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_unlock_irqrestore(&interface->macvlan_lock, flags); interface 794 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_lock(interface); interface 803 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_MACVLAN_REQUEST, interface->state); interface 804 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_unlock(interface); interface 807 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_lock_irqsave(&interface->macvlan_lock, flags); interface 809 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_unlock_irqrestore(&interface->macvlan_lock, flags); interface 839 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_unlock(interface); interface 846 drivers/net/ethernet/intel/fm10k/fm10k_pci.c WARN_ON(!test_bit(__FM10K_MACVLAN_SCHED, interface->state)); interface 850 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_MACVLAN_SCHED, interface->state); interface 856 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(__FM10K_MACVLAN_REQUEST, interface->state)) interface 857 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_macvlan_schedule(interface); interface 867 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_tx_ring(struct fm10k_intfc *interface, interface 870 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 893 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->tail = &interface->uc_addr[FM10K_TDT(reg_idx)]; interface 929 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_enable_tx_ring(struct fm10k_intfc *interface, interface 932 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 947 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_err(interface, drv, interface->netdev, interface 957 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_tx(struct fm10k_intfc *interface) interface 962 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_tx_queues; i++) interface 963 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_tx_ring(interface, interface->tx_ring[i]); interface 966 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_tx_queues; i++) interface 967 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_enable_tx_ring(interface, interface->tx_ring[i]); interface 977 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_rx_ring(struct fm10k_intfc *interface, interface 981 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 986 drivers/net/ethernet/intel/fm10k/fm10k_pci.c u8 rx_pause = interface->rx_pause; interface 1007 drivers/net/ethernet/intel/fm10k/fm10k_pci.c ring->tail = &interface->uc_addr[FM10K_RDT(reg_idx)]; interface 1023 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->pfc_en) interface 1024 drivers/net/ethernet/intel/fm10k/fm10k_pci.c rx_pause = interface->pfc_en; interface 1035 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(hw->mac.default_vid, interface->active_vlans)) interface 1061 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_update_rx_drop_en(struct fm10k_intfc *interface) interface 1063 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1064 drivers/net/ethernet/intel/fm10k/fm10k_pci.c u8 rx_pause = interface->rx_pause; interface 1068 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->pfc_en) interface 1069 drivers/net/ethernet/intel/fm10k/fm10k_pci.c rx_pause = interface->pfc_en; interface 1072 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_rx_queues; i++) { interface 1073 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_ring *ring = interface->rx_ring[i]; interface 1090 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_dglort(struct fm10k_intfc *interface) interface 1093 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1099 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_write_reg(hw, FM10K_RSSRK(0, i), interface->rssrk[i]); interface 1103 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_write_reg(hw, FM10K_RETA(0, i), interface->reta[i]); interface 1113 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(FM10K_FLAG_RSS_FIELD_IPV4_UDP, interface->flags)) interface 1115 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_bit(FM10K_FLAG_RSS_FIELD_IPV6_UDP, interface->flags)) interface 1122 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); interface 1123 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); interface 1127 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->glort_count > 64) { interface 1130 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.glort = interface->glort + 64; interface 1132 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.queue_l = fls(interface->num_rx_queues - 1); interface 1139 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.glort = interface->glort; interface 1140 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); interface 1141 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); interface 1144 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->l2_accel) interface 1145 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dglort.shared_l = fls(interface->l2_accel->size); interface 1155 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_configure_rx(struct fm10k_intfc *interface) interface 1160 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_swpri_map(interface); interface 1163 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_dglort(interface); interface 1166 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (i = 0; i < interface->num_rx_queues; i++) interface 1167 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_rx_ring(interface, interface->rx_ring[i]); interface 1172 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_napi_enable_all(struct fm10k_intfc *interface) interface 1177 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { interface 1178 drivers/net/ethernet/intel/fm10k/fm10k_pci.c q_vector = interface->q_vector[q_idx]; interface 1195 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = data; interface 1196 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1205 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fm10k_mbx_trylock(interface)) { interface 1207 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_unlock(interface); interface 1211 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 1217 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_handle_fault(struct fm10k_intfc *interface, int type, interface 1220 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct pci_dev *pdev = interface->pdev; interface 1221 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1222 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_iov_data *iov_data = interface->iov_data; interface 1302 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_report_fault(struct fm10k_intfc *interface, u32 eicr) interface 1304 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1318 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, interface 1323 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_handle_fault(interface, type, &fault); interface 1327 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_reset_drop_on_empty(struct fm10k_intfc *interface, u32 eicr) interface 1329 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1343 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_overrun_pf++; interface 1346 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_overrun_vf++; interface 1368 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = data; interface 1369 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1381 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_report_fault(interface, eicr); interface 1384 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_reset_drop_on_empty(interface, eicr); interface 1387 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fm10k_mbx_trylock(interface)) { interface 1390 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_iov_event(interface); interface 1391 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_unlock(interface); interface 1395 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1400 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->link_down_event = jiffies + (4 * HZ); interface 1401 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_LINK_DOWN, interface->state); interface 1411 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 1421 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_mbx_free_irq(struct fm10k_intfc *interface) interface 1423 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1428 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!interface->msix_entries) interface 1431 drivers/net/ethernet/intel/fm10k/fm10k_pci.c entry = &interface->msix_entries[FM10K_MBX_VECTOR]; interface 1454 drivers/net/ethernet/intel/fm10k/fm10k_pci.c free_irq(entry->vector, interface); interface 1462 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 1469 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(hw, struct fm10k_intfc, hw); interface 1474 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1479 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1488 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 1491 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(hw, struct fm10k_intfc, hw); interface 1492 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pdev = interface->pdev; interface 1507 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_mbx_request_irq_vf(struct fm10k_intfc *interface) interface 1509 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct msix_entry *entry = &interface->msix_entries[FM10K_MBX_VECTOR]; interface 1510 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *dev = interface->netdev; interface 1511 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1524 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev->name, interface); interface 1526 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_err(interface, probe, dev, interface 1543 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 1547 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(hw, struct fm10k_intfc, hw); interface 1552 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->link_down_event = jiffies + (2 * HZ); interface 1553 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_LINK_DOWN, interface->state); interface 1558 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 1561 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->lport_map_failed) interface 1564 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->lport_map_failed = true; interface 1567 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_warn(&interface->pdev->dev, interface 1569 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_warn(&interface->pdev->dev, interface 1580 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->lport_map_failed = false; interface 1584 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1592 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 1614 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = container_of(hw, struct fm10k_intfc, hw); interface 1617 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_iov_update_pvid(interface, glort, pvid); interface 1623 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(FM10K_FLAG_RESET_REQUESTED, interface->flags); interface 1640 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_mbx_request_irq_pf(struct fm10k_intfc *interface) interface 1642 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct msix_entry *entry = &interface->msix_entries[FM10K_MBX_VECTOR]; interface 1643 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *dev = interface->netdev; interface 1644 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1658 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev->name, interface); interface 1660 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_err(interface, probe, dev, interface 1691 drivers/net/ethernet/intel/fm10k/fm10k_pci.c int fm10k_mbx_request_irq(struct fm10k_intfc *interface) interface 1693 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1698 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_mbx_request_irq_pf(interface); interface 1700 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_mbx_request_irq_vf(interface); interface 1709 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_free_irq(interface); interface 1720 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_qv_free_irq(struct fm10k_intfc *interface) interface 1722 drivers/net/ethernet/intel/fm10k/fm10k_pci.c int vector = interface->num_q_vectors; interface 1725 drivers/net/ethernet/intel/fm10k/fm10k_pci.c entry = &interface->msix_entries[NON_Q_VECTORS + vector]; interface 1732 drivers/net/ethernet/intel/fm10k/fm10k_pci.c q_vector = interface->q_vector[vector]; interface 1754 drivers/net/ethernet/intel/fm10k/fm10k_pci.c int fm10k_qv_request_irq(struct fm10k_intfc *interface) interface 1756 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *dev = interface->netdev; interface 1757 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1762 drivers/net/ethernet/intel/fm10k/fm10k_pci.c entry = &interface->msix_entries[NON_Q_VECTORS]; interface 1764 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (vector = 0; vector < interface->num_q_vectors; vector++) { interface 1765 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_q_vector *q_vector = interface->q_vector[vector]; interface 1785 drivers/net/ethernet/intel/fm10k/fm10k_pci.c &interface->uc_addr[FM10K_ITR(entry->entry)] : interface 1786 drivers/net/ethernet/intel/fm10k/fm10k_pci.c &interface->uc_addr[FM10K_VFITR(entry->entry)]; interface 1792 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_err(interface, probe, dev, interface 1816 drivers/net/ethernet/intel/fm10k/fm10k_pci.c q_vector = interface->q_vector[vector]; interface 1833 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_up(struct fm10k_intfc *interface) interface 1835 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1841 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_tx(interface); interface 1844 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_configure_rx(interface); interface 1850 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_UPDATING_STATS, interface->state); interface 1853 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_DOWN, interface->state); interface 1856 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_napi_enable_all(interface); interface 1859 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_restore_rx_state(interface); interface 1862 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_tx_start_all_queues(interface->netdev); interface 1866 drivers/net/ethernet/intel/fm10k/fm10k_pci.c mod_timer(&interface->service_timer, jiffies); interface 1869 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_napi_disable_all(struct fm10k_intfc *interface) interface 1874 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (q_idx = 0; q_idx < interface->num_q_vectors; q_idx++) { interface 1875 drivers/net/ethernet/intel/fm10k/fm10k_pci.c q_vector = interface->q_vector[q_idx]; interface 1880 drivers/net/ethernet/intel/fm10k/fm10k_pci.c void fm10k_down(struct fm10k_intfc *interface) interface 1882 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 1883 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1887 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (test_and_set_bit(__FM10K_DOWN, interface->state)) interface 1898 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_reset_rx_state(interface); interface 1901 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_napi_disable_all(interface); interface 1904 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_update_stats(interface); interface 1907 drivers/net/ethernet/intel/fm10k/fm10k_pci.c while (test_and_set_bit(__FM10K_UPDATING_STATS, interface->state)) interface 1931 drivers/net/ethernet/intel/fm10k/fm10k_pci.c for (; i < interface->num_tx_queues; i++) interface 1932 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fm10k_get_tx_pending(interface->tx_ring[i], false)) interface 1936 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (i == interface->num_tx_queues) interface 1941 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, interface 1948 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, interface 1951 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_err(&interface->pdev->dev, "stop_hw failed: %d\n", err); interface 1954 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clean_all_tx_rings(interface); interface 1955 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clean_all_rx_rings(interface); interface 1967 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_sw_init(struct fm10k_intfc *interface, interface 1971 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 1972 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct pci_dev *pdev = interface->pdev; interface 1973 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 1979 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->back = interface; interface 1980 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->hw_addr = interface->uc_addr; interface 1999 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->ring_feature[RING_F_RSS].limit = rss; interface 2030 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->mac.ops.update_hw_stats(hw, &interface->stats); interface 2059 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_ring_count = FM10K_DEFAULT_TXD; interface 2060 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_ring_count = FM10K_DEFAULT_RXD; interface 2063 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->tx_itr = FM10K_TX_ITR_DEFAULT; interface 2064 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->rx_itr = FM10K_ITR_ADAPTIVE | FM10K_RX_ITR_DEFAULT; interface 2067 drivers/net/ethernet/intel/fm10k/fm10k_pci.c INIT_LIST_HEAD(&interface->vxlan_port); interface 2068 drivers/net/ethernet/intel/fm10k/fm10k_pci.c INIT_LIST_HEAD(&interface->geneve_port); interface 2071 drivers/net/ethernet/intel/fm10k/fm10k_pci.c INIT_LIST_HEAD(&interface->macvlan_requests); interface 2074 drivers/net/ethernet/intel/fm10k/fm10k_pci.c memcpy(interface->rssrk, rss_key, sizeof(rss_key)); interface 2077 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_lock_init(&interface->mbx_lock); interface 2078 drivers/net/ethernet/intel/fm10k/fm10k_pci.c spin_lock_init(&interface->macvlan_lock); interface 2081 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_DOWN, interface->state); interface 2082 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_UPDATING_STATS, interface->state); interface 2101 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface; interface 2146 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface = netdev_priv(netdev); interface 2147 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pci_set_drvdata(pdev, interface); interface 2149 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->netdev = netdev; interface 2150 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->pdev = pdev; interface 2152 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->uc_addr = ioremap(pci_resource_start(pdev, 0), interface 2154 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!interface->uc_addr) { interface 2159 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_sw_init(interface, ent); interface 2164 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_dbg_intfc_init(interface); interface 2166 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_init_queueing_scheme(interface); interface 2174 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_SERVICE_DISABLE, interface->state); interface 2176 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_mbx_request_irq(interface); interface 2181 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_hw_ready(interface); interface 2198 drivers/net/ethernet/intel/fm10k/fm10k_pci.c timer_setup(&interface->service_timer, fm10k_service_timer, 0); interface 2199 drivers/net/ethernet/intel/fm10k/fm10k_pci.c INIT_WORK(&interface->service_task, fm10k_service_task); interface 2202 drivers/net/ethernet/intel/fm10k/fm10k_pci.c INIT_DELAYED_WORK(&interface->macvlan_task, fm10k_macvlan_task); interface 2205 drivers/net/ethernet/intel/fm10k/fm10k_pci.c mod_timer(&interface->service_timer, (HZ * 2) + jiffies); interface 2208 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pcie_print_link_status(interface->pdev); interface 2217 drivers/net/ethernet/intel/fm10k/fm10k_pci.c clear_bit(__FM10K_SERVICE_DISABLE, interface->state); interface 2218 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_service_event_schedule(interface); interface 2223 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_free_irq(interface); interface 2225 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clear_queueing_scheme(interface); interface 2227 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->sw_addr) interface 2228 drivers/net/ethernet/intel/fm10k/fm10k_pci.c iounmap(interface->sw_addr); interface 2229 drivers/net/ethernet/intel/fm10k/fm10k_pci.c iounmap(interface->uc_addr); interface 2251 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 2252 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 2254 drivers/net/ethernet/intel/fm10k/fm10k_pci.c del_timer_sync(&interface->service_timer); interface 2256 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_stop_service_event(interface); interface 2257 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_stop_macvlan_task(interface); interface 2260 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clear_macvlan_queue(interface, interface->glort, true); interface 2270 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_mbx_free_irq(interface); interface 2273 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_clear_queueing_scheme(interface); interface 2276 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_dbg_intfc_exit(interface); interface 2278 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (interface->sw_addr) interface 2279 drivers/net/ethernet/intel/fm10k/fm10k_pci.c iounmap(interface->sw_addr); interface 2280 drivers/net/ethernet/intel/fm10k/fm10k_pci.c iounmap(interface->uc_addr); interface 2291 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static void fm10k_prepare_suspend(struct fm10k_intfc *interface) interface 2301 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_stop_service_event(interface); interface 2303 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (fm10k_prepare_for_reset(interface)) interface 2304 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_RESET_SUSPENDED, interface->state); interface 2307 drivers/net/ethernet/intel/fm10k/fm10k_pci.c static int fm10k_handle_resume(struct fm10k_intfc *interface) interface 2309 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 2315 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!test_and_clear_bit(__FM10K_RESET_SUSPENDED, interface->state)) interface 2316 drivers/net/ethernet/intel/fm10k/fm10k_pci.c dev_warn(&interface->pdev->dev, interface 2320 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->mac.ops.rebind_hw_stats(hw, &interface->stats); interface 2322 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_handle_reset(interface); interface 2329 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->host_ready = false; interface 2330 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_watchdog_host_not_ready(interface); interface 2333 drivers/net/ethernet/intel/fm10k/fm10k_pci.c interface->link_down_event = jiffies + (HZ); interface 2334 drivers/net/ethernet/intel/fm10k/fm10k_pci.c set_bit(__FM10K_LINK_DOWN, interface->state); interface 2337 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_start_service_event(interface); interface 2340 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_macvlan_schedule(interface); interface 2355 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = dev_get_drvdata(dev); interface 2356 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 2357 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_hw *hw = &interface->hw; interface 2361 drivers/net/ethernet/intel/fm10k/fm10k_pci.c hw->hw_addr = interface->uc_addr; interface 2363 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_handle_resume(interface); interface 2382 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = dev_get_drvdata(dev); interface 2383 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 2387 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_prepare_suspend(interface); interface 2403 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 2404 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 2411 drivers/net/ethernet/intel/fm10k/fm10k_pci.c fm10k_prepare_suspend(interface); interface 2457 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 2458 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct net_device *netdev = interface->netdev; interface 2461 drivers/net/ethernet/intel/fm10k/fm10k_pci.c err = fm10k_handle_resume(interface); interface 2495 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_intfc *interface = pci_get_drvdata(pdev); interface 2496 drivers/net/ethernet/intel/fm10k/fm10k_pci.c int err = fm10k_handle_resume(interface); interface 2501 drivers/net/ethernet/intel/fm10k/fm10k_pci.c netif_device_detach(interface->netdev); interface 3383 drivers/net/ethernet/marvell/mvneta.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 3384 drivers/net/ethernet/marvell/mvneta.c state->interface != PHY_INTERFACE_MODE_QSGMII && interface 3385 drivers/net/ethernet/marvell/mvneta.c state->interface != PHY_INTERFACE_MODE_SGMII && interface 3386 drivers/net/ethernet/marvell/mvneta.c !phy_interface_mode_is_8023z(state->interface) && interface 3387 drivers/net/ethernet/marvell/mvneta.c !phy_interface_mode_is_rgmii(state->interface)) { interface 3400 drivers/net/ethernet/marvell/mvneta.c if (pp->comphy || state->interface != PHY_INTERFACE_MODE_2500BASEX) { interface 3404 drivers/net/ethernet/marvell/mvneta.c if (pp->comphy || state->interface == PHY_INTERFACE_MODE_2500BASEX) { interface 3409 drivers/net/ethernet/marvell/mvneta.c if (!phy_interface_mode_is_8023z(state->interface)) { interface 3439 drivers/net/ethernet/marvell/mvneta.c state->interface == PHY_INTERFACE_MODE_2500BASEX ? interface 3503 drivers/net/ethernet/marvell/mvneta.c if (state->interface == PHY_INTERFACE_MODE_QSGMII || interface 3504 drivers/net/ethernet/marvell/mvneta.c state->interface == PHY_INTERFACE_MODE_SGMII || interface 3505 drivers/net/ethernet/marvell/mvneta.c phy_interface_mode_is_8023z(state->interface)) interface 3522 drivers/net/ethernet/marvell/mvneta.c } else if (state->interface == PHY_INTERFACE_MODE_SGMII) { interface 3564 drivers/net/ethernet/marvell/mvneta.c if (pp->comphy && pp->phy_interface != state->interface && interface 3565 drivers/net/ethernet/marvell/mvneta.c (state->interface == PHY_INTERFACE_MODE_SGMII || interface 3566 drivers/net/ethernet/marvell/mvneta.c state->interface == PHY_INTERFACE_MODE_1000BASEX || interface 3567 drivers/net/ethernet/marvell/mvneta.c state->interface == PHY_INTERFACE_MODE_2500BASEX)) { interface 3568 drivers/net/ethernet/marvell/mvneta.c pp->phy_interface = state->interface; interface 3605 drivers/net/ethernet/marvell/mvneta.c unsigned int mode, phy_interface_t interface) interface 3625 drivers/net/ethernet/marvell/mvneta.c phy_interface_t interface, interface 62 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c phy_interface_t interface, struct phy_device *phy); interface 1115 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static bool mvpp2_is_xlg(phy_interface_t interface) interface 1117 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c return interface == PHY_INTERFACE_MODE_10GKR || interface 1118 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c interface == PHY_INTERFACE_MODE_XAUI; interface 3467 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c .interface = port->phy_interface, interface 4756 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c switch (state->interface) { interface 4778 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c switch (state->interface) { interface 4969 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (phy_interface_mode_is_8023z(state->interface)) { interface 4975 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c } else if (state->interface == PHY_INTERFACE_MODE_SGMII) { interface 4981 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c } else if (phy_interface_mode_is_rgmii(state->interface)) { interface 5009 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c } else if (state->interface == PHY_INTERFACE_MODE_SGMII) { interface 5021 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c } else if (phy_interface_mode_is_8023z(state->interface)) { interface 5089 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c bool change_interface = port->phy_interface != state->interface; interface 5092 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (mvpp2_is_xlg(state->interface) && port->gop_id != 0) { interface 5103 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c port->phy_interface = state->interface; interface 5111 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (mvpp2_is_xlg(state->interface)) interface 5113 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c else if (phy_interface_mode_is_rgmii(state->interface) || interface 5114 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c phy_interface_mode_is_8023z(state->interface) || interface 5115 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c state->interface == PHY_INTERFACE_MODE_SGMII) interface 5128 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c phy_interface_t interface, struct phy_device *phy) interface 5135 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (mvpp2_is_xlg(interface)) { interface 5156 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c unsigned int mode, phy_interface_t interface) interface 5163 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (mvpp2_is_xlg(interface)) { interface 939 drivers/net/ethernet/marvell/pxa168_eth.c if (phy->interface == PHY_INTERFACE_MODE_RMII) interface 150 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_t interface) interface 158 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (interface == PHY_INTERFACE_MODE_TRGMII && interface 165 drivers/net/ethernet/mediatek/mtk_eth_soc.c val = (interface == PHY_INTERFACE_MODE_TRGMII) ? interface 212 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->interface != state->interface) { interface 214 drivers/net/ethernet/mediatek/mtk_eth_soc.c switch (state->interface) { interface 256 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (!mac->id && state->interface != PHY_INTERFACE_MODE_SGMII && interface 257 drivers/net/ethernet/mediatek/mtk_eth_soc.c !phy_interface_mode_is_8023z(state->interface) && interface 262 drivers/net/ethernet/mediatek/mtk_eth_soc.c state->interface)) interface 265 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->interface != interface 284 drivers/net/ethernet/mediatek/mtk_eth_soc.c switch (state->interface) { interface 307 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->interface = state->interface; interface 311 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->interface == PHY_INTERFACE_MODE_SGMII || interface 312 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_mode_is_8023z(state->interface)) { interface 327 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->interface != PHY_INTERFACE_MODE_SGMII) interface 378 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->id, phy_modes(state->interface)); interface 383 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->id, phy_modes(state->interface), err); interface 429 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_t interface) interface 440 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_t interface, interface 459 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 460 drivers/net/ethernet/mediatek/mtk_eth_soc.c state->interface != PHY_INTERFACE_MODE_MII && interface 461 drivers/net/ethernet/mediatek/mtk_eth_soc.c state->interface != PHY_INTERFACE_MODE_GMII && interface 463 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_mode_is_rgmii(state->interface)) && interface 465 drivers/net/ethernet/mediatek/mtk_eth_soc.c !mac->id && state->interface == PHY_INTERFACE_MODE_TRGMII) && interface 467 drivers/net/ethernet/mediatek/mtk_eth_soc.c (state->interface == PHY_INTERFACE_MODE_SGMII || interface 468 drivers/net/ethernet/mediatek/mtk_eth_soc.c phy_interface_mode_is_8023z(state->interface)))) { interface 476 drivers/net/ethernet/mediatek/mtk_eth_soc.c switch (state->interface) { interface 508 drivers/net/ethernet/mediatek/mtk_eth_soc.c if (state->interface == PHY_INTERFACE_MODE_NA) { interface 2838 drivers/net/ethernet/mediatek/mtk_eth_soc.c mac->interface = PHY_INTERFACE_MODE_NA; interface 908 drivers/net/ethernet/mediatek/mtk_eth_soc.h phy_interface_t interface; interface 72 drivers/net/ethernet/mediatek/mtk_sgmii.c if (state->interface == PHY_INTERFACE_MODE_2500BASEX) interface 377 drivers/net/ethernet/netronome/nfp/nfp_main.c u16 interface; interface 383 drivers/net/ethernet/netronome/nfp/nfp_main.c interface = nfp_cpp_interface(pf->cpp); interface 386 drivers/net/ethernet/netronome/nfp/nfp_main.c serial, interface >> 8, interface & 0xff); interface 476 drivers/net/ethernet/netronome/nfp/nfp_main.c u16 interface; interface 484 drivers/net/ethernet/netronome/nfp/nfp_main.c interface = nfp_cpp_interface(pf->cpp); interface 498 drivers/net/ethernet/netronome/nfp/nfp_main.c if (interface == interface_hi) interface 1145 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c switch (eth_port->interface) { interface 1183 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c eth_port->interface); interface 540 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c static int enable_bars(struct nfp6000_pcie *nfp, u16 interface) interface 607 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c nfp->expl.master_id = ((NFP_CPP_INTERFACE_UNIT_of(interface) & 3) + 4) interface 1321 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c u16 interface; interface 1340 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c interface = nfp6000_get_interface(&pdev->dev); interface 1342 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (NFP_CPP_INTERFACE_TYPE_of(interface) != interface 1346 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c NFP_CPP_INTERFACE_TYPE_of(interface), interface 1352 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (NFP_CPP_INTERFACE_CHANNEL_of(interface) != interface 1355 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c NFP_CPP_INTERFACE_CHANNEL_of(interface), interface 1361 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c err = enable_bars(nfp, interface); interface 185 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define NFP_CPP_INTERFACE_TYPE_of(interface) (((interface) >> 12) & 0xf) interface 192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define NFP_CPP_INTERFACE_UNIT_of(interface) (((interface) >> 8) & 0xf) interface 199 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define NFP_CPP_INTERFACE_CHANNEL_of(interface) (((interface) >> 0) & 0xff) interface 65 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u16 interface; interface 225 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return cpp->interface; interface 1185 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->interface = ifc; interface 22 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c static u32 nfp_mutex_locked(u16 interface) interface 24 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c return (u32)interface << 16 | 0x000f; interface 27 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c static u32 nfp_mutex_unlocked(u16 interface) interface 29 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c return (u32)interface << 16 | 0x0000; interface 51 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_cpp_mutex_validate(u16 interface, int *target, unsigned long long address) interface 54 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (NFP_CPP_INTERFACE_TYPE_of(interface) == interface 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); interface 93 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_mutex_validate(interface, &target, address); interface 101 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); interface 127 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); interface 132 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_mutex_validate(interface, &target, address); interface 223 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface; interface 226 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c interface = nfp_cpp_interface(cpp); interface 244 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (value != nfp_mutex_locked(interface)) interface 248 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c nfp_mutex_unlocked(interface)); interface 346 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u16 interface = nfp_cpp_interface(cpp); interface 350 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_mutex_validate(interface, &target, address); interface 359 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (nfp_mutex_is_unlocked(tmp) || nfp_mutex_owner(tmp) != interface) interface 363 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_unlocked(interface)); interface 161 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h unsigned int interface; interface 148 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->interface = FIELD_GET(NSP_ETH_STATE_INTERFACE, state); interface 206 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (entry->interface == NFP_INTERFACE_NONE) { interface 209 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c } else if (entry->interface == NFP_INTERFACE_RJ45) { interface 270 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c int phy_iface = priv->plat->interface; interface 38 drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c plat->interface = of_get_phy_mode(np); interface 53 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c if (plat_dat->interface == PHY_INTERFACE_MODE_MII) { interface 55 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c } else if (plat_dat->interface == PHY_INTERFACE_MODE_RMII) { interface 355 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c plat_dat->interface = priv_plat->phy_mode; interface 236 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c return priv->plat->interface; interface 119 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c int interface; /* MII interface */ interface 167 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c if (dwmac->interface == PHY_INTERFACE_MODE_MII) { interface 169 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { interface 176 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { interface 204 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c if (dwmac->interface == PHY_INTERFACE_MODE_MII) { interface 206 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { interface 211 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { interface 230 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c int iface = dwmac->interface; interface 272 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c dwmac->interface = of_get_phy_mode(np); interface 279 drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c if (IS_PHY_IF_MODE_GBIT(dwmac->interface)) { interface 180 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c switch (plat_dat->interface) { interface 208 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c plat_dat->interface); interface 228 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c switch (plat_dat->interface) { interface 239 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c plat_dat->interface); interface 955 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c switch (priv->plat->interface) { interface 970 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c phy_modes(priv->plat->interface)); interface 1187 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c plat_dat->interface = ret; interface 21 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c int interface; interface 47 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c if (phy_interface_mode_is_rgmii(gmac->interface)) { interface 80 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c if (gmac->interface != PHY_INTERFACE_MODE_GMII) interface 121 drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c gmac->interface = of_get_phy_mode(dev->of_node); interface 887 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (state->interface == PHY_INTERFACE_MODE_USXGMII) { interface 943 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c unsigned int mode, phy_interface_t interface) interface 954 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c unsigned int mode, phy_interface_t interface, interface 985 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int interface = priv->plat->interface; interface 988 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if ((interface == PHY_INTERFACE_MODE_RGMII) || interface 989 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c (interface == PHY_INTERFACE_MODE_RGMII_ID) || interface 990 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c (interface == PHY_INTERFACE_MODE_RGMII_RXID) || interface 991 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c (interface == PHY_INTERFACE_MODE_RGMII_TXID)) { interface 994 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (interface == PHY_INTERFACE_MODE_SGMII) { interface 99 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_GMII; interface 223 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_SGMII; interface 236 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_RGMII; interface 264 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_SGMII; interface 364 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_RMII; interface 421 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->interface = PHY_INTERFACE_MODE_GMII; interface 419 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->interface = stmmac_of_get_mac_mode(np); interface 420 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c if (plat->interface < 0) interface 421 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->interface = plat->phy_interface; interface 1285 drivers/net/ethernet/ti/cpsw.c cpsw_phy_sel(cpsw->dev, slave->phy->interface, interface 243 drivers/net/ethernet/ti/netcp.h int netcp_sgmii_config(void __iomem *sgmii_ofs, int port, u32 interface); interface 235 drivers/net/ethernet/ti/netcp_core.c struct device_node *devices, *interface, *node = dev->of_node; interface 309 drivers/net/ethernet/ti/netcp_core.c interface = of_parse_phandle(netcp_intf->node_interface, interface 312 drivers/net/ethernet/ti/netcp_core.c if (!interface) { interface 323 drivers/net/ethernet/ti/netcp_core.c netcp_intf->ndev, interface, interface 325 drivers/net/ethernet/ti/netcp_core.c of_node_put(interface); interface 3557 drivers/net/ethernet/ti/netcp_ethss.c struct device_node *interfaces, *interface, *cpts_node; interface 3665 drivers/net/ethernet/ti/netcp_ethss.c for_each_child_of_node(interfaces, interface) { interface 3666 drivers/net/ethernet/ti/netcp_ethss.c ret = of_property_read_u32(interface, "slave-port", &slave_num); interface 3669 drivers/net/ethernet/ti/netcp_ethss.c interface); interface 3674 drivers/net/ethernet/ti/netcp_ethss.c of_node_put(interface); interface 89 drivers/net/ethernet/ti/netcp_sgmii.c int netcp_sgmii_config(void __iomem *sgmii_ofs, int port, u32 interface) interface 95 drivers/net/ethernet/ti/netcp_sgmii.c switch (interface) { interface 118 drivers/net/ethernet/ti/netcp_sgmii.c WARN_ONCE(1, "Invalid sgmii interface: %d\n", interface); interface 1383 drivers/net/ethernet/xilinx/xilinx_axienet_main.c if (state->interface != PHY_INTERFACE_MODE_NA && interface 1384 drivers/net/ethernet/xilinx/xilinx_axienet_main.c state->interface != lp->phy_mode) { interface 1386 drivers/net/ethernet/xilinx/xilinx_axienet_main.c phy_modes(state->interface), interface 1415 drivers/net/ethernet/xilinx/xilinx_axienet_main.c state->interface = lp->phy_mode; interface 1485 drivers/net/ethernet/xilinx/xilinx_axienet_main.c phy_interface_t interface) interface 1492 drivers/net/ethernet/xilinx/xilinx_axienet_main.c phy_interface_t interface, interface 1015 drivers/net/ieee802154/atusb.c static int atusb_probe(struct usb_interface *interface, interface 1018 drivers/net/ieee802154/atusb.c struct usb_device *usb_dev = interface_to_usbdev(interface); interface 1030 drivers/net/ieee802154/atusb.c usb_set_intfdata(interface, atusb); interface 1124 drivers/net/ieee802154/atusb.c static void atusb_disconnect(struct usb_interface *interface) interface 1126 drivers/net/ieee802154/atusb.c struct atusb *atusb = usb_get_intfdata(interface); interface 1144 drivers/net/ieee802154/atusb.c usb_set_intfdata(interface, NULL); interface 234 drivers/net/phy/adin.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 235 drivers/net/phy/adin.c phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { interface 247 drivers/net/phy/adin.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 248 drivers/net/phy/adin.c phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { interface 269 drivers/net/phy/adin.c if (phydev->interface != PHY_INTERFACE_MODE_RMII) interface 433 drivers/net/phy/adin.c phy_modes(phydev->interface)); interface 362 drivers/net/phy/aquantia_main.c phydev->interface = PHY_INTERFACE_MODE_10GKR; interface 365 drivers/net/phy/aquantia_main.c phydev->interface = PHY_INTERFACE_MODE_USXGMII; interface 368 drivers/net/phy/aquantia_main.c phydev->interface = PHY_INTERFACE_MODE_SGMII; interface 371 drivers/net/phy/aquantia_main.c phydev->interface = PHY_INTERFACE_MODE_2500BASEX; interface 374 drivers/net/phy/aquantia_main.c phydev->interface = PHY_INTERFACE_MODE_NA; interface 492 drivers/net/phy/aquantia_main.c if (phydev->interface != PHY_INTERFACE_MODE_SGMII && interface 493 drivers/net/phy/aquantia_main.c phydev->interface != PHY_INTERFACE_MODE_2500BASEX && interface 494 drivers/net/phy/aquantia_main.c phydev->interface != PHY_INTERFACE_MODE_XGMII && interface 495 drivers/net/phy/aquantia_main.c phydev->interface != PHY_INTERFACE_MODE_USXGMII && interface 496 drivers/net/phy/aquantia_main.c phydev->interface != PHY_INTERFACE_MODE_10GKR) interface 499 drivers/net/phy/aquantia_main.c WARN(phydev->interface == PHY_INTERFACE_MODE_XGMII, interface 517 drivers/net/phy/aquantia_main.c if (phydev->interface != PHY_INTERFACE_MODE_SGMII && interface 518 drivers/net/phy/aquantia_main.c phydev->interface != PHY_INTERFACE_MODE_2500BASEX) interface 266 drivers/net/phy/at803x.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 267 drivers/net/phy/at803x.c phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 274 drivers/net/phy/at803x.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 275 drivers/net/phy/at803x.c phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 51 drivers/net/phy/broadcom.c if ((phydev->interface != PHY_INTERFACE_MODE_RGMII_ID) && interface 52 drivers/net/phy/broadcom.c (phydev->interface != PHY_INTERFACE_MODE_RGMII_TXID)) { interface 59 drivers/net/phy/broadcom.c if ((phydev->interface != PHY_INTERFACE_MODE_RGMII_ID) && interface 60 drivers/net/phy/broadcom.c (phydev->interface != PHY_INTERFACE_MODE_RGMII_RXID)) { interface 93 drivers/net/phy/broadcom.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII || interface 94 drivers/net/phy/broadcom.c phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { interface 98 drivers/net/phy/broadcom.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 99 drivers/net/phy/broadcom.c phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { interface 110 drivers/net/phy/broadcom.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII || interface 111 drivers/net/phy/broadcom.c phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { interface 115 drivers/net/phy/broadcom.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 116 drivers/net/phy/broadcom.c phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { interface 109 drivers/net/phy/davicom.c switch (phydev->interface) { interface 221 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII) { interface 236 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 237 drivers/net/phy/dp83867.c phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { interface 253 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || interface 254 drivers/net/phy/dp83867.c phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { interface 375 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) interface 378 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 381 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 399 drivers/net/phy/dp83867.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 258 drivers/net/phy/dp83tc811.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 281 drivers/net/phy/dp83tc811.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 166 drivers/net/phy/icplus.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) interface 168 drivers/net/phy/icplus.c else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 170 drivers/net/phy/icplus.c else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 437 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) interface 440 drivers/net/phy/marvell.c else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) interface 442 drivers/net/phy/marvell.c else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) interface 601 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) interface 728 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) { interface 730 drivers/net/phy/marvell.c } else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { interface 732 drivers/net/phy/marvell.c } else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { interface 817 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 823 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_RTBI) { interface 857 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 1022 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) { interface 1028 drivers/net/phy/marvell.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 1362 drivers/net/phy/marvell.c phydev->interface != PHY_INTERFACE_MODE_SGMII) { interface 280 drivers/net/phy/marvell10g.c if (phydev->interface != PHY_INTERFACE_MODE_SGMII && interface 281 drivers/net/phy/marvell10g.c phydev->interface != PHY_INTERFACE_MODE_2500BASEX && interface 282 drivers/net/phy/marvell10g.c phydev->interface != PHY_INTERFACE_MODE_XAUI && interface 283 drivers/net/phy/marvell10g.c phydev->interface != PHY_INTERFACE_MODE_RXAUI && interface 284 drivers/net/phy/marvell10g.c phydev->interface != PHY_INTERFACE_MODE_10GKR) interface 364 drivers/net/phy/marvell10g.c if ((phydev->interface == PHY_INTERFACE_MODE_SGMII || interface 365 drivers/net/phy/marvell10g.c phydev->interface == PHY_INTERFACE_MODE_2500BASEX || interface 366 drivers/net/phy/marvell10g.c phydev->interface == PHY_INTERFACE_MODE_10GKR) && phydev->link) { interface 375 drivers/net/phy/marvell10g.c phydev->interface = PHY_INTERFACE_MODE_10GKR; interface 378 drivers/net/phy/marvell10g.c phydev->interface = PHY_INTERFACE_MODE_2500BASEX; interface 383 drivers/net/phy/marvell10g.c phydev->interface = PHY_INTERFACE_MODE_SGMII; interface 810 drivers/net/phy/mscc.c phy_interface_t interface) interface 818 drivers/net/phy/mscc.c switch (interface) { interface 1670 drivers/net/phy/mscc.c if (phydev->interface == PHY_INTERFACE_MODE_QSGMII) interface 1681 drivers/net/phy/mscc.c if (phydev->interface == PHY_INTERFACE_MODE_QSGMII) interface 1744 drivers/net/phy/mscc.c rc = vsc85xx_mac_if_set(phydev, phydev->interface); interface 375 drivers/net/phy/phy.c if (phydev->interface == PHY_INTERFACE_MODE_MOCA) interface 529 drivers/net/phy/phy_device.c mode = phy_modes(phydev->interface); interface 609 drivers/net/phy/phy_device.c dev->interface = PHY_INTERFACE_MODE_GMII; interface 955 drivers/net/phy/phy_device.c phy_interface_t interface) interface 962 drivers/net/phy/phy_device.c rc = phy_attach_direct(dev, phydev, phydev->dev_flags, interface); interface 991 drivers/net/phy/phy_device.c phy_interface_t interface) interface 1007 drivers/net/phy/phy_device.c rc = phy_connect_direct(dev, phydev, handler, interface); interface 1201 drivers/net/phy/phy_device.c u32 flags, phy_interface_t interface) interface 1283 drivers/net/phy/phy_device.c phydev->interface = interface; interface 1331 drivers/net/phy/phy_device.c phy_interface_t interface) interface 1351 drivers/net/phy/phy_device.c rc = phy_attach_direct(dev, phydev, phydev->dev_flags, interface); interface 280 drivers/net/phy/phylink.c switch (pl->link_config.interface) { interface 317 drivers/net/phy/phylink.c phy_modes(pl->link_config.interface)); interface 339 drivers/net/phy/phylink.c phy_modes(state->interface), interface 358 drivers/net/phy/phylink.c phy_interface_mode_is_8023z(pl->link_config.interface)) interface 367 drivers/net/phy/phylink.c state->interface = pl->link_config.interface; interface 445 drivers/net/phy/phylink.c pl->cur_interface = link_state.interface; interface 506 drivers/net/phy/phylink.c link_state.interface = pl->phy_state.interface; interface 633 drivers/net/phy/phylink.c pl->phy_state.interface = iface; interface 639 drivers/net/phy/phylink.c pl->link_config.interface = iface; interface 710 drivers/net/phy/phylink.c pl->phy_state.interface = phydev->interface; interface 717 drivers/net/phy/phylink.c phy_modes(phydev->interface), interface 731 drivers/net/phy/phylink.c config.interface = pl->link_config.interface; interface 779 drivers/net/phy/phylink.c phy_interface_t interface) interface 785 drivers/net/phy/phylink.c phy_interface_mode_is_8023z(interface)))) interface 791 drivers/net/phy/phylink.c ret = phy_attach_direct(pl->netdev, phy, 0, interface); interface 821 drivers/net/phy/phylink.c pl->link_interface = phy->interface; interface 822 drivers/net/phy/phylink.c pl->link_config.interface = pl->link_interface; interface 975 drivers/net/phy/phylink.c phy_modes(pl->link_config.interface)); interface 1255 drivers/net/phy/phylink.c pl->link_config.interface = config.interface; interface 1715 drivers/net/phy/phylink.c config.interface = PHY_INTERFACE_MODE_NA; interface 1739 drivers/net/phy/phylink.c config.interface = iface; interface 1744 drivers/net/phy/phylink.c phy_modes(config.interface), interface 1751 drivers/net/phy/phylink.c phy_modes(config.interface), interface 1765 drivers/net/phy/phylink.c pl->link_config.interface != config.interface) { interface 1766 drivers/net/phy/phylink.c pl->link_config.interface = config.interface; interface 1773 drivers/net/phy/phylink.c phy_modes(config.interface)); interface 1808 drivers/net/phy/phylink.c return __phylink_connect_phy(upstream, phy, pl->link_config.interface); interface 1840 drivers/net/phy/phylink.c if (phy_interface_mode_is_8023z(state->interface)) { interface 1847 drivers/net/phy/phylink.c state->interface = PHY_INTERFACE_MODE_2500BASEX; interface 1850 drivers/net/phy/phylink.c state->interface = PHY_INTERFACE_MODE_1000BASEX; interface 181 drivers/net/phy/realtek.c switch (phydev->interface) { interface 218 drivers/net/phy/realtek.c switch (phydev->interface) { interface 108 drivers/net/phy/vitesse.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) interface 264 drivers/net/phy/vitesse.c if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) interface 255 drivers/net/usb/hso.c struct usb_interface *interface; interface 680 drivers/net/usb/hso.c usb_queue_reset_device(hso_dev->interface); interface 805 drivers/net/usb/hso.c dev_warn(&odev->parent->interface->dev, interface 1039 drivers/net/usb/hso.c dev_warn(&odev->parent->interface->dev, interface 1251 drivers/net/usb/hso.c result = usb_autopm_get_interface(serial->parent->interface); interface 1281 drivers/net/usb/hso.c usb_autopm_put_interface(serial->parent->interface); interface 1307 drivers/net/usb/hso.c usb_autopm_get_interface(serial->parent->interface); interface 1322 drivers/net/usb/hso.c usb_autopm_put_interface(serial->parent->interface); interface 1457 drivers/net/usb/hso.c struct usb_interface *interface; interface 1475 drivers/net/usb/hso.c interface = serial->parent->interface; interface 1477 drivers/net/usb/hso.c if_num = interface->cur_altsetting->desc.bInterfaceNumber; interface 1659 drivers/net/usb/hso.c struct usb_interface *interface; interface 1670 drivers/net/usb/hso.c interface = serial->parent->interface; interface 1671 drivers/net/usb/hso.c if_num = interface->cur_altsetting->desc.bInterfaceNumber; interface 1821 drivers/net/usb/hso.c dev_err(&serial->parent->interface->dev, interface 2085 drivers/net/usb/hso.c dev_dbg(&hso_dev->interface->dev, "HSO: Found %s port %s\n", interface 2266 drivers/net/usb/hso.c tty_drv, minor, &serial->parent->interface->dev, interface 2328 drivers/net/usb/hso.c hso_dev->interface = intf; interface 2450 drivers/net/usb/hso.c struct usb_interface *interface) interface 2460 drivers/net/usb/hso.c &interface_to_usbdev(interface)->dev, interface 2480 drivers/net/usb/hso.c static struct hso_device *hso_create_net_device(struct usb_interface *interface, interface 2488 drivers/net/usb/hso.c hso_dev = hso_create_device(interface, port_spec); interface 2497 drivers/net/usb/hso.c dev_err(&interface->dev, "Unable to create ethernet device\n"); interface 2507 drivers/net/usb/hso.c hso_net->in_endp = hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, interface 2510 drivers/net/usb/hso.c dev_err(&interface->dev, "Can't find BULK IN endpoint\n"); interface 2513 drivers/net/usb/hso.c hso_net->out_endp = hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, interface 2516 drivers/net/usb/hso.c dev_err(&interface->dev, "Can't find BULK OUT endpoint\n"); interface 2519 drivers/net/usb/hso.c SET_NETDEV_DEV(net, &interface->dev); interface 2544 drivers/net/usb/hso.c dev_err(&interface->dev, "Failed to register device\n"); interface 2550 drivers/net/usb/hso.c hso_create_rfkill(hso_dev, interface); interface 2598 drivers/net/usb/hso.c struct usb_interface *interface, int port) interface 2605 drivers/net/usb/hso.c hso_dev = hso_create_device(interface, port); interface 2628 drivers/net/usb/hso.c tiocmget->endp = hso_get_ep(interface, interface 2632 drivers/net/usb/hso.c dev_err(&interface->dev, "Failed to find INT IN ep\n"); interface 2651 drivers/net/usb/hso.c serial->in_endp = hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, interface 2654 drivers/net/usb/hso.c dev_err(&interface->dev, "Failed to find BULK IN ep\n"); interface 2660 drivers/net/usb/hso.c hso_get_ep(interface, USB_ENDPOINT_XFER_BULK, USB_DIR_OUT))) { interface 2661 drivers/net/usb/hso.c dev_err(&interface->dev, "Failed to find BULK IN ep\n"); interface 2688 drivers/net/usb/hso.c struct hso_device *hso_create_mux_serial_device(struct usb_interface *interface, interface 2703 drivers/net/usb/hso.c hso_dev = hso_create_device(interface, port_spec); interface 2754 drivers/net/usb/hso.c struct hso_shared_int *hso_create_shared_int(struct usb_interface *interface) interface 2761 drivers/net/usb/hso.c mux->intr_endp = hso_get_ep(interface, USB_ENDPOINT_XFER_INT, interface 2764 drivers/net/usb/hso.c dev_err(&interface->dev, "Can't find INT IN endpoint\n"); interface 2789 drivers/net/usb/hso.c static int hso_get_config_data(struct usb_interface *interface) interface 2791 drivers/net/usb/hso.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 2793 drivers/net/usb/hso.c u32 if_num = interface->cur_altsetting->desc.bInterfaceNumber; interface 2863 drivers/net/usb/hso.c static int hso_probe(struct usb_interface *interface, interface 2872 drivers/net/usb/hso.c if (interface->cur_altsetting->desc.bInterfaceClass != 0xFF) { interface 2873 drivers/net/usb/hso.c dev_err(&interface->dev, "Not our interface\n"); interface 2877 drivers/net/usb/hso.c if_num = interface->cur_altsetting->desc.bInterfaceNumber; interface 2889 drivers/net/usb/hso.c port_spec = hso_get_config_data(interface); interface 2896 drivers/net/usb/hso.c if (interface->num_altsetting > 1) interface 2897 drivers/net/usb/hso.c usb_set_interface(interface_to_usbdev(interface), if_num, 1); interface 2898 drivers/net/usb/hso.c interface->needs_remote_wakeup = 1; interface 2906 drivers/net/usb/hso.c hso_dev = hso_create_net_device(interface, interface 2914 drivers/net/usb/hso.c if (hso_get_mux_ports(interface, &port_mask)) interface 2918 drivers/net/usb/hso.c shared_int = hso_create_shared_int(interface); interface 2925 drivers/net/usb/hso.c interface, i, shared_int); interface 2940 drivers/net/usb/hso.c hso_create_net_device(interface, port_spec); interface 2943 drivers/net/usb/hso.c hso_create_bulk_serial_device(interface, port_spec); interface 2953 drivers/net/usb/hso.c usb_set_intfdata(interface, hso_dev); interface 2958 drivers/net/usb/hso.c hso_free_interface(interface); interface 2963 drivers/net/usb/hso.c static void hso_disconnect(struct usb_interface *interface) interface 2965 drivers/net/usb/hso.c hso_free_interface(interface); interface 2968 drivers/net/usb/hso.c usb_set_intfdata(interface, NULL); interface 2975 drivers/net/usb/hso.c usb_autopm_get_interface(hso_dev->interface); interface 2982 drivers/net/usb/hso.c usb_autopm_put_interface(hso_dev->interface); interface 3022 drivers/net/usb/hso.c if (serial_table[i] && (serial_table[i]->interface == iface)) { interface 3032 drivers/net/usb/hso.c (network_table[i]->interface == iface)) { interface 3051 drivers/net/usb/hso.c if (serial_table[i] && (serial_table[i]->interface == iface)) { interface 3065 drivers/net/usb/hso.c (network_table[i]->interface == iface)) { interface 3096 drivers/net/usb/hso.c static void hso_free_interface(struct usb_interface *interface) interface 3103 drivers/net/usb/hso.c (serial_table[i]->interface == interface)) { interface 3119 drivers/net/usb/hso.c (network_table[i]->interface == interface)) { interface 412 drivers/net/usb/lan78xx.c phy_interface_t interface; interface 2022 drivers/net/usb/lan78xx.c dev->interface = PHY_INTERFACE_MODE_RGMII_TXID; interface 2039 drivers/net/usb/lan78xx.c dev->interface = PHY_INTERFACE_MODE_RGMII_RXID; interface 2064 drivers/net/usb/lan78xx.c dev->interface = PHY_INTERFACE_MODE_RGMII; interface 2077 drivers/net/usb/lan78xx.c dev->interface = PHY_INTERFACE_MODE_RGMII; interface 2123 drivers/net/usb/lan78xx.c dev->interface = PHY_INTERFACE_MODE_GMII; interface 2143 drivers/net/usb/lan78xx.c dev->interface); interface 1651 drivers/net/usb/usbnet.c struct usb_host_interface *interface; interface 1674 drivers/net/usb/usbnet.c interface = udev->cur_altsetting; interface 1762 drivers/net/usb/usbnet.c interface->desc.bInterfaceNumber, interface 1763 drivers/net/usb/usbnet.c interface->desc.bAlternateSetting); interface 229 drivers/net/wan/farsync.c u8 interface; interface 1703 drivers/net/wan/farsync.c FST_WRB(card, suConfig.interface, info->interface); interface 1727 drivers/net/wan/farsync.c printk("interface = %d\n", info->interface); interface 1817 drivers/net/wan/farsync.c info->interface = FST_RDB(card, suConfig.interface); interface 119 drivers/net/wan/farsync.h unsigned char interface; /* rj48c or bnc */ interface 379 drivers/net/wireless/ath/ath10k/usb.c usb_set_intfdata(ar_usb->interface, NULL); interface 828 drivers/net/wireless/ath/ath10k/usb.c struct usb_interface *interface) interface 831 drivers/net/wireless/ath/ath10k/usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; interface 933 drivers/net/wireless/ath/ath10k/usb.c struct usb_interface *interface) interface 936 drivers/net/wireless/ath/ath10k/usb.c struct usb_device *dev = interface_to_usbdev(interface); interface 940 drivers/net/wireless/ath/ath10k/usb.c usb_set_intfdata(interface, ar_usb); interface 943 drivers/net/wireless/ath/ath10k/usb.c ar_usb->interface = interface; interface 965 drivers/net/wireless/ath/ath10k/usb.c ret = ath10k_usb_setup_pipe_resources(ar, interface); interface 977 drivers/net/wireless/ath/ath10k/usb.c static int ath10k_usb_probe(struct usb_interface *interface, interface 982 drivers/net/wireless/ath/ath10k/usb.c struct usb_device *dev = interface_to_usbdev(interface); interface 1011 drivers/net/wireless/ath/ath10k/usb.c ret = ath10k_usb_create(ar, interface); interface 1040 drivers/net/wireless/ath/ath10k/usb.c static void ath10k_usb_remove(struct usb_interface *interface) interface 1044 drivers/net/wireless/ath/ath10k/usb.c ar_usb = usb_get_intfdata(interface); interface 1050 drivers/net/wireless/ath/ath10k/usb.c usb_put_dev(interface_to_usbdev(interface)); interface 1056 drivers/net/wireless/ath/ath10k/usb.c static int ath10k_usb_pm_suspend(struct usb_interface *interface, interface 1059 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb *ar_usb = usb_get_intfdata(interface); interface 1065 drivers/net/wireless/ath/ath10k/usb.c static int ath10k_usb_pm_resume(struct usb_interface *interface) interface 1067 drivers/net/wireless/ath/ath10k/usb.c struct ath10k_usb *ar_usb = usb_get_intfdata(interface); interface 97 drivers/net/wireless/ath/ath10k/usb.h struct usb_interface *interface; interface 69 drivers/net/wireless/ath/ath6kl/usb.c struct usb_interface *interface; interface 305 drivers/net/wireless/ath/ath6kl/usb.c struct usb_interface *interface = ar_usb->interface; interface 306 drivers/net/wireless/ath/ath6kl/usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; interface 613 drivers/net/wireless/ath/ath6kl/usb.c usb_set_intfdata(ar_usb->interface, NULL); interface 621 drivers/net/wireless/ath/ath6kl/usb.c static struct ath6kl_usb *ath6kl_usb_create(struct usb_interface *interface) interface 623 drivers/net/wireless/ath/ath6kl/usb.c struct usb_device *dev = interface_to_usbdev(interface); interface 633 drivers/net/wireless/ath/ath6kl/usb.c usb_set_intfdata(interface, ar_usb); interface 636 drivers/net/wireless/ath/ath6kl/usb.c ar_usb->interface = interface; interface 668 drivers/net/wireless/ath/ath6kl/usb.c static void ath6kl_usb_device_detached(struct usb_interface *interface) interface 672 drivers/net/wireless/ath/ath6kl/usb.c ar_usb = usb_get_intfdata(interface); interface 1106 drivers/net/wireless/ath/ath6kl/usb.c static int ath6kl_usb_probe(struct usb_interface *interface, interface 1109 drivers/net/wireless/ath/ath6kl/usb.c struct usb_device *dev = interface_to_usbdev(interface); interface 1123 drivers/net/wireless/ath/ath6kl/usb.c if (interface->cur_altsetting) interface 1125 drivers/net/wireless/ath/ath6kl/usb.c interface->cur_altsetting->desc.bInterfaceNumber); interface 1133 drivers/net/wireless/ath/ath6kl/usb.c ar_usb = ath6kl_usb_create(interface); interface 1173 drivers/net/wireless/ath/ath6kl/usb.c static void ath6kl_usb_remove(struct usb_interface *interface) interface 1175 drivers/net/wireless/ath/ath6kl/usb.c usb_put_dev(interface_to_usbdev(interface)); interface 1176 drivers/net/wireless/ath/ath6kl/usb.c ath6kl_usb_device_detached(interface); interface 1181 drivers/net/wireless/ath/ath6kl/usb.c static int ath6kl_usb_pm_suspend(struct usb_interface *interface, interface 1185 drivers/net/wireless/ath/ath6kl/usb.c device = usb_get_intfdata(interface); interface 1191 drivers/net/wireless/ath/ath6kl/usb.c static int ath6kl_usb_pm_resume(struct usb_interface *interface) interface 1194 drivers/net/wireless/ath/ath6kl/usb.c device = usb_get_intfdata(interface); interface 1219 drivers/net/wireless/ath/ath9k/hif_usb.c &hif_dev->interface->dev, interface 1247 drivers/net/wireless/ath/ath9k/hif_usb.c static int send_eject_command(struct usb_interface *interface) interface 1249 drivers/net/wireless/ath/ath9k/hif_usb.c struct usb_device *udev = interface_to_usbdev(interface); interface 1250 drivers/net/wireless/ath/ath9k/hif_usb.c struct usb_host_interface *iface_desc = interface->cur_altsetting; interface 1298 drivers/net/wireless/ath/ath9k/hif_usb.c usb_set_intfdata(interface, NULL); interface 1302 drivers/net/wireless/ath/ath9k/hif_usb.c static int ath9k_hif_usb_probe(struct usb_interface *interface, interface 1305 drivers/net/wireless/ath/ath9k/hif_usb.c struct usb_device *udev = interface_to_usbdev(interface); interface 1310 drivers/net/wireless/ath/ath9k/hif_usb.c return send_eject_command(interface); interface 1321 drivers/net/wireless/ath/ath9k/hif_usb.c hif_dev->interface = interface; interface 1326 drivers/net/wireless/ath/ath9k/hif_usb.c usb_set_intfdata(interface, hif_dev); interface 1337 drivers/net/wireless/ath/ath9k/hif_usb.c usb_set_intfdata(interface, NULL); interface 1362 drivers/net/wireless/ath/ath9k/hif_usb.c static void ath9k_hif_usb_disconnect(struct usb_interface *interface) interface 1364 drivers/net/wireless/ath/ath9k/hif_usb.c struct usb_device *udev = interface_to_usbdev(interface); interface 1365 drivers/net/wireless/ath/ath9k/hif_usb.c struct hif_device_usb *hif_dev = usb_get_intfdata(interface); interface 1380 drivers/net/wireless/ath/ath9k/hif_usb.c usb_set_intfdata(interface, NULL); interface 1393 drivers/net/wireless/ath/ath9k/hif_usb.c static int ath9k_hif_usb_suspend(struct usb_interface *interface, interface 1396 drivers/net/wireless/ath/ath9k/hif_usb.c struct hif_device_usb *hif_dev = usb_get_intfdata(interface); interface 1413 drivers/net/wireless/ath/ath9k/hif_usb.c static int ath9k_hif_usb_resume(struct usb_interface *interface) interface 1415 drivers/net/wireless/ath/ath9k/hif_usb.c struct hif_device_usb *hif_dev = usb_get_intfdata(interface); interface 117 drivers/net/wireless/ath/ath9k/hif_usb.h struct usb_interface *interface; interface 2229 drivers/net/wireless/atmel/at76c50x-usb.c struct usb_interface *interface) interface 2239 drivers/net/wireless/atmel/at76c50x-usb.c interface->altsetting[0].desc.bNumEndpoints); interface 2243 drivers/net/wireless/atmel/at76c50x-usb.c iface_desc = interface->cur_altsetting; interface 2259 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, "bulk endpoints missing\n"); interface 2269 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, "cannot allocate URB\n"); interface 2316 drivers/net/wireless/atmel/at76c50x-usb.c struct usb_interface *interface) interface 2326 drivers/net/wireless/atmel/at76c50x-usb.c interface->cur_altsetting->desc.bNumEndpoints); interface 2328 drivers/net/wireless/atmel/at76c50x-usb.c ret = at76_alloc_urbs(priv, interface); interface 2335 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, "cannot get MAC address\n"); interface 2365 drivers/net/wireless/atmel/at76c50x-usb.c SET_IEEE80211_DEV(priv->hw, &interface->dev); interface 2387 drivers/net/wireless/atmel/at76c50x-usb.c dev_name(&interface->dev), priv->mac_addr, interface 2433 drivers/net/wireless/atmel/at76c50x-usb.c static int at76_probe(struct usb_interface *interface, interface 2445 drivers/net/wireless/atmel/at76c50x-usb.c udev = usb_get_dev(interface_to_usbdev(interface)); interface 2468 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, interface 2477 drivers/net/wireless/atmel/at76c50x-usb.c dev_printk(KERN_DEBUG, &interface->dev, interface 2481 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, interface 2506 drivers/net/wireless/atmel/at76c50x-usb.c dev_printk(KERN_DEBUG, &interface->dev, interface 2516 drivers/net/wireless/atmel/at76c50x-usb.c dev_err(&interface->dev, interface 2528 drivers/net/wireless/atmel/at76c50x-usb.c usb_set_intfdata(interface, priv); interface 2533 drivers/net/wireless/atmel/at76c50x-usb.c ret = at76_init_new_device(priv, interface); interface 2544 drivers/net/wireless/atmel/at76c50x-usb.c static void at76_disconnect(struct usb_interface *interface) interface 2548 drivers/net/wireless/atmel/at76c50x-usb.c priv = usb_get_intfdata(interface); interface 2549 drivers/net/wireless/atmel/at76c50x-usb.c usb_set_intfdata(interface, NULL); interface 2558 drivers/net/wireless/atmel/at76c50x-usb.c dev_info(&interface->dev, "disconnected\n"); interface 1570 drivers/net/wireless/intersil/orinoco/orinoco_usb.c static int ezusb_probe(struct usb_interface *interface, interface 1573 drivers/net/wireless/intersil/orinoco/orinoco_usb.c struct usb_device *udev = interface_to_usbdev(interface); interface 1612 drivers/net/wireless/intersil/orinoco/orinoco_usb.c iface_desc = &interface->cur_altsetting->desc; interface 1614 drivers/net/wireless/intersil/orinoco/orinoco_usb.c ep = &interface->cur_altsetting->endpoint[i].desc; interface 1670 drivers/net/wireless/intersil/orinoco/orinoco_usb.c &interface->dev) == 0) { interface 1727 drivers/net/wireless/intersil/orinoco/orinoco_usb.c usb_set_intfdata(interface, upriv); interface 5908 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct usb_interface *interface) interface 5918 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c host_interface = interface->cur_altsetting; interface 5983 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c static int rtl8xxxu_probe(struct usb_interface *interface, interface 5993 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c udev = usb_get_dev(interface_to_usbdev(interface)); interface 6059 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c usb_set_intfdata(interface, hw); interface 6061 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c ret = rtl8xxxu_parse_usb(priv, interface); interface 6126 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c SET_IEEE80211_DEV(priv->hw, &interface->dev); interface 6149 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c usb_set_intfdata(interface, NULL); interface 6163 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c static void rtl8xxxu_disconnect(struct usb_interface *interface) interface 6168 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c hw = usb_get_intfdata(interface); interface 6175 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c usb_set_intfdata(interface, NULL); interface 1293 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c switch (rtlpriv->rtlhal.interface) { interface 1329 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c switch (rtlpriv->rtlhal.interface) { interface 2221 drivers/net/wireless/realtek/rtlwifi/pci.c rtlpriv->rtlhal.interface = INTF_PCI; interface 18 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlhal->interface == INTF_PCI) interface 162 drivers/net/wireless/realtek/rtlwifi/ps.c rtlhal->interface == INTF_PCI) { interface 165 drivers/net/wireless/realtek/rtlwifi/ps.c rtlhal->interface == INTF_PCI) { interface 175 drivers/net/wireless/realtek/rtlwifi/ps.c rtlhal->interface == INTF_PCI) { interface 451 drivers/net/wireless/realtek/rtlwifi/ps.c rtlhal->interface == INTF_PCI) { interface 267 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c u32 _interface = rtlhal->interface; interface 524 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (rtlpriv->rtlhal.interface == INTF_USB && interface 545 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c if (rtlpriv->rtlhal.interface == INTF_USB && interface 265 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u32 _interface = rtlhal->interface; interface 142 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 intf = (rtlhal->interface == INTF_USB ? BIT(1) : BIT(0)); interface 500 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (rtlpriv->rtlhal.interface == INTF_USB) { interface 740 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u32 intf = (rtlhal->interface == INTF_USB ? BIT(1) : BIT(0)); interface 1047 drivers/net/wireless/realtek/rtlwifi/usb.c rtlpriv->rtlhal.interface = INTF_USB; interface 1629 drivers/net/wireless/realtek/rtlwifi/wifi.h enum intf_type interface; interface 112 drivers/net/wireless/rsi/rsi_91x_usb.c static int rsi_find_bulk_in_and_out_endpoints(struct usb_interface *interface, interface 121 drivers/net/wireless/rsi/rsi_91x_usb.c iface_desc = interface->cur_altsetting; interface 1727 drivers/net/wireless/zydas/zd1201.c static int zd1201_probe(struct usb_interface *interface, interface 1737 drivers/net/wireless/zydas/zd1201.c usb = interface_to_usbdev(interface); interface 1814 drivers/net/wireless/zydas/zd1201.c usb_set_intfdata(interface, zd); interface 1829 drivers/net/wireless/zydas/zd1201.c static void zd1201_disconnect(struct usb_interface *interface) interface 1831 drivers/net/wireless/zydas/zd1201.c struct zd1201 *zd = usb_get_intfdata(interface); interface 1837 drivers/net/wireless/zydas/zd1201.c usb_set_intfdata(interface, NULL); interface 1862 drivers/net/wireless/zydas/zd1201.c static int zd1201_suspend(struct usb_interface *interface, interface 1865 drivers/net/wireless/zydas/zd1201.c struct zd1201 *zd = usb_get_intfdata(interface); interface 1877 drivers/net/wireless/zydas/zd1201.c static int zd1201_resume(struct usb_interface *interface) interface 1879 drivers/net/wireless/zydas/zd1201.c struct zd1201 *zd = usb_get_intfdata(interface); interface 48 drivers/nfc/pn533/usb.c struct usb_interface *interface; interface 442 drivers/nfc/pn533/usb.c static int pn533_usb_probe(struct usb_interface *interface, interface 461 drivers/nfc/pn533/usb.c phy = devm_kzalloc(&interface->dev, sizeof(*phy), GFP_KERNEL); interface 469 drivers/nfc/pn533/usb.c phy->udev = usb_get_dev(interface_to_usbdev(interface)); interface 470 drivers/nfc/pn533/usb.c phy->interface = interface; interface 472 drivers/nfc/pn533/usb.c iface_desc = interface->cur_altsetting; interface 484 drivers/nfc/pn533/usb.c nfc_err(&interface->dev, interface 524 drivers/nfc/pn533/usb.c nfc_err(&interface->dev, interface 531 drivers/nfc/pn533/usb.c nfc_err(&interface->dev, "Unknown device type %lu\n", interface 539 drivers/nfc/pn533/usb.c &phy->udev->dev, &interface->dev); interface 552 drivers/nfc/pn533/usb.c usb_set_intfdata(interface, phy); interface 573 drivers/nfc/pn533/usb.c static void pn533_usb_disconnect(struct usb_interface *interface) interface 575 drivers/nfc/pn533/usb.c struct pn533_usb_phy *phy = usb_get_intfdata(interface); interface 582 drivers/nfc/pn533/usb.c usb_set_intfdata(interface, NULL); interface 594 drivers/nfc/pn533/usb.c nfc_info(&interface->dev, "NXP PN533 NFC device disconnected\n"); interface 446 drivers/nfc/port100.c struct usb_interface *interface; interface 626 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 631 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", interface 639 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Received an invalid frame\n"); interface 648 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 679 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 684 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", interface 692 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Received an invalid ack\n"); interface 699 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 850 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 942 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 947 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", interface 1166 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 1182 drivers/nfc/port100.c nfc_err(&dev->interface->dev, interface 1322 drivers/nfc/port100.c nfc_err(&dev->interface->dev, "Unknown command type\n"); interface 1486 drivers/nfc/port100.c static int port100_probe(struct usb_interface *interface, interface 1499 drivers/nfc/port100.c dev = devm_kzalloc(&interface->dev, sizeof(struct port100), GFP_KERNEL); interface 1504 drivers/nfc/port100.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 1505 drivers/nfc/port100.c dev->interface = interface; interface 1506 drivers/nfc/port100.c usb_set_intfdata(interface, dev); interface 1509 drivers/nfc/port100.c iface_desc = interface->cur_altsetting; interface 1521 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1531 drivers/nfc/port100.c nfc_err(&interface->dev, "Could not allocate USB URBs\n"); interface 1556 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1569 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1577 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1580 drivers/nfc/port100.c nfc_info(&interface->dev, interface 1590 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1596 drivers/nfc/port100.c nfc_digital_set_parent_dev(dev->nfc_digital_dev, &interface->dev); interface 1601 drivers/nfc/port100.c nfc_err(&interface->dev, interface 1619 drivers/nfc/port100.c static void port100_disconnect(struct usb_interface *interface) interface 1623 drivers/nfc/port100.c dev = usb_get_intfdata(interface); interface 1624 drivers/nfc/port100.c usb_set_intfdata(interface, NULL); interface 1638 drivers/nfc/port100.c nfc_info(&interface->dev, "Sony Port-100 NFC device disconnected\n"); interface 1099 drivers/pcmcia/cistpl.c entry->interface = *p & 0x0f; interface 1101 drivers/pcmcia/cistpl.c entry->interface = 0; interface 286 drivers/platform/x86/acer-wmi.c static struct wmi_interface *interface; interface 305 drivers/platform/x86/acer-wmi.c if (!interface) interface 309 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_MAILLED; interface 312 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BRIGHTNESS; interface 579 drivers/platform/x86/acer-wmi.c interface->capability &= ~ACER_CAP_BRIGHTNESS; interface 661 drivers/platform/x86/acer-wmi.c return interface->capability & cap; interface 830 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_MAILLED; interface 872 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_WIRELESS; interface 896 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_WIRELESS; interface 919 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BLUETOOTH; interface 927 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BRIGHTNESS; interface 1250 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_WIRELESS; interface 1252 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_THREEG; interface 1254 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BLUETOOTH; interface 1256 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_RFBTN; interface 1293 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_WIRELESS; interface 1295 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_THREEG; interface 1297 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BLUETOOTH; interface 1322 drivers/platform/x86/acer-wmi.c switch (interface->type) { interface 1352 drivers/platform/x86/acer-wmi.c if (interface->capability & cap) { interface 1353 drivers/platform/x86/acer-wmi.c switch (interface->type) { interface 1896 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_ACCEL; interface 2050 drivers/platform/x86/acer-wmi.c struct acer_data *data = &interface->data; interface 2071 drivers/platform/x86/acer-wmi.c struct acer_data *data = &interface->data; interface 2096 drivers/platform/x86/acer-wmi.c struct acer_data *data = &interface->data; interface 2119 drivers/platform/x86/acer-wmi.c debugfs_remove_recursive(interface->debug.root); interface 2124 drivers/platform/x86/acer-wmi.c interface->debug.root = debugfs_create_dir("acer-wmi", NULL); interface 2126 drivers/platform/x86/acer-wmi.c debugfs_create_u32("devices", S_IRUGO, interface->debug.root, interface 2127 drivers/platform/x86/acer-wmi.c &interface->debug.wmid_devices); interface 2165 drivers/platform/x86/acer-wmi.c interface = &AMW0_V2_interface; interface 2168 drivers/platform/x86/acer-wmi.c interface = &wmid_interface; interface 2171 drivers/platform/x86/acer-wmi.c interface = &wmid_v2_interface; interface 2173 drivers/platform/x86/acer-wmi.c if (interface) interface 2176 drivers/platform/x86/acer-wmi.c if (wmi_has_guid(WMID_GUID2) && interface) { interface 2182 drivers/platform/x86/acer-wmi.c interface->capability |= ACER_CAP_BRIGHTNESS; interface 2183 drivers/platform/x86/acer-wmi.c } else if (!wmi_has_guid(WMID_GUID2) && interface && !has_type_aa) { interface 2189 drivers/platform/x86/acer-wmi.c interface = &AMW0_interface; interface 2200 drivers/platform/x86/acer-wmi.c if (!interface) { interface 2211 drivers/platform/x86/acer-wmi.c interface->capability &= ~ACER_CAP_BRIGHTNESS; interface 2256 drivers/platform/x86/acer-wmi.c interface->debug.wmid_devices = get_wmid_devices(); interface 232 drivers/platform/x86/alienware-wmi.c static u8 interface; interface 288 drivers/platform/x86/alienware-wmi.c if (interface == WMAX) { interface 375 drivers/platform/x86/alienware-wmi.c if (interface == WMAX) interface 416 drivers/platform/x86/alienware-wmi.c else if (interface == LEGACY) interface 435 drivers/platform/x86/alienware-wmi.c if (interface == WMAX) { interface 437 drivers/platform/x86/alienware-wmi.c } else if (interface == LEGACY) { interface 779 drivers/platform/x86/alienware-wmi.c interface = LEGACY; interface 781 drivers/platform/x86/alienware-wmi.c interface = WMAX; interface 451 drivers/s390/net/qeth_core_mpc.h __u32 interface; interface 676 drivers/scsi/bnx2fc/bnx2fc_els.c struct bnx2fc_interface *interface = port->priv; interface 775 drivers/scsi/bnx2fc/bnx2fc_els.c interface->hba->task_ctx[task_idx]; interface 933 drivers/scsi/bnx2fc/bnx2fc_els.c struct bnx2fc_interface *interface = port->priv; interface 934 drivers/scsi/bnx2fc/bnx2fc_els.c struct fcoe_ctlr *fip = bnx2fc_to_ctlr(interface); interface 62 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void __bnx2fc_destroy(struct bnx2fc_interface *interface); interface 73 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_start_disc(struct bnx2fc_interface *interface); interface 81 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, interface 88 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface); interface 95 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_stop(struct bnx2fc_interface *interface); interface 190 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 191 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 268 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 281 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = port->priv; interface 282 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 283 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hba = interface->hba; interface 368 drivers/scsi/bnx2fc/bnx2fc_fcoe.c skb->dev = interface->netdev; interface 429 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 435 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = container_of(ptype, struct bnx2fc_interface, interface 437 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 521 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 559 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = phys_port->priv; interface 560 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 682 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 683 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 732 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 733 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 757 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->netdev->name); interface 765 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 766 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 797 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 803 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = port->priv; interface 804 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 805 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hba = interface->hba; interface 866 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface, *tmp; interface 899 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(interface, tmp, &if_list, list) { interface 900 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->hba == hba && interface 901 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->vlan_id == (vlan_id & VLAN_VID_MASK)) interface 902 drivers/scsi/bnx2fc/bnx2fc_fcoe.c __bnx2fc_destroy(interface); interface 915 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry(interface, &if_list, list) { interface 917 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->hba != hba) interface 920 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 923 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->netdev->name, event); interface 943 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->enabled) interface 1059 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 1061 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = container_of(ptype, struct bnx2fc_interface, interface 1063 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 1129 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 1130 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct net_device *netdev = interface->netdev; interface 1144 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!test_bit(BNX2FC_FLAG_FW_INIT_DONE, &interface->hba->flags)) { interface 1151 drivers/scsi/bnx2fc/bnx2fc_fcoe.c vn_port = bnx2fc_if_create(interface, &vport->dev, 1); interface 1195 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 1212 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_free_vport(interface->hba, port->lport); interface 1214 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_put(interface); interface 1235 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static int bnx2fc_interface_setup(struct bnx2fc_interface *interface) interface 1237 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct net_device *netdev = interface->netdev; interface 1238 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct net_device *physdev = interface->hba->phys_dev; interface 1239 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 1265 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fip_packet_type.func = bnx2fc_fip_recv; interface 1266 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fip_packet_type.type = htons(ETH_P_FIP); interface 1267 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fip_packet_type.dev = netdev; interface 1268 drivers/scsi/bnx2fc/bnx2fc_fcoe.c dev_add_pack(&interface->fip_packet_type); interface 1270 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fcoe_packet_type.func = bnx2fc_rcv; interface 1271 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fcoe_packet_type.type = __constant_htons(ETH_P_FCOE); interface 1272 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->fcoe_packet_type.dev = netdev; interface 1273 drivers/scsi/bnx2fc/bnx2fc_fcoe.c dev_add_pack(&interface->fcoe_packet_type); interface 1310 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 1314 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = container_of(kref, struct bnx2fc_interface, kref); interface 1317 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 1319 drivers/scsi/bnx2fc/bnx2fc_fcoe.c netdev = interface->netdev; interface 1322 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (test_and_clear_bit(BNX2FC_CTLR_INIT_DONE, &interface->if_flags)) interface 1331 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static inline void bnx2fc_interface_get(struct bnx2fc_interface *interface) interface 1333 drivers/scsi/bnx2fc/bnx2fc_fcoe.c kref_get(&interface->kref); interface 1336 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface) interface 1338 drivers/scsi/bnx2fc/bnx2fc_fcoe.c kref_put(&interface->kref, bnx2fc_interface_release); interface 1442 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 1447 drivers/scsi/bnx2fc/bnx2fc_fcoe.c size = (sizeof(*interface) + sizeof(struct fcoe_ctlr)); interface 1456 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = fcoe_ctlr_priv(ctlr); interface 1458 drivers/scsi/bnx2fc/bnx2fc_fcoe.c kref_init(&interface->kref); interface 1459 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->hba = hba; interface 1460 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->netdev = netdev; interface 1467 drivers/scsi/bnx2fc/bnx2fc_fcoe.c set_bit(BNX2FC_CTLR_INIT_DONE, &interface->if_flags); interface 1469 drivers/scsi/bnx2fc/bnx2fc_fcoe.c rc = bnx2fc_interface_setup(interface); interface 1471 drivers/scsi/bnx2fc/bnx2fc_fcoe.c return interface; interface 1490 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, interface 1493 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 1499 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 1522 drivers/scsi/bnx2fc/bnx2fc_fcoe.c port->priv = interface; interface 1538 drivers/scsi/bnx2fc/bnx2fc_fcoe.c rc = bnx2fc_net_config(lport, interface->netdev); interface 1547 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->netdev->name); interface 1576 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_get(interface); interface 1594 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_net_cleanup(struct bnx2fc_interface *interface) interface 1597 drivers/scsi/bnx2fc/bnx2fc_fcoe.c __dev_remove_pack(&interface->fcoe_packet_type); interface 1598 drivers/scsi/bnx2fc/bnx2fc_fcoe.c __dev_remove_pack(&interface->fip_packet_type); interface 1602 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_interface_cleanup(struct bnx2fc_interface *interface) interface 1604 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 1607 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_hba *hba = interface->hba; interface 1615 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_net_cleanup(interface); interface 1643 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void __bnx2fc_destroy(struct bnx2fc_interface *interface) interface 1645 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 1649 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_cleanup(interface); interface 1650 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_stop(interface); interface 1651 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_del(&interface->list); interface 1652 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_put(interface); interface 1668 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = NULL; interface 1676 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = bnx2fc_interface_lookup(netdev); interface 1677 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 1678 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!interface || !ctlr->lp) { interface 1684 drivers/scsi/bnx2fc/bnx2fc_fcoe.c timer_work_queue = interface->timer_work_queue; interface 1685 drivers/scsi/bnx2fc/bnx2fc_fcoe.c __bnx2fc_destroy(interface); interface 1837 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 1848 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry(interface, &if_list, list) { interface 1849 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->hba == hba) { interface 1850 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 1855 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_start_disc(interface); interface 1869 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_stop(struct bnx2fc_interface *interface) interface 1871 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 1875 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!test_bit(BNX2FC_FLAG_FW_INIT_DONE, &interface->hba->flags)) interface 1970 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 1977 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry(interface, &if_list, list) { interface 1978 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->hba == hba) interface 1979 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_stop(interface); interface 1996 drivers/scsi/bnx2fc/bnx2fc_fcoe.c static void bnx2fc_start_disc(struct bnx2fc_interface *interface) interface 1998 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 2004 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!test_bit(BNX2FC_FLAG_FW_INIT_DONE, &interface->hba->flags)) { interface 2012 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!bnx2fc_link_ok(lport) && interface->enabled) { interface 2016 drivers/scsi/bnx2fc/bnx2fc_fcoe.c set_bit(ADAPTER_STATE_READY, &interface->hba->adapter_state); interface 2086 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = fcoe_ctlr_priv(ctlr); interface 2088 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->enabled == true) { interface 2093 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->enabled = false; interface 2106 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 2113 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = bnx2fc_interface_lookup(netdev); interface 2114 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 2116 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!interface) { interface 2181 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = fcoe_ctlr_priv(ctlr); interface 2186 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->enabled == false) { interface 2192 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->enabled = true; interface 2197 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hba = interface->hba; interface 2234 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 2241 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = bnx2fc_interface_lookup(netdev); interface 2242 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 2243 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!interface) { interface 2306 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 2361 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface = bnx2fc_interface_create(hba, netdev, fip_mode); interface 2362 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!interface) { interface 2370 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->vlan_enabled = 1; interface 2373 drivers/scsi/bnx2fc/bnx2fc_fcoe.c ctlr = bnx2fc_to_ctlr(interface); interface 2375 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->vlan_id = vlan_id; interface 2376 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->tm_timeout = BNX2FC_TM_TIMEOUT; interface 2378 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->timer_work_queue = interface 2380 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!interface->timer_work_queue) { interface 2386 drivers/scsi/bnx2fc/bnx2fc_fcoe.c lport = bnx2fc_if_create(interface, &cdev->dev, 0); interface 2395 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_add_tail(&interface->list, &if_list); interface 2411 drivers/scsi/bnx2fc/bnx2fc_fcoe.c set_bit(ADAPTER_STATE_READY, &interface->hba->adapter_state); interface 2415 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_start_disc(interface); interface 2418 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->enabled = true; interface 2424 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_put(interface); interface 2431 drivers/scsi/bnx2fc/bnx2fc_fcoe.c destroy_workqueue(interface->timer_work_queue); interface 2433 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_net_cleanup(interface); interface 2434 drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_interface_put(interface); interface 2496 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface; interface 2499 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry(interface, &if_list, list) { interface 2500 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->netdev == netdev) interface 2501 drivers/scsi/bnx2fc/bnx2fc_fcoe.c return interface; interface 2528 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface, *tmp; interface 2550 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(interface, tmp, &if_list, list) interface 2552 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (interface->hba == hba) interface 2553 drivers/scsi/bnx2fc/bnx2fc_fcoe.c __bnx2fc_destroy(interface); interface 2921 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 2923 drivers/scsi/bnx2fc/bnx2fc_fcoe.c sprintf(buf, "%u\n", interface->tm_timeout); interface 2934 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface = port->priv; interface 2943 drivers/scsi/bnx2fc/bnx2fc_fcoe.c interface->tm_timeout = (u8)val; interface 175 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 176 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 177 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 239 drivers/scsi/bnx2fc/bnx2fc_hwi.c ofld_req3.vlan_tag = interface->vlan_id << interface 302 drivers/scsi/bnx2fc/bnx2fc_hwi.c ofld_req3.flags |= (interface->vlan_enabled << interface 360 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 361 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 362 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 406 drivers/scsi/bnx2fc/bnx2fc_hwi.c enbl_req.vlan_tag = interface->vlan_id << interface 409 drivers/scsi/bnx2fc/bnx2fc_hwi.c enbl_req.vlan_flag = interface->vlan_enabled; interface 429 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 430 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct fcoe_ctlr *ctlr = bnx2fc_to_ctlr(interface); interface 431 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 471 drivers/scsi/bnx2fc/bnx2fc_hwi.c disable_req.vlan_tag = interface->vlan_id << interface 475 drivers/scsi/bnx2fc/bnx2fc_hwi.c disable_req.vlan_flag = interface->vlan_enabled; interface 554 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 615 drivers/scsi/bnx2fc/bnx2fc_hwi.c unsol_els->hba = interface->hba; interface 636 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = tgt->port->priv; interface 637 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 871 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 872 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 1118 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface; interface 1131 drivers/scsi/bnx2fc/bnx2fc_hwi.c interface = tgt->port->priv; interface 1132 drivers/scsi/bnx2fc/bnx2fc_hwi.c if (hba != interface->hba) { interface 1170 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface; interface 1193 drivers/scsi/bnx2fc/bnx2fc_hwi.c interface = tgt->port->priv; interface 1194 drivers/scsi/bnx2fc/bnx2fc_hwi.c if (hba != interface->hba) { interface 1411 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_interface *interface = port->priv; interface 1412 drivers/scsi/bnx2fc/bnx2fc_hwi.c struct bnx2fc_hba *hba = interface->hba; interface 32 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = io_req->port->priv; interface 34 drivers/scsi/bnx2fc/bnx2fc_io.c if (queue_delayed_work(interface->timer_work_queue, interface 397 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = port->priv; interface 398 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; interface 467 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = port->priv; interface 468 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; interface 549 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = io_req->port->priv; interface 550 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_hba *hba = interface->hba; interface 586 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = io_req->port->priv; interface 587 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_hba *hba = interface->hba; interface 667 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface; interface 685 drivers/scsi/bnx2fc/bnx2fc_io.c interface = port->priv; interface 764 drivers/scsi/bnx2fc/bnx2fc_io.c interface->hba->task_ctx[task_idx]; interface 786 drivers/scsi/bnx2fc/bnx2fc_io.c interface->tm_timeout * HZ); interface 827 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface; interface 844 drivers/scsi/bnx2fc/bnx2fc_io.c interface = port->priv; interface 902 drivers/scsi/bnx2fc/bnx2fc_io.c interface->hba->task_ctx[task_idx]; interface 934 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface; interface 949 drivers/scsi/bnx2fc/bnx2fc_io.c interface = port->priv; interface 978 drivers/scsi/bnx2fc/bnx2fc_io.c interface->hba->task_ctx[task_idx]; interface 1001 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface; interface 1014 drivers/scsi/bnx2fc/bnx2fc_io.c interface = port->priv; interface 1036 drivers/scsi/bnx2fc/bnx2fc_io.c interface->hba->task_ctx[task_idx]; interface 1646 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = io_req->port->priv; interface 1647 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_hba *hba = interface->hba; interface 1723 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = io_req->port->priv; interface 1724 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_hba *hba = interface->hba; interface 2039 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_interface *interface = port->priv; interface 2040 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_hba *hba = interface->hba; interface 85 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_interface *interface = port->priv; interface 86 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_hba *hba = interface->hba; interface 294 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_interface *interface = port->priv; interface 295 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_hba *hba = interface->hba; interface 356 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_interface *interface = port->priv; interface 357 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_hba *hba = interface->hba; interface 444 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_interface *interface = port->priv; interface 445 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_hba *hba = interface->hba; interface 581 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_interface *interface = port->priv; interface 582 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_hba *hba = interface->hba; interface 65 drivers/staging/isdn/gigaset/bas-gigaset.c static int gigaset_probe(struct usb_interface *interface, interface 69 drivers/staging/isdn/gigaset/bas-gigaset.c static void gigaset_disconnect(struct usb_interface *interface); interface 90 drivers/staging/isdn/gigaset/bas-gigaset.c struct usb_interface *interface; /* interface for this device */ interface 365 drivers/staging/isdn/gigaset/bas-gigaset.c usb_queue_reset_device(cs->hw.bas->interface); interface 417 drivers/staging/isdn/gigaset/bas-gigaset.c dev_warn(&ucs->interface->dev, interface 626 drivers/staging/isdn/gigaset/bas-gigaset.c rc = usb_lock_device_for_reset(ucs->udev, ucs->interface); interface 649 drivers/staging/isdn/gigaset/bas-gigaset.c usb_queue_reset_device(ucs->interface); interface 658 drivers/staging/isdn/gigaset/bas-gigaset.c usb_queue_reset_device(ucs->interface); interface 1497 drivers/staging/isdn/gigaset/bas-gigaset.c usb_queue_reset_device(ucs->interface); interface 1549 drivers/staging/isdn/gigaset/bas-gigaset.c dev_err(&ucs->interface->dev, interface 1555 drivers/staging/isdn/gigaset/bas-gigaset.c dev_notice(&ucs->interface->dev, interface 1563 drivers/staging/isdn/gigaset/bas-gigaset.c dev_err(&ucs->interface->dev, interface 2271 drivers/staging/isdn/gigaset/bas-gigaset.c static int gigaset_probe(struct usb_interface *interface, interface 2275 drivers/staging/isdn/gigaset/bas-gigaset.c struct usb_device *udev = interface_to_usbdev(interface); interface 2289 drivers/staging/isdn/gigaset/bas-gigaset.c hostif = interface->cur_altsetting; interface 2302 drivers/staging/isdn/gigaset/bas-gigaset.c hostif = interface->cur_altsetting; interface 2331 drivers/staging/isdn/gigaset/bas-gigaset.c ucs->interface = interface; interface 2332 drivers/staging/isdn/gigaset/bas-gigaset.c cs->dev = &interface->dev; interface 2385 drivers/staging/isdn/gigaset/bas-gigaset.c usb_set_intfdata(interface, cs); interface 2398 drivers/staging/isdn/gigaset/bas-gigaset.c usb_set_intfdata(interface, NULL); interface 2407 drivers/staging/isdn/gigaset/bas-gigaset.c static void gigaset_disconnect(struct usb_interface *interface) interface 2413 drivers/staging/isdn/gigaset/bas-gigaset.c cs = usb_get_intfdata(interface); interface 2436 drivers/staging/isdn/gigaset/bas-gigaset.c usb_set_intfdata(interface, NULL); interface 2441 drivers/staging/isdn/gigaset/bas-gigaset.c ucs->interface = NULL; interface 102 drivers/staging/isdn/gigaset/usb-gigaset.c static int gigaset_probe(struct usb_interface *interface, interface 104 drivers/staging/isdn/gigaset/usb-gigaset.c static void gigaset_disconnect(struct usb_interface *interface); interface 129 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_interface *interface; /* interface for this device */ interface 647 drivers/staging/isdn/gigaset/usb-gigaset.c static int gigaset_probe(struct usb_interface *interface, interface 651 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_device *udev = interface_to_usbdev(interface); interface 652 drivers/staging/isdn/gigaset/usb-gigaset.c struct usb_host_interface *hostif = interface->cur_altsetting; interface 685 drivers/staging/isdn/gigaset/usb-gigaset.c dev_err(&interface->dev, "missing endpoints\n"); interface 700 drivers/staging/isdn/gigaset/usb-gigaset.c ucs->interface = interface; interface 701 drivers/staging/isdn/gigaset/usb-gigaset.c cs->dev = &interface->dev; interface 704 drivers/staging/isdn/gigaset/usb-gigaset.c usb_set_intfdata(interface, cs); interface 709 drivers/staging/isdn/gigaset/usb-gigaset.c dev_err(&interface->dev, "missing bulk-out endpoint\n"); interface 734 drivers/staging/isdn/gigaset/usb-gigaset.c dev_err(&interface->dev, "missing int-in endpoint\n"); interface 785 drivers/staging/isdn/gigaset/usb-gigaset.c usb_set_intfdata(interface, NULL); interface 790 drivers/staging/isdn/gigaset/usb-gigaset.c ucs->interface = NULL; interface 795 drivers/staging/isdn/gigaset/usb-gigaset.c static void gigaset_disconnect(struct usb_interface *interface) interface 800 drivers/staging/isdn/gigaset/usb-gigaset.c cs = usb_get_intfdata(interface); interface 809 drivers/staging/isdn/gigaset/usb-gigaset.c usb_set_intfdata(interface, NULL); interface 822 drivers/staging/isdn/gigaset/usb-gigaset.c ucs->interface = NULL; interface 1045 drivers/staging/media/omap4iss/iss.c switch (subdevs->interface) { interface 1062 drivers/staging/media/omap4iss/iss.c subdevs->interface); interface 146 drivers/staging/media/omap4iss/iss_csiphy.c if (subdevs->interface == ISS_INTERFACE_CSI2A_PHY1) { interface 157 drivers/staging/media/omap4iss/iss_csiphy.c if (subdevs->interface == ISS_INTERFACE_CSI2B_PHY2) { interface 347 drivers/staging/most/core.c (c->iface->interface != ITYPE_MEDIALB_DIM2)) interface 350 drivers/staging/most/core.c (c->iface->interface != ITYPE_USB)) interface 416 drivers/staging/most/core.c switch (iface->interface) { interface 440 drivers/staging/most/core.c static DEVICE_ATTR_RO(interface); interface 444 drivers/staging/most/core.c DEV_ATTR(interface), interface 235 drivers/staging/most/core.h enum most_interface_type interface; interface 846 drivers/staging/most/dim2/dim2.c dev->most_iface.interface = ITYPE_MEDIALB_DIM2; interface 311 drivers/staging/most/i2c/i2c.c dev->most_iface.interface = ITYPE_I2C; interface 1038 drivers/staging/most/usb/usb.c hdm_probe(struct usb_interface *interface, const struct usb_device_id *id) interface 1040 drivers/staging/most/usb/usb.c struct usb_host_interface *usb_iface_desc = interface->cur_altsetting; interface 1041 drivers/staging/most/usb/usb.c struct usb_device *usb_dev = interface_to_usbdev(interface); interface 1053 drivers/staging/most/usb/usb.c usb_set_intfdata(interface, mdev); interface 1063 drivers/staging/most/usb/usb.c mdev->iface.driver_dev = &interface->dev; interface 1064 drivers/staging/most/usb/usb.c mdev->iface.interface = ITYPE_USB; interface 1196 drivers/staging/most/usb/usb.c static void hdm_disconnect(struct usb_interface *interface) interface 1198 drivers/staging/most/usb/usb.c struct most_dev *mdev = usb_get_intfdata(interface); interface 1201 drivers/staging/most/usb/usb.c usb_set_intfdata(interface, NULL); interface 726 drivers/staging/netlogic/xlr_net.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) interface 741 drivers/staging/netlogic/xlr_net.c if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { interface 108 drivers/staging/octeon/ethernet-mdio.c int interface = INTERFACE(priv->port); interface 113 drivers/staging/octeon/ethernet-mdio.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 115 drivers/staging/octeon/ethernet-mdio.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); interface 27 drivers/staging/octeon/ethernet-rgmii.c int interface = INTERFACE(priv->port); interface 32 drivers/staging/octeon/ethernet-rgmii.c interface)); interface 34 drivers/staging/octeon/ethernet-rgmii.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), interface 48 drivers/staging/octeon/ethernet-rgmii.c interface)); interface 49 drivers/staging/octeon/ethernet-rgmii.c cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), interface 72 drivers/staging/octeon/ethernet-rgmii.c int interface = INTERFACE(priv->port); interface 77 drivers/staging/octeon/ethernet-rgmii.c (index, interface)); interface 89 drivers/staging/octeon/ethernet-rx.c int interface = cvmx_helper_get_interface_num(port); interface 94 drivers/staging/octeon/ethernet-rx.c cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); interface 122 drivers/staging/octeon/ethernet-spi.c static void cvm_oct_spi_enable_error_reporting(int interface) interface 127 drivers/staging/octeon/ethernet-spi.c spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); interface 138 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); interface 140 drivers/staging/octeon/ethernet-spi.c stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); interface 149 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); interface 156 drivers/staging/octeon/ethernet-spi.c int interface; interface 158 drivers/staging/octeon/ethernet-spi.c for (interface = 0; interface < 2; interface++) { interface 159 drivers/staging/octeon/ethernet-spi.c if ((priv->port == interface * 16) && need_retrain[interface]) { interface 161 drivers/staging/octeon/ethernet-spi.c (interface, CVMX_SPI_MODE_DUPLEX, 10) == 0) { interface 162 drivers/staging/octeon/ethernet-spi.c need_retrain[interface] = 0; interface 163 drivers/staging/octeon/ethernet-spi.c cvm_oct_spi_enable_error_reporting(interface); interface 180 drivers/staging/octeon/ethernet-spi.c cvmx_spi4000_check_speed(interface, priv->port); interface 215 drivers/staging/octeon/ethernet-spi.c int interface; interface 220 drivers/staging/octeon/ethernet-spi.c for (interface = 0; interface < 2; interface++) { interface 221 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), 0); interface 222 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_STXX_INT_MSK(interface), 0); interface 231 drivers/staging/octeon/ethernet-tx.c int interface = INTERFACE(priv->port); interface 234 drivers/staging/octeon/ethernet-tx.c if (interface < 2) { interface 237 drivers/staging/octeon/ethernet-tx.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 28 drivers/staging/octeon/ethernet-util.h int interface; interface 32 drivers/staging/octeon/ethernet-util.h interface = cvmx_helper_get_interface_num(ipd_port); interface 33 drivers/staging/octeon/ethernet-util.h if (interface >= 0) interface 34 drivers/staging/octeon/ethernet-util.h return interface; interface 240 drivers/staging/octeon/ethernet.c int interface = INTERFACE(priv->port); interface 250 drivers/staging/octeon/ethernet.c if ((interface < 2) && interface 251 drivers/staging/octeon/ethernet.c (cvmx_helper_interface_get_mode(interface) != interface 260 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(index, interface), interface 272 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_PIP_FRM_LEN_CHKX(interface), interface 280 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_JABBER(index, interface), interface 294 drivers/staging/octeon/ethernet.c int interface = INTERFACE(priv->port); interface 296 drivers/staging/octeon/ethernet.c if ((interface < 2) && interface 297 drivers/staging/octeon/ethernet.c (cvmx_helper_interface_get_mode(interface) != interface 324 drivers/staging/octeon/ethernet.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 325 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), interface 328 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CTL(index, interface), interface 332 drivers/staging/octeon/ethernet.c (index, interface), 0); interface 335 drivers/staging/octeon/ethernet.c (index, interface), 1); interface 337 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), interface 346 drivers/staging/octeon/ethernet.c int interface = INTERFACE(priv->port); interface 348 drivers/staging/octeon/ethernet.c if ((interface < 2) && interface 349 drivers/staging/octeon/ethernet.c (cvmx_helper_interface_get_mode(interface) != interface 360 drivers/staging/octeon/ethernet.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 361 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), interface 364 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_SMACX(index, interface), mac); interface 365 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM0(index, interface), interface 367 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM1(index, interface), interface 369 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM2(index, interface), interface 371 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM3(index, interface), interface 373 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM4(index, interface), interface 375 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM5(index, interface), interface 378 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), interface 461 drivers/staging/octeon/ethernet.c int interface = INTERFACE(priv->port); interface 470 drivers/staging/octeon/ethernet.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); interface 474 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); interface 632 drivers/staging/octeon/ethernet.c int interface, int port) interface 636 drivers/staging/octeon/ethernet.c ni = cvm_oct_of_get_child(pip, interface); interface 682 drivers/staging/octeon/ethernet.c int interface; interface 714 drivers/staging/octeon/ethernet.c for (interface = 0; interface < num_interfaces; interface++) { interface 715 drivers/staging/octeon/ethernet.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 718 drivers/staging/octeon/ethernet.c for (port = cvmx_helper_get_ipd_port(interface, 0); interface 719 drivers/staging/octeon/ethernet.c port < cvmx_helper_get_ipd_port(interface, num_ports); interface 808 drivers/staging/octeon/ethernet.c for (interface = 0; interface < num_interfaces; interface++) { interface 810 drivers/staging/octeon/ethernet.c cvmx_helper_interface_get_mode(interface); interface 811 drivers/staging/octeon/ethernet.c int num_ports = cvmx_helper_ports_on_interface(interface); interface 816 drivers/staging/octeon/ethernet.c port = cvmx_helper_get_ipd_port(interface, 0); interface 817 drivers/staging/octeon/ethernet.c port < cvmx_helper_get_ipd_port(interface, num_ports); interface 832 drivers/staging/octeon/ethernet.c priv->of_node = cvm_oct_node_for_port(pip, interface, interface 892 drivers/staging/octeon/ethernet.c cvm_set_rgmii_delay(priv, interface, interface 901 drivers/staging/octeon/ethernet.c interface, priv->port); interface 1265 drivers/staging/octeon/octeon-stubs.h interface) interface 1293 drivers/staging/octeon/octeon-stubs.h static inline int cvmx_helper_ports_on_interface(int interface) interface 1298 drivers/staging/octeon/octeon-stubs.h static inline int cvmx_helper_get_ipd_port(int interface, int port) interface 1360 drivers/staging/octeon/octeon-stubs.h static inline int cvmx_spi_restart_interface(int interface, interface 1372 drivers/staging/octeon/octeon-stubs.h int interface, interface 60 drivers/staging/wlan-ng/prism2usb.c static int prism2sta_probe_usb(struct usb_interface *interface, interface 69 drivers/staging/wlan-ng/prism2usb.c dev = interface_to_usbdev(interface); interface 72 drivers/staging/wlan-ng/prism2usb.c dev_err(&interface->dev, "Memory allocation failure.\n"); interface 78 drivers/staging/wlan-ng/prism2usb.c if (wlan_setup(wlandev, &interface->dev) != 0) { interface 79 drivers/staging/wlan-ng/prism2usb.c dev_err(&interface->dev, "wlan_setup() failed.\n"); interface 91 drivers/staging/wlan-ng/prism2usb.c SET_NETDEV_DEV(wlandev->netdev, &interface->dev); interface 100 drivers/staging/wlan-ng/prism2usb.c dev_err(&interface->dev, interface 115 drivers/staging/wlan-ng/prism2usb.c dev_err(&interface->dev, "register_wlandev() failed.\n"); interface 132 drivers/staging/wlan-ng/prism2usb.c usb_set_intfdata(interface, wlandev); interface 136 drivers/staging/wlan-ng/prism2usb.c static void prism2sta_disconnect_usb(struct usb_interface *interface) interface 140 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); interface 216 drivers/staging/wlan-ng/prism2usb.c usb_set_intfdata(interface, NULL); interface 220 drivers/staging/wlan-ng/prism2usb.c static int prism2sta_suspend(struct usb_interface *interface, interface 226 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); interface 243 drivers/staging/wlan-ng/prism2usb.c static int prism2sta_resume(struct usb_interface *interface) interface 249 drivers/staging/wlan-ng/prism2usb.c wlandev = (struct wlandevice *)usb_get_intfdata(interface); interface 265 drivers/staging/wlan-ng/prism2usb.c dev_err(&interface->dev, "hfa384x_corereset() failed.\n"); interface 62 drivers/tty/serial/vr41xx_siu.c void vr41xx_select_siu_interface(siu_interface_t interface) interface 73 drivers/tty/serial/vr41xx_siu.c if (interface == SIU_INTERFACE_IRDA) interface 45 drivers/usb/atm/xusbatm.c if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting))) interface 139 drivers/usb/atm/xusbatm.c struct usb_interface *cur_intf = usb_dev->actconfig->interface[i]; interface 318 drivers/usb/core/devices.c struct usb_interface *interface; interface 335 drivers/usb/core/devices.c interface = config->interface[i]; interface 340 drivers/usb/core/devices.c start, end, intfc, interface, j); interface 843 drivers/usb/core/devio.c intf = dev->actconfig->interface[i]; interface 1329 drivers/usb/core/devio.c intf = usb_ifnum_to_if(ps->dev, gd.interface); interface 1389 drivers/usb/core/devio.c struct usb_interface *interface; interface 1398 drivers/usb/core/devio.c interface = actconfig->interface[i]; interface 1399 drivers/usb/core/devio.c number = interface->cur_altsetting->desc.bInterfaceNumber; interface 1400 drivers/usb/core/devio.c if (usb_interface_claimed(interface) && interface 1404 drivers/usb/core/devio.c number, interface->dev.driver->name, current->comm); interface 1420 drivers/usb/core/devio.c ret = checkintf(ps, setintf.interface); interface 1424 drivers/usb/core/devio.c destroy_async_on_interface(ps, setintf.interface); interface 1426 drivers/usb/core/devio.c return usb_set_interface(ps->dev, setintf.interface, interface 1449 drivers/usb/core/devio.c if (usb_interface_claimed(actconfig->interface[i])) { interface 1453 drivers/usb/core/devio.c actconfig->interface[i] interface 1456 drivers/usb/core/devio.c actconfig->interface[i] interface 2357 drivers/usb/core/devio.c intf = usb_ifnum_to_if(ps->dev, dc.interface); interface 2381 drivers/usb/core/devio.c return claimintf(ps, dc.interface); interface 678 drivers/usb/core/driver.c int usb_match_one_id(struct usb_interface *interface, interface 688 drivers/usb/core/driver.c intf = interface->cur_altsetting; interface 689 drivers/usb/core/driver.c dev = interface_to_usbdev(interface); interface 771 drivers/usb/core/driver.c const struct usb_device_id *usb_match_id(struct usb_interface *interface, interface 785 drivers/usb/core/driver.c if (usb_match_one_id(interface, id)) interface 1040 drivers/usb/core/driver.c intf = config->interface[i]; interface 1087 drivers/usb/core/driver.c intf = config->interface[i]; interface 1125 drivers/usb/core/driver.c intf = config->interface[i]; interface 1307 drivers/usb/core/driver.c intf = udev->actconfig->interface[i]; interface 1353 drivers/usb/core/driver.c intf = udev->actconfig->interface[i]; interface 1413 drivers/usb/core/driver.c intf = udev->actconfig->interface[i]; interface 1787 drivers/usb/core/driver.c intf = udev->actconfig->interface[i]; interface 2004 drivers/usb/core/hcd.c int usb_alloc_streams(struct usb_interface *interface, interface 2012 drivers/usb/core/hcd.c dev = interface_to_usbdev(interface); interface 2054 drivers/usb/core/hcd.c int usb_free_streams(struct usb_interface *interface, interface 2062 drivers/usb/core/hcd.c dev = interface_to_usbdev(interface); interface 136 drivers/usb/core/hub.c return usb_get_intfdata(hdev->actconfig->interface[0]); interface 5797 drivers/usb/core/hub.c struct usb_interface *intf = config->interface[i]; interface 5906 drivers/usb/core/hub.c struct usb_interface *cintf = config->interface[i]; interface 5929 drivers/usb/core/hub.c struct usb_interface *cintf = config->interface[i]; interface 1232 drivers/usb/core/message.c dev->actconfig->interface[i]->unregistering = 1; interface 1235 drivers/usb/core/message.c struct usb_interface *interface; interface 1238 drivers/usb/core/message.c interface = dev->actconfig->interface[i]; interface 1239 drivers/usb/core/message.c if (!device_is_registered(&interface->dev)) interface 1242 drivers/usb/core/message.c dev_name(&interface->dev)); interface 1243 drivers/usb/core/message.c remove_intf_ep_devs(interface); interface 1244 drivers/usb/core/message.c device_del(&interface->dev); interface 1251 drivers/usb/core/message.c put_device(&dev->actconfig->interface[i]->dev); interface 1252 drivers/usb/core/message.c dev->actconfig->interface[i] = NULL; interface 1365 drivers/usb/core/message.c int usb_set_interface(struct usb_device *dev, int interface, int alternate) interface 1377 drivers/usb/core/message.c iface = usb_ifnum_to_if(dev, interface); interface 1380 drivers/usb/core/message.c interface); interface 1429 drivers/usb/core/message.c alternate, interface, NULL, 0, 5000); interface 1437 drivers/usb/core/message.c interface, alternate); interface 1557 drivers/usb/core/message.c struct usb_interface *intf = config->interface[i]; interface 1573 drivers/usb/core/message.c struct usb_interface *intf = config->interface[i]; interface 1597 drivers/usb/core/message.c struct usb_interface *intf = config->interface[i]; interface 1923 drivers/usb/core/message.c cp->interface[i] = intf = new_interfaces[i]; interface 1981 drivers/usb/core/message.c usb_disable_interface(dev, cp->interface[i], true); interface 1982 drivers/usb/core/message.c put_device(&cp->interface[i]->dev); interface 1983 drivers/usb/core/message.c cp->interface[i] = NULL; interface 2016 drivers/usb/core/message.c struct usb_interface *intf = cp->interface[i]; interface 1128 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(interface); interface 282 drivers/usb/core/usb.c if (config->interface[i]->altsetting[0] interface 284 drivers/usb/core/usb.c return config->interface[i]; interface 421 drivers/usb/gadget/composite.c config->interface[id] = function; interface 811 drivers/usb/gadget/composite.c struct usb_function *f = c->interface[tmp]; interface 894 drivers/usb/gadget/composite.c memset(config->interface, 0, sizeof(config->interface)); interface 964 drivers/usb/gadget/composite.c struct usb_function *f = config->interface[i]; interface 1435 drivers/usb/gadget/composite.c f = c->interface[i]; interface 1460 drivers/usb/gadget/composite.c f = c->interface[i]; interface 1486 drivers/usb/gadget/composite.c static int count_ext_prop(struct usb_configuration *c, int interface) interface 1491 drivers/usb/gadget/composite.c f = c->interface[interface]; interface 1495 drivers/usb/gadget/composite.c if (interface != f->os_desc_table[j].if_id) interface 1504 drivers/usb/gadget/composite.c static int len_ext_prop(struct usb_configuration *c, int interface) interface 1511 drivers/usb/gadget/composite.c f = c->interface[interface]; interface 1513 drivers/usb/gadget/composite.c if (interface != f->os_desc_table[j].if_id) interface 1522 drivers/usb/gadget/composite.c static int fill_ext_prop(struct usb_configuration *c, int interface, u8 *buf) interface 1529 drivers/usb/gadget/composite.c f = c->interface[interface]; interface 1533 drivers/usb/gadget/composite.c if (interface != f->os_desc_table[j].if_id) interface 1736 drivers/usb/gadget/composite.c f = cdev->config->interface[intf]; interface 1765 drivers/usb/gadget/composite.c f = cdev->config->interface[intf]; interface 1801 drivers/usb/gadget/composite.c f = cdev->config->interface[intf]; interface 1824 drivers/usb/gadget/composite.c f = cdev->config->interface[intf]; interface 1849 drivers/usb/gadget/composite.c int interface; interface 1880 drivers/usb/gadget/composite.c interface = w_value & 0xFF; interface 1883 drivers/usb/gadget/composite.c interface); interface 1886 drivers/usb/gadget/composite.c interface); interface 1891 drivers/usb/gadget/composite.c interface, buf); interface 1929 drivers/usb/gadget/composite.c f = cdev->config->interface[intf]; interface 1231 drivers/usb/gadget/configfs.c memset(c->interface, 0, sizeof(c->interface)); interface 2416 drivers/usb/gadget/function/f_fs.c if (len < sizeof(*d) || h->interface >= ffs->interfaces_count) interface 2991 drivers/usb/gadget/function/f_fs.c t = &func->function.os_desc_table[h->interface]; interface 2992 drivers/usb/gadget/function/f_fs.c t->if_id = func->interfaces_nums[h->interface]; interface 3281 drivers/usb/gadget/function/f_fs.c unsigned interface, unsigned alt) interface 3288 drivers/usb/gadget/function/f_fs.c intf = ffs_func_revmap_intf(func, interface); interface 65 drivers/usb/gadget/function/f_printer.c s8 interface; interface 801 drivers/usb/gadget/function/f_printer.c if (dev->interface < 0) interface 815 drivers/usb/gadget/function/f_printer.c dev->interface = -1; interface 831 drivers/usb/gadget/function/f_printer.c dev->interface = number; interface 926 drivers/usb/gadget/function/f_printer.c return w_index == dev->interface; interface 953 drivers/usb/gadget/function/f_printer.c if ((wIndex>>8) != dev->interface) interface 970 drivers/usb/gadget/function/f_printer.c if (wIndex != dev->interface) interface 979 drivers/usb/gadget/function/f_printer.c if (wIndex != dev->interface) interface 1449 drivers/usb/gadget/function/f_printer.c dev->interface = -1; interface 260 drivers/usb/gadget/function/f_uvc.c uvc_function_get_alt(struct usb_function *f, unsigned interface) interface 264 drivers/usb/gadget/function/f_uvc.c uvcg_info(f, "%s(%u)\n", __func__, interface); interface 266 drivers/usb/gadget/function/f_uvc.c if (interface == uvc->control_intf) interface 268 drivers/usb/gadget/function/f_uvc.c else if (interface != uvc->streaming_intf) interface 275 drivers/usb/gadget/function/f_uvc.c uvc_function_set_alt(struct usb_function *f, unsigned interface, unsigned alt) interface 283 drivers/usb/gadget/function/f_uvc.c uvcg_info(f, "%s(%u, %u)\n", __func__, interface, alt); interface 285 drivers/usb/gadget/function/f_uvc.c if (interface == uvc->control_intf) { interface 310 drivers/usb/gadget/function/f_uvc.c if (interface != uvc->streaming_intf) interface 522 drivers/usb/gadget/legacy/g_ffs.c if (c->next_interface_id < ARRAY_SIZE(c->interface)) interface 523 drivers/usb/gadget/legacy/g_ffs.c c->interface[c->next_interface_id] = NULL; interface 244 drivers/usb/gadget/udc/pxa27x_udc.c int config, int interface, int altsetting) interface 252 drivers/usb/gadget/udc/pxa27x_udc.c if ((ep->config != config) || (ep->interface != interface) interface 538 drivers/usb/gadget/udc/pxa27x_udc.c | ((ep->interface << UDCCONR_IN_S) & UDCCONR_IN) interface 2217 drivers/usb/gadget/udc/pxa27x_udc.c unsigned config, interface, alternate, config_change; interface 2227 drivers/usb/gadget/udc/pxa27x_udc.c interface = (udccr & UDCCR_AIN) >> UDCCR_AIN_S; interface 2229 drivers/usb/gadget/udc/pxa27x_udc.c pxa27x_change_interface(udc, interface, alternate); interface 269 drivers/usb/gadget/udc/pxa27x_udc.h .config = _config, .interface = iface, .alternate = altset, \ interface 362 drivers/usb/gadget/udc/pxa27x_udc.h unsigned interface:3; interface 4854 drivers/usb/host/xhci.c struct usb_interface *intf = config->interface[i]; interface 73 drivers/usb/misc/adutux.c struct usb_interface *interface; interface 229 drivers/usb/misc/adutux.c struct usb_interface *interface; interface 239 drivers/usb/misc/adutux.c interface = usb_find_interface(&adu_driver, subminor); interface 240 drivers/usb/misc/adutux.c if (!interface) { interface 247 drivers/usb/misc/adutux.c dev = usb_get_intfdata(interface); interface 651 drivers/usb/misc/adutux.c static int adu_probe(struct usb_interface *interface, interface 654 drivers/usb/misc/adutux.c struct usb_device *udev = interface_to_usbdev(interface); interface 672 drivers/usb/misc/adutux.c res = usb_find_common_endpoints_reverse(interface->cur_altsetting, interface 677 drivers/usb/misc/adutux.c dev_err(&interface->dev, "interrupt endpoints not found\n"); interface 724 drivers/usb/misc/adutux.c dev_err(&interface->dev, "Could not retrieve serial number\n"); interface 728 drivers/usb/misc/adutux.c dev_dbg(&interface->dev,"serial_number=%s", dev->serial_number); interface 731 drivers/usb/misc/adutux.c usb_set_intfdata(interface, dev); interface 733 drivers/usb/misc/adutux.c retval = usb_register_dev(interface, &adu_class); interface 737 drivers/usb/misc/adutux.c dev_err(&interface->dev, "Not able to get a minor for this device.\n"); interface 738 drivers/usb/misc/adutux.c usb_set_intfdata(interface, NULL); interface 742 drivers/usb/misc/adutux.c dev->minor = interface->minor; interface 745 drivers/usb/misc/adutux.c dev_info(&interface->dev, "ADU%d %s now attached to /dev/usb/adutux%d\n", interface 761 drivers/usb/misc/adutux.c static void adu_disconnect(struct usb_interface *interface) interface 765 drivers/usb/misc/adutux.c dev = usb_get_intfdata(interface); interface 767 drivers/usb/misc/adutux.c usb_deregister_dev(interface, &adu_class); interface 773 drivers/usb/misc/adutux.c usb_set_intfdata(interface, NULL); interface 75 drivers/usb/misc/chaoskey.c struct usb_interface *interface; interface 97 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "free"); interface 101 drivers/usb/misc/chaoskey.c usb_put_intf(dev->interface); interface 106 drivers/usb/misc/chaoskey.c static int chaoskey_probe(struct usb_interface *interface, interface 109 drivers/usb/misc/chaoskey.c struct usb_device *udev = interface_to_usbdev(interface); interface 110 drivers/usb/misc/chaoskey.c struct usb_host_interface *altsetting = interface->cur_altsetting; interface 118 drivers/usb/misc/chaoskey.c usb_dbg(interface, "probe %s-%s", udev->product, udev->serial); interface 123 drivers/usb/misc/chaoskey.c usb_dbg(interface, "no IN endpoint found"); interface 132 drivers/usb/misc/chaoskey.c usb_dbg(interface, "invalid size (%d)", size); interface 137 drivers/usb/misc/chaoskey.c usb_dbg(interface, "size reduced from %d to %d\n", interface 149 drivers/usb/misc/chaoskey.c dev->interface = usb_get_intf(interface); interface 193 drivers/usb/misc/chaoskey.c usb_set_intfdata(interface, dev); interface 195 drivers/usb/misc/chaoskey.c result = usb_register_dev(interface, &chaoskey_class); interface 197 drivers/usb/misc/chaoskey.c usb_err(interface, "Unable to allocate minor number."); interface 207 drivers/usb/misc/chaoskey.c usb_err(interface, "Unable to register with hwrng"); interface 211 drivers/usb/misc/chaoskey.c usb_dbg(interface, "chaoskey probe success, size %d", dev->size); interface 215 drivers/usb/misc/chaoskey.c usb_set_intfdata(interface, NULL); interface 220 drivers/usb/misc/chaoskey.c static void chaoskey_disconnect(struct usb_interface *interface) interface 224 drivers/usb/misc/chaoskey.c usb_dbg(interface, "disconnect"); interface 225 drivers/usb/misc/chaoskey.c dev = usb_get_intfdata(interface); interface 227 drivers/usb/misc/chaoskey.c usb_dbg(interface, "disconnect failed - no dev"); interface 234 drivers/usb/misc/chaoskey.c usb_deregister_dev(interface, &chaoskey_class); interface 236 drivers/usb/misc/chaoskey.c usb_set_intfdata(interface, NULL); interface 248 drivers/usb/misc/chaoskey.c usb_dbg(interface, "disconnect done"); interface 254 drivers/usb/misc/chaoskey.c struct usb_interface *interface; interface 257 drivers/usb/misc/chaoskey.c interface = usb_find_interface(&chaoskey_driver, iminor(inode)); interface 258 drivers/usb/misc/chaoskey.c if (!interface) interface 261 drivers/usb/misc/chaoskey.c usb_dbg(interface, "open"); interface 263 drivers/usb/misc/chaoskey.c dev = usb_get_intfdata(interface); interface 265 drivers/usb/misc/chaoskey.c usb_dbg(interface, "open (dev)"); interface 274 drivers/usb/misc/chaoskey.c usb_dbg(interface, "open success"); interface 281 drivers/usb/misc/chaoskey.c struct usb_interface *interface; interface 286 drivers/usb/misc/chaoskey.c interface = dev->interface; interface 288 drivers/usb/misc/chaoskey.c usb_dbg(interface, "release"); interface 292 drivers/usb/misc/chaoskey.c usb_dbg(interface, "open count at release is %d", dev->open); interface 295 drivers/usb/misc/chaoskey.c usb_dbg(interface, "invalid open count (%d)", dev->open); interface 311 drivers/usb/misc/chaoskey.c usb_dbg(interface, "release success"); interface 320 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "callback status (%d)", status); interface 344 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "fill"); interface 349 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "not empty yet (valid %d used %d)", interface 356 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "device not present"); interface 361 drivers/usb/misc/chaoskey.c result = usb_autopm_get_interface(dev->interface); interface 363 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "wakeup failed (result %d)", result); interface 400 drivers/usb/misc/chaoskey.c usb_autopm_put_interface(dev->interface); interface 402 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "read %d bytes", dev->valid); interface 423 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "read %zu", count); interface 470 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "read %zu bytes", read_count); interface 473 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "empty read, result %d", result); interface 485 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "rng_read max %zu wait %d", max, wait); interface 488 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "device not present"); interface 519 drivers/usb/misc/chaoskey.c usb_dbg(dev->interface, "rng_read this_time %d\n", this_time); interface 524 drivers/usb/misc/chaoskey.c static int chaoskey_suspend(struct usb_interface *interface, interface 527 drivers/usb/misc/chaoskey.c usb_dbg(interface, "suspend"); interface 531 drivers/usb/misc/chaoskey.c static int chaoskey_resume(struct usb_interface *interface) interface 534 drivers/usb/misc/chaoskey.c struct usb_device *udev = interface_to_usbdev(interface); interface 536 drivers/usb/misc/chaoskey.c usb_dbg(interface, "resume"); interface 537 drivers/usb/misc/chaoskey.c dev = usb_get_intfdata(interface); interface 203 drivers/usb/misc/cypress_cy7c63.c static int cypress_probe(struct usb_interface *interface, interface 214 drivers/usb/misc/cypress_cy7c63.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 217 drivers/usb/misc/cypress_cy7c63.c usb_set_intfdata(interface, dev); interface 220 drivers/usb/misc/cypress_cy7c63.c dev_info(&interface->dev, interface 228 drivers/usb/misc/cypress_cy7c63.c static void cypress_disconnect(struct usb_interface *interface) interface 232 drivers/usb/misc/cypress_cy7c63.c dev = usb_get_intfdata(interface); interface 236 drivers/usb/misc/cypress_cy7c63.c usb_set_intfdata(interface, NULL); interface 240 drivers/usb/misc/cypress_cy7c63.c dev_info(&interface->dev, interface 34 drivers/usb/misc/cytherm.c struct usb_interface *interface; /* the interface for this device */ interface 303 drivers/usb/misc/cytherm.c static int cytherm_probe(struct usb_interface *interface, interface 306 drivers/usb/misc/cytherm.c struct usb_device *udev = interface_to_usbdev(interface); interface 316 drivers/usb/misc/cytherm.c usb_set_intfdata (interface, dev); interface 320 drivers/usb/misc/cytherm.c dev_info (&interface->dev, interface 328 drivers/usb/misc/cytherm.c static void cytherm_disconnect(struct usb_interface *interface) interface 332 drivers/usb/misc/cytherm.c dev = usb_get_intfdata (interface); interface 335 drivers/usb/misc/cytherm.c usb_set_intfdata (interface, NULL); interface 341 drivers/usb/misc/cytherm.c dev_info(&interface->dev, "Cypress thermometer now disconnected\n"); interface 168 drivers/usb/misc/ftdi-elan.c struct usb_interface *interface; interface 616 drivers/usb/misc/ftdi-elan.c struct usb_interface *interface; interface 619 drivers/usb/misc/ftdi-elan.c interface = usb_find_interface(&ftdi_elan_driver, subminor); interface 621 drivers/usb/misc/ftdi-elan.c if (!interface) { interface 625 drivers/usb/misc/ftdi-elan.c struct usb_ftdi *ftdi = usb_get_intfdata(interface); interface 2637 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_probe(struct usb_interface *interface, interface 2655 drivers/usb/misc/ftdi-elan.c ftdi->udev = usb_get_dev(interface_to_usbdev(interface)); interface 2656 drivers/usb/misc/ftdi-elan.c ftdi->interface = interface; interface 2660 drivers/usb/misc/ftdi-elan.c iface_desc = interface->cur_altsetting; interface 2681 drivers/usb/misc/ftdi-elan.c usb_set_intfdata(interface, ftdi); interface 2685 drivers/usb/misc/ftdi-elan.c retval = usb_register_dev(interface, &ftdi_elan_jtag_class); interface 2688 drivers/usb/misc/ftdi-elan.c usb_set_intfdata(interface, NULL); interface 2695 drivers/usb/misc/ftdi-elan.c interface->minor); interface 2721 drivers/usb/misc/ftdi-elan.c static void ftdi_elan_disconnect(struct usb_interface *interface) interface 2723 drivers/usb/misc/ftdi-elan.c struct usb_ftdi *ftdi = usb_get_intfdata(interface); interface 2726 drivers/usb/misc/ftdi-elan.c int minor = interface->minor; interface 2728 drivers/usb/misc/ftdi-elan.c usb_set_intfdata(interface, NULL); interface 2729 drivers/usb/misc/ftdi-elan.c usb_deregister_dev(interface, class); interface 2746 drivers/usb/misc/ftdi-elan.c usb_set_intfdata(interface, NULL); interface 69 drivers/usb/misc/idmouse.c struct usb_interface *interface; /* the interface for this device */ interface 89 drivers/usb/misc/idmouse.c static int idmouse_probe(struct usb_interface *interface, interface 92 drivers/usb/misc/idmouse.c static void idmouse_disconnect(struct usb_interface *interface); interface 197 drivers/usb/misc/idmouse.c dev_dbg(&dev->interface->dev, "read %d bytes fingerprint data\n", interface 222 drivers/usb/misc/idmouse.c struct usb_interface *interface; interface 226 drivers/usb/misc/idmouse.c interface = usb_find_interface (&idmouse_driver, iminor (inode)); interface 227 drivers/usb/misc/idmouse.c if (!interface) interface 232 drivers/usb/misc/idmouse.c dev = usb_get_intfdata(interface); interface 251 drivers/usb/misc/idmouse.c result = usb_autopm_get_interface(interface); interface 255 drivers/usb/misc/idmouse.c usb_autopm_put_interface(interface); interface 330 drivers/usb/misc/idmouse.c static int idmouse_probe(struct usb_interface *interface, interface 333 drivers/usb/misc/idmouse.c struct usb_device *udev = interface_to_usbdev(interface); interface 340 drivers/usb/misc/idmouse.c iface_desc = interface->cur_altsetting; interface 354 drivers/usb/misc/idmouse.c dev->interface = interface; interface 359 drivers/usb/misc/idmouse.c dev_err(&interface->dev, "Unable to find bulk-in endpoint.\n"); interface 377 drivers/usb/misc/idmouse.c usb_set_intfdata(interface, dev); interface 378 drivers/usb/misc/idmouse.c result = usb_register_dev(interface, &idmouse_class); interface 381 drivers/usb/misc/idmouse.c dev_err(&interface->dev, "Unable to allocate minor number.\n"); interface 382 drivers/usb/misc/idmouse.c usb_set_intfdata(interface, NULL); interface 388 drivers/usb/misc/idmouse.c dev_info(&interface->dev,"%s now attached\n",DRIVER_DESC); interface 393 drivers/usb/misc/idmouse.c static void idmouse_disconnect(struct usb_interface *interface) interface 398 drivers/usb/misc/idmouse.c dev = usb_get_intfdata(interface); interface 401 drivers/usb/misc/idmouse.c usb_deregister_dev(interface, &idmouse_class); interface 404 drivers/usb/misc/idmouse.c usb_set_intfdata(interface, NULL); interface 421 drivers/usb/misc/idmouse.c dev_info(&interface->dev, "disconnected\n"); interface 75 drivers/usb/misc/iowarrior.c struct usb_interface *interface; /* the interface for this device */ interface 185 drivers/usb/misc/iowarrior.c && (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0)) { interface 218 drivers/usb/misc/iowarrior.c dev_err(&dev->interface->dev, "%s - usb_submit_urb failed with result %d\n", interface 236 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, interface 252 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d\n", dev->minor); interface 256 drivers/usb/misc/iowarrior.c usb_put_intf(dev->interface); interface 290 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d, count = %zd\n", interface 359 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d, count = %zd\n", interface 383 drivers/usb/misc/iowarrior.c retval = usb_set_report(dev->interface, 2, 0, buf, count); interface 428 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, interface 446 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, interface 459 drivers/usb/misc/iowarrior.c dev_err(&dev->interface->dev, "%s - not supported for product=0x%x\n", interface 506 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d, cmd 0x%.4x, arg %ld\n", interface 524 drivers/usb/misc/iowarrior.c io_res = usb_set_report(dev->interface, 2, 0, interface 532 drivers/usb/misc/iowarrior.c dev_err(&dev->interface->dev, interface 540 drivers/usb/misc/iowarrior.c dev->interface->cur_altsetting, 1, 0, interface 565 drivers/usb/misc/iowarrior.c info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber; interface 601 drivers/usb/misc/iowarrior.c struct usb_interface *interface; interface 607 drivers/usb/misc/iowarrior.c interface = usb_find_interface(&iowarrior_driver, subminor); interface 608 drivers/usb/misc/iowarrior.c if (!interface) { interface 614 drivers/usb/misc/iowarrior.c dev = usb_get_intfdata(interface); interface 628 drivers/usb/misc/iowarrior.c dev_err(&interface->dev, "Error %d while submitting URB\n", retval); interface 655 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d\n", dev->minor); interface 751 drivers/usb/misc/iowarrior.c static int iowarrior_probe(struct usb_interface *interface, interface 754 drivers/usb/misc/iowarrior.c struct usb_device *udev = interface_to_usbdev(interface); interface 775 drivers/usb/misc/iowarrior.c dev->interface = usb_get_intf(interface); interface 777 drivers/usb/misc/iowarrior.c iface_desc = interface->cur_altsetting; interface 784 drivers/usb/misc/iowarrior.c dev_err(&interface->dev, "no interrupt-in endpoint found\n"); interface 797 drivers/usb/misc/iowarrior.c dev_err(&interface->dev, "no interrupt-out endpoint found\n"); interface 805 drivers/usb/misc/iowarrior.c if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) && interface 841 drivers/usb/misc/iowarrior.c if (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) { interface 851 drivers/usb/misc/iowarrior.c usb_set_intfdata(interface, dev); interface 853 drivers/usb/misc/iowarrior.c retval = usb_register_dev(interface, &iowarrior_class); interface 856 drivers/usb/misc/iowarrior.c dev_err(&interface->dev, "Not able to get a minor for this device.\n"); interface 860 drivers/usb/misc/iowarrior.c dev->minor = interface->minor; interface 863 drivers/usb/misc/iowarrior.c dev_info(&interface->dev, "IOWarrior product=0x%x, serial=%s interface=%d " interface 878 drivers/usb/misc/iowarrior.c static void iowarrior_disconnect(struct usb_interface *interface) interface 880 drivers/usb/misc/iowarrior.c struct iowarrior *dev = usb_get_intfdata(interface); interface 883 drivers/usb/misc/iowarrior.c usb_deregister_dev(interface, &iowarrior_class); interface 906 drivers/usb/misc/iowarrior.c dev_info(&interface->dev, "I/O-Warror #%d now disconnected\n", interface 305 drivers/usb/misc/ldusb.c struct usb_interface *interface; interface 310 drivers/usb/misc/ldusb.c interface = usb_find_interface(&ld_usb_driver, subminor); interface 312 drivers/usb/misc/ldusb.c if (!interface) { interface 318 drivers/usb/misc/ldusb.c dev = usb_get_intfdata(interface); interface 339 drivers/usb/misc/ldusb.c interface_to_usbdev(interface), interface 340 drivers/usb/misc/ldusb.c usb_rcvintpipe(interface_to_usbdev(interface), interface 353 drivers/usb/misc/ldusb.c dev_err(&interface->dev, "Couldn't submit interrupt_in_urb %d\n", retval); interface 235 drivers/usb/misc/legousbtower.c static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id); interface 236 drivers/usb/misc/legousbtower.c static void tower_disconnect (struct usb_interface *interface); interface 312 drivers/usb/misc/legousbtower.c struct usb_interface *interface; interface 326 drivers/usb/misc/legousbtower.c interface = usb_find_interface (&tower_driver, subminor); interface 328 drivers/usb/misc/legousbtower.c if (!interface) { interface 334 drivers/usb/misc/legousbtower.c dev = usb_get_intfdata(interface); interface 793 drivers/usb/misc/legousbtower.c static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id) interface 795 drivers/usb/misc/legousbtower.c struct device *idev = &interface->dev; interface 796 drivers/usb/misc/legousbtower.c struct usb_device *udev = interface_to_usbdev(interface); interface 836 drivers/usb/misc/legousbtower.c result = usb_find_common_endpoints_reverse(interface->cur_altsetting, interface 888 drivers/usb/misc/legousbtower.c dev_info(&interface->dev, interface 895 drivers/usb/misc/legousbtower.c usb_set_intfdata (interface, dev); interface 897 drivers/usb/misc/legousbtower.c retval = usb_register_dev (interface, &tower_class); interface 904 drivers/usb/misc/legousbtower.c dev->minor = interface->minor; interface 907 drivers/usb/misc/legousbtower.c dev_info(&interface->dev, "LEGO USB Tower #%d now attached to major " interface 927 drivers/usb/misc/legousbtower.c static void tower_disconnect (struct usb_interface *interface) interface 932 drivers/usb/misc/legousbtower.c dev = usb_get_intfdata (interface); interface 937 drivers/usb/misc/legousbtower.c usb_deregister_dev (interface, &tower_class); interface 957 drivers/usb/misc/legousbtower.c dev_info(&interface->dev, "LEGO USB Tower #%d now disconnected\n", interface 2385 drivers/usb/misc/sisusbvga/sisusb.c struct usb_interface *interface; interface 2388 drivers/usb/misc/sisusbvga/sisusb.c interface = usb_find_interface(&sisusb_driver, subminor); interface 2389 drivers/usb/misc/sisusbvga/sisusb.c if (!interface) interface 2392 drivers/usb/misc/sisusbvga/sisusb.c sisusb = usb_get_intfdata(interface); interface 102 drivers/usb/misc/sisusbvga/sisusb.h struct usb_interface *interface; interface 82 drivers/usb/misc/trancevibrator.c static int tv_probe(struct usb_interface *interface, interface 85 drivers/usb/misc/trancevibrator.c struct usb_device *udev = interface_to_usbdev(interface); interface 96 drivers/usb/misc/trancevibrator.c usb_set_intfdata(interface, dev); interface 105 drivers/usb/misc/trancevibrator.c static void tv_disconnect(struct usb_interface *interface) interface 109 drivers/usb/misc/trancevibrator.c dev = usb_get_intfdata (interface); interface 110 drivers/usb/misc/trancevibrator.c usb_set_intfdata(interface, NULL); interface 41 drivers/usb/misc/usblcd.c struct usb_interface *interface; /* the interface for interface 80 drivers/usb/misc/usblcd.c struct usb_interface *interface; interface 85 drivers/usb/misc/usblcd.c interface = usb_find_interface(&lcd_driver, subminor); interface 86 drivers/usb/misc/usblcd.c if (!interface) { interface 92 drivers/usb/misc/usblcd.c dev = usb_get_intfdata(interface); interface 98 drivers/usb/misc/usblcd.c r = usb_autopm_get_interface(interface); interface 119 drivers/usb/misc/usblcd.c usb_autopm_put_interface(dev->interface); interface 208 drivers/usb/misc/usblcd.c dev_dbg(&dev->interface->dev, interface 318 drivers/usb/misc/usblcd.c static int lcd_probe(struct usb_interface *interface, interface 336 drivers/usb/misc/usblcd.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 337 drivers/usb/misc/usblcd.c dev->interface = interface; interface 340 drivers/usb/misc/usblcd.c dev_warn(&interface->dev, "USBLCD model not supported.\n"); interface 347 drivers/usb/misc/usblcd.c retval = usb_find_common_endpoints(interface->cur_altsetting, interface 350 drivers/usb/misc/usblcd.c dev_err(&interface->dev, interface 366 drivers/usb/misc/usblcd.c usb_set_intfdata(interface, dev); interface 369 drivers/usb/misc/usblcd.c retval = usb_register_dev(interface, &lcd_class); interface 372 drivers/usb/misc/usblcd.c dev_err(&interface->dev, interface 379 drivers/usb/misc/usblcd.c dev_info(&interface->dev, "USBLCD Version %1d%1d.%1d%1d found " interface 384 drivers/usb/misc/usblcd.c dev_info(&interface->dev, "USB LCD device now attached to USBLCD-%d\n", interface 385 drivers/usb/misc/usblcd.c interface->minor); interface 417 drivers/usb/misc/usblcd.c static void lcd_disconnect(struct usb_interface *interface) interface 419 drivers/usb/misc/usblcd.c struct usb_lcd *dev = usb_get_intfdata(interface); interface 420 drivers/usb/misc/usblcd.c int minor = interface->minor; interface 423 drivers/usb/misc/usblcd.c usb_deregister_dev(interface, &lcd_class); interface 434 drivers/usb/misc/usblcd.c dev_info(&interface->dev, "USB LCD #%d now disconnected\n", minor); interface 330 drivers/usb/misc/usbsevseg.c static int sevseg_probe(struct usb_interface *interface, interface 333 drivers/usb/misc/usbsevseg.c struct usb_device *udev = interface_to_usbdev(interface); interface 342 drivers/usb/misc/usbsevseg.c mydev->intf = interface; interface 343 drivers/usb/misc/usbsevseg.c usb_set_intfdata(interface, mydev); interface 354 drivers/usb/misc/usbsevseg.c dev_info(&interface->dev, "USB 7 Segment device now attached\n"); interface 361 drivers/usb/misc/usbsevseg.c static void sevseg_disconnect(struct usb_interface *interface) interface 365 drivers/usb/misc/usbsevseg.c mydev = usb_get_intfdata(interface); interface 366 drivers/usb/misc/usbsevseg.c usb_set_intfdata(interface, NULL); interface 369 drivers/usb/misc/usbsevseg.c dev_info(&interface->dev, "USB 7 Segment now disconnected\n"); interface 674 drivers/usb/misc/uss720.c struct usb_host_interface *interface; interface 693 drivers/usb/misc/uss720.c interface = intf->cur_altsetting; interface 695 drivers/usb/misc/uss720.c if (interface->desc.bNumEndpoints < 3) { interface 731 drivers/usb/misc/uss720.c i = usb_find_last_int_in_endpoint(interface, &epd); interface 53 drivers/usb/misc/yurex.c struct usb_interface *interface; interface 94 drivers/usb/misc/yurex.c dev_dbg(&dev->interface->dev, "%s\n", __func__); interface 111 drivers/usb/misc/yurex.c usb_put_intf(dev->interface); interface 139 drivers/usb/misc/yurex.c dev_err(&dev->interface->dev, interface 150 drivers/usb/misc/yurex.c dev_err(&dev->interface->dev, interface 167 drivers/usb/misc/yurex.c dev_dbg(&dev->interface->dev, "%s count: %lld\n", interface 174 drivers/usb/misc/yurex.c dev_dbg(&dev->interface->dev, interface 178 drivers/usb/misc/yurex.c dev_dbg(&dev->interface->dev, "%s ack: %c\n", interface 186 drivers/usb/misc/yurex.c dev_err(&dev->interface->dev, "%s - usb_submit_urb failed: %d\n", interface 191 drivers/usb/misc/yurex.c static int yurex_probe(struct usb_interface *interface, const struct usb_device_id *id) interface 209 drivers/usb/misc/yurex.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 210 drivers/usb/misc/yurex.c dev->interface = usb_get_intf(interface); interface 213 drivers/usb/misc/yurex.c iface_desc = interface->cur_altsetting; interface 216 drivers/usb/misc/yurex.c dev_err(&interface->dev, "Could not find endpoints\n"); interface 238 drivers/usb/misc/yurex.c dev_err(&interface->dev, "Could not allocate cntl_buffer\n"); interface 266 drivers/usb/misc/yurex.c dev_err(&interface->dev, "Could not allocate int_buffer\n"); interface 278 drivers/usb/misc/yurex.c dev_err(&interface->dev, "Could not submitting URB\n"); interface 283 drivers/usb/misc/yurex.c usb_set_intfdata(interface, dev); interface 287 drivers/usb/misc/yurex.c retval = usb_register_dev(interface, &yurex_class); interface 289 drivers/usb/misc/yurex.c dev_err(&interface->dev, interface 291 drivers/usb/misc/yurex.c usb_set_intfdata(interface, NULL); interface 295 drivers/usb/misc/yurex.c dev_info(&interface->dev, interface 297 drivers/usb/misc/yurex.c interface->minor); interface 308 drivers/usb/misc/yurex.c static void yurex_disconnect(struct usb_interface *interface) interface 311 drivers/usb/misc/yurex.c int minor = interface->minor; interface 313 drivers/usb/misc/yurex.c dev = usb_get_intfdata(interface); interface 314 drivers/usb/misc/yurex.c usb_set_intfdata(interface, NULL); interface 317 drivers/usb/misc/yurex.c usb_deregister_dev(interface, &yurex_class); interface 333 drivers/usb/misc/yurex.c dev_info(&interface->dev, "USB YUREX #%d now disconnected\n", minor); interface 355 drivers/usb/misc/yurex.c struct usb_interface *interface; interface 361 drivers/usb/misc/yurex.c interface = usb_find_interface(&yurex_driver, subminor); interface 362 drivers/usb/misc/yurex.c if (!interface) { interface 369 drivers/usb/misc/yurex.c dev = usb_get_intfdata(interface); interface 493 drivers/usb/misc/yurex.c dev_dbg(&dev->interface->dev, "%s - submit %c\n", __func__, interface 503 drivers/usb/misc/yurex.c dev_err(&dev->interface->dev, interface 62 drivers/usb/renesas_usbhs/mod_gadget.c int (*interface)(struct usbhs_priv *priv, struct usbhsg_uep *uep, interface 253 drivers/usb/renesas_usbhs/mod_gadget.c .interface = usbhsg_recip_handler_std_control_done, interface 294 drivers/usb/renesas_usbhs/mod_gadget.c .interface = usbhsg_recip_handler_std_control_done, interface 394 drivers/usb/renesas_usbhs/mod_gadget.c .interface = usbhsg_recip_handler_std_get_interface, interface 430 drivers/usb/renesas_usbhs/mod_gadget.c func = handler->interface; interface 92 drivers/usb/serial/aircable.c dev_dbg(&serial->interface->dev, interface 102 drivers/usb/serial/ark3116.c dev_err(&serial->interface->dev, interface 51 drivers/usb/serial/bus.c retval = usb_autopm_get_interface(port->serial->interface); interface 70 drivers/usb/serial/bus.c usb_autopm_put_interface(port->serial->interface); interface 82 drivers/usb/serial/bus.c usb_autopm_put_interface(port->serial->interface); interface 105 drivers/usb/serial/bus.c autopm_err = usb_autopm_get_interface(port->serial->interface); interface 118 drivers/usb/serial/bus.c usb_autopm_put_interface(port->serial->interface); interface 117 drivers/usb/serial/console.c retval = usb_autopm_get_interface(serial->interface); interface 187 drivers/usb/serial/console.c usb_autopm_put_interface(serial->interface); interface 516 drivers/usb/serial/cp210x.c cur_altsetting = serial->interface->cur_altsetting; interface 638 drivers/usb/serial/cp210x.c dev_err(&serial->interface->dev, interface 744 drivers/usb/serial/cp210x.c dev_err(&serial->interface->dev, interface 1376 drivers/usb/serial/cp210x.c result = usb_autopm_get_interface(serial->interface); interface 1382 drivers/usb/serial/cp210x.c usb_autopm_put_interface(serial->interface); interface 1403 drivers/usb/serial/cp210x.c result = usb_autopm_get_interface(serial->interface); interface 1424 drivers/usb/serial/cp210x.c usb_autopm_put_interface(serial->interface); interface 1427 drivers/usb/serial/cp210x.c dev_err(&serial->interface->dev, "failed to set GPIO value: %d\n", interface 1738 drivers/usb/serial/cp210x.c priv->gc.parent = &serial->interface->dev; interface 1866 drivers/usb/serial/cp210x.c dev_warn(&serial->interface->dev, interface 1877 drivers/usb/serial/cp210x.c dev_err(&serial->interface->dev, "GPIO initialisation failed: %d\n", interface 216 drivers/usb/serial/f81534.c struct usb_interface *interface = serial->interface; interface 247 drivers/usb/serial/f81534.c dev_err(&interface->dev, "%s: reg: %x data: %x failed: %d\n", interface 257 drivers/usb/serial/f81534.c struct usb_interface *interface = serial->interface; interface 286 drivers/usb/serial/f81534.c dev_err(&interface->dev, "%s: reg: %x failed: %d\n", __func__, interface 371 drivers/usb/serial/f81534.c dev_err(&serial->interface->dev, interface 739 drivers/usb/serial/f81534.c dev_err(&serial->interface->dev, "%s: read failed: %d\n", interface 839 drivers/usb/serial/f81534.c struct device *dev = &serial->interface->dev; interface 853 drivers/usb/serial/f81534.c serial_priv = devm_kzalloc(&serial->interface->dev, interface 864 drivers/usb/serial/f81534.c dev_err(&serial->interface->dev, "%s: find idx failed: %d\n", interface 880 drivers/usb/serial/f81534.c dev_err(&serial->interface->dev, interface 886 drivers/usb/serial/f81534.c dev_dbg(&serial->interface->dev, interface 896 drivers/usb/serial/f81534.c dev_err(&serial->interface->dev, interface 902 drivers/usb/serial/f81534.c dev_dbg(&serial->interface->dev, "%s: read default config\n", interface 918 drivers/usb/serial/f81534.c dev_warn(&serial->interface->dev, interface 929 drivers/usb/serial/f81534.c dev_dbg(&serial->interface->dev, interface 65 drivers/usb/serial/ftdi_sio.c u16 interface; /* FT2232C, FT2232H or FT4232H port interface interface 1246 drivers/usb/serial/ftdi_sio.c value, priv->interface, interface 1387 drivers/usb/serial/ftdi_sio.c index = (u16)((index << 8) | priv->interface); interface 1418 drivers/usb/serial/ftdi_sio.c l, priv->interface, interface 1440 drivers/usb/serial/ftdi_sio.c 0, priv->interface, interface 1583 drivers/usb/serial/ftdi_sio.c inter = serial->interface->altsetting->desc.bInterfaceNumber; interface 1585 drivers/usb/serial/ftdi_sio.c priv->interface = INTERFACE_A; interface 1587 drivers/usb/serial/ftdi_sio.c priv->interface = INTERFACE_B; interface 1589 drivers/usb/serial/ftdi_sio.c priv->interface = INTERFACE_C; interface 1591 drivers/usb/serial/ftdi_sio.c priv->interface = INTERFACE_D; interface 1645 drivers/usb/serial/ftdi_sio.c struct usb_interface *interface = port->serial->interface; interface 1650 drivers/usb/serial/ftdi_sio.c num_endpoints = interface->cur_altsetting->desc.bNumEndpoints; interface 1661 drivers/usb/serial/ftdi_sio.c ep_desc = &interface->cur_altsetting->endpoint[i].desc; interface 1732 drivers/usb/serial/ftdi_sio.c v, priv->interface, interface 1797 drivers/usb/serial/ftdi_sio.c result = usb_autopm_get_interface(serial->interface); interface 1806 drivers/usb/serial/ftdi_sio.c priv->interface, NULL, 0, WDR_TIMEOUT); interface 1808 drivers/usb/serial/ftdi_sio.c dev_err(&serial->interface->dev, interface 1813 drivers/usb/serial/ftdi_sio.c usb_autopm_put_interface(serial->interface); interface 1866 drivers/usb/serial/ftdi_sio.c result = usb_autopm_get_interface(serial->interface); interface 1872 drivers/usb/serial/ftdi_sio.c usb_autopm_put_interface(serial->interface); interface 1880 drivers/usb/serial/ftdi_sio.c priv->interface, buf, 1, WDR_TIMEOUT); interface 1889 drivers/usb/serial/ftdi_sio.c usb_autopm_put_interface(serial->interface); interface 2175 drivers/usb/serial/ftdi_sio.c priv->gc.parent = &serial->interface->dev; interface 2263 drivers/usb/serial/ftdi_sio.c dev_err(&port->serial->interface->dev, interface 2333 drivers/usb/serial/ftdi_sio.c struct usb_interface *interface = serial->interface; interface 2335 drivers/usb/serial/ftdi_sio.c if (interface == udev->actconfig->interface[0]) { interface 2370 drivers/usb/serial/ftdi_sio.c struct usb_interface *interface = serial->interface; interface 2372 drivers/usb/serial/ftdi_sio.c if (interface == udev->actconfig->interface[0] || interface 2373 drivers/usb/serial/ftdi_sio.c interface == udev->actconfig->interface[1]) { interface 2404 drivers/usb/serial/ftdi_sio.c priv->interface, NULL, 0, WDR_TIMEOUT); interface 2427 drivers/usb/serial/ftdi_sio.c 0, priv->interface, NULL, 0, interface 2611 drivers/usb/serial/ftdi_sio.c value , priv->interface, interface 2747 drivers/usb/serial/ftdi_sio.c value , priv->interface, interface 2760 drivers/usb/serial/ftdi_sio.c 0, priv->interface, interface 2794 drivers/usb/serial/ftdi_sio.c index |= priv->interface; interface 2848 drivers/usb/serial/ftdi_sio.c 0, priv->interface, interface 40 drivers/usb/serial/generic.c struct device *dev = &serial->interface->dev; interface 51 drivers/usb/serial/generic.c struct device *dev = &serial->interface->dev; interface 620 drivers/usb/serial/io_edgeport.c dev_warn(&serial->interface->dev, "short epic descriptor received: %d\n", interface 2908 drivers/usb/serial/io_edgeport.c alt = serial->interface->cur_altsetting; interface 967 drivers/usb/serial/io_ti.c struct device *dev = &serial->serial->interface->dev; interface 1004 drivers/usb/serial/io_ti.c struct device *dev = &serial->serial->interface->dev; interface 1006 drivers/usb/serial/io_ti.c struct usb_interface_descriptor *interface; interface 1043 drivers/usb/serial/io_ti.c interface = &serial->serial->interface->cur_altsetting->desc; interface 1044 drivers/usb/serial/io_ti.c if (!interface) { interface 1055 drivers/usb/serial/io_ti.c if (interface->bNumEndpoints > 1) { interface 1072 drivers/usb/serial/io_ti.c struct device *dev = &serial->serial->interface->dev; interface 1384 drivers/usb/serial/io_ti.c struct device *dev = &serial->serial->interface->dev; interface 2499 drivers/usb/serial/io_ti.c dev_err(&serial->serial->interface->dev, interface 2510 drivers/usb/serial/io_ti.c struct device *dev = &serial->interface->dev; interface 2514 drivers/usb/serial/io_ti.c if (serial->interface->cur_altsetting->desc.bNumEndpoints > 1) { interface 1713 drivers/usb/serial/keyspan.c iface_desc = serial->interface->cur_altsetting; interface 1719 drivers/usb/serial/keyspan.c dev_warn(&serial->interface->dev, "found no endpoint descriptor for endpoint %x\n", interface 1735 drivers/usb/serial/keyspan.c dev_dbg(&serial->interface->dev, "%s - alloc for endpoint %x\n", interface 1763 drivers/usb/serial/keyspan.c dev_warn(&serial->interface->dev, interface 1770 drivers/usb/serial/keyspan.c dev_dbg(&serial->interface->dev, "%s - using urb %p for %s endpoint %x\n", interface 70 drivers/usb/serial/metro-usb.c dev_err(&serial->interface->dev, "interrupt-out endpoint missing\n"); interface 740 drivers/usb/serial/mos7720.c dev_err(&serial->interface->dev, interface 747 drivers/usb/serial/mos7720.c mos_parport->pp->dev = &serial->interface->dev; interface 2086 drivers/usb/serial/mos7840.c dev_err(&serial->interface->dev, "missing endpoints\n"); interface 226 drivers/usb/serial/mxuport.c dev_err(&serial->interface->dev, interface 233 drivers/usb/serial/mxuport.c dev_err(&serial->interface->dev, interface 258 drivers/usb/serial/mxuport.c dev_err(&serial->interface->dev, interface 265 drivers/usb/serial/mxuport.c dev_err(&serial->interface->dev, interface 961 drivers/usb/serial/mxuport.c dev_warn(&serial->interface->dev, interface 1018 drivers/usb/serial/mxuport.c dev_dbg(&serial->interface->dev, "Starting firmware download...\n"); interface 1075 drivers/usb/serial/mxuport.c dev_dbg(&serial->interface->dev, "Device firmware version v%x.%x.%x\n", interface 1082 drivers/usb/serial/mxuport.c err = request_firmware(&fw_p, buf, &serial->interface->dev); interface 1084 drivers/usb/serial/mxuport.c dev_warn(&serial->interface->dev, "Firmware %s not found\n", interface 1093 drivers/usb/serial/mxuport.c dev_dbg(&serial->interface->dev, interface 1107 drivers/usb/serial/mxuport.c dev_info(&serial->interface->dev, interface 2079 drivers/usb/serial/option.c &serial->interface->cur_altsetting->desc; interface 2120 drivers/usb/serial/option.c iface_desc = &serial->interface->cur_altsetting->desc; interface 193 drivers/usb/serial/pl2303.c struct device *dev = &serial->interface->dev; interface 215 drivers/usb/serial/pl2303.c struct device *dev = &serial->interface->dev; interface 271 drivers/usb/serial/pl2303.c struct usb_interface *interface = serial->interface; interface 273 drivers/usb/serial/pl2303.c struct device *ddev = &interface->dev; interface 278 drivers/usb/serial/pl2303.c if (interface == dev->actconfig->interface[0]) interface 282 drivers/usb/serial/pl2303.c iface_desc = dev->actconfig->interface[0]->cur_altsetting; interface 302 drivers/usb/serial/pl2303.c struct device *dev = &serial->interface->dev; interface 343 drivers/usb/serial/pl2303.c dev_dbg(&serial->interface->dev, "device type: %d\n", type); interface 224 drivers/usb/serial/qcserial.c struct usb_host_interface *intf = serial->interface->cur_altsetting; interface 244 drivers/usb/serial/qcserial.c if (serial->interface->num_altsetting == 2) interface 245 drivers/usb/serial/qcserial.c intf = &serial->interface->altsetting[1]; interface 246 drivers/usb/serial/qcserial.c else if (serial->interface->num_altsetting > 2) interface 254 drivers/usb/serial/qcserial.c if (serial->interface->num_altsetting == 1) interface 266 drivers/usb/serial/safe_serial.c desc = &serial->interface->cur_altsetting->desc; interface 91 drivers/usb/serial/sierra.c ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; interface 92 drivers/usb/serial/sierra.c numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; interface 140 drivers/usb/serial/sierra.c return serial->interface->cur_altsetting->desc.bInterfaceNumber; interface 157 drivers/usb/serial/sierra.c if (serial->interface->num_altsetting == 2) { interface 311 drivers/usb/serial/sierra.c __u16 interface = 0; interface 325 drivers/usb/serial/sierra.c interface = sierra_interface_num(serial); interface 338 drivers/usb/serial/sierra.c interface = 0; interface 340 drivers/usb/serial/sierra.c interface = 1; interface 342 drivers/usb/serial/sierra.c interface = 2; interface 349 drivers/usb/serial/sierra.c retval = usb_autopm_get_interface(serial->interface); interface 354 drivers/usb/serial/sierra.c 0x22, 0x21, val, interface, NULL, 0, USB_CTRL_SET_TIMEOUT); interface 355 drivers/usb/serial/sierra.c usb_autopm_put_interface(serial->interface); interface 418 drivers/usb/serial/sierra.c usb_autopm_put_interface_async(port->serial->interface); interface 467 drivers/usb/serial/sierra.c retval = usb_autopm_get_interface_async(serial->interface); interface 537 drivers/usb/serial/sierra.c usb_autopm_put_interface_async(serial->interface); interface 764 drivers/usb/serial/sierra.c serial->interface->needs_remote_wakeup = 0; interface 773 drivers/usb/serial/sierra.c usb_autopm_put_interface_async(serial->interface); interface 787 drivers/usb/serial/sierra.c usb_autopm_get_interface_no_resume(serial->interface); interface 819 drivers/usb/serial/sierra.c serial->interface->needs_remote_wakeup = 1; interface 821 drivers/usb/serial/sierra.c usb_autopm_put_interface(serial->interface); interface 553 drivers/usb/serial/ti_usb_3410_5052.c cur_altsetting = serial->interface->cur_altsetting; interface 582 drivers/usb/serial/ti_usb_3410_5052.c dev_err(&serial->interface->dev, "missing endpoints\n"); interface 90 drivers/usb/serial/usb-serial.c dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports); interface 148 drivers/usb/serial/usb-serial.c usb_put_intf(serial->interface); interface 192 drivers/usb/serial/usb-serial.c retval = usb_autopm_get_interface(serial->interface); interface 213 drivers/usb/serial/usb-serial.c usb_autopm_put_interface(serial->interface); interface 317 drivers/usb/serial/usb-serial.c usb_autopm_put_interface(serial->interface); interface 602 drivers/usb/serial/usb-serial.c struct usb_interface *interface, interface 612 drivers/usb/serial/usb-serial.c serial->interface = usb_get_intf(interface); interface 717 drivers/usb/serial/usb-serial.c struct device *dev = &serial->interface->dev; interface 727 drivers/usb/serial/usb-serial.c iface_desc = serial->interface->cur_altsetting; interface 865 drivers/usb/serial/usb-serial.c static int usb_serial_probe(struct usb_interface *interface, interface 868 drivers/usb/serial/usb-serial.c struct device *ddev = &interface->dev; interface 869 drivers/usb/serial/usb-serial.c struct usb_device *dev = interface_to_usbdev(interface); interface 880 drivers/usb/serial/usb-serial.c type = search_serial_device(interface); interface 894 drivers/usb/serial/usb-serial.c serial = create_serial(dev, interface, type); interface 904 drivers/usb/serial/usb-serial.c id = get_iface_id(type, interface); interface 979 drivers/usb/serial/usb-serial.c port->dev.parent = &interface->dev; interface 1023 drivers/usb/serial/usb-serial.c usb_set_intfdata(interface, serial); interface 1076 drivers/usb/serial/usb-serial.c static void usb_serial_disconnect(struct usb_interface *interface) interface 1079 drivers/usb/serial/usb-serial.c struct usb_serial *serial = usb_get_intfdata(interface); interface 1080 drivers/usb/serial/usb-serial.c struct device *dev = &interface->dev; interface 55 drivers/usb/serial/usb_wwan.c ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; interface 57 drivers/usb/serial/usb_wwan.c res = usb_autopm_get_interface(serial->interface); interface 65 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface(port->serial->interface); interface 214 drivers/usb/serial/usb_wwan.c err = usb_autopm_get_interface_async(port->serial->interface); interface 241 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface_async(port->serial->interface); interface 311 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface_async(port->serial->interface); interface 403 drivers/usb/serial/usb_wwan.c serial->interface->needs_remote_wakeup = 1; interface 406 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface(serial->interface); interface 441 drivers/usb/serial/usb_wwan.c serial->interface->needs_remote_wakeup = 0; interface 449 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface_async(serial->interface); interface 458 drivers/usb/serial/usb_wwan.c usb_autopm_get_interface_no_resume(serial->interface); interface 633 drivers/usb/serial/usb_wwan.c usb_autopm_put_interface_async(serial->interface); interface 485 drivers/usb/serial/visor.c dev_err(&serial->interface->dev, "missing endpoints\n"); interface 40 drivers/usb/serial/wishbone-serial.c port->serial->interface->cur_altsetting->desc.bInterfaceNumber, interface 44 drivers/usb/serial/xsens_mt.c if (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1) interface 166 drivers/usb/storage/onetouch.c struct usb_host_interface *interface; interface 173 drivers/usb/storage/onetouch.c interface = ss->pusb_intf->cur_altsetting; interface 175 drivers/usb/storage/onetouch.c if (interface->desc.bNumEndpoints != 3) interface 178 drivers/usb/storage/onetouch.c endpoint = &interface->endpoint[2].desc; interface 149 drivers/usb/storage/usb.c if (config->interface[i] == intf) interface 49 drivers/usb/usb-skeleton.c struct usb_interface *interface; /* the interface for this device */ interface 77 drivers/usb/usb-skeleton.c usb_put_intf(dev->interface); interface 86 drivers/usb/usb-skeleton.c struct usb_interface *interface; interface 92 drivers/usb/usb-skeleton.c interface = usb_find_interface(&skel_driver, subminor); interface 93 drivers/usb/usb-skeleton.c if (!interface) { interface 100 drivers/usb/usb-skeleton.c dev = usb_get_intfdata(interface); interface 106 drivers/usb/usb-skeleton.c retval = usb_autopm_get_interface(interface); interface 129 drivers/usb/usb-skeleton.c usb_autopm_put_interface(dev->interface); interface 173 drivers/usb/usb-skeleton.c dev_err(&dev->interface->dev, interface 212 drivers/usb/usb-skeleton.c dev_err(&dev->interface->dev, interface 344 drivers/usb/usb-skeleton.c dev_err(&dev->interface->dev, interface 440 drivers/usb/usb-skeleton.c dev_err(&dev->interface->dev, interface 488 drivers/usb/usb-skeleton.c static int skel_probe(struct usb_interface *interface, interface 507 drivers/usb/usb-skeleton.c dev->udev = usb_get_dev(interface_to_usbdev(interface)); interface 508 drivers/usb/usb-skeleton.c dev->interface = usb_get_intf(interface); interface 512 drivers/usb/usb-skeleton.c retval = usb_find_common_endpoints(interface->cur_altsetting, interface 515 drivers/usb/usb-skeleton.c dev_err(&interface->dev, interface 536 drivers/usb/usb-skeleton.c usb_set_intfdata(interface, dev); interface 539 drivers/usb/usb-skeleton.c retval = usb_register_dev(interface, &skel_class); interface 542 drivers/usb/usb-skeleton.c dev_err(&interface->dev, interface 544 drivers/usb/usb-skeleton.c usb_set_intfdata(interface, NULL); interface 549 drivers/usb/usb-skeleton.c dev_info(&interface->dev, interface 551 drivers/usb/usb-skeleton.c interface->minor); interface 561 drivers/usb/usb-skeleton.c static void skel_disconnect(struct usb_interface *interface) interface 564 drivers/usb/usb-skeleton.c int minor = interface->minor; interface 566 drivers/usb/usb-skeleton.c dev = usb_get_intfdata(interface); interface 567 drivers/usb/usb-skeleton.c usb_set_intfdata(interface, NULL); interface 570 drivers/usb/usb-skeleton.c usb_deregister_dev(interface, &skel_class); interface 583 drivers/usb/usb-skeleton.c dev_info(&interface->dev, "USB Skeleton #%d now disconnected", minor); interface 107 drivers/usb/usbip/stub_rx.c __u16 interface; interface 112 drivers/usb/usbip/stub_rx.c interface = le16_to_cpu(req->wIndex); interface 115 drivers/usb/usbip/stub_rx.c interface, alternate); interface 117 drivers/usb/usbip/stub_rx.c ret = usb_set_interface(urb->dev, interface, alternate); interface 121 drivers/usb/usbip/stub_rx.c interface, alternate, ret); interface 125 drivers/usb/usbip/stub_rx.c interface, alternate); interface 326 drivers/usb/usbip/usbip_common.h static inline int interface_to_busnum(struct usb_interface *interface) interface 328 drivers/usb/usbip/usbip_common.h struct usb_device *udev = interface_to_usbdev(interface); interface 333 drivers/usb/usbip/usbip_common.h static inline int interface_to_devnum(struct usb_interface *interface) interface 335 drivers/usb/usbip/usbip_common.h struct usb_device *udev = interface_to_usbdev(interface); interface 1608 drivers/video/fbdev/smscufx.c static int ufx_usb_probe(struct usb_interface *interface, interface 1618 drivers/video/fbdev/smscufx.c usbdev = interface_to_usbdev(interface); interface 1633 drivers/video/fbdev/smscufx.c usb_set_intfdata(interface, dev); interface 1741 drivers/video/fbdev/smscufx.c static void ufx_usb_disconnect(struct usb_interface *interface) interface 1745 drivers/video/fbdev/smscufx.c dev = usb_get_intfdata(interface); interface 1755 drivers/video/fbdev/smscufx.c usb_set_intfdata(interface, NULL); interface 118 drivers/watchdog/pcwd_usb.c struct usb_interface *interface; interface 152 drivers/watchdog/pcwd_usb.c static int usb_pcwd_probe(struct usb_interface *interface, interface 154 drivers/watchdog/pcwd_usb.c static void usb_pcwd_disconnect(struct usb_interface *interface); interface 170 drivers/watchdog/pcwd_usb.c struct device *dev = &usb_pcwd->interface->dev; interface 229 drivers/watchdog/pcwd_usb.c dev_dbg(&usb_pcwd->interface->dev, interface 239 drivers/watchdog/pcwd_usb.c dev_dbg(&usb_pcwd->interface->dev, interface 599 drivers/watchdog/pcwd_usb.c static int usb_pcwd_probe(struct usb_interface *interface, interface 602 drivers/watchdog/pcwd_usb.c struct usb_device *udev = interface_to_usbdev(interface); interface 620 drivers/watchdog/pcwd_usb.c iface_desc = interface->cur_altsetting; interface 652 drivers/watchdog/pcwd_usb.c usb_pcwd->interface = interface; interface 742 drivers/watchdog/pcwd_usb.c usb_set_intfdata(interface, usb_pcwd); interface 769 drivers/watchdog/pcwd_usb.c static void usb_pcwd_disconnect(struct usb_interface *interface) interface 776 drivers/watchdog/pcwd_usb.c usb_pcwd = usb_get_intfdata(interface); interface 777 drivers/watchdog/pcwd_usb.c usb_set_intfdata(interface, NULL); interface 164 include/linux/greybus/greybus_manifest.h struct greybus_descriptor_interface interface; interface 71 include/linux/igmp.h struct in_device *interface; interface 131 include/linux/phy.h static inline const char *phy_modes(phy_interface_t interface) interface 133 include/linux/phy.h switch (interface) { interface 392 include/linux/phy.h phy_interface_t interface; interface 976 include/linux/phy.h return phy_interface_mode_is_rgmii(phydev->interface); interface 1027 include/linux/phy.h phy_interface_t interface); interface 1030 include/linux/phy.h u32 flags, phy_interface_t interface); interface 1033 include/linux/phy.h phy_interface_t interface); interface 1036 include/linux/phy.h phy_interface_t interface); interface 48 include/linux/phylink.h phy_interface_t interface; interface 93 include/linux/phylink.h phy_interface_t interface); interface 95 include/linux/phylink.h phy_interface_t interface, interface 215 include/linux/phylink.h phy_interface_t interface); interface 231 include/linux/phylink.h phy_interface_t interface, interface 55 include/linux/platform_data/media/omap4iss.h enum iss_interface_type interface; interface 78 include/linux/platform_data/shmob_drm.h enum shmob_drm_interface interface; interface 133 include/linux/stmmac.h int interface; interface 41 include/linux/sxgbe_platform.h int interface; interface 385 include/linux/usb.h struct usb_interface *interface[USB_MAXINTERFACES]; interface 830 include/linux/usb.h extern int usb_alloc_streams(struct usb_interface *interface, interface 835 include/linux/usb.h extern int usb_free_streams(struct usb_interface *interface, interface 863 include/linux/usb.h const struct usb_device_id *usb_match_id(struct usb_interface *interface, interface 865 include/linux/usb.h extern int usb_match_one_id(struct usb_interface *interface, interface 220 include/linux/usb/composite.h unsigned interface, unsigned alt); interface 222 include/linux/usb/composite.h unsigned interface); interface 331 include/linux/usb/composite.h struct usb_function *interface[MAX_CONFIG_INTERFACES]; interface 150 include/linux/usb/serial.h struct usb_interface *interface; interface 391 include/net/dsa.h phy_interface_t interface); interface 394 include/net/dsa.h phy_interface_t interface, interface 339 include/pcmcia/cistpl.h u_char interface; interface 458 include/pcmcia/cistpl.h u_char interface; interface 60 include/uapi/linux/usb/functionfs.h __u8 interface; interface 58 include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 70 include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 171 include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 476 net/compat.c u32 interface; interface 480 net/compat.c __get_user(interface, &gr32->gr_interface) || interface 481 net/compat.c __put_user(interface, &kgr->gr_interface) || interface 497 net/compat.c u32 interface; interface 502 net/compat.c __get_user(interface, &gsr32->gsr_interface) || interface 503 net/compat.c __put_user(interface, &kgsr->gsr_interface) || interface 517 net/compat.c u32 interface, fmode, numsrc; interface 520 net/compat.c __get_user(interface, &gf32->gf_interface) || interface 530 net/compat.c __put_user(interface, &kgf->gf_interface) || interface 556 net/compat.c u32 interface, fmode, numsrc; interface 581 net/compat.c __get_user(interface, &gf32->gf_interface) || interface 584 net/compat.c __put_user(interface, &kgf->gf_interface) || interface 606 net/compat.c __get_user(interface, &kgf->gf_interface) || interface 609 net/compat.c __put_user(interface, &gf32->gf_interface) || interface 177 net/dsa/dsa_priv.h phy_interface_t interface); interface 180 net/dsa/dsa_priv.h phy_interface_t interface, interface 498 net/dsa/port.c phy_interface_t interface) interface 513 net/dsa/port.c ds->ops->phylink_mac_link_down(ds, dp->index, mode, interface); interface 519 net/dsa/port.c phy_interface_t interface, interface 531 net/dsa/port.c ds->ops->phylink_mac_link_up(ds, dp->index, mode, interface, phydev); interface 604 net/dsa/port.c phydev->interface = mode; interface 172 net/ipv4/igmp.c in_dev_put(im->interface); interface 437 net/ipv4/igmp.c struct net_device *dev = pmc->interface->dev; interface 462 net/ipv4/igmp.c struct net_device *dev = pmc->interface->dev; interface 686 net/ipv4/igmp.c in_dev_put(pmc->interface); interface 831 net/ipv4/igmp.c struct in_device *in_dev = im->interface; interface 1181 net/ipv4/igmp.c pmc->interface = im->interface; interface 1230 net/ipv4/igmp.c im->interface = pmc->interface; interface 1239 net/ipv4/igmp.c in_dev_put(pmc->interface); interface 1260 net/ipv4/igmp.c in_dev_put(pmc->interface); interface 1280 net/ipv4/igmp.c struct in_device *in_dev = im->interface; interface 1323 net/ipv4/igmp.c struct in_device *in_dev = im->interface; interface 1442 net/ipv4/igmp.c im->interface = in_dev; interface 1864 net/ipv4/igmp.c ip_rt_multicast_event(pmc->interface); interface 1868 net/ipv4/igmp.c struct in_device *in_dev = pmc->interface; interface 1948 net/ipv4/igmp.c igmp_ifc_event(pmc->interface); interface 1950 net/ipv4/igmp.c igmp_ifc_event(pmc->interface); interface 1984 net/ipv4/igmp.c ip_rt_multicast_event(pmc->interface); interface 2008 net/ipv4/igmp.c int qrv = pmc->interface->mr_qrv; interface 2111 net/ipv4/igmp.c struct net *net = dev_net(pmc->interface->dev); interface 2112 net/ipv4/igmp.c in_dev = pmc->interface; interface 434 scripts/mod/file2alias.c unsigned char baseclass, subclass, interface, interface 454 scripts/mod/file2alias.c interface = class; interface 467 scripts/mod/file2alias.c ADD(alias, "i", interface_mask == 0xFF, interface); interface 519 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface; interface 573 sound/pci/asihpi/hpi6205.c interface = phw->p_interface_buffer; interface 584 sound/pci/asihpi/hpi6205.c if (interface->control_cache.number_of_controls) { interface 588 sound/pci/asihpi/hpi6205.c interface->control_cache.size_in_bytes, interface 596 sound/pci/asihpi/hpi6205.c interface->control_cache.size_in_bytes); interface 599 sound/pci/asihpi/hpi6205.c hpi_alloc_control_cache(interface-> interface 601 sound/pci/asihpi/hpi6205.c interface->control_cache.size_in_bytes, interface 610 sound/pci/asihpi/hpi6205.c interface->control_cache.physical_address32 = interface 735 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 810 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm-> interface 835 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 847 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm-> interface 896 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 907 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm->obj_index]; interface 970 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 980 sound/pci/asihpi/hpi6205.c status = &interface->outstream_host_buffer_status[phm->obj_index]; interface 1021 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 1087 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm-> interface 1112 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 1124 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm-> interface 1180 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 1193 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm->obj_index]; interface 1231 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 1238 sound/pci/asihpi/hpi6205.c status = &interface->instream_host_buffer_status[phm->obj_index]; interface 1467 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = interface 1474 sound/pci/asihpi/hpi6205.c interface->dsp_ack = H620_HIF_UNKNOWN; interface 1993 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 2011 sound/pci/asihpi/hpi6205.c memcpy((void *)&interface->u.b_data[0], interface 2014 sound/pci/asihpi/hpi6205.c interface->transfer_size_in_bytes = this_copy; interface 2017 sound/pci/asihpi/hpi6205.c interface->dsp_ack = H620_HIF_IDLE; interface 2028 sound/pci/asihpi/hpi6205.c operation, interface->dsp_ack); interface 2034 sound/pci/asihpi/hpi6205.c (void *)&interface->u.b_data[0], this_copy); interface 2038 sound/pci/asihpi/hpi6205.c if (interface->dsp_ack != operation) interface 2040 sound/pci/asihpi/hpi6205.c interface->dsp_ack, operation); interface 2053 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 2057 sound/pci/asihpi/hpi6205.c while ((interface->dsp_ack != state) && --t) { interface 2069 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 2072 sound/pci/asihpi/hpi6205.c interface->host_cmd = cmd; interface 2089 sound/pci/asihpi/hpi6205.c struct bus_master_interface *interface = phw->p_interface_buffer; interface 2093 sound/pci/asihpi/hpi6205.c if (phm->size > sizeof(interface->u.message_buffer)) { interface 2095 sound/pci/asihpi/hpi6205.c phr->specific_error = sizeof(interface->u.message_buffer); interface 2099 sound/pci/asihpi/hpi6205.c sizeof(interface->u.message_buffer)); interface 2111 sound/pci/asihpi/hpi6205.c memcpy(&interface->u.message_buffer, phm, phm->size); interface 2120 sound/pci/asihpi/hpi6205.c message_count, interface->dsp_ack); interface 2131 sound/pci/asihpi/hpi6205.c if (interface->u.response_buffer.response.size <= phr->size) interface 2132 sound/pci/asihpi/hpi6205.c memcpy(phr, &interface->u.response_buffer, interface 2133 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size); interface 2137 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size, interface 2139 sound/pci/asihpi/hpi6205.c memcpy(phr, &interface->u.response_buffer, interface 2143 sound/pci/asihpi/hpi6205.c interface->u.response_buffer.response.size; interface 349 sound/usb/bcd2000/bcd2000.c struct usb_interface *interface) interface 362 sound/usb/bcd2000/bcd2000.c static int bcd2000_probe(struct usb_interface *interface, interface 382 sound/usb/bcd2000/bcd2000.c err = snd_card_new(&interface->dev, index[card_index], id[card_index], interface 390 sound/usb/bcd2000/bcd2000.c bcd2k->dev = interface_to_usbdev(interface); interface 393 sound/usb/bcd2000/bcd2000.c bcd2k->intf = interface; interface 395 sound/usb/bcd2000/bcd2000.c snd_card_set_dev(card, &interface->dev); interface 412 sound/usb/bcd2000/bcd2000.c usb_set_intfdata(interface, bcd2k); interface 420 sound/usb/bcd2000/bcd2000.c bcd2000_free_usb_related_resources(bcd2k, interface); interface 426 sound/usb/bcd2000/bcd2000.c static void bcd2000_disconnect(struct usb_interface *interface) interface 428 sound/usb/bcd2000/bcd2000.c struct bcd2000 *bcd2k = usb_get_intfdata(interface); interface 438 sound/usb/bcd2000/bcd2000.c bcd2000_free_usb_related_resources(bcd2k, interface); interface 122 sound/usb/card.c subs->interface = -1; interface 128 sound/usb/card.c static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int interface) interface 133 sound/usb/card.c struct usb_interface *iface = usb_ifnum_to_if(dev, interface); interface 137 sound/usb/card.c ctrlif, interface); interface 150 sound/usb/card.c interface == 0 && interface 153 sound/usb/card.c interface = 2; interface 154 sound/usb/card.c iface = usb_ifnum_to_if(dev, interface); interface 163 sound/usb/card.c ctrlif, interface); interface 176 sound/usb/card.c ctrlif, interface); interface 189 sound/usb/card.c ctrlif, interface, altsd->bInterfaceClass); interface 199 sound/usb/card.c if (! snd_usb_parse_audio_interface(chip, interface)) { interface 200 sound/usb/card.c usb_set_interface(dev, interface, 0); /* reset the current interface */ interface 119 sound/usb/card.h int interface; /* current interface */ interface 720 sound/usb/line6/driver.c int line6_probe(struct usb_interface *interface, interface 727 sound/usb/line6/driver.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 740 sound/usb/line6/driver.c ret = snd_card_new(&interface->dev, interface 751 sound/usb/line6/driver.c line6->ifcdev = &interface->dev; interface 761 sound/usb/line6/driver.c usb_set_intfdata(interface, line6); interface 767 sound/usb/line6/driver.c dev_info(&interface->dev, "Line 6 %s found\n", properties->name); interface 770 sound/usb/line6/driver.c interface_number = interface->cur_altsetting->desc.bInterfaceNumber; interface 776 sound/usb/line6/driver.c dev_err(&interface->dev, "set_interface failed\n"); interface 795 sound/usb/line6/driver.c dev_info(&interface->dev, "Line 6 %s now attached\n", interface 804 sound/usb/line6/driver.c line6_disconnect(interface); interface 812 sound/usb/line6/driver.c void line6_disconnect(struct usb_interface *interface) interface 814 sound/usb/line6/driver.c struct usb_line6 *line6 = usb_get_intfdata(interface); interface 815 sound/usb/line6/driver.c struct usb_device *usbdev = interface_to_usbdev(interface); interface 834 sound/usb/line6/driver.c dev_info(&interface->dev, "Line 6 %s now disconnected\n", interface 838 sound/usb/line6/driver.c usb_set_intfdata(interface, NULL); interface 849 sound/usb/line6/driver.c int line6_suspend(struct usb_interface *interface, pm_message_t message) interface 851 sound/usb/line6/driver.c struct usb_line6 *line6 = usb_get_intfdata(interface); interface 869 sound/usb/line6/driver.c int line6_resume(struct usb_interface *interface) interface 871 sound/usb/line6/driver.c struct usb_line6 *line6 = usb_get_intfdata(interface); interface 197 sound/usb/line6/driver.h int line6_probe(struct usb_interface *interface, interface 204 sound/usb/line6/driver.h void line6_disconnect(struct usb_interface *interface); interface 207 sound/usb/line6/driver.h int line6_suspend(struct usb_interface *interface, pm_message_t message); interface 208 sound/usb/line6/driver.h int line6_resume(struct usb_interface *interface); interface 523 sound/usb/line6/pod.c static int pod_probe(struct usb_interface *interface, interface 526 sound/usb/line6/pod.c return line6_probe(interface, id, "Line6-POD", interface 418 sound/usb/line6/podhd.c static int podhd_probe(struct usb_interface *interface, interface 421 sound/usb/line6/podhd.c return line6_probe(interface, id, "Line6-PODHD", interface 461 sound/usb/line6/toneport.c static int toneport_reset_resume(struct usb_interface *interface) interface 465 sound/usb/line6/toneport.c err = toneport_setup(usb_get_intfdata(interface)); interface 468 sound/usb/line6/toneport.c return line6_resume(interface); interface 558 sound/usb/line6/toneport.c static int toneport_probe(struct usb_interface *interface, interface 561 sound/usb/line6/toneport.c return line6_probe(interface, id, "Line6-TonePort", interface 225 sound/usb/line6/variax.c static int variax_probe(struct usb_interface *interface, interface 228 sound/usb/line6/variax.c return line6_probe(interface, id, "Line6-Variax", interface 908 sound/usb/misc/ua101.c find_format_descriptor(struct usb_interface *interface) interface 914 sound/usb/misc/ua101.c if (interface->num_altsetting != 2) { interface 915 sound/usb/misc/ua101.c dev_err(&interface->dev, "invalid num_altsetting\n"); interface 919 sound/usb/misc/ua101.c alt = &interface->altsetting[0]; interface 921 sound/usb/misc/ua101.c dev_err(&interface->dev, "invalid bNumEndpoints\n"); interface 925 sound/usb/misc/ua101.c alt = &interface->altsetting[1]; interface 927 sound/usb/misc/ua101.c dev_err(&interface->dev, "invalid bNumEndpoints\n"); interface 938 sound/usb/misc/ua101.c dev_err(&interface->dev, "descriptor overflow\n"); interface 946 sound/usb/misc/ua101.c dev_err(&interface->dev, interface 955 sound/usb/misc/ua101.c dev_err(&interface->dev, "sample format descriptor not found\n"); interface 1145 sound/usb/misc/ua101.c struct usb_interface *interface) interface 1164 sound/usb/misc/ua101.c if (intf != interface) interface 1178 sound/usb/misc/ua101.c static int ua101_probe(struct usb_interface *interface, interface 1211 sound/usb/misc/ua101.c if (interface->altsetting->desc.bInterfaceNumber != interface 1224 sound/usb/misc/ua101.c err = snd_card_new(&interface->dev, interface 1233 sound/usb/misc/ua101.c ua->dev = interface_to_usbdev(interface); interface 1246 sound/usb/misc/ua101.c ua->intf[0] = interface; interface 1309 sound/usb/misc/ua101.c usb_set_intfdata(interface, ua); interface 1316 sound/usb/misc/ua101.c free_usb_related_resources(ua, interface); interface 1322 sound/usb/misc/ua101.c static void ua101_disconnect(struct usb_interface *interface) interface 1324 sound/usb/misc/ua101.c struct ua101 *ua = usb_get_intfdata(interface); interface 1348 sound/usb/misc/ua101.c free_usb_related_resources(ua, interface); interface 521 sound/usb/pcm.c if (subs->interface >= 0 && (subs->interface != fmt->iface || subs->need_setup_fmt)) { interface 523 sound/usb/pcm.c err = usb_set_interface(subs->dev, subs->interface, 0); interface 531 sound/usb/pcm.c subs->interface = -1; interface 556 sound/usb/pcm.c subs->interface = fmt->iface; interface 832 sound/usb/pcm.c subs->interface = fmt->iface; interface 1331 sound/usb/pcm.c subs->interface = -1; interface 1363 sound/usb/pcm.c subs->interface >= 0 && interface 1365 sound/usb/pcm.c usb_set_interface(subs->dev, subs->interface, 0); interface 1366 sound/usb/pcm.c subs->interface = -1; interface 129 sound/usb/proc.c snd_iprintf(buffer, " Interface = %d\n", subs->interface); interface 1389 sound/usb/quirks.c if (subs->stream->substream[SNDRV_PCM_STREAM_CAPTURE].interface != -1) interface 58 tools/include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 70 tools/include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 171 tools/include/uapi/linux/usbdevice_fs.h unsigned int interface; interface 303 tools/testing/selftests/networking/timestamping/timestamping.c char *interface; interface 319 tools/testing/selftests/networking/timestamping/timestamping.c interface = argv[1]; interface 353 tools/testing/selftests/networking/timestamping/timestamping.c strncpy(device.ifr_name, interface, sizeof(device.ifr_name)); interface 358 tools/testing/selftests/networking/timestamping/timestamping.c strncpy(hwtstamp.ifr_name, interface, sizeof(hwtstamp.ifr_name)); interface 165 tools/usb/ffs-aio-example/multibuff/host_app/test.c iface = &conf->interface[0].altsetting[0]; interface 165 tools/usb/ffs-aio-example/simple/host_app/test.c iface = &conf->interface[0].altsetting[0];