Home
last modified time | relevance | path

Searched refs:dstsize (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/media/pci/saa7164/
H A Dsaa7164-fw.c61 u32 dlflags, u8 __iomem *dst, u32 dstsize) in saa7164_downloadimage() argument
75 __func__, src, srcsize, dlflags, dst, dstsize); in saa7164_downloadimage()
121 for (offset = 0; srcsize > dstsize; in saa7164_downloadimage()
122 srcsize -= dstsize, offset += dstsize) { in saa7164_downloadimage()
124 dprintk(DBGLVL_FW, "%s() memcpy %d\n", __func__, dstsize); in saa7164_downloadimage()
125 memcpy_toio(dst, srcbuf + offset, dstsize); in saa7164_downloadimage()
141 dprintk(DBGLVL_FW, "%s() memcpy(l) %d\n", __func__, dstsize); in saa7164_downloadimage()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_tlv.c252 size_t dstsize) in fbnic_tlv_attr_get_string() argument
260 if (dstsize == 0) in fbnic_tlv_attr_get_string()
267 if (srclen >= dstsize) { in fbnic_tlv_attr_get_string()
268 len = dstsize - 1; in fbnic_tlv_attr_get_string()
277 memset(dst + len, 0, dstsize - len); in fbnic_tlv_attr_get_string()
/linux/lib/
H A Dnlattr.c772 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strscpy() argument
779 if (dstsize == 0 || WARN_ON_ONCE(dstsize > U16_MAX)) in nla_strscpy()
785 if (srclen >= dstsize) { in nla_strscpy()
786 len = dstsize - 1; in nla_strscpy()
795 memset(dst + len, 0, dstsize - len); in nla_strscpy()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c258 u32 dstsize, in atmel_hlcdc_plane_phiscaler_get_factor() argument
263 factor = (256 * ((8 * (srcsize - 1)) - phidef)) / (dstsize - 1); in atmel_hlcdc_plane_phiscaler_get_factor()
264 max_memsize = ((factor * (dstsize - 1)) + (256 * phidef)) / 2048; in atmel_hlcdc_plane_phiscaler_get_factor()
/linux/include/net/
H A Dnetlink.h549 ssize_t nla_strscpy(char *dst, const struct nlattr *nla, size_t dstsize);