Searched refs:zc (Results 1 – 13 of 13) sorted by relevance
| /drivers/s390/crypto/ |
| A D | zcrypt_card.c | 77 zc->online = online; in online_store() 78 id = zc->card->id; in online_store() 140 struct zcrypt_card *zc; in zcrypt_card_alloc() local 142 zc = kzalloc(sizeof(*zc), GFP_KERNEL); in zcrypt_card_alloc() 143 if (!zc) in zcrypt_card_alloc() 147 kref_init(&zc->refcount); in zcrypt_card_alloc() 148 return zc; in zcrypt_card_alloc() 154 kfree(zc); in zcrypt_card_free() 167 kref_get(&zc->refcount); in zcrypt_card_get() 191 zc->online = 1; in zcrypt_card_register() [all …]
|
| A D | zcrypt_cex4.c | 467 struct zcrypt_card *zc; in zcrypt_cex4_card_probe() local 470 zc = zcrypt_card_alloc(); in zcrypt_cex4_card_probe() 471 if (!zc) in zcrypt_cex4_card_probe() 473 zc->card = ac; in zcrypt_cex4_card_probe() 506 zc->max_exp_bit_length = in zcrypt_cex4_card_probe() 510 zc->max_exp_bit_length = in zcrypt_cex4_card_probe() 585 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() 588 zc->online = 1; in zcrypt_cex4_card_probe() 592 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() 601 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() [all …]
|
| A D | zcrypt_api.c | 681 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rsa_modexpo() 682 !(zc->card->hwinfo.accel || zc->card->hwinfo.cca)) in zcrypt_rsa_modexpo() 715 pref_zc = zc; in zcrypt_rsa_modexpo() 786 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rsa_crt() 787 !(zc->card->hwinfo.accel || zc->card->hwinfo.cca)) in zcrypt_rsa_crt() 820 pref_zc = zc; in zcrypt_rsa_crt() 907 if (!zc->online || !zc->card->config || zc->card->chkstop || in _zcrypt_send_cprb() 946 pref_zc = zc; in _zcrypt_send_cprb() 1103 if (!zc->online || !zc->card->config || zc->card->chkstop || in _zcrypt_send_ep11_cprb() 1239 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rng() [all …]
|
| A D | zcrypt_queue.c | 57 struct zcrypt_card *zc = zq->zcard; in online_store() local 66 if (online && !zc->online) in online_store() 170 struct zcrypt_card *zc; in zcrypt_queue_register() local 174 zc = dev_get_drvdata(&zq->queue->card->ap_dev.device); in zcrypt_queue_register() 175 zcrypt_card_get(zc); in zcrypt_queue_register() 176 zq->zcard = zc; in zcrypt_queue_register() 183 list_add_tail(&zq->list, &zc->zqueues); in zcrypt_queue_register() 205 zcrypt_card_put(zc); in zcrypt_queue_register() 218 struct zcrypt_card *zc; in zcrypt_queue_unregister() local 224 zc = zq->zcard; in zcrypt_queue_unregister() [all …]
|
| /drivers/hid/ |
| A D | hid-zydacron.c | 50 struct zc_device *zc = hid_get_drvdata(hdev); in zc_input_mapping() local 51 zc->input_ep81 = hi->input; in zc_input_mapping() 104 zc->last_key[i] = 0; in zc_input_mapping() 112 struct zc_device *zc = hid_get_drvdata(hdev); in zc_raw_event() local 121 key = zc->last_key[index]; in zc_raw_event() 124 zc->last_key[index] = 0; in zc_raw_event() 153 zc->last_key[index] = key; in zc_raw_event() 167 struct zc_device *zc; in zc_probe() local 169 zc = devm_kzalloc(&hdev->dev, sizeof(*zc), GFP_KERNEL); in zc_probe() 170 if (zc == NULL) { in zc_probe() [all …]
|
| /drivers/md/ |
| A D | dm-zone.c | 238 struct dm_device_zone_count *zc = data; in dm_device_count_zones_cb() local 241 zc->total_nr_seq_zones++; in dm_device_count_zones_cb() 242 if (zone->start >= zc->start && in dm_device_count_zones_cb() 243 zone->start < zc->start + zc->len) in dm_device_count_zones_cb() 244 zc->target_nr_seq_zones++; in dm_device_count_zones_cb() 251 struct dm_device_zone_count *zc) in dm_device_count_zones() argument 256 dm_device_count_zones_cb, zc); in dm_device_count_zones() 278 struct dm_device_zone_count zc = { in device_get_zone_resource_limits() local 290 ret = dm_device_count_zones(dev, &zc); in device_get_zone_resource_limits() 300 if (!zc.target_nr_seq_zones) in device_get_zone_resource_limits() [all …]
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_xsk.h | 25 int ice_realloc_zc_buf(struct ice_vsi *vsi, bool zc); 74 bool __always_unused zc) in ice_realloc_zc_buf() argument
|
| A D | ice_xsk.c | 349 int ice_realloc_zc_buf(struct ice_vsi *vsi, bool zc) in ice_realloc_zc_buf() argument 359 if (ice_realloc_rx_xdp_bufs(rx_ring, zc)) in ice_realloc_zc_buf()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_xsk.h | 31 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc);
|
| A D | i40e_xsk.c | 60 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc) in i40e_realloc_rx_bi_zc() argument 67 if (i40e_realloc_rx_xdp_bi(rx_ring, zc)) in i40e_realloc_rx_bi_zc()
|
| /drivers/scsi/ |
| A D | scsi_debug.c | 3780 enum sdebug_z_cond zc; in zbc_close_zone() local 3785 zc = zsp->z_cond; in zbc_close_zone() 3786 if (!(zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN)) in zbc_close_zone() 3823 zc = zsp->z_cond; in zbc_open_zone() 6158 zc = zsp->z_cond; in resp_open_zone() 6159 if (zc == ZC3_EXPLICIT_OPEN || zc == ZC5_FULL) in resp_open_zone() 6236 if (zc == ZC4_CLOSED || zc == ZC2_IMPLICIT_OPEN || in zbc_finish_zone() 6237 zc == ZC3_EXPLICIT_OPEN || (empty && zc == ZC1_EMPTY)) { in zbc_finish_zone() 6238 if (zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN) in zbc_finish_zone() 6312 zc = zsp->z_cond; in zbc_rwp_zone() [all …]
|
| /drivers/net/ethernet/engleder/ |
| A D | tsnep.h | 74 bool zc; member
|
| A D | tsnep_main.c | 733 bool zc) in tsnep_xdp_xmit_back() argument 743 if (zc) in tsnep_xdp_xmit_back() 767 entry->zc = true; in tsnep_xdp_tx_map_zc()
|
Completed in 48 milliseconds