Home
last modified time | relevance | path

Searched refs:wsize (Results 1 – 22 of 22) sorted by relevance

/drivers/media/i2c/
Dov7670.c242 struct ov7670_win_size *wsize; member
965 struct ov7670_win_size *wsize; in ov7670_try_fmt_internal() local
991 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal()
993 if (wsize->width < info->min_width || in ov7670_try_fmt_internal()
994 wsize->height < info->min_height) { in ov7670_try_fmt_internal()
1003 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal()
1004 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal()
1005 if (fmt->width >= wsize->width && fmt->height >= wsize->height) in ov7670_try_fmt_internal()
1007 if (wsize >= info->devtype->win_sizes + win_sizes_limit) in ov7670_try_fmt_internal()
1008 wsize--; /* Take the smallest one */ in ov7670_try_fmt_internal()
[all …]
/drivers/spi/
Dspi-txx9.c179 unsigned int wsize; in txx9spi_work_one() local
183 wsize = bits_per_word >> 3; /* in bytes */ in txx9spi_work_one()
209 if (len < count * wsize) in txx9spi_work_one()
210 count = len / wsize; in txx9spi_work_one()
223 data = (wsize == 1) in txx9spi_work_one()
227 txbuf += wsize; in txx9spi_work_one()
238 if (wsize == 1) in txx9spi_work_one()
242 rxbuf += wsize; in txx9spi_work_one()
245 len -= count * wsize; in txx9spi_work_one()
Dspi-npcm-pspi.c197 int wsize; in npcm_pspi_send() local
200 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in npcm_pspi_send()
201 priv->tx_bytes -= wsize; in npcm_pspi_send()
206 switch (wsize) { in npcm_pspi_send()
Dspi-uniphier.c253 int wsize; in uniphier_spi_send() local
256 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send()
257 priv->tx_bytes -= wsize; in uniphier_spi_send()
260 switch (wsize) { in uniphier_spi_send()
272 priv->tx_buf += wsize; in uniphier_spi_send()
/drivers/watchdog/
Drti_wdt.c120 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) in rti_wdt_setup_hw_hb() argument
128 switch (wsize) { in rti_wdt_setup_hw_hb()
265 u32 wsize; in rti_wdt_probe() local
279 wsize = readl(wdt->base + RTIWWDSIZECTRL); in rti_wdt_probe()
280 ret = rti_wdt_setup_hw_hb(wdd, wsize); in rti_wdt_probe()
/drivers/bus/
Dmvebu-mbus.c280 u32 wsize; in mvebu_mbus_window_conflicts() local
285 &enabled, &wbase, &wsize, in mvebu_mbus_window_conflicts()
291 wend = wbase + wsize; in mvebu_mbus_window_conflicts()
311 u32 wsize; in mvebu_mbus_find_window() local
315 &enabled, &wbase, &wsize, in mvebu_mbus_find_window()
321 if (base == wbase && size == wsize) in mvebu_mbus_find_window()
492 u32 wsize; in mvebu_devs_debug_show() local
497 &enabled, &wbase, &wsize, in mvebu_devs_debug_show()
507 (unsigned long long)(wbase + wsize), wtarget, wattr); in mvebu_devs_debug_show()
509 if (!is_power_of_2(wsize) || in mvebu_devs_debug_show()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_cudbg.c77 u32 wsize; in cxgb4_get_dump_length() local
97 wsize = cudbg_get_workspace_size(); in cxgb4_get_dump_length()
98 if (wsize && len > CUDBG_DUMP_BUFF_SIZE) in cxgb4_get_dump_length()
/drivers/staging/rtl8712/
Drtl8712_recv.c437 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local
438 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) % 4096; in check_indicate_seq()
455 if (seq_num >= (wsize - 1)) in check_indicate_seq()
456 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
458 preorder_ctrl->indicate_seq = 4095 - (wsize - in check_indicate_seq()
/drivers/usb/atm/
Dcxacru.c194 u8 *wdata, int wsize, u8 *rdata, int rsize);
609 u8 *wdata, int wsize, u8 *rdata, int rsize) in cxacru_cm() argument
616 int wbuflen = ((wsize - 1) / stride + 1) * CMD_PACKET_SIZE; in cxacru_cm()
642 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { in cxacru_cm()
644 memcpy(wbuf + offb + 4, wdata + offd, min_t(int, stride, wsize - offd)); in cxacru_cm()
/drivers/net/wireless/realtek/rtw88/
Dmac.c922 bool wsize; in __rtw_mac_flush_prio_queue() local
930 wsize = chip->prioq_addrs->wsize; in __rtw_mac_flush_prio_queue()
934 rsvd_page = wsize ? rtw_read16(rtwdev, addr->rsvd) : in __rtw_mac_flush_prio_queue()
936 avail_page = wsize ? rtw_read16(rtwdev, addr->avail) : in __rtw_mac_flush_prio_queue()
Dmain.h962 bool wsize; member
Drtw8821c.c1466 .wsize = true,
Drtw8822b.c2106 .wsize = true,
Drtw8723d.c2536 .wsize = false,
Drtw8822c.c3970 .wsize = true,
/drivers/net/wireless/ath/wil6210/
Drx_reorder.c375 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize) in wil_addba_tx_request() argument
377 u8 agg_wsize = wil_agg_size(wil, wsize); in wil_addba_tx_request()
Dwil6210.h1285 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize);
/drivers/mtd/
Dmtdconcat.c214 size_t size, wsize, retsize, old_iov_len; in concat_writev() local
222 wsize = size; /* store for future use */ in concat_writev()
246 total_len -= wsize; in concat_writev()
/drivers/staging/rtl8188eu/core/
Drtw_recv.c1588 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local
1589 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
1607 if (seq_num >= (wsize - 1)) in check_indicate_seq()
1608 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
1610 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
/drivers/ntb/test/
Dntb_tool.c935 size_t buf_size, wsize; in tool_peer_mw_trans_write() local
946 n = sscanf(buf, "%lli:%zi", &addr, &wsize); in tool_peer_mw_trans_write()
951 if (wsize) { in tool_peer_mw_trans_write()
953 outmw->widx, addr, wsize); in tool_peer_mw_trans_write()
/drivers/staging/rtl8723bs/core/
Drtw_recv.c1972 u8 wsize = preorder_ctrl->wsize_b; in check_indicate_seq() local
1973 u16 wend = (preorder_ctrl->indicate_seq + wsize - 1) & 0xFFF;/* 4096; */ in check_indicate_seq()
2019 if (seq_num >= (wsize - 1)) in check_indicate_seq()
2020 preorder_ctrl->indicate_seq = seq_num + 1 - wsize; in check_indicate_seq()
2022 preorder_ctrl->indicate_seq = 0xFFF - (wsize - (seq_num + 1)) + 1; in check_indicate_seq()
/drivers/net/ethernet/marvell/
Dmvneta.c1044 static int mvneta_mbus_io_win_set(struct mvneta_port *pp, u32 base, u32 wsize, in mvneta_mbus_io_win_set() argument
1075 mvreg_write(pp, MVNETA_WIN_SIZE(i), (wsize - 1) & 0xffff0000); in mvneta_mbus_io_win_set()
1089 u32 wsize; in mvneta_bm_port_mbus_init() local
1094 err = mvebu_mbus_get_io_win_info(pp->bm_priv->bppi_phys_addr, &wsize, in mvneta_bm_port_mbus_init()
1102 err = mvneta_mbus_io_win_set(pp, pp->bm_priv->bppi_phys_addr, wsize, in mvneta_bm_port_mbus_init()