/linux/drivers/gpu/drm/radeon/ |
H A D | mkregtable.c | 114 unsigned nentry; member 140 t->nentry = 0; in table_init() 148 nlloop = (t->nentry + 3) / 4; in table_print() 149 c = t->nentry; in table_print() 151 t->nentry); in table_print() 174 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build() 175 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build() 178 memset(t->table, 0xff, sizeof(unsigned) * t->nentry); in table_build()
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 169 struct __opa_vnic_mactable_entry *nentry = &node->entry; in opa_vnic_query_mac_tbl() local 178 memcpy(entry->mac_addr, nentry->mac_addr, in opa_vnic_query_mac_tbl() 180 memcpy(entry->mac_addr_mask, nentry->mac_addr_mask, in opa_vnic_query_mac_tbl() 182 entry->dlid_sd = cpu_to_be32(nentry->dlid_sd); in opa_vnic_query_mac_tbl() 226 struct __opa_vnic_mactable_entry *nentry; in opa_vnic_update_mac_tbl() local 248 nentry = &node->entry; in opa_vnic_update_mac_tbl() 249 memcpy(nentry->mac_addr, entry->mac_addr, in opa_vnic_update_mac_tbl() 250 ARRAY_SIZE(nentry->mac_addr)); in opa_vnic_update_mac_tbl() 251 memcpy(nentry->mac_addr_mask, entry->mac_addr_mask, in opa_vnic_update_mac_tbl() 252 ARRAY_SIZE(nentry->mac_addr_mask)); in opa_vnic_update_mac_tbl() [all …]
|
/linux/kernel/ |
H A D | audit_watch.c | 251 struct audit_entry *oentry, *nentry; in audit_update_watch() local 283 nentry = audit_dupe_rule(&oentry->rule); in audit_update_watch() 284 if (IS_ERR(nentry)) { in audit_update_watch() 291 * nentry->rule.watch == oentry->rule.watch so in audit_update_watch() 295 audit_put_watch(nentry->rule.watch); in audit_update_watch() 297 nentry->rule.watch = nwatch; in audit_update_watch() 298 list_add(&nentry->rule.rlist, &nwatch->rules); in audit_update_watch() 299 list_add_rcu(&nentry->list, &audit_inode_hash[h]); in audit_update_watch() 301 &nentry->rule.list); in audit_update_watch()
|
/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_6_3_sm6115.h | 112 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 115 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 118 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_9_sm6375.h | 123 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 126 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 129 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_2_sc7180.h | 180 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 183 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 186 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_3_3_sdm630.h | 181 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 184 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 187 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_5_4_sm6125.h | 191 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 194 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 197 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_4_sm6350.h | 198 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 201 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 204 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_3_sm6150.h | 207 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 210 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 213 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_7_2_sc7280.h | 224 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 227 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 230 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_3_2_sdm660.h | 245 {.nentry = ARRAY_SIZE(msm8998_qos_linear), 248 {.nentry = ARRAY_SIZE(msm8998_qos_macrotile), 251 {.nentry = ARRAY_SIZE(msm8998_qos_nrt),
|
H A D | dpu_5_2_sm7150.h | 285 .nentry = ARRAY_SIZE(sm8150_qos_linear), 288 .nentry = ARRAY_SIZE(sc7180_qos_macrotile), 291 .nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_7_0_sm8350.h | 371 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 374 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 377 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_0_sm8250.h | 361 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 364 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 367 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_9_0_sm8550.h | 382 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 385 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 388 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_0_sm8150.h | 363 {.nentry = ARRAY_SIZE(sm8150_qos_linear), 366 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 369 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_8_1_sm8450.h | 387 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 390 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 393 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_5_1_sc8180x.h | 389 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 392 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 395 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_8_0_sc8280xp.h | 410 {.nentry = ARRAY_SIZE(sc8180x_qos_linear), 413 {.nentry = ARRAY_SIZE(sc8180x_qos_macrotile), 416 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_9_2_x1e80100.h | 428 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 431 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 434 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_8_4_sa8775p.h | 433 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 436 {.nentry = ARRAY_SIZE(sm6350_qos_linear_macrotile), 439 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_10_0_sm8650.h | 427 {.nentry = ARRAY_SIZE(sc7180_qos_linear), 430 {.nentry = ARRAY_SIZE(sc7180_qos_macrotile), 433 {.nentry = ARRAY_SIZE(sc7180_qos_nrt),
|
H A D | dpu_6_5_qcm2290.h | 112 {.nentry = ARRAY_SIZE(qcm2290_qos_linear),
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_util.c | 446 if (!tbl || !tbl->nentry || !tbl->entries) in _dpu_hw_get_qos_lut() 449 for (i = 0; i < tbl->nentry; i++) in _dpu_hw_get_qos_lut()
|