| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | omapimage.c | 65 static void omapimage_print_section(struct ch_settings *chs) in omapimage_print_section() argument 69 if (chs->section_key) in omapimage_print_section() 80 chs->section_key, in omapimage_print_section() 81 chs->valid, in omapimage_print_section() 82 chs->version, in omapimage_print_section() 83 chs->reserved, in omapimage_print_section() 84 chs->flags); in omapimage_print_section() 129 struct ch_settings *chs = (struct ch_settings *) in omapimage_set_header() local 133 toc->section_offset = toc_offset(ptr, chs); in omapimage_set_header() 137 chs->section_key = KEY_CHSETTINGS; in omapimage_set_header() [all …]
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | glyphcurs.c | 139 CARD8 chs[2]; in CursorMetricsFromGlyph() local 142 chs[0] = ch >> 8; in CursorMetricsFromGlyph() 143 chs[1] = ch; in CursorMetricsFromGlyph() 150 if (chs[0] < pfont->info.firstRow || pfont->info.lastRow < chs[0]) in CursorMetricsFromGlyph() 152 if (chs[1] < pfont->info.firstCol || pfont->info.lastCol < chs[1]) in CursorMetricsFromGlyph() 155 (*pfont->get_glyphs) (pfont, 1, chs, encoding, &nglyphs, &pci); in CursorMetricsFromGlyph()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_rf.c | 190 u8 *chs; member 259 u8 *chs; member 290 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 309 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 344 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 352 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1052 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1053 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1054 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1055 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_rf.c | 190 u8 *chs; member 259 u8 *chs; member 290 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 309 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 344 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 352 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1052 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1053 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1054 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1055 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| H A D | setup.c | 160 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_channels() argument 167 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_channels() 168 struct mlx5e_channel *c = chs->c[i]; in mlx5e_xsk_redirect_rqts_to_channels() 182 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_channels() 191 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_drop() argument 198 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_drop() 199 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_drop()
|
| H A D | setup.h | 22 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs); 23 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
|
| /OK3568_Linux_fs/kernel/sound/hda/ |
| H A D | hdmi_chmap.c | 205 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument 207 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count() 209 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count() 481 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument 485 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation() 495 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation() 507 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument 514 for (alsa_pos = 0; alsa_pos < chs; alsa_pos++) { in hdmi_manual_setup_channel_mapping() 671 int chs, count = 0; in hdmi_chmap_ctl_tlv() local 688 for (chs = 2; chs <= max_chs; chs++) { in hdmi_chmap_ctl_tlv() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_rf.c | 191 u8 *chs; member 280 u8 *chs; member 311 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 330 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 365 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 373 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1057 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1058 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1059 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1060 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_rf.c | 191 u8 *chs; member 280 u8 *chs; member 311 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 330 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 365 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 373 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1057 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1058 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1059 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1060 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_rf.c | 192 u8 *chs; member 281 u8 *chs; member 312 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 331 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 366 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 374 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1058 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1059 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1060 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1061 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| H A D | rtw_mbo.c | 318 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 424 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 436 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 475 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 480 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 614 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 616 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 759 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/kernel/sound/pci/hda/ |
| H A D | hda_beep.c | 304 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_get_beep() local 307 if (chs & 1) in snd_hda_mixer_amp_switch_get_beep() 309 if (chs & 2) in snd_hda_mixer_amp_switch_get_beep() 328 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local 331 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep() 335 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | xfont.c | 110 CARD8 chs[2]; /* the font index we are going after */ in MakeBitmapsFromFont() local 122 chs[0] = (first + i) >> 8; /* high byte is first byte */ in MakeBitmapsFromFont() 123 chs[1] = first + i; in MakeBitmapsFromFont() 125 (*pFont->get_glyphs) (pFont, 1, chs, (FontEncoding) encoding, in MakeBitmapsFromFont()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_rf.c | 191 u8 *chs; member 280 u8 *chs; member 311 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 330 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 365 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 373 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1161 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1162 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1163 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1164 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_rf.c | 191 u8 *chs; member 280 u8 *chs; member 311 return center_chs_2g_by_bw[bw].chs[id]; in center_chs_2g() 330 return center_chs_5g_by_bw[bw].chs[id]; in center_chs_5g() 365 if (cch == *(c_chs_ent->chs + i)) in rtw_get_op_chs_by_cch_bw() 373 *op_chs = op_chs_ent->chs + op_chs_ent->ch_num * i; in rtw_get_op_chs_by_cch_bw() 1125 opc_pref->chs[j].ch = OPC_CH_LIST_CH(global_op_class[i], j); in opc_pref_alloc() 1126 opc_pref->chs[j].static_non_op = 1; in opc_pref_alloc() 1127 opc_pref->chs[j].no_ir = 1; in opc_pref_alloc() 1128 opc_pref->chs[j].max_txpwr = UNSPECIFIED_MBM; in opc_pref_alloc() [all …]
|
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-stm.c | 85 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \ 136 struct channel_space chs; member 366 addr = drvdata->chs.phys + channel * BYTES_PER_CHANNEL; in stm_mmio_addr() 391 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 395 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 428 stm_flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet() 831 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data() 893 drvdata->chs.phys = ch_res.start; in stm_probe() 898 drvdata->chs.base = base; in stm_probe() 912 drvdata->chs.guaranteed = guaranteed; in stm_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 2368 struct mlx5e_channels *chs) in mlx5e_open_channels() argument 2374 chs->num = chs->params.num_channels; in mlx5e_open_channels() 2376 chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); in mlx5e_open_channels() 2378 if (!chs->c || !cparam) in mlx5e_open_channels() 2381 mlx5e_build_channel_param(priv, &chs->params, cparam); in mlx5e_open_channels() 2382 for (i = 0; i < chs->num; i++) { in mlx5e_open_channels() 2385 if (chs->params.xdp_prog) in mlx5e_open_channels() 2386 xsk_pool = mlx5e_xsk_get_pool(&chs->params, chs->params.xsk, i); in mlx5e_open_channels() 2388 err = mlx5e_open_channel(priv, i, &chs->params, cparam, xsk_pool, &chs->c[i]); in mlx5e_open_channels() 2399 mlx5e_close_channel(chs->c[i]); in mlx5e_open_channels() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_mbo.c | 318 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 424 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 436 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 475 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 480 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 614 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 616 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 759 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_mbo.c | 317 rtw_mbo_subfields_set(p, 3, pch->chs, pch->nm_of_ch); in rtw_mbo_construct_npref_ch_rpt_attr() 423 rtw_sprintf(buf, 128, "%s,%d", buf, pch->chs[i]); in rtw_mbo_non_pref_chans_dump() 435 if (pch->chs[i] == ch) { in rtw_mbo_non_pref_chan_exist() 474 pch->chs[offset] = ch; in rtw_mbo_non_pref_chan_set() 479 pch->chs[0] = ch; in rtw_mbo_non_pref_chan_set() 613 rtw_sprintf(buf, 32, "%02u", pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 615 rtw_sprintf(buf, 32, "%s,%02u", buf, pch->chs[j]); in rtw_mbo_proc_non_pref_chans_get() 758 *pframe = rtw_mbo_set_nbyte_ie(*pframe, pch->nm_of_ch, pch->chs, &(pattrib->pktlen)); in rtw_mbo_build_wnm_notification()
|
| /OK3568_Linux_fs/kernel/sound/pci/ctxfi/ |
| H A D | ctpcm.c | 419 int chs; in ct_alsa_pcm_create() local 447 chs = 2; in ct_alsa_pcm_create() 450 chs = 8; in ct_alsa_pcm_create() 466 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
|