Home
last modified time | relevance | path

Searched refs:unit (Results 1101 - 1125 of 1626) sorted by relevance

1...<<41424344454647484950>>...66

/kernel/linux/linux-6.6/include/net/
H A Ddevlink.h339 * @resource_units: number of resource's unit consumed per table's entry
392 * @unit: resource's basic unit
398 enum devlink_resource_unit unit; member
405 enum devlink_resource_unit unit) in devlink_resource_size_params_init()
410 size_params->unit = unit; in devlink_resource_size_params_init()
402 devlink_resource_size_params_init(struct devlink_resource_size_params *size_params, u64 size_min, u64 size_max, u64 size_granularity, enum devlink_resource_unit unit) devlink_resource_size_params_init() argument
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_alias.c33 * - A summary unit check is a rare occasion, but it is mandatory to
307 * This function assumes that the unit address configuration stored
322 private->uid.type = lcu->uac->unit[private->uid.real_unit_addr].ua_type; in _add_device_to_lcu()
324 lcu->uac->unit[private->uid.real_unit_addr].base_ua; in _add_device_to_lcu()
439 prssdp->suborder = 0x0e; /* Read unit address configuration */ in read_unit_address_configuration()
459 /* need to unset flag here to detect race with summary unit check */ in read_unit_address_configuration()
524 switch (lcu->uac->unit[i].ua_type) { in _lcu_update()
633 if (private->uid.type != lcu->uac->unit[uaddr].ua_type) { in dasd_alias_add_device()
732 * Summary unit check handling depends on the way alias devices
919 /* 2. reset summary unit chec in summary_unit_check_handling_work()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c1187 int unit = dd->unit; variable
1192 snprintf(name, sizeof(name), "%s_%d", class_name(), unit);
1193 snprintf(link, sizeof(link), "%d", unit);
H A Ddriver.c1373 * @unit: the device to reset
1380 int hfi1_reset_device(int unit) in hfi1_reset_device() argument
1383 struct hfi1_devdata *dd = hfi1_lookup(unit); in hfi1_reset_device()
1392 dd_dev_info(dd, "Reset on unit %u requested\n", unit); in hfi1_reset_device()
1396 "Invalid unit number %u or not initialized or not present\n", in hfi1_reset_device()
1397 unit); in hfi1_reset_device()
1426 "Reinitialize unit %u after reset failed with %d\n", in hfi1_reset_device()
1427 unit, ret); in hfi1_reset_device()
1429 dd_dev_info(dd, "Reinitialized unit in hfi1_reset_device()
[all...]
/third_party/libinput/test/
H A Dtest-utils.c775 const char *unit; in START_TEST() member
791 for (int i = 0; tests[i].unit != NULL; i++) { in START_TEST()
796 ck_assert_str_eq(ht.unit, tests[i].unit); in START_TEST()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomp.rs160 /// allocation unit. See 9.2.4 [class.bit] in the C++ standard and [section
171 /// Get the 1-based index of this bitfield unit within its containing
172 /// struct. Useful for generating a Rust struct's field name for this unit
183 /// Get the bitfields within this unit.
195 /// A physical allocation unit containing many logical bitfields.
250 <td>bitfield unit</td> in dot_attributes()
254 <td>unit.size</td><td>{}</td> in dot_attributes()
257 <td>unit.align</td><td>{}</td> in dot_attributes()
308 /// A logical bitfield within some physical bitfield allocation unit.
311 /// Index of the bit within this bitfield's allocation unit wher
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DState.h302 // Texture binding & active texture unit manipulation
759 size_t unit,
767 const ImageUnit &getImageUnit(size_t unit) const { return mImageUnits[unit]; } in getImageUnit()
777 void onImageStateChange(const Context *context, size_t unit);
1056 GLint mActiveSampler; // Active texture unit selector - GL_TEXTURE0
/third_party/skia/tests/
H A DPictureTest.cpp77 SkScalar unit = rand.nextUScalar1(); in rand_op() local
78 if (unit <= 0.3) { in rand_op()
81 } else if (unit <= 0.6) { in rand_op()
84 } else if (unit <= 0.9) { in rand_op()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dsdma_v5_2.c508 unsigned unit = 0; in sdma_v5_2_ctx_switch_enable() local
513 unit++; in sdma_v5_2_ctx_switch_enable()
515 if (unit > (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_2_ctx_switch_enable()
519 unit = (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_2_ctx_switch_enable()
523 value << unit); in sdma_v5_2_ctx_switch_enable()
527 unit << SDMA0_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v5_2_ctx_switch_enable()
H A Dsdma_v5_0.c570 unsigned unit = 0; in sdma_v5_0_ctx_switch_enable() local
575 unit++; in sdma_v5_0_ctx_switch_enable()
577 if (unit > (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_0_ctx_switch_enable()
581 unit = (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_0_ctx_switch_enable()
585 value << unit); in sdma_v5_0_ctx_switch_enable()
589 unit << SDMA0_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v5_0_ctx_switch_enable()
H A Dsdma_v3_0.c561 unsigned unit = 0; in sdma_v3_0_ctx_switch_enable() local
566 unit++; in sdma_v3_0_ctx_switch_enable()
568 if (unit > (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v3_0_ctx_switch_enable()
572 unit = (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v3_0_ctx_switch_enable()
576 value << unit); in sdma_v3_0_ctx_switch_enable()
580 unit << SDMA0_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v3_0_ctx_switch_enable()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
H A D3c515.c360 static struct net_device *corkscrew_scan(int unit);
421 struct net_device *tc515_probe(int unit) in tc515_probe() argument
423 struct net_device *dev = corkscrew_scan(unit); in tc515_probe()
470 static struct net_device *corkscrew_scan(int unit) in corkscrew_scan() argument
485 if (unit >= 0) { in corkscrew_scan()
486 sprintf(dev->name, "eth%d", unit); in corkscrew_scan()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Ddriver.c1420 * @unit: the device to reset
1427 int hfi1_reset_device(int unit) in hfi1_reset_device() argument
1430 struct hfi1_devdata *dd = hfi1_lookup(unit); in hfi1_reset_device()
1439 dd_dev_info(dd, "Reset on unit %u requested\n", unit); in hfi1_reset_device()
1443 "Invalid unit number %u or not initialized or not present\n", in hfi1_reset_device()
1444 unit); in hfi1_reset_device()
1473 "Reinitialize unit %u after reset failed with %d\n", in hfi1_reset_device()
1474 unit, ret); in hfi1_reset_device()
1476 dd_dev_info(dd, "Reinitialized unit in hfi1_reset_device()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c200 * disconnect CCBs for this unit as aborted. in sym_set_cam_result_error()
841 * It was the last unit for this target. in sym53c8xx_slave_destroy()
1232 static struct Scsi_Host *sym_attach(struct scsi_host_template *tpnt, int unit, in sym_attach() argument
1244 unit, dev->chip.name, pdev->revision, pci_name(pdev), in sym_attach()
1280 np->s.unit = unit; in sym_attach()
1295 sprintf(np->s.inst_name, "sym%d", np->s.unit); in sym_attach()
1370 printf_info("sym%d: giving up ...\n", unit); in sym_attach()
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
H A D3c515.c362 static struct net_device *corkscrew_scan(int unit);
424 struct net_device *tc515_probe(int unit) in tc515_probe() argument
426 struct net_device *dev = corkscrew_scan(unit); in tc515_probe()
473 static struct net_device *corkscrew_scan(int unit) in corkscrew_scan() argument
488 if (unit >= 0) { in corkscrew_scan()
489 sprintf(dev->name, "eth%d", unit); in corkscrew_scan()
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c197 * disconnect CCBs for this unit as aborted. in sym_set_cam_result_error()
836 * It was the last unit for this target. in sym53c8xx_slave_destroy()
1227 static struct Scsi_Host *sym_attach(const struct scsi_host_template *tpnt, int unit, in sym_attach() argument
1239 unit, dev->chip.name, pdev->revision, pci_name(pdev), in sym_attach()
1275 np->s.unit = unit; in sym_attach()
1290 sprintf(np->s.inst_name, "sym%d", np->s.unit); in sym_attach()
1365 printf_info("sym%d: giving up ...\n", unit); in sym_attach()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dsdma_v4_4_2.c516 unsigned unit = 0; in sdma_v4_4_2_inst_ctx_switch_enable() local
521 unit++; in sdma_v4_4_2_inst_ctx_switch_enable()
523 if (unit > (SDMA_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v4_4_2_inst_ctx_switch_enable()
527 unit = (SDMA_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v4_4_2_inst_ctx_switch_enable()
531 value << unit); in sdma_v4_4_2_inst_ctx_switch_enable()
535 unit << SDMA_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v4_4_2_inst_ctx_switch_enable()
H A Dsdma_v5_0.c601 unsigned unit = 0; in sdma_v5_0_ctx_switch_enable() local
606 unit++; in sdma_v5_0_ctx_switch_enable()
608 if (unit > (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_0_ctx_switch_enable()
612 unit = (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_0_ctx_switch_enable()
616 value << unit); in sdma_v5_0_ctx_switch_enable()
620 unit << SDMA0_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v5_0_ctx_switch_enable()
H A Dsdma_v5_2.c406 unsigned unit = 0; in sdma_v5_2_ctx_switch_enable() local
411 unit++; in sdma_v5_2_ctx_switch_enable()
413 if (unit > (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_2_ctx_switch_enable()
417 unit = (SDMA0_PHASE0_QUANTUM__UNIT_MASK >> in sdma_v5_2_ctx_switch_enable()
421 value << unit); in sdma_v5_2_ctx_switch_enable()
425 unit << SDMA0_PHASE0_QUANTUM__UNIT__SHIFT; in sdma_v5_2_ctx_switch_enable()
/third_party/backends/backend/
H A Dqcam.c1269 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_NONE; in init_options()
1279 s->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in init_options()
1307 s->opt[OPT_TL_X].unit = SANE_UNIT_PIXEL; in init_options()
1317 s->opt[OPT_TL_Y].unit = SANE_UNIT_PIXEL; in init_options()
1327 s->opt[OPT_BR_X].unit = SANE_UNIT_PIXEL; in init_options()
1337 s->opt[OPT_BR_Y].unit = SANE_UNIT_PIXEL; in init_options()
/third_party/mesa3d/src/mesa/main/
H A Dattrib.c268 * texture unit where they are bound. This decreases CPU overhead. in _mesa_PushAttrib()
493 /* texture unit enables */ in pop_enable_group()
497 const struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[i]; in pop_enable_group() local
498 const GLbitfield old_enabled = unit->Enabled; in pop_enable_group()
499 const GLbitfield old_gen_enabled = unit->TexGenEnabled; in pop_enable_group()
540 /* Restore fixed-function texture unit states. */ in pop_texture_group()
542 const struct gl_fixedfunc_texture_unit *unit = in pop_texture_group() local
550 memcpy(destUnit, unit, sizeof(*unit)); in pop_texture_group()
/third_party/skia/third_party/externals/libpng/
H A Dpng.h704 #define PNG_SCALE_UNKNOWN 0 /* unknown unit (image scale) */
710 #define PNG_RESOLUTION_UNKNOWN 0 /* pixels/unknown unit (aspect ratio) */
2153 png_const_inforp info_ptr, int *unit, double *width, double *height))
2162 (png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit,
2166 (png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit,
2170 png_inforp info_ptr, int unit, double width, double height))
2172 png_inforp info_ptr, int unit, png_fixed_point width,
2175 png_inforp info_ptr, int unit,
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c511 int unit = 60, pad = 2, j = TT.ticks; in string_field() local
514 if (which!=PS_TIME_) unit *= 60*24; in string_field()
523 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out; in string_field()
525 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit)); in string_field()
529 seconds %= unit; in string_field()
530 unit /= j ? 60 : 24; in string_field()
/third_party/toybox/toys/posix/
H A Dps.c554 int unit = 60, pad = 2, j = TT.ticks; in string_field() local
557 if (which!=PS_TIME_) unit *= 60*24; in string_field()
566 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out; in string_field()
568 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit)); in string_field()
572 seconds %= unit; in string_field()
573 unit /= j ? 60 : 24; in string_field()
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm_tis_spi_cr50.c138 .unit = SPI_DELAY_UNIT_USECS in cr50_wake_if_needed()

Completed in 57 milliseconds

1...<<41424344454647484950>>...66