Home
last modified time | relevance | path

Searched refs:n_pins (Results 1 – 21 of 21) sorted by relevance

/drivers/ptp/
Dptp_sysfs.c46 PTP_SHOW_INT(n_programmable_pins, n_pins);
217 for (i = 0; i < ptp->info->n_pins; i++) { in ptp_pin_name2index()
274 int err = -ENOMEM, i, n_pins = info->n_pins; in ptp_populate_pin_groups() local
276 if (!n_pins) in ptp_populate_pin_groups()
279 ptp->pin_dev_attr = kcalloc(n_pins, sizeof(*ptp->pin_dev_attr), in ptp_populate_pin_groups()
284 ptp->pin_attr = kcalloc(1 + n_pins, sizeof(*ptp->pin_attr), GFP_KERNEL); in ptp_populate_pin_groups()
288 for (i = 0; i < n_pins; i++) { in ptp_populate_pin_groups()
Dptp_chardev.c69 for (i = 0; i < info->n_pins; i++) { in ptp_set_pinfunc()
146 caps.n_pins = ptp->info->n_pins; in ptp_ioctl()
251 if (pin_index >= ops->n_pins) { in ptp_ioctl()
255 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()
270 if (pin_index >= ops->n_pins) { in ptp_ioctl()
274 pin_index = array_index_nospec(pin_index, ops->n_pins); in ptp_ioctl()
Dptp_kvm.c158 .n_pins = 0,
Dptp_ixp46x.c244 .n_pins = 0,
Dptp_dte.c229 .n_pins = 0,
Dptp_clock.c365 for (i = 0; i < ptp->info->n_pins; i++) { in ptp_find_pin()
Dptp_pch.c517 .n_pins = 0,
/drivers/net/ethernet/mellanox/mlx5/core/
Den_clock.c95 for (i = 0; i < tstamp->ptp_info.n_pins; i++) { in mlx5e_pps_out()
291 if (rq->extts.index >= tstamp->ptp_info.n_pins) in mlx5e_extts_configure()
345 if (rq->perout.index >= tstamp->ptp_info.n_pins) in mlx5e_perout_configure()
438 .n_pins = 0,
460 tstamp->ptp_info.n_pins, GFP_KERNEL); in mlx5e_init_pin_config()
467 for (i = 0; i < tstamp->ptp_info.n_pins; i++) { in mlx5e_init_pin_config()
486 tstamp->ptp_info.n_pins = MLX5_GET(mtpps_reg, out, in mlx5e_get_pps_caps()
600 if (tstamp->ptp_info.n_pins) in mlx5e_timestamp_init()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c162 .n_pins = 0,
/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c238 .n_pins = 0,
/drivers/net/ethernet/intel/e1000e/
Dptp.c275 .n_pins = 0,
/drivers/net/ethernet/freescale/
Dfec_ptp.c573 fep->ptp_caps.n_pins = 0; in fec_ptp_init()
Dgianfar_ptp.c420 .n_pins = 0,
/drivers/net/ethernet/cadence/
Dmacb_ptp.c202 .n_pins = 0,
/drivers/net/ethernet/ti/
Dcpts.c304 .n_pins = 0,
/drivers/net/ethernet/intel/igb/
Digb_ptp.c1183 adapter->ptp_caps.n_pins = IGB_N_SDP; in igb_ptp_init()
/drivers/net/ethernet/adi/
Dbfin_mac.c996 .n_pins = 0,
/drivers/net/phy/
Ddp83640.c1043 clock->caps.n_pins = DP83640_N_PINS; in dp83640_clock_init()
/drivers/net/ethernet/sfc/
Dptp.c1207 .n_pins = 0,
/drivers/net/ethernet/tile/
Dtilegx.c881 .n_pins = 0,
/drivers/net/ethernet/broadcom/
Dtg3.c6318 .n_pins = 0,