Searched refs:dsc (Results 1 – 5 of 5) sorted by relevance
44 int stm32_gpio_config(const struct stm32_gpio_dsc *dsc, in stm32_gpio_config() argument51 if (CHECK_DSC(dsc)) { in stm32_gpio_config()60 gpio_regs = (struct stm32_gpio_regs *)io_base[dsc->port]; in stm32_gpio_config()62 i = (dsc->pin & 0x07) * 4; in stm32_gpio_config()63 clrsetbits_le32(&gpio_regs->afr[dsc->pin >> 3], 0xF << i, ctl->af << i); in stm32_gpio_config()65 i = dsc->pin * 2; in stm32_gpio_config()77 int stm32_gpout_set(const struct stm32_gpio_dsc *dsc, int state) in stm32_gpout_set() argument82 if (CHECK_DSC(dsc)) { in stm32_gpout_set()87 gpio_regs = (struct stm32_gpio_regs *)io_base[dsc->port]; in stm32_gpout_set()90 writel(1 << dsc->pin, &gpio_regs->bsrr); in stm32_gpout_set()[all …]
2791 static void yaffsfs_SetDirRewound(struct yaffsfs_DirSearchContxt *dsc) in yaffsfs_SetDirRewound() argument2793 if (dsc && in yaffsfs_SetDirRewound()2794 dsc->dirObj && in yaffsfs_SetDirRewound()2795 dsc->dirObj->variant_type == YAFFS_OBJECT_TYPE_DIRECTORY) { in yaffsfs_SetDirRewound()2797 dsc->offset = 0; in yaffsfs_SetDirRewound()2799 if (list_empty(&dsc->dirObj->variant.dir_variant.children)) in yaffsfs_SetDirRewound()2800 dsc->nextReturn = NULL; in yaffsfs_SetDirRewound()2802 dsc->nextReturn = in yaffsfs_SetDirRewound()2803 list_entry(dsc->dirObj->variant.dir_variant. in yaffsfs_SetDirRewound()2811 static void yaffsfs_DirAdvance(struct yaffsfs_DirSearchContxt *dsc) in yaffsfs_DirAdvance() argument[all …]
610 uint32_t dsc; in dwc_otg_submit_rh_msg_in_descriptor() local648 dsc = 0x00000001; in dwc_otg_submit_rh_msg_in_descriptor()652 data[2] = dsc & RH_A_NDP; in dwc_otg_submit_rh_msg_in_descriptor()654 if (dsc & RH_A_PSM) in dwc_otg_submit_rh_msg_in_descriptor()656 if (dsc & RH_A_NOCP) in dwc_otg_submit_rh_msg_in_descriptor()658 else if (dsc & RH_A_OCPM) in dwc_otg_submit_rh_msg_in_descriptor()662 data[5] = (dsc & RH_A_POTPGT) >> 24; in dwc_otg_submit_rh_msg_in_descriptor()663 data[7] = dsc & RH_B_DR; in dwc_otg_submit_rh_msg_in_descriptor()668 data[8] = (dsc & RH_B_DR) >> 8; in dwc_otg_submit_rh_msg_in_descriptor()
218 bool dsc; member774 dsi2->dsc_enable = dsi2->pdata->dsc ? in dw_mipi_dsi2_get_dsc_params_from_sink()1371 .dsc = false,1378 .dsc = true,
1435 struct vop2_dsc_data *dsc; member4506 const struct vop2_dsc_data *dsc_data = &vop2_data->dsc[dsc_id]; in vop2_load_pps()4539 const struct vop2_dsc_data *dsc_data = &vop2_data->dsc[dsc_id]; in vop2_dsc_enable()8014 .dsc = rk3588_dsc_data,