Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 35) sorted by relevance

12

/drivers/gpio/
Dgpio-104-idi-48.c118 unsigned boundary; in idi_48_irq_mask() local
124 boundary = i / 8; in idi_48_irq_mask()
126 idi48gpio->irq_mask[boundary] &= ~mask; in idi_48_irq_mask()
128 if (!idi48gpio->irq_mask[boundary]) { in idi_48_irq_mask()
129 idi48gpio->cos_enb &= ~BIT(boundary); in idi_48_irq_mask()
149 unsigned boundary; in idi_48_irq_unmask() local
156 boundary = i / 8; in idi_48_irq_unmask()
157 prev_irq_mask = idi48gpio->irq_mask[boundary]; in idi_48_irq_unmask()
159 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
162 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
[all …]
/drivers/mtd/tests/
Dpagetest.c31 static unsigned char *boundary; variable
99 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); in verify_eraseblock()
100 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); in verify_eraseblock()
101 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock()
368 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()
369 if (!boundary) in mtd_pagetest_init()
442 kfree(boundary); in mtd_pagetest_init()
/drivers/mtd/nand/onenand/
Donenand_base.c303 unsigned boundary, blk, die = 0; in flexonenand_block() local
310 boundary = this->boundary[die]; in flexonenand_block()
313 if (blk > boundary) in flexonenand_block()
314 blk = (blk + boundary + 1) >> 1; in flexonenand_block()
337 int die = 0, boundary; in flexonenand_addr() local
345 boundary = this->boundary[die]; in flexonenand_addr()
347 if (block > (boundary + 1)) in flexonenand_addr()
348 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
1277 boundary = 1; in onenand_read_ops_nolock()
[all …]
/drivers/acpi/acpica/
Dacmacros.h201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ argument
202 (~(((acpi_size) boundary)-1)))
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ argument
205 (((acpi_size) boundary)-1)) & \
206 (~(((acpi_size) boundary)-1)))
225 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary)) argument
/drivers/gpu/drm/amd/display/dc/dcn30/
DMakefile57 CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_resource.o += -mpreferred-stack-boundary=4
58 CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_optc.o += -mpreferred-stack-boundary=4
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c153 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in rtl92c_init_llt_table() argument
158 for (i = 0; i < (boundary - 1); i++) { in rtl92c_init_llt_table()
166 rst = rtl92c_llt_write(hw, (boundary - 1), 0xFF); in rtl92c_init_llt_table()
176 for (i = boundary; i < LLT_LAST_ENTRY_OF_TX_PKT_BUFFER; i++) { in rtl92c_init_llt_table()
184 rst = rtl92c_llt_write(hw, LLT_LAST_ENTRY_OF_TX_PKT_BUFFER, boundary); in rtl92c_init_llt_table()
Dmac.h13 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary);
Dhw.c813 u32 boundary = 0; in _rtl92cu_init_mac() local
825 boundary = TX_PAGE_BOUNDARY; in _rtl92cu_init_mac()
827 boundary = (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_mac()
831 if (!rtl92c_init_llt_table(hw, boundary)) { in _rtl92cu_init_mac()
/drivers/usb/host/
Dxhci-mtk-sch.c94 u32 boundary; in get_bw_boundary() local
98 boundary = SSP_BW_BOUNDARY; in get_bw_boundary()
101 boundary = SS_BW_BOUNDARY; in get_bw_boundary()
104 boundary = HS_BW_BOUNDARY; in get_bw_boundary()
108 return boundary; in get_bw_boundary()
/drivers/gpu/drm/amd/display/dc/dcn303/
DMakefile31 CFLAGS_$(AMDDALPATH)/dc/dcn303/dcn303_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/dcn302/
DMakefile35 CFLAGS_$(AMDDALPATH)/dc/dcn302/dcn302_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/dcn21/
DMakefile27 CFLAGS_$(AMDDALPATH)/dc/dcn21/dcn21_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/dcn301/
DMakefile36 CFLAGS_$(AMDDALPATH)/dc/dcn301/dcn301_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/dcn31/
DMakefile36 CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/dcn20/
DMakefile31 CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o += -mpreferred-stack-boundary=4
/drivers/gpu/drm/amd/display/dc/calcs/
DMakefile47 calcs_ccflags += -mpreferred-stack-boundary=4
/drivers/s390/net/
Dism_drv.c362 unsigned int boundary) in max_bytes() argument
364 return min(boundary - (start & (boundary - 1)), len); in max_bytes()
/drivers/net/ethernet/freescale/fman/
DKconfig29 1. FMAN AXI transaction crosses 4K address boundary (Errata
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c1447 static bool _rtl8821ae_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in _rtl8821ae_init_llt_table() argument
1451 u32 txpktbuf_bndy = boundary; in _rtl8821ae_init_llt_table()
1478 static bool _rtl8821ae_dynamic_rqpn(struct ieee80211_hw *hw, u32 boundary, in _rtl8821ae_dynamic_rqpn() argument
1492 boundary, npq_rqpn_value, rqpn_val); in _rtl8821ae_dynamic_rqpn()
1591 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, (u8)boundary); in _rtl8821ae_dynamic_rqpn()
1592 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, (u8)boundary); in _rtl8821ae_dynamic_rqpn()
1593 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, (u8)boundary); in _rtl8821ae_dynamic_rqpn()
1598 (u8)boundary); in _rtl8821ae_dynamic_rqpn()
1600 rtl_write_word(rtlpriv, REG_TRXFF_BNDY, boundary); in _rtl8821ae_dynamic_rqpn()
1604 if (!_rtl8821ae_init_llt_table(hw, boundary)) { in _rtl8821ae_dynamic_rqpn()
[all …]
/drivers/gpu/drm/amd/display/dc/dml/
DMakefile47 dml_ccflags += -mpreferred-stack-boundary=4
/drivers/dma/
Dat_hdmac_regs.h218 size_t boundary; member
Dat_hdmac.c256 ATC_SPIP_BOUNDARY(first->boundary)); in atc_dostart()
258 ATC_DPIP_BOUNDARY(first->boundary)); in atc_dostart()
757 desc->boundary = first->size >> dwidth; in atc_prep_dma_interleaved()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.h152 bus_size_t boundary; member
Daic79xx_osm.h139 bus_size_t boundary; member
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c469 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()

12