/linux-master/drivers/net/usb/ |
H A D | huawei_cdc_ncm.c | 44 rv = usb_autopm_get_interface(usbnet_dev->intf); 45 usbnet_dev->intf->needs_remote_wakeup = on; 47 usb_autopm_put_interface(usbnet_dev->intf); 52 static int huawei_cdc_ncm_wdm_manage_power(struct usb_interface *intf, argument 55 struct usbnet *usbnet_dev = usb_get_intfdata(intf); 66 struct usb_interface *intf) 85 ret = cdc_ncm_bind_common(usbnet_dev, intf, 1, drvflags); 103 cdc_ncm_unbind(usbnet_dev, intf); 117 struct usb_interface *intf) 126 cdc_ncm_unbind(usbnet_dev, intf); 65 huawei_cdc_ncm_bind(struct usbnet *usbnet_dev, struct usb_interface *intf) argument 116 huawei_cdc_ncm_unbind(struct usbnet *usbnet_dev, struct usb_interface *intf) argument 129 huawei_cdc_ncm_suspend(struct usb_interface *intf, pm_message_t message) argument 157 huawei_cdc_ncm_resume(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb.c | 28 static int mt76x2u_probe(struct usb_interface *intf, argument 43 struct usb_device *udev = interface_to_usbdev(intf); 48 mdev = mt76_alloc_device(&intf->dev, sizeof(*dev), &mt76x2u_ops, 58 usb_set_intfdata(intf, dev); 61 err = mt76u_init(mdev, intf); 81 usb_set_intfdata(intf, NULL); 87 static void mt76x2u_disconnect(struct usb_interface *intf) argument 89 struct usb_device *udev = interface_to_usbdev(intf); 90 struct mt76x02_dev *dev = usb_get_intfdata(intf); 97 usb_set_intfdata(intf, NUL 101 mt76x2u_suspend(struct usb_interface *intf, pm_message_t state) argument 111 mt76x2u_resume(struct usb_interface *intf) argument [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | sch_tbf_core.sh | 111 local intf 117 for intf in $swp1 $swp2; do 118 ip link set dev $intf up 119 mtu_set $intf 10000 122 vlan_create $intf $vlan 123 ip link set dev $intf.$vlan master br$vlan 124 ip link set dev $intf.$vlan up 138 local intf 148 for intf in $swp2 $swp1; do 150 ip link set dev $intf [all...] |
/linux-master/drivers/greybus/ |
H A D | core.c | 64 (id->vendor != bundle->intf->vendor_id)) 68 (id->product != bundle->intf->product_id)) 115 const struct gb_interface *intf = NULL; local 126 intf = to_gb_interface(dev); 127 module = intf->module; 128 hd = intf->hd; 131 intf = control->intf; 132 module = intf->module; 133 hd = intf [all...] |
H A D | control.c | 20 struct gb_interface *intf = control->connection->intf; local 33 dev_err(&intf->dev, 40 dev_err(&intf->dev, 49 dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major, 58 struct gb_interface *intf = control->connection->intf; local 70 dev_err(&intf->dev, 79 dev_dbg(&intf->dev, "%s - %u: %u.%u\n", __func__, bundle->id, 87 struct gb_interface *intf local 104 gb_control_get_manifest_size_operation(struct gb_interface *intf) argument 122 gb_control_get_manifest_operation(struct gb_interface *intf, void *manifest, size_t size) argument 444 gb_control_create(struct gb_interface *intf) argument [all...] |
/linux-master/drivers/usb/atm/ |
H A D | xusbatm.c | 41 struct usb_interface *intf; local 45 if ((intf = usb_dev->actconfig->interface[i]) && (alt = usb_altnum_to_altsetting(intf, altsetting))) 48 return intf; 53 struct usb_interface *intf, int altsetting, int claim) 55 int ifnum = intf->altsetting->desc.bInterfaceNumber; 58 if (claim && (ret = usb_driver_claim_interface(&xusbatm_usb_driver, intf, usbatm))) { 70 static void xusbatm_release_intf(struct usb_device *usb_dev, struct usb_interface *intf, int claimed) argument 73 usb_set_intfdata(intf, NULL); 74 usb_driver_release_interface(&xusbatm_usb_driver, intf); 52 xusbatm_capture_intf(struct usbatm_data *usbatm, struct usb_device *usb_dev, struct usb_interface *intf, int altsetting, int claim) argument 78 xusbatm_bind(struct usbatm_data *usbatm, struct usb_interface *intf, const struct usb_device_id *id) argument 130 xusbatm_unbind(struct usbatm_data *usbatm, struct usb_interface *intf) argument 160 xusbatm_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) argument [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_intf.c | 99 static void dpu_hw_intf_setup_timing_engine(struct dpu_hw_intf *intf, argument 103 struct dpu_hw_blk_reg_map *c = &intf->hw; 121 if (intf->cap->type == INTF_DP) 226 if (intf->cap->features & BIT(DPU_DATA_HCTL_EN)) { 242 struct dpu_hw_intf *intf, 245 struct dpu_hw_blk_reg_map *c = &intf->hw; 251 struct dpu_hw_intf *intf, 254 struct dpu_hw_blk_reg_map *c = &intf->hw; 275 struct dpu_hw_intf *intf, 278 struct dpu_hw_blk_reg_map *c = &intf 241 dpu_hw_intf_enable_timing_engine( struct dpu_hw_intf *intf, u8 enable) argument 250 dpu_hw_intf_setup_prg_fetch( struct dpu_hw_intf *intf, const struct dpu_hw_intf_prog_fetch *fetch) argument 274 dpu_hw_intf_bind_pingpong_blk( struct dpu_hw_intf *intf, const enum dpu_pingpong pp) argument 292 dpu_hw_intf_get_status( struct dpu_hw_intf *intf, struct dpu_hw_intf_status *s) argument 314 dpu_hw_intf_get_line_count(struct dpu_hw_intf *intf) argument 326 dpu_hw_intf_setup_misr(struct dpu_hw_intf *intf) argument 331 dpu_hw_intf_collect_misr(struct dpu_hw_intf *intf, u32 *misr_value) argument 336 dpu_hw_intf_enable_te(struct dpu_hw_intf *intf, struct dpu_hw_tear_check *te) argument 369 dpu_hw_intf_setup_autorefresh_config(struct dpu_hw_intf *intf, u32 frame_count, bool enable) argument 392 dpu_hw_intf_get_autorefresh_config(struct dpu_hw_intf *intf, u32 *frame_count) argument 402 dpu_hw_intf_disable_te(struct dpu_hw_intf *intf) argument 414 dpu_hw_intf_connect_external_te(struct dpu_hw_intf *intf, bool enable_external_te) argument 437 dpu_hw_intf_get_vsync_info(struct dpu_hw_intf *intf, struct dpu_hw_pp_vsync_info *info) argument 464 dpu_hw_intf_vsync_sel(struct dpu_hw_intf *intf, u32 vsync_source) argument 477 dpu_hw_intf_disable_autorefresh(struct dpu_hw_intf *intf, uint32_t encoder_id, u16 vdisplay) argument 521 dpu_hw_intf_program_intf_cmd_cfg(struct dpu_hw_intf *intf, struct dpu_hw_intf_cmd_mode_cfg *cmd_mode_cfg) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 279 unsigned long (*rx_desc_read)(struct bcmasp_intf *intf); 280 void (*rx_buffer_write)(struct bcmasp_intf *intf, dma_addr_t addr); 281 void (*rx_desc_write)(struct bcmasp_intf *intf, dma_addr_t addr); 282 unsigned long (*tx_read)(struct bcmasp_intf *intf); 283 void (*tx_write)(struct bcmasp_intf *intf, dma_addr_t addr); 348 /* Used if per intf wol irq */ 385 void (*enable_wol)(struct bcmasp_intf *intf, bool en); 405 void (*enable_wol)(struct bcmasp_intf *intf, bool en); 408 void (*eee_fixup)(struct bcmasp_intf *intf, bool en); 429 static inline unsigned long bcmasp_intf_rx_desc_read(struct bcmasp_intf *intf) argument 434 bcmasp_intf_rx_buffer_write(struct bcmasp_intf *intf, dma_addr_t addr) argument 440 bcmasp_intf_rx_desc_write(struct bcmasp_intf *intf, dma_addr_t addr) argument 446 bcmasp_intf_tx_read(struct bcmasp_intf *intf) argument 451 bcmasp_intf_tx_write(struct bcmasp_intf *intf, dma_addr_t addr) argument [all...] |
H A D | bcmasp.c | 34 void bcmasp_enable_phy_irq(struct bcmasp_intf *intf, int en) argument 36 struct bcmasp_priv *priv = intf->parent; 39 if (!intf->internal_phy) 43 _intr2_mask_clear(priv, ASP_INTR2_PHY_EVENT(intf->channel)); 45 _intr2_mask_set(priv, ASP_INTR2_PHY_EVENT(intf->channel)); 48 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en) argument 50 struct bcmasp_priv *priv = intf->parent; 53 _intr2_mask_clear(priv, ASP_INTR2_TX_DESC(intf->channel)); 55 _intr2_mask_set(priv, ASP_INTR2_TX_DESC(intf->channel)); 59 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, in argument 81 bcmasp_intr2_handling(struct bcmasp_intf *intf, u32 status) argument 104 struct bcmasp_intf *intf; local 124 bcmasp_flush_rx_port(struct bcmasp_intf *intf) argument 514 bcmasp_netfilt_suspend(struct bcmasp_intf *intf) argument 548 bcmasp_netfilt_get_all_active(struct bcmasp_intf *intf, u32 *rule_locs, u32 *rule_cnt) argument 575 bcmasp_netfilt_get_active(struct bcmasp_intf *intf) argument 597 bcmasp_netfilt_check_dup(struct bcmasp_intf *intf, struct ethtool_rx_flow_spec *fs) argument 664 bcmasp_netfilt_get_init(struct bcmasp_intf *intf, u32 loc, bool wake_filter, bool init) argument 730 bcmasp_netfilt_release(struct bcmasp_intf *intf, struct bcmasp_net_filter *nfilt) argument 750 bcmasp_set_mda_filter(struct bcmasp_intf *intf, const unsigned char *addr, unsigned char *mask, unsigned int i) argument 771 bcmasp_en_mda_filter(struct bcmasp_intf *intf, bool en, unsigned int i) argument 818 bcmasp_set_promisc(struct bcmasp_intf *intf, bool en) argument 829 bcmasp_set_allmulti(struct bcmasp_intf *intf, bool en) argument 839 bcmasp_set_broad(struct bcmasp_intf *intf, bool en) argument 849 bcmasp_set_oaddr(struct bcmasp_intf *intf, const unsigned char *addr, bool en) argument 859 bcmasp_disable_all_filters(struct bcmasp_intf *intf) argument 875 bcmasp_combine_set_filter(struct bcmasp_intf *intf, unsigned char *addr, unsigned char *mask, int i) argument 903 bcmasp_set_en_mda_filter(struct bcmasp_intf *intf, unsigned char *addr, unsigned char *mask) argument 1047 bcmasp_core_clock_set_intf(struct bcmasp_intf *intf, bool en) argument 1128 bcmasp_enable_wol_shared(struct bcmasp_intf *intf, bool en) argument 1167 struct bcmasp_intf *intf; local 1184 bcmasp_enable_wol_per_intf(struct bcmasp_intf *intf, bool en) argument 1197 struct bcmasp_intf *intf; local 1205 bcmasp_eee_fixup(struct bcmasp_intf *intf, bool en) argument 1293 struct bcmasp_intf *intf, *n; local 1307 struct bcmasp_intf *intf; local 1440 struct bcmasp_intf *intf; local 1468 struct bcmasp_intf *intf; local [all...] |
/linux-master/sound/usb/6fire/ |
H A D | firmware.c | 190 struct usb_interface *intf, const char *fwname, 195 struct usb_device *device = interface_to_usbdev(intf); 206 dev_err(&intf->dev, 214 dev_err(&intf->dev, 224 dev_err(&intf->dev, 236 dev_err(&intf->dev, 249 dev_err(&intf->dev, 259 dev_err(&intf->dev, 268 struct usb_interface *intf, const char *fwname) 272 struct usb_device *device = interface_to_usbdev(intf); 189 usb6fire_fw_ezusb_upload( struct usb_interface *intf, const char *fwname, unsigned int postaddr, u8 *postdata, unsigned int postlen) argument 267 usb6fire_fw_fpga_upload( struct usb_interface *intf, const char *fwname) argument 329 usb6fire_fw_check(struct usb_interface *intf, const u8 *version) argument 344 usb6fire_fw_init(struct usb_interface *intf) argument [all...] |
H A D | chip.c | 80 static int usb6fire_chip_probe(struct usb_interface *intf, argument 86 struct usb_device *device = interface_to_usbdev(intf); 96 usb_set_intfdata(intf, chips[i]); 104 dev_err(&intf->dev, "too many cards registered.\n"); 111 ret = usb6fire_fw_init(intf); 119 dev_err(&intf->dev, "can't set first interface.\n"); 122 ret = snd_card_new(&intf->dev, index[regidx], id[regidx], 125 dev_err(&intf->dev, "cannot create alsa card.\n"); 158 dev_err(&intf->dev, "cannot register card."); 161 usb_set_intfdata(intf, chi 169 usb6fire_chip_disconnect(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/usb/misc/ |
H A D | usbsevseg.c | 36 struct usb_interface *intf; member in struct:usb_sevsegdev 68 rc = usb_autopm_get_interface(mydev->intf); 85 usb_autopm_put_interface(mydev->intf); 145 struct usb_interface *intf = to_usb_interface(dev); \ 146 struct usb_sevsegdev *mydev = usb_get_intfdata(intf); \ 154 struct usb_interface *intf = to_usb_interface(dev); \ 155 struct usb_sevsegdev *mydev = usb_get_intfdata(intf); \ 167 struct usb_interface *intf = to_usb_interface(dev); local 168 struct usb_sevsegdev *mydev = usb_get_intfdata(intf); 176 struct usb_interface *intf local 198 struct usb_interface *intf = to_usb_interface(dev); local 220 struct usb_interface *intf = to_usb_interface(dev); local 247 struct usb_interface *intf = to_usb_interface(dev); local 273 struct usb_interface *intf = to_usb_interface(dev); local 346 sevseg_suspend(struct usb_interface *intf, pm_message_t message) argument 356 sevseg_resume(struct usb_interface *intf) argument 368 sevseg_reset_resume(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/input/mouse/ |
H A D | synaptics_usb.c | 77 struct usb_interface *intf; member in struct:synusb 218 dev_err(&synusb->intf->dev, 247 retval = usb_autopm_get_interface(synusb->intf); 249 dev_err(&synusb->intf->dev, 258 dev_err(&synusb->intf->dev, 265 synusb->intf->needs_remote_wakeup = 1; 270 usb_autopm_put_interface(synusb->intf); 279 autopm_error = usb_autopm_get_interface(synusb->intf); 283 synusb->intf->needs_remote_wakeup = 0; 288 usb_autopm_put_interface(synusb->intf); 291 synusb_probe(struct usb_interface *intf, const struct usb_device_id *id) argument 455 synusb_disconnect(struct usb_interface *intf) argument 473 synusb_suspend(struct usb_interface *intf, pm_message_t message) argument 484 synusb_resume(struct usb_interface *intf) argument 501 synusb_pre_reset(struct usb_interface *intf) argument 511 synusb_post_reset(struct usb_interface *intf) argument 526 synusb_reset_resume(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/input/tablet/ |
H A D | acecad.c | 28 struct usb_interface *intf; member in struct:usb_acecad 41 struct usb_interface *intf = acecad->intf; local 42 struct usb_device *udev = interface_to_usbdev(intf); 53 dev_dbg(&intf->dev, "%s - urb shutting down with status: %d\n", 57 dev_dbg(&intf->dev, "%s - nonzero urb status received: %d\n", 87 dev_err(&intf->dev, 97 acecad->irq->dev = interface_to_usbdev(acecad->intf); 111 static int usb_acecad_probe(struct usb_interface *intf, const struct usb_device_id *id) argument 113 struct usb_device *dev = interface_to_usbdev(intf); 226 usb_acecad_disconnect(struct usb_interface *intf) argument [all...] |
H A D | kbtab.c | 26 struct usb_interface *intf; member in struct:kbtab 47 dev_dbg(&kbtab->intf->dev, 52 dev_dbg(&kbtab->intf->dev, 78 dev_err(&kbtab->intf->dev, 93 struct usb_device *udev = interface_to_usbdev(kbtab->intf); 109 static int kbtab_probe(struct usb_interface *intf, const struct usb_device_id *id) argument 111 struct usb_device *dev = interface_to_usbdev(intf); 117 if (intf->cur_altsetting->desc.bNumEndpoints < 1) 120 endpoint = &intf->cur_altsetting->endpoint[0].desc; 137 kbtab->intf 184 kbtab_disconnect(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/media/rc/ |
H A D | imon_raw.c | 105 static int imon_probe(struct usb_interface *intf, argument 115 udev = interface_to_usbdev(intf); 116 idesc = intf->cur_altsetting; 128 dev_err(&intf->dev, "IR endpoint missing"); 132 imon = devm_kmalloc(&intf->dev, sizeof(*imon), GFP_KERNEL); 146 imon->dev = &intf->dev; 152 rcdev = devm_rc_allocate_device(&intf->dev, RC_DRIVER_IR_RAW); 164 rcdev->dev.parent = &intf->dev; 170 ret = devm_rc_register_device(&intf->dev, rcdev); 180 usb_set_intfdata(intf, imo 190 imon_disconnect(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 93 struct xenstore_domain_interface *intf = xen_store_interface; local 95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE && 108 struct xenstore_domain_interface *intf = xen_store_interface; local 117 cons = intf->req_cons; 118 prod = intf->req_prod; 120 intf->req_cons = intf->req_prod = 0; 129 dst = get_output_chunk(cons, prod, intf->req, &avail); 142 intf 154 struct xenstore_domain_interface *intf = xen_store_interface; local 160 struct xenstore_domain_interface *intf = xen_store_interface; local 440 struct xenstore_domain_interface *intf = xen_store_interface; local [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-main.c | 48 static int pvr_probe(struct usb_interface *intf, argument 54 pvr = pvr2_context_create(intf,devid,pvr_setup_attach); 63 usb_set_intfdata(intf, pvr); 72 static void pvr_disconnect(struct usb_interface *intf) argument 74 struct pvr2_context *pvr = usb_get_intfdata(intf); 78 usb_set_intfdata (intf, NULL);
|
/linux-master/drivers/usb/class/ |
H A D | cdc-wdm.c | 85 struct usb_interface *intf; member in struct:wdm_device 119 /* return intfdata if we own the interface, else look up intf in the list */ 120 static struct wdm_device *wdm_find_device(struct usb_interface *intf) argument 126 if (desc->intf == intf) 141 if (desc->intf->minor == minor) 181 dev_dbg(&desc->intf->dev, 185 dev_dbg(&desc->intf->dev, 189 dev_dbg(&desc->intf->dev, 193 dev_err(&desc->intf 712 struct usb_interface *intf; local 879 struct usb_interface *intf = desc->intf; local 923 struct usb_interface *intf = desc->intf; local 1017 wdm_create(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, u16 bufsize, enum wwan_port_type type, int (*manage_power)(struct usb_interface *, int)) argument 1131 wdm_manage_power(struct usb_interface *intf, int on) argument 1142 wdm_probe(struct usb_interface *intf, const struct usb_device_id *id) argument 1192 usb_cdc_wdm_register(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, int bufsize, enum wwan_port_type type, int (*manage_power)(struct usb_interface *, int)) argument 1209 wdm_disconnect(struct usb_interface *intf) argument 1247 wdm_suspend(struct usb_interface *intf, pm_message_t message) argument 1299 wdm_resume(struct usb_interface *intf) argument 1313 wdm_pre_reset(struct usb_interface *intf) argument 1338 wdm_post_reset(struct usb_interface *intf) argument [all...] |
/linux-master/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_cmd.h | 20 int bdc_function_wake(struct bdc *bdc, u8 intf); 21 int bdc_function_wake_fh(struct bdc *bdc, u8 intf);
|
/linux-master/include/linux/comedi/ |
H A D | comedi_usb.h | 18 int comedi_usb_auto_config(struct usb_interface *intf, 20 void comedi_usb_auto_unconfig(struct usb_interface *intf);
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8723du.c | 20 static int rtw8723du_probe(struct usb_interface *intf, argument 23 return rtw_usb_probe(intf, id);
|
/linux-master/drivers/nfc/nfcmrvl/ |
H A D | usb.c | 28 struct usb_interface *intf; member in struct:nfcmrvl_usb_drv_data 171 err = usb_autopm_get_interface(drv_data->intf); 175 drv_data->intf->needs_remote_wakeup = 1; 184 usb_autopm_put_interface(drv_data->intf); 188 usb_autopm_put_interface(drv_data->intf); 208 err = usb_autopm_get_interface(drv_data->intf); 212 drv_data->intf->needs_remote_wakeup = 0; 213 usb_autopm_put_interface(drv_data->intf); 279 err = usb_autopm_get_interface(drv_data->intf); 283 usb_autopm_put_interface(drv_data->intf); 286 nfcmrvl_probe(struct usb_interface *intf, const struct usb_device_id *id) argument 345 nfcmrvl_disconnect(struct usb_interface *intf) argument 360 nfcmrvl_suspend(struct usb_interface *intf, pm_message_t message) argument 412 nfcmrvl_resume(struct usb_interface *intf) argument [all...] |
/linux-master/include/linux/greybus/ |
H A D | control.h | 17 struct gb_interface *intf; member in struct:gb_control 32 struct gb_control *gb_control_create(struct gb_interface *intf); 50 int gb_control_get_manifest_size_operation(struct gb_interface *intf); 51 int gb_control_get_manifest_operation(struct gb_interface *intf, void *manifest,
|
/linux-master/include/linux/usb/ |
H A D | cdc-wdm.h | 14 extern struct usb_driver *usb_cdc_wdm_register(struct usb_interface *intf,
|