| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 47 * @interface: board private structure 55 static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_tx_resources() argument 59 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_setup_all_tx_resources() 60 err = fm10k_setup_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources() 64 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_tx_resources() 73 fm10k_free_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources() 114 * @interface: board private structure 122 static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_rx_resources() argument 126 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_setup_all_rx_resources() 127 err = fm10k_setup_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources() [all …]
|
| H A D | fm10k_iov.c | 12 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_error() local 13 struct pci_dev *pdev = interface->pdev; in fm10k_iov_msg_error() 37 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_queue_mac_vlan() local 45 /* we shouldn't be updating rules on a disabled interface */ in fm10k_iov_msg_queue_mac_vlan() 111 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan() 137 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan() 152 s32 fm10k_iov_event(struct fm10k_intfc *interface) in fm10k_iov_event() argument 154 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event() 160 if (!READ_ONCE(interface->iov_data)) in fm10k_iov_event() 165 iov_data = interface->iov_data; in fm10k_iov_event() [all …]
|
| H A D | fm10k_main.c | 14 #define DRV_SUMMARY "Intel(R) Ethernet Switch Host Interface Driver" 180 * Synchronizes page for reuse by the interface 248 * true if the buffer can be reused by the interface. 636 struct fm10k_intfc *interface = netdev_priv(skb->dev); in fm10k_port_is_vxlan() local 638 if (interface->vxlan_port != udp_hdr(skb)->dest) in fm10k_port_is_vxlan() 1114 struct fm10k_intfc *interface = ring->q_vector->interface; in fm10k_get_tx_pending() local 1115 struct fm10k_hw *hw = &interface->hw; in fm10k_get_tx_pending() 1160 * @interface: driver private struct 1162 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) in fm10k_tx_timeout_reset() argument 1165 if (!test_bit(__FM10K_DOWN, interface->state)) { in fm10k_tx_timeout_reset() [all …]
|
| H A D | fm10k_dcbnl.c | 8 * @dev: netdev interface for the device 33 * @dev: netdev interface for the device 74 * @dev: netdev interface for the device 79 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_dcbnl_ieee_getpfc() local 83 pfc->pfc_en = interface->pfc_en; in fm10k_dcbnl_ieee_getpfc() 90 * @dev: netdev interface for the device 95 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_dcbnl_ieee_setpfc() local 97 /* record PFC configuration to interface */ in fm10k_dcbnl_ieee_setpfc() 98 interface->pfc_en = pfc->pfc_en; in fm10k_dcbnl_ieee_setpfc() 102 fm10k_update_rx_drop_en(interface); in fm10k_dcbnl_ieee_setpfc() [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-xaui.c | 45 int __cvmx_helper_xaui_enumerate(int interface) in __cvmx_helper_xaui_enumerate() argument 50 gmx_hg2_control.u64 = cvmx_read_csr(CVMX_GMXX_HG2_CONTROL(interface)); in __cvmx_helper_xaui_enumerate() 58 * Probe a XAUI interface and determine the number of ports 59 * connected to it. The XAUI interface should still be down 62 * @interface: Interface to probe 64 * Returns Number of ports on the interface. Zero to disable. 66 int __cvmx_helper_xaui_probe(int interface) in __cvmx_helper_xaui_probe() argument 73 * interface needs to be enabled before IPD otherwise per port in __cvmx_helper_xaui_probe() 76 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_xaui_probe() 78 cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); in __cvmx_helper_xaui_probe() [all …]
|
| H A D | cvmx-helper-sgmii.c | 47 * @interface: Interface to init 48 * @index: Index of prot on the interface 52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument 60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time() 70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|
| H A D | cvmx-helper-rgmii.c | 48 * @interface: Interface to probe 52 int __cvmx_helper_rgmii_probe(int interface) in __cvmx_helper_rgmii_probe() argument 56 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_rgmii_probe() 62 "SPI interface\n"); in __cvmx_helper_rgmii_probe() 92 * Put an RGMII interface in loopback mode. Internal packets sent 100 int interface = (port >> 4) & 1; in cvmx_helper_rgmii_internal_loopback() local 109 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); in cvmx_helper_rgmii_internal_loopback() 110 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in cvmx_helper_rgmii_internal_loopback() 111 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in cvmx_helper_rgmii_internal_loopback() 112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback() [all …]
|
| H A D | cvmx-helper-spi.c | 52 int __cvmx_helper_spi_enumerate(int interface) in __cvmx_helper_spi_enumerate() argument 55 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_enumerate() 63 * Probe a SPI interface and determine the number of ports 64 * connected to it. The SPI interface should still be down after 67 * @interface: Interface to probe 69 * Returns Number of ports on the interface. Zero to disable. 71 int __cvmx_helper_spi_probe(int interface) in __cvmx_helper_spi_probe() argument 76 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_probe() 88 enable.s.enable |= 0xffff << (interface * 16); in __cvmx_helper_spi_probe() 91 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe() [all …]
|
| /linux/drivers/gpu/drm/logicvc/ |
| H A D | logicvc_interface.c | 34 struct logicvc_interface *interface = in logicvc_encoder_enable() local 41 if (interface->drm_panel) { in logicvc_encoder_enable() 42 drm_panel_prepare(interface->drm_panel); in logicvc_encoder_enable() 43 drm_panel_enable(interface->drm_panel); in logicvc_encoder_enable() 49 struct logicvc_interface *interface = in logicvc_encoder_disable() local 52 if (interface->drm_panel) { in logicvc_encoder_disable() 53 drm_panel_disable(interface->drm_panel); in logicvc_encoder_disable() 54 drm_panel_unprepare(interface->drm_panel); in logicvc_encoder_disable() 69 struct logicvc_interface *interface = in logicvc_connector_get_modes() local 72 if (interface->drm_panel) in logicvc_connector_get_modes() [all …]
|
| /linux/drivers/usb/misc/ |
| H A D | chaoskey.c | 9 * The driver connects to the kernel hardware RNG interface to provide 77 struct usb_interface *interface; member 99 usb_dbg(dev->interface, "free"); in chaoskey_free() 103 usb_put_intf(dev->interface); in chaoskey_free() 108 static int chaoskey_probe(struct usb_interface *interface, in chaoskey_probe() argument 111 struct usb_device *udev = interface_to_usbdev(interface); in chaoskey_probe() 112 struct usb_host_interface *altsetting = interface->cur_altsetting; in chaoskey_probe() 120 usb_dbg(interface, "probe %s-%s", udev->product, udev->serial); in chaoskey_probe() 125 usb_dbg(interface, "no IN endpoint found"); in chaoskey_probe() 134 usb_dbg(interface, "invalid size (%d)", size); in chaoskey_probe() [all …]
|
| H A D | yurex.c | 53 struct usb_interface *interface; member 94 dev_dbg(&dev->interface->dev, "%s\n", __func__); in yurex_delete() 109 usb_put_intf(dev->interface); in yurex_delete() 137 dev_err(&dev->interface->dev, in yurex_interrupt() 149 dev_err(&dev->interface->dev, in yurex_interrupt() 166 dev_dbg(&dev->interface->dev, "%s count: %lld\n", in yurex_interrupt() 173 dev_dbg(&dev->interface->dev, in yurex_interrupt() 177 dev_dbg(&dev->interface->dev, "%s ack: %c\n", in yurex_interrupt() 185 dev_err(&dev->interface->dev, "%s - usb_submit_urb failed: %d\n", in yurex_interrupt() 190 static int yurex_probe(struct usb_interface *interface, const struct usb_device_id *id) in yurex_probe() argument [all …]
|
| /linux/security/selinux/ |
| H A D | netif.c | 3 * Network interface table. 6 * maintain a table associating each interface with a SID. 44 * sel_netif_hashfn - Hashing function for the interface table 46 * @ifindex: the network interface 49 * This is the hashing function for the network interface table, it returns the 50 * bucket number for the given interface. 59 * sel_netif_find - Search for an interface record 61 * @ifindex: the network interface 64 * Search the network interface table and return the record matching @ifindex. 83 * sel_netif_insert - Insert a new interface into the table [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | Kconfig | 63 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface" 74 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" 86 bool "Cr50 SPI Interface" 93 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (I2C - generic)" 99 (I2C interface) specification and connected to an I2C bus master, 105 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)" 117 tristate "TPM Interface Specification 2.0 Interface (I2C - CR50)" 120 This is a driver for the Google cr50 I2C TPM interface which is a 121 custom microcontroller and requires a custom i2c protocol interface 126 tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)" [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ti/ |
| H A D | ti,interface-clock.yaml | 4 $id: http://devicetree.org/schemas/clock/ti/ti,interface-clock.yaml# 7 title: Texas Instruments interface clock. 23 - ti,omap3-interface-clock # basic OMAP3 interface clock 24 - ti,omap3-no-wait-interface-clock # interface clock which has no hardware 26 - ti,omap3-hsotgusb-interface-clock # interface clock with USB specific HW handling 27 - ti,omap3-dss-interface-clock # interface clock with DSS specific HW handling 28 - ti,omap3-ssi-interface-clock # interface clock with SSI specific HW handling 29 - ti,am35xx-interface-clock # interface clock with AM35xx specific HW handling 30 - ti,omap2430-interface-clock # interface clock with OMAP2430 specific HW handling 67 compatible = "ti,omap3-interface-clock";
|
| /linux/Documentation/devicetree/bindings/powerpc/nintendo/ |
| H A D | wii.txt | 23 1.a) The Video Interface (VI) node 25 Represents the interface between the graphics processor and a external 34 1.b) The Processor Interface (PI) node 36 Represents the data and control interface between the main processor 58 Represents the digital signal processor interface, designed to offload 67 1.d) The Serial Interface (SI) node 69 Represents the interface to the four single bit serial interfaces. 70 The SI is a proprietary serial interface used normally to control gamepads. 71 It's NOT a RS232-type interface. 79 1.e) The Audio Interface (AI) node [all …]
|
| H A D | gamecube.txt | 14 1.a) The Video Interface (VI) node 16 Represents the interface between the graphics processor and a external 25 1.b) The Processor Interface (PI) node 27 Represents the data and control interface between the main processor 47 Represents the digital signal processor interface, designed to offload 67 1.d) The Disk Interface (DI) node 69 Represents the interface used to communicate with mass storage devices. 77 1.e) The Audio Interface (AI) node 79 Represents the interface to the external 16-bit stereo digital-to-analog 88 1.f) The Serial Interface (SI) node [all …]
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 12 # of them are bonded to serve as the netconsole's transmit interface. The 14 # network namespace, which acts as the receive interface, where socat monitors 66 echo "Failed to create bond TX interface. Is CONFIG_BONDING set?" >&2 74 # create_netdevsim() got the interface up, but it needs to be down 106 # and the other two will be bond to the RX interface (on the other namespace) 192 # BOND_TX1_SLAVE_IF is not attached to a bond interface anymore 196 # this should work, since the interface is not enslaved 209 # destination interface 227 # netconsole got disabled while the interface was down 239 # sub-interface need to be down before attaching to bonding [all …]
|
| /linux/drivers/staging/octeon/ |
| H A D | ethernet-spi.c | 23 pr_err("SPI%d: SRX Spi4 interface down\n", index); in cvm_oct_spxx_int_pr() 55 pr_err("SPI%d: STX Interface encountered a fatal error\n", in cvm_oct_stxx_int_pr() 122 static void cvm_oct_spi_enable_error_reporting(int interface) in cvm_oct_spi_enable_error_reporting() argument 127 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting() 138 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting() 140 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting() 149 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting() 156 int interface; in cvm_oct_spi_poll() local 158 for (interface = 0; interface < 2; interface++) { in cvm_oct_spi_poll() 159 if ((priv->port == interface * 16) && need_retrain[interface]) { in cvm_oct_spi_poll() [all …]
|
| /linux/net/batman-adv/ |
| H A D | hard-interface.c | 7 #include "hard-interface.h" 42 #include "mesh-interface.h" 57 * batadv_hardif_release() - release hard interface from lists and queue for 59 * @ref: kref pointer of the hard interface 73 * batadv_hardif_get_by_netdev() - Get hard interface object of a net_device 153 * If the user creates any virtual device on top of a batman-adv interface, it 154 * is important to prevent this new interface from being used to create a new 157 * device passed as argument looking for a batman-adv mesh interface. 159 * Return: true if the device is descendant of a batman-adv mesh interface (or 160 * if it is a batman-adv interface itself), false otherwise [all …]
|
| /linux/Documentation/networking/ |
| H A D | operstates.rst | 12 interface. Administrative state is the result of "ip link set dev 16 However, an interface is not usable just because the admin enabled it 20 shows the ability of an interface to transmit this user data. 34 to be notified of updates while the interface is admin up. This is 37 These values contain interface state: 40 Interface is admin up 43 Interface is in RFC2863 operational state UP or UNKNOWN. This is for 45 flag to determine whether they should use the interface. 56 contains RFC2863 state of the interface in numeric representation: 59 Interface is in unknown state, neither driver nor userspace has set [all …]
|
| H A D | net_failover.rst | 16 original paravirtual interface is registered as 'standby' slave netdev and 19 'pci' device. The user accesses the network interface via 'failover' netdev. 35 feature on the virtio-net interface and assign the same MAC address to both 41 <interface type='network'> 50 </interface> 51 <interface type='hostdev' managed='yes'> 57 </interface> 60 interface and this acts as the 'persistent' device indicating that this 61 interface will always be plugged in. This is specified by the 'teaming' tag with 67 The second device definition is for the VF passthrough interface. Here the [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/lib/py/ |
| H A D | linkconfig.py | |
| /linux/drivers/usb/typec/ucsi/ |
| H A D | Kconfig | 4 tristate "USB Type-C Connector System Software Interface driver" 9 USB Type-C Connector System Software Interface (UCSI) is a 10 specification for an interface that allows the operating system to 17 UCSI specification does not define the interface method, so depending 20 for every supported interface method. 31 tristate "UCSI Interface Driver for Cypress CCGx" 35 Cypress CCGx Type-C controller over I2C interface. 41 tristate "UCSI ACPI Interface Driver" 45 interface as ACPI device. On new Intel Atom based platforms starting 53 tristate "UCSI Interface Driver for STM32G0" [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-net | 36 interface (Ethernet, FDDI, ATM, IEEE 802.15.4...). See 44 Hardware address currently assigned to this interface. 75 Hardware broadcast address for this interface. Format is a 84 Indicates the current physical link state of the interface. 94 operating correctly and designating another fallback interface. 129 Indicates whether the interface is in dormant state. Possible 131 0: interface is not dormant 132 1: interface is dormant 144 Indicates whether the interface is under test. Possible 148 0 interface is not being tested [all …]
|
| /linux/include/linux/ |
| H A D | phylink.h | 109 * @interface: link &typedef phy_interface_t mode 116 * interface mode (@interface) are different. 123 phy_interface_t interface; member 154 * @lpi_interfaces: bitmap describing which PHY interface modes can support 191 * @mac_get_caps: Get MAC capabilities for interface mode. 192 * @mac_select_pcs: Select a PCS for the interface mode. 193 * @mac_prepare: prepare for a major reconfiguration of the interface. 195 * @mac_finish: finish a major reconfiguration of the interface. 206 phy_interface_t interface); 208 phy_interface_t interface); [all …]
|