| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ | 
| D | fm10k_pci.c | 36 	struct fm10k_intfc *interface = hw->back;  in fm10k_read_pci_cfg_word()  local 42 	pci_read_config_word(interface->pdev, reg, &value);  in fm10k_read_pci_cfg_word() 59 		struct fm10k_intfc *interface = hw->back;  in fm10k_read_reg()  local 60 		struct net_device *netdev = interface->netdev;  in fm10k_read_reg() 70 static int fm10k_hw_ready(struct fm10k_intfc *interface)  in fm10k_hw_ready()  argument 72 	struct fm10k_hw *hw = &interface->hw;  in fm10k_hw_ready() 81  * @interface: fm10k private interface structure 86 void fm10k_macvlan_schedule(struct fm10k_intfc *interface)  in fm10k_macvlan_schedule()  argument 91 	if (!test_bit(__FM10K_MACVLAN_DISABLE, interface->state) &&  in fm10k_macvlan_schedule() 92 	    !test_and_set_bit(__FM10K_MACVLAN_SCHED, interface->state)) {  in fm10k_macvlan_schedule() [all …] 
 | 
| 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 …] 
 | 
| D | fm10k_ethtool.c | 47 /* General interface statistics */ 158 	struct fm10k_intfc *interface = netdev_priv(dev);  in fm10k_get_stat_strings()  local 167 	if (interface->hw.mac.type != fm10k_mac_vf)  in fm10k_get_stat_strings() 170 	for (i = 0; i < interface->hw.mac.max_queues; i++) {  in fm10k_get_stat_strings() 199 	struct fm10k_intfc *interface = netdev_priv(dev);  in fm10k_get_sset_count()  local 200 	struct fm10k_hw *hw = &interface->hw;  in fm10k_get_sset_count() 264 	struct fm10k_intfc *interface = netdev_priv(netdev);  in fm10k_get_ethtool_stats()  local 268 	fm10k_update_stats(interface);  in fm10k_get_ethtool_stats() 272 	fm10k_add_ethtool_stats(&data, interface, fm10k_gstrings_global_stats);  in fm10k_get_ethtool_stats() 274 	fm10k_add_ethtool_stats(&data, &interface->hw.mbx,  in fm10k_get_ethtool_stats() [all …] 
 | 
| D | fm10k_main.c | 15 #define DRV_SUMMARY	"Intel(R) Ethernet Switch Host Interface Driver" 176  * Synchronizes page for reuse by the interface 249  * true if the buffer can be reused by the interface. 640 	struct fm10k_intfc *interface = netdev_priv(skb->dev);  in fm10k_port_is_vxlan()  local 644 	vxlan_port = list_first_entry_or_null(&interface->vxlan_port,  in fm10k_port_is_vxlan() 1125 	struct fm10k_intfc *interface = ring->q_vector->interface;  in fm10k_get_tx_pending()  local 1126 	struct fm10k_hw *hw = &interface->hw;  in fm10k_get_tx_pending() 1171  * @interface: driver private struct 1173 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface)  in fm10k_tx_timeout_reset()  argument 1176 	if (!test_bit(__FM10K_DOWN, interface->state)) {  in fm10k_tx_timeout_reset() [all …] 
 | 
| 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 …] 
 | 
| /Linux-v5.4/arch/mips/include/asm/octeon/ | 
| D | cvmx-spi.h | 30  * This file contains defines for the SPI interface 49 	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 …] 
 | 
| D | cvmx-helper-util.h | 38  * Convert a interface mode into a human readable string 73  * @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 …] 
 | 
| /Linux-v5.4/arch/mips/cavium-octeon/executive/ | 
| 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 …] 
 | 
| 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 …] 
 | 
| D | cvmx-helper.c | 49 /* Port count per interface */ 53  * Return the number of interfaces the chip has. Each interface 56  * one interface. 74  * Return the number of ports on an interface. Depending on the 76  * specifies that the interface doesn't exist or isn't usable. 78  * @interface: Interface to get the port count for 80  * Returns Number of ports on interface. Can be Zero. 82 int cvmx_helper_ports_on_interface(int interface)  in cvmx_helper_ports_on_interface()  argument 84 	return interface_port_count[interface];  in cvmx_helper_ports_on_interface() 90  * Return interface mode for CN68xx. [all …] 
 | 
| 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 …] 
 | 
| 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 …] 
 | 
| 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 …] 
 | 
| D | cvmx-helper-util.c | 49  * Convert a interface mode into a human readable string 137 	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-v5.4/drivers/mmc/host/ | 
| D | Kconfig | 18 	tristate "ARM AMBA Multimedia Card Interface support" 22 	  Interface (PL180 and PL181) support.  If you have an ARM(R) 49 	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support" 52 	  This selects the Intel(R) PXA(R) Multimedia card Interface. 59 	tristate "Secure Digital Host Controller Interface support" 62 	  This selects the generic Secure Digital Host Controller Interface. 66 	  If you have a controller with this interface, say Y or M here. You 67 	  also need to enable an appropriate bus interface. 99 	  This selects the PCI Secure Digital Host Controller Interface. 102 	  If you have a controller with this interface, say Y or M here. [all …] 
 | 
