| /linux/drivers/net/ethernet/intel/fm10k/ | 
| H A D | fm10k_pci.c | 35 	struct fm10k_intfc *interface = hw->back;  in fm10k_read_pci_cfg_word()  local41 	pci_read_config_word(interface->pdev, reg, &value);  in fm10k_read_pci_cfg_word()
 58 		struct fm10k_intfc *interface = hw->back;  in fm10k_read_reg()  local
 59 		struct net_device *netdev = interface->netdev;  in fm10k_read_reg()
 69 static int fm10k_hw_ready(struct fm10k_intfc *interface)  in fm10k_hw_ready()  argument
 71 	struct fm10k_hw *hw = &interface->hw;  in fm10k_hw_ready()
 80  * @interface: fm10k private interface structure
 85 void fm10k_macvlan_schedule(struct fm10k_intfc *interface)  in fm10k_macvlan_schedule()  argument
 90 	if (!test_bit(__FM10K_MACVLAN_DISABLE, interface->state) &&  in fm10k_macvlan_schedule()
 91 	    !test_and_set_bit(__FM10K_MACVLAN_SCHED, interface->state)) {  in fm10k_macvlan_schedule()
 [all …]
 
 | 
| H A D | fm10k_netdev.c | 47  * @interface: board private structure55 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()  local13 	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 …]
 
 | 
| /linux/arch/mips/include/asm/octeon/ | 
| H A D | cvmx-spi.h | 30  * This file contains defines for the SPI interface49 	int (*reset_cb) (int interface, cvmx_spi_mode_t mode);
 52 	int (*calendar_setup_cb) (int interface, cvmx_spi_mode_t mode,
 56 	int (*clock_detect_cb) (int interface, cvmx_spi_mode_t mode,
 60 	int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout);
 63 	int (*calendar_sync_cb) (int interface, cvmx_spi_mode_t mode,
 66     /** Called when interface is up */
 67 	int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode);
 72  * Return true if the supplied interface is configured for SPI
 74  * @interface: Interface to check
 [all …]
 
 | 
| H A D | cvmx-helper-util.h | 38  * Convert a interface mode into a human readable string73  * @interface: Interface to configure
 74  * @num_ports: Number of ports on the interface
 78 extern int __cvmx_helper_setup_gmx(int interface, int num_ports);
 82  * interface.
 84  * @interface: Interface to use
 85  * @port:      Port on the interface
 89 extern int cvmx_helper_get_ipd_port(int interface, int port);
 93  * interface.
 95  * @interface: Interface to use
 [all …]
 
 | 
| H A D | cvmx-helper.h | 97  * Returns the number of ports on the given interface.98  * The interface must be initialized before the port count
 101  * @interface: Which interface to return port count for.
 103  * Returns Port count for interface
 104  *	   -1 for uninitialized interface
 106 extern int cvmx_helper_ports_on_interface(int interface);
 109  * Return the number of interfaces the chip has. Each interface
 112  * one interface.
 119  * Get the operating mode of an interface. Depending on the Octeon
 121  * of the type of packet I/O supported by an interface.
 [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()  argument50 	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-spi.c | 92  * Initialize and start the SPI interface.94  * @interface: The identifier of the packet interface to configure and
 95  *		    use as a SPI interface.
 96  * @mode:      The operating mode for the SPI interface. The interface
 105 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout,  in cvmx_spi_start_interface()  argument
 114 	INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode);  in cvmx_spi_start_interface()
 117 	INVOKE_CB(cvmx_spi_callbacks.calendar_setup_cb, interface, mode,  in cvmx_spi_start_interface()
 121 	INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout);  in cvmx_spi_start_interface()
 124 	INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout);  in cvmx_spi_start_interface()
 127 	INVOKE_CB(cvmx_spi_callbacks.calendar_sync_cb, interface, mode,  in cvmx_spi_start_interface()
 [all …]
 
 | 
| H A D | cvmx-helper.c | 49 /* Port count per interface */53  * Return the number of interfaces the chip has. Each interface
 56  * one interface.
 80  * Return the number of ports on an interface. Depending on the
 82  * specifies that the interface doesn't exist or isn't usable.
 84  * @interface: Interface to get the port count for
 86  * Returns Number of ports on interface. Can be Zero.
 88 int cvmx_helper_ports_on_interface(int interface)  in cvmx_helper_ports_on_interface()  argument
 90 	return interface_port_count[interface];  in cvmx_helper_ports_on_interface()
 96  * Return interface mode for CN68xx.
 [all …]
 
 | 
| H A D | cvmx-helper-sgmii.c | 47  * @interface: Interface to init48  * @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 probe52 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()  argument55 	    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 …]
 
 | 
