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/infiniband/hw/hfi1/
Dmad.c4261 u32 num_attr = be32_to_cpu(smp->attr_mod) & 0x000000ff; in subn_get_opa_aggregate() local
4264 if (num_attr < 1 || num_attr > 117) { in subn_get_opa_aggregate()
4269 for (i = 0; i < num_attr; i++) { in subn_get_opa_aggregate()
4310 u32 num_attr = be32_to_cpu(smp->attr_mod) & 0x000000ff; in subn_set_opa_aggregate() local
4313 if (num_attr < 1 || num_attr > 117) { in subn_set_opa_aggregate()
4318 for (i = 0; i < num_attr; i++) { in subn_set_opa_aggregate()
/drivers/counter/
Dcounter.c276 parm->group->num_attr++; in counter_attribute_create()
1275 group->attr_group.attrs = kcalloc(group->num_attr + 1, in counter_device_groups_prepare()