Lines Matching full:gcan
172 struct regmap *gcan; member
215 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, 0); in bxcan_disable_filters()
233 regmap_update_bits(priv->gcan, BXCAN_FMR_REG, in bxcan_enable_filters()
239 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, 0); in bxcan_enable_filters()
242 regmap_update_bits(priv->gcan, BXCAN_FM1R_REG, fmask, 0); in bxcan_enable_filters()
245 regmap_update_bits(priv->gcan, BXCAN_FS1R_REG, fmask, fmask); in bxcan_enable_filters()
248 regmap_update_bits(priv->gcan, BXCAN_FFA1R_REG, fmask, 0); in bxcan_enable_filters()
251 regmap_write(priv->gcan, BXCAN_FiR1_REG(fid), 0); in bxcan_enable_filters()
252 regmap_write(priv->gcan, BXCAN_FiR2_REG(fid), 0); in bxcan_enable_filters()
255 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, fmask); in bxcan_enable_filters()
258 regmap_update_bits(priv->gcan, BXCAN_FMR_REG, BXCAN_FMR_FINIT, 0); in bxcan_enable_filters()
938 struct regmap *gcan; in bxcan_probe() local
948 gcan = syscon_regmap_lookup_by_phandle(np, "st,gcan"); in bxcan_probe()
949 if (IS_ERR(gcan)) { in bxcan_probe()
951 return PTR_ERR(gcan); in bxcan_probe()
996 priv->gcan = gcan; in bxcan_probe()