Home
last modified time | relevance | path

Searched refs:mods (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c128 static void add_modifier(uint64_t **mods, uint64_t *size, uint64_t *cap, uint64_t mod) in add_modifier() argument
130 if (!*mods) in add_modifier()
138 kfree(*mods); in add_modifier()
139 *mods = NULL; in add_modifier()
143 memcpy(new_mods, *mods, sizeof(uint64_t) * *size); in add_modifier()
144 kfree(*mods); in add_modifier()
145 *mods = new_mods; in add_modifier()
149 (*mods)[*size] = mod; in add_modifier()
344 uint64_t **mods, uint64_t *size, uint64_t *capacity) in add_gfx10_1_modifiers() argument
348 add_modifier(mods, size, capacity, AMD_FMT_MOD | in add_gfx10_1_modifiers()
[all …]
/drivers/hid/
Dhid-wiimote-core.c624 const __u8 *mods, *iter; in wiimote_modules_load() local
628 mods = wiimote_devtype_mods[devtype]; in wiimote_modules_load()
630 for (iter = mods; *iter != WIIMOD_NULL; ++iter) { in wiimote_modules_load()
651 for (iter = mods; *iter != WIIMOD_NULL; ++iter) { in wiimote_modules_load()
673 for ( ; iter-- != mods; ) { in wiimote_modules_load()
687 const __u8 *mods, *iter; in wiimote_modules_unload() local
691 mods = wiimote_devtype_mods[wdata->state.devtype]; in wiimote_modules_unload()
698 for (iter = mods; *iter != WIIMOD_NULL; ++iter) in wiimote_modules_unload()
706 for ( ; iter-- != mods; ) { in wiimote_modules_unload()
1247 const __u8 *iter, *mods; in handler_keys() local
[all …]
/drivers/mmc/host/
Dcavium.c755 struct cvm_mmc_cr_mods mods; in cvm_mmc_request() local
776 mods = cvm_mmc_get_cr_mods(cmd); in cvm_mmc_request()
796 FIELD_PREP(MIO_EMM_CMD_CTYPE_XOR, mods.ctype_xor) | in cvm_mmc_request()
797 FIELD_PREP(MIO_EMM_CMD_RTYPE_XOR, mods.rtype_xor) | in cvm_mmc_request()
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c430 char mods[16]; in nv50_disp_mthd_list() local
433 snprintf(mods, sizeof(mods), "-> %08x", next); in nv50_disp_mthd_list()
435 snprintf(mods, sizeof(mods), "%13c", ' '); in nv50_disp_mthd_list()
439 mthd, prev, mods, name ? " // " : "", in nv50_disp_mthd_list()
/drivers/gpu/drm/i2c/
Dtda998x_drv.c450 static void cec_enamods(struct tda998x_priv *priv, u8 mods, bool enable) in cec_enamods() argument
458 val |= mods; in cec_enamods()
460 val &= ~mods; in cec_enamods()