Home
last modified time | relevance | path

Searched refs:unit (Results 501 - 525 of 961) sorted by relevance

1...<<21222324252627282930>>...39

/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_limit.c61 u64 unit, tokens, rate_with_burst; in nft_limit_init() local
72 unit = be64_to_cpu(nla_get_be64(tb[NFTA_LIMIT_UNIT])); in nft_limit_init()
73 if (check_mul_overflow(unit, NSEC_PER_SEC, &priv->nsecs)) in nft_limit_init()
95 * tokens_max = unit * (rate + burst) / rate. in nft_limit_init()
/kernel/linux/linux-5.10/drivers/firewire/
H A Dnet.c1411 struct fw_unit *unit, struct fw_device *device) in fwnet_add_peer()
1419 dev_set_drvdata(&unit->device, peer); in fwnet_add_peer()
1442 static int fwnet_probe(struct fw_unit *unit, in fwnet_probe() argument
1445 struct fw_device *device = fw_parent_device(unit); in fwnet_probe()
1515 ret = fwnet_add_peer(dev, unit, device); in fwnet_probe()
1533 static void fwnet_update(struct fw_unit *unit) in fwnet_update() argument
1535 struct fw_device *device = fw_parent_device(unit); in fwnet_update()
1536 struct fwnet_peer *peer = dev_get_drvdata(&unit->device); in fwnet_update()
1563 static void fwnet_remove(struct fw_unit *unit) in fwnet_remove() argument
1565 struct fwnet_peer *peer = dev_get_drvdata(&unit in fwnet_remove()
1410 fwnet_add_peer(struct fwnet_device *dev, struct fw_unit *unit, struct fw_device *device) fwnet_add_peer() argument
[all...]
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dvector_kern.c51 int unit; member
59 int unit; member
707 if (device->unit == n) in find_device()
1233 vp->fds = uml_vector_user_open(vp->unit, vp->parsed); in vector_net_open()
1320 vdevice = find_device(vp->unit); in vector_net_open()
1414 vdevice = find_device(vp->unit); in vector_net_load_bpf_flash()
1577 device->unit = n; in vector_eth_configure()
1606 .unit = n, in vector_eth_configure()
1683 vector_eth_configure(def->unit, parsed); in vector_init()
1711 new->unit in vector_setup()
[all...]
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dvector_kern.c50 int unit; member
58 int unit; member
703 if (device->unit == n) in find_device()
1222 vp->fds = uml_vector_user_open(vp->unit, vp->parsed); in vector_net_open()
1313 vdevice = find_device(vp->unit); in vector_net_open()
1407 vdevice = find_device(vp->unit); in vector_net_load_bpf_flash()
1577 device->unit = n; in vector_eth_configure()
1606 .unit = n, in vector_eth_configure()
1682 vector_eth_configure(def->unit, parsed); in vector_init()
1710 new->unit in vector_setup()
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dnet.c1401 struct fw_unit *unit, struct fw_device *device) in fwnet_add_peer()
1409 dev_set_drvdata(&unit->device, peer); in fwnet_add_peer()
1432 static int fwnet_probe(struct fw_unit *unit, in fwnet_probe() argument
1435 struct fw_device *device = fw_parent_device(unit); in fwnet_probe()
1504 ret = fwnet_add_peer(dev, unit, device); in fwnet_probe()
1522 static void fwnet_update(struct fw_unit *unit) in fwnet_update() argument
1524 struct fw_device *device = fw_parent_device(unit); in fwnet_update()
1525 struct fwnet_peer *peer = dev_get_drvdata(&unit->device); in fwnet_update()
1552 static void fwnet_remove(struct fw_unit *unit) in fwnet_remove() argument
1554 struct fwnet_peer *peer = dev_get_drvdata(&unit in fwnet_remove()
1400 fwnet_add_peer(struct fwnet_device *dev, struct fw_unit *unit, struct fw_device *device) fwnet_add_peer() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
H A Dcvmx-cmd-queue.h37 * hardware unit takes commands and CSRs of different types,
41 * unit specific wrapper should be used. The wrappers perform
42 * unit specific validation and CSR writes to submit the
160 * allocated and the hardware unit is configured to point to the
223 int unit = queue_id >> 16; in __cvmx_cmd_queue_get_index() local
226 return unit * 256 + core * 16 + q; in __cvmx_cmd_queue_get_index()
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/
H A Dcvmx-cmd-queue.h37 * hardware unit takes commands and CSRs of different types,
41 * unit specific wrapper should be used. The wrappers perform
42 * unit specific validation and CSR writes to submit the
160 * allocated and the hardware unit is configured to point to the
223 int unit = queue_id >> 16; in __cvmx_cmd_queue_get_index() local
226 return unit * 256 + core * 16 + q; in __cvmx_cmd_queue_get_index()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_common.h62 * compilation unit
237 __u16 spi_unit; /* unit number of chip we are using */
317 * If the unit is specified via open, HCA choice is fixed. If port is
421 __u16 unit; /* unit (chip) assigned to caller */ member
423 __u16 ctxt; /* ctxt on unit assigned to caller */
424 __u16 subctxt; /* subctxt on unit assigned to caller */
425 __u16 num_ctxts; /* number of ctxts available on unit */
518 __u16 unit; member
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
H A Dbcm-voter.c89 bcm->vote_x[bucket] = bcm_div(temp, bcm->aux_data.unit); in bcm_aggregate()
92 bcm->vote_y[bucket] = bcm_div(temp, bcm->aux_data.unit); in bcm_aggregate()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide.c281 static void ide_dev_apply_params(ide_drive_t *drive, u8 unit) in ide_dev_apply_params() argument
283 int i = drive->hwif->index * MAX_DRIVES + unit; in ide_dev_apply_params()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_init.c163 mt76x2_power_on_rf(struct mt76x02_dev *dev, int unit) in mt76x2_power_on_rf() argument
165 int shift = unit ? 8 : 0; in mt76x2_power_on_rf()
/kernel/linux/linux-5.10/net/nfc/nci/
H A Dspi.c48 t.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_send()
223 rx.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_read()
/kernel/linux/linux-5.10/sound/firewire/digi00x/
H A Damdtp-dot.c395 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_dot_init() argument
410 return amdtp_stream_init(s, unit, dir, flags, CIP_FMT_AM, in amdtp_dot_init()
/kernel/linux/linux-5.10/sound/firewire/fireworks/
H A Dfireworks_command.c144 err = snd_efw_transaction_run(efw->unit, buf, cmd_bytes, in efw_transaction()
154 dev_err(&efw->unit->device, "EFW command failed [%u/%u]: %s\n", in efw_transaction()
H A Dfireworks_hwdep.c180 if (snd_efw_transaction_cmd(efw->unit, buf, count) < 0) in hwdep_write()
208 struct fw_device *dev = fw_parent_device(efw->unit); in hwdep_get_info()
/kernel/linux/linux-5.10/sound/firewire/
H A Damdtp-am824.c411 * @unit: the target of the stream
415 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_am824_init() argument
425 return amdtp_stream_init(s, unit, dir, flags, CIP_FMT_AM, in amdtp_am824_init()
/kernel/linux/linux-5.10/include/rdma/
H A Drdma_vt.h435 * @unit: client specific unit number.
439 const int unit) in rvt_set_ibdev_name()
447 dev_set_name(&rdi->ibdev.dev, fmt, name, unit); in rvt_set_ibdev_name()
437 rvt_set_ibdev_name(struct rvt_dev_info *rdi, const char *fmt, const char *name, const int unit) rvt_set_ibdev_name() argument
/kernel/linux/linux-6.6/include/rdma/
H A Drdma_vt.h435 * @unit: client specific unit number.
439 const int unit) in rvt_set_ibdev_name()
447 dev_set_name(&rdi->ibdev.dev, fmt, name, unit); in rvt_set_ibdev_name()
437 rvt_set_ibdev_name(struct rvt_dev_info *rdi, const char *fmt, const char *name, const int unit) rvt_set_ibdev_name() argument
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dpci_init.c163 mt76x2_power_on_rf(struct mt76x02_dev *dev, int unit) in mt76x2_power_on_rf() argument
165 int shift = unit ? 8 : 0; in mt76x2_power_on_rf()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_common.h62 * compilation unit
237 __u16 spi_unit; /* unit number of chip we are using */
317 * If the unit is specified via open, HCA choice is fixed. If port is
421 __u16 unit; /* unit (chip) assigned to caller */ member
423 __u16 ctxt; /* ctxt on unit assigned to caller */
424 __u16 subctxt; /* subctxt on unit assigned to caller */
425 __u16 num_ctxts; /* number of ctxts available on unit */
518 __u16 unit; member
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h42 * @du: Display unit on which to update the plane.
43 * @vfb: Framebuffer which is blitted to display unit.
50 * plane update on a display unit. Implementer will define that functionality
60 * damage clips on display unit @num_hits will be passed to allocate
99 * if needed. This will be called times have damage in display unit,
114 * This is where to populate display unit update commands or blit
158 * @fifo_commit: Callback that is called once for each display unit after
161 * @clip: Callback that is called for each cliprect on each display unit.
164 * each display unit. Set up by the caller.
166 * @unit
189 struct vmw_display_unit *unit; global() member
373 unsigned unit; global() member
[all...]
/kernel/linux/linux-6.6/net/nfc/nci/
H A Dspi.c48 t.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_send()
223 rx.delay.unit = SPI_DELAY_UNIT_USECS; in __nci_spi_read()
/kernel/linux/linux-6.6/sound/firewire/
H A Damdtp-am824.c403 * @unit: the target of the stream
407 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_am824_init() argument
417 return amdtp_stream_init(s, unit, dir, flags, CIP_FMT_AM, in amdtp_am824_init()
/kernel/linux/linux-6.6/sound/firewire/digi00x/
H A Damdtp-dot.c389 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_dot_init() argument
401 return amdtp_stream_init(s, unit, dir, flags, CIP_FMT_AM, in amdtp_dot_init()
/kernel/linux/linux-6.6/sound/firewire/fireworks/
H A Dfireworks_command.c144 err = snd_efw_transaction_run(efw->unit, buf, cmd_bytes, in efw_transaction()
154 dev_err(&efw->unit->device, "EFW command failed [%u/%u]: %s\n", in efw_transaction()

Completed in 26 milliseconds

1...<<21222324252627282930>>...39