/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_sysfs.c | 33 PTP_SHOW_INT(n_programmable_pins, n_pins); 204 for (i = 0; i < ptp->info->n_pins; i++) { in ptp_pin_name2index() 261 int err = -ENOMEM, i, n_pins = info->n_pins; in ptp_populate_pin_groups() local 263 if (!n_pins) in ptp_populate_pin_groups() 266 ptp->pin_dev_attr = kcalloc(n_pins, sizeof(*ptp->pin_dev_attr), in ptp_populate_pin_groups() 271 ptp->pin_attr = kcalloc(1 + n_pins, sizeof(*ptp->pin_attr), GFP_KERNEL); in ptp_populate_pin_groups() 275 for (i = 0; i < n_pins; i++) { in ptp_populate_pin_groups()
|
D | ptp_chardev.c | 56 for (i = 0; i < info->n_pins; i++) { in ptp_set_pinfunc() 137 caps.n_pins = ptp->info->n_pins; in ptp_ioctl() 378 if (pin_index >= ops->n_pins) { in ptp_ioctl() 382 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl() 410 if (pin_index >= ops->n_pins) { in ptp_ioctl() 414 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()
|
D | ptp_kvm.c | 148 .n_pins = 0,
|
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
D | pinctrl-madera.h | 14 unsigned int n_pins; member 18 unsigned int n_pins; member
|
D | pinctrl-madera-core.c | 448 return priv->chip->n_pin_groups + priv->chip->n_pins; in madera_get_groups_count() 472 *num_pins = priv->chip->pin_groups[selector].n_pins; in madera_get_group_pins() 502 for (g_pin = 0; g_pin < chip->pin_groups[i].n_pins; ++g_pin) { in madera_pin_dbg_show_fn() 601 *num_groups = priv->chip->n_pins; in madera_mux_get_groups() 635 for (i = 0; i < pin_group->n_pins; ++i) { in madera_mux_set_mux() 966 for (i = 0; i < pin_group->n_pins; ++i) { in madera_pin_conf_group_set() 1047 madera_pin_desc.npins = priv->chip->n_pins; in madera_pin_probe()
|
D | pinctrl-cs47l15.c | 37 .n_pins = CS47L15_NUM_GPIOS,
|
D | pinctrl-cs47l92.c | 37 .n_pins = CS47L92_NUM_GPIOS,
|
D | pinctrl-cs47l35.c | 38 .n_pins = CS47L35_NUM_GPIOS,
|
D | pinctrl-cs47l90.c | 50 .n_pins = CS47L90_NUM_GPIOS,
|
D | pinctrl-cs47l85.c | 52 .n_pins = CS47L85_NUM_GPIOS,
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
D | testptp.c | 291 caps.n_pins, in main() 389 int n_pins = 0; in main() local 393 n_pins = caps.n_pins; in main() 395 for (i = 0; i < n_pins; i++) { in main()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 133 for (i = 0; i < clock->ptp_info.n_pins; i++) { in mlx5_pps_out() 277 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 335 if (rq->perout.index >= clock->ptp_info.n_pins) in mlx5_perout_configure() 447 .n_pins = 0, 495 kcalloc(clock->ptp_info.n_pins, in mlx5_init_pin_config() 504 for (i = 0; i < clock->ptp_info.n_pins; i++) { in mlx5_init_pin_config() 523 clock->ptp_info.n_pins = MLX5_GET(mtpps_reg, out, in mlx5_get_pps_caps() 658 if (clock->ptp_info.n_pins) in mlx5_init_clock()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 974 int n_pins; in lan743x_ptp_open() local 992 n_pins = LAN7430_N_GPIO; in lan743x_ptp_open() 995 n_pins = LAN7431_N_GPIO; in lan743x_ptp_open() 1001 n_pins = 0; in lan743x_ptp_open() 1005 if (n_pins > LAN743X_PTP_N_GPIO) in lan743x_ptp_open() 1006 n_pins = LAN743X_PTP_N_GPIO; in lan743x_ptp_open() 1008 for (i = 0; i < n_pins; i++) { in lan743x_ptp_open() 1024 ptp->ptp_clock_info.n_pins = n_pins; in lan743x_ptp_open()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | ptp_clock.h | 24 int n_pins; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 514 if (!ptp->pin_config || pin >= ptp->n_pins) in aq_ptp_verify() 1041 .n_pins = 0, 1135 info->n_pins = out_pin_cnt + extts_pin_cnt; in aq_ptp_gpio_init() 1138 if (!info->n_pins) in aq_ptp_gpio_init() 1141 info->pin_config = kcalloc(info->n_pins, sizeof(struct ptp_pin_desc), in aq_ptp_gpio_init() 1148 sizeof(struct ptp_pin_desc) * info->n_pins); in aq_ptp_gpio_init() 1366 ptp_event.index = aq_ptp->ptp_info.n_pins - 1; in aq_ptp_check_sync1588()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | ptp_clock.h | 93 int n_pins; /* Number of input/output pins. */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | ptp_clock.h | 46 int n_pins; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | ptp_clock_kernel.h | 129 int n_pins; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ptp.c | 20 .n_pins = 0,
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 473 chip->ptp_clock_info.n_pins = mv88e6xxx_num_gpio(chip); in mv88e6xxx_ptp_setup() 476 for (i = 0; i < chip->ptp_clock_info.n_pins; ++i) { in mv88e6xxx_ptp_setup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 176 .n_pins = 0,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ptp.c | 161 .n_pins = 0, in otx2_ptp_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ptp.c | 80 .n_pins = 0,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 238 .n_pins = 0,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 261 .n_pins = 0,
|