Searched refs:slave_num (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/drivers/staging/iio/adc/ |
| D | ad7280a.c | 134 int slave_num; member 584 st->channels = devm_kcalloc(&st->spi->dev, (st->slave_num + 1) * 12 + 2, in ad7280_channel_init() 589 for (dev = 0; dev <= st->slave_num; dev++) in ad7280_channel_init() 670 (st->slave_num + 1) * AD7280A_CELLS_PER_DEV, in ad7280_attr_init() 675 for (dev = 0; dev <= st->slave_num; dev++) { in ad7280_attr_init() 950 st->slave_num = ret; in ad7280_probe() 951 st->scan_cnt = (st->slave_num + 1) * AD7280A_NUM_CH; in ad7280_probe() 970 t_acq_ns[pdata->acquisition_time & 0x3] + st->slave_num * 250; in ad7280_probe() 1003 ret = ad7280_write(st, ad7280a_devaddr(st->slave_num), in ad7280_probe()
|
| /Linux-v5.4/include/linux/ |
| D | sh_dma.h | 73 int slave_num; member
|
| /Linux-v5.4/drivers/net/ethernet/ti/ |
| D | cpsw_priv.h | 299 int slave_num; member 380 static inline int cpsw_get_slave_port(u32 slave_num) in cpsw_get_slave_port() argument 382 return slave_num + 1; in cpsw_get_slave_port()
|
| D | netcp_ethss.c | 695 int slave_num; /* 0 based logical number */ member 2068 static int gbe_get_slave_port(struct gbe_priv *priv, u32 slave_num) in gbe_get_slave_port() argument 2071 return slave_num + 1; in gbe_get_slave_port() 2073 return slave_num; in gbe_get_slave_port() 2143 int sp = slave->slave_num, link_state; in netcp_ethss_update_link_state() 2233 xgmii_mode |= (1 << slave->slave_num); in gbe_port_config() 2252 netcp_sgmii_rtreset(SGMII_BASE(priv, slave->slave_num), in gbe_sgmii_rtreset() 2253 slave->slave_num, set); in gbe_sgmii_rtreset() 2283 netcp_sgmii_reset(SGMII_BASE(priv, slave->slave_num), slave->slave_num); in gbe_sgmii_config() 2284 netcp_sgmii_config(SGMII_BASE(priv, slave->slave_num), slave->slave_num, in gbe_sgmii_config() [all …]
|
| D | cpsw_priv.c | 79 slave->slave_num = i; in cpsw_init_common()
|
| D | cpsw.c | 1033 shift = CPSW_FIFO_SHAPE_EN_SHIFT + 3 * slave->slave_num; in cpsw_shp_is_off() 1049 shift = CPSW_FIFO_SHAPE_EN_SHIFT + 3 * slave->slave_num; in cpsw_fifo_shp_on() 1067 slave_port = cpsw_get_slave_port(slave->slave_num); in _cpsw_adjust_link() 1245 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_open() 1259 slave->slave_num); in cpsw_slave_open() 1268 slave->data->phy_id, slave->slave_num, in cpsw_slave_open() 1286 slave->slave_num); in cpsw_slave_open() 1400 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_stop()
|
| /Linux-v5.4/drivers/dma/sh/ |
| D | shdma-base.c | 45 static unsigned int slave_num = 256; variable 46 module_param(slave_num, uint, 0444); 186 if (schan->real_slave_id < 0 || schan->real_slave_id >= slave_num) in shdma_setup_slave() 310 if (slave_id >= slave_num) in shdma_chan_filter() 1045 shdma_slave_used = kcalloc(DIV_ROUND_UP(slave_num, BITS_PER_LONG), in shdma_enter()
|
| D | shdmac.c | 337 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 341 for (i = 0, cfg = pdata->slave; i < pdata->slave_num; i++, cfg++) in dmae_find_slave() 738 if (pdata->slave && pdata->slave_num) in sh_dmae_probe()
|
| /Linux-v5.4/arch/sh/kernel/cpu/sh4a/ |
| D | setup-sh7757.c | 384 .slave_num = ARRAY_SIZE(sh7757_dmae0_slaves), 398 .slave_num = ARRAY_SIZE(sh7757_dmae1_slaves), 412 .slave_num = ARRAY_SIZE(sh7757_dmae2_slaves), 426 .slave_num = ARRAY_SIZE(sh7757_dmae3_slaves),
|
| D | setup-sh7722.c | 122 .slave_num = ARRAY_SIZE(sh7722_dmae_slaves),
|
| D | setup-sh7724.c | 188 .slave_num = ARRAY_SIZE(sh7724_dmae_slaves),
|