Home
last modified time | relevance | path

Searched refs:id_array (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/
H A Dpti.c233 static struct pti_masterchannel *get_id(u8 *id_array, in get_id() argument
247 if (id_array[i] != 0xff) in get_id()
256 if ((id_array[i] & mask) == 0) in get_id()
262 id_array[i] |= mask; in get_id()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsim710.c34 static __u8 __initdata id_array[MAX_SLOTS] = { [0 ... MAX_SLOTS-1] = 7 }; variable
67 id_array[slot] = val; in param_setup()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_common.c6914 event_id_array_t *id_array; in dhd_start_event_ecounters() local
6918 id_array = (event_id_array_t *)MALLOCZ(dhd->osh, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
6921 if (id_array == NULL) { in dhd_start_event_ecounters()
6925 event_id_cnt = __dhd_event_ecounters_get_event_id_array(id_array); in dhd_start_event_ecounters()
6944 req->event_id = id_array[i].event_id; in dhd_start_event_ecounters()
6952 for (j = id_array[i].str_idx; j < (uint8)ARRAYSIZE(event_ecounters_cfg_tbl); j++) { in dhd_start_event_ecounters()
6954 if (id_array[i].event_id != event_ecounter_stat->event_id) in dhd_start_event_ecounters()
7005 if (id_array) { in dhd_start_event_ecounters()
7006 MFREE(dhd->osh, id_array, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_common.c6930 event_id_array_t *id_array; in dhd_start_event_ecounters() local
6934 id_array = (event_id_array_t *)MALLOCZ(dhd->osh, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
6937 if (id_array == NULL) { in dhd_start_event_ecounters()
6941 event_id_cnt = __dhd_event_ecounters_get_event_id_array(id_array); in dhd_start_event_ecounters()
6960 req->event_id = id_array[i].event_id; in dhd_start_event_ecounters()
6968 for (j = id_array[i].str_idx; j < (uint8)ARRAYSIZE(event_ecounters_cfg_tbl); j++) { in dhd_start_event_ecounters()
6970 if (id_array[i].event_id != event_ecounter_stat->event_id) in dhd_start_event_ecounters()
7021 if (id_array) { in dhd_start_event_ecounters()
7022 MFREE(dhd->osh, id_array, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_common.c6930 event_id_array_t *id_array; in dhd_start_event_ecounters() local
6934 id_array = (event_id_array_t *)MALLOCZ(dhd->osh, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
6937 if (id_array == NULL) { in dhd_start_event_ecounters()
6941 event_id_cnt = __dhd_event_ecounters_get_event_id_array(id_array); in dhd_start_event_ecounters()
6960 req->event_id = id_array[i].event_id; in dhd_start_event_ecounters()
6968 for (j = id_array[i].str_idx; j < (uint8)ARRAYSIZE(event_ecounters_cfg_tbl); j++) { in dhd_start_event_ecounters()
6970 if (id_array[i].event_id != event_ecounter_stat->event_id) in dhd_start_event_ecounters()
7021 if (id_array) { in dhd_start_event_ecounters()
7022 MFREE(dhd->osh, id_array, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_common.c10721 event_id_array_t *id_array; in dhd_start_event_ecounters() local
10726 id_array = (event_id_array_t *)MALLOCZ(dhd->osh, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
10729 if (id_array == NULL) { in dhd_start_event_ecounters()
10733 event_id_cnt = __dhd_event_ecounters_get_event_id_array(id_array); in dhd_start_event_ecounters()
10752 req->event_id = id_array[i].event_id; in dhd_start_event_ecounters()
10760 for (j = id_array[i].str_idx; j < (uint8)ARRAYSIZE(event_ecounters_cfg_tbl); j++) { in dhd_start_event_ecounters()
10762 if (id_array[i].event_id != event_ecounter_stat->event_id) in dhd_start_event_ecounters()
10813 if (id_array) { in dhd_start_event_ecounters()
10814 MFREE(dhd->osh, id_array, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_common.c10726 event_id_array_t *id_array; in dhd_start_event_ecounters() local
10731 id_array = (event_id_array_t *)MALLOCZ(dhd->osh, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
10734 if (id_array == NULL) { in dhd_start_event_ecounters()
10738 event_id_cnt = __dhd_event_ecounters_get_event_id_array(id_array); in dhd_start_event_ecounters()
10757 req->event_id = id_array[i].event_id; in dhd_start_event_ecounters()
10765 for (j = id_array[i].str_idx; j < (uint8)ARRAYSIZE(event_ecounters_cfg_tbl); j++) { in dhd_start_event_ecounters()
10767 if (id_array[i].event_id != event_ecounter_stat->event_id) in dhd_start_event_ecounters()
10818 if (id_array) { in dhd_start_event_ecounters()
10819 MFREE(dhd->osh, id_array, sizeof(event_id_array_t) * in dhd_start_event_ecounters()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_sli.c5938 struct lpfc_id_range *id_array = NULL; in lpfc_sli4_alloc_extent() local
5981 id_array = &rsrc_ext->u.rsp.id[0]; in lpfc_sli4_alloc_extent()
5987 id_array = &n_rsrc->id; in lpfc_sli4_alloc_extent()
6095 id_array = NULL; in lpfc_sli4_alloc_extent()
6111 &id_array[k]); in lpfc_sli4_alloc_extent()
6114 &id_array[k]); in lpfc_sli4_alloc_extent()