Home
last modified time | relevance | path

Searched refs:pwm_const (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/can/dev/
H A Dnetlink.c529 const struct can_pwm_const *pwm_const = priv->xl.pwm_const; in can_pwm_changelink() local
537 if (!pwm_const) { in can_pwm_changelink()
552 if (pwm.pwms < pwm_const->pwms_min || in can_pwm_changelink()
553 pwm.pwms > pwm_const->pwms_max) { in can_pwm_changelink()
556 pwm.pwms, pwm_const->pwms_min, in can_pwm_changelink()
557 pwm_const->pwms_max); in can_pwm_changelink()
564 if (pwm.pwml < pwm_const->pwml_min || in can_pwm_changelink()
565 pwm.pwml > pwm_const->pwml_max) { in can_pwm_changelink()
568 pwm.pwml, pwm_const->pwml_min, in can_pwm_changelink()
569 pwm_const->pwml_max); in can_pwm_changelink()
[all …]
H A Dcalc_bittiming.c232 const struct can_pwm_const *pwm_const = priv->xl.pwm_const; in can_calc_pwm() local
237 int pwm_per_bit_max = xl_tqmin / (pwm_const->pwms_min + pwm_const->pwml_min); in can_calc_pwm()
/linux/drivers/net/can/
H A Ddummy_can.c253 priv->can.xl.pwm_const = &dummy_can_pwm_const; in dummy_can_init()