Home
last modified time | relevance | path

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

/linux-4.19.296/include/net/
Derspan.h91 cos:3; member
97 __u8 cos:3,
148 u8 dscp, cos; in tos_to_cos() local
151 cos = dscp >> 3; in tos_to_cos()
152 return cos; in tos_to_cos()
191 ershdr->cos = tos_to_cos(tos); in erspan_build_header()
285 ershdr->cos = tos_to_cos(tos); in erspan_build_header_v2()
/linux-4.19.296/drivers/message/fusion/
Dmptfc.c978 unsigned cos = 0; in mptfc_init_host_attr() local
1013 cos |= FC_COS_CLASS1; in mptfc_init_host_attr()
1015 cos |= FC_COS_CLASS2; in mptfc_init_host_attr()
1017 cos |= FC_COS_CLASS3; in mptfc_init_host_attr()
1018 fc_host_supported_classes(sh) = cos; in mptfc_init_host_attr()
/linux-4.19.296/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c78 #define cos(idx) sin[((idx) + 64) % sizeof(sin)] macro
892 tmp_cb = (cb * cos(128 + tpg->hue)) / 127 + (cr * sin[128 + tpg->hue]) / 127; in precalculate_color()
893 tmp_cr = (cr * cos(128 + tpg->hue)) / 127 - (cb * sin[128 + tpg->hue]) / 127; in precalculate_color()