Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 84) sorted by relevance

1234

/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/class/msc/Source/
A Dusbh_msc_core.c181 msc->unit[i].state_changed = 0U; in usbh_msc_req()
224 switch (msc->unit[msc->cur_lun].state) { in usbh_msc_handle()
388 switch (msc->unit[lun].state) { in usbh_msc_rdwr_process()
393 msc->unit[lun].state = MSC_IDLE; in usbh_msc_rdwr_process()
409 msc->unit[lun].state = MSC_IDLE; in usbh_msc_rdwr_process()
425 msc->unit[lun].state = MSC_IDLE; in usbh_msc_rdwr_process()
426 msc->unit[lun].error = MSC_ERROR; in usbh_msc_rdwr_process()
490 (MSC_IDLE != msc->unit[lun].state)) { in usbh_msc_read()
495 msc->unit[lun].state = MSC_READ; in usbh_msc_read()
538 (MSC_IDLE != msc->unit[lun].state)) { in usbh_msc_write()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Class/
A Duvc_driver.c747 struct uvc_entity *unit; in uvc_parse_vendor_control() local
792 unit = &UVCDev->entities[0]; in uvc_parse_vendor_control()
801 unit->un.extension.bmControls = (__u8 *)unit + sizeof(*unit); in uvc_parse_vendor_control()
802 unit->un.extension.bmControlsType = (__u8 *)unit + sizeof(*unit) in uvc_parse_vendor_control()
808 sizeof unit->name); in uvc_parse_vendor_control()
826 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
974 sizeof unit->name); in uvc_parse_standard_control()
996 unit->un.processing.bmControls = (__u8 *)unit + sizeof *unit; in uvc_parse_standard_control()
1003 sizeof unit->name); in uvc_parse_standard_control()
1026 unit->un.extension.bmControls = (__u8 *)unit + sizeof *unit; in uvc_parse_standard_control()
[all …]
/bsp/efm32/
A Dhdl_interrupt.c815 dmaCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
816 dmaCbTable[hook->unit].userPtr = hook->userPtr; in efm32_irq_hook_register()
820 rtcCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
821 rtcCbTable[hook->unit].userPtr = hook->userPtr; in efm32_irq_hook_register()
825 timerCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
835 gpioCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
836 gpioCbTable[hook->unit].userPtr = hook->userPtr; in efm32_irq_hook_register()
840 acmpCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
845 usartCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
857 iicCbTable[hook->unit].cbFunc = hook->cbFunc; in efm32_irq_hook_register()
[all …]
A Ddrv_usart.c197 usart_debug("USART%d err: no mem for RX BUF\n", usart->unit); in rt_usart_open()
219 switch (usart->unit) in rt_usart_open()
291 usart_debug("USART%d: Open with flag %x\n", usart->unit, oflag); in rt_usart_open()
1067 usart_debug("USART%d err: no mem\n", usart->unit); in rt_hw_usart_unit_init()
1071 usart->unit = unitNumber; in rt_hw_usart_unit_init()
1083 usart_debug("USART%d err: no mem for DMA TX\n", usart->unit); in rt_hw_usart_unit_init()
1095 usart_debug("USART%d err: no mem for INT RX\n", usart->unit); in rt_hw_usart_unit_init()
1241 hook.unit = unitNumber * 2 + 1; in rt_hw_usart_unit_init()
1245 hook.unit += USART_COUNT * 2; in rt_hw_usart_unit_init()
1260 hook.unit = dmaChannel; in rt_hw_usart_unit_init()
[all …]
A Ddrv_leuart.c143 leuart_debug("LEUART%d err: no mem for RX BUF\n", leuart->unit); in rt_leuart_open()
156 switch (leuart->unit) in rt_leuart_open()
185 leuart_debug("LEUART%d: Open with flag %x\n", leuart->unit, oflag); in rt_leuart_open()
571 leuart_debug("LEUART%d err: no mem for RX BUF\n", leuart->unit); in rt_leuart_control()
584 leuart_debug("LEUART%d err: no mem for RX BUF\n", leuart->unit); in rt_leuart_control()
815 leuart->unit = unitNumber; in rt_hw_leuart_unit_init()
897 hook.unit = unitNumber; in rt_hw_leuart_unit_init()
910 hook.unit = dmaChannel; in rt_hw_leuart_unit_init()
A Dhdl_interrupt.h35 rt_uint8_t unit; member
A Ddrv_leuart.h40 rt_uint8_t unit; member
A Ddrv_usart.h46 rt_uint8_t unit; member
/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/
A DCH57x_pwr.c52 void PWR_UnitModCfg( UINT8 s, UINT8 unit ) in PWR_UnitModCfg() argument
58 if(unit&UNIT_ETH_PHY) R8_SLP_POWER_CTRL |= RB_SLP_ETH_PWR_DN; in PWR_UnitModCfg()
59 R8_HFCK_PWR_CTRL &= ~(unit&0x1c); in PWR_UnitModCfg()
60 R8_CK32K_CONFIG &= ~(unit&0x03); in PWR_UnitModCfg()
66 if(unit&UNIT_ETH_PHY) R8_SLP_POWER_CTRL &= ~RB_SLP_ETH_PWR_DN; in PWR_UnitModCfg()
67 R8_HFCK_PWR_CTRL |= (unit&0x1c); in PWR_UnitModCfg()
68 R8_CK32K_CONFIG |= (unit&0x03); in PWR_UnitModCfg()
/bsp/w60x/drivers/
A Ddrv_hw_timer.c21 enum tls_timer_unit unit; member
30 timer_cfg.unit = wm_timer->unit; in wm_timer_init()
130 wm_timer1.unit = TLS_TIMER_UNIT_US; in wm_hw_timer_init()
139 wm_timer2.unit = TLS_TIMER_UNIT_US; in wm_hw_timer_init()
148 wm_timer3.unit = TLS_TIMER_UNIT_US; in wm_hw_timer_init()
157 wm_timer4.unit = TLS_TIMER_UNIT_US; in wm_hw_timer_init()
166 wm_timer5.unit = TLS_TIMER_UNIT_US; in wm_hw_timer_init()
/bsp/cvitek/drivers/libraries/spi/
A Ddw_spi.c185 uint32_t unit = _delay->unit; in spi_delay_to_ns() local
191 switch (unit) { in spi_delay_to_ns()
248 delay.unit = SPI_DELAY_UNIT_SCK; in poll_transfer()
/bsp/hc32/ev_hc32f334_lqfp64/board/
A DKconfig596 bool "unit 1"
598 bool "unit 2"
600 bool "unit 3"
602 bool "unit 4"
604 bool "unit 5"
606 bool "unit 6"
608 bool "unit 7"
610 bool "unit 8"
/bsp/apollo2/
A DREADME.md15 Floating point unit
16 Memory protection unit
/bsp/stm32/stm32f410-st-nucleo/
A DREADME.md7unit (FPU) single precision which supports all ARM single-precision data-processing instructions a…
18 …e execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/1.25 DMI…
58 - CRC calculation unit
/bsp/stm32/stm32f413-st-nucleo/
A DREADME.md7unit (FPU) single precision which supports all Arm single-precision data-processing instructions a…
19 …e execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/ 1.25 DM…
60 - CRC calculation unit
/bsp/stm32/stm32f411-st-nucleo/
A DREADME.md7unit (FPU) single precision which supports all Arm single-precision data-processing instructions a…
20 …e execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/1.25 DMI…
52 - CRC calculation unit
/bsp/stm32/stm32f412-st-nucleo/
A DREADME.md7unit (FPU) single precision which supports all Arm single-precision data-processing instructions a…
21 …e execution from Flash memory, frequency up to 100 MHz, memory protection unit, 125 DMIPS/1.25 DMI…
60 - CRC calculation unit
/bsp/stm32/stm32f446-st-nucleo/
A DREADME.md7unit (FPU) single precision supporting all Arm® single-precision data-processing instructions and …
57 - CRC calculation unit
/bsp/stm32/stm32g431-st-nucleo/
A DREADME.md9unit (FPU), which supports all the Arm single-precision data-processing instructions and all the d…
12 …hmetic function acceleration (CORDIC for trigonometric functions and FMAC unit for filter function…
82 - CRC calculation unit, 96-bit unique ID
/bsp/stm32/stm32g491-st-nucleo/
A DREADME.md9unit (FPU), which supports all the Arm single-precision data-processing instructions and all the d…
12 …hmetic function acceleration (CORDIC for trigonometric functions and FMAC unit for filter function…
82 - CRC calculation unit, 96-bit unique ID
/bsp/stm32/stm32h723-st-nucleo/
A DREADME.md7unit (FPU) which supports Arm® double-precision (IEEE 754 compliant) and single-precision data-pro…
11 …ion acceleration (CORDIC coprocessor for trigonometric functions and FMAC unit for filter function…
77 - CRC calculation unit
/bsp/wch/arm/ch579m/libraries/StdPeriphDriver/inc/
A DCH57x_pwr.h49 void PWR_UnitModCfg( UINT8 s, UINT8 unit ); /* 可控单元模块的电源控制 */
/bsp/stm32/stm32g474-st-nucleo/
A DREADME.md7unit (FPU), which supports all the Arm single-precision data-processing instructions and all the d…
10 …hmetic function acceleration (CORDIC for trigonometric functions and FMAC unit for filter function…
82 - CRC calculation unit, 96-bit unique ID
/bsp/rockchip/rk2108/board/common/
A Dsetting.ini8 #PartSize and PartOffset unit by sector
/bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/host/class/msc/Include/
A Dusbh_msc_core.h102 msc_lun unit[MSC_MAX_SUPPORTED_LUN]; member

Completed in 40 milliseconds

1234