| /Linux-v5.4/drivers/usb/misc/ | 
| D | chaoskey.c | 9  * The driver connects to the kernel hardware RNG interface to provide 75 	struct usb_interface *interface;  member 97 		usb_dbg(dev->interface, "free");  in chaoskey_free() 101 		usb_put_intf(dev->interface);  in chaoskey_free() 106 static int chaoskey_probe(struct usb_interface *interface,  in chaoskey_probe()  argument 109 	struct usb_device *udev = interface_to_usbdev(interface);  in chaoskey_probe() 110 	struct usb_host_interface *altsetting = interface->cur_altsetting;  in chaoskey_probe() 118 	usb_dbg(interface, "probe %s-%s", udev->product, udev->serial);  in chaoskey_probe() 123 		usb_dbg(interface, "no IN endpoint found");  in chaoskey_probe() 132 		usb_dbg(interface, "invalid size (%d)", size);  in chaoskey_probe() [all …] 
 | 
| /Linux-v5.4/security/selinux/ | 
| 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-v5.4/Documentation/devicetree/bindings/clock/ti/ | 
| D | interface.txt | 1 Binding for Texas Instruments interface clock. 16   "ti,omap3-interface-clock" - basic OMAP3 interface clock 17   "ti,omap3-no-wait-interface-clock" - interface clock which has no hardware 19   "ti,omap3-hsotgusb-interface-clock" - interface clock with USB specific HW 21   "ti,omap3-dss-interface-clock" - interface clock with DSS specific HW handling 22   "ti,omap3-ssi-interface-clock" - interface clock with SSI specific HW handling 23   "ti,am35xx-interface-clock" - interface clock with AM35xx specific HW handling 24   "ti,omap2430-interface-clock" - interface clock with OMAP2430 specific HW 36 		compatible = "ti,omap3-interface-clock"; 44 		compatible = "ti,omap3-no-wait-interface-clock"; [all …] 
 | 
| /Linux-v5.4/net/batman-adv/ | 
| D | hard-interface.h | 22  * enum batadv_hard_if_state - State of a hard interface 26 	 * @BATADV_IF_NOT_IN_USE: interface is not used as slave interface of a 27 	 * batman-adv soft interface 32 	 * @BATADV_IF_TO_BE_REMOVED: interface will be removed from soft 33 	 * interface 37 	/** @BATADV_IF_INACTIVE: interface is deactivated */ 40 	/** @BATADV_IF_ACTIVE: interface is used */ 43 	/** @BATADV_IF_TO_BE_ACTIVATED: interface is getting activated */ 47 	 * @BATADV_IF_I_WANT_YOU: interface is queued up (using sysfs) for being 48 	 * added as slave interface of a batman-adv soft interface [all …] 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/powerpc/nintendo/ | 
| 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 …] 
 | 
| 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-v5.4/Documentation/networking/ | 
| D | operstates.txt | 5 interface. Administrative state is the result of "ip link set dev 9 However, an interface is not usable just because the admin enabled it 13 shows the ability of an interface to transmit this user data. 26 to be notified of updates while the interface is admin up. This is 29 These values contain interface state: 32  Interface is admin up 34  Interface is in RFC2863 operational state UP or UNKNOWN. This is for 36  flag to determine whether they should use the interface. 44 contains RFC2863 state of the interface in numeric representation: 47  Interface is in unknown state, neither driver nor userspace has set [all …] 
 | 
| /Linux-v5.4/drivers/staging/octeon/ | 
| 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-v5.4/drivers/scsi/bnx2fc/ | 
| D | bnx2fc_fcoe.c | 62 static void __bnx2fc_destroy(struct bnx2fc_interface *interface); 67 /* fcoe_syfs control interface handlers */ 73 static void bnx2fc_start_disc(struct bnx2fc_interface *interface); 81 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface, 88 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface); 95 static void bnx2fc_stop(struct bnx2fc_interface *interface); 190 	struct bnx2fc_interface *interface = port->priv;  in bnx2fc_cleanup()  local 191 	struct bnx2fc_hba *hba = interface->hba;  in bnx2fc_cleanup() 268 	struct bnx2fc_interface	*interface;  in bnx2fc_xmit()  local 281 	interface = port->priv;  in bnx2fc_xmit() [all …] 
 | 
| /Linux-v5.4/drivers/char/tpm/ | 
| D | Kconfig | 48 	tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface" 59 	tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" 71 	tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)" 80 	tristate "TPM Interface Specification 1.2 Interface (I2C - Infineon)" 91 	tristate "TPM Interface Specification 1.2 Interface (I2C - Nuvoton)" 94 	  If you have a TPM security chip with an I2C interface from 101 	tristate "National Semiconductor TPM Interface" 110 	tristate "Atmel TPM Interface" 118 	tristate "Infineon Technologies TPM Interface" 130 	tristate "IBM VTPM Interface" [all …] 
 |