Searched refs:sdev (Results 126 - 150 of 221) sorted by relevance

123456789

/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h345 * @sdev: backpointer to the HCA information.
360 struct srpt_device *sdev; member in struct:srpt_port
/drivers/misc/mic/host/
H A Dmic_boot.c157 mdev->dma_mbdev = mbus_register_device(mdev->sdev->parent,
290 dev_warn(mdev->sdev->parent, "state %d should be %d\n",
H A Dmic_debugfs.c376 struct pci_dev *pdev = container_of(mdev->sdev->parent,
441 mdev->dbg_dir = debugfs_create_dir(dev_name(mdev->sdev), mic_dbg);
/drivers/scsi/
H A Draid_class.c68 struct scsi_device *sdev = to_scsi_device(dev); local
70 if (i->f->cookie != sdev->host->hostt)
H A Dhpsa.c217 static int hpsa_change_queue_depth(struct scsi_device *sdev,
222 static int hpsa_slave_alloc(struct scsi_device *sdev);
223 static void hpsa_slave_destroy(struct scsi_device *sdev);
253 static inline struct ctlr_info *sdev_to_hba(struct scsi_device *sdev) argument
255 unsigned long *priv = shost_priv(sdev->host);
525 struct scsi_device *sdev; local
529 sdev = to_scsi_device(dev);
530 h = sdev_to_hba(sdev);
532 hdev = sdev->hostdata;
557 struct scsi_device *sdev; local
581 struct scsi_device *sdev; local
609 struct scsi_device *sdev; local
1382 struct scsi_device *sdev = local
1439 hpsa_slave_alloc(struct scsi_device *sdev) argument
1455 hpsa_slave_destroy(struct scsi_device *sdev) argument
4155 hpsa_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason) argument
[all...]
H A Discsi_tcp.c938 static int iscsi_sw_tcp_slave_alloc(struct scsi_device *sdev) argument
940 set_bit(QUEUE_FLAG_BIDI, &sdev->request_queue->queue_flags);
944 static int iscsi_sw_tcp_slave_configure(struct scsi_device *sdev) argument
946 blk_queue_bounce_limit(sdev->request_queue, BLK_BOUNCE_ANY);
947 blk_queue_dma_alignment(sdev->request_queue, 0);
H A D53c700.h25 #define DDEBUG(prefix, sdev, fmt, a...) \
26 sdev_printk(prefix, sdev, fmt, ##a)
H A Dtmscsim.c509 struct scsi_device *sdev = scmd->device; local
552 if ((pDCB->SyncMode & SYNC_ENABLE) && pDCB->TargetLUN == 0 && sdev->sdtr &&
1888 struct scsi_device *sdev = cmd->device; local
1889 struct dc390_acb *acb = (struct dc390_acb *)sdev->host->hostdata;
1890 struct dc390_dcb *dcb = sdev->hostdata;
1893 if (sdev->queue_depth <= dcb->GoingSRBCnt)
2184 static int dc390_slave_configure(struct scsi_device *sdev) argument
2186 struct dc390_acb *acb = (struct dc390_acb *)sdev->host->hostdata;
2187 struct dc390_dcb *dcb = (struct dc390_dcb *)sdev->hostdata;
2190 if (sdev
[all...]
H A Dncr53c8xx.c1926 static struct lcb * ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev);
1946 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev);
4121 struct scsi_device *sdev = cmd->device; local
4122 struct tcb *tp = &np->target[sdev->id];
4123 struct lcb *lp = tp->lp[sdev->lun];
4138 if ((sdev->id == np->myaddr ) ||
4139 (sdev->id >= MAX_TARGET) ||
4140 (sdev->lun >= MAX_LUN )) {
4192 idmsg = IDENTIFY(0, sdev->lun);
4362 cp->phys.select.sel_id = sdev_id(sdev);
5632 ncr_setup_tags(struct ncb *np, struct scsi_device *sdev) argument
7581 ncr_setup_lcb(struct ncb *np, struct scsi_device *sdev) argument
[all...]
H A Dadvansys.c7564 advansys_biosparam(struct scsi_device *sdev, struct block_device *bdev, argument
7567 struct asc_board *boardp = shost_priv(sdev->host);
7570 ASC_STATS(sdev->host, biosparam);
7662 static void AscAsyncFix(ASC_DVC_VAR *asc_dvc, struct scsi_device *sdev) argument
7664 char type = sdev->type;
7665 ASC_SCSI_BIT_ID_TYPE tid_bits = 1 << sdev->id;
7672 if ((type == TYPE_ROM) && (strncmp(sdev->vendor, "HP ", 3) == 0))
7681 AscSetRunChipSynRegAtID(asc_dvc->iop_base, sdev->id,
7686 advansys_narrow_slave_configure(struct scsi_device *sdev, ASC_DVC_VAR *asc_dvc) argument
7688 ASC_SCSI_BIT_ID_TYPE tid_bit = 1 << sdev
7813 advansys_wide_slave_configure(struct scsi_device *sdev, ADV_DVC_VAR *adv_dvc) argument
7863 advansys_slave_configure(struct scsi_device *sdev) argument
[all...]
H A Dt128.c324 int t128_biosparam(struct scsi_device *sdev, struct block_device *bdev, argument
H A Dgdth.c445 int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, char *cmnd, argument
448 gdth_ha_str *ha = shost_priv(sdev->host);
464 scp->device = sdev;
491 struct scsi_device *sdev = scsi_get_host_dev(shost); local
492 int rval = __gdth_execute(sdev, gdtcmd, cmnd, timeout, info);
494 scsi_free_host_dev(sdev);
3969 static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) argument
3972 gdth_ha_str *ha = shost_priv(sdev->host);
3976 sd = sdev;
4042 if (!ha->sdev)
4662 gdth_slave_configure(struct scsi_device *sdev) argument
[all...]
H A Dqlogicpti.c966 static int qlogicpti_slave_configure(struct scsi_device *sdev) argument
968 struct qlogicpti *qpti = shost_priv(sdev->host);
969 int tgt = sdev->id;
974 if (sdev->sdtr) {
981 if (sdev->wdtr)
/drivers/dma/sh/
H A Dshdmac.c527 struct shdma_dev *sdev = &shdev->shdma_dev; local
528 struct platform_device *pdev = to_platform_device(sdev->dma_dev.dev);
533 sh_chan = devm_kzalloc(sdev->dma_dev.dev, sizeof(struct sh_dmae_chan),
536 dev_err(sdev->dma_dev.dev,
544 shdma_chan_probe(sdev, schan, id);
558 dev_err(sdev->dma_dev.dev,
/drivers/platform/x86/
H A Dmsi-laptop.c873 static int rfkill_init(struct platform_device *sdev) argument
881 rfk_bluetooth = rfkill_alloc("msi-bluetooth", &sdev->dev,
892 rfk_wlan = rfkill_alloc("msi-wlan", &sdev->dev, RFKILL_TYPE_WLAN,
903 rfk_threeg = rfkill_alloc("msi-threeg", &sdev->dev,
996 static int __init load_scm_model_init(struct platform_device *sdev) argument
1022 result = rfkill_init(sdev);
/drivers/isdn/i4l/
H A Disdn_ppp.c2107 struct net_device *sdev; local
2115 sdev = lp->slave;
2116 while (sdev) {
2117 isdn_net_local *mlp = netdev_priv(sdev);
2120 sdev = mlp->slave;
2122 if (!sdev)
2125 isdn_net_dial_req(netdev_priv(sdev));
2138 struct net_device *sdev; local
2146 sdev = lp->slave;
2147 while (sdev) {
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c1219 struct net_device *sdev)
1276 l2_accel->macvlan[i] = sdev;
1293 hw->mac.ops.update_uc_addr(hw, glort, sdev->dev_addr, 0, true, 0);
1297 return sdev;
1306 struct net_device *sdev = priv; local
1315 if (l2_accel->macvlan[i] == sdev)
1328 hw->mac.ops.update_uc_addr(hw, glort, sdev->dev_addr, 0, false, 0);
1218 fm10k_dfwd_add_station(struct net_device *dev, struct net_device *sdev) argument
/drivers/net/wireless/b43/
H A Dmain.c1226 ssb_cc = &dev->dev->sdev->bus->chipco;
2829 struct ssb_bus *bus = dev->dev->sdev->bus;
3002 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW);
3007 ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp);
3311 dev->dev->sdev->bus->chipco.fast_pwrup_delay);
3915 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW);
3920 ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp);
4708 bus = dev->dev->sdev->bus;
4712 tmp = ssb_read32(dev->dev->sdev, SSB_IMCFGLO);
4716 ssb_write32(dev->dev->sdev, SSB_IMCFGL
5678 b43_ssb_probe(struct ssb_device *sdev, const struct ssb_device_id *id) argument
5722 b43_ssb_remove(struct ssb_device *sdev) argument
[all...]
/drivers/spi/
H A Dspi-nuc900.c65 static inline struct nuc900_spi *to_hw(struct spi_device *sdev) argument
67 return spi_master_get_devdata(sdev->master);
H A Dspi-oc-tiny.c60 static inline struct tiny_spi *tiny_spi_to_hw(struct spi_device *sdev) argument
62 return spi_master_get_devdata(sdev->master);
/drivers/scsi/fnic/
H A Dfnic_main.c94 static int fnic_slave_alloc(struct scsi_device *sdev) argument
96 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
98 sdev->tagged_supported = 1;
103 scsi_activate_tcq(sdev, fnic_max_qdepth);
/drivers/message/fusion/
H A Dmptctl.c1246 struct scsi_device *sdev; local
1334 shost_for_each_device(sdev, ioc->sh) {
1335 vdevice = sdev->hostdata;
1398 struct scsi_device *sdev; local
1455 shost_for_each_device(sdev, ioc->sh) {
1458 vdevice = sdev->hostdata;
1837 struct scsi_device *sdev; local
1980 shost_for_each_device(sdev, ioc->sh) {
1981 struct scsi_target *starget = scsi_target(sdev);
/drivers/scsi/csiostor/
H A Dcsio_scsi.c2250 csio_slave_alloc(struct scsi_device *sdev) argument
2252 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
2257 sdev->hostdata = *((struct csio_lnode **)(rport->dd_data));
2263 csio_slave_configure(struct scsi_device *sdev) argument
2265 if (sdev->tagged_supported)
2266 scsi_activate_tcq(sdev, csio_lun_qdepth);
2268 scsi_deactivate_tcq(sdev, csio_lun_qdepth);
2274 csio_slave_destroy(struct scsi_device *sdev) argument
2276 sdev->hostdata = NULL;
/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1915 * @sdev: struct scsi_device device to configure
1921 static int ibmvscsi_slave_configure(struct scsi_device *sdev) argument
1923 struct Scsi_Host *shost = sdev->host;
1927 if (sdev->type == TYPE_DISK) {
1928 sdev->allow_restart = 1;
1929 blk_queue_rq_timeout(sdev->request_queue, 120 * HZ);
1932 scsi_adjust_queue_depth(sdev, 0, shost->cmd_per_lun);
1938 * @sdev: scsi device struct
1945 static int ibmvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth, argument
1954 scsi_adjust_queue_depth(sdev,
[all...]
/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c337 * @sdev: scsi device struct
344 static int megaraid_change_queue_depth(struct scsi_device *sdev, int qdepth, argument
352 scsi_adjust_queue_depth(sdev, 0, qdepth);
353 return sdev->queue_depth;
4108 struct scsi_device *sdev = to_scsi_device(dev); local
4109 adapter_t *adapter = (adapter_t *)SCSIHOST2ADAP(sdev->host);
4120 MRAID_IS_LOGICAL_SDEV(adapter, sdev)) {
4127 mapped_sdev_id = sdev->id;
4129 if (sdev->id > adapter->init_id) {
4135 scsi_id = sdev
[all...]

Completed in 2215 milliseconds

123456789