Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 63) sorted by relevance

123

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c74 UINT8 *pp; in btsnd_hcic_ble_set_local_used_feat() local
80 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_local_used_feat()
85 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT); in btsnd_hcic_ble_set_local_used_feat()
86 ARRAY_TO_STREAM (pp, feat_set, HCIC_PARAM_SIZE_SET_USED_FEAT_CMD); in btsnd_hcic_ble_set_local_used_feat()
95 UINT8 *pp; in btsnd_hcic_ble_set_random_addr() local
101 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_random_addr()
106 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_RANDOM_ADDR); in btsnd_hcic_ble_set_random_addr()
107 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD); in btsnd_hcic_ble_set_random_addr()
109 BDADDR_TO_STREAM (pp, random_bda); in btsnd_hcic_ble_set_random_addr()
121 UINT8 *pp; in btsnd_hcic_ble_write_adv_params() local
[all …]
Dhcicmds.c43 UINT8 *pp; in btsnd_hcic_inquiry() local
49 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry()
54 UINT16_TO_STREAM (pp, HCI_INQUIRY); in btsnd_hcic_inquiry()
55 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry()
57 LAP_TO_STREAM (pp, inq_lap); in btsnd_hcic_inquiry()
58 UINT8_TO_STREAM (pp, duration); in btsnd_hcic_inquiry()
59 UINT8_TO_STREAM (pp, response_cnt); in btsnd_hcic_inquiry()
68 UINT8 *pp; in btsnd_hcic_inq_cancel() local
74 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel()
78 UINT16_TO_STREAM (pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/
Dof_service.c41 struct property *pp; in get_property_by_name() local
43 pp = of_find_property(node, property_name, property_length); in get_property_by_name()
44 if (pp == NULL) { in get_property_by_name()
49 return pp; in get_property_by_name()
57 struct property *pp; in get_property_by_index() local
61 pp = get_property_by_name(node, config_start, &length); in get_property_by_index()
63 for (i = 0; pp; pp = pp->next, i++) { in get_property_by_index()
65 return pp; in get_property_by_index()
69 return pp; in get_property_by_index()
75 struct property **pp; in insert_property() local
[all …]
/device/soc/esp/esp32/components/newlib/platform_include/
Dendian.h108 be16dec(const void *pp) in be16dec() argument
110 uint8_t const *p = (uint8_t const *)pp; in be16dec()
116 be32dec(const void *pp) in be32dec() argument
118 uint8_t const *p = (uint8_t const *)pp; in be32dec()
124 be64dec(const void *pp) in be64dec() argument
126 uint8_t const *p = (uint8_t const *)pp; in be64dec()
132 le16dec(const void *pp) in le16dec() argument
134 uint8_t const *p = (uint8_t const *)pp; in le16dec()
140 le32dec(const void *pp) in le32dec() argument
142 uint8_t const *p = (uint8_t const *)pp; in le32dec()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Dlcd_debug.c70 struct property *pp; in create_prop() local
73 pp = kcalloc(1, sizeof(struct property), GFP_KERNEL | __GFP_ZERO); in create_prop()
74 pp->name = kmalloc(NAME_LENGTH, GFP_KERNEL | __GFP_ZERO); in create_prop()
75 pp->value = kmalloc(VALUE_LENGTH, GFP_KERNEL | __GFP_ZERO); in create_prop()
77 strcpy(pp->name, lcd_debug_para->prop_src.name); in create_prop()
78 memcpy(pp->value, lcd_debug_para->prop_src.value, lcd_debug_para->prop_src.length); in create_prop()
79 pp->length = lcd_debug_para->prop_src.length; in create_prop()
94 ret = insert_property(node, &pp, reference_name, lcd_debug_para->prop_src.index); in create_prop()
100 kfree(pp->name); in create_prop()
101 kfree(pp->value); in create_prop()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dhnd_pktpool.h162 #define POOLPTR(pp) ((pktpool_t *)(pp)) argument
163 #define POOLID(pp) (POOLPTR(pp)->id) argument
165 #define POOLSETID(pp, ppid) (POOLPTR(pp)->id = (ppid)) argument
167 #define pktpool_len(pp) (POOLPTR(pp)->len) /**< returns packet length in [bytes] */ argument
168 #define pktpool_avail(pp) (POOLPTR(pp)->avail) argument
169 #define pktpool_plen(pp) (POOLPTR(pp)->plen) argument
170 #define pktpool_maxlen(pp) (POOLPTR(pp)->maxlen) argument
192 #define PKTPOOL_PTR2ID(pp) (POOLID(pp)) argument
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dhnd_pktpool.h170 #define POOLPTR(pp) ((pktpool_t *)(pp)) argument
171 #define POOLID(pp) (POOLPTR(pp)->id) argument
173 #define POOLSETID(pp, ppid) (POOLPTR(pp)->id = (ppid)) argument
175 #define pktpool_tot_pkts(pp) (POOLPTR(pp)->n_pkts) /**< n_pkts = avail + in_use <= max_pkts */ argument
176 #define pktpool_avail(pp) (POOLPTR(pp)->avail) argument
177 #define pktpool_max_pkt_bytes(pp) (POOLPTR(pp)->max_pkt_bytes) argument
178 #define pktpool_max_pkts(pp) (POOLPTR(pp)->maxlen) argument
199 #define PKTPOOL_PTR2ID(pp) (POOLID(pp)) argument
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dhnd_pktpool.h179 #define POOLPTR(pp) ((pktpool_t *)(pp)) argument
180 #define POOLID(pp) (POOLPTR(pp)->id) argument
182 #define POOLSETID(pp, ppid) (POOLPTR(pp)->id = (ppid)) argument
184 #define pktpool_tot_pkts(pp) \ argument
185 (POOLPTR(pp)->n_pkts) /**< n_pkts = avail + in_use <= max_pkts */
186 #define pktpool_avail(pp) (POOLPTR(pp)->avail) argument
187 #define pktpool_max_pkt_bytes(pp) (POOLPTR(pp)->max_pkt_bytes) argument
188 #define pktpool_max_pkts(pp) (POOLPTR(pp)->maxlen) argument
209 #define PKTPOOL_PTR2ID(pp) (POOLID(pp)) argument
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_multi_adv.c199 UINT8 param[BTM_BLE_MULTI_ADV_ENB_LEN], *pp; in btm_ble_enable_multi_adv() local
203 pp = param; in btm_ble_enable_multi_adv()
206 UINT8_TO_STREAM (pp, BTM_BLE_MULTI_ADV_ENB); in btm_ble_enable_multi_adv()
207 UINT8_TO_STREAM (pp, enb); in btm_ble_enable_multi_adv()
208 UINT8_TO_STREAM (pp, inst_id); in btm_ble_enable_multi_adv()
255 UINT8 param[BTM_BLE_MULTI_ADV_SET_PARAM_LEN], *pp; in btm_ble_multi_adv_set_params() local
259 pp = param; in btm_ble_multi_adv_set_params()
262 UINT8_TO_STREAM(pp, BTM_BLE_MULTI_ADV_SET_PARAM); in btm_ble_multi_adv_set_params()
264 UINT16_TO_STREAM (pp, p_params->adv_int_min); in btm_ble_multi_adv_set_params()
265 UINT16_TO_STREAM (pp, p_params->adv_int_max); in btm_ble_multi_adv_set_params()
[all …]
Dbtm_ble_batchscan.c313 UINT8 param[BTM_BLE_BATCH_SCAN_READ_RESULTS_LEN], *pp; in btm_ble_read_batchscan_reports() local
314 pp = param; in btm_ble_read_batchscan_reports()
318 UINT8_TO_STREAM (pp, BTM_BLE_BATCH_SCAN_READ_RESULTS); in btm_ble_read_batchscan_reports()
319 UINT8_TO_STREAM (pp, scan_mode); in btm_ble_read_batchscan_reports()
484 UINT8 param[BTM_BLE_BATCH_SCAN_STORAGE_CFG_LEN], *pp; in btm_ble_set_storage_config() local
486 pp = param; in btm_ble_set_storage_config()
489 UINT8_TO_STREAM (pp, BTM_BLE_BATCH_SCAN_SET_STORAGE_PARAM); in btm_ble_set_storage_config()
490 UINT8_TO_STREAM (pp, batch_scan_full_max); in btm_ble_set_storage_config()
491 UINT8_TO_STREAM (pp, batch_scan_trunc_max); in btm_ble_set_storage_config()
492 UINT8_TO_STREAM (pp, batch_scan_notify_threshold); in btm_ble_set_storage_config()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dhnd_pktpool.h180 #define POOLPTR(pp) ((pktpool_t *)(pp)) argument
181 #define POOLID(pp) (POOLPTR(pp)->id) argument
183 #define POOLSETID(pp, ppid) (POOLPTR(pp)->id = (ppid)) argument
185 #define pktpool_tot_pkts(pp) (POOLPTR(pp)->n_pkts) /**< n_pkts = avail + in_use <= max_pkts */ argument
186 #define pktpool_max_pkt_bytes(pp) (POOLPTR(pp)->max_pkt_bytes) argument
187 #define pktpool_max_pkts(pp) (POOLPTR(pp)->maxlen) argument
208 #define PKTPOOL_PTR2ID(pp) (POOLID(pp)) argument
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/ctp/gslx680new/
Dgsl_point_id.c160 #define pp point_pointer macro
163 #define point_predict pp[0]
736 pp[i] = point_array[pn]; in PointPointer()
771 pp[0][i].all = 0; in PointPointer()
894 pp[0][n].all = pp[1][n].all & FLAG_COOR; in PointPredictOne()
895 pp[0][n].predict = 0; in PointPredictOne()
902 x = pp[1][n].x * 2 - pp[2][n].x; in PointPredictTwo()
903 y = pp[1][n].y * 2 - pp[2][n].y; in PointPredictTwo()
904 pp[0][n].all = PointRange(x, y, pp[1][n].x, pp[1][n].y); in PointPredictTwo()
905 pp[0][n].predict = 1; in PointPredictTwo()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/pci/controller/dwc/
Dpcie-designware.h175 int (*host_init)(struct pcie_port *pp);
176 void (*set_num_vectors)(struct pcie_port *pp);
177 int (*msi_host_init)(struct pcie_port *pp);
265 struct pcie_port pp; member
274 #define to_dw_pcie_from_pp(port) container_of((port), struct dw_pcie, pp)
356 irqreturn_t dw_handle_msi_irq(struct pcie_port *pp);
357 void dw_pcie_msi_init(struct pcie_port *pp);
358 void dw_pcie_free_msi(struct pcie_port *pp);
359 void dw_pcie_setup_rc(struct pcie_port *pp);
360 int dw_pcie_host_init(struct pcie_port *pp);
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/dis/
Ddis_profile.c127 UINT8 *p = p_value->value, i, *pp; in dis_s_read_attr_value() local
150 pp = dis_cb.dis_value.data_string[p_db_attr->uuid - GATT_UUID_MODEL_NUMBER_STR]; in dis_s_read_attr_value()
151 if (pp != NULL) { in dis_s_read_attr_value()
152 if (strlen ((char *)pp) > GATT_MAX_ATTR_LEN) { in dis_s_read_attr_value()
155 p_value->len = (UINT16)strlen ((char *)pp); in dis_s_read_attr_value()
166 pp += offset; in dis_s_read_attr_value()
167 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_s_read_attr_value()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_cmac.c212 UINT8 *pp = p->param_buf; in cmac_subkey_cont() local
214 print128(pp, (const UINT8 *)"K1 before shift"); in cmac_subkey_cont()
217 if ( (pp[BT_OCTET16_LEN - 1] & 0x80) != 0 ) { in cmac_subkey_cont()
219 leftshift_onebit(pp, k1); in cmac_subkey_cont()
222 leftshift_onebit(pp, k1); in cmac_subkey_cont()
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/
Dcpufreq-dt.c79 struct property *pp; in find_supply_name() local
91 pp = of_find_property(np, "cpu0-supply", NULL); in find_supply_name()
92 if (pp) { in find_supply_name()
98 pp = of_find_property(np, "cpu-supply", NULL); in find_supply_name()
99 if (pp) { in find_supply_name()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c613 UINT8 *pp; in gap_ble_c_cmpl_cback() local
632 pp = p_data->att_value.value; in gap_ble_c_cmpl_cback()
639 STREAM_TO_UINT16 (min, pp); in gap_ble_c_cmpl_cback()
640 STREAM_TO_UINT16 (max, pp); in gap_ble_c_cmpl_cback()
641 STREAM_TO_UINT16 (latency, pp); in gap_ble_c_cmpl_cback()
642 STREAM_TO_UINT16 (tout, pp); in gap_ble_c_cmpl_cback()
651 len = (UINT16)strlen((char *)pp); in gap_ble_c_cmpl_cback()
655 gap_ble_cl_op_cmpl(p_clcb, 1, len, pp); in gap_ble_c_cmpl_cback()
659 gap_ble_cl_op_cmpl(p_clcb, 1, 1, pp); in gap_ble_c_cmpl_cback()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/cpufreq/
Dcpufreq-dt.c72 struct property *pp; in find_supply_name() local
84 pp = of_find_property(np, "cpu0-supply", NULL); in find_supply_name()
85 if (pp) { in find_supply_name()
91 pp = of_find_property(np, "cpu-supply", NULL); in find_supply_name()
92 if (pp) { in find_supply_name()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c516 UINT8 *pp; in Battery_Rsp() local
537 pp = rsp.attr_value.value; in Battery_Rsp()
538 UINT16_TO_STREAM(pp, p_rsp->clt_cfg); in Battery_Rsp()
546 pp = rsp.attr_value.value; in Battery_Rsp()
547 UINT8_TO_STREAM(pp, p_rsp->ba_level); in Battery_Rsp()
560 pp = rsp.attr_value.value; in Battery_Rsp()
561 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_id); in Battery_Rsp()
562 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_type); in Battery_Rsp()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c697 UINT8 *pp; in bta_hh_le_save_rpt_ref() local
703 pp = p_data->p_value->unformat.p_value; in bta_hh_le_save_rpt_ref()
705 STREAM_TO_UINT8(p_rpt->rpt_id, pp); in bta_hh_le_save_rpt_ref()
706 STREAM_TO_UINT8(p_rpt->rpt_type, pp); in bta_hh_le_save_rpt_ref()
755 UINT8 *pp; in bta_hh_le_save_ext_rpt_ref() local
761 pp = p_data->p_value->unformat.p_value; in bta_hh_le_save_ext_rpt_ref()
762 STREAM_TO_UINT16(p_dev_cb->hid_srvc[p_dev_cb->cur_srvc_index].ext_rpt_ref, pp); in bta_hh_le_save_ext_rpt_ref()
892 UINT8 buf[2], *pp = buf; in bta_hh_le_write_char_clt_cfg() local
903 UINT16_TO_STREAM(pp, clt_cfg_value); in bta_hh_le_write_char_clt_cfg()
1755 UINT8 *pp ; in bta_hh_le_save_rpt_map() local
[all …]
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Drtk_parse.c2594 void rtk_parse_command(uint8_t *pp) in rtk_parse_command() argument
2596 uint8_t *p = pp; in rtk_parse_command()
2635 void rtk_parse_l2cap_data(uint8_t *pp, uint8_t direction) in rtk_parse_l2cap_data() argument
2639 STREAM_TO_UINT16(handle, pp); in rtk_parse_l2cap_data()
2642 STREAM_TO_UINT16(total_len, pp); in rtk_parse_l2cap_data()
2643 STREAM_TO_UINT16(pdu_len, pp); in rtk_parse_l2cap_data()
2644 STREAM_TO_UINT16(channel_ID, pp); in rtk_parse_l2cap_data()
2651 code = (uint8_t)(*pp++); in rtk_parse_l2cap_data()
2654 identifier = (uint8_t)(*pp++); in rtk_parse_l2cap_data()
2655 STREAM_TO_UINT16(command_len, pp); in rtk_parse_l2cap_data()
[all …]
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Drtk_parse.c2821 void rtk_parse_command(uint8_t *pp) in rtk_parse_command() argument
2823 uint8_t *p = pp; in rtk_parse_command()
2869 void rtk_parse_l2cap_data(uint8_t *pp, uint8_t direction) in rtk_parse_l2cap_data() argument
2873 STREAM_TO_UINT16(handle, pp); in rtk_parse_l2cap_data()
2876 STREAM_TO_UINT16(total_len, pp); in rtk_parse_l2cap_data()
2877 STREAM_TO_UINT16(pdu_len, pp); in rtk_parse_l2cap_data()
2878 STREAM_TO_UINT16(channel_ID, pp); in rtk_parse_l2cap_data()
2885 code = (uint8_t)(*pp++); in rtk_parse_l2cap_data()
2889 identifier = (uint8_t)(*pp++); in rtk_parse_l2cap_data()
2890 STREAM_TO_UINT16(command_len, pp); in rtk_parse_l2cap_data()
[all …]
/device/soc/beken/bk7235/liteos_m/third_party_adapter/musl/
Dqsort.c161 static void trinkle(unsigned char *head, size_t width, cmpfun cmp, size_t pp[2], int pshift, int tr… in trinkle()
170 p[0] = pp[0]; in trinkle()
171 p[1] = pp[1]; in trinkle()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dhnd_pktpool.c55 #define PKTPOOL_REGISTRY_SET(id, pp) (pktpool_registry_set((id), (pp))) argument
56 #define PKTPOOL_REGISTRY_CMP(id, pp) (pktpool_registry_cmp((id), (pp))) argument
100 BCMRAMFN(pktpool_registry_set)(int id, pktpool_t *pp) in BCMRAMFN()
102 pktpools_registry[id] = pp; in BCMRAMFN()
106 BCMRAMFN(pktpool_registry_cmp)(int id, pktpool_t *pp) in BCMRAMFN()
108 return pktpools_registry[id] == pp; in BCMRAMFN()
/device/soc/esp/esp32/components/libs/
Desp32.project.ld219 *pp.a:(.wifi0iram .wifi0iram.*)
220 *pp.a:(.wifiorslpiram .wifiorslpiram.*)
221 *pp.a:(.wifirxiram .wifirxiram.*)
222 *pp.a:(.wifislprxiram .wifislprxiram.*)
464 *(EXCLUDE_FILE(*net80211.a *pp.a) .wifi0iram EXCLUDE_FILE(*net80211.a *pp.a) .wifi0iram.*)
465 *(EXCLUDE_FILE(*pp.a) .wifiorslpiram EXCLUDE_FILE(*pp.a) .wifiorslpiram.*)
466 *(EXCLUDE_FILE(*net80211.a *pp.a) .wifirxiram EXCLUDE_FILE(*net80211.a *pp.a) .wifirxiram.*)
468 … *(EXCLUDE_FILE(*net80211.a *pp.a) .wifislprxiram EXCLUDE_FILE(*net80211.a *pp.a) .wifislprxiram.*)

123