Searched refs:wsize (Results 1 – 8 of 8) sorted by relevance
/drivers/media/i2c/ |
D | ov7670.c | 918 struct ov7670_win_size *wsize; in ov7670_try_fmt_internal() local 944 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal() 946 if (wsize->width < info->min_width || in ov7670_try_fmt_internal() 947 wsize->height < info->min_height) { in ov7670_try_fmt_internal() 956 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal() 957 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal() 958 if (fmt->width >= wsize->width && fmt->height >= wsize->height) in ov7670_try_fmt_internal() 960 if (wsize >= info->devtype->win_sizes + win_sizes_limit) in ov7670_try_fmt_internal() 961 wsize--; /* Take the smallest one */ in ov7670_try_fmt_internal() 963 *ret_wsize = wsize; in ov7670_try_fmt_internal() [all …]
|
/drivers/spi/ |
D | spi-txx9.c | 183 unsigned int wsize; in txx9spi_work_one() local 187 wsize = bits_per_word >> 3; /* in bytes */ in txx9spi_work_one() 213 if (len < count * wsize) in txx9spi_work_one() 214 count = len / wsize; in txx9spi_work_one() 227 data = (wsize == 1) in txx9spi_work_one() 231 txbuf += wsize; in txx9spi_work_one() 242 if (wsize == 1) in txx9spi_work_one() 246 rxbuf += wsize; in txx9spi_work_one() 249 len -= count * wsize; in txx9spi_work_one()
|
/drivers/bus/ |
D | mvebu-mbus.c | 220 u32 wsize; in mvebu_mbus_window_conflicts() local 225 &enabled, &wbase, &wsize, in mvebu_mbus_window_conflicts() 231 wend = wbase + wsize; in mvebu_mbus_window_conflicts() 251 u32 wsize; in mvebu_mbus_find_window() local 255 &enabled, &wbase, &wsize, in mvebu_mbus_find_window() 261 if (base == wbase && size == wsize) in mvebu_mbus_find_window() 418 u32 wsize; in mvebu_devs_debug_show() local 423 &enabled, &wbase, &wsize, in mvebu_devs_debug_show() 433 (unsigned long long)(wbase + wsize), wtarget, wattr); in mvebu_devs_debug_show() 435 if (!is_power_of_2(wsize) || in mvebu_devs_debug_show() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 464 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local 465 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) % 4096; in check_indicate_seq() 482 if (seq_num >= (wsize - 1)) in check_indicate_seq() 483 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq() 485 preorder_ctrl->indicate_seq = 4095 - (wsize - in check_indicate_seq()
|
/drivers/usb/atm/ |
D | cxacru.c | 209 u8 *wdata, int wsize, u8 *rdata, int rsize); 584 u8 *wdata, int wsize, u8 *rdata, int rsize) in cxacru_cm() argument 591 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm() 617 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { in cxacru_cm() 619 memcpy(wbuf + offb + 4, wdata + offd, min_t(int, stride, wsize - offd)); in cxacru_cm()
|
/drivers/mtd/ |
D | mtdconcat.c | 187 size_t size, wsize, retsize, old_iov_len; in concat_writev() local 195 wsize = size; /* store for future use */ in concat_writev() 219 total_len -= wsize; in concat_writev()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 1736 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local 1737 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq() 1755 if (seq_num >= (wsize - 1)) in check_indicate_seq() 1756 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq() 1758 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 1864 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local 1865 u16 wend = (preorder_ctrl->indicate_seq + wsize -1) & 0xFFF; in check_indicate_seq() 1885 if (seq_num >= (wsize - 1)) in check_indicate_seq() 1886 preorder_ctrl->indicate_seq = seq_num + 1 -wsize; in check_indicate_seq() 1888 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
|