Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 200 of 1534) sorted by relevance

12345678

/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-helper-xaui.c44 void __cvmx_interrupt_gmxx_enable(int interface);
48 int __cvmx_helper_xaui_enumerate(int interface) in __cvmx_helper_xaui_enumerate() argument
53 gmx_hg2_control.u64 = cvmx_read_csr(CVMX_GMXX_HG2_CONTROL(interface)); in __cvmx_helper_xaui_enumerate()
69 int __cvmx_helper_xaui_probe(int interface) in __cvmx_helper_xaui_probe() argument
79 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_xaui_probe()
81 cvmx_write_csr(CVMX_GMXX_INF_MODE(interface), mode.u64); in __cvmx_helper_xaui_probe()
83 __cvmx_helper_setup_gmx(interface, 1); in __cvmx_helper_xaui_probe()
101 pko_mem_port_ptrs.s.eid = interface * 4; in __cvmx_helper_xaui_probe()
102 pko_mem_port_ptrs.s.pid = interface * 16 + i; in __cvmx_helper_xaui_probe()
105 return __cvmx_helper_xaui_enumerate(interface); in __cvmx_helper_xaui_probe()
[all …]
Dcvmx-helper-rgmii.c47 void __cvmx_interrupt_gmxx_enable(int interface);
57 int __cvmx_helper_rgmii_probe(int interface) in __cvmx_helper_rgmii_probe() argument
61 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_helper_rgmii_probe()
105 int interface = (port >> 4) & 1; in cvmx_helper_rgmii_internal_loopback() local
114 cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); in cvmx_helper_rgmii_internal_loopback()
115 cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); in cvmx_helper_rgmii_internal_loopback()
116 cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); in cvmx_helper_rgmii_internal_loopback()
117 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvmx_helper_rgmii_internal_loopback()
118 tmp = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); in cvmx_helper_rgmii_internal_loopback()
119 cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); in cvmx_helper_rgmii_internal_loopback()
[all …]
Dcvmx-helper-sgmii.c44 void __cvmx_interrupt_gmxx_enable(int interface);
56 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument
64 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
66 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time()
74 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
76 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
86 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
102 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
107 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time()
112 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time()
[all …]
Dcvmx-spi.c105 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()
131 INVOKE_CB(cvmx_spi_callbacks.interface_up_cb, interface, mode); in cvmx_spi_start_interface()
150 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_restart_interface() argument
157 cvmx_dprintf("SPI%d: Restart %s\n", interface, modes[mode]); in cvmx_spi_restart_interface()
160 INVOKE_CB(cvmx_spi_callbacks.reset_cb, interface, mode); in cvmx_spi_restart_interface()
[all …]
Dcvmx-helper.c102 int cvmx_helper_ports_on_interface(int interface) in cvmx_helper_ports_on_interface() argument
104 return interface_port_count[interface]; in cvmx_helper_ports_on_interface()
112 static cvmx_helper_interface_mode_t __cvmx_get_mode_cn68xx(int interface) in __cvmx_get_mode_cn68xx() argument
115 switch (interface) { in __cvmx_get_mode_cn68xx()
131 qlm_cfg.u64 = cvmx_read_csr(CVMX_MIO_QLMX_CFG(interface)); in __cvmx_get_mode_cn68xx()
164 static cvmx_helper_interface_mode_t __cvmx_get_mode_octeon2(int interface) in __cvmx_get_mode_octeon2() argument
169 return __cvmx_get_mode_cn68xx(interface); in __cvmx_get_mode_octeon2()
171 if (interface == 2) in __cvmx_get_mode_octeon2()
174 if (interface == 3) in __cvmx_get_mode_octeon2()
179 (interface == 4 || interface == 5)) || in __cvmx_get_mode_octeon2()
[all …]
Dcvmx-helper-spi.c28 void __cvmx_interrupt_gmxx_enable(int interface);
54 int __cvmx_helper_spi_enumerate(int interface) in __cvmx_helper_spi_enumerate() argument
57 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_enumerate()
73 int __cvmx_helper_spi_probe(int interface) in __cvmx_helper_spi_probe() argument
78 cvmx_spi4000_is_present(interface)) { in __cvmx_helper_spi_probe()
90 enable.s.enable |= 0xffff << (interface * 16); in __cvmx_helper_spi_probe()
93 __cvmx_helper_setup_gmx(interface, num_ports); in __cvmx_helper_spi_probe()
106 int __cvmx_helper_spi_enable(int interface) in __cvmx_helper_spi_enable() argument
113 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_spi_enable()
115 for (ipd_port = interface * 16; ipd_port < interface * 16 + num_ports; in __cvmx_helper_spi_enable()
[all …]
Dcvmx-helper-util.c223 int interface; in cvmx_helper_setup_red() local
230 for (interface = 0; interface < 2; interface++) { in cvmx_helper_setup_red()
231 for (port = cvmx_helper_get_first_ipd_port(interface); in cvmx_helper_setup_red()
232 port < cvmx_helper_get_last_ipd_port(interface); port++) in cvmx_helper_setup_red()
266 int __cvmx_helper_setup_gmx(int interface, int num_ports) in __cvmx_helper_setup_gmx() argument
275 gmx_tx_prts.u64 = cvmx_read_csr(CVMX_GMXX_TX_PRTS(interface)); in __cvmx_helper_setup_gmx()
277 cvmx_write_csr(CVMX_GMXX_TX_PRTS(interface), gmx_tx_prts.u64); in __cvmx_helper_setup_gmx()
281 if (cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx()
283 || cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx()
285 || cvmx_helper_interface_get_mode(interface) == in __cvmx_helper_setup_gmx()
[all …]
Dcvmx-helper-board.c412 int interface = cvmx_helper_get_interface_num(ipd_port); in __cvmx_helper_board_link_get() local
415 cvmx_read_csr(CVMX_GMXX_RXX_RX_INBND(index, interface)); in __cvmx_helper_board_link_get()
641 int __cvmx_helper_board_interface_probe(int interface, int supported_ports) in __cvmx_helper_board_interface_probe() argument
645 if (interface == 0) in __cvmx_helper_board_interface_probe()
649 if (interface == 0) in __cvmx_helper_board_interface_probe()
653 if (interface == 0) in __cvmx_helper_board_interface_probe()
659 if (interface == 1) in __cvmx_helper_board_interface_probe()
676 int __cvmx_helper_board_hardware_enable(int interface) in __cvmx_helper_board_hardware_enable() argument
679 if (interface == 0) { in __cvmx_helper_board_hardware_enable()
681 cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(1, interface), 0); in __cvmx_helper_board_hardware_enable()
[all …]
Dcvmx-helper-npi.c49 int __cvmx_helper_npi_probe(int interface) in __cvmx_helper_npi_probe() argument
87 int __cvmx_helper_npi_enable(int interface) in __cvmx_helper_npi_enable() argument
96 int num_ports = cvmx_helper_ports_on_interface(interface); in __cvmx_helper_npi_enable()
101 cvmx_helper_get_ipd_port(interface, port); in __cvmx_helper_npi_enable()
Dcvmx-interrupt-rsl.c76 void __cvmx_interrupt_gmxx_enable(int interface) in __cvmx_interrupt_gmxx_enable() argument
83 mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in __cvmx_interrupt_gmxx_enable()
137 cvmx_write_csr(CVMX_GMXX_TX_INT_EN(interface), gmx_tx_int_en.u64); in __cvmx_interrupt_gmxx_enable()
139 __cvmx_interrupt_gmxx_rxx_int_en_enable(index, interface); in __cvmx_interrupt_gmxx_enable()
Dcvmx-helper-loop.c48 int __cvmx_helper_loop_probe(int interface) in __cvmx_helper_loop_probe() argument
58 int ipd_port = cvmx_helper_get_ipd_port(interface, port); in __cvmx_helper_loop_probe()
81 int __cvmx_helper_loop_enable(int interface) in __cvmx_helper_loop_enable() argument
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c50 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() local
56 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word()
73 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() local
74 struct net_device *netdev = interface->netdev; in fm10k_read_reg()
84 static int fm10k_hw_ready(struct fm10k_intfc *interface) in fm10k_hw_ready() argument
86 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready()
93 void fm10k_service_event_schedule(struct fm10k_intfc *interface) in fm10k_service_event_schedule() argument
95 if (!test_bit(__FM10K_SERVICE_DISABLE, &interface->state) && in fm10k_service_event_schedule()
96 !test_and_set_bit(__FM10K_SERVICE_SCHED, &interface->state)) in fm10k_service_event_schedule()
97 queue_work(fm10k_workqueue, &interface->service_task); in fm10k_service_event_schedule()
[all …]
Dfm10k_ptp.c28 void fm10k_systime_to_hwtstamp(struct fm10k_intfc *interface, in fm10k_systime_to_hwtstamp() argument
34 read_lock_irqsave(&interface->systime_lock, flags); in fm10k_systime_to_hwtstamp()
35 systime += interface->ptp_adjust; in fm10k_systime_to_hwtstamp()
36 read_unlock_irqrestore(&interface->systime_lock, flags); in fm10k_systime_to_hwtstamp()
41 static struct sk_buff *fm10k_ts_tx_skb(struct fm10k_intfc *interface, in fm10k_ts_tx_skb() argument
44 struct sk_buff_head *list = &interface->ts_tx_skb_queue; in fm10k_ts_tx_skb()
55 void fm10k_ts_tx_enqueue(struct fm10k_intfc *interface, struct sk_buff *skb) in fm10k_ts_tx_enqueue() argument
57 struct sk_buff_head *list = &interface->ts_tx_skb_queue; in fm10k_ts_tx_enqueue()
72 skb = fm10k_ts_tx_skb(interface, FM10K_CB(clone)->fi.w.dglort); in fm10k_ts_tx_enqueue()
85 void fm10k_ts_tx_hwtstamp(struct fm10k_intfc *interface, __le16 dglort, in fm10k_ts_tx_hwtstamp() argument
[all …]
Dfm10k_netdev.c73 static int fm10k_setup_all_tx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_tx_resources() argument
77 for (i = 0; i < interface->num_tx_queues; i++) { in fm10k_setup_all_tx_resources()
78 err = fm10k_setup_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources()
82 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_tx_resources()
91 fm10k_free_tx_resources(interface->tx_ring[i]); in fm10k_setup_all_tx_resources()
140 static int fm10k_setup_all_rx_resources(struct fm10k_intfc *interface) in fm10k_setup_all_rx_resources() argument
144 for (i = 0; i < interface->num_rx_queues; i++) { in fm10k_setup_all_rx_resources()
145 err = fm10k_setup_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources()
149 netif_err(interface, probe, interface->netdev, in fm10k_setup_all_rx_resources()
158 fm10k_free_rx_resources(interface->rx_ring[i]); in fm10k_setup_all_rx_resources()
[all …]
Dfm10k_ethtool.c125 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_strings() local
146 if (interface->hw.mac.type != fm10k_mac_vf) in fm10k_get_strings()
153 for (i = 0; i < interface->hw.mac.max_queues; i++) { in fm10k_get_strings()
169 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_get_sset_count() local
170 struct fm10k_hw *hw = &interface->hw; in fm10k_get_sset_count()
193 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_get_ethtool_stats() local
198 fm10k_update_stats(interface); in fm10k_get_ethtool_stats()
207 p = (char *)interface + in fm10k_get_ethtool_stats()
213 if (interface->hw.mac.type != fm10k_mac_vf) in fm10k_get_ethtool_stats()
215 p = (char *)interface + in fm10k_get_ethtool_stats()
[all …]
Dfm10k_main.c415 struct fm10k_intfc *interface = rx_ring->q_vector->interface; in fm10k_rx_hwtstamp() local
419 if (unlikely(interface->flags & FM10K_FLAG_RX_TS_ENABLED)) in fm10k_rx_hwtstamp()
420 fm10k_systime_to_hwtstamp(interface, skb_hwtstamps(skb), in fm10k_rx_hwtstamp()
680 struct fm10k_intfc *interface = netdev_priv(skb->dev); in fm10k_port_is_vxlan() local
684 vxlan_port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_port_is_vxlan()
1202 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface) in fm10k_tx_timeout_reset() argument
1205 if (!test_bit(__FM10K_DOWN, &interface->state)) { in fm10k_tx_timeout_reset()
1206 interface->tx_timeout_count++; in fm10k_tx_timeout_reset()
1207 interface->flags |= FM10K_FLAG_RESET_REQUESTED; in fm10k_tx_timeout_reset()
1208 fm10k_service_event_schedule(interface); in fm10k_tx_timeout_reset()
[all …]
Dfm10k_iov.c29 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_error() local
30 struct pci_dev *pdev = interface->pdev; in fm10k_iov_msg_error()
46 s32 fm10k_iov_event(struct fm10k_intfc *interface) in fm10k_iov_event() argument
48 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event()
54 if (!ACCESS_ONCE(interface->iov_data)) in fm10k_iov_event()
59 iov_data = interface->iov_data; in fm10k_iov_event()
95 s32 fm10k_iov_mbx(struct fm10k_intfc *interface) in fm10k_iov_mbx() argument
97 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_mbx()
102 if (!ACCESS_ONCE(interface->iov_data)) in fm10k_iov_mbx()
107 iov_data = interface->iov_data; in fm10k_iov_mbx()
[all …]
Dfm10k.h193 struct fm10k_intfc *interface; member
355 static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) in fm10k_mbx_lock() argument
360 while (test_and_set_bit(__FM10K_MBX_LOCK, &interface->state)) in fm10k_mbx_lock()
364 static inline void fm10k_mbx_unlock(struct fm10k_intfc *interface) in fm10k_mbx_unlock() argument
368 clear_bit(__FM10K_MBX_LOCK, &interface->state); in fm10k_mbx_unlock()
371 static inline int fm10k_mbx_trylock(struct fm10k_intfc *interface) in fm10k_mbx_trylock() argument
373 return !test_and_set_bit(__FM10K_MBX_LOCK, &interface->state); in fm10k_mbx_trylock()
442 int fm10k_init_queueing_scheme(struct fm10k_intfc *interface);
443 void fm10k_clear_queueing_scheme(struct fm10k_intfc *interface);
447 void fm10k_tx_timeout_reset(struct fm10k_intfc *interface);
[all …]
Dfm10k_debugfs.c170 struct fm10k_intfc *interface = q_vector->interface; in fm10k_dbg_q_vector_init() local
174 if (!interface->dbg_intfc) in fm10k_dbg_q_vector_init()
180 q_vector->dbg_q_vector = debugfs_create_dir(name, interface->dbg_intfc); in fm10k_dbg_q_vector_init()
213 struct fm10k_intfc *interface = q_vector->interface; in fm10k_dbg_q_vector_exit() local
215 if (interface->dbg_intfc) in fm10k_dbg_q_vector_exit()
225 void fm10k_dbg_intfc_init(struct fm10k_intfc *interface) in fm10k_dbg_intfc_init() argument
227 const char *name = pci_name(interface->pdev); in fm10k_dbg_intfc_init()
230 interface->dbg_intfc = debugfs_create_dir(name, dbg_root); in fm10k_dbg_intfc_init()
237 void fm10k_dbg_intfc_exit(struct fm10k_intfc *interface) in fm10k_dbg_intfc_exit() argument
240 debugfs_remove_recursive(interface->dbg_intfc); in fm10k_dbg_intfc_exit()
[all …]
Dfm10k_dcbnl.c97 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_dcbnl_ieee_getpfc() local
101 pfc->pfc_en = interface->pfc_en; in fm10k_dcbnl_ieee_getpfc()
113 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_dcbnl_ieee_setpfc() local
116 interface->pfc_en = pfc->pfc_en; in fm10k_dcbnl_ieee_setpfc()
120 fm10k_update_rx_drop_en(interface); in fm10k_dcbnl_ieee_setpfc()
168 struct fm10k_intfc *interface = netdev_priv(dev); in fm10k_dcbnl_set_ops() local
169 struct fm10k_hw *hw = &interface->hw; in fm10k_dcbnl_set_ops()
/linux-4.1.27/arch/blackfin/mach-bf609/
DKconfig38 The slave interface id of each slot should be set according following table.
55 int "Slot 0 slave interface id"
60 int "Slot 1 slave interface id"
65 int "Slot 2 slave interface id"
70 int "Slot 3 slave interface id"
75 int "Slot 4 slave interface id"
80 int "Slot 5 slave interface id"
85 int "Slot 6 slave interface id"
90 int "Slot 7 slave interface id"
95 int "Slot 8 slave interface id"
[all …]
/linux-4.1.27/drivers/usb/misc/
Dchaoskey.c78 struct usb_interface *interface; member
96 usb_dbg(dev->interface, "free"); in chaoskey_free()
102 static int chaoskey_probe(struct usb_interface *interface, in chaoskey_probe() argument
105 struct usb_device *udev = interface_to_usbdev(interface); in chaoskey_probe()
106 struct usb_host_interface *altsetting = interface->cur_altsetting; in chaoskey_probe()
113 usb_dbg(interface, "probe %s-%s", udev->product, udev->serial); in chaoskey_probe()
126 usb_dbg(interface, "no IN endpoint found"); in chaoskey_probe()
130 usb_dbg(interface, "invalid size (%d)", size); in chaoskey_probe()
135 usb_dbg(interface, "size reduced from %d to %d\n", in chaoskey_probe()
172 dev->interface = interface; in chaoskey_probe()
[all …]
Dyurex.c57 struct usb_interface *interface; member
97 dev_dbg(&dev->interface->dev, "%s\n", __func__); in yurex_delete()
140 dev_err(&dev->interface->dev, in yurex_interrupt()
150 dev_err(&dev->interface->dev, in yurex_interrupt()
167 dev_dbg(&dev->interface->dev, "%s count: %lld\n", in yurex_interrupt()
174 dev_dbg(&dev->interface->dev, in yurex_interrupt()
178 dev_dbg(&dev->interface->dev, "%s ack: %c\n", in yurex_interrupt()
187 dev_err(&dev->interface->dev, "%s - usb_submit_urb failed: %d\n", in yurex_interrupt()
192 static int yurex_probe(struct usb_interface *interface, const struct usb_device_id *id) in yurex_probe() argument
204 dev_err(&interface->dev, "Out of memory\n"); in yurex_probe()
[all …]
Dusblcd.c43 struct usb_interface *interface; /* the interface for member
80 struct usb_interface *interface; in lcd_open() local
86 interface = usb_find_interface(&lcd_driver, subminor); in lcd_open()
87 if (!interface) { in lcd_open()
95 dev = usb_get_intfdata(interface); in lcd_open()
107 r = usb_autopm_get_interface(interface); in lcd_open()
130 usb_autopm_put_interface(dev->interface); in lcd_release()
211 dev_dbg(&dev->interface->dev, in lcd_write_bulk_callback()
312 static int lcd_probe(struct usb_interface *interface, in lcd_probe() argument
325 dev_err(&interface->dev, "Out of memory\n"); in lcd_probe()
[all …]
Dusbled.c175 static int led_probe(struct usb_interface *interface, in led_probe() argument
178 struct usb_device *udev = interface_to_usbdev(interface); in led_probe()
184 dev_err(&interface->dev, "out of memory\n"); in led_probe()
191 usb_set_intfdata(interface, dev); in led_probe()
193 retval = device_create_file(&interface->dev, &dev_attr_blue); in led_probe()
196 retval = device_create_file(&interface->dev, &dev_attr_red); in led_probe()
199 retval = device_create_file(&interface->dev, &dev_attr_green); in led_probe()
208 dev_err(&interface->dev, "out of memory\n"); in led_probe()
228 dev_info(&interface->dev, "USB LED device now attached\n"); in led_probe()
232 device_remove_file(&interface->dev, &dev_attr_blue); in led_probe()
[all …]
Didmouse.c74 struct usb_interface *interface; /* the interface for this device */ member
94 static int idmouse_probe(struct usb_interface *interface,
97 static void idmouse_disconnect(struct usb_interface *interface);
202 dev_dbg(&dev->interface->dev, "read %d bytes fingerprint data\n", in idmouse_create_image()
227 struct usb_interface *interface; in idmouse_open() local
231 interface = usb_find_interface (&idmouse_driver, iminor (inode)); in idmouse_open()
232 if (!interface) in idmouse_open()
237 dev = usb_get_intfdata(interface); in idmouse_open()
256 result = usb_autopm_get_interface(interface); in idmouse_open()
262 usb_autopm_put_interface(interface); in idmouse_open()
[all …]
Dcytherm.c39 struct usb_interface *interface; /* the interface for this device */ member
45 static int cytherm_probe(struct usb_interface *interface,
47 static void cytherm_disconnect(struct usb_interface *interface);
346 static int cytherm_probe(struct usb_interface *interface, in cytherm_probe() argument
349 struct usb_device *udev = interface_to_usbdev(interface); in cytherm_probe()
355 dev_err (&interface->dev, "Out of memory\n"); in cytherm_probe()
361 usb_set_intfdata (interface, dev); in cytherm_probe()
365 retval = device_create_file(&interface->dev, &dev_attr_brightness); in cytherm_probe()
368 retval = device_create_file(&interface->dev, &dev_attr_temp); in cytherm_probe()
371 retval = device_create_file(&interface->dev, &dev_attr_button); in cytherm_probe()
[all …]
Diowarrior.c72 struct usb_interface *interface; /* the interface for this device */ member
178 && (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0)) { in iowarrior_callback()
213 dev_err(&dev->interface->dev, "%s - usb_submit_urb failed with result %d\n", in iowarrior_callback()
231 dev_dbg(&dev->interface->dev, in iowarrior_write_callback()
247 dev_dbg(&dev->interface->dev, "minor %d\n", dev->minor); in iowarrior_delete()
284 dev_dbg(&dev->interface->dev, "minor %d, count = %zd\n", in iowarrior_read()
353 dev_dbg(&dev->interface->dev, "minor %d, count = %zd\n", in iowarrior_write()
381 retval = usb_set_report(dev->interface, 2, 0, buf, count); in iowarrior_write()
416 dev_dbg(&dev->interface->dev, in iowarrior_write()
424 dev_dbg(&dev->interface->dev, in iowarrior_write()
[all …]
Dcypress_cy7c63.c203 static int cypress_probe(struct usb_interface *interface, in cypress_probe() argument
212 dev_err(&interface->dev, "Out of memory!\n"); in cypress_probe()
216 dev->udev = usb_get_dev(interface_to_usbdev(interface)); in cypress_probe()
219 usb_set_intfdata(interface, dev); in cypress_probe()
222 retval = device_create_file(&interface->dev, &dev_attr_port0); in cypress_probe()
225 retval = device_create_file(&interface->dev, &dev_attr_port1); in cypress_probe()
230 dev_info(&interface->dev, in cypress_probe()
235 device_remove_file(&interface->dev, &dev_attr_port0); in cypress_probe()
236 device_remove_file(&interface->dev, &dev_attr_port1); in cypress_probe()
237 usb_set_intfdata(interface, NULL); in cypress_probe()
[all …]
Dtrancevibrator.c90 static int tv_probe(struct usb_interface *interface, in tv_probe() argument
93 struct usb_device *udev = interface_to_usbdev(interface); in tv_probe()
99 dev_err(&interface->dev, "Out of memory\n"); in tv_probe()
105 usb_set_intfdata(interface, dev); in tv_probe()
106 retval = device_create_file(&interface->dev, &dev_attr_speed); in tv_probe()
114 usb_set_intfdata(interface, NULL); in tv_probe()
120 static void tv_disconnect(struct usb_interface *interface) in tv_disconnect() argument
124 dev = usb_get_intfdata (interface); in tv_disconnect()
125 device_remove_file(&interface->dev, &dev_attr_speed); in tv_disconnect()
126 usb_set_intfdata(interface, NULL); in tv_disconnect()
Dadutux.c78 struct usb_interface *interface; member
228 struct usb_interface *interface; in adu_open() local
238 interface = usb_find_interface(&adu_driver, subminor); in adu_open()
239 if (!interface) { in adu_open()
246 dev = usb_get_intfdata(interface); in adu_open()
656 static int adu_probe(struct usb_interface *interface, in adu_probe() argument
659 struct usb_device *udev = interface_to_usbdev(interface); in adu_probe()
669 dev_err(&interface->dev, "udev is NULL.\n"); in adu_probe()
676 dev_err(&interface->dev, "Out of memory\n"); in adu_probe()
687 iface_desc = &interface->altsetting[0]; in adu_probe()
[all …]
Dlegousbtower.c241 static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id);
242 static void tower_disconnect (struct usb_interface *interface);
319 struct usb_interface *interface; in tower_open() local
326 interface = usb_find_interface (&tower_driver, subminor); in tower_open()
328 if (!interface) { in tower_open()
335 dev = usb_get_intfdata(interface); in tower_open()
804 static int tower_probe (struct usb_interface *interface, const struct usb_device_id *id) in tower_probe() argument
806 struct device *idev = &interface->dev; in tower_probe()
807 struct usb_device *udev = interface_to_usbdev(interface); in tower_probe()
851 iface_desc = interface->cur_altsetting; in tower_probe()
[all …]
Dusbsevseg.c341 static int sevseg_probe(struct usb_interface *interface, in sevseg_probe() argument
344 struct usb_device *udev = interface_to_usbdev(interface); in sevseg_probe()
350 dev_err(&interface->dev, "Out of memory\n"); in sevseg_probe()
355 mydev->intf = interface; in sevseg_probe()
356 usb_set_intfdata(interface, mydev); in sevseg_probe()
367 rc = sysfs_create_group(&interface->dev.kobj, &dev_attr_grp); in sevseg_probe()
371 dev_info(&interface->dev, "USB 7 Segment device now attached\n"); in sevseg_probe()
375 usb_set_intfdata(interface, NULL); in sevseg_probe()
382 static void sevseg_disconnect(struct usb_interface *interface) in sevseg_disconnect() argument
386 mydev = usb_get_intfdata(interface); in sevseg_disconnect()
[all …]
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-spi.h49 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,
67 int (*interface_up_cb) (int interface, cvmx_spi_mode_t mode);
77 static inline int cvmx_spi_is_spi_interface(int interface) in cvmx_spi_is_spi_interface() argument
79 uint64_t gmxState = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); in cvmx_spi_is_spi_interface()
97 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode,
113 extern int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode,
[all …]
Dcvmx-helper-util.h101 extern int __cvmx_helper_setup_gmx(int interface, int num_ports);
112 extern int cvmx_helper_get_ipd_port(int interface, int port);
122 static inline int cvmx_helper_get_first_ipd_port(int interface) in cvmx_helper_get_first_ipd_port() argument
124 return cvmx_helper_get_ipd_port(interface, 0); in cvmx_helper_get_first_ipd_port()
135 static inline int cvmx_helper_get_last_ipd_port(int interface) in cvmx_helper_get_last_ipd_port() argument
137 extern int cvmx_helper_ports_on_interface(int interface); in cvmx_helper_get_last_ipd_port()
139 return cvmx_helper_get_first_ipd_port(interface) + in cvmx_helper_get_last_ipd_port()
140 cvmx_helper_ports_on_interface(interface) - 1; in cvmx_helper_get_last_ipd_port()
Dcvmx-helper.h133 extern int cvmx_helper_ports_on_interface(int interface);
156 interface);
207 extern int cvmx_helper_interface_probe(int interface);
208 extern int cvmx_helper_interface_enumerate(int interface);
Dcvmx-helper-loop.h46 extern int __cvmx_helper_loop_probe(int interface);
47 static inline int __cvmx_helper_loop_enumerate(int interface) {return 4; } in __cvmx_helper_loop_enumerate() argument
58 extern int __cvmx_helper_loop_enable(int interface);
Dcvmx-helper-spi.h44 extern int __cvmx_helper_spi_probe(int interface);
45 extern int __cvmx_helper_spi_enumerate(int interface);
56 extern int __cvmx_helper_spi_enable(int interface);
Dcvmx-helper-xaui.h47 extern int __cvmx_helper_xaui_probe(int interface);
48 extern int __cvmx_helper_xaui_enumerate(int interface);
59 extern int __cvmx_helper_xaui_enable(int interface);
Dcvmx-helper-sgmii.h47 extern int __cvmx_helper_sgmii_probe(int interface);
48 extern int __cvmx_helper_sgmii_enumerate(int interface);
59 extern int __cvmx_helper_sgmii_enable(int interface);
Dcvmx-helper-npi.h47 extern int __cvmx_helper_npi_probe(int interface);
59 extern int __cvmx_helper_npi_enable(int interface);
Dcvmx-helper-rgmii.h45 extern int __cvmx_helper_rgmii_probe(int interface);
65 extern int __cvmx_helper_rgmii_enable(int interface);
Dcvmx-helper-board.h149 extern int __cvmx_helper_board_interface_probe(int interface,
162 extern int __cvmx_helper_board_hardware_enable(int interface);
/linux-4.1.27/drivers/media/usb/usbvision/
Dusbvision-cards.c36 .interface = -1,
50 .interface = -1,
66 .interface = -1,
80 .interface = -1,
96 .interface = 0,
112 .interface = -1,
126 .interface = -1,
142 .interface = -1,
156 .interface = -1,
172 .interface = -1,
[all …]
/linux-4.1.27/drivers/staging/octeon/
Dethernet-rgmii.c83 int interface = INTERFACE(priv->port); in cvm_oct_rgmii_poll() local
89 (index, interface)); in cvm_oct_rgmii_poll()
106 (index, interface)); in cvm_oct_rgmii_poll()
109 (index, interface), in cvm_oct_rgmii_poll()
122 (index, interface), in cvm_oct_rgmii_poll()
145 int interface = INTERFACE(priv->port); in cvm_oct_rgmii_poll() local
150 cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); in cvm_oct_rgmii_poll()
152 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), in cvm_oct_rgmii_poll()
160 cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface)); in cvm_oct_rgmii_poll()
161 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), in cvm_oct_rgmii_poll()
[all …]
Dethernet.c275 int interface = INTERFACE(priv->port); in cvm_oct_common_change_mtu() local
295 if ((interface < 2) in cvm_oct_common_change_mtu()
296 && (cvmx_helper_interface_get_mode(interface) != in cvm_oct_common_change_mtu()
304 cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(index, interface), in cvm_oct_common_change_mtu()
316 cvmx_write_csr(CVMX_PIP_FRM_LEN_CHKX(interface), in cvm_oct_common_change_mtu()
324 cvmx_write_csr(CVMX_GMXX_RXX_JABBER(index, interface), in cvm_oct_common_change_mtu()
338 int interface = INTERFACE(priv->port); in cvm_oct_common_set_multicast_list() local
341 if ((interface < 2) in cvm_oct_common_set_multicast_list()
342 && (cvmx_helper_interface_get_mode(interface) != in cvm_oct_common_set_multicast_list()
368 cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_common_set_multicast_list()
[all …]
Dethernet-spi.c186 static void cvm_oct_spi_enable_error_reporting(int interface) in cvm_oct_spi_enable_error_reporting() argument
191 spxx_int_msk.u64 = cvmx_read_csr(CVMX_SPXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting()
202 cvmx_write_csr(CVMX_SPXX_INT_MSK(interface), spxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting()
204 stxx_int_msk.u64 = cvmx_read_csr(CVMX_STXX_INT_MSK(interface)); in cvm_oct_spi_enable_error_reporting()
213 cvmx_write_csr(CVMX_STXX_INT_MSK(interface), stxx_int_msk.u64); in cvm_oct_spi_enable_error_reporting()
220 int interface; in cvm_oct_spi_poll() local
222 for (interface = 0; interface < 2; interface++) { in cvm_oct_spi_poll()
224 if ((priv->port == interface * 16) && need_retrain[interface]) { in cvm_oct_spi_poll()
227 (interface, CVMX_SPI_MODE_DUPLEX, 10) == 0) { in cvm_oct_spi_poll()
228 need_retrain[interface] = 0; in cvm_oct_spi_poll()
[all …]
Dethernet-sgmii.c84 int interface = INTERFACE(priv->port); in cvm_oct_sgmii_open() local
93 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_open()
95 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_open()
120 int interface = INTERFACE(priv->port); in cvm_oct_sgmii_stop() local
123 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_sgmii_stop()
125 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_sgmii_stop()
Dethernet-xaui.c84 int interface = INTERFACE(priv->port); in cvm_oct_xaui_open() local
93 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_open()
95 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_open()
120 int interface = INTERFACE(priv->port); in cvm_oct_xaui_stop() local
123 gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in cvm_oct_xaui_stop()
125 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); in cvm_oct_xaui_stop()
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Dinterface.txt1 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-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c61 static void __bnx2fc_destroy(struct bnx2fc_interface *interface);
72 static void bnx2fc_start_disc(struct bnx2fc_interface *interface);
80 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
87 static inline void bnx2fc_interface_put(struct bnx2fc_interface *interface);
94 static void bnx2fc_stop(struct bnx2fc_interface *interface);
171 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cleanup() local
172 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup()
249 struct bnx2fc_interface *interface; in bnx2fc_xmit() local
262 interface = port->priv; in bnx2fc_xmit()
263 ctlr = bnx2fc_to_ctlr(interface); in bnx2fc_xmit()
[all …]
Dbnx2fc_io.c31 struct bnx2fc_interface *interface = io_req->port->priv; in bnx2fc_cmd_timer_set() local
33 if (queue_delayed_work(interface->timer_work_queue, in bnx2fc_cmd_timer_set()
429 struct bnx2fc_interface *interface = port->priv; in bnx2fc_elstm_alloc() local
430 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_elstm_alloc()
499 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cmd_alloc() local
500 struct bnx2fc_cmd_mgr *cmd_mgr = interface->hba->cmd_mgr; in bnx2fc_cmd_alloc()
581 struct bnx2fc_interface *interface = io_req->port->priv; in bnx2fc_free_mp_resc() local
582 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc()
618 struct bnx2fc_interface *interface = io_req->port->priv; in bnx2fc_init_mp_req() local
619 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req()
[all …]
/linux-4.1.27/drivers/media/usb/go7007/
Dgo7007-loader.c42 static int go7007_loader_probe(struct usb_interface *interface, in go7007_loader_probe() argument
52 usbdev = usb_get_dev(interface_to_usbdev(interface)); in go7007_loader_probe()
57 dev_err(&interface->dev, "can't handle multiple config\n"); in go7007_loader_probe()
76 dev_info(&interface->dev, "loading firmware %s\n", fw1); in go7007_loader_probe()
79 dev_err(&interface->dev, in go7007_loader_probe()
86 dev_err(&interface->dev, "loader download failed\n"); in go7007_loader_probe()
94 dev_err(&interface->dev, in go7007_loader_probe()
101 dev_err(&interface->dev, "firmware download failed\n"); in go7007_loader_probe()
108 dev_err(&interface->dev, "probe failed\n"); in go7007_loader_probe()
112 static void go7007_loader_disconnect(struct usb_interface *interface) in go7007_loader_disconnect() argument
[all …]
/linux-4.1.27/drivers/mfd/
Dviperboard.c52 static int vprbrd_probe(struct usb_interface *interface, in vprbrd_probe() argument
63 dev_err(&interface->dev, "Out of memory\n"); in vprbrd_probe()
69 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in vprbrd_probe()
72 usb_set_intfdata(interface, vb); in vprbrd_probe()
91 dev_info(&interface->dev, in vprbrd_probe()
96 ret = mfd_add_hotplug_devices(&interface->dev, vprbrd_devs, in vprbrd_probe()
99 dev_err(&interface->dev, "Failed to add mfd devices to core."); in vprbrd_probe()
114 static void vprbrd_disconnect(struct usb_interface *interface) in vprbrd_disconnect() argument
116 struct vprbrd *vb = usb_get_intfdata(interface); in vprbrd_disconnect()
118 mfd_remove_devices(&interface->dev); in vprbrd_disconnect()
[all …]
Ddln2.c98 struct usb_interface *interface; member
194 struct device *dev = &dln2->interface->dev; in dln2_transfer_complete()
245 struct device *dev = &dln2->interface->dev; in dln2_rx()
419 struct device *dev = &dln2->interface->dev; in free_rx_slot()
437 struct device *dev = &dln2->interface->dev; in _dln2_transfer()
547 dev_err(&dln2->interface->dev, "Device ID 0x%x not supported\n", in dln2_check_hw()
560 struct device *dev = &dln2->interface->dev; in dln2_print_serialno()
635 struct device *dev = &dln2->interface->dev; in dln2_start_rx_urbs()
717 static void dln2_disconnect(struct usb_interface *interface) in dln2_disconnect() argument
719 struct dln2_dev *dln2 = usb_get_intfdata(interface); in dln2_disconnect()
[all …]
/linux-4.1.27/drivers/usb/
Dusb-skeleton.c51 struct usb_interface *interface; /* the interface for this device */ member
86 struct usb_interface *interface; in skel_open() local
92 interface = usb_find_interface(&skel_driver, subminor); in skel_open()
93 if (!interface) { in skel_open()
100 dev = usb_get_intfdata(interface); in skel_open()
106 retval = usb_autopm_get_interface(interface); in skel_open()
130 if (dev->interface) in skel_release()
131 usb_autopm_put_interface(dev->interface); in skel_release()
175 dev_err(&dev->interface->dev, in skel_read_bulk_callback()
214 dev_err(&dev->interface->dev, in skel_do_read_io()
[all …]
/linux-4.1.27/drivers/staging/wlan-ng/
Dprism2usb.c59 static int prism2sta_probe_usb(struct usb_interface *interface, in prism2sta_probe_usb() argument
68 dev = interface_to_usbdev(interface); in prism2sta_probe_usb()
71 dev_err(&interface->dev, "Memory allocation failure.\n"); in prism2sta_probe_usb()
77 if (wlan_setup(wlandev, &(interface->dev)) != 0) { in prism2sta_probe_usb()
78 dev_err(&interface->dev, "wlan_setup() failed.\n"); in prism2sta_probe_usb()
90 SET_NETDEV_DEV(wlandev->netdev, &(interface->dev)); in prism2sta_probe_usb()
99 dev_err(&interface->dev, in prism2sta_probe_usb()
114 dev_err(&interface->dev, "register_wlandev() failed.\n"); in prism2sta_probe_usb()
131 usb_set_intfdata(interface, wlandev); in prism2sta_probe_usb()
135 static void prism2sta_disconnect_usb(struct usb_interface *interface) in prism2sta_disconnect_usb() argument
[all …]
/linux-4.1.27/drivers/isdn/sc/
Dinit.c50 isdn_if *interface; in sc_init() local
268 interface = kzalloc(sizeof(isdn_if), GFP_KERNEL); in sc_init()
269 if (interface == NULL) { in sc_init()
276 interface->owner = THIS_MODULE; in sc_init()
277 interface->hl_hdrlen = 0; in sc_init()
278 interface->channels = channels; in sc_init()
279 interface->maxbufsize = BUFFER_SIZE; in sc_init()
280 interface->features = features; in sc_init()
281 interface->writebuf_skb = sndpkt; in sc_init()
282 interface->writecmd = NULL; in sc_init()
[all …]
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_sasem.c67 static int sasem_probe(struct usb_interface *interface,
69 static void sasem_disconnect(struct usb_interface *interface);
197 struct usb_interface *interface; in vfd_open() local
206 interface = usb_find_interface(&sasem_driver, subminor); in vfd_open()
207 if (!interface) { in vfd_open()
213 context = usb_get_intfdata(interface); in vfd_open()
216 dev_err(&interface->dev, "no context found for minor %d\n", in vfd_open()
225 dev_err(&interface->dev, in vfd_open()
231 dev_info(&interface->dev, "VFD port opened\n"); in vfd_open()
661 static int sasem_probe(struct usb_interface *interface, in sasem_probe() argument
[all …]
Dlirc_imon.c52 static int imon_probe(struct usb_interface *interface,
54 static void imon_disconnect(struct usb_interface *interface);
224 struct usb_interface *interface; in display_open() local
233 interface = usb_find_interface(&imon_driver, subminor); in display_open()
234 if (!interface) { in display_open()
240 context = usb_get_intfdata(interface); in display_open()
243 dev_err(&interface->dev, "no context found for minor %d\n", in display_open()
252 dev_err(&interface->dev, in display_open()
256 dev_err(&interface->dev, in display_open()
681 static int imon_probe(struct usb_interface *interface, in imon_probe() argument
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-net30 interface (Ethernet, FDDI, ATM, IEEE 802.15.4...). See
38 Hardware address currently assigned to this interface.
47 Hardware broadcast address for this interface. Format is a
56 Indicates the current physical link state of the interface.
63 operating correctly and designating another fallback interface.
80 Indicates whether the interface is in dormant state. Possible
82 0: interface is not dormant
83 1: interface is dormant
95 Indicates the interface latest or current duplex value. Possible
108 Indicates the interface flags as a bitmask in hexadecimal. See
[all …]
Dsysfs-bus-event_source-devices-hv_gpci1 What: /sys/bus/event_source/devices/hv_gpci/interface/collect_privileged
10 What: /sys/bus/event_source/devices/hv_gpci/interface/ga
17 What: /sys/bus/event_source/devices/hv_gpci/interface/expanded
24 What: /sys/bus/event_source/devices/hv_gpci/interface/lab
31 What: /sys/bus/event_source/devices/hv_gpci/interface/version
35 A number indicating the version of the gpci interface that the
38 What: /sys/bus/event_source/devices/hv_gpci/interface/kernel_version
42 A number indicating the latest version of the gpci interface
Dsysfs-tty29 These sysfs values expose the TIOCGSERIAL interface via
38 These sysfs values expose the TIOCGSERIAL interface via
47 These sysfs values expose the TIOCGSERIAL interface via
56 These sysfs values expose the TIOCGSERIAL interface via
65 These sysfs values expose the TIOCGSERIAL interface via
74 These sysfs values expose the TIOCGSERIAL interface via
83 These sysfs values expose the TIOCGSERIAL interface via
92 These sysfs values expose the TIOCGSERIAL interface via
101 These sysfs values expose the TIOCGSERIAL interface via
110 These sysfs values expose the TIOCGSERIAL interface via
[all …]
Dsysfs-driver-hid-roccat-ryos1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
9 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
41 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
61 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
81 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
92 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
Dsysfs-driver-hid-roccat-isku1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
20 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
41 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
61 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
81 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
91 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
Dconfigfs-usb-gadget65 What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>
70 gadget's USB interface or one interface group described
78 What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>
83 gadget's USB interface or one interface group described
124 per-interface requests
Dsysfs-driver-hid-lenovo1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
9 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
16 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
23 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
38 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
45 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-konepure1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
13 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
29 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
80 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
88 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
97 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-koneplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
20 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
46 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
62 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
79 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
88 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-savu1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
16 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
39 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
47 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
58 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
70 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-kone1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
28 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
39 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
66 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
76 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
88 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-arvo1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
/linux-4.1.27/drivers/i2c/busses/
Di2c-robotfuzz-osif.c34 struct usb_interface *interface; member
134 static int osif_probe(struct usb_interface *interface, in osif_probe() argument
141 priv = devm_kzalloc(&interface->dev, sizeof(*priv), GFP_KERNEL); in osif_probe()
145 priv->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in osif_probe()
146 priv->interface = interface; in osif_probe()
148 usb_set_intfdata(interface, priv); in osif_probe()
165 dev_err(&interface->dev, "failure sending bit rate"); in osif_probe()
173 dev_info(&interface->dev, in osif_probe()
181 static void osif_disconnect(struct usb_interface *interface) in osif_disconnect() argument
183 struct osif_priv *priv = usb_get_intfdata(interface); in osif_disconnect()
[all …]
Di2c-tiny-usb.c173 struct usb_interface *interface; /* the interface for this device */ member
205 static int i2c_tiny_usb_probe(struct usb_interface *interface, in i2c_tiny_usb_probe() argument
212 dev_dbg(&interface->dev, "probing usb device\n"); in i2c_tiny_usb_probe()
217 dev_err(&interface->dev, "Out of memory\n"); in i2c_tiny_usb_probe()
221 dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in i2c_tiny_usb_probe()
222 dev->interface = interface; in i2c_tiny_usb_probe()
225 usb_set_intfdata(interface, dev); in i2c_tiny_usb_probe()
228 dev_info(&interface->dev, in i2c_tiny_usb_probe()
249 dev->adapter.dev.parent = &dev->interface->dev; in i2c_tiny_usb_probe()
266 static void i2c_tiny_usb_disconnect(struct usb_interface *interface) in i2c_tiny_usb_disconnect() argument
[all …]
Di2c-diolan-u2c.c87 struct usb_interface *interface;/* the interface for this device */ member
219 dev_err(&dev->interface->dev, "Failed to flush input buffer\n"); in diolan_flush_input()
282 dev_info(&dev->interface->dev, in diolan_fw_version()
296 dev_info(&dev->interface->dev, in diolan_get_serial()
318 dev_info(&dev->interface->dev, in diolan_init()
444 static int diolan_u2c_probe(struct usb_interface *interface, in diolan_u2c_probe() argument
447 struct usb_host_interface *hostif = interface->cur_altsetting; in diolan_u2c_probe()
464 dev->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in diolan_u2c_probe()
465 dev->interface = interface; in diolan_u2c_probe()
468 usb_set_intfdata(interface, dev); in diolan_u2c_probe()
[all …]
DKconfig51 support for the first (SMBus 1.0) I2C interface of the AMD 8111 and
52 the nVidia nForce I2C interface.
75 second (SMBus 2.0) AMD 8111 mainboard I2C interface.
147 iSMT SMBus host controller interface.
213 SiS5595 SMBus (a subset of I2C) interface.
223 SiS630, SiS730 and SiS964 SMBus (a subset of I2C) interface.
252 82C586B I2C interface
262 VT82C596 and later SMBus interface. Specifically, the following
299 tristate "CHRP Apple Hydra Mac I/O I2C interface"
303 This supports the use of the I2C interface in the Apple Hydra Mac
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dcavium-pip.txt5 several interfaces, and each interface may have several ports. These
21 - compatible: "cavium,octeon-3860-pip-interface"
25 - reg: The interface number.
31 Properties for PIP port which is a child the PIP interface:
36 - reg: The port number within the interface group.
48 interface@0 {
49 compatible = "cavium,octeon-3860-pip-interface";
52 reg = <0>; /* interface */
80 interface@1 {
81 compatible = "cavium,octeon-3860-pip-interface";
[all …]
Dkeystone-netcp.txt19 mandatory to have the ethernet switch sub-module for the ethernet interface to
95 network interface in the stack.
97 -- link-interface: type of link interface, supported options are
112 registered as a network interface. NetCP driver
116 NetCP interface properties: Interface specification for NetCP sub-modules.
132 - efuse-mac: If this is 1, then the MAC address for the interface is
140 sub-module attached to this interface.
168 gbe0: interface-0 {
170 link-interface = <4>;
172 gbe1: interface-1 {
[all …]
Dmarvell-orion-mdio.txt1 * Marvell MDIO Ethernet Controller interface
5 an interface with the MDIO bus. This driver handles this MDIO
6 interface.
/linux-4.1.27/drivers/media/rc/
Dati_remote.c158 const char *(*get_default_keymap)(struct usb_interface *interface);
161 static const char *get_medion_keymap(struct usb_interface *interface) in get_medion_keymap() argument
163 struct usb_device *udev = interface_to_usbdev(interface); in get_medion_keymap()
189 dev_info(&interface->dev, in get_medion_keymap()
250 struct usb_interface *interface; member
350 dev_err(&ati_remote->interface->dev, in ati_remote_open()
402 dev_dbg(&ati_remote->interface->dev, "%s: status %d\n", in ati_remote_irq_out()
432 dev_dbg(&ati_remote->interface->dev, in ati_remote_sendpacket()
513 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
522 dbginfo(&ati_remote->interface->dev, in ati_remote_input_report()
[all …]
Dstreamzap.c83 struct usb_interface *interface; member
109 static int streamzap_probe(struct usb_interface *interface,
111 static void streamzap_disconnect(struct usb_interface *interface);
352 sz->interface = intf; in streamzap_probe()
468 static void streamzap_disconnect(struct usb_interface *interface) in streamzap_disconnect() argument
470 struct streamzap_ir *sz = usb_get_intfdata(interface); in streamzap_disconnect()
471 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect()
473 usb_set_intfdata(interface, NULL); in streamzap_disconnect()
/linux-4.1.27/drivers/nfc/
Dpn533.c346 struct usb_interface *interface; member
718 dev_dbg(&dev->interface->dev, in pn533_recv_response()
724 nfc_err(&dev->interface->dev, in pn533_recv_response()
731 dev_dbg(&dev->interface->dev, "Received a frame\n"); in pn533_recv_response()
736 nfc_err(&dev->interface->dev, "Received an invalid frame\n"); in pn533_recv_response()
742 nfc_err(&dev->interface->dev, in pn533_recv_response()
773 dev_dbg(&dev->interface->dev, in pn533_recv_ack()
779 nfc_err(&dev->interface->dev, in pn533_recv_ack()
787 nfc_err(&dev->interface->dev, "Received an invalid ack\n"); in pn533_recv_ack()
794 nfc_err(&dev->interface->dev, in pn533_recv_ack()
[all …]
Dport100.c435 struct usb_interface *interface; member
606 nfc_err(&dev->interface->dev, in port100_recv_response()
611 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in port100_recv_response()
619 nfc_err(&dev->interface->dev, "Received an invalid frame\n"); in port100_recv_response()
628 nfc_err(&dev->interface->dev, in port100_recv_response()
659 nfc_err(&dev->interface->dev, in port100_recv_ack()
664 nfc_err(&dev->interface->dev, "Urb failure (status %d)\n", in port100_recv_ack()
672 nfc_err(&dev->interface->dev, "Received an invalid ack\n"); in port100_recv_ack()
679 nfc_err(&dev->interface->dev, in port100_recv_ack()
875 nfc_err(&dev->interface->dev, in port100_send_complete()
[all …]
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-core.c150 static void au0828_usb_disconnect(struct usb_interface *interface) in au0828_usb_disconnect() argument
152 struct au0828_dev *dev = usb_get_intfdata(interface); in au0828_usb_disconnect()
168 usb_set_intfdata(interface, NULL); in au0828_usb_disconnect()
183 static int au0828_usb_probe(struct usb_interface *interface, in au0828_usb_probe() argument
190 struct usb_device *usbdev = interface_to_usbdev(interface); in au0828_usb_probe()
192 ifnum = interface->altsetting->desc.bInterfaceNumber; in au0828_usb_probe()
230 retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); in au0828_usb_probe()
265 au0828_analog_register(dev, interface); in au0828_usb_probe()
281 usb_set_intfdata(interface, dev); in au0828_usb_probe()
291 static int au0828_suspend(struct usb_interface *interface, in au0828_suspend() argument
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Datmel-xdma.txt13 - bit 13: SIF, source interface identifier, used to get the memory
14 interface identifier,
15 - bit 14: DIF, destination interface identifier, used to get the peripheral
16 interface identifier,
35 - bit 13: SIF, source interface identifier, used to get the memory
36 interface identifier,
37 - bit 14: DIF, destination interface identifier, used to get the peripheral
38 interface identifier,
Datmel-dma.txt25 2. The memory interface (16 most significant bits), the peripheral interface
29 - bit 7-0: peripheral identifier for the hardware handshaking interface. The
/linux-4.1.27/drivers/input/misc/
Dati_remote2.c212 static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id);
213 static void ati_remote2_disconnect(struct usb_interface *interface);
214 static int ati_remote2_suspend(struct usb_interface *interface, pm_message_t message);
215 static int ati_remote2_resume(struct usb_interface *interface);
216 static int ati_remote2_reset_resume(struct usb_interface *interface);
217 static int ati_remote2_pre_reset(struct usb_interface *interface);
218 static int ati_remote2_post_reset(struct usb_interface *interface);
804 static int ati_remote2_probe(struct usb_interface *interface, const struct usb_device_id *id) in ati_remote2_probe() argument
806 struct usb_device *udev = interface_to_usbdev(interface); in ati_remote2_probe()
807 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe()
[all …]
Dkeyspan_remote.c116 struct usb_interface *interface; member
159 dev_dbg(&dev->interface->dev, in keyspan_load_tester()
269 dev_err(&remote->interface->dev, in keyspan_check_data()
290 dev_err(&remote->interface->dev, in keyspan_check_data()
308 dev_err(&remote->interface->dev, in keyspan_check_data()
320 dev_err(&remote->interface->dev, in keyspan_check_data()
324 dev_dbg(&remote->interface->dev, in keyspan_check_data()
405 dev_err(&dev->interface->dev, in keyspan_irq_recv()
449 static int keyspan_probe(struct usb_interface *interface, const struct usb_device_id *id) in keyspan_probe() argument
451 struct usb_device *udev = interface_to_usbdev(interface); in keyspan_probe()
[all …]
/linux-4.1.27/Documentation/dvb/
Dci.txt77 * Why the need for another CI interface ?
80 Strictly speaking this is not a new interface.
82 The CI interface is defined in the DVB API in ca.h as
87 int type; /* CA interface this slot supports */
88 #define CA_CI 1 /* CI high level interface */
89 #define CA_CI_LINK 2 /* CI link layer level interface */
90 #define CA_CI_PHYS 4 /* CI physical layer level interface */
92 #define CA_SC 128 /* simple smart card interface */
101 This CI interface follows the CI high level interface, which is not
104 This CI interface is quite different in the case that it tries to
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Domap34xx-omap36xx-clocks.dtsi21 compatible = "ti,omap3-interface-clock";
29 compatible = "ti,omap3-interface-clock";
37 compatible = "ti,omap3-interface-clock";
45 compatible = "ti,omap3-interface-clock";
62 compatible = "ti,omap3-no-wait-interface-clock";
86 compatible = "ti,omap3-interface-clock";
94 compatible = "ti,omap3-interface-clock";
102 compatible = "ti,omap3-interface-clock";
110 compatible = "ti,omap3-interface-clock";
118 compatible = "ti,omap3-interface-clock";
[all …]
Domap2430-clocks.dtsi81 compatible = "ti,composite-interface-clock";
103 compatible = "ti,omap3-interface-clock";
111 compatible = "ti,omap3-interface-clock";
127 compatible = "ti,omap3-interface-clock";
143 compatible = "ti,omap3-interface-clock";
159 compatible = "ti,omap3-interface-clock";
175 compatible = "ti,omap3-interface-clock";
183 compatible = "ti,omap2430-interface-clock";
191 compatible = "ti,omap2430-interface-clock";
199 compatible = "ti,omap3-interface-clock";
[all …]
Domap24xx-clocks.dtsi339 compatible = "ti,omap3-no-wait-interface-clock";
499 compatible = "ti,composite-interface-clock";
522 compatible = "ti,omap3-interface-clock";
530 compatible = "ti,omap3-interface-clock";
559 compatible = "ti,omap3-interface-clock";
589 compatible = "ti,omap3-interface-clock";
619 compatible = "ti,omap3-interface-clock";
649 compatible = "ti,omap3-interface-clock";
679 compatible = "ti,omap3-interface-clock";
709 compatible = "ti,omap3-interface-clock";
[all …]
Domap3xxx-clocks.dtsi807 compatible = "ti,omap3-interface-clock";
815 compatible = "ti,omap3-interface-clock";
823 compatible = "ti,omap3-interface-clock";
831 compatible = "ti,omap3-interface-clock";
839 compatible = "ti,omap3-interface-clock";
847 compatible = "ti,omap3-interface-clock";
855 compatible = "ti,omap3-interface-clock";
863 compatible = "ti,omap3-interface-clock";
871 compatible = "ti,omap3-interface-clock";
879 compatible = "ti,omap3-interface-clock";
[all …]
/linux-4.1.27/Documentation/usb/
Dcallbacks.txt15 * interface on a device.
16 * @disconnect: Called when the interface is no longer accessible, usually
39 The ioctl interface (2) should be used only if you have a very good
56 an interface. A driver's bond to an interface is exclusive.
64 Accept or decline an interface. If you accept the device return 0,
69 usb_set_intfdata(), to associate a data structure with an interface, so
71 particular interface. The device will not be suspended and you may do IO
72 to the interface you are called for and endpoint 0 of the device. Device
80 This callback is a signal to break any connection with an interface.
83 with another driver bound the interface, eg. a power management
[all …]
Dgadget-testing.txt30 Function-specific configfs interface
59 Function-specific configfs interface
65 ifname - network device interface name associated with this
76 configuration. The ifname is read-only and contains the name of the interface
92 Function-specific configfs interface
98 ifname - network device interface name associated with this
109 configuration. The ifname is read-only and contains the name of the interface
125 Function-specific configfs interface
131 ifname - network device interface name associated with this
142 configuration. The ifname is read-only and contains the name of the interface
[all …]
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_drv.c67 static int udl_usb_probe(struct usb_interface *interface, in udl_usb_probe() argument
70 struct usb_device *udev = interface_to_usbdev(interface); in udl_usb_probe()
74 dev = drm_dev_alloc(&driver, &interface->dev); in udl_usb_probe()
82 usb_set_intfdata(interface, dev); in udl_usb_probe()
92 static void udl_usb_disconnect(struct usb_interface *interface) in udl_usb_disconnect() argument
94 struct drm_device *dev = usb_get_intfdata(interface); in udl_usb_disconnect()
/linux-4.1.27/sound/usb/line6/
Ddriver.c510 int line6_probe(struct usb_interface *interface, in line6_probe() argument
517 struct usb_device *usbdev = interface_to_usbdev(interface); in line6_probe()
530 ret = snd_card_new(&interface->dev, in line6_probe()
541 line6->ifcdev = &interface->dev; in line6_probe()
550 usb_set_intfdata(interface, line6); in line6_probe()
556 dev_info(&interface->dev, "Line 6 %s found\n", properties->name); in line6_probe()
559 interface_number = interface->cur_altsetting->desc.bInterfaceNumber; in line6_probe()
564 dev_err(&interface->dev, "set_interface failed\n"); in line6_probe()
583 dev_info(&interface->dev, "Line 6 %s now attached\n", in line6_probe()
599 void line6_disconnect(struct usb_interface *interface) in line6_disconnect() argument
[all …]
Ddriver.h167 int line6_probe(struct usb_interface *interface,
174 void line6_disconnect(struct usb_interface *interface);
177 int line6_suspend(struct usb_interface *interface, pm_message_t message);
178 int line6_resume(struct usb_interface *interface);
Dpod.c247 struct usb_interface *interface = to_usb_interface(dev); in serial_number_show() local
248 struct usb_line6_pod *pod = usb_get_intfdata(interface); in serial_number_show()
259 struct usb_interface *interface = to_usb_interface(dev); in firmware_version_show() local
260 struct usb_line6_pod *pod = usb_get_intfdata(interface); in firmware_version_show()
272 struct usb_interface *interface = to_usb_interface(dev); in device_id_show() local
273 struct usb_line6_pod *pod = usb_get_intfdata(interface); in device_id_show()
561 static int pod_probe(struct usb_interface *interface, in pod_probe() argument
564 return line6_probe(interface, id, "Line6-POD", in pod_probe()
/linux-4.1.27/drivers/net/ethernet/arc/
Demac_arc.c34 int interface, err; in emac_arc_probe() local
49 interface = of_get_phy_mode(dev->of_node); in emac_arc_probe()
50 if (interface < 0) in emac_arc_probe()
51 interface = PHY_INTERFACE_MODE_MII; in emac_arc_probe()
60 err = arc_emac_probe(ndev, interface); in emac_arc_probe()
Demac_rockchip.c95 int err, interface; in emac_rockchip_probe() local
111 interface = of_get_phy_mode(dev->of_node); in emac_rockchip_probe()
114 if (interface != PHY_INTERFACE_MODE_RMII) { in emac_rockchip_probe()
115 dev_err(dev, "unsupported phy interface mode %d\n", interface); in emac_rockchip_probe()
167 err = arc_emac_probe(ndev, interface); in emac_rockchip_probe()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_usb.c59 static int ft1000_probe(struct usb_interface *interface, in ft1000_probe() argument
76 dev = interface_to_usbdev(interface); in ft1000_probe()
90 numaltsetting = interface->num_altsetting; in ft1000_probe()
92 iface_desc = interface->cur_altsetting; in ft1000_probe()
139 dev_err(interface->usb_dev, "Error request_firmware()\n"); in ft1000_probe()
167 dev_err(interface->usb_dev, in ft1000_probe()
194 ret = reg_ft1000_netdev(ft1000dev, interface); in ft1000_probe()
213 static void ft1000_disconnect(struct usb_interface *interface) in ft1000_disconnect() argument
218 pft1000info = (struct ft1000_info *)usb_get_intfdata(interface); in ft1000_disconnect()
/linux-4.1.27/drivers/net/usb/
Dhso.c279 struct usb_interface *interface; member
704 usb_queue_reset_device(hso_dev->interface); in handle_usb_error()
828 dev_warn(&odev->parent->interface->dev, in hso_net_start_xmit()
1063 dev_warn(&odev->parent->interface->dev, in read_bulk_callback()
1274 result = usb_autopm_get_interface(serial->parent->interface); in hso_serial_open()
1304 usb_autopm_put_interface(serial->parent->interface); in hso_serial_open()
1330 usb_autopm_get_interface(serial->parent->interface); in hso_serial_close()
1345 usb_autopm_put_interface(serial->parent->interface); in hso_serial_close()
1480 struct usb_interface *interface; in tiocmget_intr_callback() local
1498 interface = serial->parent->interface; in tiocmget_intr_callback()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/nintendo/
Dwii.txt25 Represents the interface between the graphics processor and a external
36 Represents the data and control interface between the main processor
58 Represents the digital signal processor interface, designed to offload
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.
81 Represents the interface to the external 16-bit stereo digital-to-analog
92 Represents the multi-channel SPI-like interface.
132 Represent the Inter-Processor Communication interface. This interface
155 Represents the dual access 32 GPIO controller interface.
[all …]
Dgamecube.txt16 Represents the interface between the graphics processor and a external
27 Represents the data and control interface between the main processor
47 Represents the digital signal processor interface, designed to offload
69 Represents the interface used to communicate with mass storage devices.
79 Represents the interface to the external 16-bit stereo digital-to-analog
90 Represents the interface to the four single bit serial interfaces.
91 The SI is a proprietary serial interface used normally to control gamepads.
92 It's NOT a RS232-type interface.
102 Represents the multi-channel SPI-like interface.
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dcci.txt10 clusters, through memory mapped interface, with a global control register
11 space and multiple sets of interface control registers, one per slave
12 interface.
58 - CCI control interface nodes
63 A CCI control interface node must contain the following
72 - interface-type:
76 depending on the interface type the node
85 corresponding interface programming
108 corresponding interface programming
138 Definition: a phandle containing the CCI control interface node
[all …]
/linux-4.1.27/Documentation/
Dbtmrvl.txt6 All commands are used via debugfs interface.
20 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface
27 # Use SDIO interface to wake up the host and set GAP to 0x80:
101 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x00 --Enable All interface
102 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x01 --Enable Wlan interface
103 hcitool cmd 0x3f 0x5b 0xf5 0x01 0x02 --Enable BT interface
104 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x00 --Disable All interface
105 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x01 --Disable Wlan interface
106 hcitool cmd 0x3f 0x5b 0xf5 0x00 0x02 --Disable BT interface
Dstable_api_nonsense.txt7 kernel interface, nor does it have a stable kernel interface. Please
9 kernel to userspace interfaces. The kernel to userspace interface is
10 the one that application programs use, the syscall interface. That
11 interface is _very_ stable over time, and will not break. I have old
13 just fine on the latest 2.6 kernel release. That interface is the one
19 You think you want a stable kernel interface, but you really do not, and
33 the world, they neither see this interface, nor do they care about it at
51 Assuming that we had a stable kernel source interface for the kernel, a
52 binary interface would naturally happen too, right? Wrong. Please
101 instances of where this interface is used within the kernel are fixed up
[all …]
DIPMI.txt16 To use this, you need an interface to an IPMI controller in your
38 from userland, you need to select 'Device interface for IPMI' if you
41 The driver interface depends on your hardware. If your system
43 and just work. If you have a board with a standard interface (These
56 If you have a standard interface and the board manufacturer has done
99 provides the kernelland interface for IPMI, but does not provide an
100 interface for use by application processes.
102 ipmi_devintf - This provides a userland IOCTL interface for the IPMI
107 SMIC, and BT interfaces. Unless you have an SMBus interface or your
108 own custom interface, you probably need to use this.
[all …]
Dsmsc_ece1099.txt7 via the SMSC BC-Link interface or via the SMBus.
15 pin or an edge detection on one of the bus interface pins.
16 Interrupts can also be detected on the keyboard scan interface.
35 interface. SMBus is a serial communication protocol between
41 SMBus interface to the host. The device is a slave-only SMBus device.
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sti.c121 int interface; /* MII interface */ member
164 if (dwmac->interface == PHY_INTERFACE_MODE_MII) { in stih4xx_fix_retime_src()
166 } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { in stih4xx_fix_retime_src()
173 } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { in stih4xx_fix_retime_src()
201 if (dwmac->interface == PHY_INTERFACE_MODE_MII) { in stid127_fix_retime_src()
203 } else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) { in stid127_fix_retime_src()
208 } else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) { in stid127_fix_retime_src()
227 int iface = dwmac->interface; in sti_dwmac_ctrl_init()
305 dwmac->interface = of_get_phy_mode(np); in sti_dwmac_parse_data()
311 if (IS_PHY_IF_MODE_GBIT(dwmac->interface)) { in sti_dwmac_parse_data()
Ddwmac-sunxi.c28 int interface; member
43 gmac->interface = of_get_phy_mode(dev->of_node); in sun7i_gmac_setup()
83 if (gmac->interface == PHY_INTERFACE_MODE_RGMII) { in sun7i_gmac_init()
114 if (gmac->interface != PHY_INTERFACE_MODE_GMII) in sun7i_fix_speed()
/linux-4.1.27/drivers/media/usb/stk1160/
Dstk1160-core.c273 static int stk1160_probe(struct usb_interface *interface, in stk1160_probe() argument
282 udev = interface_to_usbdev(interface); in stk1160_probe()
288 if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) in stk1160_probe()
293 interface->num_altsetting, GFP_KERNEL); in stk1160_probe()
301 rc = stk1160_scan_usb(interface, udev, alt_max_pkt_size); in stk1160_probe()
315 dev->num_alt = interface->num_altsetting; in stk1160_probe()
319 dev->dev = &interface->dev; in stk1160_probe()
321 usb_set_intfdata(interface, dev); in stk1160_probe()
400 static void stk1160_disconnect(struct usb_interface *interface) in stk1160_disconnect() argument
404 dev = usb_get_intfdata(interface); in stk1160_disconnect()
[all …]
/linux-4.1.27/drivers/watchdog/
Dpcwd_usb.c123 struct usb_interface *interface; member
157 static int usb_pcwd_probe(struct usb_interface *interface,
159 static void usb_pcwd_disconnect(struct usb_interface *interface);
175 struct device *dev = &usb_pcwd->interface->dev; in usb_pcwd_intr_done()
234 dev_dbg(&usb_pcwd->interface->dev, in usb_pcwd_send_command()
244 dev_dbg(&usb_pcwd->interface->dev, in usb_pcwd_send_command()
604 static int usb_pcwd_probe(struct usb_interface *interface, in usb_pcwd_probe() argument
607 struct usb_device *udev = interface_to_usbdev(interface); in usb_pcwd_probe()
625 iface_desc = interface->cur_altsetting; in usb_pcwd_probe()
655 usb_pcwd->interface = interface; in usb_pcwd_probe()
[all …]
/linux-4.1.27/Documentation/ABI/stable/
Dsyscalls1 What: The kernel syscall interface
3 This interface matches much of the POSIX interface and is based
7 Note that this interface is different for every architecture
Dsysfs-class-backlight43 The type of interface controlled by <backlight>.
44 "firmware": The driver uses a standard firmware interface
45 "platform": The driver uses a platform-specific interface
52 interface reduces the probability of confusion with
/linux-4.1.27/drivers/platform/x86/
Dacer-wmi.c280 static struct wmi_interface *interface; variable
299 if (!interface) in set_quirks()
303 interface->capability |= ACER_CAP_MAILLED; in set_quirks()
306 interface->capability |= ACER_CAP_BRIGHTNESS; in set_quirks()
536 interface->capability &= ~ACER_CAP_BRIGHTNESS; in video_set_backlight_video_vendor()
617 if ((interface->capability & cap) != 0) in has_cap()
789 interface->capability |= ACER_CAP_MAILLED; in AMW0_find_mailled()
838 interface->capability |= ACER_CAP_WIRELESS; in AMW0_set_capabilities()
862 interface->capability |= ACER_CAP_WIRELESS; in AMW0_set_capabilities()
885 interface->capability |= ACER_CAP_BLUETOOTH; in AMW0_set_capabilities()
[all …]
/linux-4.1.27/drivers/net/phy/
Dicplus.c142 if ((phydev->interface == PHY_INTERFACE_MODE_RGMII) || in ip1001_config_init()
143 (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) || in ip1001_config_init()
144 (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) || in ip1001_config_init()
145 (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID)) { in ip1001_config_init()
153 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in ip1001_config_init()
155 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) in ip1001_config_init()
157 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) in ip1001_config_init()
Dmarvell.c320 if ((phydev->interface == PHY_INTERFACE_MODE_RGMII) || in m88e1121_config_aneg()
321 (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) || in m88e1121_config_aneg()
322 (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) || in m88e1121_config_aneg()
323 (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID)) { in m88e1121_config_aneg()
328 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) in m88e1121_config_aneg()
331 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) in m88e1121_config_aneg()
333 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) in m88e1121_config_aneg()
472 if ((phydev->interface == PHY_INTERFACE_MODE_RGMII) || in m88e1111_config_init()
473 (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) || in m88e1111_config_init()
474 (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) || in m88e1111_config_init()
[all …]
/linux-4.1.27/drivers/isdn/act2000/
Dmodule.c338 card->interface.statcallb(&cmd); in act2000_command()
590 card->interface.owner = THIS_MODULE; in act2000_alloccard()
591 card->interface.channels = ACT2000_BCH; in act2000_alloccard()
592 card->interface.maxbufsize = 4000; in act2000_alloccard()
593 card->interface.command = if_command; in act2000_alloccard()
594 card->interface.writebuf_skb = if_sendbuf; in act2000_alloccard()
595 card->interface.writecmd = if_writecmd; in act2000_alloccard()
596 card->interface.readstat = if_readstatus; in act2000_alloccard()
597 card->interface.features = in act2000_alloccard()
602 card->interface.hl_hdrlen = 20; in act2000_alloccard()
[all …]
Dcapi.c215 card->interface.id, (card->ptype == ISDN_PTYPE_EURO) ? "euro" : "1tr6"); in actcapi_manufacturer_req_net()
216 card->interface.features &= in actcapi_manufacturer_req_net()
218 card->interface.features |= in actcapi_manufacturer_req_net()
565 card->interface.rcvcallb_skb(card->myid, chan, skb); in actcapi_data_b3_ind()
666 card->interface.statcallb(&cmd); in actcapi_dispatch()
679 card->interface.statcallb(&cmd); in actcapi_dispatch()
712 if (card->interface.statcallb(&cmd) == 2) in actcapi_dispatch()
750 card->interface.statcallb(&cmd); in actcapi_dispatch()
765 card->interface.statcallb(&cmd); in actcapi_dispatch()
773 card->interface.statcallb(&cmd); in actcapi_dispatch()
[all …]
/linux-4.1.27/Documentation/isdn/
DREADME.concap1 Description of the "concap" encapsulation protocol interface
4 The "concap" interface is intended to be used by network device
14 interface, please let me know. I'm willing to include them in future
16 changed interface).
29 user space utility (isdnctrl). The isdn network interface code then
34 protocol which is unique to the hardware type of the interface. The LAN
54 than encapsulation protocols for lan devices. Thus, network interface
63 interface between the network interface code and the encapsulation
73 from the hardware specific interface stuff such code could be shared
85 a (somewhere else configured) remote phone number. For an X25-interface
[all …]
DREADME60 A low-level-driver can register itself through an interface (which is
288 calls and are NOT assigned to a specific tty or network interface.
290 interface and then for an opened tty which:
296 4. Either the channel is not bound exclusively to another Net-interface, or
297 it is bound AND the other checks apply to exactly this interface.
300 Only when a matching interface or tty is found is the call accepted
310 requested protocols for the B-channel. If a net-interface, however
315 If an incoming call matches one network interface, it gets connected to it.
317 a network interface, the first tty gets a "RING" and so on.
356 d) For networking, continue: Create an interface:
[all …]
DsyncPPP.FAQ63 my ISDN interface has a HWaddr and IRQ=0 and Base
104 over the network interface of isdn4linux ..
132 A: you must bind a network interface explicitly to
134 interface) individually configured ipppd.
148 isdn/ippp network-interface.
156 a packet to the ippp network-interface to trigger
158 A default route to the ippp-interface will work.
160 interface.
162 route to the ippp interface, you may take any
165 this subnet to the ippp interface.
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dusbtouchscreen.c112 struct usb_interface *interface; member
266 struct usb_device *udev = interface_to_usbdev(usbtouch->interface); in e2i_init()
272 dev_dbg(&usbtouch->interface->dev, in e2i_init()
311 struct usb_device *udev = interface_to_usbdev(usbtouch->interface); in egalax_init()
462 struct usb_device *udev = interface_to_usbdev(usbtouch->interface); in mtouch_init()
468 dev_dbg(&usbtouch->interface->dev, in mtouch_init()
480 dev_dbg(&usbtouch->interface->dev, in mtouch_init()
610 struct usb_device *dev = interface_to_usbdev(usbtouch->interface); in dmc_tsc10_init()
785 struct usb_interface *intf = dev->interface; in zytronic_read_data()
862 dev_dbg(&usbtouch->interface->dev, in nexio_alloc()
[all …]
Dsur40.c476 static int sur40_probe(struct usb_interface *interface, in sur40_probe() argument
479 struct usb_device *usbdev = interface_to_usbdev(interface); in sur40_probe()
487 iface_desc = &interface->altsetting[0]; in sur40_probe()
527 poll_dev->input->dev.parent = &interface->dev; in sur40_probe()
530 sur40->dev = &interface->dev; in sur40_probe()
538 dev_err(&interface->dev, "Unable to allocate input buffer."); in sur40_probe()
546 dev_err(&interface->dev, in sur40_probe()
555 dev_err(&interface->dev, in sur40_probe()
584 dev_err(&interface->dev, in sur40_probe()
590 usb_set_intfdata(interface, sur40); in sur40_probe()
[all …]
/linux-4.1.27/sound/pci/asihpi/
Dhpi6205.c530 struct bus_master_interface *interface; in create_adapter_obj() local
584 interface = phw->p_interface_buffer; in create_adapter_obj()
595 if (interface->control_cache.number_of_controls) { in create_adapter_obj()
599 interface->control_cache.size_in_bytes, in create_adapter_obj()
607 interface->control_cache.size_in_bytes); in create_adapter_obj()
610 hpi_alloc_control_cache(interface-> in create_adapter_obj()
612 interface->control_cache.size_in_bytes, in create_adapter_obj()
621 interface->control_cache.physical_address32 = in create_adapter_obj()
751 struct bus_master_interface *interface = phw->p_interface_buffer; in outstream_host_buffer_allocate() local
826 status = &interface->outstream_host_buffer_status[phm-> in outstream_host_buffer_allocate()
[all …]
/linux-4.1.27/tools/hv/
Dhv_set_ifconfig.sh61 interface=$(echo $1 | awk -F - '{ print $2 }')
63 /sbin/ifdown $interface 2>/dev/null
64 /sbin/ifup $interface 2>/dev/null
/linux-4.1.27/sound/usb/bcd2000/
Dbcd2000.c351 struct usb_interface *interface) in bcd2000_free_usb_related_resources() argument
364 static int bcd2000_probe(struct usb_interface *interface, in bcd2000_probe() argument
384 err = snd_card_new(&interface->dev, index[card_index], id[card_index], in bcd2000_probe()
392 bcd2k->dev = interface_to_usbdev(interface); in bcd2000_probe()
395 bcd2k->intf = interface; in bcd2000_probe()
397 snd_card_set_dev(card, &interface->dev); in bcd2000_probe()
414 usb_set_intfdata(interface, bcd2k); in bcd2000_probe()
422 bcd2000_free_usb_related_resources(bcd2k, interface); in bcd2000_probe()
428 static void bcd2000_disconnect(struct usb_interface *interface) in bcd2000_disconnect() argument
430 struct bcd2000 *bcd2k = usb_get_intfdata(interface); in bcd2000_disconnect()
[all …]
/linux-4.1.27/Documentation/infiniband/
Dipoib.txt6 setting the interface type to ARPHRD_INFINIBAND and the hardware
12 When the IPoIB driver is loaded, it creates one interface for each
13 port using the P_Key at index 0. To create an interface with a
14 different P_Key, write the desired P_Key into the main interface's
19 This will create an interface named ib0.8001 with P_Key 0x8001. To
24 The P_Key for any interface is given by the "pkey" file, and the
25 main interface for a subinterface is in "parent."
27 Child interface create/delete can also be done using IPoIB's
33 connected. The mode is set and read through an interface's
37 and so the interface MTU has is equal to the IB L2 MTU minus the
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dusb.c69 struct usb_interface *interface; member
297 struct usb_interface *interface = ar_usb->interface; in ath6kl_usb_setup_pipe_resources() local
298 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath6kl_usb_setup_pipe_resources()
605 usb_set_intfdata(ar_usb->interface, NULL); in ath6kl_usb_destroy()
613 static struct ath6kl_usb *ath6kl_usb_create(struct usb_interface *interface) in ath6kl_usb_create() argument
615 struct usb_device *dev = interface_to_usbdev(interface); in ath6kl_usb_create()
625 usb_set_intfdata(interface, ar_usb); in ath6kl_usb_create()
628 ar_usb->interface = interface; in ath6kl_usb_create()
660 static void ath6kl_usb_device_detached(struct usb_interface *interface) in ath6kl_usb_device_detached() argument
664 ar_usb = usb_get_intfdata(interface); in ath6kl_usb_device_detached()
[all …]
/linux-4.1.27/arch/mips/loongson1/common/
Dplatform.c100 switch (plat_dat->interface) { in ls1x_eth_mux_init()
109 plat_dat->interface); in ls1x_eth_mux_init()
114 switch (plat_dat->interface) { in ls1x_eth_mux_init()
123 plat_dat->interface); in ls1x_eth_mux_init()
136 .interface = PHY_INTERFACE_MODE_MII,
170 .interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/Documentation/networking/
Doperstates.txt5 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.
28 These values contain interface state:
35 flag to determine whether they should use the interface.
43 contains RFC2863 state of the interface in numeric representation:
54 plugged or interface is ADMIN down.
56 Interfaces stacked on an interface that is IF_OPER_DOWN show this
113 IF_OPER_LOWERLAYERDOWN if the interface is stacked, IF_OPER_DOWN
128 Applications have to use the netlink interface to influence the
[all …]
Dnfc.txt5 NFC device drivers development and to create an unified userspace interface.
7 This document covers the architecture overview, the device driver interface
8 description and the userspace interface description.
19 providing the device driver interface. On the other side, it is also
20 responsible for providing an interface to control operations and low-level
25 The low-level data exchange interface is provided by the new socket family
66 Userspace interface
69 The userspace interface is divided in control operations and low-level data
74 Generic netlink is used to implement the interface to the control operations.
Dalias.txt6 per interface. Newer tools such as iproute2 support multiple
7 address/prefixes per interface, but aliases are still supported
14 Alias creation is done by 'magic' interface naming: eg. to create a
21 Please note: The route always points to the base interface.
Dppp_generic.txt11 * the network interface unit (ppp0 etc.)
12 * the interface to the networking code
15 * the interface to pppd, via a /dev/ppp character device
25 has a very simple interface with the generic PPP code: it merely has
33 be linked to each ppp network interface unit. The generic layer is
56 * ioctl() provides an interface which can be used by a user-space
90 interface to which this channel is connected, or -1 if the channel
110 negotiation, accessing the channel through the /dev/ppp interface.
112 At the interface to the PPP generic layer, PPP frames are stored in
149 transmit packets for the PPP unit (network interface device) plus a
[all …]
Dcxgb.txt38 The interface used to control this feature is ethtool. Please see the
44 ethtool -C <interface> adaptive-rx on
48 ethtool -C <interface> adaptive-rx off
53 ethtool -C <interface> rx-usecs <microseconds>
61 ethtool -C <interface> adaptive-rx off rx-usecs <microseconds>
69 ethtool -c <interface>
76 to offload portions of outbound TCP processing to a network interface card
79 The interface used to control this feature is ethtool version 1.8 or higher.
85 ethtool -K <interface> tso off
89 ethtool -K <interface> tso on
[all …]
Dnetconsole.txt17 the specified interface as soon as possible. While this doesn't allow
31 src-ip source IP to use (interface address)
32 dev network interface (eth0)
82 parameters reconfigured at runtime from a configfs-based userspace interface.
84 from the boot/module option are not exposed via this interface, and hence
107 The interface exposes these parameters of a netconsole target to userspace:
110 dev_name Local network interface name (read-write)
115 local_mac Local interface's MAC address (read-only)
126 echo eth2 > dev_name # set local interface
131 You can also update the local interface dynamically. This is especially
/linux-4.1.27/Documentation/hwmon/
Dpwm-fan5 generic PWM interface thus it is hardware independent. It can be used on
14 The driver implements a simple interface for driving a fan connected to
15 a PWM output. It uses the generic PWM interface, thus it can be used with
17 the hwmon's sysfs interface.
Dina2xx41 interface. The INA219 monitors both shunt drop and supply voltage, with
45 interface. The INA220 monitors both shunt drop and supply voltage.
47 The INA226 is a current shunt and power monitor with an I2C interface.
51 with an I2C interface. The chips monitor both a shunt voltage drop and
60 Documentation/hwmon/sysfs-interface. Internally the interval is the sum of
Dadt741116 be other chips that implement this interface.
18 The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
19 SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
Dw83791d82 See below for the description of the sysfs-interface.
89 The sysfs interface to the global enable is via the sysfs beep_enable file.
92 The sysfs interface to the beep bitmask has migrated from the original legacy
94 *_beep files as described in .../Documentation/hwmon/sysfs-interface.
99 (again following the pattern described in sysfs-interface).
107 NOTE: All new code should be written to use the newer sysfs-interface
108 specification as that avoids bitmap problems and is the preferred interface
116 The sysfs-interface is documented in the 'sysfs-interface' file. Only
/linux-4.1.27/drivers/usb/usbip/
Dstub_rx.c120 __u16 interface; in tweak_set_interface_cmd() local
125 interface = le16_to_cpu(req->wIndex); in tweak_set_interface_cmd()
128 interface, alternate); in tweak_set_interface_cmd()
130 ret = usb_set_interface(urb->dev, interface, alternate); in tweak_set_interface_cmd()
134 interface, alternate, ret); in tweak_set_interface_cmd()
138 interface, alternate); in tweak_set_interface_cmd()
173 if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) { in tweak_reset_device_cmd()
324 dev_err(&sdev->interface->dev, "alloc stub_priv\n"); in stub_priv_alloc()
355 dev_err(&sdev->interface->dev, "no such endpoint?, %d\n", in get_pipe()
390 dev_err(&sdev->interface->dev, "get pipe, epnum %d\n", epnum); in get_pipe()
[all …]
/linux-4.1.27/drivers/usb/serial/
Dsierra.c93 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports()
94 numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; in sierra_calc_num_ports()
142 int interface; in sierra_calc_interface() local
147 p_interface = serial->interface; in sierra_calc_interface()
155 interface = p_host_interface->desc.bInterfaceNumber; in sierra_calc_interface()
157 return interface; in sierra_calc_interface()
174 if (serial->interface->num_altsetting == 2) { in sierra_probe()
331 __u16 interface = 0; in sierra_send_setup() local
345 interface = sierra_calc_interface(serial); in sierra_send_setup()
358 interface = 0; in sierra_send_setup()
[all …]
Dbus.c54 retval = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_probe()
72 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe()
84 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_probe()
107 autopm_err = usb_autopm_get_interface(port->serial->interface); in usb_serial_device_remove()
120 usb_autopm_put_interface(port->serial->interface); in usb_serial_device_remove()
Dusb-serial.c94 dev_dbg(&serial->interface->dev, "%s %d\n", __func__, num_ports); in allocate_minors()
151 usb_put_intf(serial->interface); in destroy_serial()
194 retval = usb_autopm_get_interface(serial->interface); in serial_install()
213 usb_autopm_put_interface(serial->interface); in serial_install()
319 usb_autopm_put_interface(serial->interface); in serial_cleanup()
600 struct usb_interface *interface, in create_serial() argument
610 serial->interface = usb_get_intf(interface); in create_serial()
712 static int usb_serial_probe(struct usb_interface *interface, in usb_serial_probe() argument
715 struct device *ddev = &interface->dev; in usb_serial_probe()
716 struct usb_device *dev = interface_to_usbdev(interface); in usb_serial_probe()
[all …]
Dqcserial.c211 struct usb_host_interface *intf = serial->interface->cur_altsetting; in qcprobe()
230 if (serial->interface->num_altsetting == 2) in qcprobe()
231 intf = &serial->interface->altsetting[1]; in qcprobe()
232 else if (serial->interface->num_altsetting > 2) in qcprobe()
240 if (serial->interface->num_altsetting == 1) in qcprobe()
/linux-4.1.27/drivers/net/can/usb/
DKconfig5 tristate "EMS CPC-USB/ARM7 CAN/USB interface"
7 This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
11 tristate "ESD USB/2 CAN/USB interface"
13 This driver supports the CAN-USB/2 interface
25 tristate "Kvaser CAN/USB interface"
76 tristate "8 devices USB2CAN interface"
78 This driver supports the USB2CAN interface
/linux-4.1.27/net/ieee802154/
DKconfig16 tristate "IEEE 802.15.4 socket interface"
19 Socket interface for IEEE 802.15.4. Contains DGRAM sockets interface
20 for 802.15.4 dataframes. Also RAW socket interface to build MAC
/linux-4.1.27/Documentation/cgroups/
D00-INDEX12 - Device Whitelist Controller; description, interface and security.
14 - checkpointing; rationale to not use signals, interface.
20 - Memory Resource Controller; design, accounting, interface, testing.
28 - Description the new/next cgroup interface.
/linux-4.1.27/drivers/media/platform/exynos4-is/
DKconfig8 Say Y here to enable camera host interface devices for
17 tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver"
26 interface and video postprocessor (FIMC) devices.
45 tristate "EXYNOS FIMC-LITE camera interface driver"
52 host interface.
78 video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dspi_pl022.txt29 - pl022,interface : interface type:
36 - pl022,ctrl-len : Microwire interface: Control length
37 - pl022,wait-state : Microwire interface: Wait state
38 - pl022,duplex : Microwire interface: Full/Half duplex
60 pl022,interface = <0>;
/linux-4.1.27/drivers/isdn/isdnloop/
Disdnloop.c70 rcard->interface.rcvcallb_skb(rcard->myid, rch, skb); in isdnloop_bchan_send()
78 card->interface.statcallb(&cmd); in isdnloop_bchan_send()
252 card->interface.statcallb(&cmd); in isdnloop_parse_status()
256 card->interface.statcallb(&cmd); in isdnloop_parse_status()
262 card->interface.statcallb(&cmd); in isdnloop_parse_status()
268 card->interface.statcallb(&cmd); in isdnloop_parse_status()
348 card->interface.features |= ISDN_FEATURE_P_1TR6; in isdnloop_polldchan()
354 card->interface.features |= ISDN_FEATURE_P_EURO; in isdnloop_polldchan()
368 card->interface.statcallb(&cmd); in isdnloop_polldchan()
1008 card->interface.statcallb(&cmd); in isdnloop_writecmd()
[all …]
/linux-4.1.27/drivers/net/wireless/brcm80211/
DKconfig27 one of the bus interface support. If you choose to build a module,
37 bool "SDIO bus interface support for FullMAC driver"
44 This option enables the SDIO bus interface support for Broadcom
49 bool "USB bus interface support for FullMAC driver"
55 This option enables the USB bus interface support for Broadcom
60 bool "PCIE bus interface support for FullMAC driver"
67 This option enables the PCIE bus interface support for Broadcom
/linux-4.1.27/Documentation/devicetree/bindings/iio/adc/
Dxilinx-xadc.txt5 series 7 FPGAs from Xilinx. The XADC has a DRP interface for communication.
6 Currently two different frontends for the DRP interface exist. One that is only
9 interface. This binding document describes the bindings for both of them since
15 configuration interface to interface to the XADC hardmacro.
17 interface to the XADC hardmacro.
19 - interrupts: Interrupt for the XADC control interface.
22 clock to the AXI bus interface of the core.
/linux-4.1.27/drivers/isdn/capi/
DKconfig14 This option will provide the CAPI 2.0 interface to userspace
24 interface. It will provide a means of moving a data connection,
25 established via the usual /dev/capi20 interface to a special tty
30 tristate "CAPI2.0 capidrv interface support"
42 If you say Y here, the capidrv interface will give verbose reasons
/linux-4.1.27/drivers/isdn/icn/
Dicn.c282 card->interface.rcvcallb_skb(card->myid, channel, skb); in icn_pollbchan_receive()
363 card->interface.statcallb(&cmd); in icn_pollbchan_send()
487 card->interface.statcallb(&cmd); in icn_parse_status()
565 card->interface.statcallb(&cmd); in icn_parse_status()
569 card->interface.statcallb(&cmd); in icn_parse_status()
578 card->interface.statcallb(&cmd); in icn_parse_status()
584 card->interface.statcallb(&cmd); in icn_parse_status()
640 card->interface.features |= ISDN_FEATURE_P_1TR6; in icn_polldchan()
646 card->interface.features |= ISDN_FEATURE_P_EURO; in icn_polldchan()
677 card->interface.statcallb(&cmd); in icn_polldchan()
[all …]
/linux-4.1.27/drivers/isdn/hardware/eicon/
DKconfig33 tristate "DIVA CAPI2.0 interface support"
35 You need this to provide the CAPI interface
39 tristate "DIVA User-IDI interface support"
41 Enable support for user-mode IDI interface.
/linux-4.1.27/drivers/media/usb/hdpvr/
Dhdpvr-core.c270 static int hdpvr_probe(struct usb_interface *interface, in hdpvr_probe() argument
284 dev_err(&interface->dev, "Out of memory\n"); in hdpvr_probe()
294 if (v4l2_device_register(&interface->dev, &dev->v4l2_dev)) { in hdpvr_probe()
295 dev_err(&interface->dev, "v4l2_device_register failed\n"); in hdpvr_probe()
327 dev->udev = usb_get_dev(interface_to_usbdev(interface)); in hdpvr_probe()
331 iface_desc = interface->cur_altsetting; in hdpvr_probe()
387 retval = hdpvr_register_videodev(dev, &interface->dev, in hdpvr_probe()
414 static void hdpvr_disconnect(struct usb_interface *interface) in hdpvr_disconnect() argument
416 struct hdpvr_device *dev = to_hdpvr_dev(usb_get_intfdata(interface)); in hdpvr_disconnect()
/linux-4.1.27/drivers/isdn/gigaset/
Dusb-gigaset.c105 static int gigaset_probe(struct usb_interface *interface,
107 static void gigaset_disconnect(struct usb_interface *interface);
132 struct usb_interface *interface; /* interface for this device */ member
654 static int gigaset_probe(struct usb_interface *interface, in gigaset_probe() argument
658 struct usb_device *udev = interface_to_usbdev(interface); in gigaset_probe()
659 struct usb_host_interface *hostif = interface->cur_altsetting; in gigaset_probe()
702 ucs->interface = interface; in gigaset_probe()
703 cs->dev = &interface->dev; in gigaset_probe()
706 usb_set_intfdata(interface, cs); in gigaset_probe()
775 usb_set_intfdata(interface, NULL); in gigaset_probe()
[all …]
/linux-4.1.27/drivers/spmi/
DKconfig8 serial interface between baseband and application processors
20 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
24 other devices that have the SPMI interface.
/linux-4.1.27/drivers/staging/gdm72xx/
DKconfig34 prompt "Select interface"
37 bool "USB interface"
44 bool "SDIO interface"
59 while the interface is not in use.
/linux-4.1.27/arch/ia64/include/asm/sn/
Dbte.h54 #define BTE_BASE_ADDR(interface) \ argument
55 (is_shub2() ? (interface == 0) ? SH2_BT_ENG_CSR_0 : \
56 (interface == 1) ? SH2_BT_ENG_CSR_1 : \
57 (interface == 2) ? SH2_BT_ENG_CSR_2 : \
59 : (interface == 0) ? IIO_IBLS0 : IIO_IBLS1)
/linux-4.1.27/drivers/net/ethernet/marvell/
DKconfig35 tristate "Marvell MDIO interface support"
39 This driver supports the MDIO interface found in the network
40 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
46 tristate "Marvell Armada 370/38x/XP network interface support"
50 This driver supports the network interface units in the
58 tristate "Marvell Armada 375 network interface support"
62 This driver supports the network interface units in the
99 bool "Debugging interface"
134 bool "Debugging interface"
/linux-4.1.27/drivers/bluetooth/
DKconfig19 USB interface.
41 SDIO interface.
52 serial port interface. You will also need this driver if you have
65 with UART interface, including PCMCIA and CF cards.
110 user the Bluetooth HCI over a serial port interface. The HCI
123 port interface for Intel Bluetooth controllers.
134 port interface for Broadcom Bluetooth controllers.
168 interface:
180 Nokia DTL1 interface:
194 3Com BT3C interface:
[all …]
/linux-4.1.27/Documentation/ABI/
DREADME22 as the main development of this interface has been completed.
23 The interface can be changed to add new features, but the
24 current interface will not break by doing this, unless grave
37 time. The description of the interface will document the reason
46 What: Short description of the interface
49 Contact: Primary contact for this interface (may be a mailing list)
50 Description: Long description of the interface and how to use it.
51 Users: All users of this interface who wish to be notified when
/linux-4.1.27/Documentation/ide/
Dide-tape.txt6 request-list for the block device interface. The character device
7 interface, on the other hand, creates new requests, adds them
13 The character device interface consists of the following devices:
22 The general magnetic tape commands compatible interface, as defined by
26 flag, can be configured by issuing an ioctl to the block device interface,
30 the character device interface.
/linux-4.1.27/drivers/char/ipmi/
DKconfig25 generate an IPMI event describing the panic to each interface
41 tristate 'Device interface for IPMI'
43 This provides an IOCTL interface to the IPMI message handler so
69 Provides a driver for a SMBus interface to a BMC, meaning that you
71 standard interface. This module requires I2C support.
75 tristate 'POWERNV (OPAL firmware) IPMI interface'
/linux-4.1.27/Documentation/leds/
Dleds-lp5523.txt13 the led class control interface.
33 1) Legacy interface - enginex_mode, enginex_load and enginex_leds
34 Control interface for the engines:
49 2) Firmware interface - LP55xx common interface
Dleds-lp5521.txt14 the led class control interface. Channels have generic names:
23 1) Legacy interface - enginex_mode and enginex_load
24 Control interface for the engines:
38 2) Firmware interface - LP55xx common interface
/linux-4.1.27/Documentation/fb/
Dmetronomefb.txt11 Metronome is interfaced to the host CPU through the AMLCD interface. The
13 which is then delivered to the AMLCD interface by a host specific method.
21 interface to the metronome controller. The waveform information is expected to
22 be delivered from userspace via the firmware class interface. The waveform file
33 Metronomefb uses the deferred IO interface so that it can provide a memory
Dudlfb.txt28 capable system. On Linux, number of displays is limited by fbdev interface
30 host controller share the same 480Mbs USB 2.0 interface.
32 Advantages of supporting DisplayLink chips with kernel framebuffer interface:
35 one-to-one with the fbdev interface, making the driver quite small and
37 * X servers and other applications can use the standard fbdev interface
44 * Fbdev's mmap interface assumes a real hardware framebuffer is mapped.
49 interface to allow mmap clients to report damage, for the benefit
66 At that point, a /dev/fb? interface will be present for user-mode applications
76 code. They write to the standard framebuffer interface and rely on udlfb
79 damage interface (which will hopefully be standardized for all virtual
/linux-4.1.27/drivers/virt/
DKconfig23 1) An ioctl interface for querying and managing partitions.
25 2) A file interface to reading incoming doorbells.
30 4) A kernel interface for receiving callbacks when a managed
/linux-4.1.27/sound/usb/
Dcard.c126 subs->interface = -1; in snd_usb_stream_disconnect()
132 static int snd_usb_create_stream(struct snd_usb_audio *chip, int ctrlif, int interface) in snd_usb_create_stream() argument
137 struct usb_interface *iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream()
141 ctrlif, interface); in snd_usb_create_stream()
154 interface == 0 && in snd_usb_create_stream()
157 interface = 2; in snd_usb_create_stream()
158 iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream()
167 ctrlif, interface); in snd_usb_create_stream()
179 ctrlif, interface); in snd_usb_create_stream()
192 ctrlif, interface, altsd->bInterfaceClass); in snd_usb_create_stream()
[all …]
/linux-4.1.27/Documentation/cpu-freq/
Dpcc-cpufreq.txt2 * pcc-cpufreq.txt - PCC interface documentation
33 1.1 PCC interface
46 Processor Clocking Control (PCC) is an interface between the platform
51 interface.
53 OS utilizes the PCC interface to inform platform firmware what frequency the
59 1.1 PCC interface:
71 "status" interface. PCCH() also contains details on how to access the platform
74 The following commands are supported by the PCC interface:
89 The PCC driver fills in the command interface, and the input buffer and
116 * supports the PCC interface, and the associated PCCH() and PCCP() methods
[all …]
/linux-4.1.27/drivers/usb/gadget/
Dcomposite.c351 config->interface[id] = function; in usb_interface_id()
674 struct usb_function *f = c->interface[tmp]; in set_config()
757 memset(config->interface, 0, sizeof(config->interface)); in usb_add_config_only()
826 struct usb_function *f = config->interface[i]; in usb_add_config()
1303 f = c->interface[i]; in count_ext_compat()
1327 f = c->interface[i]; in fill_ext_compat()
1351 static int count_ext_prop(struct usb_configuration *c, int interface) in count_ext_prop() argument
1356 f = c->interface[interface]; in count_ext_prop()
1360 if (interface != f->os_desc_table[j].if_id) in count_ext_prop()
1369 static int len_ext_prop(struct usb_configuration *c, int interface) in len_ext_prop() argument
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhif_usb.c1110 &hif_dev->interface->dev, in ath9k_hif_usb_firmware_cb()
1138 static int send_eject_command(struct usb_interface *interface) in send_eject_command() argument
1140 struct usb_device *udev = interface_to_usbdev(interface); in send_eject_command()
1141 struct usb_host_interface *iface_desc = &interface->altsetting[0]; in send_eject_command()
1186 usb_set_intfdata(interface, NULL); in send_eject_command()
1190 static int ath9k_hif_usb_probe(struct usb_interface *interface, in ath9k_hif_usb_probe() argument
1193 struct usb_device *udev = interface_to_usbdev(interface); in ath9k_hif_usb_probe()
1198 return send_eject_command(interface); in ath9k_hif_usb_probe()
1209 hif_dev->interface = interface; in ath9k_hif_usb_probe()
1214 usb_set_intfdata(interface, hif_dev); in ath9k_hif_usb_probe()
[all …]
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
DTODO4 - User space interface refinement
8 - Single interface header might suffice
9 - Current interface forces to configure everything at once
27 As of now since the interface will undergo few changes all the include
/linux-4.1.27/arch/mips/boot/dts/cavium-octeon/
Docteon_68xx.dts260 interface@4 {
261 compatible = "cavium,octeon-3860-pip-interface";
264 reg = <0x4>; /* interface */
292 interface@3 {
293 compatible = "cavium,octeon-3860-pip-interface";
296 reg = <0x3>; /* interface */
324 interface@2 {
325 compatible = "cavium,octeon-3860-pip-interface";
328 reg = <0x2>; /* interface */
356 interface@1 {
[all …]
/linux-4.1.27/drivers/usb/core/
Dmessage.c1160 dev->actconfig->interface[i]->unregistering = 1; in usb_disable_device()
1163 struct usb_interface *interface; in usb_disable_device() local
1166 interface = dev->actconfig->interface[i]; in usb_disable_device()
1167 if (!device_is_registered(&interface->dev)) in usb_disable_device()
1170 dev_name(&interface->dev)); in usb_disable_device()
1171 remove_intf_ep_devs(interface); in usb_disable_device()
1172 device_del(&interface->dev); in usb_disable_device()
1179 put_device(&dev->actconfig->interface[i]->dev); in usb_disable_device()
1180 dev->actconfig->interface[i] = NULL; in usb_disable_device()
1289 int usb_set_interface(struct usb_device *dev, int interface, int alternate) in usb_set_interface() argument
[all …]
/linux-4.1.27/Documentation/arm/OMAP/
Domap_pm2 The OMAP PM interface
5 This document describes the temporary OMAP PM interface. Driver
9 interface into the Linux PM QoS code.
31 This document proposes the OMAP PM interface, including the following
50 Further documentation for all OMAP PM interface functions can be
59 happens, existing drivers using the OMAP PM interface can be modified
60 to use the Linux PM QoS code; and the OMAP PM interface can disappear.
107 Other specialized interface functions
114 frequency. The OMAP PM interface contains functions for these
/linux-4.1.27/drivers/pnp/pnpbios/
DKconfig26 bool "Plug and Play BIOS /proc interface"
32 interface is potentially dangerous because the PNPBIOS driver will
35 in the PNPBIOS /proc interface (e.g. "boot" configs).
38 PNPBIOS /proc interface tools (lspnp and setpnp).
/linux-4.1.27/drivers/media/pci/ivtv/
DKconfig32 tristate "Conexant cx23415/cx23416 ALSA interface for PCM audio capture"
36 This driver provides an ALSA interface as another method for user
40 The ALSA interface has much wider use in user applications performing
41 PCM audio capture, than the V4L2 "/dev/video24" PCM audio interface
/linux-4.1.27/drivers/media/usb/pvrusb2/
DKconfig25 interface for query and control of the pvrusb2 driver.
48 This option enables a DVB interface for the pvrusb2 driver.
55 bool "pvrusb2 debug interface"
58 This option enables the inclusion of a debug interface
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-cards.c1187 static int tm6000_usb_probe(struct usb_interface *interface, in tm6000_usb_probe() argument
1196 usbdev = usb_get_dev(interface_to_usbdev(interface)); in tm6000_usb_probe()
1248 for (i = 0; i < interface->num_altsetting; i++) { in tm6000_usb_probe()
1251 for (ep = 0; ep < interface->altsetting[i].desc.bNumEndpoints; ep++) { in tm6000_usb_probe()
1255 e = &interface->altsetting[i].endpoint[ep]; in tm6000_usb_probe()
1262 interface->altsetting[i].desc.bInterfaceNumber, in tm6000_usb_probe()
1263 interface->altsetting[i].desc.bInterfaceClass); in tm6000_usb_probe()
1269 &interface->altsetting[i], in tm6000_usb_probe()
1274 &interface->altsetting[i], in tm6000_usb_probe()
1282 &interface->altsetting[i], in tm6000_usb_probe()
[all …]
/linux-4.1.27/sound/usb/misc/
Dua101.c920 find_format_descriptor(struct usb_interface *interface) in find_format_descriptor() argument
926 if (interface->num_altsetting != 2) { in find_format_descriptor()
927 dev_err(&interface->dev, "invalid num_altsetting\n"); in find_format_descriptor()
931 alt = &interface->altsetting[0]; in find_format_descriptor()
933 dev_err(&interface->dev, "invalid bNumEndpoints\n"); in find_format_descriptor()
937 alt = &interface->altsetting[1]; in find_format_descriptor()
939 dev_err(&interface->dev, "invalid bNumEndpoints\n"); in find_format_descriptor()
950 dev_err(&interface->dev, "descriptor overflow\n"); in find_format_descriptor()
958 dev_err(&interface->dev, in find_format_descriptor()
967 dev_err(&interface->dev, "sample format descriptor not found\n"); in find_format_descriptor()
[all …]
/linux-4.1.27/Documentation/i2c/
Dold-module-parameters14 sysfs-based interface is described in the documentation file
17 Below is a mapping from the old module parameters to the new interface.
27 New method (sysfs interface):
36 New method (sysfs interface):
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/
Dfsl-imx-drm.txt5 IPU or other display interface nodes that comprise the graphics subsystem.
9 - ports: Should contain a list of phandles pointing to display interface ports
63 display interface. Currently supported types: "rgb24", "rgb565", "bgr666"
76 interface-pix-fmt = "rgb24";
/linux-4.1.27/drivers/hid/usbhid/
Dhid-core.c860 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_get_raw_report() local
877 interface->desc.bInterfaceNumber, buf, count, in usbhid_get_raw_report()
893 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_set_raw_report() local
914 interface->desc.bInterfaceNumber, buf, count, in usbhid_set_raw_report()
966 struct usb_host_interface *interface = intf->cur_altsetting; in usbhid_parse() local
982 if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT) { in usbhid_parse()
983 if (interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_KEYBOARD || in usbhid_parse()
984 interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_MOUSE) in usbhid_parse()
988 if (usb_get_extra_descriptor(interface, HID_DT_HID, &hdesc) && in usbhid_parse()
989 (!interface->desc.bNumEndpoints || in usbhid_parse()
[all …]
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-kovaplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
43 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
Dsysfs-driver-hid-roccat-pyra1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
19 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
28 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
52 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
65 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
/linux-4.1.27/drivers/mmc/host/
DKconfig46 If you have a controller with this interface, say Y or M here. You
47 also need to enable an appropriate bus interface.
79 If you have a controller with this interface, say Y or M here.
105 If you have a controller with this interface, say Y or M here.
116 If you have a controller with this interface, say Y or M here.
128 If you have a controller with this interface, say Y or M here.
140 If you have a controller with this interface, say Y or M here.
154 If you have a controller with this interface, say Y or M here.
165 If you have a controller with this interface, say Y or M here.
178 If you have a controller with this interface, say Y or M here.
[all …]
/linux-4.1.27/arch/mips/lasat/
DKconfig6 tristate "PICVUE LCD display driver /proc interface"
14 bool "LASAT sysctl interface"
/linux-4.1.27/drivers/memstick/host/
DKconfig24 tristate "JMicron JMB38X MemoryStick interface support"
35 tristate "Ricoh R5C592 MemoryStick interface support"
50 Say Y here to include driver code to support Memstick card interface
60 Say Y here to include driver code to support Memstick card interface
/linux-4.1.27/drivers/media/mmc/siano/
DKconfig6 tristate "Siano SMS1xxx based MDTV via SDIO interface"
13 Choose if you would like to have Siano's support for SDIO interface
/linux-4.1.27/drivers/net/ethernet/ti/
Dnetcp_sgmii.c70 int netcp_sgmii_config(void __iomem *sgmii_ofs, int port, u32 interface) in netcp_sgmii_config() argument
76 switch (interface) { in netcp_sgmii_config()
99 WARN_ONCE(1, "Invalid sgmii interface: %d\n", interface); in netcp_sgmii_config()
/linux-4.1.27/include/uapi/linux/
Dusbdevice_fs.h57 unsigned int interface; member
69 unsigned int interface; member
146 unsigned int interface; member
/linux-4.1.27/drivers/net/wireless/mwifiex/
DKconfig17 8786/8787/8797/8887/8897 chipsets with SDIO interface.
28 8766/8897 chipsets with PCIe interface.
39 8797/8897 chipset with USB interface.
/linux-4.1.27/include/linux/
Dphy.h87 static inline const char *phy_modes(phy_interface_t interface) in phy_modes() argument
89 switch (interface) { in phy_modes()
375 phy_interface_t interface; member
721 phy_interface_t interface);
724 u32 flags, phy_interface_t interface);
727 phy_interface_t interface);
730 phy_interface_t interface);
/linux-4.1.27/Documentation/accounting/
Dtaskstats.txt1 Per-task statistics interface
5 Taskstats is a netlink-based interface for sending per-task and
11 - unified interface for multiple accounting subsystems
38 to be limited and assists in flow control over the netlink interface and is
46 getdelays.c is a simple utility demonstrating usage of the taskstats interface
55 The user-kernel interface is encapsulated in include/linux/taskstats.h
57 To avoid this documentation becoming obsolete as the interface evolves, only
67 to the NETLINK_GENERIC family and using the netlink attributes interface.
136 There are two ways to extend the taskstats interface to export more
146 interface to return them. Since userspace processes each netlink attribute
[all …]

12345678