Lines Matching refs:rstcs
364 * @num_rstcs: number of entries in rstcs array
365 * @rstcs: array of struct reset_control_bulk_data with reset controls set
372 struct reset_control_bulk_data *rstcs)
377 ret = reset_control_reset(rstcs[i].rstc);
491 * @num_rstcs: number of entries in rstcs array
492 * @rstcs: array of struct reset_control_bulk_data with reset controls set
500 struct reset_control_bulk_data *rstcs)
505 ret = reset_control_assert(rstcs[i].rstc);
514 reset_control_deassert(rstcs[i].rstc);
571 * @num_rstcs: number of entries in rstcs array
572 * @rstcs: array of struct reset_control_bulk_data with reset controls set
580 struct reset_control_bulk_data *rstcs)
585 ret = reset_control_deassert(rstcs[i].rstc);
594 reset_control_assert(rstcs[i++].rstc);
678 * @num_rstcs: number of entries in rstcs array
679 * @rstcs: array of struct reset_control_bulk_data with reset controls set
687 struct reset_control_bulk_data *rstcs)
692 ret = reset_control_acquire(rstcs[i].rstc);
701 reset_control_release(rstcs[i].rstc);
730 * @num_rstcs: number of entries in rstcs array
731 * @rstcs: array of struct reset_control_bulk_data with reset controls set
739 struct reset_control_bulk_data *rstcs)
744 reset_control_release(rstcs[i].rstc);
959 struct reset_control_bulk_data *rstcs,
965 rstcs[i].rstc = __reset_control_get(dev, rstcs[i].id, 0,
967 if (IS_ERR(rstcs[i].rstc)) {
968 ret = PTR_ERR(rstcs[i].rstc);
978 __reset_control_put_internal(rstcs[i].rstc);
1017 * @num_rstcs: number of entries in rstcs array
1018 * @rstcs: array of struct reset_control_bulk_data with reset controls set
1020 void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
1024 __reset_control_put_internal(rstcs[num_rstcs].rstc);
1060 struct reset_control_bulk_data *rstcs;
1067 reset_control_bulk_put(devres->num_rstcs, devres->rstcs);
1071 struct reset_control_bulk_data *rstcs,
1082 ret = __reset_control_bulk_get(dev, num_rstcs, rstcs, shared, optional, acquired);
1089 ptr->rstcs = rstcs;