Home
last modified time | relevance | path

Searched refs:c67x00 (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/c67x00/
H A Dc67x00-sched.c3 * c67x00-sched.c: Cypress C67X00 USB Host Controller Driver - TD scheduling
13 #include "c67x00.h"
14 #include "c67x00-hcd.h"
136 static void dbg_td(struct c67x00_hcd *c67x00, struct c67x00_td *td, char *msg) in dbg_td() argument
138 struct device *dev = c67x00_hcd_dev(c67x00); in dbg_td()
159 static inline u16 c67x00_get_current_frame_number(struct c67x00_hcd *c67x00) in c67x00_get_current_frame_number() argument
161 return c67x00_ll_husb_get_frame(c67x00->sie) & HOST_FRAME_MASK; in c67x00_get_current_frame_number()
198 static void c67x00_release_urb(struct c67x00_hcd *c67x00, struct urb *urb) in c67x00_release_urb() argument
205 c67x00->urb_count--; in c67x00_release_urb()
208 c67x00 in c67x00_release_urb()
231 c67x00_ep_data_alloc(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_ep_data_alloc() argument
307 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_endpoint_disable() local
348 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_urb_enqueue() local
443 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_urb_dequeue() local
474 c67x00_giveback_urb(struct c67x00_hcd *c67x00, struct urb *urb, int status) c67x00_giveback_urb() argument
495 c67x00_claim_frame_bw(struct c67x00_hcd *c67x00, struct urb *urb, int len, int periodic) c67x00_claim_frame_bw() argument
563 c67x00_create_td(struct c67x00_hcd *c67x00, struct urb *urb, void *data, int len, int pid, int toggle, unsigned long privdata) c67x00_create_td() argument
645 c67x00_add_data_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_data_urb() argument
691 c67x00_add_ctrl_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_ctrl_urb() argument
730 c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_int_urb() argument
742 c67x00_add_iso_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_iso_urb() argument
777 c67x00_fill_from_list(struct c67x00_hcd *c67x00, int type, int (*add)(struct c67x00_hcd *, struct urb *)) c67x00_fill_from_list() argument
796 c67x00_fill_frame(struct c67x00_hcd *c67x00) c67x00_fill_frame() argument
830 c67x00_parse_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_parse_td() argument
840 c67x00_td_to_error(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_td_to_error() argument
889 c67x00_clear_pipe(struct c67x00_hcd *c67x00, struct c67x00_td *last_td) c67x00_clear_pipe() argument
907 c67x00_handle_successful_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_handle_successful_td() argument
953 c67x00_handle_isoc(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_handle_isoc() argument
978 c67x00_check_td_list(struct c67x00_hcd *c67x00) c67x00_check_td_list() argument
1041 c67x00_all_tds_processed(struct c67x00_hcd *c67x00) c67x00_all_tds_processed() argument
1052 c67x00_send_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_send_td() argument
1064 c67x00_send_frame(struct c67x00_hcd *c67x00) c67x00_send_frame() argument
1088 c67x00_do_work(struct c67x00_hcd *c67x00) c67x00_do_work() argument
1128 struct c67x00_hcd *c67x00 = from_tasklet(c67x00, t, tasklet); c67x00_sched_tasklet() local
1132 c67x00_sched_kick(struct c67x00_hcd *c67x00) c67x00_sched_kick() argument
1137 c67x00_sched_start_scheduler(struct c67x00_hcd *c67x00) c67x00_sched_start_scheduler() argument
1143 c67x00_sched_stop_scheduler(struct c67x00_hcd *c67x00) c67x00_sched_stop_scheduler() argument
[all...]
H A Dc67x00-drv.c3 * c67x00-drv.c: Cypress C67X00 USB Common infrastructure
11 * This file implements the common infrastructure for using the c67x00.
16 * The c67x00 has 2 SIE's (serial interface engine) which can be configured
29 #include <linux/usb/c67x00.h>
31 #include "c67x00.h"
32 #include "c67x00-hcd.h"
74 struct c67x00_device *c67x00 = __dev; in c67x00_irq() local
79 int_status = c67x00_ll_hpi_status(c67x00); in c67x00_irq()
84 c67x00_ll_irq(c67x00, int_status); in c67x00_irq()
86 sie = &c67x00 in c67x00_irq()
107 struct c67x00_device *c67x00; c67x00_drv_probe() local
182 struct c67x00_device *c67x00 = platform_get_drvdata(pdev); c67x00_drv_remove() local
[all...]
H A Dc67x00-hcd.c3 * c67x00-hcd.c: Cypress C67X00 USB Host Controller Driver
14 #include "c67x00.h"
15 #include "c67x00-hcd.h"
35 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hub_reset_host_port() local
40 spin_lock_irqsave(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
42 spin_unlock_irqrestore(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_status_data() local
50 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_status_data()
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_control() local
70 struct c67x00_sie *sie = c67x00 in c67x00_hub_control()
238 struct c67x00_hcd *c67x00 = sie->private_data; c67x00_hcd_irq() local
285 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_hcd_get_frame() local
331 struct c67x00_hcd *c67x00; c67x00_hcd_probe() local
393 struct c67x00_hcd *c67x00 = sie->private_data; c67x00_hcd_remove() local
[all...]
H A DMakefile6 obj-$(CONFIG_USB_C67X00_HCD) += c67x00.o
8 c67x00-y := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
H A Dc67x00-hcd.h3 * c67x00-hcd.h: Cypress C67X00 USB HCD
18 #include "c67x00.h"
92 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) in c67x00_hcd_to_hcd() argument
94 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); in c67x00_hcd_to_hcd()
98 * Functions used by c67x00-drv
113 void c67x00_sched_kick(struct c67x00_hcd *c67x00);
114 int c67x00_sched_start_scheduler(struct c67x00_hcd *c67x00);
115 void c67x00_sched_stop_scheduler(struct c67x00_hcd *c67x00);
H A Dc67x00-ll-hpi.c3 * c67x00-ll-hpi.c: Cypress C67X00 USB Low level interface using HPI
14 #include <linux/usb/c67x00.h>
15 #include "c67x00.h"
51 * The c67x00 chip also support control via SPI or HSS serial
399 * c67x00_ll_write_mem_le16 - write into c67x00 memory
438 * c67x00_ll_read_mem_le16 - read from c67x00 memory
/kernel/linux/linux-6.6/drivers/usb/c67x00/
H A Dc67x00-sched.c3 * c67x00-sched.c: Cypress C67X00 USB Host Controller Driver - TD scheduling
13 #include "c67x00.h"
14 #include "c67x00-hcd.h"
136 static void dbg_td(struct c67x00_hcd *c67x00, struct c67x00_td *td, char *msg) in dbg_td() argument
138 struct device *dev = c67x00_hcd_dev(c67x00); in dbg_td()
159 static inline u16 c67x00_get_current_frame_number(struct c67x00_hcd *c67x00) in c67x00_get_current_frame_number() argument
161 return c67x00_ll_husb_get_frame(c67x00->sie) & HOST_FRAME_MASK; in c67x00_get_current_frame_number()
198 static void c67x00_release_urb(struct c67x00_hcd *c67x00, struct urb *urb) in c67x00_release_urb() argument
205 c67x00->urb_count--; in c67x00_release_urb()
208 c67x00 in c67x00_release_urb()
231 c67x00_ep_data_alloc(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_ep_data_alloc() argument
307 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_endpoint_disable() local
348 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_urb_enqueue() local
443 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_urb_dequeue() local
474 c67x00_giveback_urb(struct c67x00_hcd *c67x00, struct urb *urb, int status) c67x00_giveback_urb() argument
495 c67x00_claim_frame_bw(struct c67x00_hcd *c67x00, struct urb *urb, int len, int periodic) c67x00_claim_frame_bw() argument
563 c67x00_create_td(struct c67x00_hcd *c67x00, struct urb *urb, void *data, int len, int pid, int toggle, unsigned long privdata) c67x00_create_td() argument
645 c67x00_add_data_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_data_urb() argument
691 c67x00_add_ctrl_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_ctrl_urb() argument
730 c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_int_urb() argument
742 c67x00_add_iso_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_iso_urb() argument
777 c67x00_fill_from_list(struct c67x00_hcd *c67x00, int type, int (*add)(struct c67x00_hcd *, struct urb *)) c67x00_fill_from_list() argument
796 c67x00_fill_frame(struct c67x00_hcd *c67x00) c67x00_fill_frame() argument
830 c67x00_parse_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_parse_td() argument
840 c67x00_td_to_error(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_td_to_error() argument
889 c67x00_clear_pipe(struct c67x00_hcd *c67x00, struct c67x00_td *last_td) c67x00_clear_pipe() argument
907 c67x00_handle_successful_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_handle_successful_td() argument
953 c67x00_handle_isoc(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_handle_isoc() argument
978 c67x00_check_td_list(struct c67x00_hcd *c67x00) c67x00_check_td_list() argument
1041 c67x00_all_tds_processed(struct c67x00_hcd *c67x00) c67x00_all_tds_processed() argument
1052 c67x00_send_td(struct c67x00_hcd *c67x00, struct c67x00_td *td) c67x00_send_td() argument
1064 c67x00_send_frame(struct c67x00_hcd *c67x00) c67x00_send_frame() argument
1088 c67x00_do_work(struct c67x00_hcd *c67x00) c67x00_do_work() argument
1128 struct c67x00_hcd *c67x00; c67x00_sched_work() local
1134 c67x00_sched_kick(struct c67x00_hcd *c67x00) c67x00_sched_kick() argument
1139 c67x00_sched_start_scheduler(struct c67x00_hcd *c67x00) c67x00_sched_start_scheduler() argument
1145 c67x00_sched_stop_scheduler(struct c67x00_hcd *c67x00) c67x00_sched_stop_scheduler() argument
[all...]
H A Dc67x00-drv.c3 * c67x00-drv.c: Cypress C67X00 USB Common infrastructure
11 * This file implements the common infrastructure for using the c67x00.
16 * The c67x00 has 2 SIE's (serial interface engine) which can be configured
29 #include <linux/usb/c67x00.h>
31 #include "c67x00.h"
32 #include "c67x00-hcd.h"
74 struct c67x00_device *c67x00 = __dev; in c67x00_irq() local
79 int_status = c67x00_ll_hpi_status(c67x00); in c67x00_irq()
84 c67x00_ll_irq(c67x00, int_status); in c67x00_irq()
86 sie = &c67x00 in c67x00_irq()
107 struct c67x00_device *c67x00; c67x00_drv_probe() local
182 struct c67x00_device *c67x00 = platform_get_drvdata(pdev); c67x00_drv_remove() local
[all...]
H A Dc67x00-hcd.c3 * c67x00-hcd.c: Cypress C67X00 USB Host Controller Driver
14 #include "c67x00.h"
15 #include "c67x00-hcd.h"
35 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hub_reset_host_port() local
40 spin_lock_irqsave(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
42 spin_unlock_irqrestore(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_status_data() local
50 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_status_data()
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_control() local
70 struct c67x00_sie *sie = c67x00 in c67x00_hub_control()
238 struct c67x00_hcd *c67x00 = sie->private_data; c67x00_hcd_irq() local
285 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); c67x00_hcd_get_frame() local
331 struct c67x00_hcd *c67x00; c67x00_hcd_probe() local
393 struct c67x00_hcd *c67x00 = sie->private_data; c67x00_hcd_remove() local
[all...]
H A DMakefile6 obj-$(CONFIG_USB_C67X00_HCD) += c67x00.o
8 c67x00-y := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
H A Dc67x00-hcd.h3 * c67x00-hcd.h: Cypress C67X00 USB HCD
18 #include "c67x00.h"
92 static inline struct usb_hcd *c67x00_hcd_to_hcd(struct c67x00_hcd *c67x00) in c67x00_hcd_to_hcd() argument
94 return container_of((void *)c67x00, struct usb_hcd, hcd_priv); in c67x00_hcd_to_hcd()
98 * Functions used by c67x00-drv
113 void c67x00_sched_kick(struct c67x00_hcd *c67x00);
114 int c67x00_sched_start_scheduler(struct c67x00_hcd *c67x00);
115 void c67x00_sched_stop_scheduler(struct c67x00_hcd *c67x00);
H A Dc67x00-ll-hpi.c3 * c67x00-ll-hpi.c: Cypress C67X00 USB Low level interface using HPI
14 #include <linux/usb/c67x00.h>
15 #include "c67x00.h"
51 * The c67x00 chip also support control via SPI or HSS serial
399 * c67x00_ll_write_mem_le16 - write into c67x00 memory
438 * c67x00_ll_read_mem_le16 - read from c67x00 memory
/kernel/linux/linux-5.10/arch/xtensa/platforms/xtfpga/
H A Dsetup.c146 #include <linux/usb/c67x00.h>
214 .name = "c67x00",
/kernel/linux/linux-6.6/arch/xtensa/platforms/xtfpga/
H A Dsetup.c156 #include <linux/usb/c67x00.h>
224 .name = "c67x00",

Completed in 7 milliseconds