/linux/drivers/firmware/arm_scmi/ |
H A D | reset.c | 74 static int scmi_reset_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_attributes_get() argument 81 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_reset_attributes_get() 86 ret = ph->xops->do_xfer(ph, t); in scmi_reset_attributes_get() 92 ph->xops->xfer_put(ph, t); in scmi_reset_attributes_get() 95 if (!ph->hops->protocol_msg_check(ph, RESET_NOTIFY, NULL)) in scmi_reset_attributes_get() 102 scmi_reset_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_reset_domain_attributes_get() argument 112 ret = ph->xops->xfer_get_init(ph, RESET_DOMAIN_ATTRIBUTES, in scmi_reset_domain_attributes_get() 120 ret = ph->xops->do_xfer(ph, t); in scmi_reset_domain_attributes_get() 134 ph->xops->xfer_put(ph, t); in scmi_reset_domain_attributes_get() 142 ph->hops->extended_name_get(ph, RESET_DOMAIN_NAME_GET, domain, in scmi_reset_domain_attributes_get() [all …]
|
H A D | base.c | 66 static int scmi_base_attributes_get(const struct scmi_protocol_handle *ph) in scmi_base_attributes_get() argument 71 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_attributes_get() 73 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get() 78 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get() 85 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get() 99 scmi_base_vendor_id_get(const struct scmi_protocol_handle *ph, bool sub_vendor) in scmi_base_vendor_id_get() argument 105 struct scmi_revision_info *rev = ph->get_priv(ph); in scmi_base_vendor_id_get() 117 ret = ph->xops->xfer_get_init(ph, cmd, 0, size, &t); in scmi_base_vendor_id_get() 121 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get() 125 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get() [all …]
|
H A D | voltage.c | 74 static int scmi_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_protocol_attributes_get() argument 80 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_protocol_attributes_get() 85 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get() 90 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get() 165 iter_volt_levels_process_response(const struct scmi_protocol_handle *ph, in iter_volt_levels_process_response() argument 181 static int scmi_voltage_levels_get(const struct scmi_protocol_handle *ph, in scmi_voltage_levels_get() argument 192 .dev = ph->dev, in scmi_voltage_levels_get() 196 iter = ph->hops->iter_response_init(ph, &ops, v->num_levels, in scmi_voltage_levels_get() 203 ret = ph->hops->iter_response_run(iter); in scmi_voltage_levels_get() 206 devm_kfree(ph->dev, v->levels_uv); in scmi_voltage_levels_get() [all …]
|
H A D | powercap.c | 138 static int scmi_powercap_notify(const struct scmi_protocol_handle *ph, 142 scmi_powercap_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_attributes_get() argument 148 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_powercap_attributes_get() 153 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get() 161 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get() 164 if (!ph->hops->protocol_msg_check(ph, in scmi_powercap_attributes_get() 168 if (!ph->hops->protocol_msg_check(ph, in scmi_powercap_attributes_get() 195 scmi_powercap_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_powercap_domain_attributes_get() argument 204 ret = ph->xops->xfer_get_init(ph, POWERCAP_DOMAIN_ATTRIBUTES, in scmi_powercap_domain_attributes_get() 212 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get() [all …]
|
H A D | power.c | 78 static int scmi_power_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_attributes_get() argument 85 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_power_attributes_get() 92 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get() 100 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get() 103 if (!ph->hops->protocol_msg_check(ph, POWER_STATE_NOTIFY, NULL)) in scmi_power_attributes_get() 110 scmi_power_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_power_domain_attributes_get() argument 119 ret = ph->xops->xfer_get_init(ph, POWER_DOMAIN_ATTRIBUTES, in scmi_power_domain_attributes_get() 127 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get() 138 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get() 146 ph->hops->extended_name_get(ph, POWER_DOMAIN_NAME_GET, in scmi_power_domain_attributes_get() [all …]
|
H A D | clock.c | 166 int (*clock_config_set)(const struct scmi_protocol_handle *ph, 170 int (*clock_config_get)(const struct scmi_protocol_handle *ph, 191 scmi_clock_protocol_attributes_get(const struct scmi_protocol_handle *ph, in scmi_clock_protocol_attributes_get() argument 198 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_clock_protocol_attributes_get() 205 ret = ph->xops->do_xfer(ph, t); in scmi_clock_protocol_attributes_get() 211 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get() 214 if (!ph->hops->protocol_msg_check(ph, CLOCK_RATE_NOTIFY, NULL)) in scmi_clock_protocol_attributes_get() 217 if (!ph->hops->protocol_msg_check(ph, in scmi_clock_protocol_attributes_get() 274 static int iter_clk_possible_parents_process_response(const struct scmi_protocol_handle *ph, in iter_clk_possible_parents_process_response() argument 289 static int scmi_clock_possible_parents(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_possible_parents() argument [all …]
|
H A D | pinctrl.c | 129 static int scmi_pinctrl_attributes_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes_get() argument 136 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, sizeof(*attr), &t); in scmi_pinctrl_attributes_get() 142 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_attributes_get() 148 dev_warn(ph->dev, "returned zero pins\n"); in scmi_pinctrl_attributes_get() 153 ph->xops->xfer_put(ph, t); in scmi_pinctrl_attributes_get() 157 static int scmi_pinctrl_count_get(const struct scmi_protocol_handle *ph, in scmi_pinctrl_count_get() argument 160 struct scmi_pinctrl_info *pi = ph->get_priv(ph); in scmi_pinctrl_count_get() 174 static int scmi_pinctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_pinctrl_validate_id() argument 180 value = scmi_pinctrl_count_get(ph, type); in scmi_pinctrl_validate_id() 190 static int scmi_pinctrl_attributes(const struct scmi_protocol_handle *ph, in scmi_pinctrl_attributes() argument [all …]
|
H A D | perf.c | 196 static int scmi_perf_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_attributes_get() argument 203 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get() 210 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get() 227 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get() 230 if (!ph->hops->protocol_msg_check(ph, PERF_NOTIFY_LEVEL, NULL)) in scmi_perf_attributes_get() 233 if (!ph->hops->protocol_msg_check(ph, PERF_NOTIFY_LIMITS, NULL)) in scmi_perf_attributes_get() 252 scmi_perf_domain_attributes_get(const struct scmi_protocol_handle *ph, in scmi_perf_domain_attributes_get() argument 262 ret = ph->xops->xfer_get_init(ph, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get() 270 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get() 307 dev_warn(ph->dev, in scmi_perf_domain_attributes_get() [all …]
|
H A D | sensors.c | 227 static int scmi_sensor_attributes_get(const struct scmi_protocol_handle *ph, in scmi_sensor_attributes_get() argument 234 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_sensor_attributes_get() 241 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get() 250 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get() 253 if (!ph->hops->protocol_msg_check(ph, in scmi_sensor_attributes_get() 257 if (!ph->hops->protocol_msg_check(ph, in scmi_sensor_attributes_get() 341 iter_intervals_process_response(const struct scmi_protocol_handle *ph, in iter_intervals_process_response() argument 354 static int scmi_sensor_update_intervals(const struct scmi_protocol_handle *ph, in scmi_sensor_update_intervals() argument 365 .dev = ph->dev, in scmi_sensor_update_intervals() 368 iter = ph->hops->iter_response_init(ph, &ops, s->intervals.count, in scmi_sensor_update_intervals() [all …]
|
H A D | system.c | 42 static bool scmi_system_notify_supported(const struct scmi_protocol_handle *ph, in scmi_system_notify_supported() argument 45 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_notify_supported() 53 static int scmi_system_request_notify(const struct scmi_protocol_handle *ph, in scmi_system_request_notify() argument 60 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify() 68 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify() 70 ph->xops->xfer_put(ph, t); in scmi_system_request_notify() 74 static int scmi_system_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_system_set_notify_enabled() argument 79 ret = scmi_system_request_notify(ph, enable); in scmi_system_set_notify_enabled() 87 scmi_system_fill_custom_report(const struct scmi_protocol_handle *ph, in scmi_system_fill_custom_report() argument 95 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_fill_custom_report() [all …]
|
H A D | protocols.h | 180 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv, 182 void *(*get_priv)(const struct scmi_protocol_handle *ph); 224 int (*process_response)(const struct scmi_protocol_handle *ph, 266 int (*extended_name_get)(const struct scmi_protocol_handle *ph, 269 void *(*iter_response_init)(const struct scmi_protocol_handle *ph, 274 int (*protocol_msg_check)(const struct scmi_protocol_handle *ph, 276 void (*fastchannel_init)(const struct scmi_protocol_handle *ph, 283 int (*get_max_msg_size)(const struct scmi_protocol_handle *ph); 301 int (*version_get)(const struct scmi_protocol_handle *ph, u32 *version); 302 int (*xfer_get_init)(const struct scmi_protocol_handle *ph, u8 msg_id, [all …]
|
H A D | driver.c | 109 struct scmi_protocol_handle ph; member 112 #define ph_to_pi(h) container_of(h, struct scmi_protocol_instance, ph) 1212 static void xfer_put(const struct scmi_protocol_handle *ph, in xfer_put() argument 1215 const struct scmi_protocol_instance *pi = ph_to_pi(ph); in xfer_put() 1371 static int do_xfer(const struct scmi_protocol_handle *ph, in do_xfer() argument 1375 const struct scmi_protocol_instance *pi = ph_to_pi(ph); in do_xfer() 1449 static void reset_rx_to_maxsz(const struct scmi_protocol_handle *ph, in reset_rx_to_maxsz() argument 1452 const struct scmi_protocol_instance *pi = ph_to_pi(ph); in reset_rx_to_maxsz() 1482 static int do_xfer_with_response(const struct scmi_protocol_handle *ph, in do_xfer_with_response() argument 1498 ret = do_xfer(ph, xfer); in do_xfer_with_response() [all …]
|
/linux/drivers/firmware/arm_scmi/vendors/imx/ |
H A D | imx-sm-bbm.c | 92 static int scmi_imx_bbm_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_attributes_get() argument 99 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, sizeof(*attr), &t); in scmi_imx_bbm_attributes_get() 105 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_attributes_get() 111 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_attributes_get() 116 static int scmi_imx_bbm_notify(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_notify() argument 125 ret = ph->xops->xfer_get_init(ph, message_id, in scmi_imx_bbm_notify() 137 ret = ph->xops->xfer_get_init(ph, message_id, in scmi_imx_bbm_notify() 148 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_notify() 150 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_notify() 159 static int scmi_imx_bbm_set_notify_enabled(const struct scmi_protocol_handle *ph, in scmi_imx_bbm_set_notify_enabled() argument [all …]
|
H A D | imx-sm-misc.c | 68 static int scmi_imx_misc_attributes_get(const struct scmi_protocol_handle *ph, in scmi_imx_misc_attributes_get() argument 75 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_imx_misc_attributes_get() 82 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_attributes_get() 87 dev_info(ph->dev, "i.MX MISC NUM DEV CTRL: %d, NUM BRD CTRL: %d,NUM Reason: %d\n", in scmi_imx_misc_attributes_get() 91 ph->xops->xfer_put(ph, t); in scmi_imx_misc_attributes_get() 96 static int scmi_imx_misc_ctrl_validate_id(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_validate_id() argument 99 struct scmi_imx_misc_info *mi = ph->get_priv(ph); in scmi_imx_misc_ctrl_validate_id() 113 static int scmi_imx_misc_ctrl_notify(const struct scmi_protocol_handle *ph, in scmi_imx_misc_ctrl_notify() argument 120 ret = scmi_imx_misc_ctrl_validate_id(ph, ctrl_id); in scmi_imx_misc_ctrl_notify() 124 ret = ph->xops->xfer_get_init(ph, SCMI_IMX_MISC_CTRL_NOTIFY, in scmi_imx_misc_ctrl_notify() [all …]
|
/linux/include/linux/ |
H A D | scmi_protocol.h | 103 int (*count_get)(const struct scmi_protocol_handle *ph); 106 (const struct scmi_protocol_handle *ph, u32 clk_id); 107 int (*rate_get)(const struct scmi_protocol_handle *ph, u32 clk_id, 109 int (*rate_set)(const struct scmi_protocol_handle *ph, u32 clk_id, 111 int (*enable)(const struct scmi_protocol_handle *ph, u32 clk_id, 113 int (*disable)(const struct scmi_protocol_handle *ph, u32 clk_id, 115 int (*state_get)(const struct scmi_protocol_handle *ph, u32 clk_id, 117 int (*config_oem_get)(const struct scmi_protocol_handle *ph, u32 clk_id, 120 int (*config_oem_set)(const struct scmi_protocol_handle *ph, u32 clk_id, 123 int (*parent_get)(const struct scmi_protocol_handle *ph, u32 clk_id, u32 *parent_id); [all …]
|
H A D | scmi_imx_protocol.h | 22 int (*rtc_time_set)(const struct scmi_protocol_handle *ph, u32 id, 24 int (*rtc_time_get)(const struct scmi_protocol_handle *ph, u32 id, 26 int (*rtc_alarm_set)(const struct scmi_protocol_handle *ph, u32 id, 28 int (*button_get)(const struct scmi_protocol_handle *ph, u32 *state); 52 int (*misc_ctrl_set)(const struct scmi_protocol_handle *ph, u32 id, 54 int (*misc_ctrl_get)(const struct scmi_protocol_handle *ph, u32 id, 56 int (*misc_ctrl_req_notify)(const struct scmi_protocol_handle *ph,
|
/linux/drivers/rtc/ |
H A D | rtc-imx-sm-bbm.c | 16 struct scmi_protocol_handle *ph; member 23 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_read_time() local 27 ret = bbnsm->ops->rtc_time_get(ph, 0, &val); in scmi_imx_bbm_read_time() 39 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_time() local 44 return bbnsm->ops->rtc_time_set(ph, 0, val); in scmi_imx_bbm_set_time() 50 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_alarm_irq_enable() local 54 return bbnsm->ops->rtc_alarm_set(ph, 0, false, 0); in scmi_imx_bbm_alarm_irq_enable() 62 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_alarm() local 68 return bbnsm->ops->rtc_alarm_set(ph, 0, true, val); in scmi_imx_bbm_set_alarm() 119 struct scmi_protocol_handle *ph; in scmi_imx_bbm_rtc_probe() local [all …]
|
/linux/drivers/reset/ |
H A D | reset-scmi.c | 23 const struct scmi_protocol_handle *ph; member 27 #define to_scmi_handle(p) (to_scmi_reset_data(p)->ph) 42 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_assert() local 44 return reset_ops->assert(ph, id); in scmi_reset_assert() 60 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_deassert() local 62 return reset_ops->deassert(ph, id); in scmi_reset_deassert() 78 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_reset() local 80 return reset_ops->reset(ph, id); in scmi_reset_reset() 95 struct scmi_protocol_handle *ph; in scmi_reset_probe() local 100 reset_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_RESET, &ph); in scmi_reset_probe() [all …]
|
/linux/arch/powerpc/boot/ |
H A D | addnote.c | 118 unsigned long ph, ps, np; in main() local 151 ph = (e_class == ELFCLASS32 ? GET_32(E_PHOFF) : GET_64(E_PHOFF)); in main() 154 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 156 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main() 160 if (GET_32(ph + PH_TYPE) == PT_NOTE) { in main() 165 ph += ps; in main() 170 if (buf[ph + i] != 0) in main() 174 ns = ph + 2 * ps; in main() 175 PUT_32(ph + PH_TYPE, PT_NOTE); in main() 177 PUT_32(ph + PH_OFFSET, ns); in main() [all …]
|
/linux/drivers/ata/pata_parport/ |
H A D | epia.c | 129 int k, ph, a, b; in epia_read_block() local 134 ph = 1; in epia_read_block() 136 w2(2+ph); a = r1(); in epia_read_block() 137 w2(4+ph); b = r1(); in epia_read_block() 139 ph = 1 - ph; in epia_read_block() 146 ph = 1; in epia_read_block() 148 w2(4 + ph); in epia_read_block() 151 ph = 1 - ph; in epia_read_block() 157 ph = 1; in epia_read_block() 159 w2(0x24 + ph); in epia_read_block() [all …]
|
H A D | epat.c | 87 int k, ph, a, b; in epat_read_block() local 93 ph = 0; in epat_read_block() 97 w2(6 + ph); a = r1(); in epat_read_block() 101 w2(4+ph); b = r1(); in epat_read_block() 104 ph = 1 - ph; in epat_read_block() 111 ph = 0; in epat_read_block() 115 w2(4 + ph); in epat_read_block() 118 ph = 1 - ph; in epat_read_block() 125 ph = 0; in epat_read_block() 127 w2(0x24 + ph); in epat_read_block() [all …]
|
/linux/include/linux/soc/ti/ |
H A D | knav_qmss.h | 72 void knav_pool_destroy(void *ph); 73 int knav_pool_count(void *ph); 74 void *knav_pool_desc_get(void *ph); 75 void knav_pool_desc_put(void *ph, void *desc); 76 int knav_pool_desc_map(void *ph, void *desc, unsigned size, 78 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz); 79 dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); 80 void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma);
|
/linux/tools/perf/util/ |
H A D | header.c | 234 if (ff->ph->needs_swap) in do_read_u32() 247 if (ff->ph->needs_swap) in do_read_u64() 324 session = container_of(ff->ph, struct perf_session, header); in write_build_id() 892 session = container_of(ff->ph, struct perf_session, header); in write_auxtrace() 903 return do_write(ff, &ff->ph->env.clock.clockid_res_ns, in write_clockid() 904 sizeof(ff->ph->env.clock.clockid_res_ns)); in write_clockid() 922 data32 = ff->ph->env.clock.clockid; in write_clock_data() 929 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data() 936 data64 = &ff->ph->env.clock.clockid_ns; in write_clock_data() 981 session = container_of(ff->ph, struct perf_session, header); in write_dir_format() [all …]
|
/linux/drivers/hwmon/ |
H A D | scmi-hwmon.c | 19 const struct scmi_protocol_handle *ph; member 24 const struct scmi_protocol_handle *ph; member 72 static int scmi_hwmon_read_scaled_value(const struct scmi_protocol_handle *ph, in scmi_hwmon_read_scaled_value() argument 79 ret = sensor_ops->reading_get(ph, sensor->id, &value); in scmi_hwmon_read_scaled_value() 98 return scmi_hwmon_read_scaled_value(scmi_sensors->ph, sensor, val); in scmi_hwmon_read() 146 ret = scmi_hwmon_read_scaled_value(th_sensor->ph, th_sensor->info, in scmi_hwmon_thermal_get_temp() 193 const struct scmi_protocol_handle *ph, in scmi_thermal_sensor_register() argument 203 th_sensor->ph = ph; in scmi_thermal_sensor_register() 242 struct scmi_protocol_handle *ph; in scmi_hwmon_probe() local 247 sensor_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_SENSOR, &ph); in scmi_hwmon_probe() [all …]
|
/linux/net/phonet/ |
H A D | pep.c | 52 } *ph, h; in pep_get_sb() local 55 ph = skb_header_pointer(skb, 0, 2, &h); in pep_get_sb() 56 if (ph == NULL || ph->sb_len < 2 || !pskb_may_pull(skb, ph->sb_len)) in pep_get_sb() 58 ph->sb_len -= 2; in pep_get_sb() 59 *ptype = ph->sb_type; in pep_get_sb() 60 *plen = ph->sb_len; in pep_get_sb() 62 if (buflen > ph->sb_len) in pep_get_sb() 63 buflen = ph->sb_len; in pep_get_sb() 65 __skb_pull(skb, 2 + ph->sb_len); in pep_get_sb() 89 struct pnpipehdr *ph; in pep_reply() local [all …]
|