Home
last modified time | relevance | path

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

/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 …]
/drivers/net/wireless/ath/ath11k/
Dhw.c285 .pipenum = __cpu_to_le32(0),
295 .pipenum = __cpu_to_le32(1),
305 .pipenum = __cpu_to_le32(2),
315 .pipenum = __cpu_to_le32(3),
325 .pipenum = __cpu_to_le32(4),
335 .pipenum = __cpu_to_le32(5),
345 .pipenum = __cpu_to_le32(6),
355 .pipenum = __cpu_to_le32(7),
365 .pipenum = __cpu_to_le32(8),
375 .pipenum = __cpu_to_le32(9),
[all …]
Dce.h69 __le32 pipenum; member
79 __le32 pipenum; member
Dahb.c577 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
582 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
588 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
589 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_ahb_map_service_to_pipe()
Dpci.c846 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
851 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
857 *dl_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
858 *ul_pipe = __le32_to_cpu(entry->pipenum); in ath11k_pci_map_service_to_pipe()
Dqmi.c2284 req->tgt_cfg[pipe_num].pipe_num = ce_cfg[pipe_num].pipenum; in ath11k_qmi_wlanfw_wlan_cfg_send()
2297 req->svc_cfg[pipe_num].pipe_num = svc_cfg[pipe_num].pipenum; in ath11k_qmi_wlanfw_wlan_cfg_send()
/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 …]
/drivers/gpu/drm/gma500/
Dmdfld_device.c157 static int mdfld_save_display_registers(struct drm_device *dev, int pipenum) in mdfld_save_display_registers() argument
161 struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum]; in mdfld_save_display_registers()
162 const struct psb_offset *map = &dev_priv->regmap[pipenum]; in mdfld_save_display_registers()
169 switch (pipenum) { in mdfld_save_display_registers()
211 if (pipenum == 1) { in mdfld_save_display_registers()
231 static int mdfld_restore_display_registers(struct drm_device *dev, int pipenum) in mdfld_restore_display_registers() argument
239 struct psb_pipe *pipe = &dev_priv->regs.pipe[pipenum]; in mdfld_restore_display_registers()
240 const struct psb_offset *map = &dev_priv->regmap[pipenum]; in mdfld_restore_display_registers()
252 switch (pipenum) { in mdfld_restore_display_registers()
273 if (pipenum == 1) { in mdfld_restore_display_registers()
[all …]
/drivers/net/wireless/ath/ath10k/
Dsnoc.c244 .pipenum = __cpu_to_le32(0),
254 .pipenum = __cpu_to_le32(1),
264 .pipenum = __cpu_to_le32(2),
274 .pipenum = __cpu_to_le32(3),
284 .pipenum = __cpu_to_le32(4),
294 .pipenum = __cpu_to_le32(5),
304 .pipenum = __cpu_to_le32(6),
314 .pipenum = __cpu_to_le32(7),
324 .pipenum = __cpu_to_le32(8),
334 .pipenum = __cpu_to_le32(9),
[all …]
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 …]
Dce.h395 __le32 pipenum; member
424 __le32 pipenum; member