Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 10 of 10) sorted by relevance

/hardware/ril/libril/
Dril.cpp76 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
825 digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in dispatchCdmaSms()
840 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in dispatchCdmaSms()
849 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in dispatchCdmaSms()
1593 num = MIN(p_cur->numberOfInfoRecs, RIL_CDMA_MAX_NUMBER_OF_INFO_RECS); in responseCdmaInformationRecords()
2015 digitLimit= MIN((p_cur->sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in responseCdmaSms()
2023 digitLimit= MIN((p_cur->sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in responseCdmaSms()
2028 digitLimit= MIN((p_cur->uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in responseCdmaSms()
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmutils.h392 #ifndef MIN
393 #define MIN(a, b) (((a) < (b))?(a):(b)) macro
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_sdio.c952 prhex("TxHdr", frame, MIN(len, 16)); in dhdsdio_txpkt()
1266 prhex("TxHdr", frame, MIN(len, 16)); in dhd_bus_txctl()
1334 bcopy(bus->rxctl, msg, MIN(msglen, rxlen)); in dhd_bus_rxctl()
1583 bus->pktgen_len = MIN(bus->pktgen_len, bus->pktgen_maxlen); in dhdsdio_pktgen_set()
1637 dsize = MIN(SBSDIO_SB_OFT_ADDR_LIMIT, size); in dhdsdio_membytes()
2336 bus->roundup = MIN(max_roundup, bus->blocksize); in dhd_bus_iovar_op()
2882 MIN(PKTLEN(osh, pfirst), 48)); in dhdsdio_rxglom()
3074 MIN(PKTLEN(osh, pfirst), 32)); in dhdsdio_rxglom()
3880 rxlimit -= MIN(framecnt, rxlimit); in dhdsdio_dpc()
3938 framecnt = rxdone ? txlimit : MIN(txlimit, dhd_txminmax); in dhdsdio_dpc()
[all …]
Ddhd_linux.c325 strncpy(current->comm, a, MIN(sizeof(current->comm), (strlen(a) + 1))); \
1503 buflen = MIN(ioc.len, DHD_IOCTL_MAXLEN); in dhd_ioctl_entry()
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdspi.c645 len = MIN(SD_PAGE, buflen); in sdioh_request_buffer()
653 len = MIN(sd->client_block_size[func], buflen); in sdioh_request_buffer()
1466 blocksize = MIN(sd->client_block_size[func], nbytes); in sdspi_card_buf()
Dbcmsdstd.c843 len = MIN(SD_PAGE, buflen); in sdioh_request_buffer()
865 len = MIN(sd->client_block_size[func], buflen); in sdioh_request_buffer()
2361 blocksize = MIN((int)sdioh_info->data_xfer_count, in sdstd_cmd_issue()
2546 blocksize = MIN(sd->client_block_size[func], nbytes); in sdstd_card_buf()
/hardware/broadcom/wlan/bcm4329/src/wl/sys/
Dwl_iw.c131 strncpy(current->comm, a, MIN(sizeof(current->comm), (strlen(a) + 1))); \
533 MIN(country_code_size, sizeof(country_code))); in wl_iw_set_country()
1328 iw->spy_num = MIN(ARRAYSIZE(iw->spy_addr), dwrq->length); in wl_iw_set_spy()
2126 g_specific_ssid.SSID_len = MIN(sizeof(g_specific_ssid.SSID), req->essid_len); in wl_iw_set_scan()
2176 ssid.SSID_len = MIN(sizeof(ssid.SSID), req->essid_len); in wl_iw_iscan_set_scan()
2695 g_ssid.SSID_len = MIN(sizeof(g_ssid.SSID), dwrq->length); in wl_iw_set_essid()
2697 g_ssid.SSID_len = MIN(sizeof(g_ssid.SSID), dwrq->length-1); in wl_iw_set_essid()
3257 dwrq->length = MIN(DOT11_MAX_KEY_SIZE, key.len);
/hardware/broadcom/wlan/bcm4329/src/shared/
Dlinux_osl.c594 d = MIN(usec, 1000); in osl_delay()
Dbcmutils.c70 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy()
99 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktfrombuf()
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/
Ddhdu.c913 chunk = MIN(chunk, len); in dhd_membytes()
1757 len = MIN(MEMBLOCK, size); in dhd_upload()