| /components/drivers/regulator/ |
| A D | regulator_dm.c | 18 param->name = rt_ofw_prop_read_raw(np, "regulator-name", RT_NULL); in regulator_ofw_parse() 22 param->min_uvolt = pval; in regulator_ofw_parse() 27 param->max_uvolt = pval; in regulator_ofw_parse() 32 param->min_uamp = pval; in regulator_ofw_parse() 37 param->max_uamp = pval; in regulator_ofw_parse() 42 param->ramp_delay = pval; in regulator_ofw_parse() 47 param->enable_delay = pval; in regulator_ofw_parse() 51 param->boot_on = rt_ofw_prop_read_bool(np, "regulator-boot-on"); in regulator_ofw_parse() 52 param->always_on = rt_ofw_prop_read_bool(np, "regulator-always-on"); in regulator_ofw_parse() 53 param->soft_start = rt_ofw_prop_read_bool(np, "regulator-soft-start"); in regulator_ofw_parse() [all …]
|
| A D | regulator-fixed.c | 16 struct rt_regulator_param param; member 27 struct rt_regulator_param *param = &rf->param; in regulator_fixed_enable() local 29 if (rf->enable_pin < 0 || param->always_on) in regulator_fixed_enable() 43 struct rt_regulator_param *param = &rf->param; in regulator_fixed_disable() local 60 struct rt_regulator_param *param = &rf->param; in regulator_fixed_is_enabled() local 70 if (param->enable_active_high) in regulator_fixed_is_enabled() 82 return rf->param.min_uvolt + (rf->param.max_uvolt - rf->param.min_uvolt) / 2; in regulator_fixed_get_voltage() 109 rnp->supply_name = rf->param.name; in regulator_fixed_probe() 111 rnp->param = &rf->param; in regulator_fixed_probe() 130 rf->param.enable_delay = val; in regulator_fixed_probe() [all …]
|
| A D | regulator-gpio.c | 44 struct rt_regulator_param param; member 52 struct rt_regulator_param *param = &rg->param; in regulator_gpio_enable() local 54 if (param->always_on) in regulator_gpio_enable() 71 struct rt_regulator_param *param = &rg->param; in regulator_gpio_disable() local 73 if (param->always_on) in regulator_gpio_disable() 90 struct rt_regulator_param *param = &rg->param; in regulator_gpio_is_enabled() local 92 if (param->always_on) in regulator_gpio_is_enabled() 99 rt_uint8_t active_val = param->enable_active_high ? PIN_LOW : PIN_HIGH; in regulator_gpio_is_enabled() 182 regulator_ofw_parse(dev->ofw_node, &rg->param); in regulator_gpio_probe() 185 rgp->supply_name = rg->param.name; in regulator_gpio_probe() [all …]
|
| A D | regulator.c | 34 const struct rt_regulator_param *param; in rt_regulator_register() local 47 param = reg_np->param; in rt_regulator_register() 58 if (param->boot_on || param->always_on) in rt_regulator_register() 86 if (!(reg_np->param->boot_on || reg_np->param->always_on)) in rt_regulator_unregister() 174 if (reg_np->param->enable_delay) in regulator_get_enable_time() 176 return reg_np->param->enable_delay; in regulator_get_enable_time() 289 if (reg_np->param->off_on_delay) in regulator_disable() 389 const struct rt_regulator_param *param; in rt_regulator_is_supported_voltage() local 393 param = reg->reg_np->param; in rt_regulator_is_supported_voltage() 395 if (!param) in rt_regulator_is_supported_voltage() [all …]
|
| A D | regulator_dm.h | 18 rt_err_t regulator_ofw_parse(struct rt_ofw_node *np, struct rt_regulator_param *param); 20 rt_inline rt_err_t regulator_ofw_parse(struct rt_ofw_node *np, struct rt_regulator_param *param);
|
| /components/drivers/include/drivers/ |
| A D | cputime.h | 21 int (*cputime_settimeout)(uint64_t tick, void (*timeout)(void *param), void *param); 26 int clock_cpu_settimeout(uint64_t tick, void (*timeout)(void *param), void *param);
|
| /components/drivers/pic/ |
| A D | pic_rthw.c | 48 void *param, const char *name) in rt_hw_interrupt_install() argument 50 rt_pic_attach_irq(vector, handler, param, name, RT_IRQ_F_NONE); in rt_hw_interrupt_install() 61 void rt_hw_interrupt_uninstall(int vector, rt_isr_handler_t handler, void *param) in rt_hw_interrupt_uninstall() argument 63 rt_pic_detach_irq(vector, param); in rt_hw_interrupt_uninstall()
|
| A D | pic.c | 402 isr->action.param = uid; in rt_pic_attach_irq() 432 if (isr->action.param == uid) in rt_pic_detach_irq() 437 isr->action.param = RT_NULL; in rt_pic_detach_irq() 446 isr->action.param = next_isr->action.param; in rt_pic_detach_irq() 465 if (isr->action.param == uid) in rt_pic_detach_irq() 585 action->handler(pirq->irq, action->param); in rt_pic_handle_isr() 603 action->handler(pirq->irq, action->param); in rt_pic_handle_isr()
|
| /components/drivers/usb/cherryusb/class/cdc/ |
| A D | usbh_cdc_ncm.c | 59 static void print_ntb_parameters(struct cdc_ncm_ntb_parameters *param) in print_ntb_parameters() argument 62 USB_LOG_RAW("wLength: 0x%02x \r\n", param->wLength); in print_ntb_parameters() 65 USB_LOG_RAW("dwNtbInMaxSize: 0x%08x \r\n", (unsigned int)param->dwNtbInMaxSize); in print_ntb_parameters() 66 USB_LOG_RAW("wNdbInDivisor: 0x%02x \r\n", param->wNdbInDivisor); in print_ntb_parameters() 67 USB_LOG_RAW("wNdbInPayloadRemainder: 0x%02x \r\n", param->wNdbInPayloadRemainder); in print_ntb_parameters() 68 USB_LOG_RAW("wNdbInAlignment: 0x%02x \r\n", param->wNdbInAlignment); in print_ntb_parameters() 70 USB_LOG_RAW("dwNtbOutMaxSize: 0x%08x \r\n", (unsigned int)param->dwNtbOutMaxSize); in print_ntb_parameters() 71 USB_LOG_RAW("wNdbOutDivisor: 0x%02x \r\n", param->wNdbOutDivisor); in print_ntb_parameters() 72 USB_LOG_RAW("wNdbOutPayloadRemainder: 0x%02x \r\n", param->wNdbOutPayloadRemainder); in print_ntb_parameters() 73 USB_LOG_RAW("wNdbOutAlignment: 0x%02x \r\n", param->wNdbOutAlignment); in print_ntb_parameters() [all …]
|
| /components/libc/posix/pthreads/ |
| A D | pthread_attr.c | 238 struct sched_param const *param) in pthread_attr_setschedparam() argument 241 RT_ASSERT(param != RT_NULL); in pthread_attr_setschedparam() 243 attr->schedparam.sched_priority = param->sched_priority; in pthread_attr_setschedparam() 263 struct sched_param *param) in pthread_attr_getschedparam() argument 266 RT_ASSERT(param != RT_NULL); in pthread_attr_getschedparam() 268 param->sched_priority = attr->schedparam.sched_priority; in pthread_attr_getschedparam()
|
| A D | pthread.c | 822 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument 828 pthread_attr_getschedparam(&ptd->attr, param); in pthread_getschedparam() 875 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument 881 pthread_attr_setschedparam(&ptd->attr, param); in pthread_setschedparam() 919 struct sched_param param; in pthread_setschedprio() local 922 param.sched_priority = prio; in pthread_setschedprio() 923 pthread_attr_setschedparam(&ptd->attr, ¶m); in pthread_setschedprio()
|
| A D | pthread.h | 147 int pthread_attr_setschedparam(pthread_attr_t *attr,struct sched_param const *param); 148 int pthread_attr_getschedparam(pthread_attr_t const *attr,struct sched_param *param); 181 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param); 182 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param);
|
| /components/drivers/cputime/ |
| A D | cputime.c | 55 int clock_cpu_settimeout(uint64_t tick, void (*timeout)(void *param), void *param) in clock_cpu_settimeout() argument 58 return _cputime_ops->cputime_settimeout(tick, timeout, param); in clock_cpu_settimeout()
|
| /components/drivers/usb/cherryusb/port/ehci/ |
| A D | usb_glue_ma35d0.c | 29 static void nu_echi_isr(int vector, void *param) in nu_echi_isr() argument 31 uint8_t busid = (uint8_t)param; in nu_echi_isr() 36 static void nu_ochi_isr(int vector, void *param) in nu_ochi_isr() argument
|
| A D | usb_glue_nuc980.c | 28 static void nu_ehci_isr(int vector, void *param) in nu_ehci_isr() argument
|
| /components/legacy/usb/usbhost/class/ |
| A D | ukbd.c | 42 static void kbd_task(void* param) in kbd_task() argument 44 struct uhintf* intf = (struct uhintf*)param; in kbd_task()
|
| A D | umouse.c | 135 static void mouse_task(void* param) in mouse_task() argument 137 struct uhintf* intf = (struct uhintf*)param; in mouse_task()
|
| /components/drivers/usb/cherryusb/demo/adb/ |
| A D | cherrysh_port.c | 99 static void task_repl(void *param) in task_repl() argument 101 (void)param; in task_repl() 151 static void task_exec(void *param) in task_exec() argument 153 (void)param; in task_exec()
|
| /components/vbus/ |
| A D | vbus.h | 168 void rt_vbus_isr(int irqnr, void *param); 175 int rt_vbus_hw_eoi(int irqnr, void *param);
|
| /components/drivers/usb/cherryusb/class/wireless/ |
| A D | usbd_rndis.c | 356 rndis_config_parameter_t *param; in rndis_set_cmd_handler() local 368 … param = (rndis_config_parameter_t *)((uint8_t *)&(cmd->RequestId) + cmd->InformationBufferOffset); in rndis_set_cmd_handler() 370 param->ParameterNameOffset, param->ParameterNameLength, in rndis_set_cmd_handler() 371 param->ParameterValueOffset, param->ParameterValueLength); in rndis_set_cmd_handler()
|
| /components/drivers/mailbox/ |
| A D | mailbox.c | 26 static void mbox_chan_timeout(void *param); 178 static void mbox_chan_timeout(void *param) in mbox_chan_timeout() argument 181 struct rt_mbox_chan *chan = param; in mbox_chan_timeout()
|
| /components/drivers/usb/cherryusb/port/xhci/phytium/rt-thread/ |
| A D | usb_glue_phytium_plat.c | 18 static void usb_hc_xhci_interrupt_handler(int irqno, void *param) in usb_hc_xhci_interrupt_handler() argument
|
| /components/libc/cplusplus/os/ |
| A D | cxx_thread.h | 23 typedef void (*thread_func_t)(void *param);
|
| /components/drivers/usb/cherryusb/port/pusb2/rt-thread/ |
| A D | usb_dc_glue_phytium.c | 25 static void usb_dc_pusb2_interrupt_handler(int irqno, void *param) in usb_dc_pusb2_interrupt_handler() argument
|
| /components/libc/posix/libdl/ |
| A D | dlmodule.h | 65 rt_err_t (*unload)(rt_uint8_t *param); /* unload dlmodule file data */
|