Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 25 of 61) sorted by relevance

123

/device/soc/rockchip/common/vendor/drivers/net/usb/
Dmeig_cdc_driver.c566 struct usb_interface *intf; member
613 static inline struct usb_driver *driver_of(struct usb_interface *intf) in driver_of() argument
615 return to_usb_driver(intf->dev.driver); in driver_of()
649 static int hw_cdc_bind(struct hw_cdc_net *dev, struct usb_interface *intf);
650 void hw_cdc_unbind(struct hw_cdc_net *dev, struct usb_interface *intf);
654 int hw_get_endpoints(struct hw_cdc_net *dev, struct usb_interface *intf);
665 void hw_disconnect(struct usb_interface *intf);
667 int hw_resume(struct usb_interface *intf);
668 int hw_suspend(struct usb_interface *intf, pm_message_t message);
673 int hw_get_endpoints(struct hw_cdc_net *dev, struct usb_interface *intf) in hw_get_endpoints() argument
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/
Dhalmac_api.c79 chk_pltfm_api(void *drv_adapter, enum halmac_interface intf,
84 enum halmac_interface intf, struct halmac_adapter *adapter);
114 enum halmac_interface intf, in halmac_init_adapter() argument
127 status = chk_pltfm_api(drv_adapter, intf, pltfm_api); in halmac_init_adapter()
162 intf = (intf == HALMAC_INTERFACE_AXI) ? HALMAC_INTERFACE_PCIE : intf; in halmac_init_adapter()
163 adapter->intf = intf; in halmac_init_adapter()
165 if (get_chip_info(drv_adapter, pltfm_api, intf, adapter) in halmac_init_adapter()
312 chk_pltfm_api(void *drv_adapter, enum halmac_interface intf, in chk_pltfm_api() argument
321 if (intf == HALMAC_INTERFACE_SDIO) { in chk_pltfm_api()
374 if (intf == HALMAC_INTERFACE_USB || intf == HALMAC_INTERFACE_PCIE) { in chk_pltfm_api()
[all …]
Dhalmac_api.h115 enum halmac_interface intf,
/device/soc/rockchip/common/sdk_linux/drivers/media/usb/uvc/
Duvc_driver.c549 usb_put_intf(stream->intf); in uvc_stream_delete()
556 static struct uvc_streaming *uvc_stream_new(struct uvc_device *dev, struct usb_interface *intf) in uvc_stream_new() argument
568 stream->intf = usb_get_intf(intf); in uvc_stream_new()
569 stream->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_stream_new()
588 struct usb_interface *intf = streaming->intf; in uvc_parse_format() local
589 struct usb_host_interface *alts = intf->cur_altsetting; in uvc_parse_format()
846 static int uvc_parse_streaming(struct uvc_device *dev, struct usb_interface *intf) in uvc_parse_streaming() argument
851 struct usb_host_interface *alts = &intf->altsetting[0]; in uvc_parse_streaming()
860 if (intf->cur_altsetting->desc.bInterfaceSubClass != UVC_SC_VIDEOSTREAMING) { in uvc_parse_streaming()
864 dev->udev->devnum, intf->altsetting[0].desc.bInterfaceNumber); in uvc_parse_streaming()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/halmac_88xx/halmac_8822c/
Dhalmac_common_8822c.c63 if (adapter->intf != HALMAC_INTERFACE_SDIO) in get_hw_value_8822c()
68 if (adapter->intf != HALMAC_INTERFACE_SDIO) in get_hw_value_8822c()
123 if (adapter->intf != HALMAC_INTERFACE_PCIE) in set_hw_value_8822c()
132 if (adapter->intf != HALMAC_INTERFACE_SDIO) in set_hw_value_8822c()
139 if (adapter->intf != HALMAC_INTERFACE_SDIO) in set_hw_value_8822c()
144 if (adapter->intf != HALMAC_INTERFACE_SDIO) in set_hw_value_8822c()
Dhalmac_init_8822c.c470 if (adapter->intf == HALMAC_INTERFACE_SDIO) { in mount_api_8822c()
496 } else if (adapter->intf == HALMAC_INTERFACE_USB) { in mount_api_8822c()
503 } else if (adapter->intf == HALMAC_INTERFACE_PCIE) { in mount_api_8822c()
589 if (adapter->intf == HALMAC_INTERFACE_SDIO) { in txdma_queue_mapping_8822c()
591 } else if (adapter->intf == HALMAC_INTERFACE_PCIE) { in txdma_queue_mapping_8822c()
593 } else if (adapter->intf == HALMAC_INTERFACE_USB) { in txdma_queue_mapping_8822c()
642 if (adapter->intf == HALMAC_INTERFACE_SDIO) { in priority_queue_cfg_8822c()
644 } else if (adapter->intf == HALMAC_INTERFACE_PCIE) { in priority_queue_cfg_8822c()
646 } else if (adapter->intf == HALMAC_INTERFACE_USB) { in priority_queue_cfg_8822c()
688 if (adapter->intf == HALMAC_INTERFACE_SDIO) { in priority_queue_cfg_8822c()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddbus_usb_linux.c171 #define USB_AUTOPM_SET_INTERFACE(intf) usb_autopm_set_interface(intf) argument
177 #define USB_AUTOPM_GET_INTERFACE(intf) usb_autopm_get_interface(intf) argument
178 #define USB_AUTOPM_PUT_INTERFACE(intf) usb_autopm_put_interface(intf) argument
179 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) usb_autopm_get_interface_async(intf) argument
180 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) usb_autopm_put_interface_async(intf) argument
185 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
186 #define USB_AUTOPM_PUT_INTERFACE(intf) do {} while (0) argument
187 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) do {} while (0) argument
188 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) do {} while (0) argument
221 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddbus_usb_linux.c164 #define USB_AUTOPM_SET_INTERFACE(intf) usb_autopm_set_interface(intf) argument
170 #define USB_AUTOPM_GET_INTERFACE(intf) usb_autopm_get_interface(intf) argument
171 #define USB_AUTOPM_PUT_INTERFACE(intf) usb_autopm_put_interface(intf) argument
172 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) usb_autopm_get_interface_async(intf) argument
173 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) usb_autopm_put_interface_async(intf) argument
178 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
179 #define USB_AUTOPM_PUT_INTERFACE(intf) do {} while (0) argument
180 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) do {} while (0) argument
181 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) do {} while (0) argument
214 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddbus_usb_linux.c170 #define USB_AUTOPM_SET_INTERFACE(intf) usb_autopm_set_interface(intf) argument
176 #define USB_AUTOPM_GET_INTERFACE(intf) usb_autopm_get_interface(intf) argument
177 #define USB_AUTOPM_PUT_INTERFACE(intf) usb_autopm_put_interface(intf) argument
178 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) usb_autopm_get_interface_async(intf) argument
179 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) usb_autopm_put_interface_async(intf) argument
184 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
185 #define USB_AUTOPM_PUT_INTERFACE(intf) do {} while (0) argument
186 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) do {} while (0) argument
187 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) do {} while (0) argument
220 #define USB_AUTOPM_GET_INTERFACE(intf) do {} while (0) argument
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddbus_usb_linux.c168 #define USB_AUTOPM_SET_INTERFACE(intf) usb_autopm_set_interface(intf) argument
174 #define USB_AUTOPM_GET_INTERFACE(intf) usb_autopm_get_interface(intf) argument
175 #define USB_AUTOPM_PUT_INTERFACE(intf) usb_autopm_put_interface(intf) argument
176 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) \ argument
177 usb_autopm_get_interface_async(intf)
178 #define USB_AUTOPM_PUT_INTERFACE_ASYNC(intf) \ argument
179 usb_autopm_put_interface_async(intf)
184 #define USB_AUTOPM_GET_INTERFACE(intf) \ argument
187 #define USB_AUTOPM_PUT_INTERFACE(intf) \ argument
190 #define USB_AUTOPM_GET_INTERFACE_ASYNC(intf) \ argument
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_io.c68 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read8()
81 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read16()
94 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_read32()
107 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_write8()
120 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_write16()
134 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_write32()
149 struct intf_hdl *pintfhdl = (struct intf_hdl *)(&(pio_priv->intf)); in _rtw_writeN()
164 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_sd_f0_read8()
182 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_sd_iread8()
199 struct intf_hdl *pintfhdl = &(pio_priv->intf); in _rtw_sd_iread16()
[all …]
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c60 struct usb_interface_descriptor intf; member
65 struct usb_interface_descriptor intf; member
85 .intf =
87 .bLength = sizeof(descriptors.fs_descs.intf),
111 .intf =
113 .bLength = sizeof(descriptors.hs_descs.intf),
139 .intf =
141 .bLength = sizeof(descriptors.ss_descs.intf),
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/
Ddvbdev.c418 link = media_create_intf_link(dvbdev->entity, &dvbdev->intf_devnode->intf, in dvb_register_media_device()
549 struct media_interface *intf, in dvb_create_io_intf_links() argument
560 link = media_create_intf_link(entity, intf, in dvb_create_io_intf_links()
576 struct media_interface *intf; in dvb_create_media_graph() local
713 media_device_for_each_intf(intf, mdev) { in dvb_create_media_graph()
714 if (intf->type == MEDIA_INTF_T_DVB_CA && ca) { in dvb_create_media_graph()
715 link = media_create_intf_link(ca, intf, in dvb_create_media_graph()
721 if (intf->type == MEDIA_INTF_T_DVB_FE && tuner) { in dvb_create_media_graph()
722 link = media_create_intf_link(tuner, intf, in dvb_create_media_graph()
733 if (intf->type == MEDIA_INTF_T_DVB_DVR && demux) { in dvb_create_media_graph()
[all …]
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c61 struct usb_interface_descriptor intf; member
66 struct usb_interface_descriptor intf; member
87 .intf =
89 .bLength = sizeof(descriptors.fs_descs.intf),
113 .intf =
115 .bLength = sizeof(descriptors.hs_descs.intf),
141 .intf =
143 .bLength = sizeof(descriptors.ss_descs.intf),
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/bluetooth/
Drtk_btusb.c134 struct usb_interface *intf; member
239 static struct btusb_data *rtk_alloc(struct usb_interface *intf) in rtk_alloc() argument
245 data = devm_kzalloc(&intf->dev, sizeof(*data), GFP_KERNEL); in rtk_alloc()
1272 ret = usb_autopm_get_interface(data->intf); in btchr_ioctl()
1278 usb_autopm_put_interface(data->intf); in btchr_ioctl()
2743 fw_info_4_suspend->intf = fw_info->intf; in suspend_firmware_info_init()
2797 firmware_info *firmware_info_init(struct usb_interface *intf) in firmware_info_init() argument
2799 struct usb_device *udev = interface_to_usbdev(intf); in firmware_info_init()
2829 fw_info->intf = intf; in firmware_info_init()
2859 void firmware_info_destroy(struct usb_interface *intf) in firmware_info_destroy() argument
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
Dusbnet.h30 struct usb_interface *intf; member
88 static inline struct usb_driver *driver_of(struct usb_interface *intf) in driver_of() argument
90 return to_usb_driver(intf->dev.driver); in driver_of()
208 extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/drm_hal/
Ddrm_hal_display.h57 …int (*attach_intf)(enum drm_hal_disp_chn disp, enum drm_hal_disp_intf_type intf, const void *intf_…
58 …int (*detach_intf)(enum drm_hal_disp_chn disp, enum drm_hal_disp_intf_type intf, const void *intf_…
Ddrm_hal_display.c440 static int drm_hal_disp_attach_intf(enum drm_hal_disp_chn disp, enum drm_hal_disp_intf_type intf, c… in drm_hal_disp_attach_intf() argument
449 switch (intf) { in drm_hal_disp_attach_intf()
457 drm_hal_err("invalid interface %u!\n", intf); in drm_hal_disp_attach_intf()
466 static int drm_hal_disp_detach_intf(enum drm_hal_disp_chn disp, enum drm_hal_disp_intf_type intf, c… in drm_hal_disp_detach_intf() argument
474 switch (intf) { in drm_hal_disp_detach_intf()
482 drm_hal_err("invalid interface %u!\n", intf); in drm_hal_disp_detach_intf()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_vdevice.c22 struct disp_vdevice_interface_para intf; member
99 para->lcd_if = vdevicep->intf.intf; in vdevice_clk_config()
100 para->lcd_hv_if = vdevicep->intf.sub_intf; in vdevice_clk_config()
102 para->ccir_clk_div = vdevicep->intf.ccir_clk_div; in vdevice_clk_config()
364 vdevicep->func.get_interface_para((void *)&(vdevicep->intf)); in disp_vdevice_sw_enable()
641 vdevicep->func.get_interface_para((void *)&(vdevicep->intf)); in disp_vdevice_tcon_enable()
659 disp_al_vdevice_cfg(vdevice->disp, &vdevice->timings, &vdevicep->intf, in disp_vdevice_tcon_enable()
731 vdevicep->func.get_interface_para((void *)&(vdevicep->intf)); in disp_vdevice_tcon_simple_enable()
737 disp_al_vdevice_cfg(vdevice->disp, &vdevice->timings, &vdevicep->intf, in disp_vdevice_tcon_simple_enable()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
Dhifb_graphic_hal.h44 hi_bool hal_disp_set_intf_enable(hal_disp_outputchannel chan, hi_bool intf);
53 hi_bool hal_disp_set_intf_sync_inv(hal_disp_intf intf, hal_disp_syncinv *inv);
54 hi_bool hal_disp_set_intf_multi_chn_en(hal_disp_intf intf, hal_multichn_en multi_chn_en);
55 hi_bool hal_disp_set_intf_ctrl(hal_disp_intf intf, hi_u32 *ctrl_info);
57 hi_bool hal_disp_set_intf_mux_sel(hal_disp_outputchannel chan, hal_disp_intf intf);
59 hi_bool hal_disp_set_intf_clip_enable(hal_disp_intf intf, hi_bool clip);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/hal/
Dvou_hal.c140 hi_ulong vou_get_hdmi_or_mipi_intf_abs_addr(hal_disp_intf intf, hi_ulong reg) in vou_get_hdmi_or_mipi_intf_abs_addr() argument
144 switch (intf) { in vou_get_hdmi_or_mipi_intf_abs_addr()
163 hi_ulong vou_get_intf_abs_addr(hal_disp_intf intf, hi_ulong reg) in vou_get_intf_abs_addr() argument
169 switch (intf) { in vou_get_intf_abs_addr()
260 hi_bool hal_disp_set_intf_enable(hal_disp_outputchannel chan, hi_bool intf) in hal_disp_set_intf_enable() argument
270 dhd0_ctrl.bits.intf_en = intf; in hal_disp_set_intf_enable()
450 hi_bool hal_disp_set_intf_ctrl(hal_disp_intf intf, hi_u32 *ctrl_info) in hal_disp_set_intf_ctrl() argument
460 if ((intf == VO_INTF_BT1120) || in hal_disp_set_intf_ctrl()
461 (intf == VO_INTF_BT656)) { in hal_disp_set_intf_ctrl()
463 addr_reg = vou_get_intf_abs_addr(intf, (hi_uintptr_t) & (g_vo_reg->INTF_HDMI_CTRL.u32)); in hal_disp_set_intf_ctrl()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/include/
Dvou_hal.h41 hi_bool hal_disp_set_intf_enable(hal_disp_outputchannel chan, hi_bool intf);
50 hi_bool hal_disp_set_intf_ctrl(hal_disp_intf intf, hi_u32 *ctrl_info);
51 hi_bool hal_disp_set_intf_mux_sel(hal_disp_outputchannel chan, hal_disp_intf intf);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-csi/
Dsunxi_csi.c245 csi->ncsi_if.intf = PRS_IF_INTLV_16BIT; in __csi_set_fmt_hw()
247 csi->ncsi_if.intf = PRS_IF_INTLV; in __csi_set_fmt_hw()
255 csi->ncsi_if.intf = PRS_IF_BT1120_1CH; in __csi_set_fmt_hw()
257 csi->ncsi_if.intf = PRS_IF_BT1120_2CH; in __csi_set_fmt_hw()
259 csi->ncsi_if.intf = PRS_IF_BT1120_4CH; in __csi_set_fmt_hw()
266 csi->ncsi_if.intf = PRS_IF_BT656_1CH; in __csi_set_fmt_hw()
268 csi->ncsi_if.intf = PRS_IF_BT656_2CH; in __csi_set_fmt_hw()
270 csi->ncsi_if.intf = PRS_IF_BT656_4CH; in __csi_set_fmt_hw()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_bsd.h536 struct usb_host_interface *rtw_usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t a…
538 void *rtw_usbd_get_intfdata(struct usb_interface *intf);
545 void rtw_usb_set_intfdata(struct usb_interface *intf, void *data);
551 void *usb_get_intfdata(struct usb_interface *intf);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/halmac_88xx/
Dhalmac_common_88xx.c203 pwr_sub_seq_parser_88xx(struct halmac_adapter *adapter, u8 cut, u8 intf,
261 if (adapter->intf == HALMAC_INTERFACE_SDIO && in ofld_func_cfg_88xx()
540 if (adapter->intf == HALMAC_INTERFACE_SDIO) { in set_hw_value_88xx()
1249 if (adapter->intf == HALMAC_INTERFACE_SDIO) in mac_debug_88xx()
2994 u8 intf; in pwr_seq_parser_88xx() local
3026 switch (adapter->intf) { in pwr_seq_parser_88xx()
3029 intf = HALMAC_PWR_INTF_PCI_MSK; in pwr_seq_parser_88xx()
3032 intf = HALMAC_PWR_INTF_USB_MSK; in pwr_seq_parser_88xx()
3035 intf = HALMAC_PWR_INTF_SDIO_MSK; in pwr_seq_parser_88xx()
3048 status = pwr_sub_seq_parser_88xx(adapter, cut, intf, cmd); in pwr_seq_parser_88xx()
[all …]

123