Home
last modified time | relevance | path

Searched refs:mesg (Results 1 – 25 of 29) sorted by relevance

12

/drivers/spi/
Dspi-sh.c153 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
200 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
218 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive() argument
277 struct spi_message *mesg; in spi_sh_work() local
286 mesg = list_entry(ss->queue.next, struct spi_message, queue); in spi_sh_work()
287 list_del_init(&mesg->queue); in spi_sh_work()
290 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_work()
297 ret = spi_sh_send(ss, mesg, t); in spi_sh_work()
302 ret = spi_sh_receive(ss, mesg, t); in spi_sh_work()
306 mesg->actual_length += t->len; in spi_sh_work()
[all …]
Dspi-fsi.c383 struct spi_message *mesg) in fsi_spi_transfer_one_message() argument
386 u8 seq_slave = SPI_FSI_SEQUENCE_SEL_SLAVE(mesg->spi->chip_select + 1); in fsi_spi_transfer_one_message()
395 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message()
423 &mesg->transfers)) { in fsi_spi_transfer_one_message()
465 mesg->status = rc; in fsi_spi_transfer_one_message()
Dspi.c1813 struct spi_message *mesg; in spi_finalize_current_message() local
1818 mesg = ctlr->cur_msg; in spi_finalize_current_message()
1822 list_for_each_entry(xfer, &mesg->transfers, transfer_list) { in spi_finalize_current_message()
1829 list_for_each_entry(xfer, &mesg->transfers, transfer_list) in spi_finalize_current_message()
1832 spi_unmap_msg(ctlr, mesg); in spi_finalize_current_message()
1839 spi_res_release(ctlr, mesg); in spi_finalize_current_message()
1842 ret = ctlr->unprepare_message(ctlr, mesg); in spi_finalize_current_message()
1856 trace_spi_message_done(mesg); in spi_finalize_current_message()
1858 mesg->state = NULL; in spi_finalize_current_message()
1859 if (mesg->complete) in spi_finalize_current_message()
[all …]
Dspi-pic32-sqi.c258 struct spi_message *mesg, in pic32_sqi_one_transfer() argument
261 struct spi_device *spi = mesg->spi; in pic32_sqi_one_transfer()
/drivers/misc/sgi-gru/
Dgrukservices.c580 void *mesg) in send_noop_message() argument
586 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
616 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
638 void *mesg, int lines) in send_message_queue_full() argument
669 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
707 void *mesg, int lines) in send_message_put_nacked() argument
718 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked()
734 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked()
755 void *mesg, int lines) in send_message_failure() argument
771 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure()
[all …]
Dgrukservices.h82 void *mesg, unsigned int bytes);
/drivers/iio/dac/
Dti-dac082s085.c52 struct spi_message mesg; member
72 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd()
281 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe()
282 ti_dac->mesg.spi = spi; in ti_dac_probe()
/drivers/ata/
Dacard-ahci.c65 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
112 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
119 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
126 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
137 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
Dpata_triflex.c198 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
203 rc = ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
Dpata_cs5520.c259 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
264 rc = ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
Dpata_macio.c854 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument
859 rc = ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend()
1215 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument
1219 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend()
1319 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument
1323 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
Dlibata-core.c4995 static void ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, in ata_port_request_pm() argument
5015 ap->pm_mesg = mesg; in ata_port_request_pm()
5041 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend() argument
5043 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, false); in ata_port_suspend()
5046 static void ata_port_suspend_async(struct ata_port *ap, pm_message_t mesg) in ata_port_suspend_async() argument
5048 ata_port_request_pm(ap, mesg, 0, ata_port_suspend_ehi, true); in ata_port_suspend_async()
5082 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg) in ata_port_resume() argument
5084 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, false); in ata_port_resume()
5087 static void ata_port_resume_async(struct ata_port *ap, pm_message_t mesg) in ata_port_resume_async() argument
5089 ata_port_request_pm(ap, mesg, ATA_EH_RESET, ata_port_resume_ehi, true); in ata_port_resume_async()
[all …]
Data_piix.c986 static int piix_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in piix_pci_device_suspend() argument
992 rc = ata_host_suspend(host, mesg); in piix_pci_device_suspend()
1001 if (piix_broken_suspend() && (mesg.event & PM_EVENT_SLEEP)) { in piix_pci_device_suspend()
1016 ata_pci_device_do_suspend(pdev, mesg); in piix_pci_device_suspend()
Dsata_nv.c307 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg);
328 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg);
1198 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_adma_port_suspend() argument
1822 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_swncq_port_suspend() argument
Dlibahci.c79 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg);
2321 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend() argument
/drivers/gpio/
Dgpio-max3191x.c81 struct spi_message mesg; member
130 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked()
417 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
/drivers/video/fbdev/nvidia/
Dnvidia.c1042 static int nvidiafb_suspend_late(struct device *dev, pm_message_t mesg) in nvidiafb_suspend_late() argument
1047 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend_late()
1048 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend_late()
1050 par->pm_state = mesg.event; in nvidiafb_suspend_late()
1052 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend_late()
1057 dev->power.power_state = mesg; in nvidiafb_suspend_late()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1298 char mesg[64]; in qlcnic_dump_fw() local
1299 char *msg[] = {mesg, NULL}; in qlcnic_dump_fw()
1390 snprintf(mesg, sizeof(mesg), "FW_DUMP=%s", adapter->netdev->name); in qlcnic_dump_fw()
/drivers/video/fbdev/savage/
Dsavagefb_driver.c2350 static int savagefb_suspend_late(struct device *dev, pm_message_t mesg) in savagefb_suspend_late() argument
2357 if (mesg.event == PM_EVENT_PRETHAW) in savagefb_suspend_late()
2358 mesg.event = PM_EVENT_FREEZE; in savagefb_suspend_late()
2359 par->pm_state = mesg.event; in savagefb_suspend_late()
2360 dev->power.power_state = mesg; in savagefb_suspend_late()
2366 if (mesg.event == PM_EVENT_FREEZE) in savagefb_suspend_late()
/drivers/pcmcia/
Dat91_cf.c355 static int at91_cf_suspend(struct platform_device *pdev, pm_message_t mesg) in at91_cf_suspend() argument
/drivers/video/fbdev/i810/
Di810_main.c1564 static int i810fb_suspend(struct pci_dev *dev, pm_message_t mesg) in i810fb_suspend() argument
1569 par->cur_state = mesg.event; in i810fb_suspend()
1571 switch (mesg.event) { in i810fb_suspend()
1574 dev->dev.power.power_state = mesg; in i810fb_suspend()
1590 pci_set_power_state(dev, pci_choose_state(dev, mesg)); in i810fb_suspend()
/drivers/video/fbdev/aty/
Dradeon_pm.c2614 static int radeonfb_pci_suspend_late(struct device *dev, pm_message_t mesg) in radeonfb_pci_suspend_late() argument
2620 if (mesg.event == pdev->dev.power.power_state.event) in radeonfb_pci_suspend_late()
2624 pci_name(pdev), mesg.event); in radeonfb_pci_suspend_late()
2631 switch (mesg.event) { in radeonfb_pci_suspend_late()
2698 pdev->dev.power.power_state = mesg; in radeonfb_pci_suspend_late()
/drivers/base/
Dplatform.c1082 static int platform_legacy_suspend(struct device *dev, pm_message_t mesg) in platform_legacy_suspend() argument
1089 ret = pdrv->suspend(pdev, mesg); in platform_legacy_suspend()
/drivers/scsi/
Dmesh.c1762 static int mesh_suspend(struct macio_dev *mdev, pm_message_t mesg) in mesh_suspend() argument
1767 switch (mesg.event) { in mesh_suspend()
/drivers/video/fbdev/
Datmel_lcdfb.c1283 static int atmel_lcdfb_suspend(struct platform_device *pdev, pm_message_t mesg) in atmel_lcdfb_suspend() argument

12