Searched refs:n_pins (Results 1 – 21 of 21) sorted by relevance
/drivers/ptp/ |
D | ptp_sysfs.c | 46 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()
|
D | ptp_chardev.c | 69 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()
|
D | ptp_kvm.c | 158 .n_pins = 0,
|
D | ptp_ixp46x.c | 244 .n_pins = 0,
|
D | ptp_dte.c | 229 .n_pins = 0,
|
D | ptp_clock.c | 365 for (i = 0; i < ptp->info->n_pins; i++) { in ptp_find_pin()
|
D | ptp_pch.c | 517 .n_pins = 0,
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_clock.c | 95 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/ |
D | stmmac_ptp.c | 162 .n_pins = 0,
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 238 .n_pins = 0,
|
/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 275 .n_pins = 0,
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 573 fep->ptp_caps.n_pins = 0; in fec_ptp_init()
|
D | gianfar_ptp.c | 420 .n_pins = 0,
|
/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 202 .n_pins = 0,
|
/drivers/net/ethernet/ti/ |
D | cpts.c | 304 .n_pins = 0,
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1183 adapter->ptp_caps.n_pins = IGB_N_SDP; in igb_ptp_init()
|
/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 996 .n_pins = 0,
|
/drivers/net/phy/ |
D | dp83640.c | 1043 clock->caps.n_pins = DP83640_N_PINS; in dp83640_clock_init()
|
/drivers/net/ethernet/sfc/ |
D | ptp.c | 1207 .n_pins = 0,
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 881 .n_pins = 0,
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6318 .n_pins = 0,
|