/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() 181 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout() 202 found_ent = id_map_find_by_sl_id(ibdev, ent->slave_id, ent->sl_cm_id); in id_map_find_del() 215 int slave_id = new->slave_id; in sl_id_map_add() local 218 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add() 232 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() 243 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 …]
|
D | mad.c | 617 u8 *slave_id; in mlx4_ib_demux_mad() local 659 slave_id = (u8 *) &mad->mad_hdr.tid; in mlx4_ib_demux_mad() 660 slave = *slave_id; in mlx4_ib_demux_mad() 662 *slave_id = 0; /* remap tid */ in mlx4_ib_demux_mad() 1344 u8 *slave_id; in mlx4_ib_multiplex_mad() local 1376 slave_id = (u8 *) &tunnel->mad.mad_hdr.tid; in mlx4_ib_multiplex_mad() 1377 if (*slave_id) { in mlx4_ib_multiplex_mad() 1379 "class:%d slave:%d\n", *slave_id, in mlx4_ib_multiplex_mad() 1383 *slave_id = slave; in mlx4_ib_multiplex_mad()
|
D | mlx4_ib.h | 826 int mlx4_ib_multiplex_cm_handler(struct ib_device *ibdev, int port, int slave_id, 830 void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave_id);
|
/drivers/dma/sh/ |
D | shdma-base.c | 140 ops->setup_xfer(schan, schan->slave_id); in shdma_tx_submit() 201 schan->slave_id = schan->real_slave_id; in shdma_setup_slave() 221 schan->real_slave_id = slave->slave_id; in shdma_alloc_chan_resources() 227 schan->slave_id = -EINVAL; in shdma_alloc_chan_resources() 253 clear_bit(slave->slave_id, shdma_slave_used); in shdma_alloc_chan_resources() 281 int slave_id = (long)arg; in shdma_chan_filter() local 299 ret = sdev->ops->set_slave(schan, slave_id, 0, true); in shdma_chan_filter() 303 schan->real_slave_id = schan->slave_id; in shdma_chan_filter() 307 if (slave_id < 0) { in shdma_chan_filter() 313 if (slave_id >= slave_num) in shdma_chan_filter() [all …]
|
D | rcar-hpbdma.c | 297 hpb_dmae_find_slave(struct hpb_dmae_chan *hpb_chan, int slave_id) in hpb_dmae_find_slave() argument 303 if (slave_id >= HPB_DMA_SLAVE_NUMBER) in hpb_dmae_find_slave() 307 if (pdata->slaves[i].id == slave_id) in hpb_dmae_find_slave() 406 int slave_id = cfg->id; in hpb_dmae_alloc_chan_resources() local 410 if (channel->s_id == slave_id) { in hpb_dmae_alloc_chan_resources() 417 dev_dbg(dev, " -- slave_id : 0x%x\n", slave_id); in hpb_dmae_alloc_chan_resources() 457 static int hpb_dmae_set_slave(struct shdma_chan *schan, int slave_id, in hpb_dmae_set_slave() argument 462 hpb_dmae_find_slave(chan, slave_id); in hpb_dmae_set_slave() 473 static void hpb_dmae_setup_xfer(struct shdma_chan *schan, int slave_id) in hpb_dmae_setup_xfer() argument
|
D | sudmac.c | 135 static void sudmac_setup_xfer(struct shdma_chan *schan, int slave_id) in sudmac_setup_xfer() argument 140 struct sudmac_chan *sc, int slave_id) in sudmac_find_slave() argument 148 if (cfg->slave_id == slave_id) in sudmac_find_slave() 154 static int sudmac_set_slave(struct shdma_chan *schan, int slave_id, in sudmac_set_slave() argument 158 const struct sudmac_slave_config *cfg = sudmac_find_slave(sc, slave_id); in sudmac_set_slave()
|
D | shdmac.c | 309 int slave_id) in sh_dmae_setup_xfer() argument 314 if (slave_id >= 0) { in sh_dmae_setup_xfer() 342 if (cfg->slave_id == match) in dmae_find_slave() 347 sh_chan->shdma_chan.slave_id = i; in dmae_find_slave() 356 int slave_id, dma_addr_t slave_addr, bool try) in sh_dmae_set_slave() argument 360 const struct sh_dmae_slave_config *cfg = dmae_find_slave(sh_chan, slave_id); in sh_dmae_set_slave() 626 if (sh_chan->shdma_chan.slave_id >= 0) { in sh_dmae_resume()
|
/drivers/dma/ |
D | acpi-dma.c | 306 if (dma_spec->slave_id < adma->base_request_line || in acpi_dma_update_dma_spec() 307 dma_spec->slave_id > adma->end_request_line) in acpi_dma_update_dma_spec() 314 dma_spec->slave_id -= adma->base_request_line; in acpi_dma_update_dma_spec() 339 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() 386 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
|
D | tegra20-apb-dma.c | 207 unsigned int slave_id; member 356 if (!tdc->slave_id) in tegra_dma_slave_config() 357 tdc->slave_id = sconfig->slave_id; in tegra_dma_slave_config() 973 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_slave_sg() 1115 csr |= tdc->slave_id << TEGRA_APBDMA_CSR_REQ_SEL_SHIFT; in tegra_dma_prep_dma_cyclic() 1235 tdc->slave_id = 0; in tegra_dma_free_chan_resources() 1250 tdc->slave_id = dma_spec->args[0]; in tegra_dma_of_xlate()
|
D | dma-jz4740.c | 265 config->slave_id); in jz4740_dma_slave_config()
|
/drivers/dma/dw/ |
D | platform.c | 67 .src_id = dma_spec->slave_id, in dw_dma_acpi_filter() 68 .dst_id = dma_spec->slave_id, in dw_dma_acpi_filter()
|
/drivers/net/bonding/ |
D | bond_main.c | 1995 if (i++ == (int)info->slave_id) { in bond_slave_info_query() 3691 static void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id) in bond_xmit_slave_id() argument 3695 int i = slave_id; in bond_xmit_slave_id() 3708 i = slave_id; in bond_xmit_slave_id() 3731 u32 slave_id; in bond_rr_gen_slave_id() local 3737 slave_id = prandom_u32(); in bond_rr_gen_slave_id() 3740 slave_id = bond->rr_tx_counter; in bond_rr_gen_slave_id() 3745 slave_id = reciprocal_divide(bond->rr_tx_counter, in bond_rr_gen_slave_id() 3751 return slave_id; in bond_rr_gen_slave_id() 3759 u32 slave_id; in bond_xmit_roundrobin() local [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 152 slave = eqe->slave_id; in mlx4_gen_slave_eqe() 200 s_eqe->slave_id = slave; in slave_event() 720 flr_slave = be32_to_cpu(eqe->event.flr_event.slave_id); in mlx4_eq_int() 766 eqe->slave_id, in mlx4_eq_int() 803 eqe->slave_id, in mlx4_eq_int()
|
D | port.c | 1168 int *slave_id) in mlx4_get_slave_from_roce_gid() argument 1259 *slave_id = slave_gid; in mlx4_get_slave_from_roce_gid() 1266 int mlx4_get_roce_gid_from_slave(struct mlx4_dev *dev, int port, int slave_id, in mlx4_get_roce_gid_from_slave() argument 1274 memcpy(gid, priv->port[port].gid_table.roce_gids[slave_id].raw, in mlx4_get_roce_gid_from_slave()
|
D | mlx4.h | 1236 void mlx4_delete_all_resources_for_slave(struct mlx4_dev *dev, int slave_id);
|
/drivers/usb/renesas_usbhs/ |
D | fifo.c | 1254 if (0 == slave->shdma_slave.slave_id) in usbhsf_dma_filter() 1458 fifo->tx_slave.shdma_slave.slave_id = \ 1460 fifo->rx_slave.shdma_slave.slave_id = \
|
/drivers/mmc/host/ |
D | sh_mmcif.c | 400 sh_mmcif_request_dma_pdata(struct sh_mmcif_host *host, uintptr_t slave_id) in sh_mmcif_request_dma_pdata() argument 406 if (slave_id <= 0) in sh_mmcif_request_dma_pdata() 409 return dma_request_channel(mask, shdma_chan_filter, (void *)slave_id); in sh_mmcif_request_dma_pdata()
|
D | jz4740_mmc.c | 286 conf.slave_id = JZ4740_DMA_TYPE_MMC_TRANSMIT; in jz4740_mmc_start_dma_transfer() 291 conf.slave_id = JZ4740_DMA_TYPE_MMC_RECEIVE; in jz4740_mmc_start_dma_transfer()
|
/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 1239 struct uvc_control *master, u32 slave_id, in uvc_ctrl_send_slave_event() argument 1253 if (xctrls[i].id == slave_id) in uvc_ctrl_send_slave_event() 1257 __uvc_find_control(master->entity, slave_id, &mapping, &ctrl, 0); in uvc_ctrl_send_slave_event()
|
/drivers/tty/serial/ |
D | msm_serial.c | 154 conf.slave_id = crci; in msm_request_tx_dma() 201 conf.slave_id = crci; in msm_request_rx_dma()
|