Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 12 of 12) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dohci-mem.c75 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma)
80 td = hc->td_hash [TD_HASH_FUNC(td_dma)];
88 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags)
93 td = dma_pool_alloc (hc->td_cache, mem_flags, &dma);
97 td->hwNextTD = cpu_to_hc32 (hc, dma);
105 td_free (struct ohci_hcd *hc, struct td *td)
114 ohci_dbg (hc, "no hash for td %p\n", td);
115 dma_pool_free (hc->td_cache, td, td->td_dma);
122 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags)
137 ed_free (struct ohci_hcd *hc, struct ed *ed)
[all …]
A Dohci.h710 #define read_roothub(hc, register, mask) ({ \
711 u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \
713 hc->rh_state = OHCI_RH_HALTED; \
714 else if (hc->flags & OHCI_QUIRK_AMD756) \
716 temp = ohci_readl (hc, &hc->regs->roothub.register); \
719 static inline u32 roothub_a (struct ohci_hcd *hc)
720 { return read_roothub (hc, a, 0xfc0fe000); }
721 static inline u32 roothub_b (struct ohci_hcd *hc)
722 { return ohci_readl (hc, &hc->regs->roothub.b); }
723 static inline u32 roothub_status (struct ohci_hcd *hc)
[all …]
A Dohci-hub.c18 #define dbg_port(hc,label,num,value) \
19 ohci_dbg (hc, \
A Dohci-q.c15 static void urb_free_priv (struct ohci_hcd *hc, urb_priv_t *urb_priv)
26 td_free (hc, td);
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_usbh.c705 pdev->host.hc[hc_num].max_packet = mps; in usb_host_chopen()
706 pdev->host.hc[hc_num].ch_speed = speed; in usb_host_chopen()
707 pdev->host.hc[hc_num].in_toggle = 0U; in usb_host_chopen()
708 pdev->host.hc[hc_num].out_toggle = 0U; in usb_host_chopen()
726 pdev->host.hc[hc_num].max_packet = mps; in usb_host_ch_init()
727 pdev->host.hc[hc_num].ch_speed = speed; in usb_host_ch_init()
742 pdev->host.hc[ch_num].ep_type = ep_type; in usb_host_submitrequest()
839 pdev->host.hc[ch_num].xfer_buff = pbuff; in usb_host_submitrequest()
841 pdev->host.hc[ch_num].xfer_count = 0U; in usb_host_submitrequest()
860 return pdev->host.hc[chnum].xfer_count; in usb_hsot_get_ch_xfercount()
[all …]
A Ddrv_usbh.h109 USB_HOST_CH hc[USB_MAX_TX_FIFOS]; member
/bsp/wch/risc-v/Libraries/ch56x_drivers/
A Dch56x_wdt.c78 uint32_t hc = wdt_dev->hicount; in wdt_get_timeleft() local
84 hc = wdt_dev->hicount; in wdt_get_timeleft()
87 hc++; in wdt_get_timeleft()
91 countleft = ((WDOG_HICOUNT_MAX << 8) + 0xff) - ((hc << 8) + c2); in wdt_get_timeleft()
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_jpeg_drv.c97 #define JPEG_HC(x) ((x)->hc)
111 uint8_t hy, vy, hc, vc; in jpeg_config_interal_regs() local
114 hc = JPEG_HC(&jpeg_supported_sampling[format]); in jpeg_config_interal_regs()
129 ptr->IMGREG[1] = JPEG_IMGREG_NBLOCK_SET(hc * vc - 1) in jpeg_config_interal_regs()
133 ptr->IMGREG[2] = JPEG_IMGREG_NBLOCK_SET(hc * vc - 1) in jpeg_config_interal_regs()
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_usbh.c177 if (stm32_hhcd_fs.hc[pipe->pipe_index].ep_is_in) in drv_open_pipe()
179 stm32_hhcd_fs.hc[pipe->pipe_index].toggle_in = 0; in drv_open_pipe()
183 stm32_hhcd_fs.hc[pipe->pipe_index].toggle_out = 0; in drv_open_pipe()
/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/inc/
A DCH57x_clk.h132 void HClk32M_Select( HClk32MTypeDef hc); /* 32M 高频时钟来源 */
133 void LClk32K_Select( LClk32KTypeDef hc); /* 32K 低频时钟来源 */
/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/
A DCH57x_clk.c147 void HClk32M_Select( HClk32MTypeDef hc) in HClk32M_Select() argument
151 if( hc == Clk32M_HSI) in HClk32M_Select()
166 void LClk32K_Select( LClk32KTypeDef hc) in LClk32K_Select() argument
170 if( hc == Clk32K_LSI) in LClk32K_Select()
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_jpeg_drv.h57 uint8_t hc:2; /**< bit: bit: 5-4 --> horizontal c component */ member

Completed in 41 milliseconds