Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dcm.c49 int slave_id; member
154 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
167 else if (id_map_entry->slave_id > slave_id) in id_map_find_by_sl_id()
169 else if (id_map_entry->slave_id < slave_id) in id_map_find_by_sl_id()
189 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout()
204 int slave_id = new->slave_id; in sl_id_map_add() local
207 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add()
221 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()
232 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc() argument
243 ent->slave_id = slave_id; in id_map_alloc()
[all …]
Dalias_GUID.c79 int slave_id; in mlx4_ib_update_cache_on_guid_change() local
94 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_update_cache_on_guid_change()
95 if (slave_id >= dev->dev->num_slaves) { in mlx4_ib_update_cache_on_guid_change()
96 pr_debug("The last slave: %d\n", slave_id); in mlx4_ib_update_cache_on_guid_change()
101 memcpy(&dev->sriov.demux[port_index].guid_cache[slave_id], in mlx4_ib_update_cache_on_guid_change()
191 int slave_id, slave_port; in mlx4_ib_notify_slaves_on_guid_change() local
216 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_notify_slaves_on_guid_change()
217 if (slave_id >= dev->dev->persist->num_vfs + 1) in mlx4_ib_notify_slaves_on_guid_change()
220 slave_port = mlx4_phys_to_slave_port(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
254 mlx4_gen_guid_change_eqe(dev->dev, slave_id, port_num); in mlx4_ib_notify_slaves_on_guid_change()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/spmi/
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 …]
/linux-6.6.21/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.c304 int slave_id) in sh_dmae_setup_xfer() argument
309 if (slave_id >= 0) { in sh_dmae_setup_xfer()
337 if (cfg->slave_id == match) in dmae_find_slave()
342 sh_chan->shdma_chan.slave_id = i; in dmae_find_slave()
351 int slave_id, dma_addr_t slave_addr, bool try) in sh_dmae_set_slave() argument
355 const struct sh_dmae_slave_config *cfg = dmae_find_slave(sh_chan, slave_id); in sh_dmae_set_slave()
616 if (sh_chan->shdma_chan.slave_id >= 0) { in sh_dmae_resume()
/linux-6.6.21/drivers/dma/
Dacpi-dma.c321 if (dma_spec->slave_id < adma->base_request_line || in acpi_dma_update_dma_spec()
322 dma_spec->slave_id > adma->end_request_line) in acpi_dma_update_dma_spec()
329 dma_spec->slave_id -= adma->base_request_line; in acpi_dma_update_dma_spec()
354 pdata->dma_spec.slave_id = dma->request_lines; in acpi_dma_parse_fixed_dma()
387 dma_spec->slave_id = -1; in acpi_dma_request_slave_chan_by_index()
396 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
Dfsl-edma-main.c123 fsl_chan->slave_id = dma_spec->args[1]; in fsl_edma_xlate()
124 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, in fsl_edma_xlate()
538 fsl_chan->slave_id = 0; in fsl_edma_probe()
680 if (fsl_chan->slave_id != 0) in fsl_edma_resume_early()
681 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, true); in fsl_edma_resume_early()
Dtegra186-gpc-dma.c236 int slave_id; member
312 int sid = tdc->slave_id; in tegra_dma_sid_reserve()
342 int sid = tdc->slave_id; in tegra_dma_sid_free()
1029 csr |= FIELD_PREP(TEGRA_GPCDMA_CSR_REQ_SEL_MASK, tdc->slave_id); in tegra_dma_prep_slave_sg()
1164 csr |= FIELD_PREP(TEGRA_GPCDMA_CSR_REQ_SEL_MASK, tdc->slave_id); in tegra_dma_prep_dma_cyclic()
1271 tdc->slave_id = -1; in tegra_dma_free_chan_resources()
1290 tdc->slave_id = dma_spec->args[0]; in tegra_dma_of_xlate()
1414 tdc->slave_id = -1; in tegra_dma_probe()
Dtegra20-apb-dma.c202 unsigned int slave_id; member
1074 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_slave_sg()
1076 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_slave_sg()
1222 if (tdc->slave_id != TEGRA_APBDMA_SLAVE_ID_INVALID) { in tegra_dma_prep_dma_cyclic()
1224 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_dma_cyclic()
1342 tdc->slave_id = TEGRA_APBDMA_SLAVE_ID_INVALID; in tegra_dma_free_chan_resources()
1362 tdc->slave_id = dma_spec->args[0]; in tegra_dma_of_xlate()
1512 tdc->slave_id = TEGRA_APBDMA_SLAVE_ID_INVALID; in tegra_dma_probe()
Dmcf-edma-main.c198 mcf_chan->slave_id = i; in mcf_edma_probe()
282 return (mcf_chan->slave_id == (uintptr_t)param); in mcf_edma_filter_fn()
/linux-6.6.21/drivers/soc/tegra/cbb/
Dtegra234-cbb.c266 u8 slave_id, u8 fab_id) in tegra234_lookup_slave_timeout() argument
288 addr = cbb->regs + map[slave_id].offset; in tegra234_lookup_slave_timeout()
290 if (strstr(map[slave_id].name, "AXI2APB")) { in tegra234_lookup_slave_timeout()
293 tegra234_cbb_lookup_apbslv(file, map[slave_id].name, addr); in tegra234_lookup_slave_timeout()
302 sprintf(name, "%s_SLV_TIMEOUT_STATUS", map[slave_id].name); in tegra234_lookup_slave_timeout()
352 u8 access_type, access_id, requester_socket_id, local_socket_id, slave_id, fab_id; in print_errlog_err() local
380 slave_id = FIELD_GET(FAB_EM_EL_SLAVEID, cbb->mn_attr2); in print_errlog_err()
424 tegra_cbb_print_err(file, "\t Slave_Id\t\t: %#x\n", slave_id); in print_errlog_err()
435 if (slave_id >= cbb->fabric->max_slaves) { in print_errlog_err()
436 tegra_cbb_print_err(file, "\t Invalid slave_id:%d\n", slave_id); in print_errlog_err()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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
/linux-6.6.21/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);
/linux-6.6.21/drivers/fsi/
Dfsi-core.c98 uint8_t slave_id, uint32_t addr, void *val, size_t size);
100 uint8_t slave_id, uint32_t addr, const void *val, size_t size);
1137 uint8_t slave_id, uint32_t addr, void *val, size_t size) in fsi_master_read() argument
1141 trace_fsi_master_read(master, link, slave_id, addr, size); in fsi_master_read()
1145 rc = master->read(master, link, slave_id, addr, val, size); in fsi_master_read()
1147 trace_fsi_master_rw_result(master, link, slave_id, addr, size, in fsi_master_read()
1154 uint8_t slave_id, uint32_t addr, const void *val, size_t size) in fsi_master_write() argument
1158 trace_fsi_master_write(master, link, slave_id, addr, size, val); in fsi_master_write()
1162 rc = master->write(master, link, slave_id, addr, val, size); in fsi_master_write()
1164 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()
/linux-6.6.21/arch/parisc/kernel/
Dsmp.c310 int slave_id = cpu_now_booting; in smp_callin() local
317 smp_cpu_init(slave_id); in smp_callin()
/linux-6.6.21/include/uapi/linux/
Dif_bonding.h116 __s32 slave_id; /* Used as an IN param to the BOND_SLAVE_INFO_QUERY ioctl */ member
/linux-6.6.21/include/linux/mfd/
Dpalmas.h3746 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read() local
3748 return regmap_read(palmas->regmap[slave_id], addr, val); in palmas_read()
3755 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write() local
3757 return regmap_write(palmas->regmap[slave_id], addr, value); in palmas_write()
3764 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write() local
3766 return regmap_bulk_write(palmas->regmap[slave_id], addr, in palmas_bulk_write()
3774 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read() local
3776 return regmap_bulk_read(palmas->regmap[slave_id], addr, in palmas_bulk_read()
3784 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits() local
3786 return regmap_update_bits(palmas->regmap[slave_id], addr, mask, val); in palmas_update_bits()
/linux-6.6.21/drivers/dma/sf-pdma/
Dsf-pdma.h94 u32 slave_id; member

12