Home
last modified time | relevance | path

Searched refs:pipenum (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/udc/
Dr8a66597-udc.c50 static void enable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in enable_pipe_irq() argument
58 r8a66597_bset(r8a66597, (1 << pipenum), reg); in enable_pipe_irq()
62 static void disable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in disable_pipe_irq() argument
70 r8a66597_bclr(r8a66597, (1 << pipenum), reg); in disable_pipe_irq()
101 static inline u16 control_reg_get_pid(struct r8a66597 *r8a66597, u16 pipenum) in control_reg_get_pid() argument
106 if (pipenum == 0) { in control_reg_get_pid()
108 } else if (pipenum < R8A66597_MAX_NUM_PIPE) { in control_reg_get_pid()
109 offset = get_pipectr_addr(pipenum); in control_reg_get_pid()
113 pipenum); in control_reg_get_pid()
119 static inline void control_reg_set_pid(struct r8a66597 *r8a66597, u16 pipenum, in control_reg_set_pid() argument
[all …]
Dr8a66597-udc.h30 #define is_bulk_pipe(pipenum) \ argument
31 ((pipenum >= R8A66597_BASE_PIPENUM_BULK) && \
32 (pipenum < (R8A66597_BASE_PIPENUM_BULK + R8A66597_MAX_NUM_BULK)))
33 #define is_interrupt_pipe(pipenum) \ argument
34 ((pipenum >= R8A66597_BASE_PIPENUM_INT) && \
35 (pipenum < (R8A66597_BASE_PIPENUM_INT + R8A66597_MAX_NUM_INT)))
36 #define is_isoc_pipe(pipenum) \ argument
37 ((pipenum >= R8A66597_BASE_PIPENUM_ISOC) && \
38 (pipenum < (R8A66597_BASE_PIPENUM_ISOC + R8A66597_MAX_NUM_ISOC)))
67 u16 pipenum; member
[all …]
Dm66592-udc.c49 static void enable_pipe_irq(struct m66592 *m66592, u16 pipenum, in enable_pipe_irq() argument
57 m66592_bset(m66592, (1 << pipenum), reg); in enable_pipe_irq()
61 static void disable_pipe_irq(struct m66592 *m66592, u16 pipenum, in disable_pipe_irq() argument
69 m66592_bclr(m66592, (1 << pipenum), reg); in disable_pipe_irq()
102 static inline u16 control_reg_get_pid(struct m66592 *m66592, u16 pipenum) in control_reg_get_pid() argument
107 if (pipenum == 0) in control_reg_get_pid()
109 else if (pipenum < M66592_MAX_NUM_PIPE) { in control_reg_get_pid()
110 offset = get_pipectr_addr(pipenum); in control_reg_get_pid()
113 pr_err("unexpect pipe num (%d)\n", pipenum); in control_reg_get_pid()
118 static inline void control_reg_set_pid(struct m66592 *m66592, u16 pipenum, in control_reg_set_pid() argument
[all …]
Dm66592-udc.h411 #define get_pipectr_addr(pipenum) (M66592_PIPE1CTR + (pipenum - 1) * 2) argument
451 u16 pipenum; member
497 #define is_bulk_pipe(pipenum) \ argument
498 ((pipenum >= M66592_BASE_PIPENUM_BULK) && \
499 (pipenum < (M66592_BASE_PIPENUM_BULK + M66592_MAX_NUM_BULK)))
500 #define is_interrupt_pipe(pipenum) \ argument
501 ((pipenum >= M66592_BASE_PIPENUM_INT) && \
502 (pipenum < (M66592_BASE_PIPENUM_INT + M66592_MAX_NUM_INT)))
503 #define is_isoc_pipe(pipenum) \ argument
504 ((pipenum >= M66592_BASE_PIPENUM_ISOC) && \
[all …]
/Linux-v6.6/drivers/usb/host/
Dr8a66597.h27 #define check_bulk_or_isoc(pipenum) ((pipenum >= 1 && pipenum <= 5)) argument
28 #define check_interrupt(pipenum) ((pipenum >= 6 && pipenum <= 9)) argument
33 u16 pipenum; member
61 u16 pipenum; member
142 u16 pipenum) in r8a66597_get_td() argument
144 if (unlikely(list_empty(&r8a66597->pipe_queue[pipenum]))) in r8a66597_get_td()
147 return list_entry(r8a66597->pipe_queue[pipenum].next, in r8a66597_get_td()
152 u16 pipenum) in r8a66597_get_urb() argument
156 td = r8a66597_get_td(r8a66597, pipenum); in r8a66597_get_urb()
320 #define get_pipectr_addr(pipenum) (PIPE1CTR + (pipenum - 1) * 2) argument
[all …]
Dr8a66597-hcd.c41 static void packet_write(struct r8a66597 *r8a66597, u16 pipenum);
45 static void enable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in enable_pipe_irq() argument
52 r8a66597_bset(r8a66597, 1 << pipenum, reg); in enable_pipe_irq()
57 static void disable_pipe_irq(struct r8a66597 *r8a66597, u16 pipenum, in disable_pipe_irq() argument
64 r8a66597_bclr(r8a66597, 1 << pipenum, reg); in disable_pipe_irq()
299 u16 pipenum = pipe->info.pipenum; in set_pipe_reg_addr() local
311 if (pipenum == 0) in set_pipe_reg_addr()
314 pipe->pipectr = get_pipectr_addr(pipenum); in set_pipe_reg_addr()
316 if (check_bulk_or_isoc(pipenum)) { in set_pipe_reg_addr()
317 pipe->pipetre = get_pipetre_addr(pipenum); in set_pipe_reg_addr()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dhw.c1293 .pipenum = __cpu_to_le32(0),
1303 .pipenum = __cpu_to_le32(1),
1313 .pipenum = __cpu_to_le32(2),
1323 .pipenum = __cpu_to_le32(3),
1333 .pipenum = __cpu_to_le32(4),
1343 .pipenum = __cpu_to_le32(5),
1353 .pipenum = __cpu_to_le32(6),
1363 .pipenum = __cpu_to_le32(7),
1373 .pipenum = __cpu_to_le32(8),
1383 .pipenum = __cpu_to_le32(9),
[all …]
Dce.h74 __le32 pipenum; member
84 __le32 pipenum; member
Dpcic.c745 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
750 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
756 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
757 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pcic_map_service_to_pipe()
Dahb.c656 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
661 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
667 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
668 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
Dqmi.c2692 req->tgt_cfg[pipe_num].pipe_num = ce_cfg[pipe_num].pipenum; in ath11k_qmi_wlanfw_wlan_cfg_send()
2705 req->svc_cfg[pipe_num].pipe_num = svc_cfg[pipe_num].pipenum; in ath11k_qmi_wlanfw_wlan_cfg_send()
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dhw.c121 .pipenum = __cpu_to_le32(0),
131 .pipenum = __cpu_to_le32(1),
141 .pipenum = __cpu_to_le32(2),
151 .pipenum = __cpu_to_le32(3),
161 .pipenum = __cpu_to_le32(4),
171 .pipenum = __cpu_to_le32(5),
181 .pipenum = __cpu_to_le32(6),
191 .pipenum = __cpu_to_le32(7),
201 .pipenum = __cpu_to_le32(8),
213 .pipenum = __cpu_to_le32(12),
[all …]
Dce.h62 __le32 pipenum; member
71 __le32 pipenum; member
Dpci.c851 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath12k_pci_map_service_to_pipe()
856 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath12k_pci_map_service_to_pipe()
862 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath12k_pci_map_service_to_pipe()
863 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath12k_pci_map_service_to_pipe()
Dqmi.c2669 req->tgt_cfg[pipe_num].pipe_num = ce_cfg[pipe_num].pipenum; in ath12k_qmi_wlanfw_wlan_cfg_send()
2682 req->svc_cfg[pipe_num].pipe_num = svc_cfg[pipe_num].pipenum; in ath12k_qmi_wlanfw_wlan_cfg_send()
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dsnoc.c245 .pipenum = __cpu_to_le32(0),
255 .pipenum = __cpu_to_le32(1),
265 .pipenum = __cpu_to_le32(2),
275 .pipenum = __cpu_to_le32(3),
285 .pipenum = __cpu_to_le32(4),
295 .pipenum = __cpu_to_le32(5),
305 .pipenum = __cpu_to_le32(6),
315 .pipenum = __cpu_to_le32(7),
325 .pipenum = __cpu_to_le32(8),
335 .pipenum = __cpu_to_le32(9),
[all …]
Dce.h395 __le32 pipenum; member
424 __le32 pipenum; member
Dpci.c228 .pipenum = __cpu_to_le32(0),
238 .pipenum = __cpu_to_le32(1),
248 .pipenum = __cpu_to_le32(2),
258 .pipenum = __cpu_to_le32(3),
268 .pipenum = __cpu_to_le32(4),
280 .pipenum = __cpu_to_le32(5),
290 .pipenum = __cpu_to_le32(6),
300 .pipenum = __cpu_to_le32(7),
310 .pipenum = __cpu_to_le32(8),
320 .pipenum = __cpu_to_le32(9),
[all …]