Home
last modified time | relevance | path

Searched refs:chattr (Results 1 – 2 of 2) sorted by relevance

/drivers/dma/qcom/
Dhidma_mgmt_sys.c153 struct hidma_chan_attr *chattr; in show_values_channel() local
157 chattr = container_of(attr, struct hidma_chan_attr, attr); in show_values_channel()
158 mdev = chattr->mdev; in show_values_channel()
160 sprintf(buf, "%d\n", mdev->priority[chattr->index]); in show_values_channel()
162 sprintf(buf, "%d\n", mdev->weight[chattr->index]); in show_values_channel()
171 struct hidma_chan_attr *chattr; in set_values_channel() local
176 chattr = container_of(attr, struct hidma_chan_attr, attr); in set_values_channel()
177 mdev = chattr->mdev; in set_values_channel()
184 rc = set_priority(mdev, chattr->index, tmp); in set_values_channel()
188 rc = set_weight(mdev, chattr->index, tmp); in set_values_channel()
[all …]
/drivers/video/console/
Dnewport_con.c582 unsigned short chattr; in newport_scroll() local
610 chattr = scr_readw(s++); in newport_scroll()
611 if (chattr != scr_readw(d)) { in newport_scroll()
612 newport_putc(vc, chattr, y, x); in newport_scroll()
613 scr_writew(chattr, d); in newport_scroll()
645 chattr = scr_readw(s--); in newport_scroll()
646 if (chattr != scr_readw(d)) { in newport_scroll()
647 newport_putc(vc, chattr, y, x); in newport_scroll()
648 scr_writew(chattr, d); in newport_scroll()