Home
last modified time | relevance | path

Searched refs:slave_id (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dcm.c49 int slave_id; member
153 id_map_find_by_sl_id(struct ib_device *ibdev, u32 slave_id, u32 sl_cm_id) in id_map_find_by_sl_id() argument
166 else if (id_map_entry->slave_id > slave_id) in id_map_find_by_sl_id()
168 else if (id_map_entry->slave_id < slave_id) in id_map_find_by_sl_id()
188 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout()
203 int slave_id = new->slave_id; in sl_id_map_add() local
206 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add()
220 if (ent->sl_cm_id > sl_cm_id || (ent->sl_cm_id == sl_cm_id && ent->slave_id > slave_id)) in sl_id_map_add()
231 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc() argument
242 ent->slave_id = slave_id; in id_map_alloc()
[all …]
Dalias_GUID.c80 int slave_id; in mlx4_ib_update_cache_on_guid_change() local
95 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_update_cache_on_guid_change()
96 if (slave_id >= dev->dev->num_slaves) { in mlx4_ib_update_cache_on_guid_change()
97 pr_debug("The last slave: %d\n", slave_id); in mlx4_ib_update_cache_on_guid_change()
102 memcpy(&dev->sriov.demux[port_index].guid_cache[slave_id], in mlx4_ib_update_cache_on_guid_change()
192 int slave_id, slave_port; in mlx4_ib_notify_slaves_on_guid_change() local
217 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_notify_slaves_on_guid_change()
218 if (slave_id >= dev->dev->persist->num_vfs + 1) in mlx4_ib_notify_slaves_on_guid_change()
221 slave_port = mlx4_phys_to_slave_port(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
255 mlx4_gen_guid_change_eqe(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7757.c119 .slave_id = SHDMA_SLAVE_SDHI_TX,
126 .slave_id = SHDMA_SLAVE_SDHI_RX,
133 .slave_id = SHDMA_SLAVE_MMCIF_TX,
140 .slave_id = SHDMA_SLAVE_MMCIF_RX,
150 .slave_id = SHDMA_SLAVE_SCIF2_TX,
157 .slave_id = SHDMA_SLAVE_SCIF2_RX,
164 .slave_id = SHDMA_SLAVE_SCIF3_TX,
171 .slave_id = SHDMA_SLAVE_SCIF3_RX,
178 .slave_id = SHDMA_SLAVE_SCIF4_TX,
185 .slave_id = SHDMA_SLAVE_SCIF4_RX,
[all …]
Dsetup-sh7724.c35 .slave_id = SHDMA_SLAVE_SCIF0_TX,
40 .slave_id = SHDMA_SLAVE_SCIF0_RX,
45 .slave_id = SHDMA_SLAVE_SCIF1_TX,
50 .slave_id = SHDMA_SLAVE_SCIF1_RX,
55 .slave_id = SHDMA_SLAVE_SCIF2_TX,
60 .slave_id = SHDMA_SLAVE_SCIF2_RX,
65 .slave_id = SHDMA_SLAVE_SCIF3_TX,
70 .slave_id = SHDMA_SLAVE_SCIF3_RX,
75 .slave_id = SHDMA_SLAVE_SCIF4_TX,
80 .slave_id = SHDMA_SLAVE_SCIF4_RX,
[all …]
Dsetup-sh7722.c29 .slave_id = SHDMA_SLAVE_SCIF0_TX,
34 .slave_id = SHDMA_SLAVE_SCIF0_RX,
39 .slave_id = SHDMA_SLAVE_SCIF1_TX,
44 .slave_id = SHDMA_SLAVE_SCIF1_RX,
49 .slave_id = SHDMA_SLAVE_SCIF2_TX,
54 .slave_id = SHDMA_SLAVE_SCIF2_RX,
59 .slave_id = SHDMA_SLAVE_SIUA_TX,
64 .slave_id = SHDMA_SLAVE_SIUA_RX,
69 .slave_id = SHDMA_SLAVE_SIUB_TX,
74 .slave_id = SHDMA_SLAVE_SIUB_RX,
[all …]
/kernel/linux/linux-5.10/drivers/staging/hikey9xx/
Dhisi-spmi-controller.c112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) in spmi_read_cmd() argument
147 ((slave_id & 0xf) << SPMI_APB_SPMI_CMD_SLAVEID_OFFSET) | /* slvid */ in spmi_read_cmd()
155 spmi_controller->base, slave_id, slave_addr); in spmi_read_cmd()
161 SPMI_SLAVE_OFFSET * slave_id + in spmi_read_cmd()
179 opc, slave_id, slave_addr, bc + 1); in spmi_read_cmd()
182 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_read_cmd()
188 u8 opc, u8 slave_id, u16 slave_addr, const u8 *__buf, size_t bc) in spmi_write_cmd() argument
223 ((slave_id & 0xf) << SPMI_APB_SPMI_CMD_SLAVEID_OFFSET) | in spmi_write_cmd()
249 spmi_controller->base, slave_id, in spmi_write_cmd()
255 opc, slave_id, slave_addr, bc); in spmi_write_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/dma/sh/
Dshdma-base.c137 ops->setup_xfer(schan, schan->slave_id); in shdma_tx_submit()
198 schan->slave_id = schan->real_slave_id; in shdma_setup_slave()
218 schan->real_slave_id = slave->slave_id; in shdma_alloc_chan_resources()
224 schan->slave_id = -EINVAL; in shdma_alloc_chan_resources()
250 clear_bit(slave->slave_id, shdma_slave_used); in shdma_alloc_chan_resources()
278 int slave_id = (long)arg; in shdma_chan_filter() local
296 ret = sdev->ops->set_slave(schan, slave_id, 0, true); in shdma_chan_filter()
300 schan->real_slave_id = schan->slave_id; in shdma_chan_filter()
304 if (slave_id < 0) { in shdma_chan_filter()
310 if (slave_id >= slave_num) in shdma_chan_filter()
[all …]
Dshdmac.c305 int slave_id) in sh_dmae_setup_xfer() argument
310 if (slave_id >= 0) { in sh_dmae_setup_xfer()
338 if (cfg->slave_id == match) in dmae_find_slave()
343 sh_chan->shdma_chan.slave_id = i; in dmae_find_slave()
352 int slave_id, dma_addr_t slave_addr, bool try) in sh_dmae_set_slave() argument
356 const struct sh_dmae_slave_config *cfg = dmae_find_slave(sh_chan, slave_id); in sh_dmae_set_slave()
617 if (sh_chan->shdma_chan.slave_id >= 0) { in sh_dmae_resume()
/kernel/linux/linux-5.10/drivers/dma/
Dacpi-dma.c313 if (dma_spec->slave_id < adma->base_request_line || in acpi_dma_update_dma_spec()
314 dma_spec->slave_id > adma->end_request_line) in acpi_dma_update_dma_spec()
321 dma_spec->slave_id -= adma->base_request_line; in acpi_dma_update_dma_spec()
346 pdata->dma_spec.slave_id = dma->request_lines; in acpi_dma_parse_fixed_dma()
379 dma_spec->slave_id = -1; in acpi_dma_request_slave_chan_by_index()
388 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
Dfsl-edma.c124 fsl_chan->slave_id = dma_spec->args[1]; in fsl_edma_xlate()
125 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, in fsl_edma_xlate()
357 fsl_chan->slave_id = 0; in fsl_edma_probe()
469 if (fsl_chan->slave_id != 0) in fsl_edma_resume_early()
470 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, true); in fsl_edma_resume_early()
Dtegra20-apb-dma.c203 unsigned int slave_id; member
346 if (tdc->slave_id == TEGRA_APBDMA_SLAVE_ID_INVALID && in tegra_dma_slave_config()
348 if (sconfig->slave_id > TEGRA_APBDMA_CSR_REQ_SEL_MASK) in tegra_dma_slave_config()
350 tdc->slave_id = sconfig->slave_id; in tegra_dma_slave_config()
1086 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_slave_sg()
1088 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_slave_sg()
1234 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_dma_cyclic()
1236 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_dma_cyclic()
1354 tdc->slave_id = TEGRA_APBDMA_SLAVE_ID_INVALID; in tegra_dma_free_chan_resources()
1374 tdc->slave_id = dma_spec->args[0]; in tegra_dma_of_xlate()
[all …]
/kernel/linux/linux-5.10/drivers/dma/dw/
Dacpi.c14 .src_id = dma_spec->slave_id, in dw_dma_acpi_filter()
15 .dst_id = dma_spec->slave_id, in dw_dma_acpi_filter()
/kernel/linux/linux-5.10/include/linux/
Dshdma-base.h43 int slave_id; member
68 int slave_id; /* Client ID for slave DMA */ member
Dsh_dma.h27 int slave_id; member
Dacpi_dma.h28 int slave_id; member
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/
Dralink-gdma.c110 unsigned int slave_id; member
198 chan->slave_id = config->slave_id; in gdma_dma_config()
207 chan->slave_id = config->slave_id; in gdma_dma_config()
292 (chan->slave_id << GDMA_RT305X_CTRL0_DST_REQ_SHIFT); in rt305x_gdma_start_transfer()
297 (chan->slave_id << GDMA_RT305X_CTRL0_SRC_REQ_SHIFT) | in rt305x_gdma_start_transfer()
369 (chan->slave_id << GDMA_REG_CTRL1_DST_REQ_SHIFT); in rt3883_gdma_start_transfer()
374 ctrl1 = (chan->slave_id << GDMA_REG_CTRL1_SRC_REQ_SHIFT) | in rt3883_gdma_start_transfer()
/kernel/linux/linux-5.10/include/sound/
Dtimer.h102 unsigned int slave_id; member
123 …snd_timer_open(struct snd_timer_instance *timeri, struct snd_timer_id *tid, unsigned int slave_id);
/kernel/linux/linux-5.10/drivers/fsi/
Dfsi-core.c112 uint8_t slave_id, uint32_t addr, void *val, size_t size);
114 uint8_t slave_id, uint32_t addr, const void *val, size_t size);
1138 uint8_t slave_id, uint32_t addr, void *val, size_t size) in fsi_master_read() argument
1142 trace_fsi_master_read(master, link, slave_id, addr, size); in fsi_master_read()
1146 rc = master->read(master, link, slave_id, addr, val, size); in fsi_master_read()
1148 trace_fsi_master_rw_result(master, link, slave_id, addr, size, in fsi_master_read()
1155 uint8_t slave_id, uint32_t addr, const void *val, size_t size) in fsi_master_write() argument
1159 trace_fsi_master_write(master, link, slave_id, addr, size, val); in fsi_master_write()
1163 rc = master->write(master, link, slave_id, addr, val, size); in fsi_master_write()
1165 trace_fsi_master_rw_result(master, link, slave_id, addr, size, in fsi_master_write()
Dfsi-master-gpio.c298 static void build_dpoll_command(struct fsi_gpio_msg *cmd, uint8_t slave_id) in build_dpoll_command() argument
303 msg_push_bits(cmd, slave_id, 2); in build_dpoll_command()
308 static void build_epoll_command(struct fsi_gpio_msg *cmd, uint8_t slave_id) in build_epoll_command() argument
313 msg_push_bits(cmd, slave_id, 2); in build_epoll_command()
318 static void build_term_command(struct fsi_gpio_msg *cmd, uint8_t slave_id) in build_term_command() argument
323 msg_push_bits(cmd, slave_id, 2); in build_term_command()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_bonding.h46 __s32 slave_id; member
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsmp.c312 int slave_id = cpu_now_booting; in smp_callin() local
319 smp_cpu_init(slave_id); in smp_callin()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_bonding.h67 __s32 slave_id; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_bonding.h115 __s32 slave_id; /* Used as an IN param to the BOND_SLAVE_INFO_QUERY ioctl */ member
/kernel/linux/linux-5.10/include/linux/mfd/
Dpalmas.h3755 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read() local
3757 return regmap_read(palmas->regmap[slave_id], addr, val); in palmas_read()
3764 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write() local
3766 return regmap_write(palmas->regmap[slave_id], addr, value); in palmas_write()
3773 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write() local
3775 return regmap_bulk_write(palmas->regmap[slave_id], addr, in palmas_bulk_write()
3783 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read() local
3785 return regmap_bulk_read(palmas->regmap[slave_id], addr, in palmas_bulk_read()
3793 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits() local
3795 return regmap_update_bits(palmas->regmap[slave_id], addr, mask, val); in palmas_update_bits()
/kernel/linux/linux-5.10/drivers/dma/sf-pdma/
Dsf-pdma.h99 u32 slave_id; member

123