Home
last modified time | relevance | path

Searched refs:p_cache (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/sound/pci/asihpi/
Dhpicmn.c195 if (!pC->p_cache) in control_cache_alloc_check()
202 p_master_cache = (char *)pC->p_cache; in control_cache_alloc_check()
279 struct hpi_control_cache *p_cache, struct hpi_control_cache_info **pI) in find_control() argument
281 if (!control_cache_alloc_check(p_cache)) { in find_control()
288 *pI = p_cache->p_info[control_index]; in find_control()
538 short hpi_check_control_cache(struct hpi_control_cache *p_cache, in hpi_check_control_cache() argument
543 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_check_control_cache()
622 void hpi_cmn_control_cache_sync_to_msg(struct hpi_control_cache *p_cache, in hpi_cmn_control_cache_sync_to_msg() argument
631 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_cmn_control_cache_sync_to_msg()
653 struct hpi_control_cache *p_cache = in hpi_alloc_control_cache() local
[all …]
Dhpicmn.h54 u8 *p_cache; member
72 void hpi_free_control_cache(struct hpi_control_cache *p_cache);
Dhpi6000.c153 struct hpi_control_cache *p_cache; member
253 if (hpi_check_control_cache(phw->p_cache, phm, phr)) in control_message()
260 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, phr); in control_message()
577 phw->p_cache = in create_adapter_obj()
582 if (phw->p_cache) in create_adapter_obj()
589 if (phw->p_cache) in create_adapter_obj()
590 phw->p_cache->adap_idx = pao->index; in create_adapter_obj()
600 hpi_free_control_cache(phw->p_cache); in delete_adapter_obj()
Dhpi6205.c133 struct hpi_control_cache *p_cache; member
256 if (hpi_check_control_cache(phw->p_cache, phm, phr)) { in control_message()
273 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, in control_message()
609 phw->p_cache = in create_adapter_obj()
615 if (!phw->p_cache) in create_adapter_obj()
673 if (phw->p_cache) in create_adapter_obj()
674 phw->p_cache->adap_idx = pao->index; in create_adapter_obj()
698 hpi_free_control_cache(phw->p_cache); in delete_adapter_obj()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c990 unsigned char *p_cache, *p_src; in qlcnic_83xx_sysfs_flash_bulk_write() local
992 p_cache = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); in qlcnic_83xx_sysfs_flash_bulk_write()
993 if (!p_cache) in qlcnic_83xx_sysfs_flash_bulk_write()
998 memcpy(p_cache, buf, size); in qlcnic_83xx_sysfs_flash_bulk_write()
999 p_src = p_cache; in qlcnic_83xx_sysfs_flash_bulk_write()
1002 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1009 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1024 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1030 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1042 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
[all …]
Dqlcnic_83xx_init.c1341 u8 *p_cache; in qlcnic_83xx_copy_bootloader() local
1354 p_cache = vzalloc(size); in qlcnic_83xx_copy_bootloader()
1355 if (p_cache == NULL) in qlcnic_83xx_copy_bootloader()
1358 ret = qlcnic_83xx_lockless_flash_read32(adapter, src, p_cache, in qlcnic_83xx_copy_bootloader()
1361 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1365 ret = qlcnic_ms_mem_write128(adapter, dest, (u32 *)p_cache, in qlcnic_83xx_copy_bootloader()
1368 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1371 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1380 u32 dest, *p_cache, *temp; in qlcnic_83xx_copy_fw_file() local
1404 p_cache = temp; in qlcnic_83xx_copy_fw_file()
[all …]
/linux-4.4.14/fs/ocfs2/
Dblockcheck.c64 static unsigned int calc_code_bit(unsigned int i, unsigned int *p_cache) in calc_code_bit() argument
75 if (p_cache) in calc_code_bit()
76 p = *p_cache; in calc_code_bit()
90 if (p_cache) in calc_code_bit()
91 *p_cache = p; in calc_code_bit()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_83xx.c624 uint8_t *p_cache; in qla4_83xx_copy_bootloader() local
640 p_cache = vmalloc(size); in qla4_83xx_copy_bootloader()
641 if (p_cache == NULL) { in qla4_83xx_copy_bootloader()
648 ret_val = qla4_83xx_lockless_flash_read_u32(ha, src, p_cache, in qla4_83xx_copy_bootloader()
659 ret_val = qla4_8xxx_ms_mem_write_128b(ha, dest, (uint32_t *)p_cache, in qla4_83xx_copy_bootloader()
671 vfree(p_cache); in qla4_83xx_copy_bootloader()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_nx2.c1203 uint8_t *p_cache; in qla8044_copy_bootloader() local
1220 p_cache = vmalloc(size); in qla8044_copy_bootloader()
1221 if (p_cache == NULL) { in qla8044_copy_bootloader()
1230 p_cache, size/sizeof(uint32_t)); in qla8044_copy_bootloader()
1241 (uint32_t *)p_cache, count); in qla8044_copy_bootloader()
1252 vfree(p_cache); in qla8044_copy_bootloader()
3792 uint8_t *p_cache, *p_src; in qla8044_write_optrom_data() local
3796 p_cache = kcalloc(length, sizeof(uint8_t), GFP_KERNEL); in qla8044_write_optrom_data()
3797 if (!p_cache) in qla8044_write_optrom_data()
3800 memcpy(p_cache, buf, length); in qla8044_write_optrom_data()
[all …]