Lines Matching refs:sconfig_desc
285 const struct rtd_pin_sconfig_desc *sconfig_desc; in rtd_pconf_parse_conf() local
412 sconfig_desc = rtd_pinctrl_find_sconfig(data, pinnr); in rtd_pconf_parse_conf()
413 if (!sconfig_desc) { in rtd_pconf_parse_conf()
418 reg_off = sconfig_desc->reg_offset; in rtd_pconf_parse_conf()
419 p_off = sconfig_desc->pdrive_offset; in rtd_pconf_parse_conf()
424 mask = GENMASK(p_off + sconfig_desc->pdrive_maskbits - 1, p_off); in rtd_pconf_parse_conf()
429 sconfig_desc = rtd_pinctrl_find_sconfig(data, pinnr); in rtd_pconf_parse_conf()
430 if (!sconfig_desc) { in rtd_pconf_parse_conf()
435 reg_off = sconfig_desc->reg_offset; in rtd_pconf_parse_conf()
436 n_off = sconfig_desc->ndrive_offset; in rtd_pconf_parse_conf()
441 mask = GENMASK(n_off + sconfig_desc->ndrive_maskbits - 1, n_off); in rtd_pconf_parse_conf()
446 sconfig_desc = rtd_pinctrl_find_sconfig(data, pinnr); in rtd_pconf_parse_conf()
447 if (!sconfig_desc || sconfig_desc->dcycle_offset == NA) { in rtd_pconf_parse_conf()
453 mask = GENMASK(sconfig_desc->dcycle_offset + in rtd_pconf_parse_conf()
454 sconfig_desc->dcycle_maskbits - 1, sconfig_desc->dcycle_offset); in rtd_pconf_parse_conf()
455 val = set_val << sconfig_desc->dcycle_offset; in rtd_pconf_parse_conf()