Home
last modified time | relevance | path

Searched refs:adp (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/megaraid/
Dmegaraid_mm.c108 mraid_mmadp_t *adp; in mraid_mm_ioctl() local
154 if ((adp = mraid_mm_get_adapter(argp, &rval)) == NULL) { in mraid_mm_ioctl()
162 if (!adp->quiescent) { in mraid_mm_ioctl()
174 kioc = mraid_mm_alloc_kioc(adp); in mraid_mm_ioctl()
181 if ((rval = mimd_to_kioc(argp, adp, kioc))) { in mraid_mm_ioctl()
182 mraid_mm_dealloc_kioc(adp, kioc); in mraid_mm_ioctl()
193 if ((rval = lld_ioctl(adp, kioc))) { in mraid_mm_ioctl()
196 mraid_mm_dealloc_kioc(adp, kioc); in mraid_mm_ioctl()
209 mraid_mm_dealloc_kioc(adp, kioc); in mraid_mm_ioctl()
354 mimd_to_kioc(mimd_t __user *umimd, mraid_mmadp_t *adp, uioc_t *kioc) in mimd_to_kioc() argument
[all …]
Dmega_common.h210 #define MRAID_IS_LOGICAL(adp, scp) \ argument
211 (SCP2CHANNEL(scp) == (adp)->max_channel) ? 1 : 0
213 #define MRAID_IS_LOGICAL_SDEV(adp, sdev) \ argument
214 (sdev->channel == (adp)->max_channel) ? 1 : 0
227 #define MRAID_GET_DEVICE_MAP(adp, scp, p_chan, target, islogical) \ argument
231 islogical = MRAID_IS_LOGICAL(adp, scp); \
239 (adp)->device_ids[(adp)->max_channel][SCP2TARGET(scp)]; \
242 p_chan = ((adp)->device_ids[SCP2CHANNEL(scp)] \
244 target = ((adp)->device_ids[SCP2CHANNEL(scp)] \
Dmegaraid_mbox.h219 #define ADAP2RAIDDEV(adp) ((mraid_device_t *)((adp)->raid_device)) argument
Dmegaraid_mbox.c3405 mraid_mmadp_t adp; in megaraid_cmm_register() local
3461 adp.unique_id = adapter->unique_id; in megaraid_cmm_register()
3462 adp.drvr_type = DRVRTYPE_MBOX; in megaraid_cmm_register()
3463 adp.drvr_data = (unsigned long)adapter; in megaraid_cmm_register()
3464 adp.pdev = adapter->pdev; in megaraid_cmm_register()
3465 adp.issue_uioc = megaraid_mbox_mm_handler; in megaraid_cmm_register()
3466 adp.timeout = MBOX_RESET_WAIT + MBOX_RESET_EXT_WAIT; in megaraid_cmm_register()
3467 adp.max_kioc = MBOX_MAX_USER_CMDS; in megaraid_cmm_register()
3469 if ((rval = mraid_mm_register_adp(&adp)) != 0) { in megaraid_cmm_register()
/drivers/gpu/drm/rockchip/
Danalogix_dp-rockchip.c72 struct analogix_dp_device *adp; member
338 ret = analogix_dp_bind(dp->adp, drm_dev); in rockchip_dp_bind()
353 analogix_dp_unbind(dp->adp); in rockchip_dp_unbind()
383 dp->adp = ERR_PTR(-ENODEV); in rockchip_dp_probe()
397 dp->adp = analogix_dp_probe(dev, &dp->plat_data); in rockchip_dp_probe()
398 if (IS_ERR(dp->adp)) in rockchip_dp_probe()
399 return PTR_ERR(dp->adp); in rockchip_dp_probe()
408 analogix_dp_remove(dp->adp); in rockchip_dp_probe()
417 analogix_dp_remove(dp->adp); in rockchip_dp_remove()
427 if (IS_ERR(dp->adp)) in rockchip_dp_suspend()
[all …]
/drivers/gpu/drm/exynos/
Dexynos_dp.c43 struct analogix_dp_device *adp; member
177 ret = analogix_dp_bind(dp->adp, dp->drm_dev); in exynos_dp_bind()
189 analogix_dp_unbind(dp->adp); in exynos_dp_unbind()
248 dp->adp = analogix_dp_probe(dev, &dp->plat_data); in exynos_dp_probe()
249 if (IS_ERR(dp->adp)) in exynos_dp_probe()
250 return PTR_ERR(dp->adp); in exynos_dp_probe()
260 analogix_dp_remove(dp->adp); in exynos_dp_remove()
270 return analogix_dp_suspend(dp->adp); in exynos_dp_suspend()
277 return analogix_dp_resume(dp->adp); in exynos_dp_resume()
/drivers/power/supply/
Drn5t618_power.c47 struct power_supply *adp; member
456 power_supply_changed(info->adp); in rn5t618_charger_irq()
505 info->adp = devm_power_supply_register(&pdev->dev, in rn5t618_power_probe()
508 if (IS_ERR(info->adp)) { in rn5t618_power_probe()
509 ret = PTR_ERR(info->adp); in rn5t618_power_probe()
/drivers/s390/net/
Dqeth_core_mpc.h57 qeth_ipa_caps_supported(&c->options.adp, f)
Dqeth_core.h749 struct qeth_ipa_caps adp; /* Adapter parameters */ member
Dqeth_core_main.c3217 card->options.adp.supported = query_cmd->supported_cmds; in qeth_query_setadapterparms_cb()
5114 QETH_CARD_HEX(card, 2, &card->options.adp, sizeof(card->options.adp)); in qeth_trace_features()
5238 card->options.adp.supported = 0; in qeth_hardsetup_card()
/drivers/media/dvb-frontends/
Ddib8000.c2061 const u16 *adp; in dib8000_adp_fine_tune() local
2067 adp = &adp_Q64[0]; in dib8000_adp_fine_tune()
2071 adp = &adp_Q16[0]; in dib8000_adp_fine_tune()
2075 adp = &adp_Qdefault[0]; in dib8000_adp_fine_tune()
2080 dib8000_write_word(state, 215 + i, adp[i]); in dib8000_adp_fine_tune()