Home
last modified time | relevance | path

Searched refs:num_attr (Results 1 – 3 of 3) sorted by relevance

/drivers/video/
Dvgastate.c243 for (i = 0; i < state->num_attr; i++) { in save_vga_mode()
293 for (i = 0; i < state->num_attr; i++) { in restore_vga_mode()
373 if (state->num_attr < 21) in save_vga()
374 state->num_attr = 21; in save_vga()
381 total = state->num_attr + state->num_crtc + in save_vga()
389 saved->crtc = saved->attr + state->num_attr; in save_vga()
/drivers/counter/
Dcounter-sysfs.c48 size_t num_attr; member
419 group->num_attr++; in counter_avail_attr_create()
489 group->num_attr++; in counter_attr_create()
530 group->num_attr++; in counter_name_attr_create()
833 cattr_groups[i].num_attr + 1, in counter_sysfs_add()
/drivers/infiniband/hw/hfi1/
Dmad.c4219 u32 num_attr = be32_to_cpu(smp->attr_mod) & 0x000000ff; in subn_get_opa_aggregate() local
4222 if (num_attr < 1 || num_attr > 117) { in subn_get_opa_aggregate()
4227 for (i = 0; i < num_attr; i++) { in subn_get_opa_aggregate()
4268 u32 num_attr = be32_to_cpu(smp->attr_mod) & 0x000000ff; in subn_set_opa_aggregate() local
4271 if (num_attr < 1 || num_attr > 117) { in subn_set_opa_aggregate()
4276 for (i = 0; i < num_attr; i++) { in subn_set_opa_aggregate()