Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/asihpi/
Dhpicmn.c184 if (!pC->p_cache) in control_cache_alloc_check()
191 p_master_cache = (char *)pC->p_cache; in control_cache_alloc_check()
268 struct hpi_control_cache *p_cache, struct hpi_control_cache_info **pI) in find_control() argument
270 if (!control_cache_alloc_check(p_cache)) { in find_control()
277 *pI = p_cache->p_info[control_index]; in find_control()
527 short hpi_check_control_cache(struct hpi_control_cache *p_cache, in hpi_check_control_cache() argument
532 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_check_control_cache()
611 void hpi_cmn_control_cache_sync_to_msg(struct hpi_control_cache *p_cache, in hpi_cmn_control_cache_sync_to_msg() argument
620 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_cmn_control_cache_sync_to_msg()
642 struct hpi_control_cache *p_cache = in hpi_alloc_control_cache() local
[all …]
Dhpicmn.h43 u8 *p_cache; member
61 void hpi_free_control_cache(struct hpi_control_cache *p_cache);
Dhpi6000.c142 struct hpi_control_cache *p_cache; member
242 if (hpi_check_control_cache(phw->p_cache, phm, phr)) in control_message()
249 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, phr); in control_message()
566 phw->p_cache = in create_adapter_obj()
571 if (phw->p_cache) in create_adapter_obj()
578 if (phw->p_cache) in create_adapter_obj()
579 phw->p_cache->adap_idx = pao->index; in create_adapter_obj()
589 hpi_free_control_cache(phw->p_cache); in delete_adapter_obj()
Dhpi6205.c122 struct hpi_control_cache *p_cache; member
245 if (hpi_check_control_cache(phw->p_cache, phm, phr)) { in control_message()
262 hpi_cmn_control_cache_sync_to_msg(phw->p_cache, phm, in control_message()
598 phw->p_cache = in create_adapter_obj()
604 if (!phw->p_cache) in create_adapter_obj()
657 if (phw->p_cache) in create_adapter_obj()
658 phw->p_cache->adap_idx = pao->index; in create_adapter_obj()
682 hpi_free_control_cache(phw->p_cache); in delete_adapter_obj()
/Linux-v5.4/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.c1337 u8 *p_cache; in qlcnic_83xx_copy_bootloader() local
1350 p_cache = vzalloc(size); in qlcnic_83xx_copy_bootloader()
1351 if (p_cache == NULL) in qlcnic_83xx_copy_bootloader()
1354 ret = qlcnic_83xx_lockless_flash_read32(adapter, src, p_cache, in qlcnic_83xx_copy_bootloader()
1357 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1361 ret = qlcnic_ms_mem_write128(adapter, dest, (u32 *)p_cache, in qlcnic_83xx_copy_bootloader()
1364 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1367 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1376 u32 dest, *p_cache, *temp; in qlcnic_83xx_copy_fw_file() local
1400 p_cache = temp; in qlcnic_83xx_copy_fw_file()
[all …]
/Linux-v5.4/fs/ocfs2/
Dblockcheck.c56 static unsigned int calc_code_bit(unsigned int i, unsigned int *p_cache) in calc_code_bit() argument
67 if (p_cache) in calc_code_bit()
68 p = *p_cache; in calc_code_bit()
82 if (p_cache) in calc_code_bit()
83 *p_cache = p; in calc_code_bit()
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_83xx.c626 uint8_t *p_cache; in qla4_83xx_copy_bootloader() local
642 p_cache = vmalloc(size); in qla4_83xx_copy_bootloader()
643 if (p_cache == NULL) { in qla4_83xx_copy_bootloader()
650 ret_val = qla4_83xx_lockless_flash_read_u32(ha, src, p_cache, in qla4_83xx_copy_bootloader()
661 ret_val = qla4_8xxx_ms_mem_write_128b(ha, dest, (uint32_t *)p_cache, in qla4_83xx_copy_bootloader()
673 vfree(p_cache); in qla4_83xx_copy_bootloader()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_nx2.c1217 uint8_t *p_cache; in qla8044_copy_bootloader() local
1234 p_cache = vmalloc(size); in qla8044_copy_bootloader()
1235 if (p_cache == NULL) { in qla8044_copy_bootloader()
1244 p_cache, size/sizeof(uint32_t)); in qla8044_copy_bootloader()
1255 (uint32_t *)p_cache, count); in qla8044_copy_bootloader()
1266 vfree(p_cache); in qla8044_copy_bootloader()
3805 uint8_t *p_cache, *p_src; in qla8044_write_optrom_data() local
3809 p_cache = kcalloc(length, sizeof(uint8_t), GFP_KERNEL); in qla8044_write_optrom_data()
3810 if (!p_cache) in qla8044_write_optrom_data()
3813 memcpy(p_cache, buf, length); in qla8044_write_optrom_data()
[all …]