Home
last modified time | relevance | path

Searched refs:usb (Results 1 – 25 of 1795) sorted by relevance

12345678910>>...72

/linux-6.6.21/drivers/media/usb/dvb-usb/
DMakefile2 dvb-usb-objs += dvb-usb-firmware.o dvb-usb-init.o dvb-usb-urb.o dvb-usb-i2c.o
3 dvb-usb-objs += dvb-usb-dvb.o dvb-usb-remote.o usb-urb.o
4 obj-$(CONFIG_DVB_USB) += dvb-usb.o
6 dvb-usb-vp7045-objs := vp7045.o vp7045-fe.o
7 obj-$(CONFIG_DVB_USB_VP7045) += dvb-usb-vp7045.o
9 dvb-usb-vp702x-objs := vp702x.o vp702x-fe.o
10 obj-$(CONFIG_DVB_USB_VP702X) += dvb-usb-vp702x.o
12 dvb-usb-gp8psk-objs := gp8psk.o
13 obj-$(CONFIG_DVB_USB_GP8PSK) += dvb-usb-gp8psk.o
15 dvb-usb-dtt200u-objs := dtt200u.o dtt200u-fe.o
[all …]
/linux-6.6.21/drivers/usb/host/
Docteon-hcd.c391 c.u32 = cvmx_usb_read_csr32(usb, address); \
393 cvmx_usb_write_csr32(usb, address, c.u32); \
524 static inline u32 cvmx_usb_read_csr32(struct octeon_hcd *usb, u64 address) in cvmx_usb_read_csr32() argument
538 static inline void cvmx_usb_write_csr32(struct octeon_hcd *usb, in cvmx_usb_write_csr32() argument
542 cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index)); in cvmx_usb_write_csr32()
554 static inline int cvmx_usb_pipe_needs_split(struct octeon_hcd *usb, in cvmx_usb_pipe_needs_split() argument
558 usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED_HIGH; in cvmx_usb_pipe_needs_split()
576 static int cvmx_wait_tx_rx(struct octeon_hcd *usb, int fflsh_type) in cvmx_wait_tx_rx() argument
579 u64 address = CVMX_USBCX_GRSTCTL(usb->index); in cvmx_wait_tx_rx()
585 c.u32 = cvmx_usb_read_csr32(usb, address); in cvmx_wait_tx_rx()
[all …]
Dfhci-sched.c28 static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) in recycle_frame() argument
36 cq_put(&usb->ep0->empty_frame_Q, pkt); in recycle_frame()
40 void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt) in fhci_transaction_confirm() argument
48 td = fhci_remove_td_from_frame(usb->actual_frame); in fhci_transaction_confirm()
56 cq_put(&usb->ep0->dummy_packets_Q, pkt->data); in fhci_transaction_confirm()
59 recycle_frame(usb, pkt); in fhci_transaction_confirm()
68 td_next->start_frame = usb->actual_frame->frame_num; in fhci_transaction_confirm()
87 fhci_dbg(usb->fhci, "td err fu\n"); in fhci_transaction_confirm()
91 fhci_dbg(usb->fhci, "td err f!u\n"); in fhci_transaction_confirm()
94 fhci_dbg(usb->fhci, "td err !f\n"); in fhci_transaction_confirm()
[all …]
Dfhci-hcd.c58 u16 fhci_get_sof_timer_count(struct fhci_usb *usb) in fhci_get_sof_timer_count() argument
60 return be16_to_cpu(in_be16(&usb->fhci->regs->usb_ussft) / 12); in fhci_get_sof_timer_count()
64 static u32 endpoint_zero_init(struct fhci_usb *usb, in endpoint_zero_init() argument
70 rc = fhci_create_ep(usb, data_mem, ring_len); in endpoint_zero_init()
75 fhci_init_ep_registers(usb, usb->ep0, data_mem); in endpoint_zero_init()
81 void fhci_usb_enable_interrupt(struct fhci_usb *usb) in fhci_usb_enable_interrupt() argument
83 struct fhci_hcd *fhci = usb->fhci; in fhci_usb_enable_interrupt()
85 if (usb->intr_nesting_cnt == 1) { in fhci_usb_enable_interrupt()
90 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_usb_enable_interrupt()
91 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_usb_enable_interrupt()
[all …]
Dfhci-tds.c95 void fhci_ep0_free(struct fhci_usb *usb) in fhci_ep0_free() argument
100 ep = usb->ep0; in fhci_ep0_free()
136 usb->ep0 = NULL; in fhci_ep0_free()
148 u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem, in fhci_create_ep() argument
160 fhci_err(usb->fhci, "illegal TD ring length parameters\n"); in fhci_create_ep()
224 usb->ep0 = ep; in fhci_create_ep()
228 fhci_ep0_free(usb); in fhci_create_ep()
230 fhci_err(usb->fhci, "no memory for the %s\n", err_for); in fhci_create_ep()
242 void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep, in fhci_init_ep_registers() argument
248 out_be16(&usb->fhci->regs->usb_usep[0], in fhci_init_ep_registers()
[all …]
/linux-6.6.21/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c96 MODULE_DEVICE_TABLE(usb, usb_ids);
101 static bool check_read_regs(struct zd_usb *usb, struct usb_req_read_regs *req,
214 static char *get_fw_name(struct zd_usb *usb, char *buffer, size_t size, in get_fw_name() argument
218 usb->is_zd1211b ? in get_fw_name()
224 static int handle_version_mismatch(struct zd_usb *usb, in handle_version_mismatch() argument
227 struct usb_device *udev = zd_usb_to_usbdev(usb); in handle_version_mismatch()
234 get_fw_name(usb, fw_name, sizeof(fw_name), "ur"), in handle_version_mismatch()
257 static int upload_firmware(struct zd_usb *usb) in upload_firmware() argument
262 struct usb_device *udev = zd_usb_to_usbdev(usb); in upload_firmware()
270 get_fw_name(usb, fw_name, sizeof(fw_name), "ub"), in upload_firmware()
[all …]
Dzd_usb.h218 #define zd_usb_dev(usb) (&usb->intf->dev) argument
220 static inline struct usb_device *zd_usb_to_usbdev(struct zd_usb *usb) in zd_usb_to_usbdev() argument
222 return interface_to_usbdev(usb->intf); in zd_usb_to_usbdev()
230 static inline struct ieee80211_hw *zd_usb_to_hw(struct zd_usb *usb) in zd_usb_to_hw() argument
232 return zd_intf_to_hw(usb->intf); in zd_usb_to_hw()
235 void zd_usb_init(struct zd_usb *usb, struct ieee80211_hw *hw,
237 int zd_usb_init_hw(struct zd_usb *usb);
238 void zd_usb_clear(struct zd_usb *usb);
240 int zd_usb_scnprint_id(struct zd_usb *usb, char *buffer, size_t size);
242 void zd_tx_watchdog_enable(struct zd_usb *usb);
[all …]
/linux-6.6.21/drivers/net/wireless/purelifi/plfxlc/
Dusb.c36 void plfxlc_send_packet_from_data_queue(struct plfxlc_usb *usb) in plfxlc_send_packet_from_data_queue() argument
38 struct plfxlc_usb_tx *tx = &usb->tx; in plfxlc_send_packet_from_data_queue()
44 last_served_sidx = usb->sidx; in plfxlc_send_packet_from_data_queue()
46 usb->sidx = (usb->sidx + 1) % MAX_STA_NUM; in plfxlc_send_packet_from_data_queue()
47 if (!(tx->station[usb->sidx].flag & STATION_CONNECTED_FLAG)) in plfxlc_send_packet_from_data_queue()
49 if (!(tx->station[usb->sidx].flag & STATION_FIFO_FULL_FLAG)) in plfxlc_send_packet_from_data_queue()
50 skb = skb_peek(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
51 } while ((usb->sidx != last_served_sidx) && (!skb)); in plfxlc_send_packet_from_data_queue()
54 skb = skb_dequeue(&tx->station[usb->sidx].data_list); in plfxlc_send_packet_from_data_queue()
55 plfxlc_usb_wreq_async(usb, skb->data, skb->len, USB_REQ_DATA_TX, in plfxlc_send_packet_from_data_queue()
[all …]
Dusb.h38 #define plfxlc_usb_dev(usb) (&(usb)->intf->dev) argument
156 int plfxlc_usb_wreq_async(struct plfxlc_usb *usb, const u8 *buffer,
161 plfxlc_usb_to_usbdev(struct plfxlc_usb *usb) in plfxlc_usb_to_usbdev() argument
163 return interface_to_usbdev(usb->intf); in plfxlc_usb_to_usbdev()
173 plfxlc_usb_to_hw(struct plfxlc_usb *usb) in plfxlc_usb_to_hw() argument
175 return plfxlc_intf_to_hw(usb->intf); in plfxlc_usb_to_hw()
178 void plfxlc_usb_init(struct plfxlc_usb *usb, struct ieee80211_hw *hw,
180 void plfxlc_send_packet_from_data_queue(struct plfxlc_usb *usb);
181 void plfxlc_usb_release(struct plfxlc_usb *usb);
182 void plfxlc_usb_disable_rx(struct plfxlc_usb *usb);
[all …]
Dchip.c19 plfxlc_usb_init(&chip->usb, hw, intf); in plfxlc_chip_init()
24 plfxlc_usb_release(&chip->usb); in plfxlc_chip_release()
37 return plfxlc_usb_wreq(chip->usb.ez_usb, in plfxlc_set_beacon_interval()
46 struct usb_device *udev = interface_to_usbdev(chip->usb.intf); in plfxlc_chip_init_hw()
63 r = plfxlc_usb_wreq(chip->usb.ez_usb, &radio_on, in plfxlc_chip_switch_radio()
72 plfxlc_usb_enable_tx(&chip->usb); in plfxlc_chip_enable_rxtx()
73 return plfxlc_usb_enable_rx(&chip->usb); in plfxlc_chip_enable_rxtx()
80 plfxlc_usb_wreq(chip->usb.ez_usb, in plfxlc_chip_disable_rxtx()
82 plfxlc_usb_disable_rx(&chip->usb); in plfxlc_chip_disable_rxtx()
83 plfxlc_usb_disable_tx(&chip->usb); in plfxlc_chip_disable_rxtx()
[all …]
/linux-6.6.21/drivers/clk/at91/
Dclk-usb.c47 struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); in at91sam9x5_clk_usb_recalc_rate() local
51 regmap_read(usb->regmap, AT91_PMC_USB, &usbr); in at91sam9x5_clk_usb_recalc_rate()
113 struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); in at91sam9x5_clk_usb_set_parent() local
115 if (index >= usb->num_parents) in at91sam9x5_clk_usb_set_parent()
118 regmap_update_bits(usb->regmap, AT91_PMC_USB, usb->usbs_mask, index); in at91sam9x5_clk_usb_set_parent()
125 struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); in at91sam9x5_clk_usb_get_parent() local
128 regmap_read(usb->regmap, AT91_PMC_USB, &usbr); in at91sam9x5_clk_usb_get_parent()
130 return usbr & usb->usbs_mask; in at91sam9x5_clk_usb_get_parent()
136 struct at91sam9x5_clk_usb *usb = to_at91sam9x5_clk_usb(hw); in at91sam9x5_clk_usb_set_rate() local
146 regmap_update_bits(usb->regmap, AT91_PMC_USB, AT91_PMC_OHCIUSBDIV, in at91sam9x5_clk_usb_set_rate()
[all …]
/linux-6.6.21/Documentation/admin-guide/media/
Dusb-cardlist.rst45 b2c2-flexcop-usb Technisat/B2C2 Air/Sky/Cable2PC USB
49 dvb-usb-a800 AVerMedia AverTV DVB-T USB 2.0 (A800)
50 dvb-usb-af9005 Afatech AF9005 DVB-T USB1.1
51 dvb-usb-af9015 Afatech AF9015 DVB-T USB2.0
52 dvb-usb-af9035 Afatech AF9035 DVB-T USB2.0
53 dvb-usb-anysee Anysee DVB-T/C USB2.0
54 dvb-usb-au6610 Alcor Micro AU6610 USB2.0
55 dvb-usb-az6007 AzureWave 6007 and clones DVB-T/C USB2.0
56 dvb-usb-az6027 Azurewave DVB-S/S2 USB2.0 AZ6027
57 dvb-usb-ce6230 Intel CE6230 DVB-T USB2.0
[all …]
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
DMakefile5 dvb-usb-af9015-objs := af9015.o
6 obj-$(CONFIG_DVB_USB_AF9015) += dvb-usb-af9015.o
8 dvb-usb-af9035-objs := af9035.o
9 obj-$(CONFIG_DVB_USB_AF9035) += dvb-usb-af9035.o
11 dvb-usb-anysee-objs := anysee.o
12 obj-$(CONFIG_DVB_USB_ANYSEE) += dvb-usb-anysee.o
14 dvb-usb-au6610-objs := au6610.o
15 obj-$(CONFIG_DVB_USB_AU6610) += dvb-usb-au6610.o
17 dvb-usb-az6007-objs := az6007.o
18 obj-$(CONFIG_DVB_USB_AZ6007) += dvb-usb-az6007.o
[all …]
/linux-6.6.21/drivers/media/usb/
DKconfig16 source "drivers/media/usb/gspca/Kconfig"
17 source "drivers/media/usb/pwc/Kconfig"
18 source "drivers/media/usb/s2255/Kconfig"
19 source "drivers/media/usb/usbtv/Kconfig"
20 source "drivers/media/usb/uvc/Kconfig"
27 source "drivers/media/usb/go7007/Kconfig"
28 source "drivers/media/usb/hdpvr/Kconfig"
29 source "drivers/media/usb/pvrusb2/Kconfig"
30 source "drivers/media/usb/stk1160/Kconfig"
37 source "drivers/media/usb/au0828/Kconfig"
[all …]
/linux-6.6.21/drivers/usb/chipidea/
Dci_hdrc_tegra.c155 struct tegra_usb *usb = dev_get_drvdata(ci->dev->parent); in tegra_usb_notify_event() local
163 ehci_writel(ehci, usb->soc->txfifothresh << 16, in tegra_usb_notify_event()
239 struct tegra_usb *usb = dev_get_drvdata(ci->dev->parent); in tegra_ehci_hub_control() local
248 if (wValue != USB_PORT_FEAT_RESET || !usb->needs_double_reset) in tegra_ehci_hub_control()
278 struct tegra_usb *usb; in tegra_usb_probe() local
281 usb = devm_kzalloc(&pdev->dev, sizeof(*usb), GFP_KERNEL); in tegra_usb_probe()
282 if (!usb) in tegra_usb_probe()
285 platform_set_drvdata(pdev, usb); in tegra_usb_probe()
293 usb->phy = devm_usb_get_phy_by_phandle(&pdev->dev, "nvidia,phy", 0); in tegra_usb_probe()
294 if (IS_ERR(usb->phy)) in tegra_usb_probe()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/dma/
Drenesas,usb-dmac.yaml4 $id: http://devicetree.org/schemas/dma/renesas,usb-dmac.yaml#
19 - renesas,r8a7742-usb-dmac # RZ/G1H
20 - renesas,r8a7743-usb-dmac # RZ/G1M
21 - renesas,r8a7744-usb-dmac # RZ/G1N
22 - renesas,r8a7745-usb-dmac # RZ/G1E
23 - renesas,r8a77470-usb-dmac # RZ/G1C
24 - renesas,r8a774a1-usb-dmac # RZ/G2M
25 - renesas,r8a774b1-usb-dmac # RZ/G2N
26 - renesas,r8a774c0-usb-dmac # RZ/G2E
27 - renesas,r8a774e1-usb-dmac # RZ/G2H
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Ddwc2.yaml4 $id: http://devicetree.org/schemas/usb/dwc2.yaml#
13 - $ref: usb-drd.yaml#
14 - $ref: usb-hcd.yaml#
19 - const: brcm,bcm2835-usb
20 - const: hisilicon,hi6220-usb
29 - const: rockchip,rk3066-usb
33 - rockchip,px30-usb
34 - rockchip,rk3036-usb
35 - rockchip,rk3128-usb
36 - rockchip,rk3188-usb
[all …]
/linux-6.6.21/drivers/media/usb/go7007/
Dgo7007-usb.c618 MODULE_DEVICE_TABLE(usb, go7007_usb_id_table);
625 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request() local
629 return usb_control_msg(usb->usbdev, in go7007_usb_vendor_request()
630 usb_rcvctrlpipe(usb->usbdev, 0), request, in go7007_usb_vendor_request()
634 return usb_control_msg(usb->usbdev, in go7007_usb_vendor_request()
635 usb_sndctrlpipe(usb->usbdev, 0), request, in go7007_usb_vendor_request()
643 struct go7007_usb *usb = go->hpi_context; in go7007_usb_interface_reset() local
653 if (usb->board->flags & GO7007_USB_EZUSB) { in go7007_usb_interface_reset()
678 struct go7007_usb *usb = go->hpi_context; in go7007_usb_ezusb_write_interrupt() local
686 r = usb_control_msg(usb->usbdev, in go7007_usb_ezusb_write_interrupt()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/phy/
Drenesas,rcar-gen2-usb-phy.yaml4 $id: http://devicetree.org/schemas/phy/renesas,rcar-gen2-usb-phy.yaml#
16 - renesas,usb-phy-r8a7742 # RZ/G1H
17 - renesas,usb-phy-r8a7743 # RZ/G1M
18 - renesas,usb-phy-r8a7744 # RZ/G1N
19 - renesas,usb-phy-r8a7745 # RZ/G1E
20 - renesas,usb-phy-r8a77470 # RZ/G1C
21 - renesas,usb-phy-r8a7790 # R-Car H2
22 - renesas,usb-phy-r8a7791 # R-Car M2-W
23 - renesas,usb-phy-r8a7794 # R-Car E2
24 - const: renesas,rcar-gen2-usb-phy # R-Car Gen2 or RZ/G1
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dusb.c26 lockdep_assert_held(&dev->usb.usb_ctrl_mtx); in __mt76u_vendor_request()
55 mutex_lock(&dev->usb.usb_ctrl_mtx); in mt76u_vendor_request()
59 mutex_unlock(&dev->usb.usb_ctrl_mtx); in mt76u_vendor_request()
67 struct mt76_usb *usb = &dev->usb; in ___mt76u_rr() local
72 addr, usb->data, sizeof(__le32)); in ___mt76u_rr()
74 data = get_unaligned_le32(usb->data); in ___mt76u_rr()
105 mutex_lock(&dev->usb.usb_ctrl_mtx); in mt76u_rr()
107 mutex_unlock(&dev->usb.usb_ctrl_mtx); in mt76u_rr()
115 struct mt76_usb *usb = &dev->usb; in ___mt76u_wr() local
117 put_unaligned_le32(val, usb->data); in ___mt76u_wr()
[all …]
/linux-6.6.21/drivers/usb/
DKconfig39 source "drivers/usb/common/Kconfig"
76 in <file:Documentation/usb/> and especially the links given in
77 <file:Documentation/usb/usb-help.rst>.
96 source "drivers/usb/core/Kconfig"
98 source "drivers/usb/mon/Kconfig"
100 source "drivers/usb/host/Kconfig"
102 source "drivers/usb/renesas_usbhs/Kconfig"
104 source "drivers/usb/class/Kconfig"
106 source "drivers/usb/storage/Kconfig"
108 source "drivers/usb/image/Kconfig"
[all …]
/linux-6.6.21/sound/usb/line6/
DMakefile2 snd-usb-line6-y := \
10 snd-usb-pod-y := pod.o
11 snd-usb-podhd-y := podhd.o
12 snd-usb-toneport-y := toneport.o
13 snd-usb-variax-y := variax.o
15 obj-$(CONFIG_SND_USB_LINE6) += snd-usb-line6.o
16 obj-$(CONFIG_SND_USB_POD) += snd-usb-pod.o
17 obj-$(CONFIG_SND_USB_PODHD) += snd-usb-podhd.o
18 obj-$(CONFIG_SND_USB_TONEPORT) += snd-usb-toneport.o
19 obj-$(CONFIG_SND_USB_VARIAX) += snd-usb-variax.o
/linux-6.6.21/drivers/staging/vt6656/
Dusbpipe.c53 ret = usb_control_msg(priv->usb, in vnt_control_out()
54 usb_sndctrlpipe(priv->usb, 0), in vnt_control_out()
113 ret = usb_control_msg(priv->usb, in vnt_control_in()
114 usb_rcvctrlpipe(priv->usb, 0), in vnt_control_in()
181 dev_dbg(&priv->usb->dev, "---->s_nsInterruptProcessData\n"); in vnt_int_process_data()
229 dev_dbg(&priv->usb->dev, "%s status = %d\n", __func__, status); in vnt_start_interrupt_urb_complete()
237 dev_dbg(&priv->usb->dev, "Submit int URB failed %d\n", status); in vnt_start_interrupt_urb_complete()
244 dev_dbg(&priv->usb->dev, "---->Interrupt Polling Thread\n"); in vnt_start_interrupt_urb()
247 priv->usb, in vnt_start_interrupt_urb()
248 usb_rcvintpipe(priv->usb, 1), in vnt_start_interrupt_urb()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-usb-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-usb-clk.yaml#
27 - allwinner,sun4i-a10-usb-clk
28 - allwinner,sun5i-a13-usb-clk
29 - allwinner,sun6i-a31-usb-clk
30 - allwinner,sun8i-a23-usb-clk
31 - allwinner,sun8i-h3-usb-clk
58 const: allwinner,sun4i-a10-usb-clk
69 const: allwinner,sun5i-a13-usb-clk
80 const: allwinner,sun6i-a31-usb-clk
91 const: allwinner,sun8i-a23-usb-clk
[all …]
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-usb1 What: /sys/bus/usb/devices/<INTERFACE>/authorized
9 by writing INTERFACE to /sys/bus/usb/drivers_probe
15 What: /sys/bus/usb/devices/usbX/interface_authorized_default
22 What: /sys/bus/usb/device/.../authorized
31 What: /sys/bus/usb/drivers/.../new_id
33 Contact: linux-usb@vger.kernel.org
48 # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id
53 # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id
59 # cat /sys/bus/usb/drivers/foo/new_id
67 What: /sys/bus/usb-serial/drivers/.../new_id
[all …]

12345678910>>...72