| H A D | cvmx-helper-util.c | 49  * Convert a interface mode into a human readable string137 	int interface;  in cvmx_helper_setup_red()  local
 144 	for (interface = 0; interface < 2; interface++) {  in cvmx_helper_setup_red()
 145 		for (port = cvmx_helper_get_first_ipd_port(interface);  in cvmx_helper_setup_red()
 146 		     port < cvmx_helper_get_last_ipd_port(interface); port++)  in cvmx_helper_setup_red()
 175  * @interface: Interface to configure
 176  * @num_ports: Number of ports on the interface
 180 int __cvmx_helper_setup_gmx(int interface, int num_ports)  in __cvmx_helper_setup_gmx()  argument
 188 	/* Tell GMX the number of TX ports on this interface */  in __cvmx_helper_setup_gmx()
 189 	gmx_tx_prts.u64 = cvmx_read_csr(CVMX_GMXX_TX_PRTS(interface));  in __cvmx_helper_setup_gmx()
 [all …]
 
 | 
| /linux/drivers/gpu/drm/logicvc/ | 
| H A D | logicvc_interface.c | 34 	struct logicvc_interface *interface =  in logicvc_encoder_enable()  local41 	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/security/selinux/ | 
| H A D | netif.c | 3  * Network interface table.6  * maintain a table associating each interface with a SID.
 43  * sel_netif_hashfn - Hashing function for the interface table
 45  * @ifindex: the network interface
 48  * This is the hashing function for the network interface table, it returns the
 49  * bucket number for the given interface.
 58  * sel_netif_find - Search for an interface record
 60  * @ifindex: the network interface
 63  * Search the network interface table and return the record matching @ifindex.
 82  * sel_netif_insert - Insert a new interface int
 [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) node25   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) node16   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/drivers/scsi/bnx2fc/ | 
| H A D | bnx2fc_fcoe.c | 64 static void __bnx2fc_destroy(struct bnx2fc_interface *interface);69 /* fcoe_syfs control interface handlers */
 75 static void bnx2fc_start_disc(struct bnx2fc_interface *interface);
 83 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
 90 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface);
 97 static void bnx2fc_stop(struct bnx2fc_interface *interface);
 192 	struct bnx2fc_interface *interface = port->priv;  in bnx2fc_cleanup()  local
 193 	struct bnx2fc_hba *hba = interface->hba;  in bnx2fc_cleanup()
 270 	struct bnx2fc_interface	*interface;  in bnx2fc_xmit()  local
 282 	interface = port->priv;  in bnx2fc_xmit()
 [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/Documentation/networking/ | 
| H A D | operstates.rst | 12 interface. Administrative state is the result of "ip link set dev16 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 …]
 
 | 
| /linux/drivers/staging/greybus/Documentation/ | 
| H A D | sysfs-bus-greybus | 21 		A Module M on the bus N, where M is the 1-byte interface22 		ID of the module's primary interface.
 38 		primary interface.
 52 		An Interface I on the bus N and module N-M, where I is the
 53 		1-byte interface ID.
 60 		Current measurement of the interface in microamps (uA)
 68 		greybus Interface.
 76 		greybus Interface.
 83 		The ID of a Greybus interface.
 90 		The type of a Greybus interface; "dummy", "unipro", "greybus",
 [all …]
 
 | 
| /linux/net/batman-adv/ | 
| H A D | hard-interface.h | 20  * enum batadv_hard_if_state - State of a hard interface24 	 * @BATADV_IF_NOT_IN_USE: interface is not used as slave interface of a
 25 	 * batman-adv mesh interface
 30 	 * @BATADV_IF_TO_BE_REMOVED: interface will be removed from mesh
 31 	 * interface
 35 	/** @BATADV_IF_INACTIVE: interface is deactivated */
 38 	/** @BATADV_IF_ACTIVE: interface is used */
 41 	/** @BATADV_IF_TO_BE_ACTIVATED: interface is getting activated */
 49 	/** @BATADV_HARDIF_BCAST_OK: Do broadcast on according hard interface */
 [all...]
 | 
| /linux/tools/testing/selftests/drivers/net/hw/lib/py/ | 
| H A D | linkconfig.py |  |