/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clocksource/ |
H A D | sh_tmu.c | 460 ch->tmu = tmu; in sh_tmu_channel_setup() 505 if (tmu->num_channels != 2 && tmu->num_channels != 3) { in sh_tmu_parse_dt() 519 tmu->pdev = pdev; in sh_tmu_setup() 539 tmu->clk = clk_get(&tmu->pdev->dev, "fck"); in sh_tmu_setup() 554 tmu->rate = clk_get_rate(tmu->clk) / 4; in sh_tmu_setup() 565 tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), in sh_tmu_setup() 607 if (tmu) { in sh_tmu_probe() 612 tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); in sh_tmu_probe() 613 if (tmu == NULL) in sh_tmu_probe() 618 kfree(tmu); in sh_tmu_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clocksource/ |
H A D | sh_tmu.c | 460 ch->tmu = tmu; in sh_tmu_channel_setup() 505 if (tmu->num_channels != 2 && tmu->num_channels != 3) { in sh_tmu_parse_dt() 519 tmu->pdev = pdev; in sh_tmu_setup() 539 tmu->clk = clk_get(&tmu->pdev->dev, "fck"); in sh_tmu_setup() 554 tmu->rate = clk_get_rate(tmu->clk) / 4; in sh_tmu_setup() 565 tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), in sh_tmu_setup() 607 if (tmu) { in sh_tmu_probe() 612 tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); in sh_tmu_probe() 613 if (tmu == NULL) in sh_tmu_probe() 618 kfree(tmu); in sh_tmu_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clocksource/ |
H A D | sh_tmu.c | 460 ch->tmu = tmu; in sh_tmu_channel_setup() 505 if (tmu->num_channels != 2 && tmu->num_channels != 3) { in sh_tmu_parse_dt() 519 tmu->pdev = pdev; in sh_tmu_setup() 539 tmu->clk = clk_get(&tmu->pdev->dev, "fck"); in sh_tmu_setup() 554 tmu->rate = clk_get_rate(tmu->clk) / 4; in sh_tmu_setup() 565 tmu->channels = kcalloc(tmu->num_channels, sizeof(*tmu->channels), in sh_tmu_setup() 607 if (tmu) { in sh_tmu_probe() 612 tmu = kzalloc(sizeof(*tmu), GFP_KERNEL); in sh_tmu_probe() 613 if (tmu == NULL) in sh_tmu_probe() 618 kfree(tmu); in sh_tmu_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/thermal/ |
H A D | imx8mm_thermal.c | 131 struct imx8mm_tmu *tmu; in imx8mm_tmu_probe() local 137 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe() 139 if (!tmu) in imx8mm_tmu_probe() 142 tmu->socdata = data; in imx8mm_tmu_probe() 145 if (IS_ERR(tmu->base)) in imx8mm_tmu_probe() 146 return PTR_ERR(tmu->base); in imx8mm_tmu_probe() 149 if (IS_ERR(tmu->clk)) in imx8mm_tmu_probe() 163 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe() 164 tmu->sensors[i].tzd = in imx8mm_tmu_probe() 166 &tmu->sensors[i], in imx8mm_tmu_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/thermal/ |
H A D | imx8mm_thermal.c | 131 struct imx8mm_tmu *tmu; in imx8mm_tmu_probe() local 137 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe() 139 if (!tmu) in imx8mm_tmu_probe() 142 tmu->socdata = data; in imx8mm_tmu_probe() 145 if (IS_ERR(tmu->base)) in imx8mm_tmu_probe() 146 return PTR_ERR(tmu->base); in imx8mm_tmu_probe() 149 if (IS_ERR(tmu->clk)) in imx8mm_tmu_probe() 163 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe() 164 tmu->sensors[i].tzd = in imx8mm_tmu_probe() 166 &tmu->sensors[i], in imx8mm_tmu_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/thermal/ |
H A D | imx8mm_thermal.c | 131 struct imx8mm_tmu *tmu; in imx8mm_tmu_probe() local 137 tmu = devm_kzalloc(&pdev->dev, struct_size(tmu, sensors, in imx8mm_tmu_probe() 139 if (!tmu) in imx8mm_tmu_probe() 142 tmu->socdata = data; in imx8mm_tmu_probe() 145 if (IS_ERR(tmu->base)) in imx8mm_tmu_probe() 146 return PTR_ERR(tmu->base); in imx8mm_tmu_probe() 149 if (IS_ERR(tmu->clk)) in imx8mm_tmu_probe() 163 tmu->sensors[i].priv = tmu; in imx8mm_tmu_probe() 164 tmu->sensors[i].tzd = in imx8mm_tmu_probe() 166 &tmu->sensors[i], in imx8mm_tmu_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/devicetree/bindings/timer/ |
H A D | renesas,tmu.yaml | 25 - renesas,tmu-r8a774a1 # RZ/G2M 26 - renesas,tmu-r8a774b1 # RZ/G2N 27 - renesas,tmu-r8a774c0 # RZ/G2E 28 - renesas,tmu-r8a774e1 # RZ/G2H 30 - renesas,tmu-r8a7779 # R-Car H1 31 - renesas,tmu-r8a7795 # R-Car H3 39 - const: renesas,tmu 81 - renesas,tmu-r8a7740 82 - renesas,tmu-r8a7778 83 - renesas,tmu-r8a7779 [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/Documentation/devicetree/bindings/timer/ |
H A D | renesas,tmu.yaml | 25 - renesas,tmu-r8a774a1 # RZ/G2M 26 - renesas,tmu-r8a774b1 # RZ/G2N 27 - renesas,tmu-r8a774c0 # RZ/G2E 28 - renesas,tmu-r8a774e1 # RZ/G2H 30 - renesas,tmu-r8a7779 # R-Car H1 31 - renesas,tmu-r8a7795 # R-Car H3 39 - const: renesas,tmu 81 - renesas,tmu-r8a7740 82 - renesas,tmu-r8a7778 83 - renesas,tmu-r8a7779 [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/Documentation/devicetree/bindings/timer/ |
H A D | renesas,tmu.yaml | 25 - renesas,tmu-r8a774a1 # RZ/G2M 26 - renesas,tmu-r8a774b1 # RZ/G2N 27 - renesas,tmu-r8a774c0 # RZ/G2E 28 - renesas,tmu-r8a774e1 # RZ/G2H 30 - renesas,tmu-r8a7779 # R-Car H1 31 - renesas,tmu-r8a7795 # R-Car H3 39 - const: renesas,tmu 81 - renesas,tmu-r8a7740 82 - renesas,tmu-r8a7778 83 - renesas,tmu-r8a7779 [all …]
|
/dports/irc/atheme-services/atheme-7.2.9/modules/memoserv/ |
H A D | forward.c | 37 myuser_t *tmu; in ms_cmd_forward() local 74 if (!(tmu = myuser_find_ext(target))) in ms_cmd_forward() 81 if (si->smu == tmu) in ms_cmd_forward() 95 if (tmu->flags & MU_NOMEMO) in ms_cmd_forward() 111 if (tmu->memos.count >= me.mdlimit) in ms_cmd_forward() 130 MOWGLI_ITER_FOREACH(n, tmu->memo_ignores.head) in ms_cmd_forward() 169 mowgli_node_add(newmemo, temp, &tmu->memos); in ms_cmd_forward() 170 tmu->memoct_new++; in ms_cmd_forward() 173 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_forward() 175 sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_forward() [all …]
|
H A D | send.c | 40 myuser_t *tmu; in ms_cmd_send() local 102 if (!(tmu = myuser_find_ext(target))) in ms_cmd_send() 114 if (tmu->flags & MU_NOMEMO) in ms_cmd_send() 123 if (tmu->memos.count >= *maxmemos) in ms_cmd_send() 132 MOWGLI_ITER_FOREACH(n, tmu->memo_ignores.head) in ms_cmd_send() 162 mowgli_node_add(memo, n, &tmu->memos); in ms_cmd_send() 163 tmu->memoct_new++; in ms_cmd_send() 166 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_send() 168 sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_send() 178 if (tu != NULL && tu->myuser == tmu) in ms_cmd_send() [all …]
|
H A D | sendops.c | 38 myuser_t *tmu; in ms_cmd_sendops() local 120 tmu = isuser(ca->entity) ? user(ca->entity) : NULL; /* XXX */ in ms_cmd_sendops() 122 if (!(ca->level & (CA_OP | CA_AUTOOP)) || tmu == NULL || tmu == si->smu) in ms_cmd_sendops() 128 if (tmu->flags & MU_NOMEMO) in ms_cmd_sendops() 132 if (tmu->memos.count >= *maxmemos) in ms_cmd_sendops() 140 MOWGLI_ITER_FOREACH(n, tmu->memo_ignores.head) in ms_cmd_sendops() 167 mowgli_node_add(memo, n, &tmu->memos); in ms_cmd_sendops() 168 tmu->memoct_new++; in ms_cmd_sendops() 171 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_sendops() 173 sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_sendops() [all …]
|
H A D | sendgroup.c | 39 myuser_t *tmu; in ms_cmd_sendgroup() local 109 tmu = user(ga->mt); in ms_cmd_sendgroup() 111 if (!(ga->flags & GA_MEMOS) || tmu == NULL || tmu == si->smu) in ms_cmd_sendgroup() 117 if (tmu->flags & MU_NOMEMO) in ms_cmd_sendgroup() 121 if (tmu->memos.count >= *maxmemos) in ms_cmd_sendgroup() 129 MOWGLI_ITER_FOREACH(n, tmu->memo_ignores.head) in ms_cmd_sendgroup() 156 mowgli_node_add(memo, n, &tmu->memos); in ms_cmd_sendgroup() 157 tmu->memoct_new++; in ms_cmd_sendgroup() 160 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_sendgroup() 162 sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_sendgroup() [all …]
|
H A D | sendall.c | 98 myuser_t *tmu = user(mt); in ms_cmd_sendall() local 100 if (tmu == si->smu) in ms_cmd_sendall() 106 if (tmu->flags & MU_NOMEMO) in ms_cmd_sendall() 110 if (tmu->memos.count >= *maxmemos) in ms_cmd_sendall() 118 MOWGLI_ITER_FOREACH(n, tmu->memo_ignores.head) in ms_cmd_sendall() 145 mowgli_node_add(memo, n, &tmu->memos); in ms_cmd_sendall() 146 tmu->memoct_new++; in ms_cmd_sendall() 149 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_sendall() 151 sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_sendall() 160 …myuser_notice(memoserv->nick, tmu, "You have a new memo from %s (%zu).", entity(si->smu)->name, MO… in ms_cmd_sendall() [all …]
|
H A D | read.c | 38 myuser_t *tmu; in ms_cmd_read() local 94 tmu = myuser_find(memo->sender); in ms_cmd_read() 100 … else if (strcasecmp(si->service->nick, memo->sender) && (tmu != NULL) && (tmu->logins.count > 0)) in ms_cmd_read() 101 …myuser_notice(si->service->me->nick, tmu, "%s has read your memo, which was sent at %s", entity(si… in ms_cmd_read() 105 …if ( (tmu != NULL) && (tmu->memos.count < me.mdlimit) && strcasecmp(si->service->nick, memo->sende… in ms_cmd_read() 116 mowgli_node_add(receipt, n, &tmu->memos); in ms_cmd_read() 117 tmu->memoct_new++; in ms_cmd_read()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tmu.c | 18 switch (sw->tmu.rate) { in tb_switch_tmu_mode_name() 26 if (sw->tmu.unidirectional) in tb_switch_tmu_mode_name() 46 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_ucap_supported() 59 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_read() 106 if (!port->sw->tmu.has_ucap) in tb_port_tmu_set_unidirectional() 168 sw->tmu.cap = ret; in tb_switch_tmu_init() 182 sw->tmu.rate = ret; in tb_switch_tmu_init() 185 if (sw->tmu.has_ucap) { in tb_switch_tmu_init() 191 sw->tmu.unidirectional = in tb_switch_tmu_init() 223 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tmu.c | 18 switch (sw->tmu.rate) { in tb_switch_tmu_mode_name() 26 if (sw->tmu.unidirectional) in tb_switch_tmu_mode_name() 46 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_ucap_supported() 59 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_read() 106 if (!port->sw->tmu.has_ucap) in tb_port_tmu_set_unidirectional() 168 sw->tmu.cap = ret; in tb_switch_tmu_init() 182 sw->tmu.rate = ret; in tb_switch_tmu_init() 185 if (sw->tmu.has_ucap) { in tb_switch_tmu_init() 191 sw->tmu.unidirectional = in tb_switch_tmu_init() 223 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/thunderbolt/ |
H A D | tmu.c | 18 switch (sw->tmu.rate) { in tb_switch_tmu_mode_name() 26 if (sw->tmu.unidirectional) in tb_switch_tmu_mode_name() 46 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_tmu_ucap_supported() 59 sw->tmu.cap + TMU_RTR_CS_3, 1); in tb_switch_tmu_rate_read() 106 if (!port->sw->tmu.has_ucap) in tb_port_tmu_set_unidirectional() 168 sw->tmu.cap = ret; in tb_switch_tmu_init() 182 sw->tmu.rate = ret; in tb_switch_tmu_init() 185 if (sw->tmu.has_ucap) { in tb_switch_tmu_init() 191 sw->tmu.unidirectional = in tb_switch_tmu_init() 223 if (!root_switch->tmu.cap) in tb_switch_tmu_post_time() [all …]
|
/dports/irc/atheme-services/atheme-7.2.9/modules/contrib/ |
H A D | ms_fsend.c | 43 myuser_t *tmu; in ms_cmd_fsend() local 104 if (!(tmu = myuser_find_ext(target))) in ms_cmd_fsend() 116 if (tmu->memos.count >= me.mdlimit) in ms_cmd_fsend() 123 logcommand(si, CMDLOG_ADMIN, "FSEND: to \2%s\2", entity(tmu)->name); in ms_cmd_fsend() 135 mowgli_node_add(memo, n, &tmu->memos); in ms_cmd_fsend() 136 tmu->memoct_new++; in ms_cmd_fsend() 139 if (tmu->flags & MU_EMAILMEMOS) in ms_cmd_fsend() 141 compat_sendemail(si->su, tmu, EMAIL_MEMO, tmu->email, memo->text); in ms_cmd_fsend() 151 if (tu != NULL && tu->myuser == tmu) in ms_cmd_fsend() 156 …myuser_notice(memoserv->nick, tmu, "You have a new memo from %s (%zu).", entity(si->smu)->name, MO… in ms_cmd_fsend() [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libpixelflinger/codeflinger/ |
H A D | texturing.cpp | 269 texture_unit_t& tmu = mTextureMachine.tmu[i]; in decodeTMUNeeds() local 278 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds() 279 tmu.bits = tmu.format.size*8; in decodeTMUNeeds() 296 if (tmu.format.c[0].h) tmu.mask |= 0x1; in decodeTMUNeeds() 297 if (tmu.format.c[1].h) tmu.mask |= 0x2; in decodeTMUNeeds() 298 if (tmu.format.c[2].h) tmu.mask |= 0x4; in decodeTMUNeeds() 299 if (tmu.format.c[3].h) tmu.mask |= 0x8; in decodeTMUNeeds() 338 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in init_textures() local 407 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_textures() local 431 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_textures() local [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libpixelflinger/codeflinger/ |
H A D | texturing.cpp | 269 texture_unit_t& tmu = mTextureMachine.tmu[i]; in decodeTMUNeeds() local 278 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds() 279 tmu.bits = tmu.format.size*8; in decodeTMUNeeds() 296 if (tmu.format.c[0].h) tmu.mask |= 0x1; in decodeTMUNeeds() 297 if (tmu.format.c[1].h) tmu.mask |= 0x2; in decodeTMUNeeds() 298 if (tmu.format.c[2].h) tmu.mask |= 0x4; in decodeTMUNeeds() 299 if (tmu.format.c[3].h) tmu.mask |= 0x8; in decodeTMUNeeds() 338 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in init_textures() local 407 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_textures() local 431 const texture_unit_t& tmu = mTextureMachine.tmu[i]; in build_textures() local [all …]
|
/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/ |
H A D | vid_voodoo.c | 2028 state->lod = state->tmu[tmu].lod; in voodoo_tmu_fetch() 3401 state.tmu[0].base_s = params->tmu[0].startS; in voodoo_triangle() 3402 state.tmu[0].base_t = params->tmu[0].startT; in voodoo_triangle() 3403 state.tmu[0].base_w = params->tmu[0].startW; in voodoo_triangle() 3404 state.tmu[1].base_s = params->tmu[1].startS; in voodoo_triangle() 3405 state.tmu[1].base_t = params->tmu[1].startT; in voodoo_triangle() 3406 state.tmu[1].base_w = params->tmu[1].startW; in voodoo_triangle() 3479 …tempdx = (params->tmu[0].dSdX >> 14) * (params->tmu[0].dSdX >> 14) + (params->tmu[0].dTdX >> 14) *… in voodoo_triangle() 3480 …tempdy = (params->tmu[0].dSdY >> 14) * (params->tmu[0].dSdY >> 14) + (params->tmu[0].dTdY >> 14) *… in voodoo_triangle() 3496 …tempdx = (params->tmu[1].dSdX >> 14) * (params->tmu[1].dSdX >> 14) + (params->tmu[1].dTdX >> 14) *… in voodoo_triangle() [all …]
|
/dports/sysutils/u-boot-utilite/u-boot-2015.07/arch/sh/lib/ |
H A D | time.c | 21 static struct tmu_regs *tmu = (struct tmu_regs *)TMU_BASE; variable 31 return ~readl(&tmu->tcnt0); in timer_read_counter() 38 writeb(readb(&tmu->tstr) | (1 << timer), &tmu->tstr); in tmu_timer_start() 45 writeb(readb(&tmu->tstr) & ~(1 << timer), &tmu->tstr); in tmu_timer_stop() 51 writew((readw(&tmu->tcr0) & ~TCR_TPSC) | tmu_bit, &tmu->tcr0); in timer_init()
|
/dports/games/q2pro/q2pro/ref_newgl/ |
H A D | gl_state.c | 26 if( gls.texnum[gls.tmu] == texnum ) { in GL_BindTexture() 32 gls.texnum[gls.tmu] = texnum; in GL_BindTexture() 35 void GL_SelectTMU( int tmu ) { in GL_SelectTMU() argument 36 if( gls.tmu == tmu ) { in GL_SelectTMU() 40 if( tmu < 0 || tmu >= gl_static.numTextureUnits ) { in GL_SelectTMU() 41 Com_Error( ERR_FATAL, "GL_SelectTMU: bad tmu %d", tmu ); in GL_SelectTMU() 44 qglActiveTextureARB( GL_TEXTURE0_ARB + tmu ); in GL_SelectTMU() 45 qglClientActiveTextureARB( GL_TEXTURE0_ARB + tmu ); in GL_SelectTMU() 47 gls.tmu = tmu; in GL_SelectTMU() 51 if( gls.texenv[gls.tmu] == texenv ) { in GL_TexEnv() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/Documentation/devicetree/bindings/thermal/ |
H A D | qoriq-thermal.yaml | 22 - fsl,qoriq-tmu 23 - fsl,imx8mq-tmu 31 fsl,tmu-range: 38 fsl,tmu-calibration: 68 - fsl,tmu-range 69 - fsl,tmu-calibration 76 tmu@f0000 { 77 compatible = "fsl,qoriq-tmu"; 80 fsl,tmu-range = <0x000a0000 0x00090026 0x0008004a 0x0001006a>; 81 fsl,tmu-calibration = <0x00000000 0x00000025>,
|