/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | cm.c | 49 int slave_id; member 144 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 157 else if (id_map_entry->slave_id > slave_id) in id_map_find_by_sl_id() 159 else if (id_map_entry->slave_id < slave_id) in id_map_find_by_sl_id() 179 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout() 199 found_ent = id_map_find_by_sl_id(ibdev, ent->slave_id, ent->sl_cm_id); in id_map_find_del() 211 int slave_id = new->slave_id; in sl_id_map_add() local 214 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add() 228 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() 239 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc() argument [all …]
|
D | alias_GUID.c | 80 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 …]
|
/Linux-v5.4/arch/sh/kernel/cpu/sh4a/ |
D | setup-sh7757.c | 118 .slave_id = SHDMA_SLAVE_SDHI_TX, 125 .slave_id = SHDMA_SLAVE_SDHI_RX, 132 .slave_id = SHDMA_SLAVE_MMCIF_TX, 139 .slave_id = SHDMA_SLAVE_MMCIF_RX, 149 .slave_id = SHDMA_SLAVE_SCIF2_TX, 156 .slave_id = SHDMA_SLAVE_SCIF2_RX, 163 .slave_id = SHDMA_SLAVE_SCIF3_TX, 170 .slave_id = SHDMA_SLAVE_SCIF3_RX, 177 .slave_id = SHDMA_SLAVE_SCIF4_TX, 184 .slave_id = SHDMA_SLAVE_SCIF4_RX, [all …]
|
D | setup-sh7724.c | 34 .slave_id = SHDMA_SLAVE_SCIF0_TX, 39 .slave_id = SHDMA_SLAVE_SCIF0_RX, 44 .slave_id = SHDMA_SLAVE_SCIF1_TX, 49 .slave_id = SHDMA_SLAVE_SCIF1_RX, 54 .slave_id = SHDMA_SLAVE_SCIF2_TX, 59 .slave_id = SHDMA_SLAVE_SCIF2_RX, 64 .slave_id = SHDMA_SLAVE_SCIF3_TX, 69 .slave_id = SHDMA_SLAVE_SCIF3_RX, 74 .slave_id = SHDMA_SLAVE_SCIF4_TX, 79 .slave_id = SHDMA_SLAVE_SCIF4_RX, [all …]
|
D | setup-sh7722.c | 28 .slave_id = SHDMA_SLAVE_SCIF0_TX, 33 .slave_id = SHDMA_SLAVE_SCIF0_RX, 38 .slave_id = SHDMA_SLAVE_SCIF1_TX, 43 .slave_id = SHDMA_SLAVE_SCIF1_RX, 48 .slave_id = SHDMA_SLAVE_SCIF2_TX, 53 .slave_id = SHDMA_SLAVE_SCIF2_RX, 58 .slave_id = SHDMA_SLAVE_SIUA_TX, 63 .slave_id = SHDMA_SLAVE_SIUA_RX, 68 .slave_id = SHDMA_SLAVE_SIUB_TX, 73 .slave_id = SHDMA_SLAVE_SIUB_RX, [all …]
|
/Linux-v5.4/drivers/dma/sh/ |
D | shdma-base.c | 137 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 …]
|
D | shdmac.c | 305 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()
|
/Linux-v5.4/drivers/dma/ |
D | acpi-dma.c | 307 if (dma_spec->slave_id < adma->base_request_line || in acpi_dma_update_dma_spec() 308 dma_spec->slave_id > adma->end_request_line) in acpi_dma_update_dma_spec() 315 dma_spec->slave_id -= adma->base_request_line; in acpi_dma_update_dma_spec() 340 pdata->dma_spec.slave_id = dma->request_lines; in acpi_dma_parse_fixed_dma() 380 dma_spec->slave_id = -1; in acpi_dma_request_slave_chan_by_index() 387 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
|
D | fsl-edma.c | 117 fsl_chan->slave_id = dma_spec->args[1]; in fsl_edma_xlate() 118 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, in fsl_edma_xlate() 342 fsl_chan->slave_id = 0; in fsl_edma_probe() 454 if (fsl_chan->slave_id != 0) in fsl_edma_resume_early() 455 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, true); in fsl_edma_resume_early()
|
D | tegra20-apb-dma.c | 203 unsigned int slave_id; member 349 if (tdc->slave_id == TEGRA_APBDMA_SLAVE_ID_INVALID && in tegra_dma_slave_config() 351 if (sconfig->slave_id > TEGRA_APBDMA_CSR_REQ_SEL_MASK) in tegra_dma_slave_config() 353 tdc->slave_id = sconfig->slave_id; in tegra_dma_slave_config() 1041 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_slave_sg() 1043 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_slave_sg() 1188 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_dma_cyclic() 1190 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_dma_cyclic() 1320 tdc->slave_id = TEGRA_APBDMA_SLAVE_ID_INVALID; in tegra_dma_free_chan_resources() 1340 tdc->slave_id = dma_spec->args[0]; in tegra_dma_of_xlate() [all …]
|
D | mcf-edma.c | 220 mcf_chan->slave_id = i; in mcf_edma_probe() 302 return (mcf_chan->slave_id == (uintptr_t)param); in mcf_edma_filter_fn()
|
/Linux-v5.4/drivers/dma/dw/ |
D | acpi.c | 14 .src_id = dma_spec->slave_id, in dw_dma_acpi_filter() 15 .dst_id = dma_spec->slave_id, in dw_dma_acpi_filter()
|
/Linux-v5.4/include/linux/ |
D | shdma-base.h | 43 int slave_id; member 68 int slave_id; /* Client ID for slave DMA */ member
|
D | sh_dma.h | 27 int slave_id; member
|
D | acpi_dma.h | 28 int slave_id; member
|
/Linux-v5.4/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 110 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()
|
/Linux-v5.4/include/sound/ |
D | timer.h | 102 unsigned int slave_id; member 121 …open(struct snd_timer_instance **ti, char *owner, struct snd_timer_id *tid, unsigned int slave_id);
|
D | dmaengine_pcm.h | 74 unsigned int slave_id; member
|
/Linux-v5.4/drivers/fsi/ |
D | fsi-core.c | 106 uint8_t slave_id, uint32_t addr, void *val, size_t size); 108 uint8_t slave_id, uint32_t addr, const void *val, size_t size); 1101 uint8_t slave_id, uint32_t addr, void *val, size_t size) in fsi_master_read() argument 1105 trace_fsi_master_read(master, link, slave_id, addr, size); in fsi_master_read() 1109 rc = master->read(master, link, slave_id, addr, val, size); in fsi_master_read() 1111 trace_fsi_master_rw_result(master, link, slave_id, addr, size, in fsi_master_read() 1118 uint8_t slave_id, uint32_t addr, const void *val, size_t size) in fsi_master_write() argument 1122 trace_fsi_master_write(master, link, slave_id, addr, size, val); in fsi_master_write() 1126 rc = master->write(master, link, slave_id, addr, val, size); in fsi_master_write() 1128 trace_fsi_master_rw_result(master, link, slave_id, addr, size, in fsi_master_write()
|
D | fsi-master-gpio.c | 298 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()
|
D | fsi-master-ast-cf.c | 274 static void build_dpoll_command(struct fsi_msg *cmd, uint8_t slave_id) in build_dpoll_command() argument 279 msg_push_bits(cmd, slave_id, 2); in build_dpoll_command() 285 static void build_epoll_command(struct fsi_msg *cmd, uint8_t slave_id) in build_epoll_command() argument 290 msg_push_bits(cmd, slave_id, 2); in build_epoll_command() 296 static void build_term_command(struct fsi_msg *cmd, uint8_t slave_id) in build_term_command() argument 301 msg_push_bits(cmd, slave_id, 2); in build_term_command()
|
/Linux-v5.4/arch/parisc/kernel/ |
D | smp.c | 296 int slave_id = cpu_now_booting; in smp_callin() local 303 smp_cpu_init(slave_id); in smp_callin()
|
/Linux-v5.4/include/uapi/linux/ |
D | if_bonding.h | 105 __s32 slave_id; /* Used as an IN param to the BOND_SLAVE_INFO_QUERY ioctl */ member
|
/Linux-v5.4/sound/core/ |
D | pcm_dmaengine.c | 127 slave_config->slave_id = dma_data->slave_id; in snd_dmaengine_pcm_set_config_from_dai_data()
|
/Linux-v5.4/include/linux/mfd/ |
D | palmas.h | 3755 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()
|