Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwtracing/intel_th/
Dmsu.c52 struct msc *msc; member
71 struct msc *msc; member
102 struct msc { struct
151 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window() argument
154 u32 reg = ioread32(msc->reg_base + REG_MSU_MSC0NWSA); in msc_oldest_window()
158 if (list_empty(&msc->win_list)) in msc_oldest_window()
166 list_for_each_entry(win, &msc->win_list, entry) { in msc_oldest_window()
178 return list_entry(msc->win_list.next, struct msc_window, entry); in msc_oldest_window()
217 return win->entry.next == &win->msc->win_list; in msc_is_last_win()
229 return list_entry(win->msc->win_list.next, struct msc_window, in msc_next_window()
[all …]
/Linux-v4.19/drivers/hid/
Dhid-magicmouse.c122 static int magicmouse_firm_touch(struct magicmouse_sc *msc) in magicmouse_firm_touch() argument
130 for (ii = 0; ii < msc->ntouches; ii++) { in magicmouse_firm_touch()
131 int idx = msc->tracking_ids[ii]; in magicmouse_firm_touch()
132 if (msc->touches[idx].size < 8) { in magicmouse_firm_touch()
145 static void magicmouse_emit_buttons(struct magicmouse_sc *msc, int state) in magicmouse_emit_buttons() argument
147 int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | in magicmouse_emit_buttons()
148 test_bit(BTN_RIGHT, msc->input->key) << 1 | in magicmouse_emit_buttons()
149 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons()
162 } else if ((id = magicmouse_firm_touch(msc)) >= 0) { in magicmouse_emit_buttons()
163 int x = msc->touches[id].x; in magicmouse_emit_buttons()
[all …]
/Linux-v4.19/drivers/crypto/nx/
Dnx.c373 struct max_sync_cop *msc; in nx_of_update_msc() local
376 msc = (struct max_sync_cop *)p->value; in nx_of_update_msc()
388 trip = msc->trip; in nx_of_update_msc()
392 i < msc->triplets; in nx_of_update_msc()
394 if (msc->fc >= NX_MAX_FC || msc->mode >= NX_MAX_MODE) { in nx_of_update_msc()
396 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
397 msc->mode); in nx_of_update_msc()
411 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
413 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
417 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
[all …]
/Linux-v4.19/arch/arm/mach-pxa/
Dsmemc.c16 static unsigned long msc[2]; variable
22 msc[0] = __raw_readl(MSC0); in pxa3xx_smemc_suspend()
23 msc[1] = __raw_readl(MSC1); in pxa3xx_smemc_suspend()
36 __raw_writel(msc[0], MSC0); in pxa3xx_smemc_resume()
37 __raw_writel(msc[1], MSC1); in pxa3xx_smemc_resume()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-intel_th-devices-msc1 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/wrap
7 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/mode
20 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/nr_pages
Dsysfs-bus-intel_th-output-devices8 What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/port
/Linux-v4.19/drivers/iio/gyro/
Ditg3200_buffer.c83 u8 msc; in itg3200_data_rdy_trigger_set_state() local
85 ret = itg3200_read_reg_8(indio_dev, ITG3200_REG_IRQ_CONFIG, &msc); in itg3200_data_rdy_trigger_set_state()
90 msc |= ITG3200_IRQ_DATA_RDY_ENABLE; in itg3200_data_rdy_trigger_set_state()
92 msc &= ~ITG3200_IRQ_DATA_RDY_ENABLE; in itg3200_data_rdy_trigger_set_state()
94 ret = itg3200_write_reg_8(indio_dev, ITG3200_REG_IRQ_CONFIG, msc); in itg3200_data_rdy_trigger_set_state()
/Linux-v4.19/drivers/iio/imu/
Dadis.c242 uint16_t msc; in adis_enable_irq() local
247 ret = adis_read_reg_16(adis, adis->data->msc_ctrl_reg, &msc); in adis_enable_irq()
251 msc |= ADIS_MSC_CTRL_DATA_RDY_POL_HIGH; in adis_enable_irq()
252 msc &= ~ADIS_MSC_CTRL_DATA_RDY_DIO2; in adis_enable_irq()
254 msc |= ADIS_MSC_CTRL_DATA_RDY_EN; in adis_enable_irq()
256 msc &= ~ADIS_MSC_CTRL_DATA_RDY_EN; in adis_enable_irq()
258 ret = adis_write_reg_16(adis, adis->data->msc_ctrl_reg, msc); in adis_enable_irq()
/Linux-v4.19/net/bluetooth/rfcomm/
Dcore.c1027 struct rfcomm_msc *msc; in rfcomm_send_msc() local
1035 hdr->len = __len8(sizeof(*mcc) + sizeof(*msc)); in rfcomm_send_msc()
1039 mcc->len = __len8(sizeof(*msc)); in rfcomm_send_msc()
1041 msc = (void *) ptr; ptr += sizeof(*msc); in rfcomm_send_msc()
1042 msc->dlci = __addr(1, dlci); in rfcomm_send_msc()
1043 msc->v24_sig = v24_sig | 0x01; in rfcomm_send_msc()
1573 struct rfcomm_msc *msc = (void *) skb->data; in rfcomm_recv_msc() local
1575 u8 dlci = __get_dlci(msc->dlci); in rfcomm_recv_msc()
1577 BT_DBG("dlci %d cr %d v24 0x%x", dlci, cr, msc->v24_sig); in rfcomm_recv_msc()
1584 if (msc->v24_sig & RFCOMM_V24_FC && !d->cfc) in rfcomm_recv_msc()
[all …]
/Linux-v4.19/arch/mips/pci/
DMakefile15 obj-$(CONFIG_MIPS_MSC) += ops-msc.o
/Linux-v4.19/drivers/net/ethernet/renesas/
Dravb.h902 u8 msc; /* MAC status code */ member
909 u8 msc; /* MAC status code */ member
Dravb_main.c559 desc_status = desc->msc; in ravb_rx()
/Linux-v4.19/arch/mips/include/asm/ip32/
Dmace.h268 volatile unsigned int msc; member
/Linux-v4.19/Documentation/trace/
Dintel_th.rst64 allocated, are accessible via /dev/intel_th0/msc{0,1}.
/Linux-v4.19/drivers/input/
Dinput.c1481 INPUT_DEV_CAP_ATTR(MSC, msc);
2008 INPUT_CLEANSE_BITMASK(dev, MSC, msc); in input_cleanse_bitmasks()
/Linux-v4.19/arch/s390/tools/
Dopcodes.txt752 e353 msc RXY_RRRD