Home
last modified time | relevance | path

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

12345678910>>...26

/linux-6.6.21/drivers/greybus/
Dinterface.c45 static int gb_interface_hibernate_link(struct gb_interface *intf);
46 static int gb_interface_refclk_set(struct gb_interface *intf, bool enable);
48 static int gb_interface_dme_attr_get(struct gb_interface *intf, in gb_interface_dme_attr_get() argument
51 return gb_svc_dme_peer_get(intf->hd->svc, intf->interface_id, in gb_interface_dme_attr_get()
55 static int gb_interface_read_ara_dme(struct gb_interface *intf) in gb_interface_read_ara_dme() argument
64 if (intf->ddbl1_manufacturer_id != TOSHIBA_DMID) { in gb_interface_read_ara_dme()
65 dev_err(&intf->dev, "unknown manufacturer %08x\n", in gb_interface_read_ara_dme()
66 intf->ddbl1_manufacturer_id); in gb_interface_read_ara_dme()
70 ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_VID, in gb_interface_read_ara_dme()
71 &intf->vendor_id); in gb_interface_read_ara_dme()
[all …]
Dmodule.c17 struct gb_interface *intf; in eject_store() local
30 intf = module->interfaces[i]; in eject_store()
32 mutex_lock(&intf->mutex); in eject_store()
34 intf->ejected = true; in eject_store()
35 gb_interface_disable(intf); in eject_store()
36 gb_interface_deactivate(intf); in eject_store()
37 mutex_unlock(&intf->mutex); in eject_store()
92 struct gb_interface *intf; in gb_module_create() local
116 intf = gb_interface_create(module, module_id + i); in gb_module_create()
117 if (!intf) { in gb_module_create()
[all …]
Dmanifest.c51 static void release_manifest_descriptors(struct gb_interface *intf) in release_manifest_descriptors() argument
56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors()
76 static struct manifest_desc *get_next_bundle_desc(struct gb_interface *intf) in get_next_bundle_desc() argument
81 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in get_next_bundle_desc()
98 static int identify_descriptor(struct gb_interface *intf, in identify_descriptor() argument
107 dev_err(&intf->dev, "manifest too small (%zu < %zu)\n", size, in identify_descriptor()
114 dev_err(&intf->dev, "descriptor too big (%zu > %zu)\n", in identify_descriptor()
141 dev_err(&intf->dev, "invalid descriptor type (%u)\n", in identify_descriptor()
147 dev_err(&intf->dev, "%s descriptor too small (%zu < %zu)\n", in identify_descriptor()
155 dev_warn(&intf->dev, "%s descriptor size mismatch (want %zu got %zu)\n", in identify_descriptor()
[all …]
Dcore.c34 (id->vendor != bundle->intf->vendor_id)) in greybus_match_one_id()
38 (id->product != bundle->intf->product_id)) in greybus_match_one_id()
85 const struct gb_interface *intf = NULL; in greybus_uevent() local
96 intf = to_gb_interface(dev); in greybus_uevent()
97 module = intf->module; in greybus_uevent()
98 hd = intf->hd; in greybus_uevent()
101 intf = control->intf; in greybus_uevent()
102 module = intf->module; in greybus_uevent()
103 hd = intf->hd; in greybus_uevent()
106 intf = bundle->intf; in greybus_uevent()
[all …]
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_intf.c57 static void bcmasp_enable_tx(struct bcmasp_intf *intf, int en) in bcmasp_enable_tx() argument
60 tx_spb_ctrl_wl(intf, TX_SPB_CTRL_ENABLE_EN, TX_SPB_CTRL_ENABLE); in bcmasp_enable_tx()
61 tx_epkt_core_wl(intf, (TX_EPKT_C_CFG_MISC_EN | in bcmasp_enable_tx()
63 (intf->port << TX_EPKT_C_CFG_MISC_PS_SHIFT)), in bcmasp_enable_tx()
66 tx_spb_ctrl_wl(intf, 0x0, TX_SPB_CTRL_ENABLE); in bcmasp_enable_tx()
67 tx_epkt_core_wl(intf, 0x0, TX_EPKT_C_CFG_MISC); in bcmasp_enable_tx()
71 static void bcmasp_enable_rx(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx() argument
74 rx_edpkt_cfg_wl(intf, RX_EDPKT_CFG_ENABLE_EN, in bcmasp_enable_rx()
77 rx_edpkt_cfg_wl(intf, 0x0, RX_EDPKT_CFG_ENABLE); in bcmasp_enable_rx()
83 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_set_rx_mode() local
[all …]
Dbcmasp_ethtool.c74 static u16 bcmasp_stat_fixup_offset(struct bcmasp_intf *intf, in bcmasp_stat_fixup_offset() argument
77 struct bcmasp_priv *priv = intf->parent; in bcmasp_stat_fixup_offset()
119 static void bcmasp_update_mib_counters(struct bcmasp_intf *intf) in bcmasp_update_mib_counters() argument
129 offset = bcmasp_stat_fixup_offset(intf, s); in bcmasp_update_mib_counters()
134 val = rx_edpkt_core_rl(intf->parent, offset); in bcmasp_update_mib_counters()
137 val = rx_ctrl_core_rl(intf->parent, offset); in bcmasp_update_mib_counters()
140 offset += sizeof(u32) * intf->port; in bcmasp_update_mib_counters()
141 val = rx_ctrl_core_rl(intf->parent, offset); in bcmasp_update_mib_counters()
146 p = (char *)(&intf->mib) + (i * sizeof(u32)); in bcmasp_update_mib_counters()
155 struct bcmasp_intf *intf = netdev_priv(dev); in bcmasp_get_ethtool_stats() local
[all …]
Dbcmasp_intf_defs.h5 #define UMC_OFFSET(intf) \ argument
6 ((((intf)->port) * 0x800) + 0xc000)
135 #define RGMII_OFFSET(intf) \ argument
136 ((((intf)->port) * 0x100) + 0xd000)
161 #define TX_SPB_DMA_OFFSET(intf) \ argument
162 ((((intf)->channel) * 0x30) + 0x48180)
171 #define TX_SPB_CTRL_OFFSET(intf) \ argument
172 ((((intf)->channel) * 0x68) + 0x49340)
178 #define TX_SPB_TOP_OFFSET(intf) \ argument
179 ((((intf)->channel) * 0x1c) + 0x4a0e0)
[all …]
Dbcmasp.c34 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en) in bcmasp_enable_tx_irq() argument
36 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_tx_irq()
39 _intr2_mask_clear(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq()
41 _intr2_mask_set(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq()
45 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx_irq() argument
47 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_rx_irq()
50 _intr2_mask_clear(priv, ASP_INTR2_RX_ECH(intf->channel)); in bcmasp_enable_rx_irq()
52 _intr2_mask_set(priv, ASP_INTR2_RX_ECH(intf->channel)); in bcmasp_enable_rx_irq()
67 static void bcmasp_intr2_handling(struct bcmasp_intf *intf, u32 status) in bcmasp_intr2_handling() argument
69 if (status & ASP_INTR2_RX_ECH(intf->channel)) { in bcmasp_intr2_handling()
[all …]
Dbcmasp.h268 unsigned long (*rx_desc_read)(struct bcmasp_intf *intf);
269 void (*rx_buffer_write)(struct bcmasp_intf *intf, dma_addr_t addr);
270 void (*rx_desc_write)(struct bcmasp_intf *intf, dma_addr_t addr);
271 unsigned long (*tx_read)(struct bcmasp_intf *intf);
272 void (*tx_write)(struct bcmasp_intf *intf, dma_addr_t addr);
373 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
391 void (*enable_wol)(struct bcmasp_intf *intf, bool en);
413 static inline unsigned long bcmasp_intf_rx_desc_read(struct bcmasp_intf *intf) in bcmasp_intf_rx_desc_read() argument
415 return intf->ops->rx_desc_read(intf); in bcmasp_intf_rx_desc_read()
418 static inline void bcmasp_intf_rx_buffer_write(struct bcmasp_intf *intf, in bcmasp_intf_rx_buffer_write() argument
[all …]
/linux-6.6.21/drivers/char/ipmi/
Dipmi_msghandler.c45 static void handle_new_recv_msgs(struct ipmi_smi *intf);
46 static void need_waiter(struct ipmi_smi *intf);
47 static int handle_one_recv_msg(struct ipmi_smi *intf,
197 struct ipmi_smi *intf; member
330 static int bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,
582 void (*null_user_handler)(struct ipmi_smi *intf,
609 static void __get_guid(struct ipmi_smi *intf);
610 static void __ipmi_bmc_unregister(struct ipmi_smi *intf);
611 static int __ipmi_bmc_register(struct ipmi_smi *intf,
614 static int __scan_channels(struct ipmi_smi *intf, struct ipmi_device_id *id);
[all …]
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.c112 struct rt2x00debug_intf *intf = rt2x00dev->debugfs_intf; in rt2x00debug_update_crypto() local
124 intf->crypto_stats[cipher].success += (status == RX_CRYPTO_SUCCESS); in rt2x00debug_update_crypto()
125 intf->crypto_stats[cipher].icv_error += (status == RX_CRYPTO_FAIL_ICV); in rt2x00debug_update_crypto()
126 intf->crypto_stats[cipher].mic_error += (status == RX_CRYPTO_FAIL_MIC); in rt2x00debug_update_crypto()
127 intf->crypto_stats[cipher].key_error += (status == RX_CRYPTO_FAIL_KEY); in rt2x00debug_update_crypto()
133 struct rt2x00debug_intf *intf = rt2x00dev->debugfs_intf; in rt2x00debug_dump_frame() local
141 if (likely(!test_bit(FRAME_DUMP_FILE_OPEN, &intf->frame_dump_flags))) in rt2x00debug_dump_frame()
146 if (skb_queue_len(&intf->frame_dump_skbqueue) > 20) { in rt2x00debug_dump_frame()
181 skb_queue_tail(&intf->frame_dump_skbqueue, skbcopy); in rt2x00debug_dump_frame()
182 wake_up_interruptible(&intf->frame_dump_waitqueue); in rt2x00debug_dump_frame()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_encoder.c38 int intf = mdp5_encoder->intf->num; in mdp5_vid_encoder_mode_set() local
52 if (mdp5_encoder->intf->type != INTF_DSI) { in mdp5_vid_encoder_mode_set()
97 if (mdp5_encoder->intf->type == INTF_eDP) { in mdp5_vid_encoder_mode_set()
104 mdp5_write(mdp5_kms, REG_MDP5_INTF_HSYNC_CTL(intf), in mdp5_vid_encoder_mode_set()
107 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_PERIOD_F0(intf), vsync_period); in mdp5_vid_encoder_mode_set()
108 mdp5_write(mdp5_kms, REG_MDP5_INTF_VSYNC_LEN_F0(intf), vsync_len); in mdp5_vid_encoder_mode_set()
109 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_HCTL(intf), in mdp5_vid_encoder_mode_set()
112 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VSTART_F0(intf), display_v_start); in mdp5_vid_encoder_mode_set()
113 mdp5_write(mdp5_kms, REG_MDP5_INTF_DISPLAY_VEND_F0(intf), display_v_end); in mdp5_vid_encoder_mode_set()
114 mdp5_write(mdp5_kms, REG_MDP5_INTF_BORDER_COLOR(intf), 0); in mdp5_vid_encoder_mode_set()
[all …]
/linux-6.6.21/drivers/usb/core/
Ddriver.c231 static const struct usb_device_id *usb_match_dynamic_id(struct usb_interface *intf, in usb_match_dynamic_id() argument
238 if (usb_match_one_id(intf, &dynid->id)) { in usb_match_dynamic_id()
321 struct usb_interface *intf = to_usb_interface(dev); in usb_probe_interface() local
322 struct usb_device *udev = interface_to_usbdev(intf); in usb_probe_interface()
329 intf->needs_binding = 0; in usb_probe_interface()
335 dev_err(&intf->dev, "Device is not authorized for usage\n"); in usb_probe_interface()
337 } else if (intf->authorized == 0) { in usb_probe_interface()
338 dev_err(&intf->dev, "Interface %d is not authorized for usage\n", in usb_probe_interface()
339 intf->altsetting->desc.bInterfaceNumber); in usb_probe_interface()
343 id = usb_match_dynamic_id(intf, driver); in usb_probe_interface()
[all …]
Dfile.c110 int usb_register_dev(struct usb_interface *intf, in usb_register_dev() argument
129 if (intf->minor >= 0) in usb_register_dev()
132 dev_dbg(&intf->dev, "looking for a minor, starting at %d\n", minor_base); in usb_register_dev()
140 intf->minor = minor; in usb_register_dev()
143 if (intf->minor < 0) { in usb_register_dev()
150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
153 if (IS_ERR(intf->usb_dev)) { in usb_register_dev()
155 intf->minor = -1; in usb_register_dev()
156 retval = PTR_ERR(intf->usb_dev); in usb_register_dev()
177 void usb_deregister_dev(struct usb_interface *intf, in usb_deregister_dev() argument
[all …]
/linux-6.6.21/drivers/usb/misc/
Dlvstest.c23 struct usb_interface *intf; member
40 static struct usb_device *create_lvs_device(struct usb_interface *intf) in create_lvs_device() argument
44 struct lvs_rh *lvs = usb_get_intfdata(intf); in create_lvs_device()
47 dev_err(&intf->dev, "No LVS device is present\n"); in create_lvs_device()
51 hdev = interface_to_usbdev(intf); in create_lvs_device()
56 dev_err(&intf->dev, "Could not allocate lvs udev\n"); in create_lvs_device()
65 dev_err(&intf->dev, "Failed to enable\n"); in create_lvs_device()
104 struct usb_interface *intf = to_usb_interface(dev); in u3_entry_store() local
105 struct usb_device *hdev = interface_to_usbdev(intf); in u3_entry_store()
106 struct lvs_rh *lvs = usb_get_intfdata(intf); in u3_entry_store()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_intf.c237 struct dpu_hw_intf *intf, in dpu_hw_intf_enable_timing_engine() argument
240 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_enable_timing_engine()
246 struct dpu_hw_intf *intf, in dpu_hw_intf_setup_prg_fetch() argument
249 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_setup_prg_fetch()
270 struct dpu_hw_intf *intf, in dpu_hw_intf_bind_pingpong_blk() argument
273 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_bind_pingpong_blk()
288 struct dpu_hw_intf *intf, in dpu_hw_intf_get_status() argument
291 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_get_status()
292 unsigned long cap = intf->cap->features; in dpu_hw_intf_get_status()
309 static u32 dpu_hw_intf_get_line_count(struct dpu_hw_intf *intf) in dpu_hw_intf_get_line_count() argument
[all …]
Ddpu_hw_intf.h80 void (*setup_timing_gen)(struct dpu_hw_intf *intf,
84 void (*setup_prg_fetch)(struct dpu_hw_intf *intf,
87 void (*enable_timing)(struct dpu_hw_intf *intf,
90 void (*get_status)(struct dpu_hw_intf *intf,
93 u32 (*get_line_count)(struct dpu_hw_intf *intf);
95 void (*bind_pingpong_blk)(struct dpu_hw_intf *intf,
97 void (*setup_misr)(struct dpu_hw_intf *intf);
98 int (*collect_misr)(struct dpu_hw_intf *intf, u32 *misr_value);
102 int (*enable_tearcheck)(struct dpu_hw_intf *intf, struct dpu_hw_tear_check *cfg);
104 int (*disable_tearcheck)(struct dpu_hw_intf *intf);
[all …]
Ddpu_hw_interrupts.c20 #define MDP_INTF_OFF(intf) (0x6A000 + 0x800 * (intf)) argument
21 #define MDP_INTF_INTR_EN(intf) (MDP_INTF_OFF(intf) + 0x1c0) argument
22 #define MDP_INTF_INTR_STATUS(intf) (MDP_INTF_OFF(intf) + 0x1c4) argument
23 #define MDP_INTF_INTR_CLEAR(intf) (MDP_INTF_OFF(intf) + 0x1c8) argument
24 #define MDP_INTF_TEAR_OFF(intf) (0x6D700 + 0x100 * (intf)) argument
25 #define MDP_INTF_INTR_TEAR_EN(intf) (MDP_INTF_TEAR_OFF(intf) + 0x000) argument
26 #define MDP_INTF_INTR_TEAR_STATUS(intf) (MDP_INTF_TEAR_OFF(intf) + 0x004) argument
27 #define MDP_INTF_INTR_TEAR_CLEAR(intf) (MDP_INTF_TEAR_OFF(intf) + 0x008) argument
32 #define MDP_INTF_REV_7xxx_OFF(intf) (0x34000 + 0x1000 * (intf)) argument
33 #define MDP_INTF_REV_7xxx_INTR_EN(intf) (MDP_INTF_REV_7xxx_OFF(intf) + 0x1c0) argument
[all …]
/linux-6.6.21/drivers/input/joystick/
Dpxrc.c23 struct usb_interface *intf; member
42 dev_dbg(&pxrc->intf->dev, in pxrc_usb_irq()
51 dev_dbg(&pxrc->intf->dev, "%s - urb shutting down with status: %d\n", in pxrc_usb_irq()
55 dev_dbg(&pxrc->intf->dev, "%s - nonzero urb status received: %d\n", in pxrc_usb_irq()
76 dev_err(&pxrc->intf->dev, in pxrc_usb_irq()
89 dev_err(&pxrc->intf->dev, in pxrc_open()
120 static int pxrc_probe(struct usb_interface *intf, in pxrc_probe() argument
123 struct usb_device *udev = interface_to_usbdev(intf); in pxrc_probe()
134 error = usb_find_common_endpoints(intf->cur_altsetting, in pxrc_probe()
137 dev_err(&intf->dev, "Could not find endpoint\n"); in pxrc_probe()
[all …]
/linux-6.6.21/drivers/net/usb/
Dhuawei_cdc_ncm.c44 rv = usb_autopm_get_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
45 usbnet_dev->intf->needs_remote_wakeup = on; in huawei_cdc_ncm_manage_power()
47 usb_autopm_put_interface(usbnet_dev->intf); in huawei_cdc_ncm_manage_power()
52 static int huawei_cdc_ncm_wdm_manage_power(struct usb_interface *intf, in huawei_cdc_ncm_wdm_manage_power() argument
55 struct usbnet *usbnet_dev = usb_get_intfdata(intf); in huawei_cdc_ncm_wdm_manage_power()
66 struct usb_interface *intf) in huawei_cdc_ncm_bind() argument
85 ret = cdc_ncm_bind_common(usbnet_dev, intf, 1, drvflags); in huawei_cdc_ncm_bind()
103 cdc_ncm_unbind(usbnet_dev, intf); in huawei_cdc_ncm_bind()
117 struct usb_interface *intf) in huawei_cdc_ncm_unbind() argument
126 cdc_ncm_unbind(usbnet_dev, intf); in huawei_cdc_ncm_unbind()
[all …]
/linux-6.6.21/drivers/usb/class/
Dcdc-wdm.c85 struct usb_interface *intf; member
120 static struct wdm_device *wdm_find_device(struct usb_interface *intf) in wdm_find_device() argument
126 if (desc->intf == intf) in wdm_find_device()
141 if (desc->intf->minor == minor) in wdm_find_device_by_minor()
181 dev_dbg(&desc->intf->dev, in wdm_in_callback()
185 dev_dbg(&desc->intf->dev, in wdm_in_callback()
189 dev_dbg(&desc->intf->dev, in wdm_in_callback()
193 dev_err(&desc->intf->dev, in wdm_in_callback()
197 dev_err(&desc->intf->dev, in wdm_in_callback()
266 dev_err(&desc->intf->dev, "Stall on int endpoint\n"); in wdm_int_callback()
[all …]
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Dzd1301.c29 struct usb_interface *intf = d->intf; in zd1301_ctrl_msg() local
36 dev_dbg(&intf->dev, ">>> %*ph\n", wlen, dev->buf); in zd1301_ctrl_msg()
41 dev_err(&intf->dev, "1st usb_bulk_msg() failed %d\n", ret); in zd1301_ctrl_msg()
49 dev_err(&intf->dev, in zd1301_ctrl_msg()
54 dev_dbg(&intf->dev, "<<< %*ph\n", actual_length, dev->buf); in zd1301_ctrl_msg()
61 dev_dbg(&intf->dev, "repeating reply message\n"); in zd1301_ctrl_msg()
68 dev_err(&intf->dev, in zd1301_ctrl_msg()
73 dev_dbg(&intf->dev, in zd1301_ctrl_msg()
88 struct usb_interface *intf = d->intf; in zd1301_demod_wreg() local
99 dev_dbg(&intf->dev, "failed=%d\n", ret); in zd1301_demod_wreg()
[all …]
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_comms.c93 struct xenstore_domain_interface *intf = xen_store_interface; in xb_data_to_write() local
95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE && in xb_data_to_write()
108 struct xenstore_domain_interface *intf = xen_store_interface; in xb_write() local
117 cons = intf->req_cons; in xb_write()
118 prod = intf->req_prod; in xb_write()
120 intf->req_cons = intf->req_prod = 0; in xb_write()
129 dst = get_output_chunk(cons, prod, intf->req, &avail); in xb_write()
142 intf->req_prod += avail; in xb_write()
145 if (prod <= intf->req_cons) in xb_write()
154 struct xenstore_domain_interface *intf = xen_store_interface; in xb_data_to_read() local
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gsc.c42 gsc_ext_om_alloc(struct intel_gsc *gsc, struct intel_gsc_intf *intf, size_t size) in gsc_ext_om_alloc() argument
62 intf->gem_obj = obj; in gsc_ext_om_alloc()
71 static void gsc_ext_om_destroy(struct intel_gsc_intf *intf) in gsc_ext_om_destroy() argument
73 struct drm_i915_gem_object *obj = fetch_and_zero(&intf->gem_obj); in gsc_ext_om_destroy()
143 struct intel_gsc_intf *intf = &gsc->intf[intf_id]; in gsc_destroy_one() local
145 if (intf->adev) { in gsc_destroy_one()
146 struct auxiliary_device *aux_dev = &intf->adev->aux_dev; in gsc_destroy_one()
154 intf->adev = NULL; in gsc_destroy_one()
157 if (intf->irq >= 0) in gsc_destroy_one()
158 irq_free_desc(intf->irq); in gsc_destroy_one()
[all …]
/linux-6.6.21/drivers/net/wireless/purelifi/plfxlc/
Dfirmware.c30 int plfxlc_download_fpga(struct usb_interface *intf) in plfxlc_download_fpga() argument
32 struct usb_device *udev = interface_to_usbdev(intf); in plfxlc_download_fpga()
46 dev_dbg(&intf->dev, "bin file for X selected\n"); in plfxlc_download_fpga()
53 dev_dbg(&intf->dev, "bin file for XC selected\n"); in plfxlc_download_fpga()
60 r = request_firmware(&fw, fw_name, &intf->dev); in plfxlc_download_fpga()
62 dev_err(&intf->dev, "request_firmware failed (%d)\n", r); in plfxlc_download_fpga()
77 dev_err(&intf->dev, "fpga_dmabuff[0] is wrong\n"); in plfxlc_download_fpga()
100 usb_sndbulkpipe(interface_to_usbdev(intf), in plfxlc_download_fpga()
108 dev_err(&intf->dev, "Bulk msg failed (%d)\n", r); in plfxlc_download_fpga()
125 dev_dbg(&intf->dev, "%*ph\n", 8, fpga_dmabuff); in plfxlc_download_fpga()
[all …]

12345678910>>...26