Home
last modified time | relevance | path

Searched refs:qinfo (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/fs/quota/
Dquota_v2.c96 struct qtree_mem_dqinfo *qinfo; in v2_read_file_info() local
127 qinfo = info->dqi_priv; in v2_read_file_info()
145 qinfo->dqi_sb = sb; in v2_read_file_info()
146 qinfo->dqi_type = type; in v2_read_file_info()
147 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
148 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info()
149 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); in v2_read_file_info()
150 qinfo->dqi_blocksize_bits = V2_DQBLKSIZE_BITS; in v2_read_file_info()
151 qinfo->dqi_usable_bs = 1 << V2_DQBLKSIZE_BITS; in v2_read_file_info()
152 qinfo->dqi_qtree_depth = qtree_depth(qinfo); in v2_read_file_info()
[all …]
Dquota.c150 struct qc_info qinfo; in quota_setinfo() local
158 memset(&qinfo, 0, sizeof(qinfo)); in quota_setinfo()
163 qinfo.i_flags |= QCI_ROOT_SQUASH; in quota_setinfo()
164 qinfo.i_fieldmask |= QC_FLAGS; in quota_setinfo()
167 qinfo.i_spc_timelimit = info.dqi_bgrace; in quota_setinfo()
168 qinfo.i_fieldmask |= QC_SPC_TIMER; in quota_setinfo()
171 qinfo.i_ino_timelimit = info.dqi_igrace; in quota_setinfo()
172 qinfo.i_fieldmask |= QC_INO_TIMER; in quota_setinfo()
174 return sb->s_qcop->set_info(sb, type, &qinfo); in quota_setinfo()
641 struct qc_info qinfo; in quota_setxquota() local
[all …]
/linux-6.1.9/drivers/mtd/lpddr/
Dqinfo_probe.c123 lpddr->qinfo = kzalloc(sizeof(struct qinfo_chip), GFP_KERNEL); in lpddr_chip_setup()
124 if (!lpddr->qinfo) in lpddr_chip_setup()
132 lpddr->qinfo->DevSizeShift = lpddr_info_query(map, "DevSizeShift"); in lpddr_chip_setup()
133 lpddr->qinfo->TotalBlocksNum = lpddr_info_query(map, "TotalBlocksNum"); in lpddr_chip_setup()
134 lpddr->qinfo->BufSizeShift = lpddr_info_query(map, "BufSizeShift"); in lpddr_chip_setup()
135 lpddr->qinfo->HWPartsNum = lpddr_info_query(map, "HWPartsNum"); in lpddr_chip_setup()
136 lpddr->qinfo->UniformBlockSizeShift = in lpddr_chip_setup()
138 lpddr->qinfo->SuspEraseSupp = lpddr_info_query(map, "SuspEraseSupp"); in lpddr_chip_setup()
139 lpddr->qinfo->SingleWordProgTime = in lpddr_chip_setup()
141 lpddr->qinfo->ProgBufferTime = lpddr_info_query(map, "ProgBufferTime"); in lpddr_chip_setup()
[all …]
Dlpddr_cmds.c64 mtd->size = 1 << lpddr->qinfo->DevSizeShift; in lpddr_cmdset()
65 mtd->erasesize = 1 << lpddr->qinfo->UniformBlockSizeShift; in lpddr_cmdset()
66 mtd->writesize = 1 << lpddr->qinfo->BufSizeShift; in lpddr_cmdset()
76 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset()
80 for (j = 0; j < lpddr->qinfo->HWPartsNum; j++) { in lpddr_cmdset()
310 if (!lpddr->qinfo->SuspEraseSupp || in chip_ready()
414 wbufsize = 1 << lpddr->qinfo->BufSizeShift; in do_write_buffer()
472 ret = wait_for_ready(map, chip, (1<<lpddr->qinfo->ProgBufferTime)); in do_write_buffer()
500 ret = wait_for_ready(map, chip, (1<<lpddr->qinfo->BlockEraseTime)*1000); in do_erase_oneblock()
653 int wbufsize = 1 << lpddr->qinfo->BufSizeShift; in lpddr_writev()
[all …]
/linux-6.1.9/drivers/misc/bcm-vk/
Dbcm_vk_msg.c75 static u32 msgq_inc(const struct bcm_vk_sync_qinfo *qinfo, u32 idx, u32 inc) in msgq_inc() argument
77 return ((idx + inc) & qinfo->q_mask); in msgq_inc()
81 struct vk_msg_blk __iomem *msgq_blk_addr(const struct bcm_vk_sync_qinfo *qinfo, in msgq_blk_addr() argument
84 return qinfo->q_start + (VK_MSGQ_BLK_SIZE * idx); in msgq_blk_addr()
88 const struct bcm_vk_sync_qinfo *qinfo) in msgq_occupied() argument
95 return ((wr_idx - rd_idx) & qinfo->q_mask); in msgq_occupied()
100 const struct bcm_vk_sync_qinfo *qinfo) in msgq_avail_space() argument
102 return (qinfo->q_size - msgq_occupied(msgq, qinfo) - 1); in msgq_avail_space()
462 struct bcm_vk_sync_qinfo *qinfo; in bcm_vk_sync_msgq() local
492 qinfo = &chan->sync_qinfo[j]; in bcm_vk_sync_msgq()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dmac.c197 const struct ath9k_tx_queue_info *qinfo) in ath9k_hw_set_txq_props() argument
212 qi->tqi_ver = qinfo->tqi_ver; in ath9k_hw_set_txq_props()
213 qi->tqi_subtype = qinfo->tqi_subtype; in ath9k_hw_set_txq_props()
214 qi->tqi_qflags = qinfo->tqi_qflags; in ath9k_hw_set_txq_props()
215 qi->tqi_priority = qinfo->tqi_priority; in ath9k_hw_set_txq_props()
216 if (qinfo->tqi_aifs != ATH9K_TXQ_USEDEFAULT) in ath9k_hw_set_txq_props()
217 qi->tqi_aifs = min(qinfo->tqi_aifs, 255U); in ath9k_hw_set_txq_props()
220 if (qinfo->tqi_cwmin != ATH9K_TXQ_USEDEFAULT) { in ath9k_hw_set_txq_props()
221 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
226 qi->tqi_cwmin = qinfo->tqi_cwmin; in ath9k_hw_set_txq_props()
[all …]
Dhtc_drv_txrx.c189 struct ath9k_tx_queue_info *qinfo) in ath_htc_txq_update() argument
197 qi.tqi_aifs = qinfo->tqi_aifs; in ath_htc_txq_update()
198 qi.tqi_cwmin = qinfo->tqi_cwmin / 2; /* XXX */ in ath_htc_txq_update()
199 qi.tqi_cwmax = qinfo->tqi_cwmax; in ath_htc_txq_update()
200 qi.tqi_burstTime = qinfo->tqi_burstTime; in ath_htc_txq_update()
201 qi.tqi_readyTime = qinfo->tqi_readyTime; in ath_htc_txq_update()
Dmac.h726 const struct ath9k_tx_queue_info *qinfo);
728 struct ath9k_tx_queue_info *qinfo);
730 const struct ath9k_tx_queue_info *qinfo);
Dxmit.c1812 struct ath9k_tx_queue_info *qinfo) in ath_txq_update() argument
1821 qi.tqi_aifs = qinfo->tqi_aifs; in ath_txq_update()
1822 qi.tqi_cwmin = qinfo->tqi_cwmin; in ath_txq_update()
1823 qi.tqi_cwmax = qinfo->tqi_cwmax; in ath_txq_update()
1824 qi.tqi_burstTime = qinfo->tqi_burstTime; in ath_txq_update()
1825 qi.tqi_readyTime = qinfo->tqi_readyTime; in ath_txq_update()
/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_init.c349 struct snd_seq_queue_info qinfo; in alloc_seq_queue() local
352 memset(&qinfo, 0, sizeof(qinfo)); in alloc_seq_queue()
353 qinfo.owner = system_client; in alloc_seq_queue()
354 qinfo.locked = 1; in alloc_seq_queue()
355 strcpy(qinfo.name, "OSS Sequencer Emulation"); in alloc_seq_queue()
356 rc = call_ctl(SNDRV_SEQ_IOCTL_CREATE_QUEUE, &qinfo); in alloc_seq_queue()
359 dp->queue = qinfo.queue; in alloc_seq_queue()
369 struct snd_seq_queue_info qinfo; in delete_seq_queue() local
374 memset(&qinfo, 0, sizeof(qinfo)); in delete_seq_queue()
375 qinfo.queue = queue; in delete_seq_queue()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dqcu.c155 const struct ath5k_txq_info *qinfo) in ath5k_hw_set_tx_queueprops() argument
167 qi->tqi_type = qinfo->tqi_type; in ath5k_hw_set_tx_queueprops()
168 qi->tqi_subtype = qinfo->tqi_subtype; in ath5k_hw_set_tx_queueprops()
169 qi->tqi_flags = qinfo->tqi_flags; in ath5k_hw_set_tx_queueprops()
175 qi->tqi_aifs = min(qinfo->tqi_aifs, (u8)0xFC); in ath5k_hw_set_tx_queueprops()
176 qi->tqi_cw_min = ath5k_cw_validate(qinfo->tqi_cw_min); in ath5k_hw_set_tx_queueprops()
177 qi->tqi_cw_max = ath5k_cw_validate(qinfo->tqi_cw_max); in ath5k_hw_set_tx_queueprops()
178 qi->tqi_cbr_period = qinfo->tqi_cbr_period; in ath5k_hw_set_tx_queueprops()
179 qi->tqi_cbr_overflow_limit = qinfo->tqi_cbr_overflow_limit; in ath5k_hw_set_tx_queueprops()
180 qi->tqi_burst_time = qinfo->tqi_burst_time; in ath5k_hw_set_tx_queueprops()
[all …]
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptvf.h56 #define for_each_pending_queue(qinfo, q, i) \ argument
57 for (i = 0, q = &qinfo->queue[i]; i < qinfo->num_queues; i++, \
58 q = &qinfo->queue[i])
Dotx_cptvf_reqmgr.c270 struct otx_cpt_cmd_qinfo *qinfo = &cptvf->cqinfo; in cpt_send_cmd() local
275 queue = &qinfo->queue[0]; in cpt_send_cmd()
/linux-6.1.9/drivers/crypto/cavium/cpt/
Dcptvf.h90 #define for_each_pending_queue(qinfo, q, i) \ argument
91 for (i = 0, q = &qinfo->queue[i]; i < qinfo->nr_queues; i++, \
92 q = &qinfo->queue[i])
Dcptvf_reqmanager.c227 struct command_qinfo *qinfo = NULL; in send_cpt_command() local
239 qinfo = &cptvf->cqinfo; in send_cpt_command()
240 queue = &qinfo->queue[qno]; in send_cpt_command()
243 ent = &queue->qhead->head[queue->idx * qinfo->cmd_size]; in send_cpt_command()
244 memcpy(ent, (void *)cmd, qinfo->cmd_size); in send_cpt_command()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_controlq.c6 #define ICE_CQ_INIT_REGS(qinfo, prefix) \ argument
8 (qinfo)->sq.head = prefix##_ATQH; \
9 (qinfo)->sq.tail = prefix##_ATQT; \
10 (qinfo)->sq.len = prefix##_ATQLEN; \
11 (qinfo)->sq.bah = prefix##_ATQBAH; \
12 (qinfo)->sq.bal = prefix##_ATQBAL; \
13 (qinfo)->sq.len_mask = prefix##_ATQLEN_ATQLEN_M; \
14 (qinfo)->sq.len_ena_mask = prefix##_ATQLEN_ATQENABLE_M; \
15 (qinfo)->sq.len_crit_mask = prefix##_ATQLEN_ATQCRIT_M; \
16 (qinfo)->sq.head_mask = prefix##_ATQH_ATQH_M; \
[all …]
/linux-6.1.9/drivers/s390/net/
Dqeth_l3_main.c1298 struct qeth_arp_query_info *qinfo; in qeth_l3_arp_query_cb() local
1306 qinfo = (struct qeth_arp_query_info *) reply->param; in qeth_l3_arp_query_cb()
1323 do_strip_entries = (qinfo->mask_bits & QETH_QARP_STRIP_ENTRIES) > 0; in qeth_l3_arp_query_cb()
1344 if ((qinfo->udata_len - qinfo->udata_offset) < esize) { in qeth_l3_arp_query_cb()
1346 memset(qinfo->udata, 0, 4); in qeth_l3_arp_query_cb()
1350 memcpy(qinfo->udata + qinfo->udata_offset, in qeth_l3_arp_query_cb()
1354 qinfo->udata_offset += esize; in qeth_l3_arp_query_cb()
1355 ++qinfo->no_entries; in qeth_l3_arp_query_cb()
1361 QETH_CARD_TEXT_(card, 4, "nove%i", qinfo->no_entries); in qeth_l3_arp_query_cb()
1362 memcpy(qinfo->udata, &qinfo->no_entries, 4); in qeth_l3_arp_query_cb()
[all …]
Dqeth_core_main.c4612 struct qeth_arp_query_info *qinfo = reply->param; in qeth_snmp_command_cb() local
4640 if ((qinfo->udata_len - qinfo->udata_offset) < data_len) { in qeth_snmp_command_cb()
4649 memcpy(qinfo->udata + qinfo->udata_offset, snmp_data, data_len); in qeth_snmp_command_cb()
4650 qinfo->udata_offset += data_len; in qeth_snmp_command_cb()
4663 struct qeth_arp_query_info qinfo = {0, }; in qeth_snmp_command() local
4676 if (get_user(qinfo.udata_len, &ureq->hdr.data_len) || in qeth_snmp_command()
4694 qinfo.udata = kzalloc(qinfo.udata_len, GFP_KERNEL); in qeth_snmp_command()
4695 if (!qinfo.udata) { in qeth_snmp_command()
4699 qinfo.udata_offset = sizeof(struct qeth_snmp_ureq_hdr); in qeth_snmp_command()
4701 rc = qeth_send_ipa_cmd(card, iob, qeth_snmp_command_cb, &qinfo); in qeth_snmp_command()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ar5523/
Dar5523.c483 struct ar5523_cmd_txq_setup qinfo; in ar5523_queue_init() local
486 qinfo.qid = cpu_to_be32(0); in ar5523_queue_init()
487 qinfo.len = cpu_to_be32(sizeof(qinfo.attr)); in ar5523_queue_init()
488 qinfo.attr.priority = cpu_to_be32(0); /* XXX */ in ar5523_queue_init()
489 qinfo.attr.aifs = cpu_to_be32(3); in ar5523_queue_init()
490 qinfo.attr.logcwmin = cpu_to_be32(4); in ar5523_queue_init()
491 qinfo.attr.logcwmax = cpu_to_be32(10); in ar5523_queue_init()
492 qinfo.attr.bursttime = cpu_to_be32(0); in ar5523_queue_init()
493 qinfo.attr.mode = cpu_to_be32(0); in ar5523_queue_init()
494 qinfo.attr.qflags = cpu_to_be32(1); /* XXX? */ in ar5523_queue_init()
[all …]
/linux-6.1.9/include/linux/mtd/
Dqinfo.h24 struct qinfo_chip *qinfo; member
/linux-6.1.9/drivers/scsi/
Dqlogicfas408.h84 char qinfo[80]; /* description */ member
Dqlogicfas.c113 sprintf(priv->qinfo, in __qlogicfas_detect()
Dqlogicfas408.c553 return priv->qinfo; in qlogicfas408_info()
/linux-6.1.9/drivers/scsi/elx/libefc_sli/
Dsli4.c4125 sli4->qinfo.max_qentries[q] = in sli_calc_max_qentries()
4126 sli_convert_mask_to_count(sli4->qinfo.count_method[q], in sli_calc_max_qentries()
4127 sli4->qinfo.count_mask[q]); in sli_calc_max_qentries()
4135 qentries = sli4->qinfo.max_qentries[q]; in sli_calc_max_qentries()
4139 sli4->qinfo.max_qentries[q], qentries); in sli_calc_max_qentries()
4140 sli4->qinfo.max_qentries[q] = qentries; in sli_calc_max_qentries()
4236 sli4->qinfo.max_qcount[SLI4_QTYPE_EQ] = le16_to_cpu(conf->eq_count); in sli_get_read_config()
4237 sli4->qinfo.max_qcount[SLI4_QTYPE_CQ] = le16_to_cpu(conf->cq_count); in sli_get_read_config()
4238 sli4->qinfo.max_qcount[SLI4_QTYPE_WQ] = le16_to_cpu(conf->wq_count); in sli_get_read_config()
4239 sli4->qinfo.max_qcount[SLI4_QTYPE_RQ] = le16_to_cpu(conf->rq_count); in sli_get_read_config()
[all …]
/linux-6.1.9/drivers/scsi/pcmcia/
Dqlogic_stub.c128 sprintf(priv->qinfo, in qlogic_detect()

12