Home
last modified time | relevance | path

Searched refs:iolen (Results 1 – 10 of 10) sorted by relevance

/drivers/platform/x86/
Dapple-gmux.c26 unsigned long iolen; member
131 gmux_data->iolen = res->end - res->start; in gmux_probe()
133 if (gmux_data->iolen < GMUX_MIN_IO_LEN) { in gmux_probe()
135 gmux_data->iolen, GMUX_MIN_IO_LEN); in gmux_probe()
139 if (!request_region(gmux_data->iostart, gmux_data->iolen, in gmux_probe()
198 release_region(gmux_data->iostart, gmux_data->iolen); in gmux_probe()
209 release_region(gmux_data->iostart, gmux_data->iolen); in gmux_remove()
/drivers/video/backlight/
Dapple_bl.c34 unsigned long iolen; member
87 .iolen = 2,
134 .iolen = 2,
180 if (!request_region(hw_data->iostart, hw_data->iolen, in apple_bl_add()
191 release_region(hw_data->iostart, hw_data->iolen); in apple_bl_add()
206 release_region(hw_data->iostart, hw_data->iolen); in apple_bl_remove()
/drivers/net/wireless/bcmdhd/
Dwldev_common.c76 s32 iolen = 0; in wldev_mkiovar() local
78 iolen = bcm_mkiovar(iovar_name, param, paramlen, iovar_buf, buflen); in wldev_mkiovar()
79 return iolen; in wldev_mkiovar()
159 u32 iolen; in wldev_mkiovar_bsscfg() local
168 iolen = prefixlen + namelen + sizeof(u32) + paramlen; in wldev_mkiovar_bsscfg()
170 if (buflen < 0 || iolen > (u32)buflen) in wldev_mkiovar_bsscfg()
195 return iolen; in wldev_mkiovar_bsscfg()
Dwl_iw.c265 int iolen; in dev_iw_iovar_setbuf() local
267 iolen = bcm_mkiovar(iovar, param, paramlen, bufptr, buflen); in dev_iw_iovar_setbuf()
268 ASSERT(iolen); in dev_iw_iovar_setbuf()
269 BCM_REFERENCE(iolen); in dev_iw_iovar_setbuf()
271 return (dev_wlc_ioctl(dev, WLC_SET_VAR, bufptr, iolen)); in dev_iw_iovar_setbuf()
283 int iolen; in dev_iw_iovar_getbuf() local
285 iolen = bcm_mkiovar(iovar, param, paramlen, bufptr, buflen); in dev_iw_iovar_getbuf()
286 ASSERT(iolen); in dev_iw_iovar_getbuf()
287 BCM_REFERENCE(iolen); in dev_iw_iovar_getbuf()
/drivers/input/gameport/
Dns558.c199 int ioport, iolen; in ns558_pnp_probe() local
209 iolen = pnp_port_len(dev, 0); in ns558_pnp_probe()
211 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe()
224 ns558->size = iolen; in ns558_pnp_probe()
/drivers/staging/cxt1e1/
Dlinux.c832 int iocmd, iolen; in c4_ioctl() local
873 iolen = _IOC_SIZE (iocmd); in c4_ioctl()
875 if (copy_from_user (&arg, data, iolen)) in c4_ioctl()
929 ret = (iolen == sizeof (struct sbe_iid_info)) ? c4_get_iidinfo (ci, &arg.u.iip) : -EFAULT; in c4_ioctl()
931 if (copy_to_user (data, &arg, iolen)) in c4_ioctl()
/drivers/spi/
Dspi-dw-pci.c61 dws->iolen = pci_resource_len(pdev, pci_bar); in spi_pci_probe()
Dspi-dw.h101 u32 iolen; member
/drivers/tty/serial/
Dmfd.c93 unsigned long iolen; member
1368 hsu->iolen = 0x1000; in hsu_global_init()
1370 if (!(request_mem_region(hsu->paddr, hsu->iolen, "HSU global"))) in hsu_global_init()
1373 hsu->reg = ioremap_nocache((unsigned long)hsu->paddr, hsu->iolen); in hsu_global_init()
1431 release_mem_region(hsu->paddr, hsu->iolen); in hsu_global_init()
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c513 s32 iolen; in brcmf_dev_iovar_setbuf() local
515 iolen = brcmf_c_mkiovar(iovar, param, paramlen, bufptr, buflen); in brcmf_dev_iovar_setbuf()
516 BUG_ON(!iolen); in brcmf_dev_iovar_setbuf()
518 return brcmf_exec_dcmd(ndev, BRCMF_C_SET_VAR, bufptr, iolen); in brcmf_dev_iovar_setbuf()
525 s32 iolen; in brcmf_dev_iovar_getbuf() local
527 iolen = brcmf_c_mkiovar(iovar, param, paramlen, bufptr, buflen); in brcmf_dev_iovar_getbuf()
528 BUG_ON(!iolen); in brcmf_dev_iovar_getbuf()