/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 320 void rect_map_inside(struct v4l2_rect *r, const struct v4l2_rect *boundary) in rect_map_inside() argument 322 rect_set_max_size(r, boundary); in rect_map_inside() 323 if (r->left < boundary->left) in rect_map_inside() 324 r->left = boundary->left; in rect_map_inside() 325 if (r->top < boundary->top) in rect_map_inside() 326 r->top = boundary->top; in rect_map_inside() 327 if (r->left + r->width > boundary->width) in rect_map_inside() 328 r->left = boundary->width - r->width; in rect_map_inside() 329 if (r->top + r->height > boundary->height) in rect_map_inside() 330 r->top = boundary->height - r->height; in rect_map_inside()
|
D | vivid-vid-common.h | 44 void rect_map_inside(struct v4l2_rect *r, const struct v4l2_rect *boundary);
|
/drivers/mtd/tests/ |
D | pagetest.c | 43 static unsigned char *boundary; variable 111 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); in verify_eraseblock() 112 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); in verify_eraseblock() 113 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock() 381 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init() 382 if (!boundary) in mtd_pagetest_init() 445 kfree(boundary); in mtd_pagetest_init()
|
/drivers/acpi/acpica/ |
D | acmacros.h | 226 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ argument 227 (~(((acpi_size) boundary)-1))) 229 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ argument 230 (((acpi_size) boundary)-1)) & \ 231 (~(((acpi_size) boundary)-1))) 250 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary)) argument
|
/drivers/mtd/onenand/ |
D | onenand_base.c | 275 unsigned boundary, blk, die = 0; in flexonenand_block() local 282 boundary = this->boundary[die]; in flexonenand_block() 285 if (blk > boundary) in flexonenand_block() 286 blk = (blk + boundary + 1) >> 1; in flexonenand_block() 309 int die = 0, boundary; in flexonenand_addr() local 317 boundary = this->boundary[die]; in flexonenand_addr() 319 if (block > (boundary + 1)) in flexonenand_addr() 320 ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1); in flexonenand_addr() 1226 int ret = 0, boundary = 0; in onenand_read_ops_nolock() local 1281 boundary = 1; in onenand_read_ops_nolock() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | mac.c | 193 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in rtl92c_init_llt_table() argument 198 for (i = 0; i < (boundary - 1); i++) { in rtl92c_init_llt_table() 206 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); in rtl92c_init_llt_table() 216 for (i = boundary; i < LLT_LAST_ENTRY_OF_TX_PKT_BUFFER; i++) { in rtl92c_init_llt_table() 224 rst = rtl92c_llt_write(hw, LLT_LAST_ENTRY_OF_TX_PKT_BUFFER, boundary); in rtl92c_init_llt_table()
|
D | mac.h | 39 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary);
|
D | hw.c | 850 u32 boundary = 0; in _rtl92cu_init_mac() local 862 boundary = TX_PAGE_BOUNDARY; in _rtl92cu_init_mac() 864 boundary = (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_mac() 868 if (false == rtl92c_init_llt_table(hw, boundary)) { in _rtl92cu_init_mac()
|
/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | hw.c | 1474 static bool _rtl8821ae_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in _rtl8821ae_init_llt_table() argument 1478 u32 txpktbuf_bndy = boundary; in _rtl8821ae_init_llt_table() 1505 static bool _rtl8821ae_dynamic_rqpn(struct ieee80211_hw *hw, u32 boundary, in _rtl8821ae_dynamic_rqpn() argument 1519 boundary, npq_rqpn_value, rqpn_val); in _rtl8821ae_dynamic_rqpn() 1618 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, (u8)boundary); in _rtl8821ae_dynamic_rqpn() 1619 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, (u8)boundary); in _rtl8821ae_dynamic_rqpn() 1620 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, (u8)boundary); in _rtl8821ae_dynamic_rqpn() 1625 (u8)boundary); in _rtl8821ae_dynamic_rqpn() 1627 rtl_write_word(rtlpriv, REG_TRXFF_BNDY, boundary); in _rtl8821ae_dynamic_rqpn() 1631 if (!_rtl8821ae_init_llt_table(hw, boundary)) { in _rtl8821ae_dynamic_rqpn() [all …]
|
/drivers/staging/rtl8723au/hal/ |
D | usb_halinit.c | 535 u32 boundary; in rtl8723au_hal_init() local 584 boundary = TX_PAGE_BOUNDARY; in rtl8723au_hal_init() 587 boundary = WMM_NORMAL_TX_PAGE_BOUNDARY; in rtl8723au_hal_init() 591 status = InitLLTTable23a(Adapter, boundary); in rtl8723au_hal_init()
|
D | rtl8723a_hal_init.c | 1241 int InitLLTTable23a(struct rtw_adapter *padapter, u32 boundary) in InitLLTTable23a() argument 1245 u32 txpktbuf_bndy = boundary; in InitLLTTable23a()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | dma.c | 469 static void *dma_ringalloc(struct dma_info *di, u32 boundary, uint size, in dma_ringalloc() argument 483 if (((desc_strtaddr + size - 1) & boundary) != (desc_strtaddr in dma_ringalloc() 484 & boundary)) { in dma_ringalloc()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.h | 157 bus_size_t boundary; member
|
D | aic79xx_osm.h | 144 bus_size_t boundary; member
|
D | aic7xxx_osm.c | 828 bus_size_t alignment, bus_size_t boundary, in ahc_dma_tag_create() argument 848 dmat->boundary = boundary; in ahc_dma_tag_create()
|
D | aic79xx_osm.c | 933 bus_size_t alignment, bus_size_t boundary, in ahd_dma_tag_create() argument 953 dmat->boundary = boundary; in ahd_dma_tag_create()
|
D | aic79xx.seq | 452 * Don't cross an ADB or Cachline boundary when DMA'ing 456 * something other than an 8byte aligned boundary. In 1985 * not sitting on a packet boundary, we are in an overrun 1992 /* Not on a packet boundary. */ \
|
D | aic79xx.reg | 2516 field DLZERO 0x04 /* FIFO data ends on packet boundary. */
|
D | aic7xxx.seq | 795 * If the ending address is on a cacheline boundary,
|
/drivers/staging/rtl8723au/include/ |
D | rtl8723a_hal.h | 502 s32 InitLLTTable23a(struct rtw_adapter *padapter, u32 boundary);
|
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/ |
D | gpc.fuc | 176 // round up base/size to 256 byte boundary (for strand SWBASE)
|
/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 2836 int cum_len, seglen, boundary, rdma_count; in myri10ge_xmit() local 2975 boundary = in myri10ge_xmit() 2977 seglen = boundary - low; in myri10ge_xmit()
|
/drivers/gpu/drm/nouveau/core/engine/copy/fuc/ |
D | nva3.fuc | 215 // get a chunk of stack space, aligned to 256 byte boundary
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.c | 264 uint boundary; in brcmf_mw_to_qdbm() local 279 boundary = nqdBm_to_mW_map[qdbm] + (nqdBm_to_mW_map[qdbm + 1] - in brcmf_mw_to_qdbm() 281 if (mw_uint < boundary) in brcmf_mw_to_qdbm()
|