Home
last modified time | relevance | path

Searched refs:p_data (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/devfreq/
H A Dgovernor_passive.c21 get_parent_cpu_data(struct devfreq_passive_data *p_data, in get_parent_cpu_data() argument
26 if (!p_data || !policy) in get_parent_cpu_data()
29 list_for_each_entry(parent_cpu_data, &p_data->cpu_data_list, node) in get_parent_cpu_data()
36 static void delete_parent_cpu_data(struct devfreq_passive_data *p_data) in delete_parent_cpu_data() argument
40 list_for_each_entry_safe(parent_cpu_data, tmp, &p_data->cpu_data_list, node) { in delete_parent_cpu_data()
80 struct devfreq_passive_data *p_data = in get_target_freq_with_cpufreq() local
96 parent_cpu_data = get_parent_cpu_data(p_data, policy); in get_target_freq_with_cpufreq()
133 struct devfreq_passive_data *p_data in get_target_freq_with_devfreq() local
135 struct devfreq *parent_devfreq = (struct devfreq *)p_data->parent; in get_target_freq_with_devfreq()
170 struct devfreq_passive_data *p_data = in devfreq_passive_get_target_freq() local
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_fcoe.c92 struct fcoe_init_func_ramrod_data *p_data; in qed_sp_fcoe_func_start() local
116 p_data = &p_ramrod->init_ramrod_data; in qed_sp_fcoe_func_start()
129 p_data->mtu = cpu_to_le16(fcoe_pf_params->mtu); in qed_sp_fcoe_func_start()
131 p_data->sq_num_pages_in_pbl = tmp; in qed_sp_fcoe_func_start()
153 p_data->func_params.num_tasks = tmp; in qed_sp_fcoe_func_start()
154 p_data->func_params.log_page_size = fcoe_pf_params->log_page_size; in qed_sp_fcoe_func_start()
155 p_data->func_params.debug_mode = fcoe_pf_params->debug_mode; in qed_sp_fcoe_func_start()
157 DMA_REGPAIR_LE(p_data->q_params.glbl_q_params_addr, in qed_sp_fcoe_func_start()
161 p_data->q_params.cq_num_entries = tmp; in qed_sp_fcoe_func_start()
164 p_data->q_params.cmdq_num_entries = tmp; in qed_sp_fcoe_func_start()
[all …]
H A Dqed_dcbx.c146 qed_dcbx_dp_protocol(struct qed_hwfn *p_hwfn, struct qed_dcbx_results *p_data) in qed_dcbx_dp_protocol() argument
152 p_data->dcbx_enabled); in qed_dcbx_dp_protocol()
159 qed_dcbx_app_update[i].name, p_data->arr[id].update, in qed_dcbx_dp_protocol()
160 p_data->arr[id].enable, p_data->arr[id].priority, in qed_dcbx_dp_protocol()
161 p_data->arr[id].tc, p_hwfn->hw_info.num_active_tc); in qed_dcbx_dp_protocol()
166 qed_dcbx_set_params(struct qed_dcbx_results *p_data, in qed_dcbx_set_params() argument
173 p_data->arr[type].enable = enable; in qed_dcbx_set_params()
174 p_data->arr[type].priority = prio; in qed_dcbx_set_params()
175 p_data->arr[type].tc = tc; in qed_dcbx_set_params()
177 p_data->arr[type].update = UPDATE_DCB; in qed_dcbx_set_params()
[all …]
H A Dqed_sp_commands.c39 u8 cmd, u8 protocol, struct qed_sp_init_data *p_data) in qed_sp_init_request() argument
41 u32 opaque_cid = p_data->opaque_fid << 16 | p_data->cid; in qed_sp_init_request()
60 p_ent->comp_mode = p_data->comp_mode; in qed_sp_init_request()
69 if (!p_data->p_comp_data) in qed_sp_init_request()
72 p_ent->comp_cb.cookie = p_data->p_comp_data->cookie; in qed_sp_init_request()
76 if (!p_data->p_comp_data) in qed_sp_init_request()
79 p_ent->comp_cb = *p_data->p_comp_data; in qed_sp_init_request()
H A Dqed_vf.c1014 struct qed_sp_vport_update_params *p_data, in qed_vf_handle_vp_update_is_needed() argument
1019 return !!(p_data->update_vport_active_rx_flg || in qed_vf_handle_vp_update_is_needed()
1020 p_data->update_vport_active_tx_flg); in qed_vf_handle_vp_update_is_needed()
1022 return !!p_data->update_tx_switching_flg; in qed_vf_handle_vp_update_is_needed()
1024 return !!p_data->update_inner_vlan_removal_flg; in qed_vf_handle_vp_update_is_needed()
1026 return !!p_data->update_accept_any_vlan_flg; in qed_vf_handle_vp_update_is_needed()
1028 return !!p_data->update_approx_mcast_flg; in qed_vf_handle_vp_update_is_needed()
1030 return !!(p_data->accept_flags.update_rx_mode_config || in qed_vf_handle_vp_update_is_needed()
1031 p_data->accept_flags.update_tx_mode_config); in qed_vf_handle_vp_update_is_needed()
1033 return !!p_data->rss_params; in qed_vf_handle_vp_update_is_needed()
[all …]
H A Dqed_sriov.c2743 struct qed_sp_vport_update_params *p_data, in qed_iov_vp_update_act_param() argument
2754 p_data->update_vport_active_rx_flg = p_act_tlv->update_rx; in qed_iov_vp_update_act_param()
2755 p_data->vport_active_rx_flg = p_act_tlv->active_rx; in qed_iov_vp_update_act_param()
2756 p_data->update_vport_active_tx_flg = p_act_tlv->update_tx; in qed_iov_vp_update_act_param()
2757 p_data->vport_active_tx_flg = p_act_tlv->active_tx; in qed_iov_vp_update_act_param()
2763 struct qed_sp_vport_update_params *p_data, in qed_iov_vp_update_vlan_param() argument
2779 p_data->update_inner_vlan_removal_flg = 1; in qed_iov_vp_update_vlan_param()
2780 p_data->inner_vlan_removal_flg = p_vlan_tlv->remove_vlan; in qed_iov_vp_update_vlan_param()
2788 struct qed_sp_vport_update_params *p_data, in qed_iov_vp_update_tx_switch() argument
2800 p_data->update_tx_switching_flg = 1; in qed_iov_vp_update_tx_switch()
[all …]
H A Dqed_sp.h331 union event_ring_data *p_data);
402 struct qed_sp_init_data *p_data);
H A Dqed_sriov.h326 struct fw_err_data *p_data);
484 struct fw_err_data *p_data) in qed_sriov_vfpf_malicious() argument
/linux/drivers/gpu/drm/i915/gvt/
H A Dedid.c141 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write() argument
146 memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes); in gmbus0_mmio_write()
181 void *p_data, unsigned int bytes) in gmbus1_mmio_write() argument
185 u32 wvalue = *(u32 *)p_data; in gmbus1_mmio_write()
282 void *p_data, unsigned int bytes) in gmbus3_mmio_write() argument
291 void *p_data, unsigned int bytes) in gmbus3_mmio_read() argument
304 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
316 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
337 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
344 void *p_data, unsigned int bytes) in gmbus2_mmio_read() argument
[all …]
H A Dcfg_space.c118 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
129 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
146 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_command_write() argument
149 u8 new = *(u8 *)p_data; in emulate_pci_command_write()
152 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
168 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_rom_bar_write() argument
171 u32 new = *(u32 *)(p_data); in emulate_pci_rom_bar_write()
177 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_rom_bar_write()
182 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
184 u32 new = *(u32 *)(p_data); in emulate_pci_bar_write()
[all …]
H A Dmmio.h90 void *p_data, unsigned int bytes);
92 void *p_data, unsigned int bytes);
95 void *p_data, unsigned int bytes);
97 void *p_data, unsigned int bytes);
106 void *p_data, unsigned int bytes);
H A Dedid.h136 unsigned int offset, void *p_data, unsigned int bytes);
139 unsigned int offset, void *p_data, unsigned int bytes);
144 void *p_data);
H A Dinterrupt.h199 void *p_data, unsigned int bytes);
201 unsigned int reg, void *p_data, unsigned int bytes);
203 unsigned int reg, void *p_data, unsigned int bytes);
205 unsigned int reg, void *p_data, unsigned int bytes);
H A Dinterrupt.c195 unsigned int reg, void *p_data, unsigned int bytes) in intel_vgpu_reg_imr_handler() argument
199 u32 imr = *(u32 *)p_data; in intel_vgpu_reg_imr_handler()
225 unsigned int reg, void *p_data, unsigned int bytes) in intel_vgpu_reg_master_irq_handler() argument
229 u32 ier = *(u32 *)p_data; in intel_vgpu_reg_master_irq_handler()
264 unsigned int reg, void *p_data, unsigned int bytes) in intel_vgpu_reg_ier_handler() argument
270 u32 ier = *(u32 *)p_data; in intel_vgpu_reg_ier_handler()
303 void *p_data, unsigned int bytes) in intel_vgpu_reg_iir_handler() argument
308 u32 iir = *(u32 *)p_data; in intel_vgpu_reg_iir_handler()
H A Dgtt.h285 unsigned int off, void *p_data, unsigned int bytes);
288 unsigned int off, void *p_data, unsigned int bytes);
/linux/drivers/edac/
H A Dsynopsys_edac.c322 const struct synps_platform_data *p_data; member
509 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
529 if (priv->p_data->quirks & DDR_ECC_INTR_SUPPORT) { in handle_error()
553 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in enable_intr()
573 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in disable_intr()
596 const struct synps_platform_data *p_data; in intr_handler() local
602 p_data = priv->p_data; in intr_handler()
608 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) { in intr_handler()
615 status = p_data->get_error_info(priv); in intr_handler()
626 if (!(priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)) in intr_handler()
[all …]
/linux/drivers/clk/qcom/
H A Dkrait-cc.c86 static struct clk_parent_data p_data[1]; in krait_add_div() local
88 .num_parents = ARRAY_SIZE(p_data), in krait_add_div()
110 init.parent_data = p_data; in krait_add_div()
117 p_data[0].fw_name = parent_name; in krait_add_div()
118 p_data[0].name = parent_name; in krait_add_div()
233 static struct clk_parent_data p_data[3]; in krait_add_pri_mux() local
235 .parent_data = p_data, in krait_add_pri_mux()
236 .num_parents = ARRAY_SIZE(p_data), in krait_add_pri_mux()
265 p_data[0].fw_name = hfpll_name; in krait_add_pri_mux()
266 p_data[0].name = hfpll_name; in krait_add_pri_mux()
[all …]
/linux/drivers/gpio/
H A Dgpio-zynq.c131 const struct zynq_platform_data *p_data; member
165 return !!(gpio->p_data->quirks & ZYNQ_GPIO_QUIRK_IS_ZYNQ); in zynq_gpio_is_zynq()
176 return !!(gpio->p_data->quirks & GPIO_QUIRK_DATA_RO_BUG); in gpio_data_ro_bug()
198 for (bank = 0; bank < gpio->p_data->max_bank; bank++) { in zynq_gpio_get_bank_pin()
199 if ((pin_num >= gpio->p_data->bank_min[bank]) && in zynq_gpio_get_bank_pin()
200 (pin_num <= gpio->p_data->bank_max[bank])) { in zynq_gpio_get_bank_pin()
203 gpio->p_data->bank_min[bank]; in zynq_gpio_get_bank_pin()
206 if (gpio->p_data->quirks & GPIO_QUIRK_VERSAL) in zynq_gpio_get_bank_pin()
630 unsigned int bank_offset = gpio->p_data->bank_min[bank_num]; in zynq_gpio_handle_bank_irq()
661 for (bank_num = 0; bank_num < gpio->p_data->max_bank; bank_num++) { in zynq_gpio_irqhandler()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_protocol.h145 struct p_data { struct
153 struct p_data p_data; argument
158 struct p_data p_data; member
/linux/drivers/scsi/qla4xxx/
H A Dql4_83xx.c110 uint8_t *p_data, int u32_word_count) in qla4_83xx_flash_read_u32() argument
147 *(__le32 *)p_data = le32_to_cpu(u32_word); in qla4_83xx_flash_read_u32()
148 p_data = p_data + 4; in qla4_83xx_flash_read_u32()
160 uint32_t flash_addr, uint8_t *p_data, in qla4_83xx_lockless_flash_read_u32() argument
201 *(__le32 *)p_data = le32_to_cpu(u32_word); in qla4_83xx_lockless_flash_read_u32()
202 p_data = p_data + 4; in qla4_83xx_lockless_flash_read_u32()
231 *(__le32 *)p_data = le32_to_cpu(u32_word); in qla4_83xx_lockless_flash_read_u32()
232 p_data = p_data + 4; in qla4_83xx_lockless_flash_read_u32()
/linux/sound/pci/asihpi/
H A Dhpi6000.c1292 u32 *p_data; in hpi6000_message_response_sequence() local
1320 p_data = (u32 *)phm; in hpi6000_message_response_sequence()
1321 if (hpi6000_dsp_block_write32(pao, dsp_index, address, p_data, in hpi6000_message_response_sequence()
1361 p_data = (u32 *)phr; in hpi6000_message_response_sequence()
1362 if (hpi6000_dsp_block_read32(pao, dsp_index, address, p_data, in hpi6000_message_response_sequence()
1410 u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; in hpi6000_send_data() local
1455 address, p_data, blk_len)) in hpi6000_send_data()
1458 p_data += blk_len; in hpi6000_send_data()
1483 u32 *p_data = (u32 *)phm->u.d.u.data.pb_data; in hpi6000_get_data() local
1517 address, p_data, blk_len)) in hpi6000_get_data()
[all …]
H A Dhpi6205.c1517 __iomem u32 *p_data; in boot_loader_read_mem32() local
1523 p_data = pao->pci.ap_mem_base[1] + in boot_loader_read_mem32()
1538 p_data = pao->pci.ap_mem_base[0] + in boot_loader_read_mem32()
1541 data = ioread32(p_data); in boot_loader_read_mem32()
1558 __iomem u32 *p_data; in boot_loader_write_mem32() local
1566 p_data = pao->pci.ap_mem_base[1] + in boot_loader_write_mem32()
1580 p_data = pao->pci.ap_mem_base[0] + in boot_loader_write_mem32()
1583 iowrite32(data, p_data); in boot_loader_write_mem32()
1986 static short hpi6205_transfer_data(struct hpi_adapter_obj *pao, u8 *p_data, in hpi6205_transfer_data() argument
1995 if (!p_data) in hpi6205_transfer_data()
[all …]
/linux/include/sound/
H A Dtas2781.h223 unsigned int reg, unsigned char *p_data, unsigned int n_length);
225 unsigned short chn, unsigned int reg, unsigned char *p_data,
/linux/drivers/media/tuners/
H A Dmax2165.c52 static int max2165_read_reg(struct max2165_priv *priv, u8 reg, u8 *p_data) in max2165_read_reg() argument
70 *p_data = b1[0]; in max2165_read_reg()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c2641 u32 flash_addr, u8 *p_data, in qlcnic_83xx_lockless_flash_read32() argument
2669 *(u32 *)p_data = word; in qlcnic_83xx_lockless_flash_read32()
2670 p_data = p_data + 4; in qlcnic_83xx_lockless_flash_read32()
2692 *(u32 *)p_data = word; in qlcnic_83xx_lockless_flash_read32()
2693 p_data = p_data + 4; in qlcnic_83xx_lockless_flash_read32()
2877 u32 *p_data) in qlcnic_83xx_flash_write32() argument
2883 qlcnic_83xx_wrt_reg_indirect(adapter, QLC_83XX_FLASH_WRDATA, *p_data); in qlcnic_83xx_flash_write32()
2897 u32 *p_data, int count) in qlcnic_83xx_flash_bulk_write() argument
2919 qlcnic_83xx_wrt_reg_indirect(adapter, QLC_83XX_FLASH_WRDATA, *p_data++); in qlcnic_83xx_flash_bulk_write()
2935 *p_data++); in qlcnic_83xx_flash_bulk_write()
[all …]

12