/drivers/media/i2c/ |
D | ov7670.c | 242 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/ |
D | spi-txx9.c | 179 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()
|
D | spi-npcm-pspi.c | 197 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()
|
D | spi-uniphier.c | 253 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/ |
D | rti_wdt.c | 120 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/ |
D | mvebu-mbus.c | 280 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/ |
D | cxgb4_cudbg.c | 77 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/ |
D | rtl8712_recv.c | 437 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/ |
D | cxacru.c | 194 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/ |
D | mac.c | 922 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()
|
D | main.h | 962 bool wsize; member
|
D | rtw8821c.c | 1466 .wsize = true,
|
D | rtw8822b.c | 2106 .wsize = true,
|
D | rtw8723d.c | 2536 .wsize = false,
|
D | rtw8822c.c | 3970 .wsize = true,
|
/drivers/net/wireless/ath/wil6210/ |
D | rx_reorder.c | 375 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()
|
D | wil6210.h | 1285 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize);
|
/drivers/mtd/ |
D | mtdconcat.c | 214 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/ |
D | rtw_recv.c | 1588 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/ |
D | ntb_tool.c | 935 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/ |
D | rtw_recv.c | 1972 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/ |
D | mvneta.c | 1044 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()
|