Home
last modified time | relevance | path

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

/Linux-v5.10/sound/pci/asihpi/
Dhpicmn.c186 if (!pC->p_cache) in control_cache_alloc_check()
193 p_master_cache = (char *)pC->p_cache; in control_cache_alloc_check()
270 struct hpi_control_cache *p_cache, struct hpi_control_cache_info **pI) in find_control() argument
272 if (!control_cache_alloc_check(p_cache)) { in find_control()
279 *pI = p_cache->p_info[control_index]; in find_control()
529 short hpi_check_control_cache(struct hpi_control_cache *p_cache, in hpi_check_control_cache() argument
534 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_check_control_cache()
613 void hpi_cmn_control_cache_sync_to_msg(struct hpi_control_cache *p_cache, in hpi_cmn_control_cache_sync_to_msg() argument
622 if (!find_control(phm->obj_index, p_cache, &pI)) { in hpi_cmn_control_cache_sync_to_msg()
644 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.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c989 unsigned char *p_cache, *p_src; in qlcnic_83xx_sysfs_flash_bulk_write() local
991 p_cache = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); in qlcnic_83xx_sysfs_flash_bulk_write()
992 if (!p_cache) in qlcnic_83xx_sysfs_flash_bulk_write()
997 memcpy(p_cache, buf, size); in qlcnic_83xx_sysfs_flash_bulk_write()
998 p_src = p_cache; in qlcnic_83xx_sysfs_flash_bulk_write()
1001 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1008 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1023 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1029 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1041 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
[all …]
Dqlcnic_83xx_init.c1317 u8 *p_cache; in qlcnic_83xx_copy_bootloader() local
1330 p_cache = vzalloc(size); in qlcnic_83xx_copy_bootloader()
1331 if (p_cache == NULL) in qlcnic_83xx_copy_bootloader()
1334 ret = qlcnic_83xx_lockless_flash_read32(adapter, src, p_cache, in qlcnic_83xx_copy_bootloader()
1337 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1341 ret = qlcnic_ms_mem_write128(adapter, dest, (u32 *)p_cache, in qlcnic_83xx_copy_bootloader()
1344 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1347 vfree(p_cache); in qlcnic_83xx_copy_bootloader()
1356 u32 dest, *p_cache, *temp; in qlcnic_83xx_copy_fw_file() local
1380 p_cache = temp; in qlcnic_83xx_copy_fw_file()
[all …]
/Linux-v5.10/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.10/drivers/scsi/qla4xxx/
Dql4_83xx.c625 uint8_t *p_cache; in qla4_83xx_copy_bootloader() local
641 p_cache = vmalloc(size); in qla4_83xx_copy_bootloader()
642 if (p_cache == NULL) { in qla4_83xx_copy_bootloader()
649 ret_val = qla4_83xx_lockless_flash_read_u32(ha, src, p_cache, in qla4_83xx_copy_bootloader()
660 ret_val = qla4_8xxx_ms_mem_write_128b(ha, dest, (uint32_t *)p_cache, in qla4_83xx_copy_bootloader()
672 vfree(p_cache); in qla4_83xx_copy_bootloader()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx2.c1216 uint8_t *p_cache; in qla8044_copy_bootloader() local
1233 p_cache = vmalloc(size); in qla8044_copy_bootloader()
1234 if (p_cache == NULL) { in qla8044_copy_bootloader()
1243 p_cache, size/sizeof(uint32_t)); in qla8044_copy_bootloader()
1254 (uint32_t *)p_cache, count); in qla8044_copy_bootloader()
1265 vfree(p_cache); in qla8044_copy_bootloader()
3804 uint8_t *p_cache, *p_src; in qla8044_write_optrom_data() local
3808 p_cache = kcalloc(length, sizeof(uint8_t), GFP_KERNEL); in qla8044_write_optrom_data()
3809 if (!p_cache) in qla8044_write_optrom_data()
3812 memcpy(p_cache, buf, length); in qla8044_write_optrom_data()
[all …]