Home
last modified time | relevance | path

Searched refs:p_cache (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/asihpi/
H A 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()
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
269 find_control(u16 control_index, struct hpi_control_cache *p_cache, struct hpi_control_cache_info **pI) find_control() argument
663 hpi_free_control_cache(struct hpi_control_cache *p_cache) hpi_free_control_cache() argument
[all...]
H A Dhpicmn.h43 u8 *p_cache; member
61 void hpi_free_control_cache(struct hpi_control_cache *p_cache);
H A 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()
H A 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()
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A 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()
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
269 find_control(u16 control_index, struct hpi_control_cache *p_cache, struct hpi_control_cache_info **pI) find_control() argument
663 hpi_free_control_cache(struct hpi_control_cache *p_cache) hpi_free_control_cache() argument
[all...]
H A Dhpicmn.h43 u8 *p_cache; member
61 void hpi_free_control_cache(struct hpi_control_cache *p_cache);
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
1057 unsigned char *p_cache, *p_src; qlcnic_83xx_sysfs_flash_write() local
[all...]
H A 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 in qlcnic_83xx_copy_fw_file()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c988 unsigned char *p_cache, *p_src; in qlcnic_83xx_sysfs_flash_bulk_write() local
990 p_cache = kcalloc(size, sizeof(unsigned char), GFP_KERNEL); in qlcnic_83xx_sysfs_flash_bulk_write()
991 if (!p_cache) in qlcnic_83xx_sysfs_flash_bulk_write()
996 memcpy(p_cache, buf, size); in qlcnic_83xx_sysfs_flash_bulk_write()
997 p_src = p_cache; in qlcnic_83xx_sysfs_flash_bulk_write()
1000 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1007 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1022 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1028 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1040 kfree(p_cache); in qlcnic_83xx_sysfs_flash_bulk_write()
1056 unsigned char *p_cache, *p_src; qlcnic_83xx_sysfs_flash_write() local
[all...]
H A 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 in qlcnic_83xx_copy_fw_file()
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A 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()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dblockcheck.c54 static unsigned int calc_code_bit(unsigned int i, unsigned int *p_cache) in calc_code_bit() argument
65 if (p_cache) in calc_code_bit()
66 p = *p_cache; in calc_code_bit()
80 if (p_cache) in calc_code_bit()
81 *p_cache = p; in calc_code_bit()
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/qla4xxx/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A 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, bu in qla8044_write_optrom_data()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A 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()
3793 uint8_t *p_cache, *p_src; in qla8044_write_optrom_data() local
3797 p_cache = kcalloc(length, sizeof(uint8_t), GFP_KERNEL); in qla8044_write_optrom_data()
3798 if (!p_cache) in qla8044_write_optrom_data()
3801 memcpy(p_cache, bu in qla8044_write_optrom_data()
[all...]

Completed in 33 milliseconds