Searched refs:cos (Results 1 – 3 of 3) sorted by relevance
91 cos:3; member97 __u8 cos:3,148 u8 dscp, cos; in tos_to_cos() local151 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()
978 unsigned cos = 0; in mptfc_init_host_attr() local1013 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()
78 #define cos(idx) sin[((idx) + 64) % sizeof(sin)] macro892 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()