aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
Commit message (Collapse)AuthorAgeFilesLines
...
* rfs: Proper IPC functions for nv_data specs, without generic fallback valuesPaul Kocialkowski2014-02-1123-215/+226
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Extract in helpers namingPaul Kocialkowski2014-02-113-9/+6
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Consistent coding style in helpersPaul Kocialkowski2014-02-097-224/+278
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Prefer official Samsung IPC protocol namesPaul Kocialkowski2014-02-082-175/+175
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* devices folder instead of device, for better consistencyPaul Kocialkowski2014-02-0832-39/+39
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Correct enumeration of files and devicesPaul Kocialkowski2014-02-084-30/+32
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Follow consistent coding style in headersPaul Kocialkowski2014-02-067-64/+63
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* device: Buffer has length and tail is footerPaul Kocialkowski2014-01-266-25/+25
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Good-looking copyright blocks, with the right order in copyright linesPaul Kocialkowski2014-01-2532-47/+18
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc_util: Print messages lengthsPaul Kocialkowski2014-01-231-8/+8
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* aries: Read and write data in proper buffer-sized chunksPaul Kocialkowski2014-01-232-33/+109
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung Galaxy Note 2 N7100 supportPaul Kocialkowski2014-01-134-0/+471
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Device detection mechanism improvments and more constitant devices namingPaul Kocialkowski2014-01-136-174/+187
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* svc: Relevant messages and structures definitionsPaul Kocialkowski2013-08-251-0/+18
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Samsung Galaxy S3 (galaxys3) supportPaul Kocialkowski2013-07-035-2/+485
| | | | | Change-Id: If37a94d07129c37b8e4f647b479552dc60de90a3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6260: Correct SEC modem ohci sysfs pathPaul Kocialkowski2013-07-031-1/+1
| | | | | Change-Id: Ia2ea23455b497117452b795336393428c7fa863d Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc devices: Include structures definitions from devices headersPaul Kocialkowski2013-07-036-35/+36
| | | | | Change-Id: I5a5efc12e72b8026bfc779aef89e2227eea5d23c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rename ipc_header to ipc_fmt_header, add ipc_rfs_header and utility functionsPaul Kocialkowski2013-07-035-334/+91
| | | | | Change-Id: I4559319bd4c56a5994f2966fa3b853429ccc921a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* util: Rename block_size to chunkPaul Kocialkowski2013-07-031-3/+3
| | | | | Change-Id: Icbc6cbe057e9efcc0040540e24e70a967d632ce0 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Remove file read functions from ipc_utilPaul Kocialkowski2013-07-032-93/+0
| | | | | Change-Id: I24fcb86335ce2676fa5d88e6298aa002b7257bfe Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs.c: Fix coding style and compilation warningsPaul Kocialkowski2013-07-031-31/+29
| | | | | Change-Id: I00d93d54e5b9bc645c65a9bd72fb0b6edae822ad Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc.c: Check heandlers data create/destroy pointersPaul Kocialkowski2013-07-031-2/+4
| | | | | Change-Id: I34cc6af9596500d4daf035250b4c25639e813b51 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* aries: Minor coding-style-related changesPaul Kocialkowski2013-07-031-31/+56
| | | | | Change-Id: I31e8020ea6c0e5a546a7acbf99284046d9cbdb7f Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* crespo: Minor coding-style-related changesPaul Kocialkowski2013-07-031-6/+36
| | | | | Change-Id: Ia5f8ad45e97dd29bf9a0b7b8531966cedc11bf3a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Minor coding-style-related changesPaul Kocialkowski2013-07-031-7/+7
| | | | | Change-Id: I38ad147a9bef00fea50ad1259bbc7d1f1e1980f8 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Major rework of xmm6260 common code (MIPI and HSIC) and xmm6260 devices codePaul Kocialkowski2013-07-0330-3739/+3548
| | | | | Change-Id: I49fba6329824e1f1ab0aceef91a57f75727a41ab Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Rename modem_image to firmware to avoid confusionPaul Kocialkowski2013-07-014-17/+17
| | | | | Change-Id: I82bd09250192c47e3a5f43ead4bce2a899e484b4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Explicit PSI data argument namePaul Kocialkowski2013-07-012-4/+4
| | | | | Change-Id: Ie791289243ea9d359f143ad76f444dad89258efc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6160: Use device-specific sizes and offsetsPaul Kocialkowski2013-06-306-32/+43
| | | | | Change-Id: Ia9d4736497cd0e5fe240f9474916b29e0343dd3a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Prefix per-device headers definitions with the device namePaul Kocialkowski2013-06-306-158/+159
| | | | | Change-Id: I90362b4fe9ecb21fd09e27d4a15a43033ed7adaf Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Split aries and crespo common code to xmm6160, along with major code reworkPaul Kocialkowski2013-06-3010-920/+842
| | | | | Change-Id: Id78c7ce62bf5b9b875b6bc3dd53e6bf21fa36c95 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* New utilities (not exposed by the API) for various I/O and ipc fill functionsPaul Kocialkowski2013-06-284-1/+351
| | | | | Change-Id: I0bd1d7781971f217903f307b5ac418180afc0d50 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc util: Do not use strdup, to avoid memory leakPaul Kocialkowski2013-06-271-188/+317
| | | | | Change-Id: Ieee54f1a57ff76d59732c109e54cf05f90546e5e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of wakelocks, this should be dealt with on the upper layersPaul Kocialkowski2013-06-274-94/+0
| | | | | Change-Id: Iae3a43bc3019ee2bfdfc4ee3e3b2194b099372bc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Rework handlers and ipc functions for better consistencyPaul Kocialkowski2013-06-2717-756/+672
| | | | | | | | | | | | | | | | | | | | Detailed list of the changes introduced by this commit: * Rename ipc_client_bootstrap_modem to ipc_client_bootstrap * Rename ipc_client_new/free to ipc_client_create/destroy * Rename log_handler to log_callback and change arguments order * Remove handlers common data and fd mechanisms * Set transport, power and gprs common data for handlers * Add data_create and data_destroy handlers * Rework arguments order for handlers * Add poll transport handler * Remove functions types typedefs * Remove dumb ipc_client_send_* functions * Remove ipc_client_gprs_handlers_available * Adapt device files for the new API changes * Adapt modemctrl for the new API changes Change-Id: Ia9ba1045dbbf9f5e31a201aa8629b49019158972 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* rfs.c: Coding style cosmeticsPaul Kocialkowski2013-06-271-86/+83
| | | | | Change-Id: I6d3745a75d6cb8ee945a4636fd6e6c2ff5ce4c66 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc.c: Coding style cosmeticsPaul Kocialkowski2013-06-261-48/+27
| | | | | Change-Id: I4a1d423bb84002e71af54daa0f5227b7a2859a63 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* ipc_client_send: Single function with return codePaul Kocialkowski2013-06-261-22/+5
| | | | | Change-Id: I480b2496dabfada37e1ce60ab20401adf02b2e01 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Coding style: Move ; around in for statementsPaul Kocialkowski2013-06-253-5/+5
| | | | | Change-Id: I08cc4a5c404d1b513c56aa1eaeb68dfa6768a4e4 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Add newline and indentation on long functions namesPaul Kocialkowski2013-06-257-24/+41
| | | | | Change-Id: Ie393301a04523816e7aa674e57a4c3a2eb93247e Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Refactor code for consistent coding style and avoid using assertPaul Kocialkowski2013-06-2514-106/+117
| | | | | Change-Id: Idca5edb70869e07d35744301b185df02e42f5b4c Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Renamed ipc_private.h to ipc.hPaul Kocialkowski2013-06-2516-19/+28
| | | | | Change-Id: Ie80159518b6d7d1a6422d3dc47a903eb7fdad6d8 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Moved radio.h and types.h to samsung-ipc.h (API) and protocol.h (IPC protocol).Paul Kocialkowski2013-06-2517-18/+18
| | | | | | | Also some minor headers cosmetics. Change-Id: Id2b988b118d956e91827b9b840e3f384424593ae Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Drop (incomplete) support for Samsung H1Paul Kocialkowski2013-06-253-343/+0
| | | | | Change-Id: Ica4a4d34085adc800924be9009c636abc61036f3 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Drop support for the (incomplete) old protocol implementation used on H1.Paul Kocialkowski2013-06-251-2/+0
| | | | | | | Also refactor headers: values aligned to 16x4 spaces and other cosmetics Change-Id: I5a6f2c2471599c88c4be74591117d0ab2dfaaddf Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Add missing modem_prj.h file to automake configurationSimon Busch2013-06-231-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Fix outstanding compiler warningsSimon Busch2013-06-231-0/+1
| | | | Signed-off-by: Simon Busch <morphis@gravedo.de>
* Rules to build piranha code on MakefilesPaul Kocialkowski2013-03-241-0/+3
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* xmm6260: Set message info data to NULL before alloc (or no alloc)Paul Kocialkowski2013-03-231-0/+1
| | | | | Change-Id: I5eb463630dfd611e0f3db439ea1a1efb420bcc5a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* prainha: Remove TODO commentPaul Kocialkowski2013-03-061-2/+0
| | | | | Change-Id: I8a61b582c16b8169505c7252f6d7260a542a290b Signed-off-by: Paul Kocialkowski <contact@paulk.fr>