Searched refs:nsel (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
H A D | ksz_dcb.c | 483 const u8 *sel, int nsel) in ksz_port_set_apptrust_validate() argument 489 for (i = 0; i < nsel; i++) { in ksz_port_set_apptrust_validate() 684 const u8 *sel, int nsel) in ksz_port_set_apptrust() argument 692 ret = ksz_port_set_apptrust_validate(dev, port, sel, nsel); in ksz_port_set_apptrust() 698 for (i = 0; i < nsel; i++) { in ksz_port_set_apptrust() 732 int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel) in ksz_port_get_apptrust() argument 746 *nsel = 0; in ksz_port_get_apptrust() 749 sel[(*nsel)++] = ksz_supported_apptrust[i]; in ksz_port_get_apptrust()
|
H A D | ksz_dcb.h | 18 int nsel); 19 int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel);
|
/linux/drivers/clk/nxp/ |
H A D | clk-lpc18xx-cgu.c | 454 u16 msel, nsel, psel; in lpc18xx_pll1_recalc_rate() local 464 nsel = ((ctrl >> 12) & 0x3) + 1; in lpc18xx_pll1_recalc_rate() 467 return msel * (parent_rate / nsel); in lpc18xx_pll1_recalc_rate() 472 return (msel / (2 * psel)) * (parent_rate / nsel); in lpc18xx_pll1_recalc_rate()
|