Home
last modified time | relevance | path

Searched refs:ty (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/rust/kernel/
Dioctl.rs13 const fn _IOC(dir: u32, ty: u32, nr: u32, size: usize) -> u32 { in _IOC()
15 build_assert!(ty <= uapi::_IOC_TYPEMASK); in _IOC()
20 | (ty << uapi::_IOC_TYPESHIFT) in _IOC()
27 pub const fn _IO(ty: u32, nr: u32) -> u32 { in _IO()
28 _IOC(uapi::_IOC_NONE, ty, nr, 0) in _IO()
33 pub const fn _IOR<T>(ty: u32, nr: u32) -> u32 { in _IOR()
34 _IOC(uapi::_IOC_READ, ty, nr, core::mem::size_of::<T>()) in _IOR()
39 pub const fn _IOW<T>(ty: u32, nr: u32) -> u32 { in _IOW()
40 _IOC(uapi::_IOC_WRITE, ty, nr, core::mem::size_of::<T>()) in _IOW()
45 pub const fn _IOWR<T>(ty: u32, nr: u32) -> u32 { in _IOWR()
[all …]
Dinit.rs275 (let $var:ident $(: $t:ty)? = $val:expr) => {
351 (let $var:ident $(: $t:ty)? = $val:expr) => {
356 (let $var:ident $(: $t:ty)? =? $val:expr) => {
559 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
616 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
630 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
632 }? $err:ty) => {
665 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
716 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
730 ($(&$this:ident in)? $t:ident $(::<$($generics:ty),* $(,)?>)? {
[all …]
Dlib.rs143 ($ptr:expr, $type:ty, $($f:tt)*) => {{
Dworkqueue.rs498 HasWork<$work_type:ty $(, $id:tt)?>
499 for $self:ty
/linux-6.12.1/drivers/media/radio/
Dradio-typhoon.c78 struct typhoon *ty = kzalloc(sizeof(*ty), GFP_KERNEL); in typhoon_alloc() local
80 return ty ? &ty->isa : NULL; in typhoon_alloc()
113 struct typhoon *ty = container_of(isa, struct typhoon, isa); in typhoon_s_mute_volume() local
122 if (vol == 0 && !ty->muted) { in typhoon_s_mute_volume()
123 ty->muted = true; in typhoon_s_mute_volume()
126 if (vol && ty->muted) { in typhoon_s_mute_volume()
127 ty->muted = false; in typhoon_s_mute_volume()
/linux-6.12.1/lib/crypto/
Darc4.c41 u32 ty, ta, tb; in arc4_crypt() local
59 ty = (y + ta) & 0xff; in arc4_crypt()
60 tb = S[ty]; in arc4_crypt()
64 y = ty; in arc4_crypt()
/linux-6.12.1/fs/smb/common/
Dcifs_arc4.c44 u32 ty, ta, tb; in cifs_arc4_crypt() local
62 ty = (y + ta) & 0xff; in cifs_arc4_crypt()
63 tb = S[ty]; in cifs_arc4_crypt()
67 y = ty; in cifs_arc4_crypt()
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_param_shading.c119 int ty, src_y0, src_y1; in crop_and_interpolate() local
126 ty = out_start_row + i * out_cell_size; in crop_and_interpolate()
130 src_y0 = ty / (int)in_cell_size; in crop_and_interpolate()
132 src_y1 = (ty + out_cell_size) / in_cell_size; in crop_and_interpolate()
137 ty = min(clamp(ty, 0, (int)sensor_height - 1), in crop_and_interpolate()
144 dy0 = ty - sy0; in crop_and_interpolate()
145 dy1 = sy1 - ty; in crop_and_interpolate()
/linux-6.12.1/rust/kernel/list/
Dimpl_list_item_mod.rs46 for $self:ident $(<$($selfarg:ty),*>)?
87 HasSelfPtr<$item_type:ty $(, $id:tt)?>
88 for $self:ident $(<$($selfarg:ty),*>)?
123 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty {
187 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty {
Darc_field.rs70 ($pub:vis fn $name:ident(&self $(<$id:tt>)?) -> &$typ:ty { $field:ident }
82 ($pub:vis fn $name:ident(&mut self $(<$id:tt>)?) -> &mut $typ:ty { $field:ident }
Darc.rs86 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty { untracked; } $($rest:tt)*) => {
94 (impl$({$($generics:tt)*})? ListArcSafe<$num:tt> for $t:ty {
95 tracked_by $field:ident : $fty:ty;
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvhw/
Ddrf.h140 #define DRF_MR_X(er,ew,ty,p,o,dr,m,v) ({ \ argument
141 ty _t = DRF_RD_X(er, (p), (o), dr); \
145 #define DRF_MR_N(X,er,ew,ty,p,o,d,r ,m,v) DRF_MR_X(er, ew, ty, (p), (o), d##_##r , (m), (v)) argument
146 #define DRF_MR_I(X,er,ew,ty,p,o,d,r,i,m,v) DRF_MR_X(er, ew, ty, (p), (o), d##_##r(i), (m), (v)) argument
174 #define DRF_MV_N(X,er,ew,ty,p,o,d,r, f,v) \ argument
175 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r , DRF_SMASK(d##_##r##_##f), \
177 #define DRF_MV_I(X,er,ew,ty,p,o,d,r,i,f,v) \ argument
178 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r(i), DRF_SMASK(d##_##r##_##f), \
184 #define DRF_MD_N(X,er,ew,ty,p,o,d,r, f,v) \ argument
185 NVVAL_GET_X(DRF_MR_X(er, ew, ty, (p), (o), d##_##r , DRF_SMASK(d##_##r##_##f), \
[all …]
/linux-6.12.1/rust/kernel/init/
Dmacros.rs635 @fields_munch($field:ident : $type:ty, $($rest:tt)*),
670 @fields_munch($field:ident : $type:ty, $($rest:tt)*),
981 @pinned($($(#[$($p_attr:tt)*])* $pvis:vis $p_field:ident : $p_type:ty),* $(,)?),
982 @not_pinned($($(#[$($attr:tt)*])* $fvis:vis $field:ident : $type:ty),* $(,)?),
1034 @error($err:ty),
1059 @error($err:ty),
1084 @error($err:ty),
1109 @error($err:ty),
1381 $field:ident : $field_ty:ty
/linux-6.12.1/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c368 int i, x, tx, y, ty; in cedrus_h265_write_tiles() local
382 for (y = 0, ty = 0; ty < pps->num_tile_rows_minus1 + 1; ty++) { in cedrus_h265_write_tiles()
383 if (y + pps->row_height_minus1[ty] + 1 > ctb_addr_y) in cedrus_h265_write_tiles()
386 y += pps->row_height_minus1[ty] + 1; in cedrus_h265_write_tiles()
391 ((y + pps->row_height_minus1[ty]) << 16) | in cedrus_h265_write_tiles()
402 y += pps->row_height_minus1[ty++] + 1; in cedrus_h265_write_tiles()
411 ((y + pps->row_height_minus1[ty]) << 16) | in cedrus_h265_write_tiles()
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c276 u32 tx, u32 ty, u32 *hratio) in gsc_check_src_scale_info() argument
302 gsc_cal_prescaler_ratio(var, s_frame->crop.height, ty, hratio); in gsc_check_src_scale_info()
639 int tx, ty; in gsc_set_scaler_info() local
652 ty = d_frame->crop.width; in gsc_set_scaler_info()
656 ty = d_frame->crop.height; in gsc_set_scaler_info()
659 if (tx <= 0 || ty <= 0) { in gsc_set_scaler_info()
660 dev_err(dev, "Invalid target size: %dx%d", tx, ty); in gsc_set_scaler_info()
672 ty, &sc->pre_vratio); in gsc_set_scaler_info()
679 tx, ty, &sc->pre_vratio); in gsc_set_scaler_info()
685 sc->main_vratio = (s_frame->crop.height << 16) / ty; in gsc_set_scaler_info()
[all …]
Dgsc-core.h403 u32 *wratio, u32 tx, u32 ty, u32 *hratio);
/linux-6.12.1/drivers/platform/surface/aggregator/
Dssh_msgb.h118 static inline void msgb_push_frame(struct msgbuf *msgb, u8 ty, u16 len, u8 seq) in msgb_push_frame() argument
125 __msgb_push_u8(msgb, ty); /* Frame type. */ in msgb_push_frame()
Dtrace.h213 #define ssam_show_frame_type(ty) \ argument
214 __print_symbolic(ty, \
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-core.c233 int tx, ty, sx, sy; in fimc_set_scaler_info() local
237 ty = d_frame->width; in fimc_set_scaler_info()
241 ty = d_frame->height; in fimc_set_scaler_info()
243 if (tx <= 0 || ty <= 0) { in fimc_set_scaler_info()
244 dev_err(dev, "Invalid target size: %dx%d\n", tx, ty); in fimc_set_scaler_info()
261 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor); in fimc_set_scaler_info()
270 sc->main_vratio = (sy << 14) / (ty << sc->vfactor); in fimc_set_scaler_info()
273 sc->main_vratio = (sy << 8) / (ty << sc->vfactor); in fimc_set_scaler_info()
278 sc->scaleup_v = (ty >= sy) ? 1 : 0; in fimc_set_scaler_info()
/linux-6.12.1/fs/gfs2/
Dmeta_io.c445 int ty; in gfs2_journal_wipe() local
455 ty = REMOVE_META; in gfs2_journal_wipe()
459 ty = REMOVE_JDATA; in gfs2_journal_wipe()
465 gfs2_remove_from_journal(bh, ty); in gfs2_journal_wipe()
/linux-6.12.1/kernel/kcsan/
Dkcsan_test.c209 const int ty = r->access[i].type; in __report_matches() local
211 (ty & KCSAN_ACCESS_ASSERT) ? in __report_matches()
212 ((ty & KCSAN_ACCESS_WRITE) ? in __report_matches()
215 ((ty & KCSAN_ACCESS_WRITE) ? in __report_matches()
216 ((ty & KCSAN_ACCESS_COMPOUND) ? in __report_matches()
220 const bool is_atomic = (ty & KCSAN_ACCESS_ATOMIC); in __report_matches()
221 const bool is_scoped = (ty & KCSAN_ACCESS_SCOPED); in __report_matches()
/linux-6.12.1/drivers/comedi/drivers/
Djr3_pci.h262 ty, enumerator
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c592 u8 tx, ty; in vop2_afbc_transform_offset() local
612 ty = bottom_crop_line_num - act_yoffset; in vop2_afbc_transform_offset()
616 ty = vir_width - width - act_xoffset; in vop2_afbc_transform_offset()
620 ty = act_xoffset; in vop2_afbc_transform_offset()
624 ty = act_yoffset; in vop2_afbc_transform_offset()
628 ty = bottom_crop_line_num - act_yoffset; in vop2_afbc_transform_offset()
632 ty = act_xoffset; in vop2_afbc_transform_offset()
636 ty = vir_width - width - act_xoffset; in vop2_afbc_transform_offset()
640 ty = act_yoffset; in vop2_afbc_transform_offset()
645 ty &= 0x7f; in vop2_afbc_transform_offset()
[all …]
/linux-6.12.1/scripts/kconfig/
Dgconf.c853 gint ty = (gint) event->y; in on_treeview2_button_press_event() local
856 gtk_tree_view_get_path_at_pos(view, tx, ty, &path, &column, &cx, in on_treeview2_button_press_event()
969 gint ty = (gint) event->y; in on_treeview1_button_press_event() local
972 gtk_tree_view_get_path_at_pos(view, tx, ty, &path, &column, &cx, in on_treeview1_button_press_event()
/linux-6.12.1/crypto/
Decc.c1455 u64 ty[ECC_MAX_DIGITS]; in ecc_point_mult_shamir() local
1459 vli_set(ty, point->y, ndigits); in ecc_point_mult_shamir()
1460 apply_z(tx, ty, z, curve); in ecc_point_mult_shamir()
1462 xycz_add(tx, ty, rx, ry, curve); in ecc_point_mult_shamir()

12