Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/
H A 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()
/openbmc/linux/drivers/counter/
H A Dcounter-sysfs.c56 size_t num_attr; member
562 group->num_attr++; in counter_avail_attr_create()
660 group->num_attr++; in counter_attr_create()
701 group->num_attr++; in counter_name_attr_create()
741 group->num_attr++; in counter_comp_id_attr_create()
1160 cattr_groups[i].num_attr + 1, in counter_sysfs_add()
/openbmc/linux/include/video/
H A Dvga.h190 __u32 num_attr; /* number of att registers, 0 for default */ member
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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()