Home
last modified time | relevance | path

Searched refs:msc (Results 1 – 8 of 8) sorted by relevance

/drivers/hwtracing/intel_th/
Dmsu.c74 struct msc *msc; member
94 struct msc *msc; member
129 struct msc { struct
306 return win->entry.next == &win->msc->win_list; in msc_is_last_win()
318 return list_first_entry(&win->msc->win_list, struct msc_window, in msc_next_window()
354 msc_find_window(struct msc *msc, struct sg_table *sgt, bool nonempty) in msc_find_window() argument
359 if (list_empty(&msc->win_list)) in msc_find_window()
367 list_for_each_entry(win, &msc->win_list, entry) { in msc_find_window()
391 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window() argument
395 if (list_empty(&msc->win_list)) in msc_oldest_window()
[all …]
/drivers/hid/
Dhid-magicmouse.c132 static int magicmouse_firm_touch(struct magicmouse_sc *msc) in magicmouse_firm_touch() argument
140 for (ii = 0; ii < msc->ntouches; ii++) { in magicmouse_firm_touch()
141 int idx = msc->tracking_ids[ii]; in magicmouse_firm_touch()
142 if (msc->touches[idx].size < 8) { in magicmouse_firm_touch()
155 static void magicmouse_emit_buttons(struct magicmouse_sc *msc, int state) in magicmouse_emit_buttons() argument
157 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons()
158 test_bit(BTN_RIGHT, msc->input->key) << 1 | in magicmouse_emit_buttons()
159 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons()
172 } else if ((id = magicmouse_firm_touch(msc)) >= 0) { in magicmouse_emit_buttons()
173 int x = msc->touches[id].x; in magicmouse_emit_buttons()
[all …]
/drivers/crypto/nx/
Dnx.c361 struct max_sync_cop *msc; in nx_of_update_msc() local
364 msc = (struct max_sync_cop *)p->value; in nx_of_update_msc()
376 trip = msc->trip; in nx_of_update_msc()
380 i < msc->triplets; in nx_of_update_msc()
382 if (msc->fc >= NX_MAX_FC || msc->mode >= NX_MAX_MODE) { in nx_of_update_msc()
384 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
385 msc->mode); in nx_of_update_msc()
399 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
401 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
405 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
[all …]
/drivers/iio/gyro/
Ditg3200_buffer.c87 u8 msc; in itg3200_data_rdy_trigger_set_state() local
89 ret = itg3200_read_reg_8(indio_dev, ITG3200_REG_IRQ_CONFIG, &msc); in itg3200_data_rdy_trigger_set_state()
94 msc |= ITG3200_IRQ_DATA_RDY_ENABLE; in itg3200_data_rdy_trigger_set_state()
96 msc &= ~ITG3200_IRQ_DATA_RDY_ENABLE; in itg3200_data_rdy_trigger_set_state()
98 ret = itg3200_write_reg_8(indio_dev, ITG3200_REG_IRQ_CONFIG, msc); in itg3200_data_rdy_trigger_set_state()
/drivers/iio/imu/
Dadis.c286 u16 msc; in __adis_enable_irq() local
300 ret = __adis_read_reg_16(adis, adis->data->msc_ctrl_reg, &msc); in __adis_enable_irq()
304 msc |= ADIS_MSC_CTRL_DATA_RDY_POL_HIGH; in __adis_enable_irq()
305 msc &= ~ADIS_MSC_CTRL_DATA_RDY_DIO2; in __adis_enable_irq()
307 msc |= ADIS_MSC_CTRL_DATA_RDY_EN; in __adis_enable_irq()
309 msc &= ~ADIS_MSC_CTRL_DATA_RDY_EN; in __adis_enable_irq()
311 return __adis_write_reg_16(adis, adis->data->msc_ctrl_reg, msc); in __adis_enable_irq()
/drivers/net/ethernet/renesas/
Dravb.h897 u8 msc; /* MAC status code */ member
904 u8 msc; /* MAC status code */ member
Dravb_main.c554 desc_status = desc->msc; in ravb_rx()
/drivers/input/
Dinput.c1517 INPUT_DEV_CAP_ATTR(MSC, msc);
2094 INPUT_CLEANSE_BITMASK(dev, MSC, msc); in input_cleanse_bitmasks()