Home
last modified time | relevance | path

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

/linux-5.19.10/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()
/linux-5.19.10/drivers/counter/
Dcounter-sysfs.c56 size_t num_attr; member
427 group->num_attr++; in counter_avail_attr_create()
497 group->num_attr++; in counter_attr_create()
538 group->num_attr++; in counter_name_attr_create()
578 group->num_attr++; in counter_comp_id_attr_create()
948 cattr_groups[i].num_attr + 1, in counter_sysfs_add()
/linux-5.19.10/include/video/
Dvga.h188 __u32 num_attr; /* number of att registers, 0 for default */ member
/linux-5.19.10/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()